Migrate to modules, refactor Makefile and use Travis for CI 33/21033/1
authorOndrej Fabry <ofabry@cisco.com>
Fri, 2 Aug 2019 13:07:53 +0000 (15:07 +0200)
committerOndrej Fabry <ofabry@cisco.com>
Fri, 2 Aug 2019 13:07:53 +0000 (15:07 +0200)
- migrate to Go modules and remove vendor
- refactor Makefile
- add version package and store version
- split extras from the rest
- use travis for CI

Change-Id: I81b35220653b0f7c9a0fcdd4c527d691ec1e96c1
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
442 files changed:
.gitignore
.travis.yml [new file with mode: 0644]
Gopkg.lock [deleted file]
Gopkg.toml [deleted file]
Makefile
adapter/vppapiclient/stat_client.go
adapter/vppapiclient/stat_client_stub.go
adapter/vppapiclient/vppapiclient.go
adapter/vppapiclient/vppapiclient_stub.go
cmd/binapi-generator/main.go
examples/binapi/VPP_VERSION [deleted file]
examples/binapi/gen.go
extras/.gitignore [new file with mode: 0644]
extras/Makefile [new file with mode: 0644]
extras/go.mod [new file with mode: 0644]
extras/go.sum [new file with mode: 0644]
extras/libmemif/adapter.go
go.mod [new file with mode: 0644]
go.sum [new file with mode: 0644]
vendor/github.com/bennyscetbun/jsongo/.gitignore [deleted file]
vendor/github.com/bennyscetbun/jsongo/LICENSE [deleted file]
vendor/github.com/bennyscetbun/jsongo/README.md [deleted file]
vendor/github.com/bennyscetbun/jsongo/debug.go [deleted file]
vendor/github.com/bennyscetbun/jsongo/jsongo.go [deleted file]
vendor/github.com/bennyscetbun/jsongo/print.go [deleted file]
vendor/github.com/fsnotify/fsnotify/.editorconfig [deleted file]
vendor/github.com/fsnotify/fsnotify/.gitignore [deleted file]
vendor/github.com/fsnotify/fsnotify/.travis.yml [deleted file]
vendor/github.com/fsnotify/fsnotify/AUTHORS [deleted file]
vendor/github.com/fsnotify/fsnotify/CHANGELOG.md [deleted file]
vendor/github.com/fsnotify/fsnotify/CONTRIBUTING.md [deleted file]
vendor/github.com/fsnotify/fsnotify/LICENSE [deleted file]
vendor/github.com/fsnotify/fsnotify/README.md [deleted file]
vendor/github.com/fsnotify/fsnotify/fen.go [deleted file]
vendor/github.com/fsnotify/fsnotify/fsnotify.go [deleted file]
vendor/github.com/fsnotify/fsnotify/inotify.go [deleted file]
vendor/github.com/fsnotify/fsnotify/inotify_poller.go [deleted file]
vendor/github.com/fsnotify/fsnotify/kqueue.go [deleted file]
vendor/github.com/fsnotify/fsnotify/open_mode_bsd.go [deleted file]
vendor/github.com/fsnotify/fsnotify/open_mode_darwin.go [deleted file]
vendor/github.com/fsnotify/fsnotify/windows.go [deleted file]
vendor/github.com/ftrvxmtrx/fd/LICENSE.MIT [deleted file]
vendor/github.com/ftrvxmtrx/fd/README.md [deleted file]
vendor/github.com/ftrvxmtrx/fd/fd.go [deleted file]
vendor/github.com/google/gopacket/.gitignore [deleted file]
vendor/github.com/google/gopacket/.travis.gofmt.sh [deleted file]
vendor/github.com/google/gopacket/.travis.golint.sh [deleted file]
vendor/github.com/google/gopacket/.travis.govet.sh [deleted file]
vendor/github.com/google/gopacket/.travis.yml [deleted file]
vendor/github.com/google/gopacket/AUTHORS [deleted file]
vendor/github.com/google/gopacket/CONTRIBUTING.md [deleted file]
vendor/github.com/google/gopacket/LICENSE [deleted file]
vendor/github.com/google/gopacket/README.md [deleted file]
vendor/github.com/google/gopacket/base.go [deleted file]
vendor/github.com/google/gopacket/decode.go [deleted file]
vendor/github.com/google/gopacket/doc.go [deleted file]
vendor/github.com/google/gopacket/flows.go [deleted file]
vendor/github.com/google/gopacket/gc [deleted file]
vendor/github.com/google/gopacket/layerclass.go [deleted file]
vendor/github.com/google/gopacket/layers/.linted [deleted file]
vendor/github.com/google/gopacket/layers/arp.go [deleted file]
vendor/github.com/google/gopacket/layers/base.go [deleted file]
vendor/github.com/google/gopacket/layers/bfd.go [deleted file]
vendor/github.com/google/gopacket/layers/cdp.go [deleted file]
vendor/github.com/google/gopacket/layers/ctp.go [deleted file]
vendor/github.com/google/gopacket/layers/dhcpv4.go [deleted file]
vendor/github.com/google/gopacket/layers/dns.go [deleted file]
vendor/github.com/google/gopacket/layers/doc.go [deleted file]
vendor/github.com/google/gopacket/layers/dot11.go [deleted file]
vendor/github.com/google/gopacket/layers/dot1q.go [deleted file]
vendor/github.com/google/gopacket/layers/eap.go [deleted file]
vendor/github.com/google/gopacket/layers/eapol.go [deleted file]
vendor/github.com/google/gopacket/layers/endpoints.go [deleted file]
vendor/github.com/google/gopacket/layers/enums.go [deleted file]
vendor/github.com/google/gopacket/layers/etherip.go [deleted file]
vendor/github.com/google/gopacket/layers/ethernet.go [deleted file]
vendor/github.com/google/gopacket/layers/fddi.go [deleted file]
vendor/github.com/google/gopacket/layers/gen.go [deleted file]
vendor/github.com/google/gopacket/layers/gen_linted.sh [deleted file]
vendor/github.com/google/gopacket/layers/geneve.go [deleted file]
vendor/github.com/google/gopacket/layers/gre.go [deleted file]
vendor/github.com/google/gopacket/layers/iana_ports.go [deleted file]
vendor/github.com/google/gopacket/layers/icmp4.go [deleted file]
vendor/github.com/google/gopacket/layers/icmp6.go [deleted file]
vendor/github.com/google/gopacket/layers/igmp.go [deleted file]
vendor/github.com/google/gopacket/layers/ip4.go [deleted file]
vendor/github.com/google/gopacket/layers/ip6.go [deleted file]
vendor/github.com/google/gopacket/layers/ipsec.go [deleted file]
vendor/github.com/google/gopacket/layers/layertypes.go [deleted file]
vendor/github.com/google/gopacket/layers/linux_sll.go [deleted file]
vendor/github.com/google/gopacket/layers/llc.go [deleted file]
vendor/github.com/google/gopacket/layers/lldp.go [deleted file]
vendor/github.com/google/gopacket/layers/loopback.go [deleted file]
vendor/github.com/google/gopacket/layers/mpls.go [deleted file]
vendor/github.com/google/gopacket/layers/ndp.go [deleted file]
vendor/github.com/google/gopacket/layers/ntp.go [deleted file]
vendor/github.com/google/gopacket/layers/ospf.go [deleted file]
vendor/github.com/google/gopacket/layers/pflog.go [deleted file]
vendor/github.com/google/gopacket/layers/ports.go [deleted file]
vendor/github.com/google/gopacket/layers/ppp.go [deleted file]
vendor/github.com/google/gopacket/layers/pppoe.go [deleted file]
vendor/github.com/google/gopacket/layers/prism.go [deleted file]
vendor/github.com/google/gopacket/layers/radiotap.go [deleted file]
vendor/github.com/google/gopacket/layers/rudp.go [deleted file]
vendor/github.com/google/gopacket/layers/sctp.go [deleted file]
vendor/github.com/google/gopacket/layers/sflow.go [deleted file]
vendor/github.com/google/gopacket/layers/stp.go [deleted file]
vendor/github.com/google/gopacket/layers/tcp.go [deleted file]
vendor/github.com/google/gopacket/layers/tcpip.go [deleted file]
vendor/github.com/google/gopacket/layers/test_creator.py [deleted file]
vendor/github.com/google/gopacket/layers/udp.go [deleted file]
vendor/github.com/google/gopacket/layers/udplite.go [deleted file]
vendor/github.com/google/gopacket/layers/usb.go [deleted file]
vendor/github.com/google/gopacket/layers/vrrp.go [deleted file]
vendor/github.com/google/gopacket/layers/vxlan.go [deleted file]
vendor/github.com/google/gopacket/layertype.go [deleted file]
vendor/github.com/google/gopacket/packet.go [deleted file]
vendor/github.com/google/gopacket/parser.go [deleted file]
vendor/github.com/google/gopacket/writer.go [deleted file]
vendor/github.com/lunixbochs/struc/.travis.yml [deleted file]
vendor/github.com/lunixbochs/struc/LICENSE [deleted file]
vendor/github.com/lunixbochs/struc/README.md [deleted file]
vendor/github.com/lunixbochs/struc/binary.go [deleted file]
vendor/github.com/lunixbochs/struc/custom.go [deleted file]
vendor/github.com/lunixbochs/struc/custom_float16.go [deleted file]
vendor/github.com/lunixbochs/struc/field.go [deleted file]
vendor/github.com/lunixbochs/struc/fields.go [deleted file]
vendor/github.com/lunixbochs/struc/legacy.go [deleted file]
vendor/github.com/lunixbochs/struc/packer.go [deleted file]
vendor/github.com/lunixbochs/struc/parse.go [deleted file]
vendor/github.com/lunixbochs/struc/struc.go [deleted file]
vendor/github.com/lunixbochs/struc/types.go [deleted file]
vendor/github.com/onsi/gomega/.gitignore [deleted file]
vendor/github.com/onsi/gomega/.travis.yml [deleted file]
vendor/github.com/onsi/gomega/CHANGELOG.md [deleted file]
vendor/github.com/onsi/gomega/LICENSE [deleted file]
vendor/github.com/onsi/gomega/README.md [deleted file]
vendor/github.com/onsi/gomega/format/format.go [deleted file]
vendor/github.com/onsi/gomega/gomega_dsl.go [deleted file]
vendor/github.com/onsi/gomega/internal/assertion/assertion.go [deleted file]
vendor/github.com/onsi/gomega/internal/asyncassertion/async_assertion.go [deleted file]
vendor/github.com/onsi/gomega/internal/oraclematcher/oracle_matcher.go [deleted file]
vendor/github.com/onsi/gomega/internal/testingtsupport/testing_t_support.go [deleted file]
vendor/github.com/onsi/gomega/matchers.go [deleted file]
vendor/github.com/onsi/gomega/matchers/and.go [deleted file]
vendor/github.com/onsi/gomega/matchers/assignable_to_type_of_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/be_a_directory.go [deleted file]
vendor/github.com/onsi/gomega/matchers/be_a_regular_file.go [deleted file]
vendor/github.com/onsi/gomega/matchers/be_an_existing_file.go [deleted file]
vendor/github.com/onsi/gomega/matchers/be_closed_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/be_empty_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/be_equivalent_to_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/be_false_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/be_identical_to.go [deleted file]
vendor/github.com/onsi/gomega/matchers/be_nil_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/be_numerically_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/be_sent_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/be_temporally_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/be_true_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/be_zero_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/consist_of.go [deleted file]
vendor/github.com/onsi/gomega/matchers/contain_element_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/contain_substring_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/equal_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/have_cap_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/have_key_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/have_key_with_value_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/have_len_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/have_occurred_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/have_prefix_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/have_suffix_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/match_error_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/match_json_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/match_regexp_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/match_yaml_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/not.go [deleted file]
vendor/github.com/onsi/gomega/matchers/or.go [deleted file]
vendor/github.com/onsi/gomega/matchers/panic_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/receive_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/succeed_matcher.go [deleted file]
vendor/github.com/onsi/gomega/matchers/support/goraph/bipartitegraph/bipartitegraph.go [deleted file]
vendor/github.com/onsi/gomega/matchers/support/goraph/bipartitegraph/bipartitegraphmatching.go [deleted file]
vendor/github.com/onsi/gomega/matchers/support/goraph/edge/edge.go [deleted file]
vendor/github.com/onsi/gomega/matchers/support/goraph/node/node.go [deleted file]
vendor/github.com/onsi/gomega/matchers/support/goraph/util/util.go [deleted file]
vendor/github.com/onsi/gomega/matchers/type_support.go [deleted file]
vendor/github.com/onsi/gomega/matchers/with_transform.go [deleted file]
vendor/github.com/onsi/gomega/types/types.go [deleted file]
vendor/github.com/pkg/profile/.travis.yml [deleted file]
vendor/github.com/pkg/profile/AUTHORS [deleted file]
vendor/github.com/pkg/profile/LICENSE [deleted file]
vendor/github.com/pkg/profile/README.md [deleted file]
vendor/github.com/pkg/profile/mutex.go [deleted file]
vendor/github.com/pkg/profile/mutex17.go [deleted file]
vendor/github.com/pkg/profile/profile.go [deleted file]
vendor/github.com/pkg/profile/trace.go [deleted file]
vendor/github.com/pkg/profile/trace16.go [deleted file]
vendor/github.com/sirupsen/logrus/.gitignore [deleted file]
vendor/github.com/sirupsen/logrus/.travis.yml [deleted file]
vendor/github.com/sirupsen/logrus/CHANGELOG.md [deleted file]
vendor/github.com/sirupsen/logrus/LICENSE [deleted file]
vendor/github.com/sirupsen/logrus/README.md [deleted file]
vendor/github.com/sirupsen/logrus/alt_exit.go [deleted file]
vendor/github.com/sirupsen/logrus/doc.go [deleted file]
vendor/github.com/sirupsen/logrus/entry.go [deleted file]
vendor/github.com/sirupsen/logrus/exported.go [deleted file]
vendor/github.com/sirupsen/logrus/formatter.go [deleted file]
vendor/github.com/sirupsen/logrus/hooks.go [deleted file]
vendor/github.com/sirupsen/logrus/json_formatter.go [deleted file]
vendor/github.com/sirupsen/logrus/logger.go [deleted file]
vendor/github.com/sirupsen/logrus/logrus.go [deleted file]
vendor/github.com/sirupsen/logrus/terminal_appengine.go [deleted file]
vendor/github.com/sirupsen/logrus/terminal_bsd.go [deleted file]
vendor/github.com/sirupsen/logrus/terminal_linux.go [deleted file]
vendor/github.com/sirupsen/logrus/terminal_notwindows.go [deleted file]
vendor/github.com/sirupsen/logrus/terminal_solaris.go [deleted file]
vendor/github.com/sirupsen/logrus/terminal_windows.go [deleted file]
vendor/github.com/sirupsen/logrus/text_formatter.go [deleted file]
vendor/github.com/sirupsen/logrus/writer.go [deleted file]
vendor/golang.org/x/sys/AUTHORS [deleted file]
vendor/golang.org/x/sys/CONTRIBUTORS [deleted file]
vendor/golang.org/x/sys/LICENSE [deleted file]
vendor/golang.org/x/sys/PATENTS [deleted file]
vendor/golang.org/x/sys/unix/.gitignore [deleted file]
vendor/golang.org/x/sys/unix/README.md [deleted file]
vendor/golang.org/x/sys/unix/asm_darwin_386.s [deleted file]
vendor/golang.org/x/sys/unix/asm_darwin_amd64.s [deleted file]
vendor/golang.org/x/sys/unix/asm_darwin_arm.s [deleted file]
vendor/golang.org/x/sys/unix/asm_darwin_arm64.s [deleted file]
vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s [deleted file]
vendor/golang.org/x/sys/unix/asm_freebsd_386.s [deleted file]
vendor/golang.org/x/sys/unix/asm_freebsd_amd64.s [deleted file]
vendor/golang.org/x/sys/unix/asm_freebsd_arm.s [deleted file]
vendor/golang.org/x/sys/unix/asm_linux_386.s [deleted file]
vendor/golang.org/x/sys/unix/asm_linux_amd64.s [deleted file]
vendor/golang.org/x/sys/unix/asm_linux_arm.s [deleted file]
vendor/golang.org/x/sys/unix/asm_linux_arm64.s [deleted file]
vendor/golang.org/x/sys/unix/asm_linux_mips64x.s [deleted file]
vendor/golang.org/x/sys/unix/asm_linux_mipsx.s [deleted file]
vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s [deleted file]
vendor/golang.org/x/sys/unix/asm_linux_s390x.s [deleted file]
vendor/golang.org/x/sys/unix/asm_netbsd_386.s [deleted file]
vendor/golang.org/x/sys/unix/asm_netbsd_amd64.s [deleted file]
vendor/golang.org/x/sys/unix/asm_netbsd_arm.s [deleted file]
vendor/golang.org/x/sys/unix/asm_openbsd_386.s [deleted file]
vendor/golang.org/x/sys/unix/asm_openbsd_amd64.s [deleted file]
vendor/golang.org/x/sys/unix/asm_solaris_amd64.s [deleted file]
vendor/golang.org/x/sys/unix/bluetooth_linux.go [deleted file]
vendor/golang.org/x/sys/unix/constants.go [deleted file]
vendor/golang.org/x/sys/unix/dirent.go [deleted file]
vendor/golang.org/x/sys/unix/endian_big.go [deleted file]
vendor/golang.org/x/sys/unix/endian_little.go [deleted file]
vendor/golang.org/x/sys/unix/env_unix.go [deleted file]
vendor/golang.org/x/sys/unix/env_unset.go [deleted file]
vendor/golang.org/x/sys/unix/flock.go [deleted file]
vendor/golang.org/x/sys/unix/flock_linux_32bit.go [deleted file]
vendor/golang.org/x/sys/unix/gccgo.go [deleted file]
vendor/golang.org/x/sys/unix/gccgo_c.c [deleted file]
vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/gccgo_linux_sparc64.go [deleted file]
vendor/golang.org/x/sys/unix/mkall.sh [deleted file]
vendor/golang.org/x/sys/unix/mkerrors.sh [deleted file]
vendor/golang.org/x/sys/unix/mkpost.go [deleted file]
vendor/golang.org/x/sys/unix/mksyscall.pl [deleted file]
vendor/golang.org/x/sys/unix/mksyscall_solaris.pl [deleted file]
vendor/golang.org/x/sys/unix/mksysctl_openbsd.pl [deleted file]
vendor/golang.org/x/sys/unix/mksysnum_darwin.pl [deleted file]
vendor/golang.org/x/sys/unix/mksysnum_dragonfly.pl [deleted file]
vendor/golang.org/x/sys/unix/mksysnum_freebsd.pl [deleted file]
vendor/golang.org/x/sys/unix/mksysnum_netbsd.pl [deleted file]
vendor/golang.org/x/sys/unix/mksysnum_openbsd.pl [deleted file]
vendor/golang.org/x/sys/unix/openbsd_pledge.go [deleted file]
vendor/golang.org/x/sys/unix/race.go [deleted file]
vendor/golang.org/x/sys/unix/race0.go [deleted file]
vendor/golang.org/x/sys/unix/sockcmsg_linux.go [deleted file]
vendor/golang.org/x/sys/unix/sockcmsg_unix.go [deleted file]
vendor/golang.org/x/sys/unix/str.go [deleted file]
vendor/golang.org/x/sys/unix/syscall.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_bsd.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_darwin.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_darwin_386.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_darwin_arm.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_dragonfly.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_freebsd.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_freebsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_linux.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_linux_386.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_linux_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_linux_arm.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_linux_arm64.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_linux_s390x.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_netbsd.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_netbsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_no_getwd.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_openbsd.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_openbsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_solaris.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_unix.go [deleted file]
vendor/golang.org/x/sys/unix/syscall_unix_gc.go [deleted file]
vendor/golang.org/x/sys/unix/types_darwin.go [deleted file]
vendor/golang.org/x/sys/unix/types_dragonfly.go [deleted file]
vendor/golang.org/x/sys/unix/types_freebsd.go [deleted file]
vendor/golang.org/x/sys/unix/types_netbsd.go [deleted file]
vendor/golang.org/x/sys/unix/types_openbsd.go [deleted file]
vendor/golang.org/x/sys/unix/types_solaris.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_darwin_386.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_linux_386.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_linux_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_linux_mips.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_linux_386.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsysctl_openbsd.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_linux_386.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_darwin_386.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_linux_386.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_linux_arm.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_linux_mips.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go [deleted file]
vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go [deleted file]
vendor/gopkg.in/yaml.v2/.travis.yml [deleted file]
vendor/gopkg.in/yaml.v2/LICENSE [deleted file]
vendor/gopkg.in/yaml.v2/LICENSE.libyaml [deleted file]
vendor/gopkg.in/yaml.v2/README.md [deleted file]
vendor/gopkg.in/yaml.v2/apic.go [deleted file]
vendor/gopkg.in/yaml.v2/decode.go [deleted file]
vendor/gopkg.in/yaml.v2/emitterc.go [deleted file]
vendor/gopkg.in/yaml.v2/encode.go [deleted file]
vendor/gopkg.in/yaml.v2/parserc.go [deleted file]
vendor/gopkg.in/yaml.v2/readerc.go [deleted file]
vendor/gopkg.in/yaml.v2/resolve.go [deleted file]
vendor/gopkg.in/yaml.v2/scannerc.go [deleted file]
vendor/gopkg.in/yaml.v2/sorter.go [deleted file]
vendor/gopkg.in/yaml.v2/writerc.go [deleted file]
vendor/gopkg.in/yaml.v2/yaml.go [deleted file]
vendor/gopkg.in/yaml.v2/yamlh.go [deleted file]
vendor/gopkg.in/yaml.v2/yamlprivateh.go [deleted file]
version/version.go [new file with mode: 0644]

index 3163b2a..5262c9e 100644 (file)
@@ -1,7 +1,9 @@
-.idea
+*~
 *.log
 *.out
 
+.idea/
+
 # cmds
 cmd/binapi-generator/binapi-generator
 
@@ -10,9 +12,4 @@ examples/perf-bench/perf-bench
 examples/simple-client/simple-client
 examples/stats-api/stats-api
 examples/union-example/union-example
-
-# extras
-extras/libmemif/examples/gopacket/gopacket
-extras/libmemif/examples/icmp-responder/icmp-responder
-extras/libmemif/examples/jumbo-frames/jumbo-frames
-extras/libmemif/examples/raw-data/raw-data
+examples/rpc-service/rpc-service
diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..ecb8211
--- /dev/null
@@ -0,0 +1,30 @@
+dist: xenial
+services: docker
+
+language: go
+go:
+  - "1.12.x"
+
+go_import_path: git.fd.io/govpp.git
+
+env:
+  global:
+    - GO_BUILD_TAGS=novpp
+
+before_script:
+  - export VPP_IMG="ligato/vpp-base:latest"
+  - docker pull $VPP_IMG
+  - GO111MODULE=on go mod download
+
+script:
+  - make test
+  - make build
+  - make examples
+  - make gen-binapi-docker
+
+notifications:
+  slack:
+    rooms:
+      - ligato:QNOK2VgHH6k40T8nQxmSgRmo
+    on_success: change
+    on_failure: always
diff --git a/Gopkg.lock b/Gopkg.lock
deleted file mode 100644 (file)
index 44930e6..0000000
+++ /dev/null
@@ -1,110 +0,0 @@
-# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
-
-
-[[projects]]
-  digest = "1:3925737bca828152354a9a214c77e49f7c779e6207bfd40419d515645efd99ff"
-  name = "github.com/bennyscetbun/jsongo"
-  packages = ["."]
-  pruneopts = "UT"
-  revision = "5240b3f82c6665fe3ccd96bdf5e6f38fe1e1399d"
-
-[[projects]]
-  digest = "1:38c783cf85b9454cc02a1a8319239800ed0af6c1c864adf19cea0539e134adad"
-  name = "github.com/fsnotify/fsnotify"
-  packages = ["."]
-  pruneopts = "UT"
-  revision = "4da3e2cfbabc9f751898f250b49f2439785783a1"
-
-[[projects]]
-  branch = "master"
-  digest = "1:ea797b536b154f62d2e1c49b61d5a1088782111563eb59837ff2b83fd2a65184"
-  name = "github.com/ftrvxmtrx/fd"
-  packages = ["."]
-  pruneopts = "UT"
-  revision = "c6d800382fff6dc1412f34269f71b7f83bd059ad"
-
-[[projects]]
-  digest = "1:81259d6c2b9aa336c627a31074078d5473788c1f54a373e4392d4e722716d74d"
-  name = "github.com/google/gopacket"
-  packages = [
-    ".",
-    "layers",
-  ]
-  pruneopts = "UT"
-  revision = "8e484f31b1237166f00e4896d27ddde259540632"
-
-[[projects]]
-  branch = "master"
-  digest = "1:40bf4b24f9127737b22d3b86ff0bef3c3e9d87604d6260d9f9b9125e7995ff49"
-  name = "github.com/lunixbochs/struc"
-  packages = ["."]
-  pruneopts = "UT"
-  revision = "02e4c2afbb2ac4bae6876f52c8273fc4cf5a4b0a"
-
-[[projects]]
-  digest = "1:c4c90722461cfbd86d88c3d7bad0c352a958c68de0884d399a42f53d160429e7"
-  name = "github.com/onsi/gomega"
-  packages = [
-    ".",
-    "format",
-    "internal/assertion",
-    "internal/asyncassertion",
-    "internal/oraclematcher",
-    "internal/testingtsupport",
-    "matchers",
-    "matchers/support/goraph/bipartitegraph",
-    "matchers/support/goraph/edge",
-    "matchers/support/goraph/node",
-    "matchers/support/goraph/util",
-    "types",
-  ]
-  pruneopts = "UT"
-  revision = "334b8f472b3af5d541c5642701c1e29e2126f486"
-  version = "v1.1.0"
-
-[[projects]]
-  digest = "1:cfa0d7741863a0e1d30e0ccdd4b48a96a471cdb47892303de8b92c3713af3e77"
-  name = "github.com/pkg/profile"
-  packages = ["."]
-  pruneopts = "UT"
-  revision = "5b67d428864e92711fcbd2f8629456121a56d91f"
-  version = "v1.2.1"
-
-[[projects]]
-  digest = "1:ee1da6524260ed66de5eacdf4def98a365576be6c6972faa8ef438bef324843d"
-  name = "github.com/sirupsen/logrus"
-  packages = ["."]
-  pruneopts = "UT"
-  revision = "202f25545ea4cf9b191ff7f846df5d87c9382c2b"
-  version = "v1.0.0"
-
-[[projects]]
-  digest = "1:7217a703ed82a3c04939fdaf0768bf651406a9d2e41e061582f0809ab5459e00"
-  name = "golang.org/x/sys"
-  packages = ["unix"]
-  pruneopts = "UT"
-  revision = "9ccfe848b9db8435a24c424abbc07a921adf1df5"
-
-[[projects]]
-  digest = "1:35c04c23c8aef680782e117c67e29750453c92d11448da616d2e399887e5fc86"
-  name = "gopkg.in/yaml.v2"
-  packages = ["."]
-  pruneopts = "UT"
-  revision = "cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b"
-
-[solve-meta]
-  analyzer-name = "dep"
-  analyzer-version = 1
-  input-imports = [
-    "github.com/bennyscetbun/jsongo",
-    "github.com/fsnotify/fsnotify",
-    "github.com/ftrvxmtrx/fd",
-    "github.com/google/gopacket",
-    "github.com/google/gopacket/layers",
-    "github.com/lunixbochs/struc",
-    "github.com/onsi/gomega",
-    "github.com/pkg/profile",
-    "github.com/sirupsen/logrus",
-  ]
-  solver-name = "gps-cdcl"
-  solver-version = 1
diff --git a/Gopkg.toml b/Gopkg.toml
deleted file mode 100644 (file)
index cf36c4a..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-# Gopkg.toml example
-#
-# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html
-# for detailed Gopkg.toml documentation.
-#
-# required = ["github.com/user/thing/cmd/thing"]
-# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
-#
-# [[constraint]]
-#   name = "github.com/user/project"
-#   version = "1.0.0"
-#
-# [[constraint]]
-#   name = "github.com/user/project2"
-#   branch = "dev"
-#   source = "github.com/myfork/project2"
-#
-# [[override]]
-#   name = "github.com/x/y"
-#   version = "2.4.0"
-#
-# [prune]
-#   non-go = false
-#   go-tests = true
-#   unused-packages = true
-
-
-[[constraint]]
-  name = "github.com/onsi/gomega"
-  version = "1.1.0"
-
-[[constraint]]
-  name = "github.com/pkg/profile"
-  version = "1.2.1"
-
-[[constraint]]
-  name = "github.com/sirupsen/logrus"
-  version = "1.0.0"
-
-[prune]
-  go-tests = true
-  unused-packages = true
index abc200b..ed6bfd5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,66 +1,92 @@
+SHELL = /bin/bash
+
+GO ?= GO111MODULE=on go
+GOVPP_PKG := $(shell go list)
+
 VERSION ?= $(shell git describe --always --tags --dirty)
+COMMIT ?= $(shell git rev-parse HEAD)
+BUILD_STAMP ?= $(shell git log -1 --format="%ct")
+BUILD_BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD)
+BUILD_HOST ?= $(shell hostname)
+BUILD_USER ?= $(shell id -un)
+
+VPP_VERSION    = $(shell dpkg-query -f '\${Version}' -W vpp)
+
+VPP_IMG        ?= ligato/vpp-base:latest
+BINAPI_DIR     ?= ./examples/binapi
+
+LDFLAGS = -w -s \
+       -X ${GOVPP_PKG}/version.version=$(VERSION) \
+       -X ${GOVPP_PKG}/version.commitHash=$(COMMIT) \
+       -X ${GOVPP_PKG}/version.buildStamp=$(BUILD_STAMP) \
+       -X ${GOVPP_PKG}/version.buildBranch=$(BUILD_BRANCH) \
+       -X ${GOVPP_PKG}/version.buildUser=$(BUILD_USER) \
+       -X ${GOVPP_PKG}/version.buildHost=$(BUILD_HOST)
 
-BINAPI_DIR ?= $(shell cd examples/bin_api && pwd)
-VPP_VERSION := $(shell apt-cache show vpp | grep Version: | cut -d' ' -f2-)
+GO_BUILD_ARGS = -ldflags "${LDFLAGS}"
+ifeq ($(V),1)
+GO_BUILD_ARGS += -v
+endif
+ifneq ($(GO_BUILD_TAGS),)
+GO_BUILD_ARGS += -tags="${GO_BUILD_TAGS}"
+endif
 
 all: test build examples
 
 install:
-       @echo "=> installing binapi generator ${VERSION}"
-       go install ./cmd/binapi-generator
+       @echo "=> installing binapi-generator ${VERSION}"
+       $(GO) install ${GO_BUILD_ARGS} ./cmd/binapi-generator
 
 build:
-       @echo "=> building binapi generator ${VERSION}"
-       cd cmd/binapi-generator && go build -v
+       @echo "=> building binapi-generator ${VERSION}"
+       cd cmd/binapi-generator && $(GO) build ${GO_BUILD_ARGS}
 
 examples:
        @echo "=> building examples"
-       cd examples/simple-client && go build -v
-       cd examples/stats-api && go build -v
-       cd examples/perf-bench && go build -v
-       cd examples/union-example && go build -v
+       cd examples/simple-client && $(GO) build ${GO_BUILD_ARGS} -v
+       cd examples/stats-api && $(GO) build ${GO_BUILD_ARGS} -v
+       cd examples/perf-bench && $(GO) build ${GO_BUILD_ARGS} -v
+       cd examples/union-example && $(GO) build ${GO_BUILD_ARGS} -v
+       cd examples/rpc-service && $(GO) build ${GO_BUILD_ARGS} -v
+
+clean:
+       @echo "=> cleaning"
+       go clean -v ./cmd/...
+       go clean -v ./examples/...
 
 test:
        @echo "=> running tests"
-       go test -cover ./cmd/...
-       go test -cover ./ ./adapter ./core ./api ./codec
+       $(GO) test -v ./cmd/...
+       $(GO) test -v ./ ./api ./adapter ./codec ./core
 
-extras:
-       @echo "=> building extras"
-       cd extras/libmemif/examples/gopacket && go build -v
-       cd extras/libmemif/examples/icmp-responder && go build -v
-       cd extras/libmemif/examples/jumbo-frames && go build -v
-       cd extras/libmemif/examples/raw-data && go build -v
+lint:
+       @echo "=> running linter"
+       @golint ./... | grep -v vendor | grep -v /binapi/ || true
 
-clean:
-       @echo "=> cleaning"
-       rm -f cmd/binapi-generator/binapi-generator
-       rm -f examples/perf-bench/perf-bench
-       rm -f examples/simple-client/simple-client
-       rm -f examples/stats-api/stats-api
-       rm -f examples/union-example/union-example
-       rm -f extras/libmemif/examples/gopacket/gopacket
-       rm -f extras/libmemif/examples/icmp-responder/icmp-responder
-       rm -f extras/libmemif/examples/jumbo-frames/jumbo-frames
-       rm -f extras/libmemif/examples/raw-data/raw-data
-
-generate-binapi:
-       @echo "=> generating binapi"
-       @go generate "${BINAPI_DIR}"
-
-generate: install
+gen-binapi-docker: install
+       @echo "=> generating binapi in docker image ${VPP_IMG}"
+       $(eval cmds := $(shell go generate -n $(BINAPI_DIR) 2>&1 | tr "\n" ";"))
+       docker run -t --rm \
+               -v "$(shell which gofmt):/usr/local/bin/gofmt:ro" \
+               -v "$(shell which binapi-generator):/usr/local/bin/binapi-generator:ro" \
+               -v "$(shell pwd):/govpp" -w /govpp \
+               -u "$(shell id -u):$(shell id -g)" \
+               "${VPP_IMG}" \
+         sh -xc "cd $(BINAPI_DIR) && $(cmds)"
+
+generate-binapi: install
+       @echo "=> generating binapi VPP $(VPP_VERSION)"
+       $(GO) generate -x "$(BINAPI_DIR)"
+
+generate:
        @echo "=> generating code"
-       cd examples && go generate -x ./...
+       $(GO) generate -x ./...
 
-update-vppapi:
-       @echo "=> updating API JSON files using installed VPP ${VPP_VERSION}"
-       @cd ${BINAPI_DIR} && find . -type f -name '*.api.json' -exec cp /usr/share/vpp/api/'{}' '{}' \;
-       @echo ${VPP_VERSION} > ${BINAPI_DIR}/VPP_VERSION
+extras:
+       @make -C extras
 
-lint:
-       @echo "=> running linter"
-       @golint ./... | grep -v vendor | grep -v bin_api || true
 
 .PHONY: all \
-       install build examples test \
-       extras clean generate lint
+       install build examples clean test lint \
+       generate generate-binapi gen-binapi-docker \
+       extras
index 148f618..a54ef83 100644 (file)
@@ -12,7 +12,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-// +build !windows,!darwin
+// +build !windows,!darwin,!novpp
 
 package vppapiclient
 
index b42619c..57792f3 100644 (file)
@@ -12,7 +12,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-// +build windows darwin
+// +build windows darwin novpp
 
 package vppapiclient
 
index 244be43..fcd3f3f 100644 (file)
@@ -12,7 +12,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-// +build !windows,!darwin
+// +build !windows,!darwin,!novpp
 
 package vppapiclient
 
index 4df051c..20ad12b 100644 (file)
@@ -12,7 +12,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-// +build windows darwin
+// +build windows darwin novpp
 
 package vppapiclient
 
index d46001d..7a43875 100644 (file)
@@ -27,6 +27,8 @@ import (
 
        "github.com/bennyscetbun/jsongo"
        "github.com/sirupsen/logrus"
+
+       "git.fd.io/govpp.git/version"
 )
 
 var (
@@ -40,16 +42,40 @@ var (
        includeBinapiNames = flag.Bool("include-binapi-names", false, "Include binary API names in struct tag.")
 
        continueOnError = flag.Bool("continue-onerror", false, "Continue with next file on error.")
+       debugMode       = flag.Bool("debug", os.Getenv("GOVPP_DEBUG") != "", "Enable debug mode.")
 
-       debug = flag.Bool("debug", debugMode, "Enable debug mode.")
+       printVersion = flag.Bool("version", false, "Prints current version and exits.")
 )
 
-var debugMode = os.Getenv("DEBUG_BINAPI_GENERATOR") != ""
-
 func main() {
        flag.Parse()
-       if *debug {
+
+       if flag.NArg() > 1 {
+               flag.Usage()
+               os.Exit(1)
+       }
+
+       if flag.NArg() > 0 {
+               switch cmd := flag.Arg(0); cmd {
+               case "version":
+                       fmt.Fprintln(os.Stdout, version.Verbose())
+                       os.Exit(0)
+
+               default:
+                       fmt.Fprintf(os.Stderr, "unknown command: %s\n", cmd)
+                       flag.Usage()
+                       os.Exit(2)
+               }
+       }
+
+       if *printVersion {
+               fmt.Fprintln(os.Stdout, version.Info())
+               os.Exit(0)
+       }
+
+       if *debugMode {
                logrus.SetLevel(logrus.DebugLevel)
+               logrus.Info("debug mode enabled")
        }
 
        if err := run(*theInputFile, *theInputDir, *theOutputDir, *continueOnError); err != nil {
@@ -185,7 +211,7 @@ func generateFromFile(inputFile, outputDir string) error {
 }
 
 func logf(f string, v ...interface{}) {
-       if *debug {
+       if *debugMode {
                logrus.Debugf(f, v...)
        }
 }
diff --git a/examples/binapi/VPP_VERSION b/examples/binapi/VPP_VERSION
deleted file mode 100644 (file)
index a9bd32f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-19.04.1-rc0~5-g6f05f724f
\ No newline at end of file
index edaa703..2e86acd 100644 (file)
@@ -1,17 +1,15 @@
 package binapi
 
 // Generate Go code from the VPP APIs located in the /usr/share/vpp/api directory.
-//go:generate -command binapigen binapi-generator --output-dir=. --include-services
+//go:generate -command binapigen binapi-generator --output-dir=. --include-services --continue-onerror
 
-// core
 //go:generate binapigen --input-file=/usr/share/vpp/api/core/af_packet.api.json
 //go:generate binapigen --input-file=/usr/share/vpp/api/core/interface.api.json
 //go:generate binapigen --input-file=/usr/share/vpp/api/core/ip.api.json
 //go:generate binapigen --input-file=/usr/share/vpp/api/core/memclnt.api.json
 //go:generate binapigen --input-file=/usr/share/vpp/api/core/vpe.api.json
-// plugins
 //go:generate binapigen --input-file=/usr/share/vpp/api/plugins/acl.api.json
 //go:generate binapigen --input-file=/usr/share/vpp/api/plugins/memif.api.json
 
 // VPP version
-//go:generate sh -ec "dpkg-query -f '$DOLLAR{Version}' -W vpp > VPP_VERSION"
+///go:generate sh -c "dpkg-query -f '$DOLLAR{Version}' -W vpp > VPP_VERSION"
diff --git a/extras/.gitignore b/extras/.gitignore
new file mode 100644 (file)
index 0000000..0647c0e
--- /dev/null
@@ -0,0 +1,5 @@
+# libmemif
+libmemif/examples/gopacket/gopacket
+libmemif/examples/icmp-responder/icmp-responder
+libmemif/examples/jumbo-frames/jumbo-frames
+libmemif/examples/raw-data/raw-data
diff --git a/extras/Makefile b/extras/Makefile
new file mode 100644 (file)
index 0000000..eae5627
--- /dev/null
@@ -0,0 +1,17 @@
+GO ?= GO111MODULE=on go
+
+build: extras
+
+extras:
+       @echo "=> building extras"
+       cd libmemif/examples/gopacket && $(GO) build -v
+       cd libmemif/examples/icmp-responder && $(GO) build -v
+       cd libmemif/examples/jumbo-frames && $(GO) build -v
+       cd libmemif/examples/raw-data && $(GO) build -v
+
+clean:
+       @echo "=> cleaning extras"
+       go clean -v ./...
+
+
+.PHONY: build extras clean
\ No newline at end of file
diff --git a/extras/go.mod b/extras/go.mod
new file mode 100644 (file)
index 0000000..482a429
--- /dev/null
@@ -0,0 +1,8 @@
+module git.fd.io/govpp.git/extras
+
+go 1.12
+
+require (
+       github.com/google/gopacket v1.1.17
+       github.com/sirupsen/logrus v1.4.2
+)
diff --git a/extras/go.sum b/extras/go.sum
new file mode 100644 (file)
index 0000000..2bbea85
--- /dev/null
@@ -0,0 +1,20 @@
+github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
+github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/google/gopacket v1.1.17 h1:rMrlX2ZY2UbvT+sdz3+6J+pp2z+msCq9MxTU6ymxbBY=
+github.com/google/gopacket v1.1.17/go.mod h1:UdDNZ1OO62aGYVnPhxT1U6aI7ukYtA/kB8vaU0diBUM=
+github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk=
+github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
+github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/sirupsen/logrus v1.4.2 h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4=
+github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
+github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
+github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
+golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
+golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190405154228-4b34438f7a67/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190422165155-953cdadca894 h1:Cz4ceDQGXuKRnVBDTS23GTn/pU5OE2C0WrNTOYK1Uuc=
+golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
index d238df6..1bb9229 100644 (file)
@@ -34,7 +34,7 @@ import (
 #include <stdint.h>
 #include <string.h>
 #include <sys/eventfd.h>
-#include <libmemif.h>
+#include <libmemif.h>  // <-- VPP must be installed!
 
 // Feature tests.
 #ifndef MEMIF_HAVE_CANCEL_POLL_EVENT
diff --git a/go.mod b/go.mod
new file mode 100644 (file)
index 0000000..79114c5
--- /dev/null
+++ b/go.mod
@@ -0,0 +1,23 @@
+module git.fd.io/govpp.git
+
+go 1.12
+
+require (
+       github.com/bennyscetbun/jsongo v0.0.0-20160422144625-5240b3f82c66
+       github.com/fsnotify/fsnotify v0.0.0-20170329110642-4da3e2cfbabc
+       github.com/ftrvxmtrx/fd v0.0.0-20150925145434-c6d800382fff
+       github.com/golang/protobuf v1.3.2 // indirect
+       github.com/hpcloud/tail v1.0.0 // indirect
+       github.com/kr/pretty v0.1.0 // indirect
+       github.com/lunixbochs/struc v0.0.0-20180408203800-02e4c2afbb2a
+       github.com/onsi/ginkgo v1.8.0 // indirect
+       github.com/onsi/gomega v1.1.0
+       github.com/pkg/profile v1.2.1
+       github.com/sirupsen/logrus v1.0.0
+       github.com/stretchr/testify v1.3.0 // indirect
+       golang.org/x/sys v0.0.0-20170427041856-9ccfe848b9db // indirect
+       gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
+       gopkg.in/fsnotify.v1 v1.4.7 // indirect
+       gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
+       gopkg.in/yaml.v2 v2.0.0-20170407172122-cd8b52f8269e // indirect
+)
diff --git a/go.sum b/go.sum
new file mode 100644 (file)
index 0000000..148fdbf
--- /dev/null
+++ b/go.sum
@@ -0,0 +1,42 @@
+github.com/bennyscetbun/jsongo v0.0.0-20160422144625-5240b3f82c66 h1:isQTypXGM6KLr0gdEDjhJ9Z5F0gefMdgDI42LrS5/LQ=
+github.com/bennyscetbun/jsongo v0.0.0-20160422144625-5240b3f82c66/go.mod h1:suxbVmjBV8+A2BBAM5EYVh6Uj8j3rqJhzWf3hv7Ff8U=
+github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
+github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/fsnotify/fsnotify v0.0.0-20170329110642-4da3e2cfbabc h1:fqUzyjP8DApxXq0dOZJE/NvqQkyjxiTy9ARNyRwBPEw=
+github.com/fsnotify/fsnotify v0.0.0-20170329110642-4da3e2cfbabc/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
+github.com/ftrvxmtrx/fd v0.0.0-20150925145434-c6d800382fff h1:zk1wwii7uXmI0znwU+lqg+wFL9G5+vm5I+9rv2let60=
+github.com/ftrvxmtrx/fd v0.0.0-20150925145434-c6d800382fff/go.mod h1:yUhRXHewUVJ1k89wHKP68xfzk7kwXUx/DV1nx4EBMbw=
+github.com/golang/protobuf v1.3.2 h1:6nsPYzhq5kReh6QImI3k5qWzO4PEbvbIW2cwSfR/6xs=
+github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI=
+github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
+github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
+github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
+github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
+github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
+github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
+github.com/lunixbochs/struc v0.0.0-20180408203800-02e4c2afbb2a h1:axFx97V2Lyke5LbeygrJlzc07mwVhHt2ZHeI/Nv8Aq4=
+github.com/lunixbochs/struc v0.0.0-20180408203800-02e4c2afbb2a/go.mod h1:iOJu9pApjjmEmNq7PqlA5R9mDu/HMF5EM3llWKX/TyA=
+github.com/onsi/ginkgo v1.8.0 h1:VkHVNpR4iVnU8XQR6DBm8BqYjN7CRzw+xKUbVVbbW9w=
+github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
+github.com/onsi/gomega v1.1.0 h1:e3YP4dN/HYPpGh29X1ZkcxcEICsOls9huyVCRBaxjq8=
+github.com/onsi/gomega v1.1.0/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA=
+github.com/pkg/profile v1.2.1 h1:F++O52m40owAmADcojzM+9gyjmMOY/T4oYJkgFDH8RE=
+github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA=
+github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/sirupsen/logrus v1.0.0 h1:XM8X4m/9ACaclZMs946FQNEZBZafvToJLTR4007drwo=
+github.com/sirupsen/logrus v1.0.0/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc=
+github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
+github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
+golang.org/x/sys v0.0.0-20170427041856-9ccfe848b9db h1:znurcNjtwV7XblDOBERYCP1TUjpwbp8bi3Szx8gbNBE=
+golang.org/x/sys v0.0.0-20170427041856-9ccfe848b9db/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
+gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4=
+gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys=
+gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ=
+gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw=
+gopkg.in/yaml.v2 v2.0.0-20170407172122-cd8b52f8269e h1:o/mfNjxpTLivuKEfxzzwrJ8PmulH2wEp7t713uMwKAA=
+gopkg.in/yaml.v2 v2.0.0-20170407172122-cd8b52f8269e/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74=
diff --git a/vendor/github.com/bennyscetbun/jsongo/.gitignore b/vendor/github.com/bennyscetbun/jsongo/.gitignore
deleted file mode 100644 (file)
index 32678c7..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-# Compiled Object files, Static and Dynamic libs (Shared Objects)
-*.o
-*.a
-*.so
-
-# Folders
-_obj
-_test
-
-# Architecture specific extensions/prefixes
-*.[568vq]
-[568vq].out
-
-*.cgo1.go
-*.cgo2.c
-_cgo_defun.c
-_cgo_gotypes.go
-_cgo_export.*
-
-_testmain.go
-
-*.exe
-*.test
-*~
diff --git a/vendor/github.com/bennyscetbun/jsongo/LICENSE b/vendor/github.com/bennyscetbun/jsongo/LICENSE
deleted file mode 100644 (file)
index aab88ef..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2014 Benny Scetbun
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/vendor/github.com/bennyscetbun/jsongo/README.md b/vendor/github.com/bennyscetbun/jsongo/README.md
deleted file mode 100644 (file)
index ebc81c6..0000000
+++ /dev/null
@@ -1,574 +0,0 @@
-jsongo
-======
-
-**Jsongo is a simple library for golang to help you build Json without static struct or map[string]interface**
-
-[json.Marshal](http://golang.org/pkg/encoding/json/#Marshal) and [json.Unmarshal](http://golang.org/pkg/encoding/json/#Unmarshal) have never been that easy
-
-**If you had only one function to look at, look at the "[At](#at)" function**
-
-***If you want an easy way to turn your json into a structure you should use the "[Print](#print)" function after unmarshalling json in a JSONNODE***
-
-You can find the doc on godoc.org [![GoDoc](https://godoc.org/github.com/bennyscetbun/jsongo?status.png)](https://godoc.org/github.com/bennyscetbun/jsongo)
-
-
-##JsonNode
-
-JsonNode is the basic Structure that you must use when using jsongo. It can either be a:
-- Map (jsongo.TypeMap)
-- Array (jsongo.TypeArray)
-- Value (jsongo.TypeValue) *Precisely a pointer store in an interface{}*
-- Undefined (jsongo.TypeUndefined) *default type*
-
-*When a JSONNode Type is set you cant change it without using Unset() first*
-____
-###Val
-####Synopsis:
-turn this JSONNode to TypeValue and set that value
-```go
-func (that *JSONNode) Val(val interface{}) 
-```
-
-####Examples
-#####code:
-```go
-package main
-
-import (
-    "github.com/bennyscetbun/jsongo"
-)
-
-func main() {
-    root := jsongo.JSONNode{}
-       root.Val(42)
-       root.DebugPrint("")
-}
-```
-#####output:
-```
-42
-```
-#####code:
-```go
-package main
-
-import (
-    "github.com/bennyscetbun/jsongo"
-)
-type MyStruct struct {
-       Member1 string
-       Member2 int
-}
-
-func main() {
-       root := jsongo.JSONNode{}
-       root.Val(MyStruct{"The answer", 42})
-       root.DebugPrint("")
-}
-```
-#####output:
-```
-{
-  "Member1": "The answer",
-  "Member2": 42
-}
-```
-_____
-###Array
-####Synopsis:
- Turn this JSONNode to a TypeArray and/or set the array size (reducing size will make you loose data)
-```go
-func (that *JSONNode) Array(size int) *[]JSONNode
-```
-
-####Examples
-#####code:
-```go
-package main
-
-import (
-    "github.com/bennyscetbun/jsongo"
-)
-
-func main() {
-    root := jsongo.JSONNode{}
-       a := root.Array(4)
-    for i := 0; i < 4; i++ {
-        (*a)[i].Val(i)
-    }
-       root.DebugPrint("")
-}
-```
-#####output:
-```
-[
-  0,
-  1,
-  2,
-  3
-]
-```
-#####code:
-```go
-package main
-
-import (
-    "github.com/bennyscetbun/jsongo"
-)
-
-func main() {
-    root := jsongo.JSONNode{}
-    a := root.Array(4)
-    for i := 0; i < 4; i++ {
-        (*a)[i].Val(i)
-    }
-    root.Array(2) //Here we reduce the size and we loose some data
-       root.DebugPrint("")
-}
-```
-#####output:
-```
-[
-  0,
-  1
-]
-```
-____
-###Map
-####Synopsis:
-Turn this JSONNode to a TypeMap and/or Create a new element for key if necessary and return it
-```go
-func (that *JSONNode) Map(key string) *JSONNode
-```
-
-####Examples
-#####code:
-```go
-package main
-
-import (
-    "github.com/bennyscetbun/jsongo"
-)
-
-func main() {
-    root := jsongo.JSONNode{}
-    root.Map("there").Val("you are")
-    root.Map("here").Val("you should be")
-       root.DebugPrint("")
-}
-```
-#####output:
-```
-{
-  "here": "you should be",
-  "there": "you are"
-}
-```
-____
-###At
-####Synopsis:
-Helps you move through your node by building them on the fly
-
-*val can be string or int only*
-
-*strings are keys for TypeMap*
-
-*ints are index in TypeArray (it will make array grow on the fly, so you should start to populate with the biggest index first)*
-```go
-func (that *JSONNode) At(val ...interface{}) *JSONNode
-```
-
-####Examples
-#####code:
-```go
-package main
-
-import (
-    "github.com/bennyscetbun/jsongo"
-)
-
-func main() {
-    root := jsongo.JSONNode{}
-    root.At(4, "Who").Val("Let the dog out") //is equivalent to (*root.Array(5))[4].Map("Who").Val("Let the dog out")
-    root.DebugPrint("")
-}
-```
-#####output:
-```
-[
-  null,
-  null,
-  null,
-  null,
-  {
-    "Who": "Let the dog out"
-  }
-]
-```
-#####code:
-```go
-package main
-
-import (
-    "github.com/bennyscetbun/jsongo"
-)
-
-func main() {
-    root := jsongo.JSONNode{}
-    root.At(4, "Who").Val("Let the dog out")
-    //to win some time you can even even save a certain JSONNode
-       node := root.At(2, "What")
-       node.At("Can", "You").Val("do with that?")
-       node.At("Do", "You", "Think").Val("Of that")
-    root.DebugPrint("")
-}
-```
-#####output:
-```
-[
-  null,
-  null,
-  {
-    "What": {
-      "Can": {
-        "You": "do with that?"
-      },
-      "Do": {
-        "You": {
-          "Think": "Of that"
-        }
-      }
-    }
-  },
-  null,
-  {
-    "Who": "Let the dog out"
-  }
-]
-```
-____
-###Print
-####Synopsis:
-Helps you build your code by printing a go structure from the json you ve just unmarshaled
-
-```go
-func (that *JSONNode) Print()
-```
-
-____
-###Other Function
-There is plenty of other function, you should check the complete doc [![GoDoc](https://godoc.org/github.com/bennyscetbun/jsongo?status.png)](https://godoc.org/github.com/bennyscetbun/jsongo)
-
-####A last Example for fun
-#####code:
-```go
-package main
-
-import (
-    "github.com/bennyscetbun/jsongo"
-)
-
-func ShowOnlyValue(current *jsongo.JSONNode) {
-    switch current.GetType() {
-       case jsongo.TypeValue:
-                       println(current.Get().(string))
-               case jsongo.TypeMap:
-                       for _, key := range current.GetKeys() {
-                               ShowOnlyValue(current.At(key))
-                       }
-               case jsongo.TypeArray:
-                       for _, key := range current.GetKeys() {
-                               ShowOnlyValue(current.At(key))
-                       }
-       }
-}
-
-func main() {
-    root := jsongo.JSONNode{}
-    root.At(4, "Who").Val("Let the dog out")
-       node := root.At(2, "What")
-       node.At("Can", "You").Val("do with that?")
-       node.At("Do", "You", "Think").Val("Of that")
-       ShowOnlyValue(&root)
-}
-```
-#####output:
-```
-Of that
-do with that?
-Let the dog out
-```
-_____
-_____
-##Json Marshal/Unmarshal
-
-One of the main purpose of jsongo was to create Json from data without using static structure or map[string]interface.
-
-You can use the full power of the [encoding/json](http://golang.org/pkg/encoding/json/) package with jsongo.
-
-###Marshal
-####Example
-#####code:
-```go
-package main
-
-import (
-    "encoding/json"
-       "fmt"
-    "github.com/bennyscetbun/jsongo"
-)
-
-type Test struct {
-       Static string `json:"static"`
-       Over int `json:"over"`
-}
-
-func main() {
-       root := jsongo.JSONNode{}
-       root.At("A", "AA", "AAA").Val(42)
-
-       node := root.At("A", "AB")
-       node.At(1).Val("Peace")
-       node.At(0).Val(Test{"struct suck when you build json", 9000})
-       root.At("B").Val("Oh Yeah")
-
-       tojson, err := json.MarshalIndent(&root, "", "  ")
-       if err != nil {
-               fmt.Printf("%s\n", err.Error())
-               return
-       }
-       fmt.Printf("%s\n", tojson)
-}
-```
-#####output:
-```
-{
-  "A": {
-    "AA": {
-      "AAA": 42
-    },
-    "AB": [
-      {
-        "static": "struct suck when you build json",
-        "over": 9000
-      },
-      "Peace"
-    ]
-  },
-  "B": "Oh Yeah"
-}
-```
-____
-###Unmarshal
-Unmarshal using JSONNode follow some simple rules:
-- Any TypeUndefined JSONNode will be set to the right type, any other type wont be changed
-- Array will grow if necessary
-- New keys will be added to Map
-- Values set to nil "*.Val(nil)*" will be turn into the type decide by Json
-- It will respect any current mapping and will return errors if needed
-
-You can set a node as "DontExpand" with the UnmarshalDontExpand function and thoose rules will apply:
-- The type wont be change for any type
-- Array wont grow
-- New keys wont be added to Map
-- Values set to nil "*.Val(nil)*" will be turn into the type decide by Json
-- It will respect any current mapping and will return errors if needed
-
-####Example of full expand
-#####code:
-```go
-package main
-
-import (
-    "encoding/json"
-    "github.com/bennyscetbun/jsongo"
-    "fmt"
-)
-
-func main() {
-    root := jsongo.JSONNode{}
-    fromjson := `{
-         "A": {
-               "AA": {
-                 "AAA": 42
-               },
-               "AB": [
-                 {
-                       "static": "struct suck when you build json",
-                       "over": 9000
-                 },
-                 "Peace"
-               ]
-         },
-         "B": "Oh Yeah"
-       }`
-    err := json.Unmarshal([]byte(fromjson), &root)
-       if err != nil {
-               fmt.Printf("%s\n", err.Error())
-               return
-       }
-       root.DebugProspect(0, "\t")
-}
-```
-#####output:
-```
-Is of Type: TypeMap
-A:
-        Is of Type: TypeMap
-        AA:
-                Is of Type: TypeMap
-                AAA:
-                        Is of Type: TypeValue
-                        Value of type: float64
-                        42
-        AB:
-                Is of Type: TypeArray
-                [0]:
-                        Is of Type: TypeMap
-                        static:
-                                Is of Type: TypeValue
-                                Value of type: string
-                                struct suck when you build json
-                        over:
-                                Is of Type: TypeValue
-                                Value of type: float64
-                                9000
-                [1]:
-                        Is of Type: TypeValue
-                        Value of type: string
-                        Peace
-B:
-        Is of Type: TypeValue
-        Value of type: string
-        Oh Yeah
-```
-####Example expand with mapping
-#####code:
-```go
-package main
-
-import (
-    "encoding/json"
-    "github.com/bennyscetbun/jsongo"
-    "fmt"
-)
-type Test struct {
-    Static string `json:"static"`
-    Over int `json:"over"`
-}
-
-func main() {
-       root := jsongo.JSONNode{}
-    fromjson := `{
-      "A": {
-               "AA": {
-                 "AAA": 42
-               },
-               "AB": [
-                 {
-                       "static": "struct suck when you build json",
-                       "over": 9000
-                 },
-                 "Peace"
-               ]
-         },
-         "B": "Oh Yeah"
-       }`
-       root.At("A", "AB", 0).Val(Test{})
-    err := json.Unmarshal([]byte(fromjson), &root)
-       if err != nil {
-               fmt.Printf("%s\n", err.Error())
-               return
-       }
-       root.DebugProspect(0, "\t")
-}
-```
-#####output:
-```
-Is of Type: TypeMap
-A:
-        Is of Type: TypeMap
-        AB:
-                Is of Type: TypeArray
-                [0]:
-                        Is of Type: TypeValue
-                        Value of type: main.Test
-                        {Static:struct suck when you build json Over:9000}
-                [1]:
-                        Is of Type: TypeValue
-                        Value of type: string
-                        Peace
-        AA:
-                Is of Type: TypeMap
-                AAA:
-                        Is of Type: TypeValue
-                        Value of type: float64
-                        42
-B:
-        Is of Type: TypeValue
-        Value of type: string
-        Oh Yeah
-```
-####Example expand with some UnmarshalDontExpand
-#####code:
-```go
-package main
-
-import (
-    "encoding/json"
-    "github.com/bennyscetbun/jsongo"
-    "fmt"
-)
-type Test struct {
-       Static string `json:"static"`
-       Over int `json:"over"`
-}
-
-func main() {
-    root := jsongo.JSONNode{}
-    fromjson := `{
-      "A": {
-               "AA": {
-                 "AAA": 42
-               },
-               "AB": [
-                 {
-                       "static": "struct suck when you build json",
-                       "over": 9000
-                 },
-                 "Peace"
-               ]
-         },
-         "B": "Oh Yeah"
-       }`
-       root.At("A", "AB").UnmarshalDontExpand(true, false).At(0).Val(Test{})
-    err := json.Unmarshal([]byte(fromjson), &root)
-       if err != nil {
-               fmt.Printf("%s\n", err.Error())
-               return
-       }
-       root.DebugProspect(0, "\t")
-}
-```
-#####output:
-```
-Is of Type: TypeMap
-A:
-        Is of Type: TypeMap
-        AB:
-                Is of Type: TypeArray
-                [0]:
-                        Is of Type: TypeValue
-                        Value of type: main.Test
-                        {Static:struct suck when you build json Over:9000}
-        AA:
-                Is of Type: TypeMap
-                AAA:
-                        Is of Type: TypeValue
-                        Value of type: float64
-                        42
-B:
-        Is of Type: TypeValue
-        Value of type: string
-        Oh Yeah
-```
diff --git a/vendor/github.com/bennyscetbun/jsongo/debug.go b/vendor/github.com/bennyscetbun/jsongo/debug.go
deleted file mode 100644 (file)
index a1aa425..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-package jsongo
-
-import (
-       "encoding/json"
-       "fmt"
-       "os"
-)
-
-//DebugPrint Print a JSONNode as json withindent
-func (that *JSONNode) DebugPrint(prefix string) {
-       asJSON, err := json.MarshalIndent(that, "", "  ")
-       if err != nil {
-               fmt.Printf("%s\n", err.Error())
-               os.Exit(-1)
-       }
-       fmt.Printf("%s%s\n", prefix, asJSON)
-}
-
-func printfindent(indentlevel int, indentchar string, format string, args ...interface{}) {
-       for i := 0; i < indentlevel; i++ {
-               fmt.Printf("%s", indentchar)
-       }
-       fmt.Printf(format, args...)
-}
-
-func (that *JSONNode) debugProspectValue(indentlevel int, indentchar string) {
-       printfindent(indentlevel, indentchar, "Is of Type: TypeValue\n")
-       printfindent(indentlevel, indentchar, "Value of type: %T\n", that.Get())
-       printfindent(indentlevel, indentchar, "%+v\n", that.Get())
-}
-
-func (that *JSONNode) debugProspectMap(indentlevel int, indentchar string) {
-       printfindent(indentlevel, indentchar, "Is of Type: TypeMap\n")
-       for key := range that.m {
-               printfindent(indentlevel, indentchar, "%s:\n", key)
-               that.m[key].DebugProspect(indentlevel+1, indentchar)
-       }
-}
-
-func (that *JSONNode) debugProspectArray(indentlevel int, indentchar string) {
-       printfindent(indentlevel, indentchar, "Is of Type: TypeArray\n")
-       for key := range that.a {
-               printfindent(indentlevel, indentchar, "[%d]:\n", key)
-               that.a[key].DebugProspect(indentlevel+1, indentchar)
-       }
-}
-
-//DebugProspect Print all the data the we ve got on a node and all it s children
-func (that *JSONNode) DebugProspect(indentlevel int, indentchar string) {
-       switch that.t {
-       case TypeValue:
-               that.debugProspectValue(indentlevel, indentchar)
-       case TypeMap:
-               that.debugProspectMap(indentlevel, indentchar)
-       case TypeArray:
-               that.debugProspectArray(indentlevel, indentchar)
-       case TypeUndefined:
-               printfindent(indentlevel, indentchar, "Is of Type: TypeUndefined\n")
-       }
-}
diff --git a/vendor/github.com/bennyscetbun/jsongo/jsongo.go b/vendor/github.com/bennyscetbun/jsongo/jsongo.go
deleted file mode 100644 (file)
index d661931..0000000
+++ /dev/null
@@ -1,472 +0,0 @@
-// Copyright 2014 Benny Scetbun. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
-
-// Package Jsongo is a simple library to help you build Json without static struct
-//
-// Source code and project home:
-// https://github.com/benny-deluxe/jsongo
-//
-
-package jsongo
-
-import (
-       "encoding/json"
-       "errors"
-       "reflect"
-       //"fmt"
-)
-
-//ErrorKeyAlreadyExist error if a key already exist in current JSONNode
-var ErrorKeyAlreadyExist = errors.New("jsongo key already exist")
-
-//ErrorMultipleType error if a JSONNode already got a different type of value
-var ErrorMultipleType = errors.New("jsongo this node is already set to a different jsonNodeType")
-
-//ErrorArrayNegativeValue error if you ask for a negative index in an array
-var ErrorArrayNegativeValue = errors.New("jsongo negative index for array")
-
-//ErrorArrayNegativeValue error if you ask for a negative index in an array
-var ErrorAtUnsupportedType = errors.New("jsongo Unsupported Type as At argument")
-
-//ErrorRetrieveUserValue error if you ask the value of a node that is not a value node
-var ErrorRetrieveUserValue = errors.New("jsongo Cannot retrieve node's value which is not of type value")
-
-//ErrorTypeUnmarshaling error if you try to unmarshal something in the wrong type
-var ErrorTypeUnmarshaling = errors.New("jsongo Wrong type when Unmarshaling")
-
-//ErrorUnknowType error if you try to use an unknow JSONNodeType
-var ErrorUnknowType = errors.New("jsongo Unknow JSONNodeType")
-
-//ErrorValNotPointer error if you try to use Val without a valid pointer
-var ErrorValNotPointer = errors.New("jsongo: Val: arguments must be a pointer and not nil")
-
-//ErrorGetKeys error if you try to get the keys from a JSONNode that isnt a TypeMap or a TypeArray
-var ErrorGetKeys = errors.New("jsongo: GetKeys: JSONNode is not a TypeMap or TypeArray")
-
-//ErrorDeleteKey error if you try to call DelKey on a JSONNode that isnt a TypeMap
-var ErrorDeleteKey = errors.New("jsongo: DelKey: This JSONNode is not a TypeMap")
-
-//ErrorCopyType error if you try to call Copy on a JSONNode that isnt a TypeUndefined
-var ErrorCopyType = errors.New("jsongo: Copy: This JSONNode is not a TypeUndefined")
-
-//JSONNode Datastructure to build and maintain Nodes
-type JSONNode struct {
-       m          map[string]*JSONNode
-       a          []JSONNode
-       v          interface{}
-       vChanged   bool         //True if we changed the type of the value
-       t          JSONNodeType //Type of that JSONNode 0: Not defined, 1: map, 2: array, 3: value
-       dontExpand bool         //dont expand while Unmarshal
-}
-
-//JSONNodeType is used to set, check and get the inner type of a JSONNode
-type JSONNodeType uint
-
-const (
-       //TypeUndefined is set by default for empty JSONNode
-       TypeUndefined JSONNodeType = iota
-       //TypeMap is set when a JSONNode is a Map
-       TypeMap
-       //TypeArray is set when a JSONNode is an Array
-       TypeArray
-       //TypeValue is set when a JSONNode is a Value Node
-       TypeValue
-       //typeError help us detect errors
-       typeError
-)
-
-//At helps you move through your node by building them on the fly
-//
-//val can be string or int only
-//
-//strings are keys for TypeMap
-//
-//ints are index in TypeArray (it will make array grow on the fly, so you should start to populate with the biggest index first)*
-func (that *JSONNode) At(val ...interface{}) *JSONNode {
-       if len(val) == 0 {
-               return that
-       }
-       switch vv := val[0].(type) {
-       case string:
-               return that.atMap(vv, val[1:]...)
-       case int:
-               return that.atArray(vv, val[1:]...)
-       }
-       panic(ErrorAtUnsupportedType)
-}
-
-//atMap return the JSONNode in current map
-func (that *JSONNode) atMap(key string, val ...interface{}) *JSONNode {
-       if that.t != TypeUndefined && that.t != TypeMap {
-               panic(ErrorMultipleType)
-       }
-       if that.m == nil {
-               that.m = make(map[string]*JSONNode)
-               that.t = TypeMap
-       }
-       if next, ok := that.m[key]; ok {
-               return next.At(val...)
-       }
-       that.m[key] = new(JSONNode)
-       return that.m[key].At(val...)
-}
-
-//atArray return the JSONNode in current TypeArray (and make it grow if necessary)
-func (that *JSONNode) atArray(key int, val ...interface{}) *JSONNode {
-       if that.t == TypeUndefined {
-               that.t = TypeArray
-       } else if that.t != TypeArray {
-               panic(ErrorMultipleType)
-       }
-       if key < 0 {
-               panic(ErrorArrayNegativeValue)
-       }
-       if key >= len(that.a) {
-               newa := make([]JSONNode, key+1)
-               for i := 0; i < len(that.a); i++ {
-                       newa[i] = that.a[i]
-               }
-               that.a = newa
-       }
-       return that.a[key].At(val...)
-}
-
-//Map Turn this JSONNode to a TypeMap and/or Create a new element for key if necessary and return it
-func (that *JSONNode) Map(key string) *JSONNode {
-       if that.t != TypeUndefined && that.t != TypeMap {
-               panic(ErrorMultipleType)
-       }
-       if that.m == nil {
-               that.m = make(map[string]*JSONNode)
-               that.t = TypeMap
-       }
-       if _, ok := that.m[key]; ok {
-               return that.m[key]
-       }
-       that.m[key] = &JSONNode{}
-       return that.m[key]
-}
-
-//Array Turn this JSONNode to a TypeArray and/or set the array size (reducing size will make you loose data)
-func (that *JSONNode) Array(size int) *[]JSONNode {
-       if that.t == TypeUndefined {
-               that.t = TypeArray
-       } else if that.t != TypeArray {
-               panic(ErrorMultipleType)
-       }
-       if size < 0 {
-               panic(ErrorArrayNegativeValue)
-       }
-       var min int
-       if size < len(that.a) {
-               min = size
-       } else {
-               min = len(that.a)
-       }
-       newa := make([]JSONNode, size)
-       for i := 0; i < min; i++ {
-               newa[i] = that.a[i]
-       }
-       that.a = newa
-       return &(that.a)
-}
-
-//Val Turn this JSONNode to Value type and/or set that value to val
-func (that *JSONNode) Val(val interface{}) {
-       if that.t == TypeUndefined {
-               that.t = TypeValue
-       } else if that.t != TypeValue {
-               panic(ErrorMultipleType)
-       }
-       rt := reflect.TypeOf(val)
-       var finalval interface{}
-       if val == nil {
-               finalval = &val
-               that.vChanged = true
-       } else if rt.Kind() != reflect.Ptr {
-               rv := reflect.ValueOf(val)
-               var tmp reflect.Value
-               if rv.CanAddr() {
-                       tmp = rv.Addr()
-               } else {
-                       tmp = reflect.New(rt)
-                       tmp.Elem().Set(rv)
-               }
-               finalval = tmp.Interface()
-               that.vChanged = true
-       } else {
-               finalval = val
-       }
-       that.v = finalval
-}
-
-//Get Return value of a TypeValue as interface{}
-func (that *JSONNode) Get() interface{} {
-       if that.t != TypeValue {
-               panic(ErrorRetrieveUserValue)
-       }
-       if that.vChanged {
-               rv := reflect.ValueOf(that.v)
-               return rv.Elem().Interface()
-       }
-       return that.v
-}
-
-//GetKeys Return a slice interface that represent the keys to use with the At fonction (Works only on TypeMap and TypeArray)
-func (that *JSONNode) GetKeys() []interface{} {
-       var ret []interface{}
-       switch that.t {
-       case TypeMap:
-               nb := len(that.m)
-               ret = make([]interface{}, nb)
-               for key := range that.m {
-                       nb--
-                       ret[nb] = key
-               }
-       case TypeArray:
-               nb := len(that.a)
-               ret = make([]interface{}, nb)
-               for nb > 0 {
-                       nb--
-                       ret[nb] = nb
-               }
-       default:
-               panic(ErrorGetKeys)
-       }
-       return ret
-}
-
-//Len Return the length of the current Node
-//
-// if TypeUndefined return 0
-//
-// if TypeValue return 1
-//
-// if TypeArray return the size of the array
-//
-// if TypeMap return the size of the map
-func (that *JSONNode) Len() int {
-       var ret int
-       switch that.t {
-       case TypeMap:
-               ret = len(that.m)
-       case TypeArray:
-               ret = len(that.a)
-       case TypeValue:
-               ret = 1
-       }
-       return ret
-}
-
-//SetType Is use to set the Type of a node and return the current Node you are working on
-func (that *JSONNode) SetType(t JSONNodeType) *JSONNode {
-       if that.t != TypeUndefined && that.t != t {
-               panic(ErrorMultipleType)
-       }
-       if t >= typeError {
-               panic(ErrorUnknowType)
-       }
-       that.t = t
-       switch t {
-       case TypeMap:
-               that.m = make(map[string]*JSONNode, 0)
-       case TypeArray:
-               that.a = make([]JSONNode, 0)
-       case TypeValue:
-               that.Val(nil)
-       }
-       return that
-}
-
-//GetType Is use to Get the Type of a node
-func (that *JSONNode) GetType() JSONNodeType {
-       return that.t
-}
-
-//Copy Will set this node like the one in argument. this node must be of type TypeUndefined
-//
-//if deepCopy is true we will copy all the children recursively else we will share the children
-//
-//return the current JSONNode
-func (that *JSONNode) Copy(other *JSONNode, deepCopy bool) *JSONNode {
-       if that.t != TypeUndefined {
-               panic(ErrorCopyType)
-       }
-       
-       if other.t == TypeValue {
-               *that = *other
-       } else if other.t == TypeArray {
-               if !deepCopy {
-                       *that = *other
-               } else {
-                       that.Array(len(other.a))
-                       for i := range other.a {
-                               that.At(i).Copy(other.At(i), deepCopy)
-                       }
-               }
-       } else if other.t == TypeMap {
-               that.SetType(other.t)
-               if !deepCopy {
-                       for val := range other.m {
-                               that.m[val] = other.m[val]
-                       }
-               } else {
-                       for val := range other.m {
-                               that.Map(val).Copy(other.At(val), deepCopy)
-                       }
-               }
-       }
-       return that
-}
-
-
-//Unset Will unset everything in the JSONnode. All the children data will be lost
-func (that *JSONNode) Unset() {
-       *that = JSONNode{}
-}
-
-//DelKey will remove a key in the map.
-//
-//return the current JSONNode.
-func (that *JSONNode) DelKey(key string) *JSONNode {
-       if that.t != TypeMap {
-               panic(ErrorDeleteKey)
-       }
-       delete(that.m, key)
-       return that
-}
-
-//UnmarshalDontExpand set or not if Unmarshall will generate anything in that JSONNode and its children
-//
-//val: will change the expanding rules for this node
-//
-//- The type wont be change for any type
-//
-//- Array wont grow
-//
-//- New keys wont be added to Map
-//
-//- Values set to nil "*.Val(nil)*" will be turn into the type decide by Json
-//
-//- It will respect any current mapping and will return errors if needed
-//
-//recurse: if true, it will set all the children of that JSONNode with val
-func (that *JSONNode) UnmarshalDontExpand(val bool, recurse bool) *JSONNode {
-       that.dontExpand = val
-       if recurse {
-               switch that.t {
-               case TypeMap:
-                       for k := range that.m {
-                               that.m[k].UnmarshalDontExpand(val, recurse)
-                       }
-               case TypeArray:
-                       for k := range that.a {
-                               that.a[k].UnmarshalDontExpand(val, recurse)
-                       }
-               }
-       }
-       return that
-}
-
-//MarshalJSON Make JSONNode a Marshaler Interface compatible
-func (that *JSONNode) MarshalJSON() ([]byte, error) {
-       var ret []byte
-       var err error
-       switch that.t {
-       case TypeMap:
-               ret, err = json.Marshal(that.m)
-       case TypeArray:
-               ret, err = json.Marshal(that.a)
-       case TypeValue:
-               ret, err = json.Marshal(that.v)
-       default:
-               ret, err = json.Marshal(nil)
-       }
-       if err != nil {
-               return nil, err
-       }
-       return ret, err
-}
-
-func (that *JSONNode) unmarshalMap(data []byte) error {
-       tmp := make(map[string]json.RawMessage)
-       err := json.Unmarshal(data, &tmp)
-       if err != nil {
-               return err
-       }
-       for k := range tmp {
-               if _, ok := that.m[k]; ok {
-                       err := json.Unmarshal(tmp[k], that.m[k])
-                       if err != nil {
-                               return err
-                       }
-               } else if !that.dontExpand {
-                       err := json.Unmarshal(tmp[k], that.Map(k))
-                       if err != nil {
-                               return err
-                       }
-               }
-       }
-       return nil
-}
-
-func (that *JSONNode) unmarshalArray(data []byte) error {
-       var tmp []json.RawMessage
-       err := json.Unmarshal(data, &tmp)
-       if err != nil {
-               return err
-       }
-       for i := len(tmp) - 1; i >= 0; i-- {
-               if !that.dontExpand || i < len(that.a) {
-                       err := json.Unmarshal(tmp[i], that.At(i))
-                       if err != nil {
-                               return err
-                       }
-               }
-       }
-       return nil
-}
-
-func (that *JSONNode) unmarshalValue(data []byte) error {
-       if that.v != nil {
-               return json.Unmarshal(data, that.v)
-       }
-       var tmp interface{}
-       err := json.Unmarshal(data, &tmp)
-       if err != nil {
-               return err
-       }
-       that.Val(tmp)
-       return nil
-}
-
-//UnmarshalJSON Make JSONNode a Unmarshaler Interface compatible
-func (that *JSONNode) UnmarshalJSON(data []byte) error {
-       if len(data) == 0 {
-               return nil
-       }
-       if that.dontExpand && that.t == TypeUndefined {
-               return nil
-       }
-       if that.t == TypeValue {
-               return that.unmarshalValue(data)
-       }
-       if data[0] == '{' {
-               if that.t != TypeMap && that.t != TypeUndefined {
-                       return ErrorTypeUnmarshaling
-               }
-               return that.unmarshalMap(data)
-       }
-       if data[0] == '[' {
-               if that.t != TypeArray && that.t != TypeUndefined {
-                       return ErrorTypeUnmarshaling
-               }
-               return that.unmarshalArray(data)
-
-       }
-       if that.t == TypeUndefined {
-               return that.unmarshalValue(data)
-       }
-       return ErrorTypeUnmarshaling
-}
diff --git a/vendor/github.com/bennyscetbun/jsongo/print.go b/vendor/github.com/bennyscetbun/jsongo/print.go
deleted file mode 100644 (file)
index 6869918..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-package jsongo
-
-import (
-       "fmt"
-       "regexp"
-       "strings"
-)
-
-//Thanks https://github.com/chuckpreslar/inflect for the UpperCamelCase
-
-// Split's a string so that it can be converted to a different casing.
-// Splits on underscores, hyphens, spaces and camel casing.
-func split(str string) []string {
-       // FIXME: This isn't a perfect solution.
-       // ex. WEiRD CaSINg (Support for 13 year old developers)
-       return strings.Split(regexp.MustCompile(`-|_|([a-z])([A-Z])`).ReplaceAllString(strings.Trim(str, `-|_| `), `$1 $2`), ` `)
-}
-
-// UpperCamelCase converts a string to it's upper camel case version.
-func UpperCamelCase(str string) string {
-       pieces := split(str)
-
-       for index, s := range pieces {
-               pieces[index] = fmt.Sprintf(`%v%v`, strings.ToUpper(string(s[0])), strings.ToLower(s[1:]))
-       }
-
-       return strings.Join(pieces, ``)
-}
-
-func (that *JSONNode) printValue(indentlevel int, indentchar string) {
-       fmt.Printf(" %T ", that.Get())
-}
-
-func (that *JSONNode) printMap(indentlevel int, indentchar string) {
-       fmt.Printf(" struct {\n")
-       for key := range that.m {
-               printfindent(indentlevel+1, indentchar, "%s", UpperCamelCase(key))
-               that.m[key].print(indentlevel+1, indentchar)
-               fmt.Printf(" `json:\"%s\"`\n", key)
-       }
-       printfindent(indentlevel, indentchar, "}")
-}
-
-func (that *JSONNode) printArray(indentlevel int, indentchar string) {
-       if len(that.a) == 0 {
-               fmt.Printf(" []interface{} ")
-               return
-       }
-       fmt.Printf(" [] ")
-       for key := range that.a {
-               that.a[key].print(indentlevel+1, indentchar)
-               break
-       }
-}
-
-//DebugProspect Print all the data the we ve got on a node and all it s children
-func (that *JSONNode) print(indentlevel int, indentchar string) {
-       switch that.t {
-       case TypeValue:
-               that.printValue(indentlevel, indentchar)
-       case TypeMap:
-               that.printMap(indentlevel, indentchar)
-       case TypeArray:
-               that.printArray(indentlevel, indentchar)
-       case TypeUndefined:
-               printfindent(indentlevel, indentchar, "Is of Type: TypeUndefined\n")
-       }
-}
-
-//Print Print all the data the we ve got on a node and all it s children as a go struct :) (FOR DEV PURPOSE)
-func (that *JSONNode) Print() {
-       that.print(0, "\t")
-       fmt.Printf("\n")
-}
diff --git a/vendor/github.com/fsnotify/fsnotify/.editorconfig b/vendor/github.com/fsnotify/fsnotify/.editorconfig
deleted file mode 100644 (file)
index ba49e3c..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-root = true
-
-[*]
-indent_style = tab
-indent_size = 4
diff --git a/vendor/github.com/fsnotify/fsnotify/.gitignore b/vendor/github.com/fsnotify/fsnotify/.gitignore
deleted file mode 100644 (file)
index 4cd0cba..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-# Setup a Global .gitignore for OS and editor generated files:
-# https://help.github.com/articles/ignoring-files
-# git config --global core.excludesfile ~/.gitignore_global
-
-.vagrant
-*.sublime-project
diff --git a/vendor/github.com/fsnotify/fsnotify/.travis.yml b/vendor/github.com/fsnotify/fsnotify/.travis.yml
deleted file mode 100644 (file)
index 22e5fa4..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-sudo: false
-language: go
-
-go:
-  - 1.8
-  - 1.7.x
-  - tip
-
-matrix:
-  allow_failures:
-    - go: tip
-  fast_finish: true
-
-before_script:
-  - go get -u github.com/golang/lint/golint
-
-script:
-  - go test -v --race ./...
-
-after_script:
-  - test -z "$(gofmt -s -l -w . | tee /dev/stderr)"
-  - test -z "$(golint ./...     | tee /dev/stderr)"
-  - go vet ./...
-
-os:
-  - linux
-  - osx
-
-notifications:
-  email: false
diff --git a/vendor/github.com/fsnotify/fsnotify/AUTHORS b/vendor/github.com/fsnotify/fsnotify/AUTHORS
deleted file mode 100644 (file)
index 0a5bf8f..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-# Names should be added to this file as
-#      Name or Organization <email address>
-# The email address is not required for organizations.
-
-# You can update this list using the following command:
-#
-#   $ git shortlog -se | awk '{print $2 " " $3 " " $4}'
-
-# Please keep the list sorted.
-
-Adrien Bustany <adrien@bustany.org>
-Amit Krishnan <amit.krishnan@oracle.com>
-Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
-Bruno Bigras <bigras.bruno@gmail.com>
-Caleb Spare <cespare@gmail.com>
-Case Nelson <case@teammating.com>
-Chris Howey <chris@howey.me> <howeyc@gmail.com>
-Christoffer Buchholz <christoffer.buchholz@gmail.com>
-Daniel Wagner-Hall <dawagner@gmail.com>
-Dave Cheney <dave@cheney.net>
-Evan Phoenix <evan@fallingsnow.net>
-Francisco Souza <f@souza.cc>
-Hari haran <hariharan.uno@gmail.com>
-John C Barstow
-Kelvin Fo <vmirage@gmail.com>
-Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>
-Matt Layher <mdlayher@gmail.com>
-Nathan Youngman <git@nathany.com>
-Patrick <patrick@dropbox.com>
-Paul Hammond <paul@paulhammond.org>
-Pawel Knap <pawelknap88@gmail.com>
-Pieter Droogendijk <pieter@binky.org.uk>
-Pursuit92 <JoshChase@techpursuit.net>
-Riku Voipio <riku.voipio@linaro.org>
-Rob Figueiredo <robfig@gmail.com>
-Slawek Ligus <root@ooz.ie>
-Soge Zhang <zhssoge@gmail.com>
-Tiffany Jernigan <tiffany.jernigan@intel.com>
-Tilak Sharma <tilaks@google.com>
-Travis Cline <travis.cline@gmail.com>
-Tudor Golubenco <tudor.g@gmail.com>
-Yukang <moorekang@gmail.com>
-bronze1man <bronze1man@gmail.com>
-debrando <denis.brandolini@gmail.com>
-henrikedwards <henrik.edwards@gmail.com>
-铁哥 <guotie.9@gmail.com>
diff --git a/vendor/github.com/fsnotify/fsnotify/CHANGELOG.md b/vendor/github.com/fsnotify/fsnotify/CHANGELOG.md
deleted file mode 100644 (file)
index 8c732c1..0000000
+++ /dev/null
@@ -1,307 +0,0 @@
-# Changelog
-
-## v1.4.2 / 2016-10-10
-
-* Linux: use InotifyInit1 with IN_CLOEXEC to stop leaking a file descriptor to a child process when using fork/exec [#178](https://github.com/fsnotify/fsnotify/pull/178) (thanks @pattyshack)
-
-## v1.4.1 / 2016-10-04
-
-* Fix flaky inotify stress test on Linux [#177](https://github.com/fsnotify/fsnotify/pull/177) (thanks @pattyshack)
-
-## v1.4.0 / 2016-10-01
-
-* add a String() method to Event.Op [#165](https://github.com/fsnotify/fsnotify/pull/165) (thanks @oozie)
-
-## v1.3.1 / 2016-06-28
-
-* Windows: fix for double backslash when watching the root of a drive [#151](https://github.com/fsnotify/fsnotify/issues/151) (thanks @brunoqc)
-
-## v1.3.0 / 2016-04-19
-
-* Support linux/arm64 by [patching](https://go-review.googlesource.com/#/c/21971/) x/sys/unix and switching to to it from syscall (thanks @suihkulokki) [#135](https://github.com/fsnotify/fsnotify/pull/135)
-
-## v1.2.10 / 2016-03-02
-
-* Fix golint errors in windows.go [#121](https://github.com/fsnotify/fsnotify/pull/121) (thanks @tiffanyfj)
-
-## v1.2.9 / 2016-01-13
-
-kqueue: Fix logic for CREATE after REMOVE [#111](https://github.com/fsnotify/fsnotify/pull/111) (thanks @bep)
-
-## v1.2.8 / 2015-12-17
-
-* kqueue: fix race condition in Close [#105](https://github.com/fsnotify/fsnotify/pull/105) (thanks @djui for reporting the issue and @ppknap for writing a failing test)
-* inotify: fix race in test
-* enable race detection for continuous integration (Linux, Mac, Windows)
-
-## v1.2.5 / 2015-10-17
-
-* inotify: use epoll_create1 for arm64 support (requires Linux 2.6.27 or later) [#100](https://github.com/fsnotify/fsnotify/pull/100) (thanks @suihkulokki)
-* inotify: fix path leaks [#73](https://github.com/fsnotify/fsnotify/pull/73) (thanks @chamaken)
-* kqueue: watch for rename events on subdirectories [#83](https://github.com/fsnotify/fsnotify/pull/83) (thanks @guotie)
-* kqueue: avoid infinite loops from symlinks cycles [#101](https://github.com/fsnotify/fsnotify/pull/101) (thanks @illicitonion)
-
-## v1.2.1 / 2015-10-14
-
-* kqueue: don't watch named pipes [#98](https://github.com/fsnotify/fsnotify/pull/98) (thanks @evanphx)
-
-## v1.2.0 / 2015-02-08
-
-* inotify: use epoll to wake up readEvents [#66](https://github.com/fsnotify/fsnotify/pull/66) (thanks @PieterD)
-* inotify: closing watcher should now always shut down goroutine [#63](https://github.com/fsnotify/fsnotify/pull/63) (thanks @PieterD)
-* kqueue: close kqueue after removing watches, fixes [#59](https://github.com/fsnotify/fsnotify/issues/59)
-
-## v1.1.1 / 2015-02-05
-
-* inotify: Retry read on EINTR [#61](https://github.com/fsnotify/fsnotify/issues/61) (thanks @PieterD)
-
-## v1.1.0 / 2014-12-12
-
-* kqueue: rework internals [#43](https://github.com/fsnotify/fsnotify/pull/43)
-    * add low-level functions
-    * only need to store flags on directories
-    * less mutexes [#13](https://github.com/fsnotify/fsnotify/issues/13)
-    * done can be an unbuffered channel
-    * remove calls to os.NewSyscallError
-* More efficient string concatenation for Event.String() [#52](https://github.com/fsnotify/fsnotify/pull/52) (thanks @mdlayher)
-* kqueue: fix regression in  rework causing subdirectories to be watched [#48](https://github.com/fsnotify/fsnotify/issues/48)
-* kqueue: cleanup internal watch before sending remove event [#51](https://github.com/fsnotify/fsnotify/issues/51)
-
-## v1.0.4 / 2014-09-07
-
-* kqueue: add dragonfly to the build tags.
-* Rename source code files, rearrange code so exported APIs are at the top.
-* Add done channel to example code. [#37](https://github.com/fsnotify/fsnotify/pull/37) (thanks @chenyukang)
-
-## v1.0.3 / 2014-08-19
-
-* [Fix] Windows MOVED_TO now translates to Create like on BSD and Linux. [#36](https://github.com/fsnotify/fsnotify/issues/36)
-
-## v1.0.2 / 2014-08-17
-
-* [Fix] Missing create events on macOS. [#14](https://github.com/fsnotify/fsnotify/issues/14) (thanks @zhsso)
-* [Fix] Make ./path and path equivalent. (thanks @zhsso)
-
-## v1.0.0 / 2014-08-15
-
-* [API] Remove AddWatch on Windows, use Add.
-* Improve documentation for exported identifiers. [#30](https://github.com/fsnotify/fsnotify/issues/30)
-* Minor updates based on feedback from golint.
-
-## dev / 2014-07-09
-
-* Moved to [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify).
-* Use os.NewSyscallError instead of returning errno (thanks @hariharan-uno)
-
-## dev / 2014-07-04
-
-* kqueue: fix incorrect mutex used in Close()
-* Update example to demonstrate usage of Op.
-
-## dev / 2014-06-28
-
-* [API] Don't set the Write Op for attribute notifications [#4](https://github.com/fsnotify/fsnotify/issues/4)
-* Fix for String() method on Event (thanks Alex Brainman)
-* Don't build on Plan 9 or Solaris (thanks @4ad)
-
-## dev / 2014-06-21
-
-* Events channel of type Event rather than *Event.
-* [internal] use syscall constants directly for inotify and kqueue.
-* [internal] kqueue: rename events to kevents and fileEvent to event.
-
-## dev / 2014-06-19
-
-* Go 1.3+ required on Windows (uses syscall.ERROR_MORE_DATA internally).
-* [internal] remove cookie from Event struct (unused).
-* [internal] Event struct has the same definition across every OS.
-* [internal] remove internal watch and removeWatch methods.
-
-## dev / 2014-06-12
-
-* [API] Renamed Watch() to Add() and RemoveWatch() to Remove().
-* [API] Pluralized channel names: Events and Errors.
-* [API] Renamed FileEvent struct to Event.
-* [API] Op constants replace methods like IsCreate().
-
-## dev / 2014-06-12
-
-* Fix data race on kevent buffer (thanks @tilaks) [#98](https://github.com/howeyc/fsnotify/pull/98)
-
-## dev / 2014-05-23
-
-* [API] Remove current implementation of WatchFlags.
-    * current implementation doesn't take advantage of OS for efficiency
-    * provides little benefit over filtering events as they are received, but has  extra bookkeeping and mutexes
-    * no tests for the current implementation
-    * not fully implemented on Windows [#93](https://github.com/howeyc/fsnotify/issues/93#issuecomment-39285195)
-
-## v0.9.3 / 2014-12-31
-
-* kqueue: cleanup internal watch before sending remove event [#51](https://github.com/fsnotify/fsnotify/issues/51)
-
-## v0.9.2 / 2014-08-17
-
-* [Backport] Fix missing create events on macOS. [#14](https://github.com/fsnotify/fsnotify/issues/14) (thanks @zhsso)
-
-## v0.9.1 / 2014-06-12
-
-* Fix data race on kevent buffer (thanks @tilaks) [#98](https://github.com/howeyc/fsnotify/pull/98)
-
-## v0.9.0 / 2014-01-17
-
-* IsAttrib() for events that only concern a file's metadata [#79][] (thanks @abustany)
-* [Fix] kqueue: fix deadlock [#77][] (thanks @cespare)
-* [NOTICE] Development has moved to `code.google.com/p/go.exp/fsnotify` in preparation for inclusion in the Go standard library.
-
-## v0.8.12 / 2013-11-13
-
-* [API] Remove FD_SET and friends from Linux adapter
-
-## v0.8.11 / 2013-11-02
-
-* [Doc] Add Changelog [#72][] (thanks @nathany)
-* [Doc] Spotlight and double modify events on macOS [#62][] (reported by @paulhammond)
-
-## v0.8.10 / 2013-10-19
-
-* [Fix] kqueue: remove file watches when parent directory is removed [#71][] (reported by @mdwhatcott)
-* [Fix] kqueue: race between Close and readEvents [#70][] (reported by @bernerdschaefer)
-* [Doc] specify OS-specific limits in README (thanks @debrando)
-
-## v0.8.9 / 2013-09-08
-
-* [Doc] Contributing (thanks @nathany)
-* [Doc] update package path in example code [#63][] (thanks @paulhammond)
-* [Doc] GoCI badge in README (Linux only) [#60][]
-* [Doc] Cross-platform testing with Vagrant  [#59][] (thanks @nathany)
-
-## v0.8.8 / 2013-06-17
-
-* [Fix] Windows: handle `ERROR_MORE_DATA` on Windows [#49][] (thanks @jbowtie)
-
-## v0.8.7 / 2013-06-03
-
-* [API] Make syscall flags internal
-* [Fix] inotify: ignore event changes
-* [Fix] race in symlink test [#45][] (reported by @srid)
-* [Fix] tests on Windows
-* lower case error messages
-
-## v0.8.6 / 2013-05-23
-
-* kqueue: Use EVT_ONLY flag on Darwin
-* [Doc] Update README with full example
-
-## v0.8.5 / 2013-05-09
-
-* [Fix] inotify: allow monitoring of "broken" symlinks (thanks @tsg)
-
-## v0.8.4 / 2013-04-07
-
-* [Fix] kqueue: watch all file events [#40][] (thanks @ChrisBuchholz)
-
-## v0.8.3 / 2013-03-13
-
-* [Fix] inoitfy/kqueue memory leak [#36][] (reported by @nbkolchin)
-* [Fix] kqueue: use fsnFlags for watching a directory [#33][] (reported by @nbkolchin)
-
-## v0.8.2 / 2013-02-07
-
-* [Doc] add Authors
-* [Fix] fix data races for map access [#29][] (thanks @fsouza)
-
-## v0.8.1 / 2013-01-09
-
-* [Fix] Windows path separators
-* [Doc] BSD License
-
-## v0.8.0 / 2012-11-09
-
-* kqueue: directory watching improvements (thanks @vmirage)
-* inotify: add `IN_MOVED_TO` [#25][] (requested by @cpisto)
-* [Fix] kqueue: deleting watched directory [#24][] (reported by @jakerr)
-
-## v0.7.4 / 2012-10-09
-
-* [Fix] inotify: fixes from https://codereview.appspot.com/5418045/ (ugorji)
-* [Fix] kqueue: preserve watch flags when watching for delete [#21][] (reported by @robfig)
-* [Fix] kqueue: watch the directory even if it isn't a new watch (thanks @robfig)
-* [Fix] kqueue: modify after recreation of file
-
-## v0.7.3 / 2012-09-27
-
-* [Fix] kqueue: watch with an existing folder inside the watched folder (thanks @vmirage)
-* [Fix] kqueue: no longer get duplicate CREATE events
-
-## v0.7.2 / 2012-09-01
-
-* kqueue: events for created directories
-
-## v0.7.1 / 2012-07-14
-
-* [Fix] for renaming files
-
-## v0.7.0 / 2012-07-02
-
-* [Feature] FSNotify flags
-* [Fix] inotify: Added file name back to event path
-
-## v0.6.0 / 2012-06-06
-
-* kqueue: watch files after directory created (thanks @tmc)
-
-## v0.5.1 / 2012-05-22
-
-* [Fix] inotify: remove all watches before Close()
-
-## v0.5.0 / 2012-05-03
-
-* [API] kqueue: return errors during watch instead of sending over channel
-* kqueue: match symlink behavior on Linux
-* inotify: add `DELETE_SELF` (requested by @taralx)
-* [Fix] kqueue: handle EINTR (reported by @robfig)
-* [Doc] Godoc example [#1][] (thanks @davecheney)
-
-## v0.4.0 / 2012-03-30
-
-* Go 1 released: build with go tool
-* [Feature] Windows support using winfsnotify
-* Windows does not have attribute change notifications
-* Roll attribute notifications into IsModify
-
-## v0.3.0 / 2012-02-19
-
-* kqueue: add files when watch directory
-
-## v0.2.0 / 2011-12-30
-
-* update to latest Go weekly code
-
-## v0.1.0 / 2011-10-19
-
-* kqueue: add watch on file creation to match inotify
-* kqueue: create file event
-* inotify: ignore `IN_IGNORED` events
-* event String()
-* linux: common FileEvent functions
-* initial commit
-
-[#79]: https://github.com/howeyc/fsnotify/pull/79
-[#77]: https://github.com/howeyc/fsnotify/pull/77
-[#72]: https://github.com/howeyc/fsnotify/issues/72
-[#71]: https://github.com/howeyc/fsnotify/issues/71
-[#70]: https://github.com/howeyc/fsnotify/issues/70
-[#63]: https://github.com/howeyc/fsnotify/issues/63
-[#62]: https://github.com/howeyc/fsnotify/issues/62
-[#60]: https://github.com/howeyc/fsnotify/issues/60
-[#59]: https://github.com/howeyc/fsnotify/issues/59
-[#49]: https://github.com/howeyc/fsnotify/issues/49
-[#45]: https://github.com/howeyc/fsnotify/issues/45
-[#40]: https://github.com/howeyc/fsnotify/issues/40
-[#36]: https://github.com/howeyc/fsnotify/issues/36
-[#33]: https://github.com/howeyc/fsnotify/issues/33
-[#29]: https://github.com/howeyc/fsnotify/issues/29
-[#25]: https://github.com/howeyc/fsnotify/issues/25
-[#24]: https://github.com/howeyc/fsnotify/issues/24
-[#21]: https://github.com/howeyc/fsnotify/issues/21
diff --git a/vendor/github.com/fsnotify/fsnotify/CONTRIBUTING.md b/vendor/github.com/fsnotify/fsnotify/CONTRIBUTING.md
deleted file mode 100644 (file)
index 828a60b..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-# Contributing
-
-## Issues
-
-* Request features and report bugs using the [GitHub Issue Tracker](https://github.com/fsnotify/fsnotify/issues).
-* Please indicate the platform you are using fsnotify on.
-* A code example to reproduce the problem is appreciated.
-
-## Pull Requests
-
-### Contributor License Agreement
-
-fsnotify is derived from code in the [golang.org/x/exp](https://godoc.org/golang.org/x/exp) package and it may be included [in the standard library](https://github.com/fsnotify/fsnotify/issues/1) in the future. Therefore fsnotify carries the same [LICENSE](https://github.com/fsnotify/fsnotify/blob/master/LICENSE) as Go. Contributors retain their copyright, so you need to fill out a short form before we can accept your contribution: [Google Individual Contributor License Agreement](https://developers.google.com/open-source/cla/individual).
-
-Please indicate that you have signed the CLA in your pull request.
-
-### How fsnotify is Developed
-
-* Development is done on feature branches.
-* Tests are run on BSD, Linux, macOS and Windows.
-* Pull requests are reviewed and [applied to master][am] using [hub][].
-  * Maintainers may modify or squash commits rather than asking contributors to.
-* To issue a new release, the maintainers will:
-  * Update the CHANGELOG
-  * Tag a version, which will become available through gopkg.in.
-### How to Fork
-
-For smooth sailing, always use the original import path. Installing with `go get` makes this easy. 
-
-1. Install from GitHub (`go get -u github.com/fsnotify/fsnotify`)
-2. Create your feature branch (`git checkout -b my-new-feature`)
-3. Ensure everything works and the tests pass (see below)
-4. Commit your changes (`git commit -am 'Add some feature'`)
-
-Contribute upstream:
-
-1. Fork fsnotify on GitHub
-2. Add your remote (`git remote add fork git@github.com:mycompany/repo.git`)
-3. Push to the branch (`git push fork my-new-feature`)
-4. Create a new Pull Request on GitHub
-
-This workflow is [thoroughly explained by Katrina Owen](https://splice.com/blog/contributing-open-source-git-repositories-go/).
-
-### Testing
-
-fsnotify uses build tags to compile different code on Linux, BSD, macOS, and Windows.
-
-Before doing a pull request, please do your best to test your changes on multiple platforms, and list which platforms you were able/unable to test on.
-
-To aid in cross-platform testing there is a Vagrantfile for Linux and BSD.
-
-* Install [Vagrant](http://www.vagrantup.com/) and [VirtualBox](https://www.virtualbox.org/)
-* Setup [Vagrant Gopher](https://github.com/nathany/vagrant-gopher) in your `src` folder.
-* Run `vagrant up` from the project folder. You can also setup just one box with `vagrant up linux` or `vagrant up bsd` (note: the BSD box doesn't support Windows hosts at this time, and NFS may prompt for your host OS password)
-* Once setup, you can run the test suite on a given OS with a single command `vagrant ssh linux -c 'cd fsnotify/fsnotify; go test'`.
-* When you're done, you will want to halt or destroy the Vagrant boxes.
-
-Notice: fsnotify file system events won't trigger in shared folders. The tests get around this limitation by using the /tmp directory.
-
-Right now there is no equivalent solution for Windows and macOS, but there are Windows VMs [freely available from Microsoft](http://www.modern.ie/en-us/virtualization-tools#downloads).
-
-### Maintainers
-
-Help maintaining fsnotify is welcome. To be a maintainer:
-
-* Submit a pull request and sign the CLA as above.
-* You must be able to run the test suite on Mac, Windows, Linux and BSD.
-
-To keep master clean, the fsnotify project uses the "apply mail" workflow outlined in Nathaniel Talbott's post ["Merge pull request" Considered Harmful][am]. This requires installing [hub][].
-
-All code changes should be internal pull requests.
-
-Releases are tagged using [Semantic Versioning](http://semver.org/).
-
-[hub]: https://github.com/github/hub
-[am]: http://blog.spreedly.com/2014/06/24/merge-pull-request-considered-harmful/#.VGa5yZPF_Zs
diff --git a/vendor/github.com/fsnotify/fsnotify/LICENSE b/vendor/github.com/fsnotify/fsnotify/LICENSE
deleted file mode 100644 (file)
index f21e540..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-Copyright (c) 2012 The Go Authors. All rights reserved.
-Copyright (c) 2012 fsnotify Authors. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
-   * Redistributions of source code must retain the above copyright
-notice, this list of conditions and the following disclaimer.
-   * Redistributions in binary form must reproduce the above
-copyright notice, this list of conditions and the following disclaimer
-in the documentation and/or other materials provided with the
-distribution.
-   * Neither the name of Google Inc. nor the names of its
-contributors may be used to endorse or promote products derived from
-this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/vendor/github.com/fsnotify/fsnotify/README.md b/vendor/github.com/fsnotify/fsnotify/README.md
deleted file mode 100644 (file)
index 3993207..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-# File system notifications for Go
-
-[![GoDoc](https://godoc.org/github.com/fsnotify/fsnotify?status.svg)](https://godoc.org/github.com/fsnotify/fsnotify) [![Go Report Card](https://goreportcard.com/badge/github.com/fsnotify/fsnotify)](https://goreportcard.com/report/github.com/fsnotify/fsnotify)
-
-fsnotify utilizes [golang.org/x/sys](https://godoc.org/golang.org/x/sys) rather than `syscall` from the standard library. Ensure you have the latest version installed by running:
-
-```console
-go get -u golang.org/x/sys/...
-```
-
-Cross platform: Windows, Linux, BSD and macOS.
-
-|Adapter   |OS        |Status    |
-|----------|----------|----------|
-|inotify   |Linux 2.6.27 or later, Android\*|Supported [![Build Status](https://travis-ci.org/fsnotify/fsnotify.svg?branch=master)](https://travis-ci.org/fsnotify/fsnotify)|
-|kqueue    |BSD, macOS, iOS\*|Supported [![Build Status](https://travis-ci.org/fsnotify/fsnotify.svg?branch=master)](https://travis-ci.org/fsnotify/fsnotify)|
-|ReadDirectoryChangesW|Windows|Supported [![Build status](https://ci.appveyor.com/api/projects/status/ivwjubaih4r0udeh/branch/master?svg=true)](https://ci.appveyor.com/project/NathanYoungman/fsnotify/branch/master)|
-|FSEvents  |macOS         |[Planned](https://github.com/fsnotify/fsnotify/issues/11)|
-|FEN       |Solaris 11    |[In Progress](https://github.com/fsnotify/fsnotify/issues/12)|
-|fanotify  |Linux 2.6.37+ | |
-|USN Journals |Windows    |[Maybe](https://github.com/fsnotify/fsnotify/issues/53)|
-|Polling   |*All*         |[Maybe](https://github.com/fsnotify/fsnotify/issues/9)|
-
-\* Android and iOS are untested.
-
-Please see [the documentation](https://godoc.org/github.com/fsnotify/fsnotify) and consult the [FAQ](#faq) for usage information.
-
-## API stability
-
-fsnotify is a fork of [howeyc/fsnotify](https://godoc.org/github.com/howeyc/fsnotify) with a new API as of v1.0. The API is based on [this design document](http://goo.gl/MrYxyA). 
-
-All [releases](https://github.com/fsnotify/fsnotify/releases) are tagged based on [Semantic Versioning](http://semver.org/). Further API changes are [planned](https://github.com/fsnotify/fsnotify/milestones), and will be tagged with a new major revision number.
-
-Go 1.6 supports dependencies located in the `vendor/` folder. Unless you are creating a library, it is recommended that you copy fsnotify into `vendor/github.com/fsnotify/fsnotify` within your project, and likewise for `golang.org/x/sys`.
-
-## Contributing
-
-Please refer to [CONTRIBUTING][] before opening an issue or pull request.
-
-## Example
-
-See [example_test.go](https://github.com/fsnotify/fsnotify/blob/master/example_test.go).
-
-## FAQ
-
-**When a file is moved to another directory is it still being watched?**
-
-No (it shouldn't be, unless you are watching where it was moved to).
-
-**When I watch a directory, are all subdirectories watched as well?**
-
-No, you must add watches for any directory you want to watch (a recursive watcher is on the roadmap [#18][]).
-
-**Do I have to watch the Error and Event channels in a separate goroutine?**
-
-As of now, yes. Looking into making this single-thread friendly (see [howeyc #7][#7])
-
-**Why am I receiving multiple events for the same file on OS X?**
-
-Spotlight indexing on OS X can result in multiple events (see [howeyc #62][#62]). A temporary workaround is to add your folder(s) to the *Spotlight Privacy settings* until we have a native FSEvents implementation (see [#11][]).
-
-**How many files can be watched at once?**
-
-There are OS-specific limits as to how many watches can be created:
-* Linux: /proc/sys/fs/inotify/max_user_watches contains the limit, reaching this limit results in a "no space left on device" error.
-* BSD / OSX: sysctl variables "kern.maxfiles" and "kern.maxfilesperproc", reaching these limits results in a "too many open files" error.
-
-[#62]: https://github.com/howeyc/fsnotify/issues/62
-[#18]: https://github.com/fsnotify/fsnotify/issues/18
-[#11]: https://github.com/fsnotify/fsnotify/issues/11
-[#7]: https://github.com/howeyc/fsnotify/issues/7
-
-[contributing]: https://github.com/fsnotify/fsnotify/blob/master/CONTRIBUTING.md
-
-## Related Projects
-
-* [notify](https://github.com/rjeczalik/notify)
-* [fsevents](https://github.com/fsnotify/fsevents)
-
diff --git a/vendor/github.com/fsnotify/fsnotify/fen.go b/vendor/github.com/fsnotify/fsnotify/fen.go
deleted file mode 100644 (file)
index ced39cb..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2010 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build solaris
-
-package fsnotify
-
-import (
-       "errors"
-)
-
-// Watcher watches a set of files, delivering events to a channel.
-type Watcher struct {
-       Events chan Event
-       Errors chan error
-}
-
-// NewWatcher establishes a new watcher with the underlying OS and begins waiting for events.
-func NewWatcher() (*Watcher, error) {
-       return nil, errors.New("FEN based watcher not yet supported for fsnotify\n")
-}
-
-// Close removes all watches and closes the events channel.
-func (w *Watcher) Close() error {
-       return nil
-}
-
-// Add starts watching the named file or directory (non-recursively).
-func (w *Watcher) Add(name string) error {
-       return nil
-}
-
-// Remove stops watching the the named file or directory (non-recursively).
-func (w *Watcher) Remove(name string) error {
-       return nil
-}
diff --git a/vendor/github.com/fsnotify/fsnotify/fsnotify.go b/vendor/github.com/fsnotify/fsnotify/fsnotify.go
deleted file mode 100644 (file)
index 190bf0d..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-// Copyright 2012 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !plan9
-
-// Package fsnotify provides a platform-independent interface for file system notifications.
-package fsnotify
-
-import (
-       "bytes"
-       "errors"
-       "fmt"
-)
-
-// Event represents a single file system notification.
-type Event struct {
-       Name string // Relative path to the file or directory.
-       Op   Op     // File operation that triggered the event.
-}
-
-// Op describes a set of file operations.
-type Op uint32
-
-// These are the generalized file operations that can trigger a notification.
-const (
-       Create Op = 1 << iota
-       Write
-       Remove
-       Rename
-       Chmod
-)
-
-func (op Op) String() string {
-       // Use a buffer for efficient string concatenation
-       var buffer bytes.Buffer
-
-       if op&Create == Create {
-               buffer.WriteString("|CREATE")
-       }
-       if op&Remove == Remove {
-               buffer.WriteString("|REMOVE")
-       }
-       if op&Write == Write {
-               buffer.WriteString("|WRITE")
-       }
-       if op&Rename == Rename {
-               buffer.WriteString("|RENAME")
-       }
-       if op&Chmod == Chmod {
-               buffer.WriteString("|CHMOD")
-       }
-       if buffer.Len() == 0 {
-               return ""
-       }
-       return buffer.String()[1:] // Strip leading pipe
-}
-
-// String returns a string representation of the event in the form
-// "file: REMOVE|WRITE|..."
-func (e Event) String() string {
-       return fmt.Sprintf("%q: %s", e.Name, e.Op.String())
-}
-
-// Common errors that can be reported by a watcher
-var ErrEventOverflow = errors.New("fsnotify queue overflow")
diff --git a/vendor/github.com/fsnotify/fsnotify/inotify.go b/vendor/github.com/fsnotify/fsnotify/inotify.go
deleted file mode 100644 (file)
index d9fd1b8..0000000
+++ /dev/null
@@ -1,337 +0,0 @@
-// Copyright 2010 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build linux
-
-package fsnotify
-
-import (
-       "errors"
-       "fmt"
-       "io"
-       "os"
-       "path/filepath"
-       "strings"
-       "sync"
-       "unsafe"
-
-       "golang.org/x/sys/unix"
-)
-
-// Watcher watches a set of files, delivering events to a channel.
-type Watcher struct {
-       Events   chan Event
-       Errors   chan error
-       mu       sync.Mutex // Map access
-       fd       int
-       poller   *fdPoller
-       watches  map[string]*watch // Map of inotify watches (key: path)
-       paths    map[int]string    // Map of watched paths (key: watch descriptor)
-       done     chan struct{}     // Channel for sending a "quit message" to the reader goroutine
-       doneResp chan struct{}     // Channel to respond to Close
-}
-
-// NewWatcher establishes a new watcher with the underlying OS and begins waiting for events.
-func NewWatcher() (*Watcher, error) {
-       // Create inotify fd
-       fd, errno := unix.InotifyInit1(unix.IN_CLOEXEC)
-       if fd == -1 {
-               return nil, errno
-       }
-       // Create epoll
-       poller, err := newFdPoller(fd)
-       if err != nil {
-               unix.Close(fd)
-               return nil, err
-       }
-       w := &Watcher{
-               fd:       fd,
-               poller:   poller,
-               watches:  make(map[string]*watch),
-               paths:    make(map[int]string),
-               Events:   make(chan Event),
-               Errors:   make(chan error),
-               done:     make(chan struct{}),
-               doneResp: make(chan struct{}),
-       }
-
-       go w.readEvents()
-       return w, nil
-}
-
-func (w *Watcher) isClosed() bool {
-       select {
-       case <-w.done:
-               return true
-       default:
-               return false
-       }
-}
-
-// Close removes all watches and closes the events channel.
-func (w *Watcher) Close() error {
-       if w.isClosed() {
-               return nil
-       }
-
-       // Send 'close' signal to goroutine, and set the Watcher to closed.
-       close(w.done)
-
-       // Wake up goroutine
-       w.poller.wake()
-
-       // Wait for goroutine to close
-       <-w.doneResp
-
-       return nil
-}
-
-// Add starts watching the named file or directory (non-recursively).
-func (w *Watcher) Add(name string) error {
-       name = filepath.Clean(name)
-       if w.isClosed() {
-               return errors.New("inotify instance already closed")
-       }
-
-       const agnosticEvents = unix.IN_MOVED_TO | unix.IN_MOVED_FROM |
-               unix.IN_CREATE | unix.IN_ATTRIB | unix.IN_MODIFY |
-               unix.IN_MOVE_SELF | unix.IN_DELETE | unix.IN_DELETE_SELF
-
-       var flags uint32 = agnosticEvents
-
-       w.mu.Lock()
-       defer w.mu.Unlock()
-       watchEntry := w.watches[name]
-       if watchEntry != nil {
-               flags |= watchEntry.flags | unix.IN_MASK_ADD
-       }
-       wd, errno := unix.InotifyAddWatch(w.fd, name, flags)
-       if wd == -1 {
-               return errno
-       }
-
-       if watchEntry == nil {
-               w.watches[name] = &watch{wd: uint32(wd), flags: flags}
-               w.paths[wd] = name
-       } else {
-               watchEntry.wd = uint32(wd)
-               watchEntry.flags = flags
-       }
-
-       return nil
-}
-
-// Remove stops watching the named file or directory (non-recursively).
-func (w *Watcher) Remove(name string) error {
-       name = filepath.Clean(name)
-
-       // Fetch the watch.
-       w.mu.Lock()
-       defer w.mu.Unlock()
-       watch, ok := w.watches[name]
-
-       // Remove it from inotify.
-       if !ok {
-               return fmt.Errorf("can't remove non-existent inotify watch for: %s", name)
-       }
-
-       // We successfully removed the watch if InotifyRmWatch doesn't return an
-       // error, we need to clean up our internal state to ensure it matches
-       // inotify's kernel state.
-       delete(w.paths, int(watch.wd))
-       delete(w.watches, name)
-
-       // inotify_rm_watch will return EINVAL if the file has been deleted;
-       // the inotify will already have been removed.
-       // watches and pathes are deleted in ignoreLinux() implicitly and asynchronously
-       // by calling inotify_rm_watch() below. e.g. readEvents() goroutine receives IN_IGNORE
-       // so that EINVAL means that the wd is being rm_watch()ed or its file removed
-       // by another thread and we have not received IN_IGNORE event.
-       success, errno := unix.InotifyRmWatch(w.fd, watch.wd)
-       if success == -1 {
-               // TODO: Perhaps it's not helpful to return an error here in every case.
-               // the only two possible errors are:
-               // EBADF, which happens when w.fd is not a valid file descriptor of any kind.
-               // EINVAL, which is when fd is not an inotify descriptor or wd is not a valid watch descriptor.
-               // Watch descriptors are invalidated when they are removed explicitly or implicitly;
-               // explicitly by inotify_rm_watch, implicitly when the file they are watching is deleted.
-               return errno
-       }
-
-       return nil
-}
-
-type watch struct {
-       wd    uint32 // Watch descriptor (as returned by the inotify_add_watch() syscall)
-       flags uint32 // inotify flags of this watch (see inotify(7) for the list of valid flags)
-}
-
-// readEvents reads from the inotify file descriptor, converts the
-// received events into Event objects and sends them via the Events channel
-func (w *Watcher) readEvents() {
-       var (
-               buf   [unix.SizeofInotifyEvent * 4096]byte // Buffer for a maximum of 4096 raw events
-               n     int                                  // Number of bytes read with read()
-               errno error                                // Syscall errno
-               ok    bool                                 // For poller.wait
-       )
-
-       defer close(w.doneResp)
-       defer close(w.Errors)
-       defer close(w.Events)
-       defer unix.Close(w.fd)
-       defer w.poller.close()
-
-       for {
-               // See if we have been closed.
-               if w.isClosed() {
-                       return
-               }
-
-               ok, errno = w.poller.wait()
-               if errno != nil {
-                       select {
-                       case w.Errors <- errno:
-                       case <-w.done:
-                               return
-                       }
-                       continue
-               }
-
-               if !ok {
-                       continue
-               }
-
-               n, errno = unix.Read(w.fd, buf[:])
-               // If a signal interrupted execution, see if we've been asked to close, and try again.
-               // http://man7.org/linux/man-pages/man7/signal.7.html :
-               // "Before Linux 3.8, reads from an inotify(7) file descriptor were not restartable"
-               if errno == unix.EINTR {
-                       continue
-               }
-
-               // unix.Read might have been woken up by Close. If so, we're done.
-               if w.isClosed() {
-                       return
-               }
-
-               if n < unix.SizeofInotifyEvent {
-                       var err error
-                       if n == 0 {
-                               // If EOF is received. This should really never happen.
-                               err = io.EOF
-                       } else if n < 0 {
-                               // If an error occurred while reading.
-                               err = errno
-                       } else {
-                               // Read was too short.
-                               err = errors.New("notify: short read in readEvents()")
-                       }
-                       select {
-                       case w.Errors <- err:
-                       case <-w.done:
-                               return
-                       }
-                       continue
-               }
-
-               var offset uint32
-               // We don't know how many events we just read into the buffer
-               // While the offset points to at least one whole event...
-               for offset <= uint32(n-unix.SizeofInotifyEvent) {
-                       // Point "raw" to the event in the buffer
-                       raw := (*unix.InotifyEvent)(unsafe.Pointer(&buf[offset]))
-
-                       mask := uint32(raw.Mask)
-                       nameLen := uint32(raw.Len)
-
-                       if mask&unix.IN_Q_OVERFLOW != 0 {
-                               select {
-                               case w.Errors <- ErrEventOverflow:
-                               case <-w.done:
-                                       return
-                               }
-                       }
-
-                       // If the event happened to the watched directory or the watched file, the kernel
-                       // doesn't append the filename to the event, but we would like to always fill the
-                       // the "Name" field with a valid filename. We retrieve the path of the watch from
-                       // the "paths" map.
-                       w.mu.Lock()
-                       name, ok := w.paths[int(raw.Wd)]
-                       // IN_DELETE_SELF occurs when the file/directory being watched is removed.
-                       // This is a sign to clean up the maps, otherwise we are no longer in sync
-                       // with the inotify kernel state which has already deleted the watch
-                       // automatically.
-                       if ok && mask&unix.IN_DELETE_SELF == unix.IN_DELETE_SELF {
-                               delete(w.paths, int(raw.Wd))
-                               delete(w.watches, name)
-                       }
-                       w.mu.Unlock()
-
-                       if nameLen > 0 {
-                               // Point "bytes" at the first byte of the filename
-                               bytes := (*[unix.PathMax]byte)(unsafe.Pointer(&buf[offset+unix.SizeofInotifyEvent]))
-                               // The filename is padded with NULL bytes. TrimRight() gets rid of those.
-                               name += "/" + strings.TrimRight(string(bytes[0:nameLen]), "\000")
-                       }
-
-                       event := newEvent(name, mask)
-
-                       // Send the events that are not ignored on the events channel
-                       if !event.ignoreLinux(mask) {
-                               select {
-                               case w.Events <- event:
-                               case <-w.done:
-                                       return
-                               }
-                       }
-
-                       // Move to the next event in the buffer
-                       offset += unix.SizeofInotifyEvent + nameLen
-               }
-       }
-}
-
-// Certain types of events can be "ignored" and not sent over the Events
-// channel. Such as events marked ignore by the kernel, or MODIFY events
-// against files that do not exist.
-func (e *Event) ignoreLinux(mask uint32) bool {
-       // Ignore anything the inotify API says to ignore
-       if mask&unix.IN_IGNORED == unix.IN_IGNORED {
-               return true
-       }
-
-       // If the event is not a DELETE or RENAME, the file must exist.
-       // Otherwise the event is ignored.
-       // *Note*: this was put in place because it was seen that a MODIFY
-       // event was sent after the DELETE. This ignores that MODIFY and
-       // assumes a DELETE will come or has come if the file doesn't exist.
-       if !(e.Op&Remove == Remove || e.Op&Rename == Rename) {
-               _, statErr := os.Lstat(e.Name)
-               return os.IsNotExist(statErr)
-       }
-       return false
-}
-
-// newEvent returns an platform-independent Event based on an inotify mask.
-func newEvent(name string, mask uint32) Event {
-       e := Event{Name: name}
-       if mask&unix.IN_CREATE == unix.IN_CREATE || mask&unix.IN_MOVED_TO == unix.IN_MOVED_TO {
-               e.Op |= Create
-       }
-       if mask&unix.IN_DELETE_SELF == unix.IN_DELETE_SELF || mask&unix.IN_DELETE == unix.IN_DELETE {
-               e.Op |= Remove
-       }
-       if mask&unix.IN_MODIFY == unix.IN_MODIFY {
-               e.Op |= Write
-       }
-       if mask&unix.IN_MOVE_SELF == unix.IN_MOVE_SELF || mask&unix.IN_MOVED_FROM == unix.IN_MOVED_FROM {
-               e.Op |= Rename
-       }
-       if mask&unix.IN_ATTRIB == unix.IN_ATTRIB {
-               e.Op |= Chmod
-       }
-       return e
-}
diff --git a/vendor/github.com/fsnotify/fsnotify/inotify_poller.go b/vendor/github.com/fsnotify/fsnotify/inotify_poller.go
deleted file mode 100644 (file)
index cc7db4b..0000000
+++ /dev/null
@@ -1,187 +0,0 @@
-// Copyright 2015 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build linux
-
-package fsnotify
-
-import (
-       "errors"
-
-       "golang.org/x/sys/unix"
-)
-
-type fdPoller struct {
-       fd   int    // File descriptor (as returned by the inotify_init() syscall)
-       epfd int    // Epoll file descriptor
-       pipe [2]int // Pipe for waking up
-}
-
-func emptyPoller(fd int) *fdPoller {
-       poller := new(fdPoller)
-       poller.fd = fd
-       poller.epfd = -1
-       poller.pipe[0] = -1
-       poller.pipe[1] = -1
-       return poller
-}
-
-// Create a new inotify poller.
-// This creates an inotify handler, and an epoll handler.
-func newFdPoller(fd int) (*fdPoller, error) {
-       var errno error
-       poller := emptyPoller(fd)
-       defer func() {
-               if errno != nil {
-                       poller.close()
-               }
-       }()
-       poller.fd = fd
-
-       // Create epoll fd
-       poller.epfd, errno = unix.EpollCreate1(0)
-       if poller.epfd == -1 {
-               return nil, errno
-       }
-       // Create pipe; pipe[0] is the read end, pipe[1] the write end.
-       errno = unix.Pipe2(poller.pipe[:], unix.O_NONBLOCK)
-       if errno != nil {
-               return nil, errno
-       }
-
-       // Register inotify fd with epoll
-       event := unix.EpollEvent{
-               Fd:     int32(poller.fd),
-               Events: unix.EPOLLIN,
-       }
-       errno = unix.EpollCtl(poller.epfd, unix.EPOLL_CTL_ADD, poller.fd, &event)
-       if errno != nil {
-               return nil, errno
-       }
-
-       // Register pipe fd with epoll
-       event = unix.EpollEvent{
-               Fd:     int32(poller.pipe[0]),
-               Events: unix.EPOLLIN,
-       }
-       errno = unix.EpollCtl(poller.epfd, unix.EPOLL_CTL_ADD, poller.pipe[0], &event)
-       if errno != nil {
-               return nil, errno
-       }
-
-       return poller, nil
-}
-
-// Wait using epoll.
-// Returns true if something is ready to be read,
-// false if there is not.
-func (poller *fdPoller) wait() (bool, error) {
-       // 3 possible events per fd, and 2 fds, makes a maximum of 6 events.
-       // I don't know whether epoll_wait returns the number of events returned,
-       // or the total number of events ready.
-       // I decided to catch both by making the buffer one larger than the maximum.
-       events := make([]unix.EpollEvent, 7)
-       for {
-               n, errno := unix.EpollWait(poller.epfd, events, -1)
-               if n == -1 {
-                       if errno == unix.EINTR {
-                               continue
-                       }
-                       return false, errno
-               }
-               if n == 0 {
-                       // If there are no events, try again.
-                       continue
-               }
-               if n > 6 {
-                       // This should never happen. More events were returned than should be possible.
-                       return false, errors.New("epoll_wait returned more events than I know what to do with")
-               }
-               ready := events[:n]
-               epollhup := false
-               epollerr := false
-               epollin := false
-               for _, event := range ready {
-                       if event.Fd == int32(poller.fd) {
-                               if event.Events&unix.EPOLLHUP != 0 {
-                                       // This should not happen, but if it does, treat it as a wakeup.
-                                       epollhup = true
-                               }
-                               if event.Events&unix.EPOLLERR != 0 {
-                                       // If an error is waiting on the file descriptor, we should pretend
-                                       // something is ready to read, and let unix.Read pick up the error.
-                                       epollerr = true
-                               }
-                               if event.Events&unix.EPOLLIN != 0 {
-                                       // There is data to read.
-                                       epollin = true
-                               }
-                       }
-                       if event.Fd == int32(poller.pipe[0]) {
-                               if event.Events&unix.EPOLLHUP != 0 {
-                                       // Write pipe descriptor was closed, by us. This means we're closing down the
-                                       // watcher, and we should wake up.
-                               }
-                               if event.Events&unix.EPOLLERR != 0 {
-                                       // If an error is waiting on the pipe file descriptor.
-                                       // This is an absolute mystery, and should never ever happen.
-                                       return false, errors.New("Error on the pipe descriptor.")
-                               }
-                               if event.Events&unix.EPOLLIN != 0 {
-                                       // This is a regular wakeup, so we have to clear the buffer.
-                                       err := poller.clearWake()
-                                       if err != nil {
-                                               return false, err
-                                       }
-                               }
-                       }
-               }
-
-               if epollhup || epollerr || epollin {
-                       return true, nil
-               }
-               return false, nil
-       }
-}
-
-// Close the write end of the poller.
-func (poller *fdPoller) wake() error {
-       buf := make([]byte, 1)
-       n, errno := unix.Write(poller.pipe[1], buf)
-       if n == -1 {
-               if errno == unix.EAGAIN {
-                       // Buffer is full, poller will wake.
-                       return nil
-               }
-               return errno
-       }
-       return nil
-}
-
-func (poller *fdPoller) clearWake() error {
-       // You have to be woken up a LOT in order to get to 100!
-       buf := make([]byte, 100)
-       n, errno := unix.Read(poller.pipe[0], buf)
-       if n == -1 {
-               if errno == unix.EAGAIN {
-                       // Buffer is empty, someone else cleared our wake.
-                       return nil
-               }
-               return errno
-       }
-       return nil
-}
-
-// Close all poller file descriptors, but not the one passed to it.
-func (poller *fdPoller) close() {
-       if poller.pipe[1] != -1 {
-               unix.Close(poller.pipe[1])
-       }
-       if poller.pipe[0] != -1 {
-               unix.Close(poller.pipe[0])
-       }
-       if poller.epfd != -1 {
-               unix.Close(poller.epfd)
-       }
-}
diff --git a/vendor/github.com/fsnotify/fsnotify/kqueue.go b/vendor/github.com/fsnotify/fsnotify/kqueue.go
deleted file mode 100644 (file)
index c2b4acb..0000000
+++ /dev/null
@@ -1,503 +0,0 @@
-// Copyright 2010 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build freebsd openbsd netbsd dragonfly darwin
-
-package fsnotify
-
-import (
-       "errors"
-       "fmt"
-       "io/ioutil"
-       "os"
-       "path/filepath"
-       "sync"
-       "time"
-
-       "golang.org/x/sys/unix"
-)
-
-// Watcher watches a set of files, delivering events to a channel.
-type Watcher struct {
-       Events chan Event
-       Errors chan error
-       done   chan bool // Channel for sending a "quit message" to the reader goroutine
-
-       kq int // File descriptor (as returned by the kqueue() syscall).
-
-       mu              sync.Mutex        // Protects access to watcher data
-       watches         map[string]int    // Map of watched file descriptors (key: path).
-       externalWatches map[string]bool   // Map of watches added by user of the library.
-       dirFlags        map[string]uint32 // Map of watched directories to fflags used in kqueue.
-       paths           map[int]pathInfo  // Map file descriptors to path names for processing kqueue events.
-       fileExists      map[string]bool   // Keep track of if we know this file exists (to stop duplicate create events).
-       isClosed        bool              // Set to true when Close() is first called
-}
-
-type pathInfo struct {
-       name  string
-       isDir bool
-}
-
-// NewWatcher establishes a new watcher with the underlying OS and begins waiting for events.
-func NewWatcher() (*Watcher, error) {
-       kq, err := kqueue()
-       if err != nil {
-               return nil, err
-       }
-
-       w := &Watcher{
-               kq:              kq,
-               watches:         make(map[string]int),
-               dirFlags:        make(map[string]uint32),
-               paths:           make(map[int]pathInfo),
-               fileExists:      make(map[string]bool),
-               externalWatches: make(map[string]bool),
-               Events:          make(chan Event),
-               Errors:          make(chan error),
-               done:            make(chan bool),
-       }
-
-       go w.readEvents()
-       return w, nil
-}
-
-// Close removes all watches and closes the events channel.
-func (w *Watcher) Close() error {
-       w.mu.Lock()
-       if w.isClosed {
-               w.mu.Unlock()
-               return nil
-       }
-       w.isClosed = true
-       w.mu.Unlock()
-
-       // copy paths to remove while locked
-       w.mu.Lock()
-       var pathsToRemove = make([]string, 0, len(w.watches))
-       for name := range w.watches {
-               pathsToRemove = append(pathsToRemove, name)
-       }
-       w.mu.Unlock()
-       // unlock before calling Remove, which also locks
-
-       var err error
-       for _, name := range pathsToRemove {
-               if e := w.Remove(name); e != nil && err == nil {
-                       err = e
-               }
-       }
-
-       // Send "quit" message to the reader goroutine:
-       w.done <- true
-
-       return nil
-}
-
-// Add starts watching the named file or directory (non-recursively).
-func (w *Watcher) Add(name string) error {
-       w.mu.Lock()
-       w.externalWatches[name] = true
-       w.mu.Unlock()
-       _, err := w.addWatch(name, noteAllEvents)
-       return err
-}
-
-// Remove stops watching the the named file or directory (non-recursively).
-func (w *Watcher) Remove(name string) error {
-       name = filepath.Clean(name)
-       w.mu.Lock()
-       watchfd, ok := w.watches[name]
-       w.mu.Unlock()
-       if !ok {
-               return fmt.Errorf("can't remove non-existent kevent watch for: %s", name)
-       }
-
-       const registerRemove = unix.EV_DELETE
-       if err := register(w.kq, []int{watchfd}, registerRemove, 0); err != nil {
-               return err
-       }
-
-       unix.Close(watchfd)
-
-       w.mu.Lock()
-       isDir := w.paths[watchfd].isDir
-       delete(w.watches, name)
-       delete(w.paths, watchfd)
-       delete(w.dirFlags, name)
-       w.mu.Unlock()
-
-       // Find all watched paths that are in this directory that are not external.
-       if isDir {
-               var pathsToRemove []string
-               w.mu.Lock()
-               for _, path := range w.paths {
-                       wdir, _ := filepath.Split(path.name)
-                       if filepath.Clean(wdir) == name {
-                               if !w.externalWatches[path.name] {
-                                       pathsToRemove = append(pathsToRemove, path.name)
-                               }
-                       }
-               }
-               w.mu.Unlock()
-               for _, name := range pathsToRemove {
-                       // Since these are internal, not much sense in propagating error
-                       // to the user, as that will just confuse them with an error about
-                       // a path they did not explicitly watch themselves.
-                       w.Remove(name)
-               }
-       }
-
-       return nil
-}
-
-// Watch all events (except NOTE_EXTEND, NOTE_LINK, NOTE_REVOKE)
-const noteAllEvents = unix.NOTE_DELETE | unix.NOTE_WRITE | unix.NOTE_ATTRIB | unix.NOTE_RENAME
-
-// keventWaitTime to block on each read from kevent
-var keventWaitTime = durationToTimespec(100 * time.Millisecond)
-
-// addWatch adds name to the watched file set.
-// The flags are interpreted as described in kevent(2).
-// Returns the real path to the file which was added, if any, which may be different from the one passed in the case of symlinks.
-func (w *Watcher) addWatch(name string, flags uint32) (string, error) {
-       var isDir bool
-       // Make ./name and name equivalent
-       name = filepath.Clean(name)
-
-       w.mu.Lock()
-       if w.isClosed {
-               w.mu.Unlock()
-               return "", errors.New("kevent instance already closed")
-       }
-       watchfd, alreadyWatching := w.watches[name]
-       // We already have a watch, but we can still override flags.
-       if alreadyWatching {
-               isDir = w.paths[watchfd].isDir
-       }
-       w.mu.Unlock()
-
-       if !alreadyWatching {
-               fi, err := os.Lstat(name)
-               if err != nil {
-                       return "", err
-               }
-
-               // Don't watch sockets.
-               if fi.Mode()&os.ModeSocket == os.ModeSocket {
-                       return "", nil
-               }
-
-               // Don't watch named pipes.
-               if fi.Mode()&os.ModeNamedPipe == os.ModeNamedPipe {
-                       return "", nil
-               }
-
-               // Follow Symlinks
-               // Unfortunately, Linux can add bogus symlinks to watch list without
-               // issue, and Windows can't do symlinks period (AFAIK). To  maintain
-               // consistency, we will act like everything is fine. There will simply
-               // be no file events for broken symlinks.
-               // Hence the returns of nil on errors.
-               if fi.Mode()&os.ModeSymlink == os.ModeSymlink {
-                       name, err = filepath.EvalSymlinks(name)
-                       if err != nil {
-                               return "", nil
-                       }
-
-                       w.mu.Lock()
-                       _, alreadyWatching = w.watches[name]
-                       w.mu.Unlock()
-
-                       if alreadyWatching {
-                               return name, nil
-                       }
-
-                       fi, err = os.Lstat(name)
-                       if err != nil {
-                               return "", nil
-                       }
-               }
-
-               watchfd, err = unix.Open(name, openMode, 0700)
-               if watchfd == -1 {
-                       return "", err
-               }
-
-               isDir = fi.IsDir()
-       }
-
-       const registerAdd = unix.EV_ADD | unix.EV_CLEAR | unix.EV_ENABLE
-       if err := register(w.kq, []int{watchfd}, registerAdd, flags); err != nil {
-               unix.Close(watchfd)
-               return "", err
-       }
-
-       if !alreadyWatching {
-               w.mu.Lock()
-               w.watches[name] = watchfd
-               w.paths[watchfd] = pathInfo{name: name, isDir: isDir}
-               w.mu.Unlock()
-       }
-
-       if isDir {
-               // Watch the directory if it has not been watched before,
-               // or if it was watched before, but perhaps only a NOTE_DELETE (watchDirectoryFiles)
-               w.mu.Lock()
-
-               watchDir := (flags&unix.NOTE_WRITE) == unix.NOTE_WRITE &&
-                       (!alreadyWatching || (w.dirFlags[name]&unix.NOTE_WRITE) != unix.NOTE_WRITE)
-               // Store flags so this watch can be updated later
-               w.dirFlags[name] = flags
-               w.mu.Unlock()
-
-               if watchDir {
-                       if err := w.watchDirectoryFiles(name); err != nil {
-                               return "", err
-                       }
-               }
-       }
-       return name, nil
-}
-
-// readEvents reads from kqueue and converts the received kevents into
-// Event values that it sends down the Events channel.
-func (w *Watcher) readEvents() {
-       eventBuffer := make([]unix.Kevent_t, 10)
-
-       for {
-               // See if there is a message on the "done" channel
-               select {
-               case <-w.done:
-                       err := unix.Close(w.kq)
-                       if err != nil {
-                               w.Errors <- err
-                       }
-                       close(w.Events)
-                       close(w.Errors)
-                       return
-               default:
-               }
-
-               // Get new events
-               kevents, err := read(w.kq, eventBuffer, &keventWaitTime)
-               // EINTR is okay, the syscall was interrupted before timeout expired.
-               if err != nil && err != unix.EINTR {
-                       w.Errors <- err
-                       continue
-               }
-
-               // Flush the events we received to the Events channel
-               for len(kevents) > 0 {
-                       kevent := &kevents[0]
-                       watchfd := int(kevent.Ident)
-                       mask := uint32(kevent.Fflags)
-                       w.mu.Lock()
-                       path := w.paths[watchfd]
-                       w.mu.Unlock()
-                       event := newEvent(path.name, mask)
-
-                       if path.isDir && !(event.Op&Remove == Remove) {
-                               // Double check to make sure the directory exists. This can happen when
-                               // we do a rm -fr on a recursively watched folders and we receive a
-                               // modification event first but the folder has been deleted and later
-                               // receive the delete event
-                               if _, err := os.Lstat(event.Name); os.IsNotExist(err) {
-                                       // mark is as delete event
-                                       event.Op |= Remove
-                               }
-                       }
-
-                       if event.Op&Rename == Rename || event.Op&Remove == Remove {
-                               w.Remove(event.Name)
-                               w.mu.Lock()
-                               delete(w.fileExists, event.Name)
-                               w.mu.Unlock()
-                       }
-
-                       if path.isDir && event.Op&Write == Write && !(event.Op&Remove == Remove) {
-                               w.sendDirectoryChangeEvents(event.Name)
-                       } else {
-                               // Send the event on the Events channel
-                               w.Events <- event
-                       }
-
-                       if event.Op&Remove == Remove {
-                               // Look for a file that may have overwritten this.
-                               // For example, mv f1 f2 will delete f2, then create f2.
-                               if path.isDir {
-                                       fileDir := filepath.Clean(event.Name)
-                                       w.mu.Lock()
-                                       _, found := w.watches[fileDir]
-                                       w.mu.Unlock()
-                                       if found {
-                                               // make sure the directory exists before we watch for changes. When we
-                                               // do a recursive watch and perform rm -fr, the parent directory might
-                                               // have gone missing, ignore the missing directory and let the
-                                               // upcoming delete event remove the watch from the parent directory.
-                                               if _, err := os.Lstat(fileDir); err == nil {
-                                                       w.sendDirectoryChangeEvents(fileDir)
-                                               }
-                                       }
-                               } else {
-                                       filePath := filepath.Clean(event.Name)
-                                       if fileInfo, err := os.Lstat(filePath); err == nil {
-                                               w.sendFileCreatedEventIfNew(filePath, fileInfo)
-                                       }
-                               }
-                       }
-
-                       // Move to next event
-                       kevents = kevents[1:]
-               }
-       }
-}
-
-// newEvent returns an platform-independent Event based on kqueue Fflags.
-func newEvent(name string, mask uint32) Event {
-       e := Event{Name: name}
-       if mask&unix.NOTE_DELETE == unix.NOTE_DELETE {
-               e.Op |= Remove
-       }
-       if mask&unix.NOTE_WRITE == unix.NOTE_WRITE {
-               e.Op |= Write
-       }
-       if mask&unix.NOTE_RENAME == unix.NOTE_RENAME {
-               e.Op |= Rename
-       }
-       if mask&unix.NOTE_ATTRIB == unix.NOTE_ATTRIB {
-               e.Op |= Chmod
-       }
-       return e
-}
-
-func newCreateEvent(name string) Event {
-       return Event{Name: name, Op: Create}
-}
-
-// watchDirectoryFiles to mimic inotify when adding a watch on a directory
-func (w *Watcher) watchDirectoryFiles(dirPath string) error {
-       // Get all files
-       files, err := ioutil.ReadDir(dirPath)
-       if err != nil {
-               return err
-       }
-
-       for _, fileInfo := range files {
-               filePath := filepath.Join(dirPath, fileInfo.Name())
-               filePath, err = w.internalWatch(filePath, fileInfo)
-               if err != nil {
-                       return err
-               }
-
-               w.mu.Lock()
-               w.fileExists[filePath] = true
-               w.mu.Unlock()
-       }
-
-       return nil
-}
-
-// sendDirectoryEvents searches the directory for newly created files
-// and sends them over the event channel. This functionality is to have
-// the BSD version of fsnotify match Linux inotify which provides a
-// create event for files created in a watched directory.
-func (w *Watcher) sendDirectoryChangeEvents(dirPath string) {
-       // Get all files
-       files, err := ioutil.ReadDir(dirPath)
-       if err != nil {
-               w.Errors <- err
-       }
-
-       // Search for new files
-       for _, fileInfo := range files {
-               filePath := filepath.Join(dirPath, fileInfo.Name())
-               err := w.sendFileCreatedEventIfNew(filePath, fileInfo)
-
-               if err != nil {
-                       return
-               }
-       }
-}
-
-// sendFileCreatedEvent sends a create event if the file isn't already being tracked.
-func (w *Watcher) sendFileCreatedEventIfNew(filePath string, fileInfo os.FileInfo) (err error) {
-       w.mu.Lock()
-       _, doesExist := w.fileExists[filePath]
-       w.mu.Unlock()
-       if !doesExist {
-               // Send create event
-               w.Events <- newCreateEvent(filePath)
-       }
-
-       // like watchDirectoryFiles (but without doing another ReadDir)
-       filePath, err = w.internalWatch(filePath, fileInfo)
-       if err != nil {
-               return err
-       }
-
-       w.mu.Lock()
-       w.fileExists[filePath] = true
-       w.mu.Unlock()
-
-       return nil
-}
-
-func (w *Watcher) internalWatch(name string, fileInfo os.FileInfo) (string, error) {
-       if fileInfo.IsDir() {
-               // mimic Linux providing delete events for subdirectories
-               // but preserve the flags used if currently watching subdirectory
-               w.mu.Lock()
-               flags := w.dirFlags[name]
-               w.mu.Unlock()
-
-               flags |= unix.NOTE_DELETE | unix.NOTE_RENAME
-               return w.addWatch(name, flags)
-       }
-
-       // watch file to mimic Linux inotify
-       return w.addWatch(name, noteAllEvents)
-}
-
-// kqueue creates a new kernel event queue and returns a descriptor.
-func kqueue() (kq int, err error) {
-       kq, err = unix.Kqueue()
-       if kq == -1 {
-               return kq, err
-       }
-       return kq, nil
-}
-
-// register events with the queue
-func register(kq int, fds []int, flags int, fflags uint32) error {
-       changes := make([]unix.Kevent_t, len(fds))
-
-       for i, fd := range fds {
-               // SetKevent converts int to the platform-specific types:
-               unix.SetKevent(&changes[i], fd, unix.EVFILT_VNODE, flags)
-               changes[i].Fflags = fflags
-       }
-
-       // register the events
-       success, err := unix.Kevent(kq, changes, nil, nil)
-       if success == -1 {
-               return err
-       }
-       return nil
-}
-
-// read retrieves pending events, or waits until an event occurs.
-// A timeout of nil blocks indefinitely, while 0 polls the queue.
-func read(kq int, events []unix.Kevent_t, timeout *unix.Timespec) ([]unix.Kevent_t, error) {
-       n, err := unix.Kevent(kq, nil, events, timeout)
-       if err != nil {
-               return nil, err
-       }
-       return events[0:n], nil
-}
-
-// durationToTimespec prepares a timeout value
-func durationToTimespec(d time.Duration) unix.Timespec {
-       return unix.NsecToTimespec(d.Nanoseconds())
-}
diff --git a/vendor/github.com/fsnotify/fsnotify/open_mode_bsd.go b/vendor/github.com/fsnotify/fsnotify/open_mode_bsd.go
deleted file mode 100644 (file)
index 7d8de14..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-// Copyright 2013 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build freebsd openbsd netbsd dragonfly
-
-package fsnotify
-
-import "golang.org/x/sys/unix"
-
-const openMode = unix.O_NONBLOCK | unix.O_RDONLY
diff --git a/vendor/github.com/fsnotify/fsnotify/open_mode_darwin.go b/vendor/github.com/fsnotify/fsnotify/open_mode_darwin.go
deleted file mode 100644 (file)
index 9139e17..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-// Copyright 2013 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build darwin
-
-package fsnotify
-
-import "golang.org/x/sys/unix"
-
-// note: this constant is not defined on BSD
-const openMode = unix.O_EVTONLY
diff --git a/vendor/github.com/fsnotify/fsnotify/windows.go b/vendor/github.com/fsnotify/fsnotify/windows.go
deleted file mode 100644 (file)
index 09436f3..0000000
+++ /dev/null
@@ -1,561 +0,0 @@
-// Copyright 2011 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build windows
-
-package fsnotify
-
-import (
-       "errors"
-       "fmt"
-       "os"
-       "path/filepath"
-       "runtime"
-       "sync"
-       "syscall"
-       "unsafe"
-)
-
-// Watcher watches a set of files, delivering events to a channel.
-type Watcher struct {
-       Events   chan Event
-       Errors   chan error
-       isClosed bool           // Set to true when Close() is first called
-       mu       sync.Mutex     // Map access
-       port     syscall.Handle // Handle to completion port
-       watches  watchMap       // Map of watches (key: i-number)
-       input    chan *input    // Inputs to the reader are sent on this channel
-       quit     chan chan<- error
-}
-
-// NewWatcher establishes a new watcher with the underlying OS and begins waiting for events.
-func NewWatcher() (*Watcher, error) {
-       port, e := syscall.CreateIoCompletionPort(syscall.InvalidHandle, 0, 0, 0)
-       if e != nil {
-               return nil, os.NewSyscallError("CreateIoCompletionPort", e)
-       }
-       w := &Watcher{
-               port:    port,
-               watches: make(watchMap),
-               input:   make(chan *input, 1),
-               Events:  make(chan Event, 50),
-               Errors:  make(chan error),
-               quit:    make(chan chan<- error, 1),
-       }
-       go w.readEvents()
-       return w, nil
-}
-
-// Close removes all watches and closes the events channel.
-func (w *Watcher) Close() error {
-       if w.isClosed {
-               return nil
-       }
-       w.isClosed = true
-
-       // Send "quit" message to the reader goroutine
-       ch := make(chan error)
-       w.quit <- ch
-       if err := w.wakeupReader(); err != nil {
-               return err
-       }
-       return <-ch
-}
-
-// Add starts watching the named file or directory (non-recursively).
-func (w *Watcher) Add(name string) error {
-       if w.isClosed {
-               return errors.New("watcher already closed")
-       }
-       in := &input{
-               op:    opAddWatch,
-               path:  filepath.Clean(name),
-               flags: sysFSALLEVENTS,
-               reply: make(chan error),
-       }
-       w.input <- in
-       if err := w.wakeupReader(); err != nil {
-               return err
-       }
-       return <-in.reply
-}
-
-// Remove stops watching the the named file or directory (non-recursively).
-func (w *Watcher) Remove(name string) error {
-       in := &input{
-               op:    opRemoveWatch,
-               path:  filepath.Clean(name),
-               reply: make(chan error),
-       }
-       w.input <- in
-       if err := w.wakeupReader(); err != nil {
-               return err
-       }
-       return <-in.reply
-}
-
-const (
-       // Options for AddWatch
-       sysFSONESHOT = 0x80000000
-       sysFSONLYDIR = 0x1000000
-
-       // Events
-       sysFSACCESS     = 0x1
-       sysFSALLEVENTS  = 0xfff
-       sysFSATTRIB     = 0x4
-       sysFSCLOSE      = 0x18
-       sysFSCREATE     = 0x100
-       sysFSDELETE     = 0x200
-       sysFSDELETESELF = 0x400
-       sysFSMODIFY     = 0x2
-       sysFSMOVE       = 0xc0
-       sysFSMOVEDFROM  = 0x40
-       sysFSMOVEDTO    = 0x80
-       sysFSMOVESELF   = 0x800
-
-       // Special events
-       sysFSIGNORED   = 0x8000
-       sysFSQOVERFLOW = 0x4000
-)
-
-func newEvent(name string, mask uint32) Event {
-       e := Event{Name: name}
-       if mask&sysFSCREATE == sysFSCREATE || mask&sysFSMOVEDTO == sysFSMOVEDTO {
-               e.Op |= Create
-       }
-       if mask&sysFSDELETE == sysFSDELETE || mask&sysFSDELETESELF == sysFSDELETESELF {
-               e.Op |= Remove
-       }
-       if mask&sysFSMODIFY == sysFSMODIFY {
-               e.Op |= Write
-       }
-       if mask&sysFSMOVE == sysFSMOVE || mask&sysFSMOVESELF == sysFSMOVESELF || mask&sysFSMOVEDFROM == sysFSMOVEDFROM {
-               e.Op |= Rename
-       }
-       if mask&sysFSATTRIB == sysFSATTRIB {
-               e.Op |= Chmod
-       }
-       return e
-}
-
-const (
-       opAddWatch = iota
-       opRemoveWatch
-)
-
-const (
-       provisional uint64 = 1 << (32 + iota)
-)
-
-type input struct {
-       op    int
-       path  string
-       flags uint32
-       reply chan error
-}
-
-type inode struct {
-       handle syscall.Handle
-       volume uint32
-       index  uint64
-}
-
-type watch struct {
-       ov     syscall.Overlapped
-       ino    *inode            // i-number
-       path   string            // Directory path
-       mask   uint64            // Directory itself is being watched with these notify flags
-       names  map[string]uint64 // Map of names being watched and their notify flags
-       rename string            // Remembers the old name while renaming a file
-       buf    [4096]byte
-}
-
-type indexMap map[uint64]*watch
-type watchMap map[uint32]indexMap
-
-func (w *Watcher) wakeupReader() error {
-       e := syscall.PostQueuedCompletionStatus(w.port, 0, 0, nil)
-       if e != nil {
-               return os.NewSyscallError("PostQueuedCompletionStatus", e)
-       }
-       return nil
-}
-
-func getDir(pathname string) (dir string, err error) {
-       attr, e := syscall.GetFileAttributes(syscall.StringToUTF16Ptr(pathname))
-       if e != nil {
-               return "", os.NewSyscallError("GetFileAttributes", e)
-       }
-       if attr&syscall.FILE_ATTRIBUTE_DIRECTORY != 0 {
-               dir = pathname
-       } else {
-               dir, _ = filepath.Split(pathname)
-               dir = filepath.Clean(dir)
-       }
-       return
-}
-
-func getIno(path string) (ino *inode, err error) {
-       h, e := syscall.CreateFile(syscall.StringToUTF16Ptr(path),
-               syscall.FILE_LIST_DIRECTORY,
-               syscall.FILE_SHARE_READ|syscall.FILE_SHARE_WRITE|syscall.FILE_SHARE_DELETE,
-               nil, syscall.OPEN_EXISTING,
-               syscall.FILE_FLAG_BACKUP_SEMANTICS|syscall.FILE_FLAG_OVERLAPPED, 0)
-       if e != nil {
-               return nil, os.NewSyscallError("CreateFile", e)
-       }
-       var fi syscall.ByHandleFileInformation
-       if e = syscall.GetFileInformationByHandle(h, &fi); e != nil {
-               syscall.CloseHandle(h)
-               return nil, os.NewSyscallError("GetFileInformationByHandle", e)
-       }
-       ino = &inode{
-               handle: h,
-               volume: fi.VolumeSerialNumber,
-               index:  uint64(fi.FileIndexHigh)<<32 | uint64(fi.FileIndexLow),
-       }
-       return ino, nil
-}
-
-// Must run within the I/O thread.
-func (m watchMap) get(ino *inode) *watch {
-       if i := m[ino.volume]; i != nil {
-               return i[ino.index]
-       }
-       return nil
-}
-
-// Must run within the I/O thread.
-func (m watchMap) set(ino *inode, watch *watch) {
-       i := m[ino.volume]
-       if i == nil {
-               i = make(indexMap)
-               m[ino.volume] = i
-       }
-       i[ino.index] = watch
-}
-
-// Must run within the I/O thread.
-func (w *Watcher) addWatch(pathname string, flags uint64) error {
-       dir, err := getDir(pathname)
-       if err != nil {
-               return err
-       }
-       if flags&sysFSONLYDIR != 0 && pathname != dir {
-               return nil
-       }
-       ino, err := getIno(dir)
-       if err != nil {
-               return err
-       }
-       w.mu.Lock()
-       watchEntry := w.watches.get(ino)
-       w.mu.Unlock()
-       if watchEntry == nil {
-               if _, e := syscall.CreateIoCompletionPort(ino.handle, w.port, 0, 0); e != nil {
-                       syscall.CloseHandle(ino.handle)
-                       return os.NewSyscallError("CreateIoCompletionPort", e)
-               }
-               watchEntry = &watch{
-                       ino:   ino,
-                       path:  dir,
-                       names: make(map[string]uint64),
-               }
-               w.mu.Lock()
-               w.watches.set(ino, watchEntry)
-               w.mu.Unlock()
-               flags |= provisional
-       } else {
-               syscall.CloseHandle(ino.handle)
-       }
-       if pathname == dir {
-               watchEntry.mask |= flags
-       } else {
-               watchEntry.names[filepath.Base(pathname)] |= flags
-       }
-       if err = w.startRead(watchEntry); err != nil {
-               return err
-       }
-       if pathname == dir {
-               watchEntry.mask &= ^provisional
-       } else {
-               watchEntry.names[filepath.Base(pathname)] &= ^provisional
-       }
-       return nil
-}
-
-// Must run within the I/O thread.
-func (w *Watcher) remWatch(pathname string) error {
-       dir, err := getDir(pathname)
-       if err != nil {
-               return err
-       }
-       ino, err := getIno(dir)
-       if err != nil {
-               return err
-       }
-       w.mu.Lock()
-       watch := w.watches.get(ino)
-       w.mu.Unlock()
-       if watch == nil {
-               return fmt.Errorf("can't remove non-existent watch for: %s", pathname)
-       }
-       if pathname == dir {
-               w.sendEvent(watch.path, watch.mask&sysFSIGNORED)
-               watch.mask = 0
-       } else {
-               name := filepath.Base(pathname)
-               w.sendEvent(filepath.Join(watch.path, name), watch.names[name]&sysFSIGNORED)
-               delete(watch.names, name)
-       }
-       return w.startRead(watch)
-}
-
-// Must run within the I/O thread.
-func (w *Watcher) deleteWatch(watch *watch) {
-       for name, mask := range watch.names {
-               if mask&provisional == 0 {
-                       w.sendEvent(filepath.Join(watch.path, name), mask&sysFSIGNORED)
-               }
-               delete(watch.names, name)
-       }
-       if watch.mask != 0 {
-               if watch.mask&provisional == 0 {
-                       w.sendEvent(watch.path, watch.mask&sysFSIGNORED)
-               }
-               watch.mask = 0
-       }
-}
-
-// Must run within the I/O thread.
-func (w *Watcher) startRead(watch *watch) error {
-       if e := syscall.CancelIo(watch.ino.handle); e != nil {
-               w.Errors <- os.NewSyscallError("CancelIo", e)
-               w.deleteWatch(watch)
-       }
-       mask := toWindowsFlags(watch.mask)
-       for _, m := range watch.names {
-               mask |= toWindowsFlags(m)
-       }
-       if mask == 0 {
-               if e := syscall.CloseHandle(watch.ino.handle); e != nil {
-                       w.Errors <- os.NewSyscallError("CloseHandle", e)
-               }
-               w.mu.Lock()
-               delete(w.watches[watch.ino.volume], watch.ino.index)
-               w.mu.Unlock()
-               return nil
-       }
-       e := syscall.ReadDirectoryChanges(watch.ino.handle, &watch.buf[0],
-               uint32(unsafe.Sizeof(watch.buf)), false, mask, nil, &watch.ov, 0)
-       if e != nil {
-               err := os.NewSyscallError("ReadDirectoryChanges", e)
-               if e == syscall.ERROR_ACCESS_DENIED && watch.mask&provisional == 0 {
-                       // Watched directory was probably removed
-                       if w.sendEvent(watch.path, watch.mask&sysFSDELETESELF) {
-                               if watch.mask&sysFSONESHOT != 0 {
-                                       watch.mask = 0
-                               }
-                       }
-                       err = nil
-               }
-               w.deleteWatch(watch)
-               w.startRead(watch)
-               return err
-       }
-       return nil
-}
-
-// readEvents reads from the I/O completion port, converts the
-// received events into Event objects and sends them via the Events channel.
-// Entry point to the I/O thread.
-func (w *Watcher) readEvents() {
-       var (
-               n, key uint32
-               ov     *syscall.Overlapped
-       )
-       runtime.LockOSThread()
-
-       for {
-               e := syscall.GetQueuedCompletionStatus(w.port, &n, &key, &ov, syscall.INFINITE)
-               watch := (*watch)(unsafe.Pointer(ov))
-
-               if watch == nil {
-                       select {
-                       case ch := <-w.quit:
-                               w.mu.Lock()
-                               var indexes []indexMap
-                               for _, index := range w.watches {
-                                       indexes = append(indexes, index)
-                               }
-                               w.mu.Unlock()
-                               for _, index := range indexes {
-                                       for _, watch := range index {
-                                               w.deleteWatch(watch)
-                                               w.startRead(watch)
-                                       }
-                               }
-                               var err error
-                               if e := syscall.CloseHandle(w.port); e != nil {
-                                       err = os.NewSyscallError("CloseHandle", e)
-                               }
-                               close(w.Events)
-                               close(w.Errors)
-                               ch <- err
-                               return
-                       case in := <-w.input:
-                               switch in.op {
-                               case opAddWatch:
-                                       in.reply <- w.addWatch(in.path, uint64(in.flags))
-                               case opRemoveWatch:
-                                       in.reply <- w.remWatch(in.path)
-                               }
-                       default:
-                       }
-                       continue
-               }
-
-               switch e {
-               case syscall.ERROR_MORE_DATA:
-                       if watch == nil {
-                               w.Errors <- errors.New("ERROR_MORE_DATA has unexpectedly null lpOverlapped buffer")
-                       } else {
-                               // The i/o succeeded but the buffer is full.
-                               // In theory we should be building up a full packet.
-                               // In practice we can get away with just carrying on.
-                               n = uint32(unsafe.Sizeof(watch.buf))
-                       }
-               case syscall.ERROR_ACCESS_DENIED:
-                       // Watched directory was probably removed
-                       w.sendEvent(watch.path, watch.mask&sysFSDELETESELF)
-                       w.deleteWatch(watch)
-                       w.startRead(watch)
-                       continue
-               case syscall.ERROR_OPERATION_ABORTED:
-                       // CancelIo was called on this handle
-                       continue
-               default:
-                       w.Errors <- os.NewSyscallError("GetQueuedCompletionPort", e)
-                       continue
-               case nil:
-               }
-
-               var offset uint32
-               for {
-                       if n == 0 {
-                               w.Events <- newEvent("", sysFSQOVERFLOW)
-                               w.Errors <- errors.New("short read in readEvents()")
-                               break
-                       }
-
-                       // Point "raw" to the event in the buffer
-                       raw := (*syscall.FileNotifyInformation)(unsafe.Pointer(&watch.buf[offset]))
-                       buf := (*[syscall.MAX_PATH]uint16)(unsafe.Pointer(&raw.FileName))
-                       name := syscall.UTF16ToString(buf[:raw.FileNameLength/2])
-                       fullname := filepath.Join(watch.path, name)
-
-                       var mask uint64
-                       switch raw.Action {
-                       case syscall.FILE_ACTION_REMOVED:
-                               mask = sysFSDELETESELF
-                       case syscall.FILE_ACTION_MODIFIED:
-                               mask = sysFSMODIFY
-                       case syscall.FILE_ACTION_RENAMED_OLD_NAME:
-                               watch.rename = name
-                       case syscall.FILE_ACTION_RENAMED_NEW_NAME:
-                               if watch.names[watch.rename] != 0 {
-                                       watch.names[name] |= watch.names[watch.rename]
-                                       delete(watch.names, watch.rename)
-                                       mask = sysFSMOVESELF
-                               }
-                       }
-
-                       sendNameEvent := func() {
-                               if w.sendEvent(fullname, watch.names[name]&mask) {
-                                       if watch.names[name]&sysFSONESHOT != 0 {
-                                               delete(watch.names, name)
-                                       }
-                               }
-                       }
-                       if raw.Action != syscall.FILE_ACTION_RENAMED_NEW_NAME {
-                               sendNameEvent()
-                       }
-                       if raw.Action == syscall.FILE_ACTION_REMOVED {
-                               w.sendEvent(fullname, watch.names[name]&sysFSIGNORED)
-                               delete(watch.names, name)
-                       }
-                       if w.sendEvent(fullname, watch.mask&toFSnotifyFlags(raw.Action)) {
-                               if watch.mask&sysFSONESHOT != 0 {
-                                       watch.mask = 0
-                               }
-                       }
-                       if raw.Action == syscall.FILE_ACTION_RENAMED_NEW_NAME {
-                               fullname = filepath.Join(watch.path, watch.rename)
-                               sendNameEvent()
-                       }
-
-                       // Move to the next event in the buffer
-                       if raw.NextEntryOffset == 0 {
-                               break
-                       }
-                       offset += raw.NextEntryOffset
-
-                       // Error!
-                       if offset >= n {
-                               w.Errors <- errors.New("Windows system assumed buffer larger than it is, events have likely been missed.")
-                               break
-                       }
-               }
-
-               if err := w.startRead(watch); err != nil {
-                       w.Errors <- err
-               }
-       }
-}
-
-func (w *Watcher) sendEvent(name string, mask uint64) bool {
-       if mask == 0 {
-               return false
-       }
-       event := newEvent(name, uint32(mask))
-       select {
-       case ch := <-w.quit:
-               w.quit <- ch
-       case w.Events <- event:
-       }
-       return true
-}
-
-func toWindowsFlags(mask uint64) uint32 {
-       var m uint32
-       if mask&sysFSACCESS != 0 {
-               m |= syscall.FILE_NOTIFY_CHANGE_LAST_ACCESS
-       }
-       if mask&sysFSMODIFY != 0 {
-               m |= syscall.FILE_NOTIFY_CHANGE_LAST_WRITE
-       }
-       if mask&sysFSATTRIB != 0 {
-               m |= syscall.FILE_NOTIFY_CHANGE_ATTRIBUTES
-       }
-       if mask&(sysFSMOVE|sysFSCREATE|sysFSDELETE) != 0 {
-               m |= syscall.FILE_NOTIFY_CHANGE_FILE_NAME | syscall.FILE_NOTIFY_CHANGE_DIR_NAME
-       }
-       return m
-}
-
-func toFSnotifyFlags(action uint32) uint64 {
-       switch action {
-       case syscall.FILE_ACTION_ADDED:
-               return sysFSCREATE
-       case syscall.FILE_ACTION_REMOVED:
-               return sysFSDELETE
-       case syscall.FILE_ACTION_MODIFIED:
-               return sysFSMODIFY
-       case syscall.FILE_ACTION_RENAMED_OLD_NAME:
-               return sysFSMOVEDFROM
-       case syscall.FILE_ACTION_RENAMED_NEW_NAME:
-               return sysFSMOVEDTO
-       }
-       return 0
-}
diff --git a/vendor/github.com/ftrvxmtrx/fd/LICENSE.MIT b/vendor/github.com/ftrvxmtrx/fd/LICENSE.MIT
deleted file mode 100644 (file)
index 136e69e..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-Copyright © 2012 Serge Zirukin
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/vendor/github.com/ftrvxmtrx/fd/README.md b/vendor/github.com/ftrvxmtrx/fd/README.md
deleted file mode 100644 (file)
index 7a8a239..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-# fd
-
-Package fd provides a simple API to pass file descriptors
-between different OS processes.
-
-It can be useful if you want to inherit network connections
-from another process without closing them.
-
-Example scenario:
-
- * Running server receives a "let's upgrade" message
- * Server opens a Unix domain socket for the "upgrade"
- * Server starts a new copy of itself and passes Unix domain
-   socket name
- * New copy starts reading data from the socket
- * Server sends its state over the socket, also sending the number
-   of network connections to inherit, then it sends those connections
-   using fd.Put()
- * New server copy reads the state and inherits connections using fd.Get(),
-   checks that everything is OK and writes an "OK" message to the socket
- * Server receives "OK" message and kills itself
-
-## Documentation
-
-[fd on godoc.org](http://godoc.org/github.com/ftrvxmtrx/fd)
diff --git a/vendor/github.com/ftrvxmtrx/fd/fd.go b/vendor/github.com/ftrvxmtrx/fd/fd.go
deleted file mode 100644 (file)
index a5a4d48..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-// Package fd provides a simple API to pass file descriptors
-// between different OS processes.
-//
-// It can be useful if you want to inherit network connections
-// from another process without closing them.
-//
-// Example scenario:
-//
-//   1) Running server receives a "let's upgrade" message
-//   2) Server opens a Unix domain socket for the "upgrade"
-//   3) Server starts a new copy of itself and passes Unix domain socket name
-//   4) New copy starts reading for the socket
-//   5) Server sends its state over the socket, also sending the number
-//      of network connections to inherit, then it sends those connections
-//      using fd.Put()
-//   6) New copy reads the state and inherits connections using fd.Get(),
-//      checks that everything is OK and sends the "OK" message to the socket
-//   7) Server receives "OK" message and kills itself
-package fd
-
-import (
-       "net"
-       "os"
-       "syscall"
-)
-
-// Get receives file descriptors from a Unix domain socket.
-//
-// Num specifies the expected number of file descriptors in one message.
-// Internal files' names to be assigned are specified via optional filenames
-// argument.
-//
-// You need to close all files in the returned slice. The slice can be
-// non-empty even if this function returns an error.
-//
-// Use net.FileConn() if you're receiving a network connection.
-func Get(via *net.UnixConn, num int, filenames []string) ([]*os.File, error) {
-       if num < 1 {
-               return nil, nil
-       }
-
-       // get the underlying socket
-       viaf, err := via.File()
-       if err != nil {
-               return nil, err
-       }
-       socket := int(viaf.Fd())
-       defer viaf.Close()
-
-       // recvmsg
-       buf := make([]byte, syscall.CmsgSpace(num*4))
-       _, _, _, _, err = syscall.Recvmsg(socket, nil, buf, 0)
-       if err != nil {
-               return nil, err
-       }
-
-       // parse control msgs
-       var msgs []syscall.SocketControlMessage
-       msgs, err = syscall.ParseSocketControlMessage(buf)
-
-       // convert fds to files
-       res := make([]*os.File, 0, len(msgs))
-       for i := 0; i < len(msgs) && err == nil; i++ {
-               var fds []int
-               fds, err = syscall.ParseUnixRights(&msgs[i])
-
-               for fi, fd := range fds {
-                       var filename string
-                       if fi < len(filenames) {
-                               filename = filenames[fi]
-                       }
-
-                       res = append(res, os.NewFile(uintptr(fd), filename))
-               }
-       }
-
-       return res, err
-}
-
-// Put sends file descriptors to Unix domain socket.
-//
-// Please note that the number of descriptors in one message is limited
-// and is rather small.
-// Use conn.File() to get a file if you want to put a network connection.
-func Put(via *net.UnixConn, files ...*os.File) error {
-       if len(files) == 0 {
-               return nil
-       }
-
-       viaf, err := via.File()
-       if err != nil {
-               return err
-       }
-       socket := int(viaf.Fd())
-       defer viaf.Close()
-
-       fds := make([]int, len(files))
-       for i := range files {
-               fds[i] = int(files[i].Fd())
-       }
-
-       rights := syscall.UnixRights(fds...)
-       return syscall.Sendmsg(socket, nil, rights, nil, 0)
-}
diff --git a/vendor/github.com/google/gopacket/.gitignore b/vendor/github.com/google/gopacket/.gitignore
deleted file mode 100644 (file)
index 149266f..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-# Compiled Object files, Static and Dynamic libs (Shared Objects)
-*.o
-*.a
-*.so
-
-# Folders
-_obj
-_test
-
-# Architecture specific extensions/prefixes
-*.[568vq]
-[568vq].out
-
-*.cgo1.go
-*.cgo2.c
-_cgo_defun.c
-_cgo_gotypes.go
-_cgo_export.*
-
-_testmain.go
-
-*.exe
-#*
-*~
-
-# examples binaries
-examples/synscan/synscan
-examples/pfdump/pfdump
-examples/pcapdump/pcapdump
-examples/httpassembly/httpassembly
-examples/statsassembly/statsassembly
-examples/arpscan/arpscan
-examples/bidirectional/bidirectional
-examples/bytediff/bytediff
-examples/reassemblydump/reassemblydump
-layers/gen
-macs/gen
-pcap/pcap_tester
diff --git a/vendor/github.com/google/gopacket/.travis.gofmt.sh b/vendor/github.com/google/gopacket/.travis.gofmt.sh
deleted file mode 100755 (executable)
index e341a1c..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-cd "$(dirname $0)"
-if [ -n "$(go fmt ./...)" ]; then
-  echo "Go code is not formatted, run 'go fmt github.com/google/stenographer/...'" >&2
-  exit 1
-fi
diff --git a/vendor/github.com/google/gopacket/.travis.golint.sh b/vendor/github.com/google/gopacket/.travis.golint.sh
deleted file mode 100755 (executable)
index ed74c65..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-
-cd "$(dirname $0)"
-
-go get github.com/golang/lint/golint
-DIRS=". tcpassembly tcpassembly/tcpreader ip4defrag reassembly macs pcapgo pcap afpacket pfring routing"
-# Add subdirectories here as we clean up golint on each.
-for subdir in $DIRS; do
-  pushd $subdir
-  if golint |
-      grep -v CannotSetRFMon |  # pcap exported error name
-      grep -v DataLost |        # tcpassembly/tcpreader exported error name
-      grep .; then
-    exit 1
-  fi
-  popd
-done
-
-pushd layers
-for file in $(cat .linted); do
-  if golint $file | grep .; then
-    exit 1
-  fi
-done
-popd
diff --git a/vendor/github.com/google/gopacket/.travis.govet.sh b/vendor/github.com/google/gopacket/.travis.govet.sh
deleted file mode 100755 (executable)
index 52ad084..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-
-cd "$(dirname $0)"
-DIRS=". layers pcap pcapgo pfring tcpassembly tcpassembly/tcpreader routing ip4defrag bytediff macs"
-set -e
-for subdir in $DIRS; do
-  pushd $subdir
-  go vet
-  popd
-done
diff --git a/vendor/github.com/google/gopacket/.travis.yml b/vendor/github.com/google/gopacket/.travis.yml
deleted file mode 100644 (file)
index 7d73126..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-language: go
-install:
- - go get github.com/google/gopacket
- - go get github.com/google/gopacket/layers
- - go get github.com/google/gopacket/tcpassembly
- - go get github.com/google/gopacket/reassembly
-script:
- - go test github.com/google/gopacket
- - go test github.com/google/gopacket/layers
- - go test github.com/google/gopacket/tcpassembly
- - go test github.com/google/gopacket/reassembly
- - ./.travis.gofmt.sh
- - ./.travis.govet.sh
- - ./.travis.golint.sh
diff --git a/vendor/github.com/google/gopacket/AUTHORS b/vendor/github.com/google/gopacket/AUTHORS
deleted file mode 100644 (file)
index eba34f0..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-AUTHORS AND MAINTAINERS:
-
-MAIN DEVELOPERS:
-Graeme Connell   <gconnell@google.com, gsconnell@gmail.com>
-
-AUTHORS:
-Nigel Tao <nigeltao@google.com>
-Cole Mickens <cole.mickens@gmail.com>
-Ben Daglish <bdaglish@restorepoint.com>
-Luis Martinez <martinezlc99@gmail.com>
-Remco Verhoef <remco@dutchcoders.io>
-Hiroaki Kawai <Hiroaki.Kawai@gmail.com>
-Lukas Lueg <lukas.lueg@gmail.com>
-Laurent Hausermann <laurent.hausermann@gmail.com>
-Bill Green <bgreen@newrelic.com>
-
-CONTRIBUTORS:
-Attila Oláh <attila@attilaolah.eu>
-Vittus Mikiassen <matt.miki.vimik@gmail.com>
-Matthias Radestock <matthias.radestock@gmail.com>
-Matthew Sackman <matthew@wellquite.org>
-Loic Prylli <loicp@google.com>
-Alexandre Fiori <fiorix@gmail.com>
-Adrian Tam <adrian.c.m.tam@gmail.com>
-Satoshi Matsumoto <kaorimatz@gmail.com>
-David Stainton <dstainton415@gmail.com>
-Jesse Ward <jesse@jesseward.com>
-Kane Mathers <kane@kanemathers.name>
-
------------------------------------------------
-FORKED FROM github.com/akrennmair/gopcap
-ALL THE FOLLOWING ARE FOR THAT PROJECT
-
-MAIN DEVELOPERS:
-Andreas Krennmair <ak@synflood.at>
-
-CONTRIBUTORS:
-Andrea Nall <anall@andreanall.com>
-Daniel Arndt <danielarndt@gmail.com>
-Dustin Sallings <dustin@spy.net>
-Graeme Connell <gconnell@google.com, gsconnell@gmail.com>
-Guillaume Savary <guillaume@savary.name>
-Mark Smith <mark@qq.is>
-Miek Gieben <miek@miek.nl>
-Mike Bell <mike@mikebell.org>
-Trevor Strohman <strohman@google.com>
diff --git a/vendor/github.com/google/gopacket/CONTRIBUTING.md b/vendor/github.com/google/gopacket/CONTRIBUTING.md
deleted file mode 100644 (file)
index 99ab7a2..0000000
+++ /dev/null
@@ -1,215 +0,0 @@
-Contributing To gopacket
-========================
-
-So you've got some code and you'd like it to be part of gopacket... wonderful!
-We're happy to accept contributions, whether they're fixes to old protocols, new
-protocols entirely, or anything else you think would improve the gopacket
-library.  This document is designed to help you to do just that.
-
-The first section deals with the plumbing:  how to actually get a change
-submitted.
-
-The second section deals with coding style... Go is great in that it
-has a uniform style implemented by 'go fmt', but there's still some decisions
-we've made that go above and beyond, and if you follow them, they won't come up
-in your code review.
-
-The third section deals with some of the implementation decisions we've made,
-which may help you to understand the current code and which we may ask you to
-conform to (or provide compelling reasons for ignoring).
-
-Overall, we hope this document will help you to understand our system and write
-great code which fits in, and help us to turn around on your code review quickly
-so the code can make it into the master branch as quickly as possible.
-
-
-How To Submit Code
-------------------
-
-We use github.com's Pull Request feature to receive code contributions from
-external contributors.  See
-https://help.github.com/articles/creating-a-pull-request/ for details on
-how to create a request.
-
-Also, there's a local script `gc` in the base directory of GoPacket that
-runs a local set of checks, which should give you relatively high confidence
-that your pull won't fail github pull checks.
-
-```sh
-go get github.com/google/gopacket
-cd $GOROOT/src/pkg/github.com/google/gopacket
-git checkout -b <mynewfeature>  # create a new branch to work from
-... code code code ...
-./gc  # Run this to do local commits, it performs a number of checks
-```
-
-To sum up:
-
-* DO
-    + Pull down the latest version.
-    + Make a feature-specific branch.
-    + Code using the style and methods discussed in the rest of this document.
-    + Use the ./gc command to do local commits or check correctness.
-    + Push your new feature branch up to github.com, as a pull request.
-    + Handle comments and requests from reviewers, pushing new commits up to
-      your feature branch as problems are addressed.
-    + Put interesting comments and discussions into commit comments.
-* DON'T
-    + Push to someone else's branch without their permission.
-
-
-Coding Style
-------------
-
-* Go code must be run through `go fmt`, `go vet`, and `golint`
-* Follow http://golang.org/doc/effective_go.html as much as possible.
-    + In particular, http://golang.org/doc/effective_go.html#mixed-caps.  Enums
-      should be be CamelCase, with acronyms capitalized (TCPSourcePort, vs.
-      TcpSourcePort or TCP_SOURCE_PORT).
-* Bonus points for giving enum types a String() field.
-* Any exported types or functions should have commentary
-  (http://golang.org/doc/effective_go.html#commentary)
-
-
-Coding Methods And Implementation Notes
----------------------------------------
-
-### Error Handling
-
-Many times, you'll be decoding a protocol and run across something bad, a packet
-corruption or the like.  How do you handle this?  First off, ALWAYS report the
-error.  You can do this either by returning the error from the decode() function
-(most common), or if you're up for it you can implement and add an ErrorLayer
-through the packet builder (the first method is a simple shortcut that does
-exactly this, then stops any future decoding).
-
-Often, you'll already have decode some part of your protocol by the time you hit
-your error.  Use your own discretion to determine whether the stuff you've
-already decoded should be returned to the caller or not:
-
-```go
-func decodeMyProtocol(data []byte, p gopacket.PacketBuilder) error {
-  prot := &MyProtocol{}
-  if len(data) < 10 {
-    // This error occurred before we did ANYTHING, so there's nothing in my
-    // protocol that the caller could possibly want.  Just return the error.
-    return fmt.Errorf("Length %d less than 10", len(data))
-  }
-  prot.ImportantField1 = data[:5]
-  prot.ImportantField2 = data[5:10]
-  // At this point, we've already got enough information in 'prot' to
-  // warrant returning it to the caller, so we'll add it now.
-  p.AddLayer(prot)
-  if len(data) < 15 {
-    // We encountered an error later in the packet, but the caller already
-    // has the important info we've gleaned so far.
-    return fmt.Errorf("Length %d less than 15", len(data))
-  }
-  prot.ImportantField3 = data[10:15]
-  return nil  // We've already added the layer, we can just return success.
-}
-```
-
-In general, our code follows the approach of returning the first error it
-encounters.  In general, we don't trust any bytes after the first error we see.
-
-### What Is A Layer?
-
-The definition of a layer is up to the discretion of the coder.  It should be
-something important enough that it's actually useful to the caller (IE: every
-TLV value should probably NOT be a layer).  However, it can be more granular
-than a single protocol... IPv6 and SCTP both implement many layers to handle the
-various parts of the protocol.  Use your best judgement, and prepare to defend
-your decisions during code review. ;)
-
-### Performance
-
-We strive to make gopacket as fast as possible while still providing lots of
-features.  In general, this means:
-
-* Focus performance tuning on common protocols (IP4/6, TCP, etc), and optimize
-  others on an as-needed basis (tons of MPLS on your network?  Time to optimize
-  MPLS!)
-* Use fast operations.  See the toplevel benchmark_test for benchmarks of some
-  of Go's underlying features and types.
-* Test your performance changes!  You should use the ./gc script's --benchmark
-  flag to submit any performance-related changes.  Use pcap/gopacket_benchmark
-  to test your change against a PCAP file based on your traffic patterns.
-* Don't be TOO hacky.  Sometimes, removing an unused struct from a field causes
-  a huge performance hit, due to the way that Go currently handles its segmented
-  stack... don't be afraid to clean it up anyway.  We'll trust the Go compiler
-  to get good enough over time to handle this.  Also, this type of
-  compiler-specific optimization is very fragile; someone adding a field to an
-  entirely different struct elsewhere in the codebase could reverse any gains
-  you might achieve by aligning your allocations.
-* Try to minimize memory allocations.  If possible, use []byte to reference
-  pieces of the input, instead of using string, which requires copying the bytes
-  into a new memory allocation.
-* Think hard about what should be evaluated lazily vs. not.  In general, a
-  layer's struct should almost exactly mirror the layer's frame.  Anything
-  that's more interesting should be a function.  This may not always be
-  possible, but it's a good rule of thumb.
-* Don't fear micro-optimizations.  With the above in mind, we welcome
-  micro-optimizations that we think will have positive/neutral impacts on the
-  majority of workloads.  A prime example of this is pre-allocating certain
-  structs within a larger one:
-
-```go
-type MyProtocol struct {
-  // Most packets have 1-4 of VeryCommon, so we preallocate it here.
-  initialAllocation [4]uint32
-  VeryCommon []uint32
-}
-
-func decodeMyProtocol(data []byte, p gopacket.PacketBuilder) error {
-  prot := &MyProtocol{}
-  prot.VeryCommon = proto.initialAllocation[:0]
-  for len(data) > 4 {
-    field := binary.BigEndian.Uint32(data[:4])
-    data = data[4:]
-    // Since we're using the underlying initialAllocation, we won't need to
-    // allocate new memory for the following append unless we more than 16
-    // bytes of data, which should be the uncommon case.
-    prot.VeryCommon = append(prot.VeryCommon, field)
-  }
-  p.AddLayer(prot)
-  if len(data) > 0 {
-    return fmt.Errorf("MyProtocol packet has %d bytes left after decoding", len(data))
-  }
-  return nil
-}
-```
-
-### Slices And Data
-
-If you're pulling a slice from the data you're decoding, don't copy it.  Just
-use the slice itself.
-
-```go
-type MyProtocol struct {
-  A, B net.IP
-}
-func decodeMyProtocol(data []byte, p gopacket.PacketBuilder) error {
-  p.AddLayer(&MyProtocol{
-    A: data[:4],
-    B: data[4:8],
-  })
-  return nil
-}
-```
-
-The caller has already agreed, by using this library, that they won't modify the
-set of bytes they pass in to the decoder, or the library has already copied the
-set of bytes to a read-only location.  See DecodeOptions.NoCopy for more
-information.
-
-### Enums/Types
-
-If a protocol has an integer field (uint8, uint16, etc) with a couple of known
-values that mean something special, make it a type.  This allows us to do really
-nice things like adding a String() function to them, so we can more easily
-display those to users.  Check out layers/enums.go for one example, as well as
-layers/icmp.go for layer-specific enums.
-
-When naming things, try for descriptiveness over suscinctness.  For example,
-choose DNSResponseRecord over DNSRR.
diff --git a/vendor/github.com/google/gopacket/LICENSE b/vendor/github.com/google/gopacket/LICENSE
deleted file mode 100644 (file)
index 2100d52..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-Copyright (c) 2012 Google, Inc. All rights reserved.
-Copyright (c) 2009-2011 Andreas Krennmair. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
-   * Redistributions of source code must retain the above copyright
-notice, this list of conditions and the following disclaimer.
-   * Redistributions in binary form must reproduce the above
-copyright notice, this list of conditions and the following disclaimer
-in the documentation and/or other materials provided with the
-distribution.
-   * Neither the name of Andreas Krennmair, Google, nor the names of its
-contributors may be used to endorse or promote products derived from
-this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/vendor/github.com/google/gopacket/README.md b/vendor/github.com/google/gopacket/README.md
deleted file mode 100644 (file)
index f71854c..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-# GoPacket
-
-This library provides packet decoding capabilities for Go.
-See [godoc](https://godoc.org/github.com/google/gopacket) for more details.
-
-[![Build Status](https://travis-ci.org/google/gopacket.svg?branch=master)](https://travis-ci.org/google/gopacket)
-[![GoDoc](https://godoc.org/github.com/google/gopacket?status.svg)](https://godoc.org/github.com/google/gopacket)
-
-Originally forked from the gopcap project written by Andreas
-Krennmair <ak@synflood.at> (http://github.com/akrennmair/gopcap).
diff --git a/vendor/github.com/google/gopacket/base.go b/vendor/github.com/google/gopacket/base.go
deleted file mode 100644 (file)
index 797b55f..0000000
+++ /dev/null
@@ -1,178 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package gopacket
-
-import (
-       "fmt"
-)
-
-// Layer represents a single decoded packet layer (using either the
-// OSI or TCP/IP definition of a layer).  When decoding, a packet's data is
-// broken up into a number of layers.  The caller may call LayerType() to
-// figure out which type of layer they've received from the packet.  Optionally,
-// they may then use a type assertion to get the actual layer type for deep
-// inspection of the data.
-type Layer interface {
-       // LayerType is the gopacket type for this layer.
-       LayerType() LayerType
-       // LayerContents returns the set of bytes that make up this layer.
-       LayerContents() []byte
-       // LayerPayload returns the set of bytes contained within this layer, not
-       // including the layer itself.
-       LayerPayload() []byte
-}
-
-// Payload is a Layer containing the payload of a packet.  The definition of
-// what constitutes the payload of a packet depends on previous layers; for
-// TCP and UDP, we stop decoding above layer 4 and return the remaining
-// bytes as a Payload.  Payload is an ApplicationLayer.
-type Payload []byte
-
-// LayerType returns LayerTypePayload
-func (p Payload) LayerType() LayerType { return LayerTypePayload }
-
-// LayerContents returns the bytes making up this layer.
-func (p Payload) LayerContents() []byte { return []byte(p) }
-
-// LayerPayload returns the payload within this layer.
-func (p Payload) LayerPayload() []byte { return nil }
-
-// Payload returns this layer as bytes.
-func (p Payload) Payload() []byte { return []byte(p) }
-
-// String implements fmt.Stringer.
-func (p Payload) String() string { return fmt.Sprintf("%d byte(s)", len(p)) }
-
-// GoString implements fmt.GoStringer.
-func (p Payload) GoString() string { return LongBytesGoString([]byte(p)) }
-
-// CanDecode implements DecodingLayer.
-func (p Payload) CanDecode() LayerClass { return LayerTypePayload }
-
-// NextLayerType implements DecodingLayer.
-func (p Payload) NextLayerType() LayerType { return LayerTypeZero }
-
-// DecodeFromBytes implements DecodingLayer.
-func (p *Payload) DecodeFromBytes(data []byte, df DecodeFeedback) error {
-       *p = Payload(data)
-       return nil
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-// See the docs for gopacket.SerializableLayer for more info.
-func (p Payload) SerializeTo(b SerializeBuffer, opts SerializeOptions) error {
-       bytes, err := b.PrependBytes(len(p))
-       if err != nil {
-               return err
-       }
-       copy(bytes, p)
-       return nil
-}
-
-// decodePayload decodes data by returning it all in a Payload layer.
-func decodePayload(data []byte, p PacketBuilder) error {
-       payload := &Payload{}
-       if err := payload.DecodeFromBytes(data, p); err != nil {
-               return nil
-       }
-       p.AddLayer(payload)
-       p.SetApplicationLayer(payload)
-       return nil
-}
-
-// Fragment is a Layer containing a fragment of a larger frame, used by layers
-// like IPv4 and IPv6 that allow for fragmentation of their payloads.
-type Fragment []byte
-
-// LayerType returns LayerTypeFragment
-func (p *Fragment) LayerType() LayerType { return LayerTypeFragment }
-
-// LayerContents implements Layer.
-func (p *Fragment) LayerContents() []byte { return []byte(*p) }
-
-// LayerPayload implements Layer.
-func (p *Fragment) LayerPayload() []byte { return nil }
-
-// Payload returns this layer as a byte slice.
-func (p *Fragment) Payload() []byte { return []byte(*p) }
-
-// String implements fmt.Stringer.
-func (p *Fragment) String() string { return fmt.Sprintf("%d byte(s)", len(*p)) }
-
-// CanDecode implements DecodingLayer.
-func (p *Fragment) CanDecode() LayerClass { return LayerTypeFragment }
-
-// NextLayerType implements DecodingLayer.
-func (p *Fragment) NextLayerType() LayerType { return LayerTypeZero }
-
-// DecodeFromBytes implements DecodingLayer.
-func (p *Fragment) DecodeFromBytes(data []byte, df DecodeFeedback) error {
-       *p = Fragment(data)
-       return nil
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-// See the docs for gopacket.SerializableLayer for more info.
-func (p *Fragment) SerializeTo(b SerializeBuffer, opts SerializeOptions) error {
-       bytes, err := b.PrependBytes(len(*p))
-       if err != nil {
-               return err
-       }
-       copy(bytes, *p)
-       return nil
-}
-
-// decodeFragment decodes data by returning it all in a Fragment layer.
-func decodeFragment(data []byte, p PacketBuilder) error {
-       payload := &Fragment{}
-       if err := payload.DecodeFromBytes(data, p); err != nil {
-               return nil
-       }
-       p.AddLayer(payload)
-       p.SetApplicationLayer(payload)
-       return nil
-}
-
-// These layers correspond to Internet Protocol Suite (TCP/IP) layers, and their
-// corresponding OSI layers, as best as possible.
-
-// LinkLayer is the packet layer corresponding to TCP/IP layer 1 (OSI layer 2)
-type LinkLayer interface {
-       Layer
-       LinkFlow() Flow
-}
-
-// NetworkLayer is the packet layer corresponding to TCP/IP layer 2 (OSI
-// layer 3)
-type NetworkLayer interface {
-       Layer
-       NetworkFlow() Flow
-}
-
-// TransportLayer is the packet layer corresponding to the TCP/IP layer 3 (OSI
-// layer 4)
-type TransportLayer interface {
-       Layer
-       TransportFlow() Flow
-}
-
-// ApplicationLayer is the packet layer corresponding to the TCP/IP layer 4 (OSI
-// layer 7), also known as the packet payload.
-type ApplicationLayer interface {
-       Layer
-       Payload() []byte
-}
-
-// ErrorLayer is a packet layer created when decoding of the packet has failed.
-// Its payload is all the bytes that we were unable to decode, and the returned
-// error details why the decoding failed.
-type ErrorLayer interface {
-       Layer
-       Error() error
-}
diff --git a/vendor/github.com/google/gopacket/decode.go b/vendor/github.com/google/gopacket/decode.go
deleted file mode 100644 (file)
index 2633f84..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package gopacket
-
-import (
-       "errors"
-)
-
-// DecodeFeedback is used by DecodingLayer layers to provide decoding metadata.
-type DecodeFeedback interface {
-       // SetTruncated should be called if during decoding you notice that a packet
-       // is shorter than internal layer variables (HeaderLength, or the like) say it
-       // should be.  It sets packet.Metadata().Truncated.
-       SetTruncated()
-}
-
-type nilDecodeFeedback struct{}
-
-func (nilDecodeFeedback) SetTruncated() {}
-
-// NilDecodeFeedback implements DecodeFeedback by doing nothing.
-var NilDecodeFeedback DecodeFeedback = nilDecodeFeedback{}
-
-// PacketBuilder is used by layer decoders to store the layers they've decoded,
-// and to defer future decoding via NextDecoder.
-// Typically, the pattern for use is:
-//  func (m *myDecoder) Decode(data []byte, p PacketBuilder) error {
-//    if myLayer, err := myDecodingLogic(data); err != nil {
-//      return err
-//    } else {
-//      p.AddLayer(myLayer)
-//    }
-//    // maybe do this, if myLayer is a LinkLayer
-//    p.SetLinkLayer(myLayer)
-//    return p.NextDecoder(nextDecoder)
-//  }
-type PacketBuilder interface {
-       DecodeFeedback
-       // AddLayer should be called by a decoder immediately upon successful
-       // decoding of a layer.
-       AddLayer(l Layer)
-       // The following functions set the various specific layers in the final
-       // packet.  Note that if many layers call SetX, the first call is kept and all
-       // other calls are ignored.
-       SetLinkLayer(LinkLayer)
-       SetNetworkLayer(NetworkLayer)
-       SetTransportLayer(TransportLayer)
-       SetApplicationLayer(ApplicationLayer)
-       SetErrorLayer(ErrorLayer)
-       // NextDecoder should be called by a decoder when they're done decoding a
-       // packet layer but not done with decoding the entire packet.  The next
-       // decoder will be called to decode the last AddLayer's LayerPayload.
-       // Because of this, NextDecoder must only be called once all other
-       // PacketBuilder calls have been made.  Set*Layer and AddLayer calls after
-       // NextDecoder calls will behave incorrectly.
-       NextDecoder(next Decoder) error
-       // DumpPacketData is used solely for decoding.  If you come across an error
-       // you need to diagnose while processing a packet, call this and your packet's
-       // data will be dumped to stderr so you can create a test.  This should never
-       // be called from a production decoder.
-       DumpPacketData()
-       // DecodeOptions returns the decode options
-       DecodeOptions() *DecodeOptions
-}
-
-// Decoder is an interface for logic to decode a packet layer.  Users may
-// implement a Decoder to handle their own strange packet types, or may use one
-// of the many decoders available in the 'layers' subpackage to decode things
-// for them.
-type Decoder interface {
-       // Decode decodes the bytes of a packet, sending decoded values and other
-       // information to PacketBuilder, and returning an error if unsuccessful.  See
-       // the PacketBuilder documentation for more details.
-       Decode([]byte, PacketBuilder) error
-}
-
-// DecodeFunc wraps a function to make it a Decoder.
-type DecodeFunc func([]byte, PacketBuilder) error
-
-// Decode implements Decoder by calling itself.
-func (d DecodeFunc) Decode(data []byte, p PacketBuilder) error {
-       // function, call thyself.
-       return d(data, p)
-}
-
-// DecodePayload is a Decoder that returns a Payload layer containing all
-// remaining bytes.
-var DecodePayload Decoder = DecodeFunc(decodePayload)
-
-// DecodeUnknown is a Decoder that returns an Unknown layer containing all
-// remaining bytes, useful if you run up against a layer that you're unable to
-// decode yet.  This layer is considered an ErrorLayer.
-var DecodeUnknown Decoder = DecodeFunc(decodeUnknown)
-
-// DecodeFragment is a Decoder that returns a Fragment layer containing all
-// remaining bytes.
-var DecodeFragment Decoder = DecodeFunc(decodeFragment)
-
-// LayerTypeZero is an invalid layer type, but can be used to determine whether
-// layer type has actually been set correctly.
-var LayerTypeZero = RegisterLayerType(0, LayerTypeMetadata{Name: "Unknown", Decoder: DecodeUnknown})
-
-// LayerTypeDecodeFailure is the layer type for the default error layer.
-var LayerTypeDecodeFailure = RegisterLayerType(1, LayerTypeMetadata{Name: "DecodeFailure", Decoder: DecodeUnknown})
-
-// LayerTypePayload is the layer type for a payload that we don't try to decode
-// but treat as a success, IE: an application-level payload.
-var LayerTypePayload = RegisterLayerType(2, LayerTypeMetadata{Name: "Payload", Decoder: DecodePayload})
-
-// LayerTypeFragment is the layer type for a fragment of a layer transported
-// by an underlying layer that supports fragmentation.
-var LayerTypeFragment = RegisterLayerType(3, LayerTypeMetadata{Name: "Fragment", Decoder: DecodeFragment})
-
-// DecodeFailure is a packet layer created if decoding of the packet data failed
-// for some reason.  It implements ErrorLayer.  LayerContents will be the entire
-// set of bytes that failed to parse, and Error will return the reason parsing
-// failed.
-type DecodeFailure struct {
-       data  []byte
-       err   error
-       stack []byte
-}
-
-// Error returns the error encountered during decoding.
-func (d *DecodeFailure) Error() error { return d.err }
-
-// LayerContents implements Layer.
-func (d *DecodeFailure) LayerContents() []byte { return d.data }
-
-// LayerPayload implements Layer.
-func (d *DecodeFailure) LayerPayload() []byte { return nil }
-
-// String implements fmt.Stringer.
-func (d *DecodeFailure) String() string {
-       return "Packet decoding error: " + d.Error().Error()
-}
-
-// Dump implements Dumper.
-func (d *DecodeFailure) Dump() (s string) {
-       if d.stack != nil {
-               s = string(d.stack)
-       }
-       return
-}
-
-// LayerType returns LayerTypeDecodeFailure
-func (d *DecodeFailure) LayerType() LayerType { return LayerTypeDecodeFailure }
-
-// decodeUnknown "decodes" unsupported data types by returning an error.
-// This decoder will thus always return a DecodeFailure layer.
-func decodeUnknown(data []byte, p PacketBuilder) error {
-       return errors.New("Layer type not currently supported")
-}
diff --git a/vendor/github.com/google/gopacket/doc.go b/vendor/github.com/google/gopacket/doc.go
deleted file mode 100644 (file)
index 6198940..0000000
+++ /dev/null
@@ -1,365 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-/*
-Package gopacket provides packet decoding for the Go language.
-
-gopacket contains many sub-packages with additional functionality you may find
-useful, including:
-
- * layers: You'll probably use this every time.  This contains of the logic
-     built into gopacket for decoding packet protocols.  Note that all example
-     code below assumes that you have imported both gopacket and
-     gopacket/layers.
- * pcap: C bindings to use libpcap to read packets off the wire.
- * pfring: C bindings to use PF_RING to read packets off the wire.
- * afpacket: C bindings for Linux's AF_PACKET to read packets off the wire.
- * tcpassembly: TCP stream reassembly
-
-Also, if you're looking to dive right into code, see the examples subdirectory
-for numerous simple binaries built using gopacket libraries.
-
-Basic Usage
-
-gopacket takes in packet data as a []byte and decodes it into a packet with
-a non-zero number of "layers".  Each layer corresponds to a protocol
-within the bytes.  Once a packet has been decoded, the layers of the packet
-can be requested from the packet.
-
- // Decode a packet
- packet := gopacket.NewPacket(myPacketData, layers.LayerTypeEthernet, gopacket.Default)
- // Get the TCP layer from this packet
- if tcpLayer := packet.Layer(layers.LayerTypeTCP); tcpLayer != nil {
-   fmt.Println("This is a TCP packet!")
-   // Get actual TCP data from this layer
-   tcp, _ := tcpLayer.(*layers.TCP)
-   fmt.Printf("From src port %d to dst port %d\n", tcp.SrcPort, tcp.DstPort)
- }
- // Iterate over all layers, printing out each layer type
- for _, layer := range packet.Layers() {
-   fmt.Println("PACKET LAYER:", layer.LayerType())
- }
-
-Packets can be decoded from a number of starting points.  Many of our base
-types implement Decoder, which allow us to decode packets for which
-we don't have full data.
-
- // Decode an ethernet packet
- ethP := gopacket.NewPacket(p1, layers.LayerTypeEthernet, gopacket.Default)
- // Decode an IPv6 header and everything it contains
- ipP := gopacket.NewPacket(p2, layers.LayerTypeIPv6, gopacket.Default)
- // Decode a TCP header and its payload
- tcpP := gopacket.NewPacket(p3, layers.LayerTypeTCP, gopacket.Default)
-
-
-Reading Packets From A Source
-
-Most of the time, you won't just have a []byte of packet data lying around.
-Instead, you'll want to read packets in from somewhere (file, interface, etc)
-and process them.  To do that, you'll want to build a PacketSource.
-
-First, you'll need to construct an object that implements the PacketDataSource
-interface.  There are implementations of this interface bundled with gopacket
-in the gopacket/pcap and gopacket/pfring subpackages... see their documentation
-for more information on their usage.  Once you have a PacketDataSource, you can
-pass it into NewPacketSource, along with a Decoder of your choice, to create
-a PacketSource.
-
-Once you have a PacketSource, you can read packets from it in multiple ways.
-See the docs for PacketSource for more details.  The easiest method is the
-Packets function, which returns a channel, then asynchronously writes new
-packets into that channel, closing the channel if the packetSource hits an
-end-of-file.
-
-  packetSource := ...  // construct using pcap or pfring
-  for packet := range packetSource.Packets() {
-    handlePacket(packet)  // do something with each packet
-  }
-
-You can change the decoding options of the packetSource by setting fields in
-packetSource.DecodeOptions... see the following sections for more details.
-
-
-Lazy Decoding
-
-gopacket optionally decodes packet data lazily, meaning it
-only decodes a packet layer when it needs to handle a function call.
-
- // Create a packet, but don't actually decode anything yet
- packet := gopacket.NewPacket(myPacketData, layers.LayerTypeEthernet, gopacket.Lazy)
- // Now, decode the packet up to the first IPv4 layer found but no further.
- // If no IPv4 layer was found, the whole packet will be decoded looking for
- // it.
- ip4 := packet.Layer(layers.LayerTypeIPv4)
- // Decode all layers and return them.  The layers up to the first IPv4 layer
- // are already decoded, and will not require decoding a second time.
- layers := packet.Layers()
-
-Lazily-decoded packets are not concurrency-safe.  Since layers have not all been
-decoded, each call to Layer() or Layers() has the potential to mutate the packet
-in order to decode the next layer.  If a packet is used
-in multiple goroutines concurrently, don't use gopacket.Lazy.  Then gopacket
-will decode the packet fully, and all future function calls won't mutate the
-object.
-
-
-NoCopy Decoding
-
-By default, gopacket will copy the slice passed to NewPacket and store the
-copy within the packet, so future mutations to the bytes underlying the slice
-don't affect the packet and its layers.  If you can guarantee that the
-underlying slice bytes won't be changed, you can use NoCopy to tell
-gopacket.NewPacket, and it'll use the passed-in slice itself.
-
- // This channel returns new byte slices, each of which points to a new
- // memory location that's guaranteed immutable for the duration of the
- // packet.
- for data := range myByteSliceChannel {
-   p := gopacket.NewPacket(data, layers.LayerTypeEthernet, gopacket.NoCopy)
-   doSomethingWithPacket(p)
- }
-
-The fastest method of decoding is to use both Lazy and NoCopy, but note from
-the many caveats above that for some implementations either or both may be
-dangerous.
-
-
-Pointers To Known Layers
-
-During decoding, certain layers are stored in the packet as well-known
-layer types.  For example, IPv4 and IPv6 are both considered NetworkLayer
-layers, while TCP and UDP are both TransportLayer layers.  We support 4
-layers, corresponding to the 4 layers of the TCP/IP layering scheme (roughly
-anagalous to layers 2, 3, 4, and 7 of the OSI model).  To access these,
-you can use the packet.LinkLayer, packet.NetworkLayer,
-packet.TransportLayer, and packet.ApplicationLayer functions.  Each of
-these functions returns a corresponding interface
-(gopacket.{Link,Network,Transport,Application}Layer).  The first three
-provide methods for getting src/dst addresses for that particular layer,
-while the final layer provides a Payload function to get payload data.
-This is helpful, for example, to get payloads for all packets regardless
-of their underlying data type:
-
- // Get packets from some source
- for packet := range someSource {
-   if app := packet.ApplicationLayer(); app != nil {
-     if strings.Contains(string(app.Payload()), "magic string") {
-       fmt.Println("Found magic string in a packet!")
-     }
-   }
- }
-
-A particularly useful layer is ErrorLayer, which is set whenever there's
-an error parsing part of the packet.
-
- packet := gopacket.NewPacket(myPacketData, layers.LayerTypeEthernet, gopacket.Default)
- if err := packet.ErrorLayer(); err != nil {
-   fmt.Println("Error decoding some part of the packet:", err)
- }
-
-Note that we don't return an error from NewPacket because we may have decoded
-a number of layers successfully before running into our erroneous layer.  You
-may still be able to get your Ethernet and IPv4 layers correctly, even if
-your TCP layer is malformed.
-
-
-Flow And Endpoint
-
-gopacket has two useful objects, Flow and Endpoint, for communicating in a protocol
-independent manner the fact that a packet is coming from A and going to B.
-The general layer types LinkLayer, NetworkLayer, and TransportLayer all provide
-methods for extracting their flow information, without worrying about the type
-of the underlying Layer.
-
-A Flow is a simple object made up of a set of two Endpoints, one source and one
-destination.  It details the sender and receiver of the Layer of the Packet.
-
-An Endpoint is a hashable representation of a source or destination.  For
-example, for LayerTypeIPv4, an Endpoint contains the IP address bytes for a v4
-IP packet.  A Flow can be broken into Endpoints, and Endpoints can be combined
-into Flows:
-
- packet := gopacket.NewPacket(myPacketData, layers.LayerTypeEthernet, gopacket.Lazy)
- netFlow := packet.NetworkLayer().NetworkFlow()
- src, dst := netFlow.Endpoints()
- reverseFlow := gopacket.NewFlow(dst, src)
-
-Both Endpoint and Flow objects can be used as map keys, and the equality
-operator can compare them, so you can easily group together all packets
-based on endpoint criteria:
-
- flows := map[gopacket.Endpoint]chan gopacket.Packet
- packet := gopacket.NewPacket(myPacketData, layers.LayerTypeEthernet, gopacket.Lazy)
- // Send all TCP packets to channels based on their destination port.
- if tcp := packet.Layer(layers.LayerTypeTCP); tcp != nil {
-   flows[tcp.TransportFlow().Dst()] <- packet
- }
- // Look for all packets with the same source and destination network address
- if net := packet.NetworkLayer(); net != nil {
-   src, dst := net.NetworkFlow().Endpoints()
-   if src == dst {
-     fmt.Println("Fishy packet has same network source and dst: %s", src)
-   }
- }
- // Find all packets coming from UDP port 1000 to UDP port 500
- interestingFlow := gopacket.NewFlow(layers.NewUDPPortEndpoint(1000), layers.NewUDPPortEndpoint(500))
- if t := packet.NetworkLayer(); t != nil && t.TransportFlow() == interestingFlow {
-   fmt.Println("Found that UDP flow I was looking for!")
- }
-
-For load-balancing purposes, both Flow and Endpoint have FastHash() functions,
-which provide quick, non-cryptographic hashes of their contents.  Of particular
-importance is the fact that Flow FastHash() is symmetric: A->B will have the same
-hash as B->A.  An example usage could be:
-
- channels := [8]chan gopacket.Packet
- for i := 0; i < 8; i++ {
-   channels[i] = make(chan gopacket.Packet)
-   go packetHandler(channels[i])
- }
- for packet := range getPackets() {
-   if net := packet.NetworkLayer(); net != nil {
-     channels[int(net.NetworkFlow().FastHash()) & 0x7] <- packet
-   }
- }
-
-This allows us to split up a packet stream while still making sure that each
-stream sees all packets for a flow (and its bidirectional opposite).
-
-
-Implementing Your Own Decoder
-
-If your network has some strange encapsulation, you can implement your own
-decoder.  In this example, we handle Ethernet packets which are encapsulated
-in a 4-byte header.
-
- // Create a layer type, should be unique and high, so it doesn't conflict,
- // giving it a name and a decoder to use.
- var MyLayerType = gopacket.RegisterLayerType(12345, gopacket.LayerTypeMetadata{Name: "MyLayerType", Decoder: gopacket.DecodeFunc(decodeMyLayer)})
-
- // Implement my layer
- type MyLayer struct {
-   StrangeHeader []byte
-   payload []byte
- }
- func (m MyLayer) LayerType() gopacket.LayerType { return MyLayerType }
- func (m MyLayer) LayerContents() []byte { return m.StrangeHeader }
- func (m MyLayer) LayerPayload() []byte { return m.payload }
-
- // Now implement a decoder... this one strips off the first 4 bytes of the
- // packet.
- func decodeMyLayer(data []byte, p gopacket.PacketBuilder) error {
-   // Create my layer
-   p.AddLayer(&MyLayer{data[:4], data[4:]})
-   // Determine how to handle the rest of the packet
-   return p.NextDecoder(layers.LayerTypeEthernet)
- }
-
- // Finally, decode your packets:
- p := gopacket.NewPacket(data, MyLayerType, gopacket.Lazy)
-
-See the docs for Decoder and PacketBuilder for more details on how coding
-decoders works, or look at RegisterLayerType and RegisterEndpointType to see how
-to add layer/endpoint types to gopacket.
-
-
-Fast Decoding With DecodingLayerParser
-
-TLDR:  DecodingLayerParser takes about 10% of the time as NewPacket to decode
-packet data, but only for known packet stacks.
-
-Basic decoding using gopacket.NewPacket or PacketSource.Packets is somewhat slow
-due to its need to allocate a new packet and every respective layer.  It's very
-versatile and can handle all known layer types, but sometimes you really only
-care about a specific set of layers regardless, so that versatility is wasted.
-
-DecodingLayerParser avoids memory allocation altogether by decoding packet
-layers directly into preallocated objects, which you can then reference to get
-the packet's information.  A quick example:
-
- func main() {
-   var eth layers.Ethernet
-   var ip4 layers.IPv4
-   var ip6 layers.IPv6
-   var tcp layers.TCP
-   parser := gopacket.NewDecodingLayerParser(layers.LayerTypeEthernet, &eth, &ip4, &ip6, &tcp)
-   decoded := []gopacket.LayerType{}
-   for packetData := range somehowGetPacketData() {
-     err := parser.DecodeLayers(packetData, &decoded)
-     for _, layerType := range decoded {
-       switch layerType {
-         case layers.LayerTypeIPv6:
-           fmt.Println("    IP6 ", ip6.SrcIP, ip6.DstIP)
-         case layers.LayerTypeIPv4:
-           fmt.Println("    IP4 ", ip4.SrcIP, ip4.DstIP)
-       }
-     }
-   }
- }
-
-The important thing to note here is that the parser is modifying the passed in
-layers (eth, ip4, ip6, tcp) instead of allocating new ones, thus greatly
-speeding up the decoding process.  It's even branching based on layer type...
-it'll handle an (eth, ip4, tcp) or (eth, ip6, tcp) stack.  However, it won't
-handle any other type... since no other decoders were passed in, an (eth, ip4,
-udp) stack will stop decoding after ip4, and only pass back [LayerTypeEthernet,
-LayerTypeIPv4] through the 'decoded' slice (along with an error saying it can't
-decode a UDP packet).
-
-Unfortunately, not all layers can be used by DecodingLayerParser... only those
-implementing the DecodingLayer interface are usable.  Also, it's possible to
-create DecodingLayers that are not themselves Layers... see
-layers.IPv6ExtensionSkipper for an example of this.
-
-
-Creating Packet Data
-
-As well as offering the ability to decode packet data, gopacket will allow you
-to create packets from scratch, as well.  A number of gopacket layers implement
-the SerializableLayer interface; these layers can be serialized to a []byte in
-the following manner:
-
-  ip := &layers.IPv4{
-    SrcIP: net.IP{1, 2, 3, 4},
-    DstIP: net.IP{5, 6, 7, 8},
-    // etc...
-  }
-  buf := gopacket.NewSerializeBuffer()
-  opts := gopacket.SerializeOptions{}  // See SerializeOptions for more details.
-  err := ip.SerializeTo(&buf, opts)
-  if err != nil { panic(err) }
-  fmt.Println(buf.Bytes())  // prints out a byte slice containing the serialized IPv4 layer.
-
-SerializeTo PREPENDS the given layer onto the SerializeBuffer, and they treat
-the current buffer's Bytes() slice as the payload of the serializing layer.
-Therefore, you can serialize an entire packet by serializing a set of layers in
-reverse order (Payload, then TCP, then IP, then Ethernet, for example).  The
-SerializeBuffer's SerializeLayers function is a helper that does exactly that.
-
-To generate a (empty and useless, because no fields are set)
-Ethernet(IPv4(TCP(Payload))) packet, for example, you can run:
-
-  buf := gopacket.NewSerializeBuffer()
-  opts := gopacket.SerializeOptions{}
-  gopacket.SerializeLayers(buf, opts,
-    &layers.Ethernet{},
-    &layers.IPv4{},
-    &layers.TCP{},
-    gopacket.Payload([]byte{1, 2, 3, 4}))
-  packetData := buf.Bytes()
-
-A Final Note
-
-If you use gopacket, you'll almost definitely want to make sure gopacket/layers
-is imported, since when imported it sets all the LayerType variables and fills
-in a lot of interesting variables/maps (DecodersByLayerName, etc).  Therefore,
-it's recommended that even if you don't use any layers functions directly, you still import with:
-
-  import (
-    _ "github.com/google/gopacket/layers"
-  )
-*/
-package gopacket
diff --git a/vendor/github.com/google/gopacket/flows.go b/vendor/github.com/google/gopacket/flows.go
deleted file mode 100644 (file)
index 7203ead..0000000
+++ /dev/null
@@ -1,236 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package gopacket
-
-import (
-       "bytes"
-       "fmt"
-       "strconv"
-)
-
-// MaxEndpointSize determines the maximum size in bytes of an endpoint address.
-//
-// Endpoints/Flows have a problem:  They need to be hashable.  Therefore, they
-// can't use a byte slice.  The two obvious choices are to use a string or a
-// byte array.  Strings work great, but string creation requires memory
-// allocation, which can be slow.  Arrays work great, but have a fixed size.  We
-// originally used the former, now we've switched to the latter.  Use of a fixed
-// byte-array doubles the speed of constructing a flow (due to not needing to
-// allocate).  This is a huge increase... too much for us to pass up.
-//
-// The end result of this, though, is that an endpoint/flow can't be created
-// using more than MaxEndpointSize bytes per address.
-const MaxEndpointSize = 16
-
-// Endpoint is the set of bytes used to address packets at various layers.
-// See LinkLayer, NetworkLayer, and TransportLayer specifications.
-// Endpoints are usable as map keys.
-type Endpoint struct {
-       typ EndpointType
-       len int
-       raw [MaxEndpointSize]byte
-}
-
-// EndpointType returns the endpoint type associated with this endpoint.
-func (a Endpoint) EndpointType() EndpointType { return a.typ }
-
-// Raw returns the raw bytes of this endpoint.  These aren't human-readable
-// most of the time, but they are faster than calling String.
-func (a Endpoint) Raw() []byte { return a.raw[:a.len] }
-
-// LessThan provides a stable ordering for all endpoints.  It sorts first based
-// on the EndpointType of an endpoint, then based on the raw bytes of that
-// endpoint.
-//
-// For some endpoints, the actual comparison may not make sense, however this
-// ordering does provide useful information for most Endpoint types.
-// Ordering is based first on endpoint type, then on raw endpoint bytes.
-// Endpoint bytes are sorted lexigraphically.
-func (a Endpoint) LessThan(b Endpoint) bool {
-       return a.typ < b.typ || (a.typ == b.typ && bytes.Compare(a.raw[:a.len], b.raw[:b.len]) < 0)
-}
-
-// fnvHash is used by our FastHash functions, and implements the FNV hash
-// created by Glenn Fowler, Landon Curt Noll, and Phong Vo.
-// See http://isthe.com/chongo/tech/comp/fnv/.
-func fnvHash(s []byte) (h uint64) {
-       h = fnvBasis
-       for i := 0; i < len(s); i++ {
-               h ^= uint64(s[i])
-               h *= fnvPrime
-       }
-       return
-}
-
-const fnvBasis = 14695981039346656037
-const fnvPrime = 1099511628211
-
-// FastHash provides a quick hashing function for an endpoint, useful if you'd
-// like to split up endpoints by modulos or other load-balancing techniques.
-// It uses a variant of Fowler-Noll-Vo hashing.
-//
-// The output of FastHash is not guaranteed to remain the same through future
-// code revisions, so should not be used to key values in persistent storage.
-func (a Endpoint) FastHash() (h uint64) {
-       h = fnvHash(a.raw[:a.len])
-       h ^= uint64(a.typ)
-       h *= fnvPrime
-       return
-}
-
-// NewEndpoint creates a new Endpoint object.
-//
-// The size of raw must be less than MaxEndpointSize, otherwise this function
-// will panic.
-func NewEndpoint(typ EndpointType, raw []byte) (e Endpoint) {
-       e.len = len(raw)
-       if e.len > MaxEndpointSize {
-               panic("raw byte length greater than MaxEndpointSize")
-       }
-       e.typ = typ
-       copy(e.raw[:], raw)
-       return
-}
-
-// EndpointTypeMetadata is used to register a new endpoint type.
-type EndpointTypeMetadata struct {
-       // Name is the string returned by an EndpointType's String function.
-       Name string
-       // Formatter is called from an Endpoint's String function to format the raw
-       // bytes in an Endpoint into a human-readable string.
-       Formatter func([]byte) string
-}
-
-// EndpointType is the type of a gopacket Endpoint.  This type determines how
-// the bytes stored in the endpoint should be interpreted.
-type EndpointType int64
-
-var endpointTypes = map[EndpointType]EndpointTypeMetadata{}
-
-// RegisterEndpointType creates a new EndpointType and registers it globally.
-// It MUST be passed a unique number, or it will panic.  Numbers 0-999 are
-// reserved for gopacket's use.
-func RegisterEndpointType(num int, meta EndpointTypeMetadata) EndpointType {
-       t := EndpointType(num)
-       if _, ok := endpointTypes[t]; ok {
-               panic("Endpoint type number already in use")
-       }
-       endpointTypes[t] = meta
-       return t
-}
-
-func (e EndpointType) String() string {
-       if t, ok := endpointTypes[e]; ok {
-               return t.Name
-       }
-       return strconv.Itoa(int(e))
-}
-
-func (a Endpoint) String() string {
-       if t, ok := endpointTypes[a.typ]; ok && t.Formatter != nil {
-               return t.Formatter(a.raw[:a.len])
-       }
-       return fmt.Sprintf("%v:%v", a.typ, a.raw)
-}
-
-// Flow represents the direction of traffic for a packet layer, as a source and destination Endpoint.
-// Flows are usable as map keys.
-type Flow struct {
-       typ        EndpointType
-       slen, dlen int
-       src, dst   [MaxEndpointSize]byte
-}
-
-// FlowFromEndpoints creates a new flow by pasting together two endpoints.
-// The endpoints must have the same EndpointType, or this function will return
-// an error.
-func FlowFromEndpoints(src, dst Endpoint) (_ Flow, err error) {
-       if src.typ != dst.typ {
-               err = fmt.Errorf("Mismatched endpoint types: %v->%v", src.typ, dst.typ)
-               return
-       }
-       return Flow{src.typ, src.len, dst.len, src.raw, dst.raw}, nil
-}
-
-// FastHash provides a quick hashing function for a flow, useful if you'd
-// like to split up flows by modulos or other load-balancing techniques.
-// It uses a variant of Fowler-Noll-Vo hashing, and is guaranteed to collide
-// with its reverse flow.  IE: the flow A->B will have the same hash as the flow
-// B->A.
-//
-// The output of FastHash is not guaranteed to remain the same through future
-// code revisions, so should not be used to key values in persistent storage.
-func (f Flow) FastHash() (h uint64) {
-       // This combination must be commutative.  We don't use ^, since that would
-       // give the same hash for all A->A flows.
-       h = fnvHash(f.src[:f.slen]) + fnvHash(f.dst[:f.dlen])
-       h ^= uint64(f.typ)
-       h *= fnvPrime
-       return
-}
-
-// String returns a human-readable representation of this flow, in the form
-// "Src->Dst"
-func (f Flow) String() string {
-       s, d := f.Endpoints()
-       return fmt.Sprintf("%v->%v", s, d)
-}
-
-// EndpointType returns the EndpointType for this Flow.
-func (f Flow) EndpointType() EndpointType {
-       return f.typ
-}
-
-// Endpoints returns the two Endpoints for this flow.
-func (f Flow) Endpoints() (src, dst Endpoint) {
-       return Endpoint{f.typ, f.slen, f.src}, Endpoint{f.typ, f.dlen, f.dst}
-}
-
-// Src returns the source Endpoint for this flow.
-func (f Flow) Src() (src Endpoint) {
-       src, _ = f.Endpoints()
-       return
-}
-
-// Dst returns the destination Endpoint for this flow.
-func (f Flow) Dst() (dst Endpoint) {
-       _, dst = f.Endpoints()
-       return
-}
-
-// Reverse returns a new flow with endpoints reversed.
-func (f Flow) Reverse() Flow {
-       return Flow{f.typ, f.dlen, f.slen, f.dst, f.src}
-}
-
-// NewFlow creates a new flow.
-//
-// src and dst must have length <= MaxEndpointSize, otherwise NewFlow will
-// panic.
-func NewFlow(t EndpointType, src, dst []byte) (f Flow) {
-       f.slen = len(src)
-       f.dlen = len(dst)
-       if f.slen > MaxEndpointSize || f.dlen > MaxEndpointSize {
-               panic("flow raw byte length greater than MaxEndpointSize")
-       }
-       f.typ = t
-       copy(f.src[:], src)
-       copy(f.dst[:], dst)
-       return
-}
-
-// EndpointInvalid is an endpoint type used for invalid endpoints, IE endpoints
-// that are specified incorrectly during creation.
-var EndpointInvalid = RegisterEndpointType(0, EndpointTypeMetadata{Name: "invalid", Formatter: func(b []byte) string {
-       return fmt.Sprintf("%v", b)
-}})
-
-// InvalidEndpoint is a singleton Endpoint of type EndpointInvalid.
-var InvalidEndpoint = NewEndpoint(EndpointInvalid, nil)
-
-// InvalidFlow is a singleton Flow of type EndpointInvalid.
-var InvalidFlow = NewFlow(EndpointInvalid, nil, nil)
diff --git a/vendor/github.com/google/gopacket/gc b/vendor/github.com/google/gopacket/gc
deleted file mode 100755 (executable)
index 57bcdee..0000000
+++ /dev/null
@@ -1,278 +0,0 @@
-#!/bin/bash
-# Copyright 2012 Google, Inc. All rights reserved.
-
-# This script provides a simple way to run benchmarks against previous code and
-# keep a log of how benchmarks change over time.  When used with the --benchmark
-# flag, it runs benchmarks from the current code and from the last commit run
-# with --benchmark, then stores the results in the git commit description.  We
-# rerun the old benchmarks along with the new ones, since there's no guarantee
-# that git commits will happen on the same machine, so machine differences could
-# cause wildly inaccurate results.
-#
-# If you're making changes to 'gopacket' which could cause performance changes,
-# you may be requested to use this commit script to make sure your changes don't
-# have large detrimental effects (or to show off how awesome your performance
-# improvements are).
-#
-# If not run with the --benchmark flag, this script is still very useful... it
-# makes sure all the correct go formatting, building, and testing work as
-# expected.
-
-function Usage {
-  cat <<EOF
-USAGE:  $0 [--benchmark regexp] [--root] [--gen] <git commit flags...>
-
---benchmark:  Run benchmark comparisons against last benchmark'd commit
---root:  Run tests that require root priviledges
---gen:  Generate code for MACs/ports by pulling down external data
-
-Note, some 'git commit' flags are necessary, if all else fails, pass in -a
-EOF
-  exit 1
-}
-
-BENCH=""
-GEN=""
-ROOT=""
-while [ ! -z "$1" ]; do
-  case "$1" in
-    "--benchmark")
-      BENCH="$2"
-      shift
-      shift
-      ;;
-    "--gen")
-      GEN="yes"
-      shift
-      ;;
-    "--root")
-      ROOT="yes"
-      shift
-      ;;
-    "--help")
-      Usage
-      ;;
-    "-h")
-      Usage
-      ;;
-    "help")
-      Usage
-      ;;
-    *)
-      break
-      ;;
-  esac
-done
-
-function Root {
-  if [ ! -z "$ROOT" ]; then
-    local exec="$1"
-    # Some folks (like me) keep source code in places inaccessible by root (like
-    # NFS), so to make sure things run smoothly we copy them to a /tmp location.
-    local tmpfile="$(mktemp -t gopacket_XXXXXXXX)"
-    echo "Running root test executable $exec as $tmpfile"
-    cp "$exec" "$tmpfile"
-    chmod a+x "$tmpfile"
-    shift
-    sudo "$tmpfile" "$@"
-  fi
-}
-
-if [ "$#" -eq "0" ]; then
-  Usage
-fi
-
-cd $(dirname $0)
-
-# Check for copyright notices.
-for filename in $(find ./ -type f -name '*.go'); do
-  if ! head -n 1 "$filename" | grep -q Copyright; then
-    echo "File '$filename' may not have copyright notice"
-    exit 1
-  fi
-done
-
-set -e
-set -x
-
-if [ ! -z "$ROOT" ]; then
-  echo "Running SUDO to get root priviledges for root tests"
-  sudo echo "have root"
-fi
-
-if [ ! -z "$GEN" ]; then
-  pushd macs
-  go run gen.go | gofmt > valid_mac_prefixes.go
-  popd
-  pushd layers
-  go run gen.go | gofmt > iana_ports.go
-  popd
-fi
-
-# Make sure everything is formatted, compiles, and tests pass.
-go fmt ./...
-go test -i ./... 2>/dev/null >/dev/null || true
-go test
-go build
-pushd examples/bytediff
-go build
-popd
-if [ -f /usr/include/pcap.h ]; then
-  pushd pcap
-  go test ./...
-  go build ./...
-  go build pcap_tester.go
-  Root pcap_tester --mode=basic
-  Root pcap_tester --mode=filtered
-  Root pcap_tester --mode=timestamp || echo "You might not support timestamp sources"
-  popd
-  pushd examples/pcapdump
-  go build
-  popd
-  pushd examples/arpscan
-  go build
-  popd
-  pushd examples/bidirectional
-  go build
-  popd
-  pushd examples/synscan
-  go build
-  popd
-  pushd examples/httpassembly
-  go build
-  popd
-  pushd examples/statsassembly
-  go build
-  popd
-fi
-pushd macs
-go test ./...
-gofmt -w gen.go
-go build gen.go
-popd
-pushd tcpassembly
-go test ./...
-popd
-pushd reassembly
-go test ./...
-popd
-pushd layers
-gofmt -w gen.go
-go build gen.go
-go test ./...
-popd
-pushd pcapgo
-go test ./...
-go build ./...
-popd
-if [ -f /usr/include/linux/if_packet.h ]; then
-  if grep -q TPACKET_V3 /usr/include/linux/if_packet.h; then
-    pushd afpacket
-    go build ./...
-    go test ./...
-    popd
-  fi
-fi
-if [ -f /usr/include/pfring.h ]; then
-  pushd pfring
-  go test ./...
-  go build ./...
-  popd
-  pushd examples/pfdump
-  go build
-  popd
-fi
-
-for travis_script in `ls .travis.*.sh`; do
-  ./$travis_script
-done
-
-# Run our initial commit
-git commit "$@"
-
-if [ -z "$BENCH" ]; then
-  set +x
-  echo "We're not benchmarking and we've committed... we're done!"
-  exit
-fi
-
-### If we get here, we want to run benchmarks from current commit, and compare
-### then to benchmarks from the last --benchmark commit.
-
-# Get our current branch.
-BRANCH="$(git branch | grep '^*' | awk '{print $2}')"
-
-# File we're going to build our commit description in.
-COMMIT_FILE="$(mktemp /tmp/tmp.XXXXXXXX)"
-
-# Add the word "BENCH" to the start of the git commit.
-echo -n "BENCH " > $COMMIT_FILE
-
-# Get the current description... there must be an easier way.
-git log -n 1 | grep '^ ' | sed 's/^    //' >> $COMMIT_FILE
-
-# Get the commit sha for the last benchmark commit
-PREV=$(git log -n 1 --grep='BENCHMARK_MARKER_DO_NOT_CHANGE' | head -n 1 | awk '{print $2}')
-
-## Run current benchmarks
-
-cat >> $COMMIT_FILE <<EOF
-
-
-----------------------------------------------------------
-BENCHMARK_MARKER_DO_NOT_CHANGE
-----------------------------------------------------------
-
-Go version $(go version)
-
-
-TEST BENCHMARKS "$BENCH"
-EOF
-# go seems to have trouble with 'go test --bench=. ./...'
-go test --test.bench="$BENCH" 2>&1 | tee -a $COMMIT_FILE
-pushd layers
-go test --test.bench="$BENCH" 2>&1 | tee -a $COMMIT_FILE
-popd
-cat >> $COMMIT_FILE <<EOF
-
-
-PCAP BENCHMARK
-EOF
-if [ "$BENCH" -eq ".*" ]; then
-  go run pcap/gopacket_benchmark/*.go 2>&1 | tee -a $COMMIT_FILE
-fi
-
-
-
-## Reset to last benchmark commit, run benchmarks
-
-git checkout $PREV
-
-cat >> $COMMIT_FILE <<EOF
-----------------------------------------------------------
-BENCHMARKING AGAINST COMMIT $PREV
-----------------------------------------------------------
-
-
-OLD TEST BENCHMARKS
-EOF
-# go seems to have trouble with 'go test --bench=. ./...'
-go test --test.bench="$BENCH" 2>&1 | tee -a $COMMIT_FILE
-pushd layers
-go test --test.bench="$BENCH" 2>&1 | tee -a $COMMIT_FILE
-popd
-cat >> $COMMIT_FILE <<EOF
-
-
-OLD PCAP BENCHMARK
-EOF
-if [ "$BENCH" -eq ".*" ]; then
-  go run pcap/gopacket_benchmark/*.go 2>&1 | tee -a $COMMIT_FILE
-fi
-
-
-
-## Reset back to the most recent commit, edit the commit message by appending
-## benchmark results.
-git checkout $BRANCH
-git commit --amend -F $COMMIT_FILE
diff --git a/vendor/github.com/google/gopacket/layerclass.go b/vendor/github.com/google/gopacket/layerclass.go
deleted file mode 100644 (file)
index 775cd09..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package gopacket
-
-// LayerClass is a set of LayerTypes, used for grabbing one of a number of
-// different types from a packet.
-type LayerClass interface {
-       // Contains returns true if the given layer type should be considered part
-       // of this layer class.
-       Contains(LayerType) bool
-       // LayerTypes returns the set of all layer types in this layer class.
-       // Note that this may not be a fast operation on all LayerClass
-       // implementations.
-       LayerTypes() []LayerType
-}
-
-// Contains implements LayerClass.
-func (l LayerType) Contains(a LayerType) bool {
-       return l == a
-}
-
-// LayerTypes implements LayerClass.
-func (l LayerType) LayerTypes() []LayerType {
-       return []LayerType{l}
-}
-
-// LayerClassSlice implements a LayerClass with a slice.
-type LayerClassSlice []bool
-
-// Contains returns true if the given layer type should be considered part
-// of this layer class.
-func (s LayerClassSlice) Contains(t LayerType) bool {
-       return int(t) < len(s) && s[t]
-}
-
-// LayerTypes returns all layer types in this LayerClassSlice.
-// Because of LayerClassSlice's implementation, this could be quite slow.
-func (s LayerClassSlice) LayerTypes() (all []LayerType) {
-       for i := 0; i < len(s); i++ {
-               if s[i] {
-                       all = append(all, LayerType(i))
-               }
-       }
-       return
-}
-
-// NewLayerClassSlice creates a new LayerClassSlice by creating a slice of
-// size max(types) and setting slice[t] to true for each type t.  Note, if
-// you implement your own LayerType and give it a high value, this WILL create
-// a very large slice.
-func NewLayerClassSlice(types []LayerType) LayerClassSlice {
-       var max LayerType
-       for _, typ := range types {
-               if typ > max {
-                       max = typ
-               }
-       }
-       t := make([]bool, int(max+1))
-       for _, typ := range types {
-               t[typ] = true
-       }
-       return t
-}
-
-// LayerClassMap implements a LayerClass with a map.
-type LayerClassMap map[LayerType]bool
-
-// Contains returns true if the given layer type should be considered part
-// of this layer class.
-func (m LayerClassMap) Contains(t LayerType) bool {
-       return m[t]
-}
-
-// LayerTypes returns all layer types in this LayerClassMap.
-func (m LayerClassMap) LayerTypes() (all []LayerType) {
-       for t := range m {
-               all = append(all, t)
-       }
-       return
-}
-
-// NewLayerClassMap creates a LayerClassMap and sets map[t] to true for each
-// type in types.
-func NewLayerClassMap(types []LayerType) LayerClassMap {
-       m := LayerClassMap{}
-       for _, typ := range types {
-               m[typ] = true
-       }
-       return m
-}
-
-// NewLayerClass creates a LayerClass, attempting to be smart about which type
-// it creates based on which types are passed in.
-func NewLayerClass(types []LayerType) LayerClass {
-       for _, typ := range types {
-               if typ > maxLayerType {
-                       // NewLayerClassSlice could create a very large object, so instead create
-                       // a map.
-                       return NewLayerClassMap(types)
-               }
-       }
-       return NewLayerClassSlice(types)
-}
diff --git a/vendor/github.com/google/gopacket/layers/.linted b/vendor/github.com/google/gopacket/layers/.linted
deleted file mode 100644 (file)
index afe7689..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-arp.go
-base.go
-base_test.go
-bfd.go
-cdp.go
-ctp.go
-decode_test.go
-dhcp_test.go
-dhcpv4.go
-dns.go
-dns_test.go
-doc.go
-dot11_test.go
-dot1q.go
-dot1q_test.go
-eapol.go
-etherip.go
-fddi.go
-gen.go
-gre.go
-gre_test.go
-iana_ports.go
-icmp6_test.go
-igmp_test.go
-ip4_test.go
-ipsec.go
-ipsec_test.go
-loopback.go
-mpls_test.go
-ntp_test.go
-ports.go
-ppp.go
-prism_test.go
-radiotap_test.go
-sflow_test.go
-tcp_test.go
-udp_test.go
-usb_test.go
-vrrp_test.go
-vxlan.go
-vxlan_test.go
diff --git a/vendor/github.com/google/gopacket/layers/arp.go b/vendor/github.com/google/gopacket/layers/arp.go
deleted file mode 100644 (file)
index 49e05ac..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-// Copyright 2009-2011 Andreas Krennmair. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "errors"
-
-       "github.com/google/gopacket"
-)
-
-// Potential values for ARP.Operation.
-const (
-       ARPRequest = 1
-       ARPReply   = 2
-)
-
-// ARP is a ARP packet header.
-type ARP struct {
-       BaseLayer
-       AddrType          LinkType
-       Protocol          EthernetType
-       HwAddressSize     uint8
-       ProtAddressSize   uint8
-       Operation         uint16
-       SourceHwAddress   []byte
-       SourceProtAddress []byte
-       DstHwAddress      []byte
-       DstProtAddress    []byte
-}
-
-// LayerType returns LayerTypeARP
-func (arp *ARP) LayerType() gopacket.LayerType { return LayerTypeARP }
-
-// DecodeFromBytes decodes the given bytes into this layer.
-func (arp *ARP) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       arp.AddrType = LinkType(binary.BigEndian.Uint16(data[0:2]))
-       arp.Protocol = EthernetType(binary.BigEndian.Uint16(data[2:4]))
-       arp.HwAddressSize = data[4]
-       arp.ProtAddressSize = data[5]
-       arp.Operation = binary.BigEndian.Uint16(data[6:8])
-       arp.SourceHwAddress = data[8 : 8+arp.HwAddressSize]
-       arp.SourceProtAddress = data[8+arp.HwAddressSize : 8+arp.HwAddressSize+arp.ProtAddressSize]
-       arp.DstHwAddress = data[8+arp.HwAddressSize+arp.ProtAddressSize : 8+2*arp.HwAddressSize+arp.ProtAddressSize]
-       arp.DstProtAddress = data[8+2*arp.HwAddressSize+arp.ProtAddressSize : 8+2*arp.HwAddressSize+2*arp.ProtAddressSize]
-
-       arpLength := 8 + 2*arp.HwAddressSize + 2*arp.ProtAddressSize
-       arp.Contents = data[:arpLength]
-       arp.Payload = data[arpLength:]
-       return nil
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-// See the docs for gopacket.SerializableLayer for more info.
-func (arp *ARP) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       size := 8 + len(arp.SourceHwAddress) + len(arp.SourceProtAddress) + len(arp.DstHwAddress) + len(arp.DstProtAddress)
-       bytes, err := b.PrependBytes(size)
-       if err != nil {
-               return err
-       }
-       if opts.FixLengths {
-               if len(arp.SourceHwAddress) != len(arp.DstHwAddress) {
-                       return errors.New("mismatched hardware address sizes")
-               }
-               arp.HwAddressSize = uint8(len(arp.SourceHwAddress))
-               if len(arp.SourceProtAddress) != len(arp.DstProtAddress) {
-                       return errors.New("mismatched prot address sizes")
-               }
-               arp.ProtAddressSize = uint8(len(arp.SourceProtAddress))
-       }
-       binary.BigEndian.PutUint16(bytes, uint16(arp.AddrType))
-       binary.BigEndian.PutUint16(bytes[2:], uint16(arp.Protocol))
-       bytes[4] = arp.HwAddressSize
-       bytes[5] = arp.ProtAddressSize
-       binary.BigEndian.PutUint16(bytes[6:], arp.Operation)
-       start := 8
-       for _, addr := range [][]byte{
-               arp.SourceHwAddress,
-               arp.SourceProtAddress,
-               arp.DstHwAddress,
-               arp.DstProtAddress,
-       } {
-               copy(bytes[start:], addr)
-               start += len(addr)
-       }
-       return nil
-}
-
-// CanDecode returns the set of layer types that this DecodingLayer can decode.
-func (arp *ARP) CanDecode() gopacket.LayerClass {
-       return LayerTypeARP
-}
-
-// NextLayerType returns the layer type contained by this DecodingLayer.
-func (arp *ARP) NextLayerType() gopacket.LayerType {
-       return gopacket.LayerTypePayload
-}
-
-func decodeARP(data []byte, p gopacket.PacketBuilder) error {
-
-       arp := &ARP{}
-       return decodingLayerDecoder(arp, data, p)
-}
diff --git a/vendor/github.com/google/gopacket/layers/base.go b/vendor/github.com/google/gopacket/layers/base.go
deleted file mode 100644 (file)
index cd59b46..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "github.com/google/gopacket"
-)
-
-// BaseLayer is a convenience struct which implements the LayerData and
-// LayerPayload functions of the Layer interface.
-type BaseLayer struct {
-       // Contents is the set of bytes that make up this layer.  IE: for an
-       // Ethernet packet, this would be the set of bytes making up the
-       // Ethernet frame.
-       Contents []byte
-       // Payload is the set of bytes contained by (but not part of) this
-       // Layer.  Again, to take Ethernet as an example, this would be the
-       // set of bytes encapsulated by the Ethernet protocol.
-       Payload []byte
-}
-
-// LayerContents returns the bytes of the packet layer.
-func (b *BaseLayer) LayerContents() []byte { return b.Contents }
-
-// LayerPayload returns the bytes contained within the packet layer.
-func (b *BaseLayer) LayerPayload() []byte { return b.Payload }
-
-type layerDecodingLayer interface {
-       gopacket.Layer
-       DecodeFromBytes([]byte, gopacket.DecodeFeedback) error
-       NextLayerType() gopacket.LayerType
-}
-
-func decodingLayerDecoder(d layerDecodingLayer, data []byte, p gopacket.PacketBuilder) error {
-       err := d.DecodeFromBytes(data, p)
-       if err != nil {
-               return err
-       }
-       p.AddLayer(d)
-       next := d.NextLayerType()
-       if next == gopacket.LayerTypeZero {
-               return nil
-       }
-       return p.NextDecoder(next)
-}
-
-// hacky way to zero out memory... there must be a better way?
-var lotsOfZeros [1024]byte
diff --git a/vendor/github.com/google/gopacket/layers/bfd.go b/vendor/github.com/google/gopacket/layers/bfd.go
deleted file mode 100644 (file)
index 43030fb..0000000
+++ /dev/null
@@ -1,481 +0,0 @@
-// Copyright 2017 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-//
-
-package layers
-
-import (
-       "encoding/binary"
-       "errors"
-
-       "github.com/google/gopacket"
-)
-
-// BFD Control Packet Format
-// -------------------------
-// The current version of BFD's RFC (RFC 5880) contains the following
-// diagram for the BFD Control packet format:
-//
-//      0                   1                   2                   3
-//      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |Vers |  Diag   |Sta|P|F|C|A|D|M|  Detect Mult  |    Length     |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |                       My Discriminator                        |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |                      Your Discriminator                       |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |                    Desired Min TX Interval                    |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |                   Required Min RX Interval                    |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |                 Required Min Echo RX Interval                 |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//
-//     An optional Authentication Section MAY be present:
-//
-//      0                   1                   2                   3
-//      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |   Auth Type   |   Auth Len    |    Authentication Data...     |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//
-//
-//     Simple Password Authentication Section Format
-//     ---------------------------------------------
-//      0                   1                   2                   3
-//      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |   Auth Type   |   Auth Len    |  Auth Key ID  |  Password...  |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |                              ...                              |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//
-//
-//     Keyed MD5 and Meticulous Keyed MD5 Authentication Section Format
-//     ----------------------------------------------------------------
-//      0                   1                   2                   3
-//      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |   Auth Type   |   Auth Len    |  Auth Key ID  |   Reserved    |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |                        Sequence Number                        |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |                      Auth Key/Digest...                       |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |                              ...                              |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//
-//
-//     Keyed SHA1 and Meticulous Keyed SHA1 Authentication Section Format
-//     ------------------------------------------------------------------
-//      0                   1                   2                   3
-//      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |   Auth Type   |   Auth Len    |  Auth Key ID  |   Reserved    |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |                        Sequence Number                        |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |                       Auth Key/Hash...                        |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |                              ...                              |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//
-//     From https://tools.ietf.org/rfc/rfc5880.txt
-const bfdMinimumRecordSizeInBytes int = 24
-
-// BFDVersion represents the version as decoded from the BFD control message
-type BFDVersion uint8
-
-// BFDDiagnostic represents diagnostic infomation about a BFD session
-type BFDDiagnostic uint8
-
-// constants that define BFDDiagnostic flags
-const (
-       BFDDiagnosticNone               BFDDiagnostic = 0 // No Diagnostic
-       BFDDiagnosticTimeExpired        BFDDiagnostic = 1 // Control Detection Time Expired
-       BFDDiagnosticEchoFailed         BFDDiagnostic = 2 // Echo Function Failed
-       BFDDiagnosticNeighborSignalDown BFDDiagnostic = 3 // Neighbor Signaled Session Down
-       BFDDiagnosticForwardPlaneReset  BFDDiagnostic = 4 // Forwarding Plane Reset
-       BFDDiagnosticPathDown           BFDDiagnostic = 5 // Path Down
-       BFDDiagnosticConcatPathDown     BFDDiagnostic = 6 // Concatenated Path Down
-       BFDDiagnosticAdminDown          BFDDiagnostic = 7 // Administratively Down
-       BFDDiagnosticRevConcatPathDown  BFDDiagnostic = 8 // Reverse Concatenated Path Dow
-)
-
-// String returns a string version of BFDDiagnostic
-func (bd BFDDiagnostic) String() string {
-       switch bd {
-       default:
-               return "Unknown"
-       case BFDDiagnosticNone:
-               return "None"
-       case BFDDiagnosticTimeExpired:
-               return "Control Detection Time Expired"
-       case BFDDiagnosticEchoFailed:
-               return "Echo Function Failed"
-       case BFDDiagnosticNeighborSignalDown:
-               return "Neighbor Signaled Session Down"
-       case BFDDiagnosticForwardPlaneReset:
-               return "Forwarding Plane Reset"
-       case BFDDiagnosticPathDown:
-               return "Path Down"
-       case BFDDiagnosticConcatPathDown:
-               return "Concatenated Path Down"
-       case BFDDiagnosticAdminDown:
-               return "Administratively Down"
-       case BFDDiagnosticRevConcatPathDown:
-               return "Reverse Concatenated Path Down"
-       }
-}
-
-// BFDState represents the state of a BFD session
-type BFDState uint8
-
-// constants that define BFDState
-const (
-       BFDStateAdminDown BFDState = 0
-       BFDStateDown      BFDState = 1
-       BFDStateInit      BFDState = 2
-       BFDStateUp        BFDState = 3
-)
-
-// String returns a string version of BFDState
-func (s BFDState) String() string {
-       switch s {
-       default:
-               return "Unknown"
-       case BFDStateAdminDown:
-               return "Admin Down"
-       case BFDStateDown:
-               return "Down"
-       case BFDStateInit:
-               return "Init"
-       case BFDStateUp:
-               return "Up"
-       }
-}
-
-// BFDDetectMultiplier represents the negotiated transmit interval,
-// multiplied by this value, provides the Detection Time for the
-// receiving system in Asynchronous mode.
-type BFDDetectMultiplier uint8
-
-// BFDDiscriminator is a unique, nonzero discriminator value used
-// to demultiplex multiple BFD sessions between the same pair of systems.
-type BFDDiscriminator uint32
-
-// BFDTimeInterval represents a time interval in microseconds
-type BFDTimeInterval uint32
-
-// BFDAuthType represents the authentication used in the BFD session
-type BFDAuthType uint8
-
-// constants that define the BFDAuthType
-const (
-       BFDAuthTypeNone                BFDAuthType = 0 // No Auth
-       BFDAuthTypePassword            BFDAuthType = 1 // Simple Password
-       BFDAuthTypeKeyedMD5            BFDAuthType = 2 // Keyed MD5
-       BFDAuthTypeMeticulousKeyedMD5  BFDAuthType = 3 // Meticulous Keyed MD5
-       BFDAuthTypeKeyedSHA1           BFDAuthType = 4 // Keyed SHA1
-       BFDAuthTypeMeticulousKeyedSHA1 BFDAuthType = 5 // Meticulous Keyed SHA1
-)
-
-// String returns a string version of BFDAuthType
-func (at BFDAuthType) String() string {
-       switch at {
-       default:
-               return "Unknown"
-       case BFDAuthTypeNone:
-               return "No Authentication"
-       case BFDAuthTypePassword:
-               return "Simple Password"
-       case BFDAuthTypeKeyedMD5:
-               return "Keyed MD5"
-       case BFDAuthTypeMeticulousKeyedMD5:
-               return "Meticulous Keyed MD5"
-       case BFDAuthTypeKeyedSHA1:
-               return "Keyed SHA1"
-       case BFDAuthTypeMeticulousKeyedSHA1:
-               return "Meticulous Keyed SHA1"
-       }
-}
-
-// BFDAuthKeyID represents the authentication key ID in use for
-// this packet.  This allows multiple keys to be active simultaneously.
-type BFDAuthKeyID uint8
-
-// BFDAuthSequenceNumber represents the sequence number for this packet.
-// For Keyed Authentication, this value is incremented occasionally.  For
-// Meticulous Keyed Authentication, this value is incremented for each
-// successive packet transmitted for a session.  This provides protection
-// against replay attacks.
-type BFDAuthSequenceNumber uint32
-
-// BFDAuthData represents the authentication key or digest
-type BFDAuthData []byte
-
-// BFDAuthHeader represents authentication data used in the BFD session
-type BFDAuthHeader struct {
-       AuthType       BFDAuthType
-       KeyID          BFDAuthKeyID
-       SequenceNumber BFDAuthSequenceNumber
-       Data           BFDAuthData
-}
-
-// Length returns the data length of the BFDAuthHeader based on the
-// authentication type
-func (h *BFDAuthHeader) Length() int {
-       switch h.AuthType {
-       case BFDAuthTypePassword:
-               return 3 + len(h.Data)
-       case BFDAuthTypeKeyedMD5, BFDAuthTypeMeticulousKeyedMD5:
-               return 8 + len(h.Data)
-       case BFDAuthTypeKeyedSHA1, BFDAuthTypeMeticulousKeyedSHA1:
-               return 8 + len(h.Data)
-       default:
-               return 0
-       }
-}
-
-// BFD represents a BFD control message packet whose payload contains
-// the control information required to for a BFD session.
-//
-// References
-// ----------
-//
-// Wikipedia's BFD entry:
-//     https://en.wikipedia.org/wiki/Bidirectional_Forwarding_Detection
-//     This is the best place to get an overview of BFD.
-//
-// RFC 5880 "Bidirectional Forwarding Detection (BFD)" (2010)
-//     https://tools.ietf.org/html/rfc5880
-//     This is the original BFD specification.
-//
-// RFC 5881 "Bidirectional Forwarding Detection (BFD) for IPv4 and IPv6 (Single Hop)" (2010)
-//     https://tools.ietf.org/html/rfc5881
-//     Describes the use of the Bidirectional Forwarding Detection (BFD)
-//     protocol over IPv4 and IPv6 for single IP hops.
-type BFD struct {
-       BaseLayer // Stores the packet bytes and payload bytes.
-
-       Version                   BFDVersion          // Version of the BFD protocol.
-       Diagnostic                BFDDiagnostic       // Diagnostic code for last state change
-       State                     BFDState            // Current state
-       Poll                      bool                // Requesting verification
-       Final                     bool                // Responding to a received BFD Control packet that had the Poll (P) bit set.
-       ControlPlaneIndependent   bool                // BFD implementation does not share fate with its control plane
-       AuthPresent               bool                // Authentication Section is present and the session is to be authenticated
-       Demand                    bool                // Demand mode is active
-       Multipoint                bool                // For future point-to-multipoint extensions. Must always be zero
-       DetectMultiplier          BFDDetectMultiplier // Detection time multiplier
-       MyDiscriminator           BFDDiscriminator    // A unique, nonzero discriminator value
-       YourDiscriminator         BFDDiscriminator    // discriminator received from the remote system.
-       DesiredMinTxInterval      BFDTimeInterval     // Minimum interval, in microseconds,  the local system would like to use when transmitting BFD Control packets
-       RequiredMinRxInterval     BFDTimeInterval     // Minimum interval, in microseconds, between received BFD Control packets that this system is capable of supporting
-       RequiredMinEchoRxInterval BFDTimeInterval     // Minimum interval, in microseconds, between received BFD Echo packets that this system is capable of supporting
-       AuthHeader                *BFDAuthHeader      // Authentication data, variable length.
-}
-
-// Length returns the data length of a BFD Control message which
-// changes based on the presence and type of authentication
-// contained in the message
-func (d *BFD) Length() int {
-       if d.AuthPresent && (d.AuthHeader != nil) {
-               return bfdMinimumRecordSizeInBytes + d.AuthHeader.Length()
-       }
-
-       return bfdMinimumRecordSizeInBytes
-}
-
-// LayerType returns the layer type of the BFD object, which is LayerTypeBFD.
-func (d *BFD) LayerType() gopacket.LayerType {
-       return LayerTypeBFD
-}
-
-// decodeBFD analyses a byte slice and attempts to decode it as a BFD
-// control packet
-//
-// If it succeeds, it loads p with information about the packet and returns nil.
-// If it fails, it returns an error (non nil).
-//
-// This function is employed in layertypes.go to register the BFD layer.
-func decodeBFD(data []byte, p gopacket.PacketBuilder) error {
-
-       // Attempt to decode the byte slice.
-       d := &BFD{}
-       err := d.DecodeFromBytes(data, p)
-       if err != nil {
-               return err
-       }
-
-       // If the decoding worked, add the layer to the packet and set it
-       // as the application layer too, if there isn't already one.
-       p.AddLayer(d)
-       p.SetApplicationLayer(d)
-
-       return nil
-}
-
-// DecodeFromBytes analyses a byte slice and attempts to decode it as a BFD
-// control packet.
-//
-// Upon succeeds, it loads the BFD object with information about the packet
-// and returns nil.
-// Upon failure, it returns an error (non nil).
-func (d *BFD) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-
-       // If the data block is too short to be a BFD record, then return an error.
-       if len(data) < bfdMinimumRecordSizeInBytes {
-               df.SetTruncated()
-               return errors.New("BFD packet too short")
-       }
-
-       pLen := uint8(data[3])
-       if len(data) != int(pLen) {
-               return errors.New("BFD packet length does not match")
-       }
-
-       // BFD type embeds type BaseLayer which contains two fields:
-       //    Contents is supposed to contain the bytes of the data at this level.
-       //    Payload is supposed to contain the payload of this level.
-       // Here we set the baselayer to be the bytes of the BFD record.
-       d.BaseLayer = BaseLayer{Contents: data[:len(data)]}
-
-       // Extract the fields from the block of bytes.
-       // To make sense of this, refer to the packet diagram
-       // above and the section on endian conventions.
-
-       // The first few fields are all packed into the first 32 bits. Unpack them.
-       d.Version = BFDVersion(((data[0] & 0xE0) >> 5))
-       d.Diagnostic = BFDDiagnostic(data[0] & 0x1F)
-       data = data[1:]
-
-       d.State = BFDState((data[0] & 0xC0) >> 6)
-       d.Poll = data[0]&0x20 != 0
-       d.Final = data[0]&0x10 != 0
-       d.ControlPlaneIndependent = data[0]&0x08 != 0
-       d.AuthPresent = data[0]&0x04 != 0
-       d.Demand = data[0]&0x02 != 0
-       d.Multipoint = data[0]&0x01 != 0
-       data = data[1:]
-
-       data, d.DetectMultiplier = data[1:], BFDDetectMultiplier(data[0])
-       data, _ = data[1:], uint8(data[0]) // Consume length
-
-       // The remaining fields can just be copied in big endian order.
-       data, d.MyDiscriminator = data[4:], BFDDiscriminator(binary.BigEndian.Uint32(data[:4]))
-       data, d.YourDiscriminator = data[4:], BFDDiscriminator(binary.BigEndian.Uint32(data[:4]))
-       data, d.DesiredMinTxInterval = data[4:], BFDTimeInterval(binary.BigEndian.Uint32(data[:4]))
-       data, d.RequiredMinRxInterval = data[4:], BFDTimeInterval(binary.BigEndian.Uint32(data[:4]))
-       data, d.RequiredMinEchoRxInterval = data[4:], BFDTimeInterval(binary.BigEndian.Uint32(data[:4]))
-
-       if d.AuthPresent && (len(data) > 2) {
-               d.AuthHeader = &BFDAuthHeader{}
-               data, d.AuthHeader.AuthType = data[1:], BFDAuthType(data[0])
-               data, _ = data[1:], uint8(data[0]) // Consume length
-               data, d.AuthHeader.KeyID = data[1:], BFDAuthKeyID(data[0])
-
-               switch d.AuthHeader.AuthType {
-               case BFDAuthTypePassword:
-                       d.AuthHeader.Data = BFDAuthData(data)
-               case BFDAuthTypeKeyedMD5, BFDAuthTypeMeticulousKeyedMD5:
-                       // Skipped reserved byte
-                       data, d.AuthHeader.SequenceNumber = data[5:], BFDAuthSequenceNumber(binary.BigEndian.Uint32(data[1:5]))
-                       d.AuthHeader.Data = BFDAuthData(data)
-               case BFDAuthTypeKeyedSHA1, BFDAuthTypeMeticulousKeyedSHA1:
-                       // Skipped reserved byte
-                       data, d.AuthHeader.SequenceNumber = data[5:], BFDAuthSequenceNumber(binary.BigEndian.Uint32(data[1:5]))
-                       d.AuthHeader.Data = BFDAuthData(data)
-               }
-       }
-
-       return nil
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-// See the docs for gopacket.SerializableLayer for more info.
-func (d *BFD) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       data, err := b.PrependBytes(bfdMinimumRecordSizeInBytes)
-       if err != nil {
-               return err
-       }
-
-       // Pack the first few fields into the first 32 bits.
-       data[0] = byte(byte(d.Version<<5) | byte(d.Diagnostic))
-       h := uint8(0)
-       h |= (uint8(d.State) << 6)
-       h |= (uint8(bool2uint8(d.Poll)) << 5)
-       h |= (uint8(bool2uint8(d.Final)) << 4)
-       h |= (uint8(bool2uint8(d.ControlPlaneIndependent)) << 3)
-       h |= (uint8(bool2uint8(d.AuthPresent)) << 2)
-       h |= (uint8(bool2uint8(d.Demand)) << 1)
-       h |= uint8(bool2uint8(d.Multipoint))
-       data[1] = byte(h)
-       data[2] = byte(d.DetectMultiplier)
-       data[3] = byte(d.Length())
-
-       // The remaining fields can just be copied in big endian order.
-       binary.BigEndian.PutUint32(data[4:], uint32(d.MyDiscriminator))
-       binary.BigEndian.PutUint32(data[8:], uint32(d.YourDiscriminator))
-       binary.BigEndian.PutUint32(data[12:], uint32(d.DesiredMinTxInterval))
-       binary.BigEndian.PutUint32(data[16:], uint32(d.RequiredMinRxInterval))
-       binary.BigEndian.PutUint32(data[20:], uint32(d.RequiredMinEchoRxInterval))
-
-       if d.AuthPresent && (d.AuthHeader != nil) {
-               auth, err := b.AppendBytes(int(d.AuthHeader.Length()))
-               if err != nil {
-                       return err
-               }
-
-               auth[0] = byte(d.AuthHeader.AuthType)
-               auth[1] = byte(d.AuthHeader.Length())
-               auth[2] = byte(d.AuthHeader.KeyID)
-
-               switch d.AuthHeader.AuthType {
-               case BFDAuthTypePassword:
-                       copy(auth[3:], d.AuthHeader.Data)
-               case BFDAuthTypeKeyedMD5, BFDAuthTypeMeticulousKeyedMD5:
-                       auth[3] = byte(0)
-                       binary.BigEndian.PutUint32(auth[4:], uint32(d.AuthHeader.SequenceNumber))
-                       copy(auth[8:], d.AuthHeader.Data)
-               case BFDAuthTypeKeyedSHA1, BFDAuthTypeMeticulousKeyedSHA1:
-                       auth[3] = byte(0)
-                       binary.BigEndian.PutUint32(auth[4:], uint32(d.AuthHeader.SequenceNumber))
-                       copy(auth[8:], d.AuthHeader.Data)
-               }
-       }
-
-       return nil
-}
-
-// CanDecode returns a set of layers that BFD objects can decode.
-// As BFD objects can only decide the BFD layer, we can return just that layer.
-// Apparently a single layer type implements LayerClass.
-func (d *BFD) CanDecode() gopacket.LayerClass {
-       return LayerTypeBFD
-}
-
-// NextLayerType specifies the next layer that GoPacket should attempt to
-// analyse after this (BFD) layer. As BFD packets do not contain any payload
-// bytes, there are no further layers to analyse.
-func (d *BFD) NextLayerType() gopacket.LayerType {
-       return gopacket.LayerTypeZero
-}
-
-// Payload returns an empty byte slice as BFD packets do not carry a payload
-func (d *BFD) Payload() []byte {
-       return nil
-}
-
-// bool2uint8 converts a bool to uint8
-func bool2uint8(b bool) uint8 {
-       if b {
-               return 1
-       }
-       return 0
-}
diff --git a/vendor/github.com/google/gopacket/layers/cdp.go b/vendor/github.com/google/gopacket/layers/cdp.go
deleted file mode 100644 (file)
index d67203e..0000000
+++ /dev/null
@@ -1,651 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-// Enum types courtesy of...
-//   http://search.cpan.org/~mchapman/Net-CDP-0.09/lib/Net/CDP.pm
-//   https://code.google.com/p/ladvd/
-//   http://anonsvn.wireshark.org/viewvc/releases/wireshark-1.8.6/epan/dissectors/packet-cdp.c
-
-package layers
-
-import (
-       "encoding/binary"
-       "fmt"
-       "net"
-
-       "github.com/google/gopacket"
-)
-
-// CDPTLVType is the type of each TLV value in a CiscoDiscovery packet.
-type CDPTLVType uint16
-
-// CDPTLVType values.
-const (
-       CDPTLVDevID              CDPTLVType = 0x0001
-       CDPTLVAddress            CDPTLVType = 0x0002
-       CDPTLVPortID             CDPTLVType = 0x0003
-       CDPTLVCapabilities       CDPTLVType = 0x0004
-       CDPTLVVersion            CDPTLVType = 0x0005
-       CDPTLVPlatform           CDPTLVType = 0x0006
-       CDPTLVIPPrefix           CDPTLVType = 0x0007
-       CDPTLVHello              CDPTLVType = 0x0008
-       CDPTLVVTPDomain          CDPTLVType = 0x0009
-       CDPTLVNativeVLAN         CDPTLVType = 0x000a
-       CDPTLVFullDuplex         CDPTLVType = 0x000b
-       CDPTLVVLANReply          CDPTLVType = 0x000e
-       CDPTLVVLANQuery          CDPTLVType = 0x000f
-       CDPTLVPower              CDPTLVType = 0x0010
-       CDPTLVMTU                CDPTLVType = 0x0011
-       CDPTLVExtendedTrust      CDPTLVType = 0x0012
-       CDPTLVUntrustedCOS       CDPTLVType = 0x0013
-       CDPTLVSysName            CDPTLVType = 0x0014
-       CDPTLVSysOID             CDPTLVType = 0x0015
-       CDPTLVMgmtAddresses      CDPTLVType = 0x0016
-       CDPTLVLocation           CDPTLVType = 0x0017
-       CDPTLVExternalPortID     CDPTLVType = 0x0018
-       CDPTLVPowerRequested     CDPTLVType = 0x0019
-       CDPTLVPowerAvailable     CDPTLVType = 0x001a
-       CDPTLVPortUnidirectional CDPTLVType = 0x001b
-       CDPTLVEnergyWise         CDPTLVType = 0x001d
-       CDPTLVSparePairPOE       CDPTLVType = 0x001f
-)
-
-// CiscoDiscoveryValue is a TLV value inside a CiscoDiscovery packet layer.
-type CiscoDiscoveryValue struct {
-       Type   CDPTLVType
-       Length uint16
-       Value  []byte
-}
-
-// CiscoDiscovery is a packet layer containing the Cisco Discovery Protocol.
-// See http://www.cisco.com/univercd/cc/td/doc/product/lan/trsrb/frames.htm#31885
-type CiscoDiscovery struct {
-       BaseLayer
-       Version  byte
-       TTL      byte
-       Checksum uint16
-       Values   []CiscoDiscoveryValue
-}
-
-// CDPCapability is the set of capabilities advertised by a CDP device.
-type CDPCapability uint32
-
-// CDPCapability values.
-const (
-       CDPCapMaskRouter     CDPCapability = 0x0001
-       CDPCapMaskTBBridge   CDPCapability = 0x0002
-       CDPCapMaskSPBridge   CDPCapability = 0x0004
-       CDPCapMaskSwitch     CDPCapability = 0x0008
-       CDPCapMaskHost       CDPCapability = 0x0010
-       CDPCapMaskIGMPFilter CDPCapability = 0x0020
-       CDPCapMaskRepeater   CDPCapability = 0x0040
-       CDPCapMaskPhone      CDPCapability = 0x0080
-       CDPCapMaskRemote     CDPCapability = 0x0100
-)
-
-// CDPCapabilities represents the capabilities of a device
-type CDPCapabilities struct {
-       L3Router        bool
-       TBBridge        bool
-       SPBridge        bool
-       L2Switch        bool
-       IsHost          bool
-       IGMPFilter      bool
-       L1Repeater      bool
-       IsPhone         bool
-       RemotelyManaged bool
-}
-
-// CDP Power-over-Ethernet values.
-const (
-       CDPPoEFourWire  byte = 0x01
-       CDPPoEPDArch    byte = 0x02
-       CDPPoEPDRequest byte = 0x04
-       CDPPoEPSE       byte = 0x08
-)
-
-// CDPSparePairPoE provides information on PoE.
-type CDPSparePairPoE struct {
-       PSEFourWire  bool // Supported / Not supported
-       PDArchShared bool // Shared / Independent
-       PDRequestOn  bool // On / Off
-       PSEOn        bool // On / Off
-}
-
-// CDPVLANDialogue encapsulates a VLAN Query/Reply
-type CDPVLANDialogue struct {
-       ID   uint8
-       VLAN uint16
-}
-
-// CDPPowerDialogue encapsulates a Power Query/Reply
-type CDPPowerDialogue struct {
-       ID     uint16
-       MgmtID uint16
-       Values []uint32
-}
-
-// CDPLocation provides location information for a CDP device.
-type CDPLocation struct {
-       Type     uint8 // Undocumented
-       Location string
-}
-
-// CDPHello is a Cisco Hello message (undocumented, hence the "Unknown" fields)
-type CDPHello struct {
-       OUI              []byte
-       ProtocolID       uint16
-       ClusterMaster    net.IP
-       Unknown1         net.IP
-       Version          byte
-       SubVersion       byte
-       Status           byte
-       Unknown2         byte
-       ClusterCommander net.HardwareAddr
-       SwitchMAC        net.HardwareAddr
-       Unknown3         byte
-       ManagementVLAN   uint16
-}
-
-// CDPEnergyWiseSubtype is used within CDP to define TLV values.
-type CDPEnergyWiseSubtype uint32
-
-// CDPEnergyWiseSubtype values.
-const (
-       CDPEnergyWiseRole    CDPEnergyWiseSubtype = 0x00000007
-       CDPEnergyWiseDomain  CDPEnergyWiseSubtype = 0x00000008
-       CDPEnergyWiseName    CDPEnergyWiseSubtype = 0x00000009
-       CDPEnergyWiseReplyTo CDPEnergyWiseSubtype = 0x00000017
-)
-
-// CDPEnergyWise is used by CDP to monitor and control power usage.
-type CDPEnergyWise struct {
-       EncryptedData  []byte
-       Unknown1       uint32
-       SequenceNumber uint32
-       ModelNumber    string
-       Unknown2       uint16
-       HardwareID     string
-       SerialNum      string
-       Unknown3       []byte
-       Role           string
-       Domain         string
-       Name           string
-       ReplyUnknown1  []byte
-       ReplyPort      []byte
-       ReplyAddress   []byte
-       ReplyUnknown2  []byte
-       ReplyUnknown3  []byte
-}
-
-// CiscoDiscoveryInfo represents the decoded details for a set of CiscoDiscoveryValues
-type CiscoDiscoveryInfo struct {
-       BaseLayer
-       CDPHello
-       DeviceID         string
-       Addresses        []net.IP
-       PortID           string
-       Capabilities     CDPCapabilities
-       Version          string
-       Platform         string
-       IPPrefixes       []net.IPNet
-       VTPDomain        string
-       NativeVLAN       uint16
-       FullDuplex       bool
-       VLANReply        CDPVLANDialogue
-       VLANQuery        CDPVLANDialogue
-       PowerConsumption uint16
-       MTU              uint32
-       ExtendedTrust    uint8
-       UntrustedCOS     uint8
-       SysName          string
-       SysOID           string
-       MgmtAddresses    []net.IP
-       Location         CDPLocation
-       PowerRequest     CDPPowerDialogue
-       PowerAvailable   CDPPowerDialogue
-       SparePairPoe     CDPSparePairPoE
-       EnergyWise       CDPEnergyWise
-       Unknown          []CiscoDiscoveryValue
-}
-
-// LayerType returns gopacket.LayerTypeCiscoDiscovery.
-func (c *CiscoDiscovery) LayerType() gopacket.LayerType {
-       return LayerTypeCiscoDiscovery
-}
-
-func decodeCiscoDiscovery(data []byte, p gopacket.PacketBuilder) error {
-       c := &CiscoDiscovery{
-               Version:  data[0],
-               TTL:      data[1],
-               Checksum: binary.BigEndian.Uint16(data[2:4]),
-       }
-       if c.Version != 1 && c.Version != 2 {
-               return fmt.Errorf("Invalid CiscoDiscovery version number %d", c.Version)
-       }
-       var err error
-       c.Values, err = decodeCiscoDiscoveryTLVs(data[4:])
-       if err != nil {
-               return err
-       }
-       c.Contents = data[0:4]
-       c.Payload = data[4:]
-       p.AddLayer(c)
-       return p.NextDecoder(gopacket.DecodeFunc(decodeCiscoDiscoveryInfo))
-}
-
-// LayerType returns gopacket.LayerTypeCiscoDiscoveryInfo.
-func (c *CiscoDiscoveryInfo) LayerType() gopacket.LayerType {
-       return LayerTypeCiscoDiscoveryInfo
-}
-
-func decodeCiscoDiscoveryTLVs(data []byte) (values []CiscoDiscoveryValue, err error) {
-       for len(data) > 0 {
-               val := CiscoDiscoveryValue{
-                       Type:   CDPTLVType(binary.BigEndian.Uint16(data[:2])),
-                       Length: binary.BigEndian.Uint16(data[2:4]),
-               }
-               if val.Length < 4 {
-                       err = fmt.Errorf("Invalid CiscoDiscovery value length %d", val.Length)
-                       break
-               }
-               val.Value = data[4:val.Length]
-               values = append(values, val)
-               data = data[val.Length:]
-       }
-       return
-}
-
-func decodeCiscoDiscoveryInfo(data []byte, p gopacket.PacketBuilder) error {
-       var err error
-       info := &CiscoDiscoveryInfo{BaseLayer: BaseLayer{Contents: data}}
-       p.AddLayer(info)
-       values, err := decodeCiscoDiscoveryTLVs(data)
-       if err != nil { // Unlikely, as parent decode will fail, but better safe...
-               return err
-       }
-       for _, val := range values {
-               switch val.Type {
-               case CDPTLVDevID:
-                       info.DeviceID = string(val.Value)
-               case CDPTLVAddress:
-                       if err = checkCDPTLVLen(val, 4); err != nil {
-                               return err
-                       }
-                       info.Addresses, err = decodeAddresses(val.Value)
-                       if err != nil {
-                               return err
-                       }
-               case CDPTLVPortID:
-                       info.PortID = string(val.Value)
-               case CDPTLVCapabilities:
-                       if err = checkCDPTLVLen(val, 4); err != nil {
-                               return err
-                       }
-                       val := CDPCapability(binary.BigEndian.Uint32(val.Value[0:4]))
-                       info.Capabilities.L3Router = (val&CDPCapMaskRouter > 0)
-                       info.Capabilities.TBBridge = (val&CDPCapMaskTBBridge > 0)
-                       info.Capabilities.SPBridge = (val&CDPCapMaskSPBridge > 0)
-                       info.Capabilities.L2Switch = (val&CDPCapMaskSwitch > 0)
-                       info.Capabilities.IsHost = (val&CDPCapMaskHost > 0)
-                       info.Capabilities.IGMPFilter = (val&CDPCapMaskIGMPFilter > 0)
-                       info.Capabilities.L1Repeater = (val&CDPCapMaskRepeater > 0)
-                       info.Capabilities.IsPhone = (val&CDPCapMaskPhone > 0)
-                       info.Capabilities.RemotelyManaged = (val&CDPCapMaskRemote > 0)
-               case CDPTLVVersion:
-                       info.Version = string(val.Value)
-               case CDPTLVPlatform:
-                       info.Platform = string(val.Value)
-               case CDPTLVIPPrefix:
-                       v := val.Value
-                       l := len(v)
-                       if l%5 == 0 && l >= 5 {
-                               for len(v) > 0 {
-                                       _, ipnet, _ := net.ParseCIDR(fmt.Sprintf("%d.%d.%d.%d/%d", v[0], v[1], v[2], v[3], v[4]))
-                                       info.IPPrefixes = append(info.IPPrefixes, *ipnet)
-                                       v = v[5:]
-                               }
-                       } else {
-                               return fmt.Errorf("Invalid TLV %v length %d", val.Type, len(val.Value))
-                       }
-               case CDPTLVHello:
-                       if err = checkCDPTLVLen(val, 32); err != nil {
-                               return err
-                       }
-                       v := val.Value
-                       info.CDPHello.OUI = v[0:3]
-                       info.CDPHello.ProtocolID = binary.BigEndian.Uint16(v[3:5])
-                       info.CDPHello.ClusterMaster = v[5:9]
-                       info.CDPHello.Unknown1 = v[9:13]
-                       info.CDPHello.Version = v[13]
-                       info.CDPHello.SubVersion = v[14]
-                       info.CDPHello.Status = v[15]
-                       info.CDPHello.Unknown2 = v[16]
-                       info.CDPHello.ClusterCommander = v[17:23]
-                       info.CDPHello.SwitchMAC = v[23:29]
-                       info.CDPHello.Unknown3 = v[29]
-                       info.CDPHello.ManagementVLAN = binary.BigEndian.Uint16(v[30:32])
-               case CDPTLVVTPDomain:
-                       info.VTPDomain = string(val.Value)
-               case CDPTLVNativeVLAN:
-                       if err = checkCDPTLVLen(val, 2); err != nil {
-                               return err
-                       }
-                       info.NativeVLAN = binary.BigEndian.Uint16(val.Value[0:2])
-               case CDPTLVFullDuplex:
-                       if err = checkCDPTLVLen(val, 1); err != nil {
-                               return err
-                       }
-                       info.FullDuplex = (val.Value[0] == 1)
-               case CDPTLVVLANReply:
-                       if err = checkCDPTLVLen(val, 3); err != nil {
-                               return err
-                       }
-                       info.VLANReply.ID = uint8(val.Value[0])
-                       info.VLANReply.VLAN = binary.BigEndian.Uint16(val.Value[1:3])
-               case CDPTLVVLANQuery:
-                       if err = checkCDPTLVLen(val, 3); err != nil {
-                               return err
-                       }
-                       info.VLANQuery.ID = uint8(val.Value[0])
-                       info.VLANQuery.VLAN = binary.BigEndian.Uint16(val.Value[1:3])
-               case CDPTLVPower:
-                       if err = checkCDPTLVLen(val, 2); err != nil {
-                               return err
-                       }
-                       info.PowerConsumption = binary.BigEndian.Uint16(val.Value[0:2])
-               case CDPTLVMTU:
-                       if err = checkCDPTLVLen(val, 4); err != nil {
-                               return err
-                       }
-                       info.MTU = binary.BigEndian.Uint32(val.Value[0:4])
-               case CDPTLVExtendedTrust:
-                       if err = checkCDPTLVLen(val, 1); err != nil {
-                               return err
-                       }
-                       info.ExtendedTrust = uint8(val.Value[0])
-               case CDPTLVUntrustedCOS:
-                       if err = checkCDPTLVLen(val, 1); err != nil {
-                               return err
-                       }
-                       info.UntrustedCOS = uint8(val.Value[0])
-               case CDPTLVSysName:
-                       info.SysName = string(val.Value)
-               case CDPTLVSysOID:
-                       info.SysOID = string(val.Value)
-               case CDPTLVMgmtAddresses:
-                       if err = checkCDPTLVLen(val, 4); err != nil {
-                               return err
-                       }
-                       info.MgmtAddresses, err = decodeAddresses(val.Value)
-                       if err != nil {
-                               return err
-                       }
-               case CDPTLVLocation:
-                       if err = checkCDPTLVLen(val, 2); err != nil {
-                               return err
-                       }
-                       info.Location.Type = uint8(val.Value[0])
-                       info.Location.Location = string(val.Value[1:])
-
-                       //              case CDPTLVLExternalPortID:
-                       //                      Undocumented
-               case CDPTLVPowerRequested:
-                       if err = checkCDPTLVLen(val, 4); err != nil {
-                               return err
-                       }
-                       info.PowerRequest.ID = binary.BigEndian.Uint16(val.Value[0:2])
-                       info.PowerRequest.MgmtID = binary.BigEndian.Uint16(val.Value[2:4])
-                       for n := 4; n < len(val.Value); n += 4 {
-                               info.PowerRequest.Values = append(info.PowerRequest.Values, binary.BigEndian.Uint32(val.Value[n:n+4]))
-                       }
-               case CDPTLVPowerAvailable:
-                       if err = checkCDPTLVLen(val, 4); err != nil {
-                               return err
-                       }
-                       info.PowerAvailable.ID = binary.BigEndian.Uint16(val.Value[0:2])
-                       info.PowerAvailable.MgmtID = binary.BigEndian.Uint16(val.Value[2:4])
-                       for n := 4; n < len(val.Value); n += 4 {
-                               info.PowerAvailable.Values = append(info.PowerAvailable.Values, binary.BigEndian.Uint32(val.Value[n:n+4]))
-                       }
-                       //              case CDPTLVPortUnidirectional
-                       //                      Undocumented
-               case CDPTLVEnergyWise:
-                       if err = checkCDPTLVLen(val, 72); err != nil {
-                               return err
-                       }
-                       info.EnergyWise.EncryptedData = val.Value[0:20]
-                       info.EnergyWise.Unknown1 = binary.BigEndian.Uint32(val.Value[20:24])
-                       info.EnergyWise.SequenceNumber = binary.BigEndian.Uint32(val.Value[24:28])
-                       info.EnergyWise.ModelNumber = string(val.Value[28:44])
-                       info.EnergyWise.Unknown2 = binary.BigEndian.Uint16(val.Value[44:46])
-                       info.EnergyWise.HardwareID = string(val.Value[46:49])
-                       info.EnergyWise.SerialNum = string(val.Value[49:60])
-                       info.EnergyWise.Unknown3 = val.Value[60:68]
-                       tlvLen := binary.BigEndian.Uint16(val.Value[68:70])
-                       tlvNum := binary.BigEndian.Uint16(val.Value[70:72])
-                       data := val.Value[72:]
-                       if len(data) < int(tlvLen) {
-                               return fmt.Errorf("Invalid TLV length %d vs %d", tlvLen, len(data))
-                       }
-                       numSeen := 0
-                       for len(data) > 8 {
-                               numSeen++
-                               if numSeen > int(tlvNum) { // Too many TLV's ?
-                                       return fmt.Errorf("Too many TLV's - wanted %d, saw %d", tlvNum, numSeen)
-                               }
-                               tType := CDPEnergyWiseSubtype(binary.BigEndian.Uint32(data[0:4]))
-                               tLen := int(binary.BigEndian.Uint32(data[4:8]))
-                               if tLen > len(data)-8 {
-                                       return fmt.Errorf("Invalid TLV length %d vs %d", tLen, len(data)-8)
-                               }
-                               data = data[8:]
-                               switch tType {
-                               case CDPEnergyWiseRole:
-                                       info.EnergyWise.Role = string(data[:])
-                               case CDPEnergyWiseDomain:
-                                       info.EnergyWise.Domain = string(data[:])
-                               case CDPEnergyWiseName:
-                                       info.EnergyWise.Name = string(data[:])
-                               case CDPEnergyWiseReplyTo:
-                                       if len(data) >= 18 {
-                                               info.EnergyWise.ReplyUnknown1 = data[0:2]
-                                               info.EnergyWise.ReplyPort = data[2:4]
-                                               info.EnergyWise.ReplyAddress = data[4:8]
-                                               info.EnergyWise.ReplyUnknown2 = data[8:10]
-                                               info.EnergyWise.ReplyUnknown3 = data[10:14]
-                                       }
-                               }
-                               data = data[tLen:]
-                       }
-               case CDPTLVSparePairPOE:
-                       if err = checkCDPTLVLen(val, 1); err != nil {
-                               return err
-                       }
-                       v := val.Value[0]
-                       info.SparePairPoe.PSEFourWire = (v&CDPPoEFourWire > 0)
-                       info.SparePairPoe.PDArchShared = (v&CDPPoEPDArch > 0)
-                       info.SparePairPoe.PDRequestOn = (v&CDPPoEPDRequest > 0)
-                       info.SparePairPoe.PSEOn = (v&CDPPoEPSE > 0)
-               default:
-                       info.Unknown = append(info.Unknown, val)
-               }
-       }
-       return nil
-}
-
-// CDP Protocol Types
-const (
-       CDPProtocolTypeNLPID byte = 1
-       CDPProtocolType802_2 byte = 2
-)
-
-// CDPAddressType is used to define TLV values within CDP addresses.
-type CDPAddressType uint64
-
-// CDP Address types.
-const (
-       CDPAddressTypeCLNP      CDPAddressType = 0x81
-       CDPAddressTypeIPV4      CDPAddressType = 0xcc
-       CDPAddressTypeIPV6      CDPAddressType = 0xaaaa030000000800
-       CDPAddressTypeDECNET    CDPAddressType = 0xaaaa030000006003
-       CDPAddressTypeAPPLETALK CDPAddressType = 0xaaaa03000000809b
-       CDPAddressTypeIPX       CDPAddressType = 0xaaaa030000008137
-       CDPAddressTypeVINES     CDPAddressType = 0xaaaa0300000080c4
-       CDPAddressTypeXNS       CDPAddressType = 0xaaaa030000000600
-       CDPAddressTypeAPOLLO    CDPAddressType = 0xaaaa030000008019
-)
-
-func decodeAddresses(v []byte) (addresses []net.IP, err error) {
-       numaddr := int(binary.BigEndian.Uint32(v[0:4]))
-       if numaddr < 1 {
-               return nil, fmt.Errorf("Invalid Address TLV number %d", numaddr)
-       }
-       v = v[4:]
-       if len(v) < numaddr*8 {
-               return nil, fmt.Errorf("Invalid Address TLV length %d", len(v))
-       }
-       for i := 0; i < numaddr; i++ {
-               prottype := v[0]
-               if prottype != CDPProtocolTypeNLPID && prottype != CDPProtocolType802_2 { // invalid protocol type
-                       return nil, fmt.Errorf("Invalid Address Protocol %d", prottype)
-               }
-               protlen := int(v[1])
-               if (prottype == CDPProtocolTypeNLPID && protlen != 1) ||
-                       (prottype == CDPProtocolType802_2 && protlen != 3 && protlen != 8) { // invalid length
-                       return nil, fmt.Errorf("Invalid Address Protocol length %d", protlen)
-               }
-               plen := make([]byte, 8)
-               copy(plen[8-protlen:], v[2:2+protlen])
-               protocol := CDPAddressType(binary.BigEndian.Uint64(plen))
-               v = v[2+protlen:]
-               addrlen := binary.BigEndian.Uint16(v[0:2])
-               ab := v[2 : 2+addrlen]
-               if protocol == CDPAddressTypeIPV4 && addrlen == 4 {
-                       addresses = append(addresses, net.IPv4(ab[0], ab[1], ab[2], ab[3]))
-               } else if protocol == CDPAddressTypeIPV6 && addrlen == 16 {
-                       addresses = append(addresses, net.IP(ab))
-               } else {
-                       // only handle IPV4 & IPV6 for now
-               }
-               v = v[2+addrlen:]
-               if len(v) < 8 {
-                       break
-               }
-       }
-       return
-}
-
-func (t CDPTLVType) String() (s string) {
-       switch t {
-       case CDPTLVDevID:
-               s = "Device ID"
-       case CDPTLVAddress:
-               s = "Addresses"
-       case CDPTLVPortID:
-               s = "Port ID"
-       case CDPTLVCapabilities:
-               s = "Capabilities"
-       case CDPTLVVersion:
-               s = "Software Version"
-       case CDPTLVPlatform:
-               s = "Platform"
-       case CDPTLVIPPrefix:
-               s = "IP Prefix"
-       case CDPTLVHello:
-               s = "Protocol Hello"
-       case CDPTLVVTPDomain:
-               s = "VTP Management Domain"
-       case CDPTLVNativeVLAN:
-               s = "Native VLAN"
-       case CDPTLVFullDuplex:
-               s = "Full Duplex"
-       case CDPTLVVLANReply:
-               s = "VoIP VLAN Reply"
-       case CDPTLVVLANQuery:
-               s = "VLANQuery"
-       case CDPTLVPower:
-               s = "Power consumption"
-       case CDPTLVMTU:
-               s = "MTU"
-       case CDPTLVExtendedTrust:
-               s = "Extended Trust Bitmap"
-       case CDPTLVUntrustedCOS:
-               s = "Untrusted Port CoS"
-       case CDPTLVSysName:
-               s = "System Name"
-       case CDPTLVSysOID:
-               s = "System OID"
-       case CDPTLVMgmtAddresses:
-               s = "Management Addresses"
-       case CDPTLVLocation:
-               s = "Location"
-       case CDPTLVExternalPortID:
-               s = "External Port ID"
-       case CDPTLVPowerRequested:
-               s = "Power Requested"
-       case CDPTLVPowerAvailable:
-               s = "Power Available"
-       case CDPTLVPortUnidirectional:
-               s = "Port Unidirectional"
-       case CDPTLVEnergyWise:
-               s = "Energy Wise"
-       case CDPTLVSparePairPOE:
-               s = "Spare Pair POE"
-       default:
-               s = "Unknown"
-       }
-       return
-}
-
-func (a CDPAddressType) String() (s string) {
-       switch a {
-       case CDPAddressTypeCLNP:
-               s = "Connectionless Network Protocol"
-       case CDPAddressTypeIPV4:
-               s = "IPv4"
-       case CDPAddressTypeIPV6:
-               s = "IPv6"
-       case CDPAddressTypeDECNET:
-               s = "DECnet Phase IV"
-       case CDPAddressTypeAPPLETALK:
-               s = "Apple Talk"
-       case CDPAddressTypeIPX:
-               s = "Novell IPX"
-       case CDPAddressTypeVINES:
-               s = "Banyan VINES"
-       case CDPAddressTypeXNS:
-               s = "Xerox Network Systems"
-       case CDPAddressTypeAPOLLO:
-               s = "Apollo"
-       default:
-               s = "Unknown"
-       }
-       return
-}
-
-func (t CDPEnergyWiseSubtype) String() (s string) {
-       switch t {
-       case CDPEnergyWiseRole:
-               s = "Role"
-       case CDPEnergyWiseDomain:
-               s = "Domain"
-       case CDPEnergyWiseName:
-               s = "Name"
-       case CDPEnergyWiseReplyTo:
-               s = "ReplyTo"
-       default:
-               s = "Unknown"
-       }
-       return
-}
-
-func checkCDPTLVLen(v CiscoDiscoveryValue, l int) (err error) {
-       if len(v.Value) < l {
-               err = fmt.Errorf("Invalid TLV %v length %d", v.Type, len(v.Value))
-       }
-       return
-}
diff --git a/vendor/github.com/google/gopacket/layers/ctp.go b/vendor/github.com/google/gopacket/layers/ctp.go
deleted file mode 100644 (file)
index 8287584..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "fmt"
-       "github.com/google/gopacket"
-)
-
-// EthernetCTPFunction is the function code used by the EthernetCTP protocol to identify each
-// EthernetCTP layer.
-type EthernetCTPFunction uint16
-
-// EthernetCTPFunction values.
-const (
-       EthernetCTPFunctionReply       EthernetCTPFunction = 1
-       EthernetCTPFunctionForwardData EthernetCTPFunction = 2
-)
-
-// EthernetCTP implements the EthernetCTP protocol, see http://www.mit.edu/people/jhawk/ctp.html.
-// We split EthernetCTP up into the top-level EthernetCTP layer, followed by zero or more
-// EthernetCTPForwardData layers, followed by a final EthernetCTPReply layer.
-type EthernetCTP struct {
-       BaseLayer
-       SkipCount uint16
-}
-
-// LayerType returns gopacket.LayerTypeEthernetCTP.
-func (c *EthernetCTP) LayerType() gopacket.LayerType {
-       return LayerTypeEthernetCTP
-}
-
-// EthernetCTPForwardData is the ForwardData layer inside EthernetCTP.  See EthernetCTP's docs for more
-// details.
-type EthernetCTPForwardData struct {
-       BaseLayer
-       Function       EthernetCTPFunction
-       ForwardAddress []byte
-}
-
-// LayerType returns gopacket.LayerTypeEthernetCTPForwardData.
-func (c *EthernetCTPForwardData) LayerType() gopacket.LayerType {
-       return LayerTypeEthernetCTPForwardData
-}
-
-// ForwardEndpoint returns the EthernetCTPForwardData ForwardAddress as an endpoint.
-func (c *EthernetCTPForwardData) ForwardEndpoint() gopacket.Endpoint {
-       return gopacket.NewEndpoint(EndpointMAC, c.ForwardAddress)
-}
-
-// EthernetCTPReply is the Reply layer inside EthernetCTP.  See EthernetCTP's docs for more details.
-type EthernetCTPReply struct {
-       BaseLayer
-       Function      EthernetCTPFunction
-       ReceiptNumber uint16
-       Data          []byte
-}
-
-// LayerType returns gopacket.LayerTypeEthernetCTPReply.
-func (c *EthernetCTPReply) LayerType() gopacket.LayerType {
-       return LayerTypeEthernetCTPReply
-}
-
-// Payload returns the EthernetCTP reply's Data bytes.
-func (c *EthernetCTPReply) Payload() []byte { return c.Data }
-
-func decodeEthernetCTP(data []byte, p gopacket.PacketBuilder) error {
-       c := &EthernetCTP{
-               SkipCount: binary.LittleEndian.Uint16(data[:2]),
-               BaseLayer: BaseLayer{data[:2], data[2:]},
-       }
-       if c.SkipCount%2 != 0 {
-               return fmt.Errorf("EthernetCTP skip count is odd: %d", c.SkipCount)
-       }
-       p.AddLayer(c)
-       return p.NextDecoder(gopacket.DecodeFunc(decodeEthernetCTPFromFunctionType))
-}
-
-// decodeEthernetCTPFromFunctionType reads in the first 2 bytes to determine the EthernetCTP
-// layer type to decode next, then decodes based on that.
-func decodeEthernetCTPFromFunctionType(data []byte, p gopacket.PacketBuilder) error {
-       function := EthernetCTPFunction(binary.LittleEndian.Uint16(data[:2]))
-       switch function {
-       case EthernetCTPFunctionReply:
-               reply := &EthernetCTPReply{
-                       Function:      function,
-                       ReceiptNumber: binary.LittleEndian.Uint16(data[2:4]),
-                       Data:          data[4:],
-                       BaseLayer:     BaseLayer{data, nil},
-               }
-               p.AddLayer(reply)
-               p.SetApplicationLayer(reply)
-               return nil
-       case EthernetCTPFunctionForwardData:
-               forward := &EthernetCTPForwardData{
-                       Function:       function,
-                       ForwardAddress: data[2:8],
-                       BaseLayer:      BaseLayer{data[:8], data[8:]},
-               }
-               p.AddLayer(forward)
-               return p.NextDecoder(gopacket.DecodeFunc(decodeEthernetCTPFromFunctionType))
-       }
-       return fmt.Errorf("Unknown EthernetCTP function type %v", function)
-}
diff --git a/vendor/github.com/google/gopacket/layers/dhcpv4.go b/vendor/github.com/google/gopacket/layers/dhcpv4.go
deleted file mode 100644 (file)
index 761b201..0000000
+++ /dev/null
@@ -1,571 +0,0 @@
-// Copyright 2016 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "bytes"
-       "encoding/binary"
-       "errors"
-       "fmt"
-       "net"
-
-       "github.com/google/gopacket"
-)
-
-// DHCPOp rerprents a bootp operation
-type DHCPOp byte
-
-// bootp operations
-const (
-       DHCPOpRequest DHCPOp = 1
-       DHCPOpReply   DHCPOp = 2
-)
-
-// String returns a string version of a DHCPOp.
-func (o DHCPOp) String() string {
-       switch o {
-       case DHCPOpRequest:
-               return "Request"
-       case DHCPOpReply:
-               return "Reply"
-       default:
-               return "Unknown"
-       }
-}
-
-// DHCPMsgType represents a DHCP operation
-type DHCPMsgType byte
-
-// Constants that represent DHCP operations
-const (
-       DHCPMsgTypeUnspecified DHCPMsgType = iota
-       DHCPMsgTypeDiscover
-       DHCPMsgTypeOffer
-       DHCPMsgTypeRequest
-       DHCPMsgTypeDecline
-       DHCPMsgTypeAck
-       DHCPMsgTypeNak
-       DHCPMsgTypeRelease
-       DHCPMsgTypeInform
-)
-
-// String returns a string version of a DHCPMsgType.
-func (o DHCPMsgType) String() string {
-       switch o {
-       case DHCPMsgTypeUnspecified:
-               return "Unspecified"
-       case DHCPMsgTypeDiscover:
-               return "Discover"
-       case DHCPMsgTypeOffer:
-               return "Offer"
-       case DHCPMsgTypeRequest:
-               return "Request"
-       case DHCPMsgTypeDecline:
-               return "Decline"
-       case DHCPMsgTypeAck:
-               return "Ack"
-       case DHCPMsgTypeNak:
-               return "Nak"
-       case DHCPMsgTypeRelease:
-               return "Release"
-       case DHCPMsgTypeInform:
-               return "Inform"
-       default:
-               return "Unknown"
-       }
-}
-
-//DHCPMagic is the RFC 2131 "magic cooke" for DHCP.
-var DHCPMagic uint32 = 0x63825363
-
-// DHCPv4 contains data for a single DHCP packet.
-type DHCPv4 struct {
-       BaseLayer
-       Operation    DHCPOp
-       HardwareType LinkType
-       HardwareLen  uint8
-       HardwareOpts uint8
-       Xid          uint32
-       Secs         uint16
-       Flags        uint16
-       ClientIP     net.IP
-       YourClientIP net.IP
-       NextServerIP net.IP
-       RelayAgentIP net.IP
-       ClientHWAddr net.HardwareAddr
-       ServerName   []byte
-       File         []byte
-       Options      DHCPOptions
-}
-
-// DHCPOptions is used to get nicely printed option lists which would normally
-// be cut off after 5 options.
-type DHCPOptions []DHCPOption
-
-// String returns a string version of the options list.
-func (o DHCPOptions) String() string {
-       buf := &bytes.Buffer{}
-       buf.WriteByte('[')
-       for i, opt := range o {
-               buf.WriteString(opt.String())
-               if i+1 != len(o) {
-                       buf.WriteString(", ")
-               }
-       }
-       buf.WriteByte(']')
-       return buf.String()
-}
-
-// LayerType returns gopacket.LayerTypeDHCPv4
-func (d *DHCPv4) LayerType() gopacket.LayerType { return LayerTypeDHCPv4 }
-
-// DecodeFromBytes decodes the given bytes into this layer.
-func (d *DHCPv4) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       d.Operation = DHCPOp(data[0])
-       d.HardwareType = LinkType(data[1])
-       d.HardwareLen = data[2]
-       d.HardwareOpts = data[3]
-       d.Xid = binary.BigEndian.Uint32(data[4:8])
-       d.Secs = binary.BigEndian.Uint16(data[8:10])
-       d.Flags = binary.BigEndian.Uint16(data[10:12])
-       d.ClientIP = net.IP(data[12:16])
-       d.YourClientIP = net.IP(data[16:20])
-       d.NextServerIP = net.IP(data[20:24])
-       d.RelayAgentIP = net.IP(data[24:28])
-       d.ClientHWAddr = net.HardwareAddr(data[28 : 28+d.HardwareLen])
-       d.ServerName = data[44:108]
-       d.File = data[108:236]
-       if binary.BigEndian.Uint32(data[236:240]) != DHCPMagic {
-               return errors.New("Bad DHCP header")
-       }
-
-       if len(data) <= 240 {
-               // DHCP Packet could have no option (??)
-               return nil
-       }
-
-       options := data[240:]
-
-       stop := len(options)
-       start := 0
-       for start < stop {
-               o := DHCPOption{}
-               if err := o.decode(options[start:]); err != nil {
-                       return err
-               }
-               if o.Type == DHCPOptEnd {
-                       break
-               }
-               d.Options = append(d.Options, o)
-               // Check if the option is a single byte pad
-               if o.Type == DHCPOptPad {
-                       start++
-               } else {
-                       start += int(o.Length) + 2
-               }
-       }
-       return nil
-}
-
-// Len returns the length of a DHCPv4 packet.
-func (d *DHCPv4) Len() uint16 {
-       n := uint16(240)
-       for _, o := range d.Options {
-               if o.Type == DHCPOptPad {
-                       n++
-               } else {
-                       n += uint16(o.Length) + 2
-               }
-       }
-       n++ // for opt end
-       return n
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-// See the docs for gopacket.SerializableLayer for more info.
-func (d *DHCPv4) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       plen := int(d.Len())
-
-       data, err := b.PrependBytes(plen)
-       if err != nil {
-               return err
-       }
-
-       data[0] = byte(d.Operation)
-       data[1] = byte(d.HardwareType)
-       if opts.FixLengths {
-               d.HardwareLen = uint8(len(d.ClientHWAddr))
-       }
-       data[2] = d.HardwareLen
-       data[3] = d.HardwareOpts
-       binary.BigEndian.PutUint32(data[4:8], d.Xid)
-       binary.BigEndian.PutUint16(data[8:10], d.Secs)
-       binary.BigEndian.PutUint16(data[10:12], d.Flags)
-       copy(data[12:16], d.ClientIP.To4())
-       copy(data[16:20], d.YourClientIP.To4())
-       copy(data[20:24], d.NextServerIP.To4())
-       copy(data[24:28], d.RelayAgentIP.To4())
-       copy(data[28:44], d.ClientHWAddr)
-       copy(data[44:108], d.ServerName)
-       copy(data[108:236], d.File)
-       binary.BigEndian.PutUint32(data[236:240], DHCPMagic)
-
-       if len(d.Options) > 0 {
-               offset := 240
-               for _, o := range d.Options {
-                       if err := o.encode(data[offset:]); err != nil {
-                               return err
-                       }
-                       // A pad option is only a single byte
-                       if o.Type == DHCPOptPad {
-                               offset++
-                       } else {
-                               offset += 2 + len(o.Data)
-                       }
-               }
-               optend := NewDHCPOption(DHCPOptEnd, nil)
-               if err := optend.encode(data[offset:]); err != nil {
-                       return err
-               }
-       }
-       return nil
-}
-
-// CanDecode returns the set of layer types that this DecodingLayer can decode.
-func (d *DHCPv4) CanDecode() gopacket.LayerClass {
-       return LayerTypeDHCPv4
-}
-
-// NextLayerType returns the layer type contained by this DecodingLayer.
-func (d *DHCPv4) NextLayerType() gopacket.LayerType {
-       return gopacket.LayerTypePayload
-}
-
-func decodeDHCPv4(data []byte, p gopacket.PacketBuilder) error {
-       dhcp := &DHCPv4{}
-       err := dhcp.DecodeFromBytes(data, p)
-       if err != nil {
-               return err
-       }
-       p.AddLayer(dhcp)
-       return p.NextDecoder(gopacket.LayerTypePayload)
-}
-
-// DHCPOpt represents a DHCP option or parameter from RFC-2132
-type DHCPOpt byte
-
-// Constants for the DHCPOpt options.
-const (
-       DHCPOptPad                   DHCPOpt = 0
-       DHCPOptSubnetMask            DHCPOpt = 1   // 4, net.IP
-       DHCPOptTimeOffset            DHCPOpt = 2   // 4, int32 (signed seconds from UTC)
-       DHCPOptRouter                DHCPOpt = 3   // n*4, [n]net.IP
-       DHCPOptTimeServer            DHCPOpt = 4   // n*4, [n]net.IP
-       DHCPOptNameServer            DHCPOpt = 5   // n*4, [n]net.IP
-       DHCPOptDNS                   DHCPOpt = 6   // n*4, [n]net.IP
-       DHCPOptLogServer             DHCPOpt = 7   // n*4, [n]net.IP
-       DHCPOptCookieServer          DHCPOpt = 8   // n*4, [n]net.IP
-       DHCPOptLPRServer             DHCPOpt = 9   // n*4, [n]net.IP
-       DHCPOptImpressServer         DHCPOpt = 10  // n*4, [n]net.IP
-       DHCPOptResLocServer          DHCPOpt = 11  // n*4, [n]net.IP
-       DHCPOptHostname              DHCPOpt = 12  // n, string
-       DHCPOptBootfileSize          DHCPOpt = 13  // 2, uint16
-       DHCPOptMeritDumpFile         DHCPOpt = 14  // >1, string
-       DHCPOptDomainName            DHCPOpt = 15  // n, string
-       DHCPOptSwapServer            DHCPOpt = 16  // n*4, [n]net.IP
-       DHCPOptRootPath              DHCPOpt = 17  // n, string
-       DHCPOptExtensionsPath        DHCPOpt = 18  // n, string
-       DHCPOptIPForwarding          DHCPOpt = 19  // 1, bool
-       DHCPOptSourceRouting         DHCPOpt = 20  // 1, bool
-       DHCPOptPolicyFilter          DHCPOpt = 21  // 8*n, [n]{net.IP/net.IP}
-       DHCPOptDatagramMTU           DHCPOpt = 22  // 2, uint16
-       DHCPOptDefaultTTL            DHCPOpt = 23  // 1, byte
-       DHCPOptPathMTUAgingTimeout   DHCPOpt = 24  // 4, uint32
-       DHCPOptPathPlateuTableOption DHCPOpt = 25  // 2*n, []uint16
-       DHCPOptInterfaceMTU          DHCPOpt = 26  // 2, uint16
-       DHCPOptAllSubsLocal          DHCPOpt = 27  // 1, bool
-       DHCPOptBroadcastAddr         DHCPOpt = 28  // 4, net.IP
-       DHCPOptMaskDiscovery         DHCPOpt = 29  // 1, bool
-       DHCPOptMaskSupplier          DHCPOpt = 30  // 1, bool
-       DHCPOptRouterDiscovery       DHCPOpt = 31  // 1, bool
-       DHCPOptSolicitAddr           DHCPOpt = 32  // 4, net.IP
-       DHCPOptStaticRoute           DHCPOpt = 33  // n*8, [n]{net.IP/net.IP} -- note the 2nd is router not mask
-       DHCPOptARPTrailers           DHCPOpt = 34  // 1, bool
-       DHCPOptARPTimeout            DHCPOpt = 35  // 4, uint32
-       DHCPOptEthernetEncap         DHCPOpt = 36  // 1, bool
-       DHCPOptTCPTTL                DHCPOpt = 37  // 1, byte
-       DHCPOptTCPKeepAliveInt       DHCPOpt = 38  // 4, uint32
-       DHCPOptTCPKeepAliveGarbage   DHCPOpt = 39  // 1, bool
-       DHCPOptNISDomain             DHCPOpt = 40  // n, string
-       DHCPOptNISServers            DHCPOpt = 41  // 4*n,  [n]net.IP
-       DHCPOptNTPServers            DHCPOpt = 42  // 4*n, [n]net.IP
-       DHCPOptVendorOption          DHCPOpt = 43  // n, [n]byte // may be encapsulated.
-       DHCPOptNetBIOSTCPNS          DHCPOpt = 44  // 4*n, [n]net.IP
-       DHCPOptNetBIOSTCPDDS         DHCPOpt = 45  // 4*n, [n]net.IP
-       DHCPOptNETBIOSTCPNodeType    DHCPOpt = 46  // 1, magic byte
-       DHCPOptNetBIOSTCPScope       DHCPOpt = 47  // n, string
-       DHCPOptXFontServer           DHCPOpt = 48  // n, string
-       DHCPOptXDisplayManager       DHCPOpt = 49  // n, string
-       DHCPOptRequestIP             DHCPOpt = 50  // 4, net.IP
-       DHCPOptLeaseTime             DHCPOpt = 51  // 4, uint32
-       DHCPOptExtOptions            DHCPOpt = 52  // 1, 1/2/3
-       DHCPOptMessageType           DHCPOpt = 53  // 1, 1-7
-       DHCPOptServerID              DHCPOpt = 54  // 4, net.IP
-       DHCPOptParamsRequest         DHCPOpt = 55  // n, []byte
-       DHCPOptMessage               DHCPOpt = 56  // n, 3
-       DHCPOptMaxMessageSize        DHCPOpt = 57  // 2, uint16
-       DHCPOptT1                    DHCPOpt = 58  // 4, uint32
-       DHCPOptT2                    DHCPOpt = 59  // 4, uint32
-       DHCPOptClassID               DHCPOpt = 60  // n, []byte
-       DHCPOptClientID              DHCPOpt = 61  // n >=  2, []byte
-       DHCPOptDomainSearch          DHCPOpt = 119 // n, string
-       DHCPOptSIPServers            DHCPOpt = 120 // n, url
-       DHCPOptClasslessStaticRoute  DHCPOpt = 121 //
-       DHCPOptEnd                   DHCPOpt = 255
-)
-
-// String returns a string version of a DHCPOpt.
-func (o DHCPOpt) String() string {
-       switch o {
-       case DHCPOptPad:
-               return "(padding)"
-       case DHCPOptSubnetMask:
-               return "SubnetMask"
-       case DHCPOptTimeOffset:
-               return "TimeOffset"
-       case DHCPOptRouter:
-               return "Router"
-       case DHCPOptTimeServer:
-               return "rfc868" // old time server protocol stringified to dissuade confusion w. NTP
-       case DHCPOptNameServer:
-               return "ien116" // obscure nameserver protocol stringified to dissuade confusion w. DNS
-       case DHCPOptDNS:
-               return "DNS"
-       case DHCPOptLogServer:
-               return "mitLCS" // MIT LCS server protocol yada yada w. Syslog
-       case DHCPOptCookieServer:
-               return "CookieServer"
-       case DHCPOptLPRServer:
-               return "LPRServer"
-       case DHCPOptImpressServer:
-               return "ImpressServer"
-       case DHCPOptResLocServer:
-               return "ResourceLocationServer"
-       case DHCPOptHostname:
-               return "Hostname"
-       case DHCPOptBootfileSize:
-               return "BootfileSize"
-       case DHCPOptMeritDumpFile:
-               return "MeritDumpFile"
-       case DHCPOptDomainName:
-               return "DomainName"
-       case DHCPOptSwapServer:
-               return "SwapServer"
-       case DHCPOptRootPath:
-               return "RootPath"
-       case DHCPOptExtensionsPath:
-               return "ExtensionsPath"
-       case DHCPOptIPForwarding:
-               return "IPForwarding"
-       case DHCPOptSourceRouting:
-               return "SourceRouting"
-       case DHCPOptPolicyFilter:
-               return "PolicyFilter"
-       case DHCPOptDatagramMTU:
-               return "DatagramMTU"
-       case DHCPOptDefaultTTL:
-               return "DefaultTTL"
-       case DHCPOptPathMTUAgingTimeout:
-               return "PathMTUAgingTimeout"
-       case DHCPOptPathPlateuTableOption:
-               return "PathPlateuTableOption"
-       case DHCPOptInterfaceMTU:
-               return "InterfaceMTU"
-       case DHCPOptAllSubsLocal:
-               return "AllSubsLocal"
-       case DHCPOptBroadcastAddr:
-               return "BroadcastAddress"
-       case DHCPOptMaskDiscovery:
-               return "MaskDiscovery"
-       case DHCPOptMaskSupplier:
-               return "MaskSupplier"
-       case DHCPOptRouterDiscovery:
-               return "RouterDiscovery"
-       case DHCPOptSolicitAddr:
-               return "SolicitAddr"
-       case DHCPOptStaticRoute:
-               return "StaticRoute"
-       case DHCPOptARPTrailers:
-               return "ARPTrailers"
-       case DHCPOptARPTimeout:
-               return "ARPTimeout"
-       case DHCPOptEthernetEncap:
-               return "EthernetEncap"
-       case DHCPOptTCPTTL:
-               return "TCPTTL"
-       case DHCPOptTCPKeepAliveInt:
-               return "TCPKeepAliveInt"
-       case DHCPOptTCPKeepAliveGarbage:
-               return "TCPKeepAliveGarbage"
-       case DHCPOptNISDomain:
-               return "NISDomain"
-       case DHCPOptNISServers:
-               return "NISServers"
-       case DHCPOptNTPServers:
-               return "NTPServers"
-       case DHCPOptVendorOption:
-               return "VendorOption"
-       case DHCPOptNetBIOSTCPNS:
-               return "NetBIOSOverTCPNS"
-       case DHCPOptNetBIOSTCPDDS:
-               return "NetBiosOverTCPDDS"
-       case DHCPOptNETBIOSTCPNodeType:
-               return "NetBIOSOverTCPNodeType"
-       case DHCPOptNetBIOSTCPScope:
-               return "NetBIOSOverTCPScope"
-       case DHCPOptXFontServer:
-               return "XFontServer"
-       case DHCPOptXDisplayManager:
-               return "XDisplayManager"
-       case DHCPOptEnd:
-               return "(end)"
-       case DHCPOptSIPServers:
-               return "SipServers"
-       case DHCPOptRequestIP:
-               return "RequestIP"
-       case DHCPOptLeaseTime:
-               return "LeaseTime"
-       case DHCPOptExtOptions:
-               return "ExtOpts"
-       case DHCPOptMessageType:
-               return "MessageType"
-       case DHCPOptServerID:
-               return "ServerID"
-       case DHCPOptParamsRequest:
-               return "ParamsRequest"
-       case DHCPOptMessage:
-               return "Message"
-       case DHCPOptMaxMessageSize:
-               return "MaxDHCPSize"
-       case DHCPOptT1:
-               return "Timer1"
-       case DHCPOptT2:
-               return "Timer2"
-       case DHCPOptClassID:
-               return "ClassID"
-       case DHCPOptClientID:
-               return "ClientID"
-       case DHCPOptDomainSearch:
-               return "DomainSearch"
-       case DHCPOptClasslessStaticRoute:
-               return "ClasslessStaticRoute"
-       default:
-               return "Unknown"
-       }
-}
-
-// DHCPOption rerpresents a DHCP option.
-type DHCPOption struct {
-       Type   DHCPOpt
-       Length uint8
-       Data   []byte
-}
-
-// String returns a string version of a DHCP Option.
-func (o DHCPOption) String() string {
-       switch o.Type {
-
-       case DHCPOptHostname, DHCPOptMeritDumpFile, DHCPOptDomainName, DHCPOptRootPath,
-               DHCPOptExtensionsPath, DHCPOptNISDomain, DHCPOptNetBIOSTCPScope, DHCPOptXFontServer,
-               DHCPOptXDisplayManager, DHCPOptMessage, DHCPOptDomainSearch: // string
-               return fmt.Sprintf("Option(%s:%s)", o.Type, string(o.Data))
-
-       case DHCPOptMessageType:
-               if len(o.Data) != 1 {
-                       return fmt.Sprintf("Option(%s:INVALID)", o.Type)
-               }
-               return fmt.Sprintf("Option(%s:%s)", o.Type, DHCPMsgType(o.Data[0]))
-
-       case DHCPOptSubnetMask, DHCPOptServerID, DHCPOptBroadcastAddr,
-               DHCPOptSolicitAddr, DHCPOptRequestIP: // net.IP
-               if len(o.Data) < 4 {
-                       return fmt.Sprintf("Option(%s:INVALID)", o.Type)
-               }
-               return fmt.Sprintf("Option(%s:%s)", o.Type, net.IP(o.Data))
-
-       case DHCPOptT1, DHCPOptT2, DHCPOptLeaseTime, DHCPOptPathMTUAgingTimeout,
-               DHCPOptARPTimeout, DHCPOptTCPKeepAliveInt: // uint32
-               if len(o.Data) != 4 {
-                       return fmt.Sprintf("Option(%s:INVALID)", o.Type)
-               }
-               return fmt.Sprintf("Option(%s:%d)", o.Type,
-                       uint32(o.Data[0])<<24|uint32(o.Data[1])<<16|uint32(o.Data[2])<<8|uint32(o.Data[3]))
-
-       case DHCPOptParamsRequest:
-               buf := &bytes.Buffer{}
-               buf.WriteString(fmt.Sprintf("Option(%s:", o.Type))
-               for i, v := range o.Data {
-                       buf.WriteString(DHCPOpt(v).String())
-                       if i+1 != len(o.Data) {
-                               buf.WriteByte(',')
-                       }
-               }
-               buf.WriteString(")")
-               return buf.String()
-
-       default:
-               return fmt.Sprintf("Option(%s:%v)", o.Type, o.Data)
-       }
-}
-
-// NewDHCPOption constructs a new DHCPOption with a given type and data.
-func NewDHCPOption(t DHCPOpt, data []byte) DHCPOption {
-       o := DHCPOption{Type: t}
-       if data != nil {
-               o.Data = data
-               o.Length = uint8(len(data))
-       }
-       return o
-}
-
-func (o *DHCPOption) encode(b []byte) error {
-       switch o.Type {
-       case DHCPOptPad, DHCPOptEnd:
-               b[0] = byte(o.Type)
-       default:
-               if o.Length > 253 {
-                       return errors.New("data too long to encode")
-               }
-               b[0] = byte(o.Type)
-               b[1] = o.Length
-               copy(b[2:], o.Data)
-       }
-       return nil
-}
-
-func (o *DHCPOption) decode(data []byte) error {
-       if len(data) < 1 {
-               // Pad/End have a length of 1
-               return errors.New("Not enough data to decode")
-       }
-       o.Type = DHCPOpt(data[0])
-       switch o.Type {
-       case DHCPOptPad, DHCPOptEnd:
-               o.Data = nil
-       default:
-               if len(data) < 3 {
-                       return errors.New("Not enough data to decode")
-               }
-               o.Length = data[1]
-               if o.Length > 253 {
-                       return errors.New("data too long to decode")
-               }
-               o.Data = data[2 : 2+o.Length]
-       }
-       return nil
-}
diff --git a/vendor/github.com/google/gopacket/layers/dns.go b/vendor/github.com/google/gopacket/layers/dns.go
deleted file mode 100644 (file)
index 2368a28..0000000
+++ /dev/null
@@ -1,894 +0,0 @@
-// Copyright 2014 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "errors"
-       "fmt"
-       "net"
-
-       "github.com/google/gopacket"
-)
-
-// DNSClass defines the class associated with a request/response.  Different DNS
-// classes can be thought of as an array of parallel namespace trees.
-type DNSClass uint16
-
-// DNSClass known values.
-const (
-       DNSClassIN  DNSClass = 1   // Internet
-       DNSClassCS  DNSClass = 2   // the CSNET class (Obsolete)
-       DNSClassCH  DNSClass = 3   // the CHAOS class
-       DNSClassHS  DNSClass = 4   // Hesiod [Dyer 87]
-       DNSClassAny DNSClass = 255 // AnyClass
-)
-
-func (dc DNSClass) String() string {
-       switch dc {
-       default:
-               return "Unknown"
-       case DNSClassIN:
-               return "IN"
-       case DNSClassCS:
-               return "CS"
-       case DNSClassCH:
-               return "CH"
-       case DNSClassHS:
-               return "HS"
-       case DNSClassAny:
-               return "Any"
-       }
-}
-
-// DNSType defines the type of data being requested/returned in a
-// question/answer.
-type DNSType uint16
-
-// DNSType known values.
-const (
-       DNSTypeA     DNSType = 1  // a host address
-       DNSTypeNS    DNSType = 2  // an authoritative name server
-       DNSTypeMD    DNSType = 3  // a mail destination (Obsolete - use MX)
-       DNSTypeMF    DNSType = 4  // a mail forwarder (Obsolete - use MX)
-       DNSTypeCNAME DNSType = 5  // the canonical name for an alias
-       DNSTypeSOA   DNSType = 6  // marks the start of a zone of authority
-       DNSTypeMB    DNSType = 7  // a mailbox domain name (EXPERIMENTAL)
-       DNSTypeMG    DNSType = 8  // a mail group member (EXPERIMENTAL)
-       DNSTypeMR    DNSType = 9  // a mail rename domain name (EXPERIMENTAL)
-       DNSTypeNULL  DNSType = 10 // a null RR (EXPERIMENTAL)
-       DNSTypeWKS   DNSType = 11 // a well known service description
-       DNSTypePTR   DNSType = 12 // a domain name pointer
-       DNSTypeHINFO DNSType = 13 // host information
-       DNSTypeMINFO DNSType = 14 // mailbox or mail list information
-       DNSTypeMX    DNSType = 15 // mail exchange
-       DNSTypeTXT   DNSType = 16 // text strings
-       DNSTypeAAAA  DNSType = 28 // a IPv6 host address [RFC3596]
-       DNSTypeSRV   DNSType = 33 // server discovery [RFC2782] [RFC6195]
-)
-
-func (dt DNSType) String() string {
-       switch dt {
-       default:
-               return "Unknown"
-       case DNSTypeA:
-               return "A"
-       case DNSTypeNS:
-               return "NS"
-       case DNSTypeMD:
-               return "MD"
-       case DNSTypeMF:
-               return "MF"
-       case DNSTypeCNAME:
-               return "CNAME"
-       case DNSTypeSOA:
-               return "SOA"
-       case DNSTypeMB:
-               return "MB"
-       case DNSTypeMG:
-               return "MG"
-       case DNSTypeMR:
-               return "MR"
-       case DNSTypeNULL:
-               return "NULL"
-       case DNSTypeWKS:
-               return "WKS"
-       case DNSTypePTR:
-               return "PTR"
-       case DNSTypeHINFO:
-               return "HINFO"
-       case DNSTypeMINFO:
-               return "MINFO"
-       case DNSTypeMX:
-               return "MX"
-       case DNSTypeTXT:
-               return "TXT"
-       case DNSTypeAAAA:
-               return "AAAA"
-       case DNSTypeSRV:
-               return "SRV"
-       }
-}
-
-// DNSResponseCode provides response codes for question answers.
-type DNSResponseCode uint8
-
-// DNSResponseCode known values.
-const (
-       DNSResponseCodeNoErr    DNSResponseCode = 0  // No error
-       DNSResponseCodeFormErr  DNSResponseCode = 1  // Format Error                       [RFC1035]
-       DNSResponseCodeServFail DNSResponseCode = 2  // Server Failure                     [RFC1035]
-       DNSResponseCodeNXDomain DNSResponseCode = 3  // Non-Existent Domain                [RFC1035]
-       DNSResponseCodeNotImp   DNSResponseCode = 4  // Not Implemented                    [RFC1035]
-       DNSResponseCodeRefused  DNSResponseCode = 5  // Query Refused                      [RFC1035]
-       DNSResponseCodeYXDomain DNSResponseCode = 6  // Name Exists when it should not     [RFC2136]
-       DNSResponseCodeYXRRSet  DNSResponseCode = 7  // RR Set Exists when it should not   [RFC2136]
-       DNSResponseCodeNXRRSet  DNSResponseCode = 8  // RR Set that should exist does not  [RFC2136]
-       DNSResponseCodeNotAuth  DNSResponseCode = 9  // Server Not Authoritative for zone  [RFC2136]
-       DNSResponseCodeNotZone  DNSResponseCode = 10 // Name not contained in zone         [RFC2136]
-       DNSResponseCodeBadVers  DNSResponseCode = 16 // Bad OPT Version                    [RFC2671]
-       DNSResponseCodeBadSig   DNSResponseCode = 16 // TSIG Signature Failure             [RFC2845]
-       DNSResponseCodeBadKey   DNSResponseCode = 17 // Key not recognized                 [RFC2845]
-       DNSResponseCodeBadTime  DNSResponseCode = 18 // Signature out of time window       [RFC2845]
-       DNSResponseCodeBadMode  DNSResponseCode = 19 // Bad TKEY Mode                      [RFC2930]
-       DNSResponseCodeBadName  DNSResponseCode = 20 // Duplicate key name                 [RFC2930]
-       DNSResponseCodeBadAlg   DNSResponseCode = 21 // Algorithm not supported            [RFC2930]
-       DNSResponseCodeBadTruc  DNSResponseCode = 22 // Bad Truncation                     [RFC4635]
-)
-
-func (drc DNSResponseCode) String() string {
-       switch drc {
-       default:
-               return "Unknown"
-       case DNSResponseCodeNoErr:
-               return "No Error"
-       case DNSResponseCodeFormErr:
-               return "Format Error"
-       case DNSResponseCodeServFail:
-               return "Server Failure "
-       case DNSResponseCodeNXDomain:
-               return "Non-Existent Domain"
-       case DNSResponseCodeNotImp:
-               return "Not Implemented"
-       case DNSResponseCodeRefused:
-               return "Query Refused"
-       case DNSResponseCodeYXDomain:
-               return "Name Exists when it should not"
-       case DNSResponseCodeYXRRSet:
-               return "RR Set Exists when it should not"
-       case DNSResponseCodeNXRRSet:
-               return "RR Set that should exist does not"
-       case DNSResponseCodeNotAuth:
-               return "Server Not Authoritative for zone"
-       case DNSResponseCodeNotZone:
-               return "Name not contained in zone"
-       case DNSResponseCodeBadVers:
-               return "Bad OPT Version"
-       case DNSResponseCodeBadKey:
-               return "Key not recognized"
-       case DNSResponseCodeBadTime:
-               return "Signature out of time window"
-       case DNSResponseCodeBadMode:
-               return "Bad TKEY Mode"
-       case DNSResponseCodeBadName:
-               return "Duplicate key name"
-       case DNSResponseCodeBadAlg:
-               return "Algorithm not supported"
-       case DNSResponseCodeBadTruc:
-               return "Bad Truncation"
-       }
-}
-
-// DNSOpCode defines a set of different operation types.
-type DNSOpCode uint8
-
-// DNSOpCode known values.
-const (
-       DNSOpCodeQuery  DNSOpCode = 0 // Query                  [RFC1035]
-       DNSOpCodeIQuery DNSOpCode = 1 // Inverse Query Obsolete [RFC3425]
-       DNSOpCodeStatus DNSOpCode = 2 // Status                 [RFC1035]
-       DNSOpCodeNotify DNSOpCode = 4 // Notify                 [RFC1996]
-       DNSOpCodeUpdate DNSOpCode = 5 // Update                 [RFC2136]
-)
-
-func (doc DNSOpCode) String() string {
-       switch doc {
-       default:
-               return "Unknown"
-       case DNSOpCodeQuery:
-               return "Query"
-       case DNSOpCodeIQuery:
-               return "Inverse Query"
-       case DNSOpCodeStatus:
-               return "Status"
-       case DNSOpCodeNotify:
-               return "Notify"
-       case DNSOpCodeUpdate:
-               return "Update"
-       }
-}
-
-// DNS is specified in RFC 1034 / RFC 1035
-// +---------------------+
-// |        Header       |
-// +---------------------+
-// |       Question      | the question for the name server
-// +---------------------+
-// |        Answer       | RRs answering the question
-// +---------------------+
-// |      Authority      | RRs pointing toward an authority
-// +---------------------+
-// |      Additional     | RRs holding additional information
-// +---------------------+
-//
-//  DNS Header
-//  0  1  2  3  4  5  6  7  8  9  0  1  2  3  4  5
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                      ID                       |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |QR|   Opcode  |AA|TC|RD|RA|   Z    |   RCODE   |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                    QDCOUNT                    |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                    ANCOUNT                    |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                    NSCOUNT                    |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                    ARCOUNT                    |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-
-// DNS contains data from a single Domain Name Service packet.
-type DNS struct {
-       BaseLayer
-
-       // Header fields
-       ID     uint16
-       QR     bool
-       OpCode DNSOpCode
-
-       AA bool  // Authoritative answer
-       TC bool  // Truncated
-       RD bool  // Recursion desired
-       RA bool  // Recursion available
-       Z  uint8 // Resrved for future use
-
-       ResponseCode DNSResponseCode
-       QDCount      uint16 // Number of questions to expect
-       ANCount      uint16 // Number of answers to expect
-       NSCount      uint16 // Number of authorities to expect
-       ARCount      uint16 // Number of additional records to expect
-
-       // Entries
-       Questions   []DNSQuestion
-       Answers     []DNSResourceRecord
-       Authorities []DNSResourceRecord
-       Additionals []DNSResourceRecord
-
-       // buffer for doing name decoding.  We use a single reusable buffer to avoid
-       // name decoding on a single object via multiple DecodeFromBytes calls
-       // requiring constant allocation of small byte slices.
-       buffer []byte
-}
-
-// LayerType returns gopacket.LayerTypeDNS.
-func (d *DNS) LayerType() gopacket.LayerType { return LayerTypeDNS }
-
-// decodeDNS decodes the byte slice into a DNS type. It also
-// setups the application Layer in PacketBuilder.
-func decodeDNS(data []byte, p gopacket.PacketBuilder) error {
-       d := &DNS{}
-       err := d.DecodeFromBytes(data, p)
-       if err != nil {
-               return err
-       }
-       p.AddLayer(d)
-       p.SetApplicationLayer(d)
-       return nil
-}
-
-// DecodeFromBytes decodes the slice into the DNS struct.
-func (d *DNS) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       d.buffer = d.buffer[:0]
-
-       if len(data) < 12 {
-               df.SetTruncated()
-               return errors.New("DNS packet too short")
-       }
-
-       // since there are no further layers, the baselayer's content is
-       // pointing to this layer
-       d.BaseLayer = BaseLayer{Contents: data[:len(data)]}
-       d.ID = binary.BigEndian.Uint16(data[:2])
-       d.QR = data[2]&0x80 != 0
-       d.OpCode = DNSOpCode(data[2]>>3) & 0x0F
-       d.AA = data[2]&0x04 != 0
-       d.TC = data[2]&0x02 != 0
-       d.RD = data[2]&0x01 != 0
-       d.RA = data[3]&0x80 != 0
-       d.Z = uint8(data[3]>>4) & 0x7
-       d.ResponseCode = DNSResponseCode(data[3] & 0xF)
-       d.QDCount = binary.BigEndian.Uint16(data[4:6])
-       d.ANCount = binary.BigEndian.Uint16(data[6:8])
-       d.NSCount = binary.BigEndian.Uint16(data[8:10])
-       d.ARCount = binary.BigEndian.Uint16(data[10:12])
-
-       d.Questions = d.Questions[:0]
-       d.Answers = d.Answers[:0]
-       d.Authorities = d.Authorities[:0]
-       d.Additionals = d.Additionals[:0]
-
-       offset := 12
-       var err error
-       for i := 0; i < int(d.QDCount); i++ {
-               var q DNSQuestion
-               if offset, err = q.decode(data, offset, df, &d.buffer); err != nil {
-                       return err
-               }
-               d.Questions = append(d.Questions, q)
-       }
-
-       // For some horrible reason, if we do the obvious thing in this loop:
-       //   var r DNSResourceRecord
-       //   if blah := r.decode(blah); err != nil {
-       //     return err
-       //   }
-       //   d.Foo = append(d.Foo, r)
-       // the Go compiler thinks that 'r' escapes to the heap, causing a malloc for
-       // every Answer, Authority, and Additional.  To get around this, we do
-       // something really silly:  we append an empty resource record to our slice,
-       // then use the last value in the slice to call decode.  Since the value is
-       // already in the slice, there's no WAY it can escape... on the other hand our
-       // code is MUCH uglier :(
-       for i := 0; i < int(d.ANCount); i++ {
-               d.Answers = append(d.Answers, DNSResourceRecord{})
-               if offset, err = d.Answers[i].decode(data, offset, df, &d.buffer); err != nil {
-                       d.Answers = d.Answers[:i] // strip off erroneous value
-                       return err
-               }
-       }
-       for i := 0; i < int(d.NSCount); i++ {
-               d.Authorities = append(d.Authorities, DNSResourceRecord{})
-               if offset, err = d.Authorities[i].decode(data, offset, df, &d.buffer); err != nil {
-                       d.Authorities = d.Authorities[:i] // strip off erroneous value
-                       return err
-               }
-       }
-       for i := 0; i < int(d.ARCount); i++ {
-               d.Additionals = append(d.Additionals, DNSResourceRecord{})
-               if offset, err = d.Additionals[i].decode(data, offset, df, &d.buffer); err != nil {
-                       d.Additionals = d.Additionals[:i] // strip off erroneous value
-                       return err
-               }
-       }
-
-       if uint16(len(d.Questions)) != d.QDCount {
-               return errors.New("Invalid query decoding, not the right number of questions")
-       } else if uint16(len(d.Answers)) != d.ANCount {
-               return errors.New("Invalid query decoding, not the right number of answers")
-       } else if uint16(len(d.Authorities)) != d.NSCount {
-               return errors.New("Invalid query decoding, not the right number of authorities")
-       } else if uint16(len(d.Additionals)) != d.ARCount {
-               return errors.New("Invalid query decoding, not the right number of additionals info")
-       }
-       return nil
-}
-
-// CanDecode implements gopacket.DecodingLayer.
-func (d *DNS) CanDecode() gopacket.LayerClass {
-       return LayerTypeDNS
-}
-
-// NextLayerType implements gopacket.DecodingLayer.
-func (d *DNS) NextLayerType() gopacket.LayerType {
-       return gopacket.LayerTypePayload
-}
-
-// Payload returns nil.
-func (d *DNS) Payload() []byte {
-       return nil
-}
-
-func b2i(b bool) int {
-       if b {
-               return 1
-       }
-       return 0
-}
-
-func recSize(rr *DNSResourceRecord) int {
-       switch rr.Type {
-       case DNSTypeA:
-               return 4
-       case DNSTypeAAAA:
-               return 16
-       case DNSTypeNS:
-               return len(rr.NS) + 2
-       case DNSTypeCNAME:
-               return len(rr.CNAME) + 2
-       case DNSTypePTR:
-               return len(rr.PTR) + 2
-       case DNSTypeSOA:
-               return len(rr.SOA.MName) + 2 + len(rr.SOA.RName) + 2 + 20
-       case DNSTypeMX:
-               return 2 + len(rr.MX.Name) + 2
-       case DNSTypeTXT:
-               l := len(rr.TXTs)
-               for _, txt := range rr.TXTs {
-                       l += len(txt)
-               }
-               return l
-       case DNSTypeSRV:
-               return 6 + len(rr.SRV.Name) + 2
-       }
-
-       return 0
-}
-
-func computeSize(recs []DNSResourceRecord) int {
-       sz := 0
-       for _, rr := range recs {
-               sz += len(rr.Name) + 14
-               sz += recSize(&rr)
-       }
-       return sz
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-func (d *DNS) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       dsz := 0
-       for _, q := range d.Questions {
-               dsz += len(q.Name) + 6
-       }
-       dsz += computeSize(d.Answers)
-       dsz += computeSize(d.Authorities)
-       dsz += computeSize(d.Additionals)
-
-       bytes, err := b.PrependBytes(12 + dsz)
-       if err != nil {
-               return err
-       }
-       binary.BigEndian.PutUint16(bytes, d.ID)
-       bytes[2] = byte((b2i(d.QR) << 7) | (int(d.OpCode) << 3) | (b2i(d.AA) << 2) | (b2i(d.TC) << 1) | b2i(d.RD))
-       bytes[3] = byte((b2i(d.RA) << 7) | (int(d.Z) << 4) | int(d.ResponseCode))
-
-       if opts.FixLengths {
-               d.QDCount = uint16(len(d.Questions))
-               d.ANCount = uint16(len(d.Answers))
-               d.NSCount = uint16(len(d.Authorities))
-               d.ARCount = uint16(len(d.Additionals))
-       }
-       binary.BigEndian.PutUint16(bytes[4:], d.QDCount)
-       binary.BigEndian.PutUint16(bytes[6:], d.ANCount)
-       binary.BigEndian.PutUint16(bytes[8:], d.NSCount)
-       binary.BigEndian.PutUint16(bytes[10:], d.ARCount)
-
-       off := 12
-       for _, qd := range d.Questions {
-               n := qd.encode(bytes, off)
-               off += n
-       }
-
-       for i := range d.Answers {
-               // done this way so we can modify DNSResourceRecord to fix
-               // lengths if requested
-               qa := &d.Answers[i]
-               n, err := qa.encode(bytes, off, opts)
-               if err != nil {
-                       return err
-               }
-               off += n
-       }
-
-       for i := range d.Authorities {
-               qa := &d.Authorities[i]
-               n, err := qa.encode(bytes, off, opts)
-               if err != nil {
-                       return err
-               }
-               off += n
-       }
-       for i := range d.Additionals {
-               qa := &d.Additionals[i]
-               n, err := qa.encode(bytes, off, opts)
-               if err != nil {
-                       return err
-               }
-               off += n
-       }
-
-       return nil
-}
-
-var errMaxRecursion = errors.New("max DNS recursion level hit")
-
-const maxRecursionLevel = 255
-
-func decodeName(data []byte, offset int, buffer *[]byte, level int) ([]byte, int, error) {
-       if level > maxRecursionLevel {
-               return nil, 0, errMaxRecursion
-       } else if offset >= len(data) {
-               return nil, 0, errors.New("dns name offset too high")
-       } else if offset < 0 {
-               return nil, 0, errors.New("dns name offset is negative")
-       }
-       start := len(*buffer)
-       index := offset
-       if data[index] == 0x00 {
-               return nil, index + 1, nil
-       }
-loop:
-       for data[index] != 0x00 {
-               switch data[index] & 0xc0 {
-               default:
-                       /* RFC 1035
-                          A domain name represented as a sequence of labels, where
-                          each label consists of a length octet followed by that
-                          number of octets.  The domain name terminates with the
-                          zero length octet for the null label of the root.  Note
-                          that this field may be an odd number of octets; no
-                          padding is used.
-                       */
-                       index2 := index + int(data[index]) + 1
-                       if index2-offset > 255 {
-                               return nil, 0, errors.New("dns name is too long")
-                       } else if index2 < index+1 || index2 > len(data) {
-                               return nil, 0, errors.New("dns name uncomputable: invalid index")
-                       }
-                       *buffer = append(*buffer, '.')
-                       *buffer = append(*buffer, data[index+1:index2]...)
-                       index = index2
-
-               case 0xc0:
-                       /* RFC 1035
-                          The pointer takes the form of a two octet sequence.
-
-                          The first two bits are ones.  This allows a pointer to
-                          be distinguished from a label, since the label must
-                          begin with two zero bits because labels are restricted
-                          to 63 octets or less.  (The 10 and 01 combinations are
-                          reserved for future use.)  The OFFSET field specifies
-                          an offset from the start of the message (i.e., the
-                          first octet of the ID field in the domain header).  A
-                          zero offset specifies the first byte of the ID field,
-                          etc.
-
-                          The compression scheme allows a domain name in a message to be
-                          represented as either:
-                             - a sequence of labels ending in a zero octet
-                             - a pointer
-                             - a sequence of labels ending with a pointer
-                       */
-                       if index+2 > len(data) {
-                               return nil, 0, errors.New("dns offset pointer too high")
-                       }
-                       offsetp := int(binary.BigEndian.Uint16(data[index:index+2]) & 0x3fff)
-                       if offsetp > len(data) {
-                               return nil, 0, errors.New("dns offset pointer too high")
-                       }
-                       // This looks a little tricky, but actually isn't.  Because of how
-                       // decodeName is written, calling it appends the decoded name to the
-                       // current buffer.  We already have the start of the buffer, then, so
-                       // once this call is done buffer[start:] will contain our full name.
-                       _, _, err := decodeName(data, offsetp, buffer, level+1)
-                       if err != nil {
-                               return nil, 0, err
-                       }
-                       index++ // pointer is two bytes, so add an extra byte here.
-                       break loop
-               /* EDNS, or other DNS option ? */
-               case 0x40: // RFC 2673
-                       return nil, 0, fmt.Errorf("qname '0x40' - RFC 2673 unsupported yet (data=%x index=%d)",
-                               data[index], index)
-
-               case 0x80:
-                       return nil, 0, fmt.Errorf("qname '0x80' unsupported yet (data=%x index=%d)",
-                               data[index], index)
-               }
-               if index >= len(data) {
-                       return nil, 0, errors.New("dns index walked out of range")
-               }
-       }
-       if len(*buffer) <= start {
-               return nil, 0, errors.New("no dns data found for name")
-       }
-       return (*buffer)[start+1:], index + 1, nil
-}
-
-// DNSQuestion wraps a single request (question) within a DNS query.
-type DNSQuestion struct {
-       Name  []byte
-       Type  DNSType
-       Class DNSClass
-}
-
-func (q *DNSQuestion) decode(data []byte, offset int, df gopacket.DecodeFeedback, buffer *[]byte) (int, error) {
-       name, endq, err := decodeName(data, offset, buffer, 1)
-       if err != nil {
-               return 0, err
-       }
-
-       q.Name = name
-       q.Type = DNSType(binary.BigEndian.Uint16(data[endq : endq+2]))
-       q.Class = DNSClass(binary.BigEndian.Uint16(data[endq+2 : endq+4]))
-
-       return endq + 4, nil
-}
-
-func (q *DNSQuestion) encode(data []byte, offset int) int {
-       noff := encodeName(q.Name, data, offset)
-       binary.BigEndian.PutUint16(data[noff:], uint16(q.Type))
-       binary.BigEndian.PutUint16(data[noff+2:], uint16(q.Class))
-       return len(q.Name) + 6
-}
-
-//  DNSResourceRecord
-//  0  1  2  3  4  5  6  7  8  9  0  1  2  3  4  5
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                                               |
-//  /                                               /
-//  /                      NAME                     /
-//  |                                               |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                      TYPE                     |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                     CLASS                     |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                      TTL                      |
-//  |                                               |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                   RDLENGTH                    |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--|
-//  /                     RDATA                     /
-//  /                                               /
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-
-// DNSResourceRecord wraps the data from a single DNS resource within a
-// response.
-type DNSResourceRecord struct {
-       // Header
-       Name  []byte
-       Type  DNSType
-       Class DNSClass
-       TTL   uint32
-
-       // RDATA Raw Values
-       DataLength uint16
-       Data       []byte
-
-       // RDATA Decoded Values
-       IP             net.IP
-       NS, CNAME, PTR []byte
-       TXTs           [][]byte
-       SOA            DNSSOA
-       SRV            DNSSRV
-       MX             DNSMX
-
-       // Undecoded TXT for backward compatibility
-       TXT []byte
-}
-
-// decode decodes the resource record, returning the total length of the record.
-func (rr *DNSResourceRecord) decode(data []byte, offset int, df gopacket.DecodeFeedback, buffer *[]byte) (int, error) {
-       name, endq, err := decodeName(data, offset, buffer, 1)
-       if err != nil {
-               return 0, err
-       }
-
-       rr.Name = name
-       rr.Type = DNSType(binary.BigEndian.Uint16(data[endq : endq+2]))
-       rr.Class = DNSClass(binary.BigEndian.Uint16(data[endq+2 : endq+4]))
-       rr.TTL = binary.BigEndian.Uint32(data[endq+4 : endq+8])
-       rr.DataLength = binary.BigEndian.Uint16(data[endq+8 : endq+10])
-       end := endq + 10 + int(rr.DataLength)
-       if end > len(data) {
-               return 0, fmt.Errorf("resource record length exceeds data")
-       }
-       rr.Data = data[endq+10 : end]
-
-       if err = rr.decodeRData(data, endq+10, buffer); err != nil {
-               return 0, err
-       }
-
-       return endq + 10 + int(rr.DataLength), nil
-}
-
-func encodeName(name []byte, data []byte, offset int) int {
-       l := 0
-       for i := range name {
-               if name[i] == '.' {
-                       data[offset+i-l] = byte(l)
-                       l = 0
-               } else {
-                       // skip one to write the length
-                       data[offset+i+1] = name[i]
-                       l++
-               }
-       }
-       // length for final portion
-       data[offset+len(name)-l] = byte(l)
-       data[offset+len(name)+1] = 0x00 // terminal
-       return offset + len(name) + 2
-}
-
-func (rr *DNSResourceRecord) encode(data []byte, offset int, opts gopacket.SerializeOptions) (int, error) {
-
-       noff := encodeName(rr.Name, data, offset)
-
-       binary.BigEndian.PutUint16(data[noff:], uint16(rr.Type))
-       binary.BigEndian.PutUint16(data[noff+2:], uint16(rr.Class))
-       binary.BigEndian.PutUint32(data[noff+4:], uint32(rr.TTL))
-
-       switch rr.Type {
-       case DNSTypeA:
-               copy(data[noff+10:], rr.IP.To4())
-       case DNSTypeAAAA:
-               copy(data[noff+10:], rr.IP)
-       case DNSTypeNS:
-               encodeName(rr.NS, data, noff+10)
-       case DNSTypeCNAME:
-               encodeName(rr.CNAME, data, noff+10)
-       case DNSTypePTR:
-               encodeName(rr.PTR, data, noff+10)
-       case DNSTypeSOA:
-               noff2 := encodeName(rr.SOA.MName, data, noff+10)
-               noff2 = encodeName(rr.SOA.RName, data, noff2)
-               binary.BigEndian.PutUint32(data[noff2:], rr.SOA.Serial)
-               binary.BigEndian.PutUint32(data[noff2+4:], rr.SOA.Refresh)
-               binary.BigEndian.PutUint32(data[noff2+8:], rr.SOA.Retry)
-               binary.BigEndian.PutUint32(data[noff2+12:], rr.SOA.Expire)
-               binary.BigEndian.PutUint32(data[noff2+16:], rr.SOA.Minimum)
-       case DNSTypeMX:
-               binary.BigEndian.PutUint16(data[noff+10:], rr.MX.Preference)
-               encodeName(rr.MX.Name, data, noff+12)
-       case DNSTypeTXT:
-               noff2 := noff + 10
-               for _, txt := range rr.TXTs {
-                       data[noff2] = byte(len(txt))
-                       copy(data[noff2+1:], txt)
-                       noff2 += 1 + len(txt)
-               }
-       case DNSTypeSRV:
-               binary.BigEndian.PutUint16(data[noff+10:], rr.SRV.Priority)
-               binary.BigEndian.PutUint16(data[noff+12:], rr.SRV.Weight)
-               binary.BigEndian.PutUint16(data[noff+14:], rr.SRV.Port)
-               encodeName(rr.SRV.Name, data, noff+16)
-       default:
-               return 0, fmt.Errorf("serializing resource record of type %v not supported", rr.Type)
-       }
-
-       // DataLength
-       dSz := recSize(rr)
-       binary.BigEndian.PutUint16(data[noff+8:], uint16(dSz))
-
-       if opts.FixLengths {
-               rr.DataLength = uint16(dSz)
-       }
-
-       return len(rr.Name) + 1 + 11 + dSz, nil
-}
-
-func (rr *DNSResourceRecord) String() string {
-
-       if rr.Class == DNSClassIN {
-               switch rr.Type {
-               case DNSTypeA, DNSTypeAAAA:
-                       return rr.IP.String()
-               case DNSTypeNS:
-                       return "NS " + string(rr.NS)
-               case DNSTypeCNAME:
-                       return "CNAME " + string(rr.CNAME)
-               case DNSTypePTR:
-                       return "PTR " + string(rr.PTR)
-               case DNSTypeTXT:
-                       return "TXT " + string(rr.TXT)
-               }
-       }
-
-       return fmt.Sprintf("<%v, %v>", rr.Class, rr.Type)
-}
-
-func decodeCharacterStrings(data []byte) ([][]byte, error) {
-       strings := make([][]byte, 0, 1)
-       end := len(data)
-       for index, index2 := 0, 0; index != end; index = index2 {
-               index2 = index + 1 + int(data[index]) // index increases by 1..256 and does not overflow
-               if index2 > end {
-                       return nil, errors.New("Insufficient data for a <character-string>")
-               }
-               strings = append(strings, data[index+1:index2])
-       }
-       return strings, nil
-}
-
-func (rr *DNSResourceRecord) decodeRData(data []byte, offset int, buffer *[]byte) error {
-       switch rr.Type {
-       case DNSTypeA:
-               rr.IP = rr.Data
-       case DNSTypeAAAA:
-               rr.IP = rr.Data
-       case DNSTypeTXT, DNSTypeHINFO:
-               rr.TXT = rr.Data
-               txts, err := decodeCharacterStrings(rr.Data)
-               if err != nil {
-                       return err
-               }
-               rr.TXTs = txts
-       case DNSTypeNS:
-               name, _, err := decodeName(data, offset, buffer, 1)
-               if err != nil {
-                       return err
-               }
-               rr.NS = name
-       case DNSTypeCNAME:
-               name, _, err := decodeName(data, offset, buffer, 1)
-               if err != nil {
-                       return err
-               }
-               rr.CNAME = name
-       case DNSTypePTR:
-               name, _, err := decodeName(data, offset, buffer, 1)
-               if err != nil {
-                       return err
-               }
-               rr.PTR = name
-       case DNSTypeSOA:
-               name, endq, err := decodeName(data, offset, buffer, 1)
-               if err != nil {
-                       return err
-               }
-               rr.SOA.MName = name
-               name, endq, err = decodeName(data, endq, buffer, 1)
-               if err != nil {
-                       return err
-               }
-               rr.SOA.RName = name
-               rr.SOA.Serial = binary.BigEndian.Uint32(data[endq : endq+4])
-               rr.SOA.Refresh = binary.BigEndian.Uint32(data[endq+4 : endq+8])
-               rr.SOA.Retry = binary.BigEndian.Uint32(data[endq+8 : endq+12])
-               rr.SOA.Expire = binary.BigEndian.Uint32(data[endq+12 : endq+16])
-               rr.SOA.Minimum = binary.BigEndian.Uint32(data[endq+16 : endq+20])
-       case DNSTypeMX:
-               rr.MX.Preference = binary.BigEndian.Uint16(data[offset : offset+2])
-               name, _, err := decodeName(data, offset+2, buffer, 1)
-               if err != nil {
-                       return err
-               }
-               rr.MX.Name = name
-       case DNSTypeSRV:
-               rr.SRV.Priority = binary.BigEndian.Uint16(data[offset : offset+2])
-               rr.SRV.Weight = binary.BigEndian.Uint16(data[offset+2 : offset+4])
-               rr.SRV.Port = binary.BigEndian.Uint16(data[offset+4 : offset+6])
-               name, _, err := decodeName(data, offset+6, buffer, 1)
-               if err != nil {
-                       return err
-               }
-               rr.SRV.Name = name
-       }
-       return nil
-}
-
-// DNSSOA is a Start of Authority record.  Each domain requires a SOA record at
-// the cutover where a domain is delegated from its parent.
-type DNSSOA struct {
-       MName, RName                            []byte
-       Serial, Refresh, Retry, Expire, Minimum uint32
-}
-
-// DNSSRV is a Service record, defining a location (hostname/port) of a
-// server/service.
-type DNSSRV struct {
-       Priority, Weight, Port uint16
-       Name                   []byte
-}
-
-// DNSMX is a mail exchange record, defining a mail server for a recipient's
-// domain.
-type DNSMX struct {
-       Preference uint16
-       Name       []byte
-}
diff --git a/vendor/github.com/google/gopacket/layers/doc.go b/vendor/github.com/google/gopacket/layers/doc.go
deleted file mode 100644 (file)
index 3c882c3..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-/*
-Package layers provides decoding layers for many common protocols.
-
-The layers package contains decode implementations for a number of different
-types of packet layers.  Users of gopacket will almost always want to also use
-layers to actually decode packet data into useful pieces. To see the set of
-protocols that gopacket/layers is currently able to decode,
-look at the set of LayerTypes defined in the Variables sections. The
-layers package also defines endpoints for many of the common packet layers
-that have source/destination addresses associated with them, for example IPv4/6
-(IPs) and TCP/UDP (ports).
-Finally, layers contains a number of useful enumerations (IPProtocol,
-EthernetType, LinkType, PPPType, etc...).  Many of these implement the
-gopacket.Decoder interface, so they can be passed into gopacket as decoders.
-
-Most common protocol layers are named using acronyms or other industry-common
-names (IPv4, TCP, PPP).  Some of the less common ones have their names expanded
-(CiscoDiscoveryProtocol).
-For certain protocols, sub-parts of the protocol are split out into their own
-layers (SCTP, for example).  This is done mostly in cases where portions of the
-protocol may fulfill the capabilities of interesting layers (SCTPData implements
-ApplicationLayer, while base SCTP implements TransportLayer), or possibly
-because splitting a protocol into a few layers makes decoding easier.
-
-This package is meant to be used with its parent,
-http://github.com/google/gopacket.
-
-Port Types
-
-Instead of using raw uint16 or uint8 values for ports, we use a different port
-type for every protocol, for example TCPPort and UDPPort.  This allows us to
-override string behavior for each port, which we do by setting up port name
-maps (TCPPortNames, UDPPortNames, etc...).  Well-known ports are annotated with
-their protocol names, and their String function displays these names:
-
-  p := TCPPort(80)
-  fmt.Printf("Number: %d  String: %v", p, p)
-  // Prints: "Number: 80  String: 80(http)"
-
-Modifying Decode Behavior
-
-layers links together decoding through its enumerations.  For example, after
-decoding layer type Ethernet, it uses Ethernet.EthernetType as its next decoder.
-All enumerations that act as decoders, like EthernetType, can be modified by
-users depending on their preferences.  For example, if you have a spiffy new
-IPv4 decoder that works way better than the one built into layers, you can do
-this:
-
- var mySpiffyIPv4Decoder gopacket.Decoder = ...
- layers.EthernetTypeMetadata[EthernetTypeIPv4].DecodeWith = mySpiffyIPv4Decoder
-
-This will make all future ethernet packets use your new decoder to decode IPv4
-packets, instead of the built-in decoder used by gopacket.
-*/
-package layers
diff --git a/vendor/github.com/google/gopacket/layers/dot11.go b/vendor/github.com/google/gopacket/layers/dot11.go
deleted file mode 100644 (file)
index 1b53026..0000000
+++ /dev/null
@@ -1,1430 +0,0 @@
-// Copyright 2014 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-// See http://standards.ieee.org/findstds/standard/802.11-2012.html for info on
-// all of the layers in this file.
-
-package layers
-
-import (
-       "bytes"
-       "encoding/binary"
-       "fmt"
-       "hash/crc32"
-       "net"
-
-       "github.com/google/gopacket"
-)
-
-// Dot11Flags contains the set of 8 flags in the IEEE 802.11 frame control
-// header, all in one place.
-type Dot11Flags uint8
-
-const (
-       Dot11FlagsToDS Dot11Flags = 1 << iota
-       Dot11FlagsFromDS
-       Dot11FlagsMF
-       Dot11FlagsRetry
-       Dot11FlagsPowerManagement
-       Dot11FlagsMD
-       Dot11FlagsWEP
-       Dot11FlagsOrder
-)
-
-func (d Dot11Flags) ToDS() bool {
-       return d&Dot11FlagsToDS != 0
-}
-func (d Dot11Flags) FromDS() bool {
-       return d&Dot11FlagsFromDS != 0
-}
-func (d Dot11Flags) MF() bool {
-       return d&Dot11FlagsMF != 0
-}
-func (d Dot11Flags) Retry() bool {
-       return d&Dot11FlagsRetry != 0
-}
-func (d Dot11Flags) PowerManagement() bool {
-       return d&Dot11FlagsPowerManagement != 0
-}
-func (d Dot11Flags) MD() bool {
-       return d&Dot11FlagsMD != 0
-}
-func (d Dot11Flags) WEP() bool {
-       return d&Dot11FlagsWEP != 0
-}
-func (d Dot11Flags) Order() bool {
-       return d&Dot11FlagsOrder != 0
-}
-
-// String provides a human readable string for Dot11Flags.
-// This string is possibly subject to change over time; if you're storing this
-// persistently, you should probably store the Dot11Flags value, not its string.
-func (a Dot11Flags) String() string {
-       var out bytes.Buffer
-       if a.ToDS() {
-               out.WriteString("TO-DS,")
-       }
-       if a.FromDS() {
-               out.WriteString("FROM-DS,")
-       }
-       if a.MF() {
-               out.WriteString("MF,")
-       }
-       if a.Retry() {
-               out.WriteString("Retry,")
-       }
-       if a.PowerManagement() {
-               out.WriteString("PowerManagement,")
-       }
-       if a.MD() {
-               out.WriteString("MD,")
-       }
-       if a.WEP() {
-               out.WriteString("WEP,")
-       }
-       if a.Order() {
-               out.WriteString("Order,")
-       }
-
-       if length := out.Len(); length > 0 {
-               return string(out.Bytes()[:length-1]) // strip final comma
-       }
-       return ""
-}
-
-type Dot11Reason uint16
-
-// TODO: Verify these reasons, and append more reasons if necessary.
-
-const (
-       Dot11ReasonReserved          Dot11Reason = 1
-       Dot11ReasonUnspecified       Dot11Reason = 2
-       Dot11ReasonAuthExpired       Dot11Reason = 3
-       Dot11ReasonDeauthStLeaving   Dot11Reason = 4
-       Dot11ReasonInactivity        Dot11Reason = 5
-       Dot11ReasonApFull            Dot11Reason = 6
-       Dot11ReasonClass2FromNonAuth Dot11Reason = 7
-       Dot11ReasonClass3FromNonAss  Dot11Reason = 8
-       Dot11ReasonDisasStLeaving    Dot11Reason = 9
-       Dot11ReasonStNotAuth         Dot11Reason = 10
-)
-
-// String provides a human readable string for Dot11Reason.
-// This string is possibly subject to change over time; if you're storing this
-// persistently, you should probably store the Dot11Reason value, not its string.
-func (a Dot11Reason) String() string {
-       switch a {
-       case Dot11ReasonReserved:
-               return "Reserved"
-       case Dot11ReasonUnspecified:
-               return "Unspecified"
-       case Dot11ReasonAuthExpired:
-               return "Auth. expired"
-       case Dot11ReasonDeauthStLeaving:
-               return "Deauth. st. leaving"
-       case Dot11ReasonInactivity:
-               return "Inactivity"
-       case Dot11ReasonApFull:
-               return "Ap. full"
-       case Dot11ReasonClass2FromNonAuth:
-               return "Class2 from non auth."
-       case Dot11ReasonClass3FromNonAss:
-               return "Class3 from non ass."
-       case Dot11ReasonDisasStLeaving:
-               return "Disass st. leaving"
-       case Dot11ReasonStNotAuth:
-               return "St. not auth."
-       default:
-               return "Unknown reason"
-       }
-}
-
-type Dot11Status uint16
-
-const (
-       Dot11StatusSuccess                      Dot11Status = 0
-       Dot11StatusFailure                      Dot11Status = 1  // Unspecified failure
-       Dot11StatusCannotSupportAllCapabilities Dot11Status = 10 // Cannot support all requested capabilities in the Capability Information field
-       Dot11StatusInabilityExistsAssociation   Dot11Status = 11 // Reassociation denied due to inability to confirm that association exists
-       Dot11StatusAssociationDenied            Dot11Status = 12 // Association denied due to reason outside the scope of this standard
-       Dot11StatusAlgorithmUnsupported         Dot11Status = 13 // Responding station does not support the specified authentication algorithm
-       Dot11StatusOufOfExpectedSequence        Dot11Status = 14 // Received an Authentication frame with authentication transaction sequence number out of expected sequence
-       Dot11StatusChallengeFailure             Dot11Status = 15 // Authentication rejected because of challenge failure
-       Dot11StatusTimeout                      Dot11Status = 16 // Authentication rejected due to timeout waiting for next frame in sequence
-       Dot11StatusAPUnableToHandle             Dot11Status = 17 // Association denied because AP is unable to handle additional associated stations
-       Dot11StatusRateUnsupported              Dot11Status = 18 // Association denied due to requesting station not supporting all of the data rates in the BSSBasicRateSet parameter
-)
-
-// String provides a human readable string for Dot11Status.
-// This string is possibly subject to change over time; if you're storing this
-// persistently, you should probably store the Dot11Status value, not its string.
-func (a Dot11Status) String() string {
-       switch a {
-       case Dot11StatusSuccess:
-               return "success"
-       case Dot11StatusFailure:
-               return "failure"
-       case Dot11StatusCannotSupportAllCapabilities:
-               return "cannot-support-all-capabilities"
-       case Dot11StatusInabilityExistsAssociation:
-               return "inability-exists-association"
-       case Dot11StatusAssociationDenied:
-               return "association-denied"
-       case Dot11StatusAlgorithmUnsupported:
-               return "algorithm-unsupported"
-       case Dot11StatusOufOfExpectedSequence:
-               return "out-of-expected-sequence"
-       case Dot11StatusChallengeFailure:
-               return "challenge-failure"
-       case Dot11StatusTimeout:
-               return "timeout"
-       case Dot11StatusAPUnableToHandle:
-               return "ap-unable-to-handle"
-       case Dot11StatusRateUnsupported:
-               return "rate-unsupported"
-       default:
-               return "unknown status"
-       }
-}
-
-type Dot11AckPolicy uint8
-
-const (
-       Dot11AckPolicyNormal     Dot11AckPolicy = 0
-       Dot11AckPolicyNone       Dot11AckPolicy = 1
-       Dot11AckPolicyNoExplicit Dot11AckPolicy = 2
-       Dot11AckPolicyBlock      Dot11AckPolicy = 3
-)
-
-// String provides a human readable string for Dot11AckPolicy.
-// This string is possibly subject to change over time; if you're storing this
-// persistently, you should probably store the Dot11AckPolicy value, not its string.
-func (a Dot11AckPolicy) String() string {
-       switch a {
-       case Dot11AckPolicyNormal:
-               return "normal-ack"
-       case Dot11AckPolicyNone:
-               return "no-ack"
-       case Dot11AckPolicyNoExplicit:
-               return "no-explicit-ack"
-       case Dot11AckPolicyBlock:
-               return "block-ack"
-       default:
-               return "unknown-ack-policy"
-       }
-}
-
-type Dot11Algorithm uint16
-
-const (
-       Dot11AlgorithmOpen      Dot11Algorithm = 0
-       Dot11AlgorithmSharedKey Dot11Algorithm = 1
-)
-
-// String provides a human readable string for Dot11Algorithm.
-// This string is possibly subject to change over time; if you're storing this
-// persistently, you should probably store the Dot11Algorithm value, not its string.
-func (a Dot11Algorithm) String() string {
-       switch a {
-       case Dot11AlgorithmOpen:
-               return "open"
-       case Dot11AlgorithmSharedKey:
-               return "shared-key"
-       default:
-               return "unknown-algorithm"
-       }
-}
-
-type Dot11InformationElementID uint8
-
-// TODO: Verify these element ids, and append more ids if more.
-
-const (
-       Dot11InformationElementIDSSID          Dot11InformationElementID = 0
-       Dot11InformationElementIDRates         Dot11InformationElementID = 1
-       Dot11InformationElementIDFHSet         Dot11InformationElementID = 2
-       Dot11InformationElementIDDSSet         Dot11InformationElementID = 3
-       Dot11InformationElementIDCFSet         Dot11InformationElementID = 4
-       Dot11InformationElementIDTIM           Dot11InformationElementID = 5
-       Dot11InformationElementIDIBSSSet       Dot11InformationElementID = 6
-       Dot11InformationElementIDChallenge     Dot11InformationElementID = 16
-       Dot11InformationElementIDERPInfo       Dot11InformationElementID = 42
-       Dot11InformationElementIDQOSCapability Dot11InformationElementID = 46
-       Dot11InformationElementIDERPInfo2      Dot11InformationElementID = 47
-       Dot11InformationElementIDRSNInfo       Dot11InformationElementID = 48
-       Dot11InformationElementIDESRates       Dot11InformationElementID = 50
-       Dot11InformationElementIDVendor        Dot11InformationElementID = 221
-       Dot11InformationElementIDReserved      Dot11InformationElementID = 68
-)
-
-// String provides a human readable string for Dot11InformationElementID.
-// This string is possibly subject to change over time; if you're storing this
-// persistently, you should probably store the Dot11InformationElementID value,
-// not its string.
-func (a Dot11InformationElementID) String() string {
-       switch a {
-       case Dot11InformationElementIDSSID:
-               return "SSID"
-       case Dot11InformationElementIDRates:
-               return "Rates"
-       case Dot11InformationElementIDFHSet:
-               return "FHset"
-       case Dot11InformationElementIDDSSet:
-               return "DSset"
-       case Dot11InformationElementIDCFSet:
-               return "CFset"
-       case Dot11InformationElementIDTIM:
-               return "TIM"
-       case Dot11InformationElementIDIBSSSet:
-               return "IBSSset"
-       case Dot11InformationElementIDChallenge:
-               return "Challenge"
-       case Dot11InformationElementIDERPInfo:
-               return "ERPinfo"
-       case Dot11InformationElementIDQOSCapability:
-               return "QOS capability"
-       case Dot11InformationElementIDERPInfo2:
-               return "ERPinfo2"
-       case Dot11InformationElementIDRSNInfo:
-               return "RSNinfo"
-       case Dot11InformationElementIDESRates:
-               return "ESrates"
-       case Dot11InformationElementIDVendor:
-               return "Vendor"
-       case Dot11InformationElementIDReserved:
-               return "Reserved"
-       default:
-               return "Unknown information element id"
-       }
-}
-
-// Dot11 provides an IEEE 802.11 base packet header.
-// See http://standards.ieee.org/findstds/standard/802.11-2012.html
-// for excrutiating detail.
-type Dot11 struct {
-       BaseLayer
-       Type           Dot11Type
-       Proto          uint8
-       Flags          Dot11Flags
-       DurationID     uint16
-       Address1       net.HardwareAddr
-       Address2       net.HardwareAddr
-       Address3       net.HardwareAddr
-       Address4       net.HardwareAddr
-       SequenceNumber uint16
-       FragmentNumber uint16
-       Checksum       uint32
-}
-
-func decodeDot11(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11) LayerType() gopacket.LayerType  { return LayerTypeDot11 }
-func (m *Dot11) CanDecode() gopacket.LayerClass { return LayerTypeDot11 }
-func (m *Dot11) NextLayerType() gopacket.LayerType {
-       if m.Flags.WEP() {
-               return (LayerTypeDot11WEP)
-       }
-
-       return m.Type.LayerType()
-}
-
-func (m *Dot11) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       if len(data) < 10 {
-               df.SetTruncated()
-               return fmt.Errorf("Dot11 length %v too short, %v required", len(data), 10)
-       }
-       m.Type = Dot11Type((data[0])&0xFC) >> 2
-
-       m.Proto = uint8(data[0]) & 0x0003
-       m.Flags = Dot11Flags(data[1])
-       m.DurationID = binary.LittleEndian.Uint16(data[2:4])
-       m.Address1 = net.HardwareAddr(data[4:10])
-
-       offset := 10
-
-       mainType := m.Type.MainType()
-
-       switch mainType {
-       case Dot11TypeCtrl:
-               switch m.Type {
-               case Dot11TypeCtrlRTS, Dot11TypeCtrlPowersavePoll, Dot11TypeCtrlCFEnd, Dot11TypeCtrlCFEndAck:
-                       if len(data) < offset+6 {
-                               df.SetTruncated()
-                               return fmt.Errorf("Dot11 length %v too short, %v required", len(data), offset+6)
-                       }
-                       m.Address2 = net.HardwareAddr(data[offset : offset+6])
-                       offset += 6
-               }
-       case Dot11TypeMgmt, Dot11TypeData:
-               if len(data) < offset+14 {
-                       df.SetTruncated()
-                       return fmt.Errorf("Dot11 length %v too short, %v required", len(data), offset+14)
-               }
-               m.Address2 = net.HardwareAddr(data[offset : offset+6])
-               offset += 6
-               m.Address3 = net.HardwareAddr(data[offset : offset+6])
-               offset += 6
-
-               m.SequenceNumber = (binary.LittleEndian.Uint16(data[offset:offset+2]) & 0xFFF0) >> 4
-               m.FragmentNumber = (binary.LittleEndian.Uint16(data[offset:offset+2]) & 0x000F)
-               offset += 2
-       }
-
-       if mainType == Dot11TypeData && m.Flags.FromDS() && m.Flags.ToDS() {
-               if len(data) < offset+6 {
-                       df.SetTruncated()
-                       return fmt.Errorf("Dot11 length %v too short, %v required", len(data), offset+6)
-               }
-               m.Address4 = net.HardwareAddr(data[offset : offset+6])
-               offset += 6
-       }
-
-       m.BaseLayer = BaseLayer{Contents: data[0:offset], Payload: data[offset : len(data)-4]}
-       m.Checksum = binary.LittleEndian.Uint32(data[len(data)-4 : len(data)])
-       return nil
-}
-
-func (m *Dot11) ChecksumValid() bool {
-       // only for CTRL and MGMT frames
-       h := crc32.NewIEEE()
-       h.Write(m.Contents)
-       h.Write(m.Payload)
-       return m.Checksum == h.Sum32()
-}
-
-func (m Dot11) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       buf, err := b.PrependBytes(24)
-
-       if err != nil {
-               return err
-       }
-
-       buf[0] = (uint8(m.Type) << 2) | m.Proto
-       buf[1] = uint8(m.Flags)
-
-       binary.LittleEndian.PutUint16(buf[2:4], m.DurationID)
-
-       copy(buf[4:10], m.Address1)
-
-       offset := 10
-
-       switch m.Type.MainType() {
-       case Dot11TypeCtrl:
-               switch m.Type {
-               case Dot11TypeCtrlRTS, Dot11TypeCtrlPowersavePoll, Dot11TypeCtrlCFEnd, Dot11TypeCtrlCFEndAck:
-                       copy(buf[offset:offset+6], m.Address2)
-                       offset += 6
-               }
-       case Dot11TypeMgmt, Dot11TypeData:
-               copy(buf[offset:offset+6], m.Address2)
-               offset += 6
-               copy(buf[offset:offset+6], m.Address3)
-               offset += 6
-
-               binary.LittleEndian.PutUint16(buf[offset:offset+2], (m.SequenceNumber<<4)|m.FragmentNumber)
-               offset += 2
-       }
-
-       if m.Type.MainType() == Dot11TypeData && m.Flags.FromDS() && m.Flags.ToDS() {
-               copy(buf[offset:offset+6], m.Address4)
-               offset += 6
-       }
-
-       return nil
-}
-
-// Dot11Mgmt is a base for all IEEE 802.11 management layers.
-type Dot11Mgmt struct {
-       BaseLayer
-}
-
-func (m *Dot11Mgmt) NextLayerType() gopacket.LayerType { return gopacket.LayerTypePayload }
-func (m *Dot11Mgmt) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       m.Contents = data
-       return nil
-}
-
-// Dot11Ctrl is a base for all IEEE 802.11 control layers.
-type Dot11Ctrl struct {
-       BaseLayer
-}
-
-func (m *Dot11Ctrl) NextLayerType() gopacket.LayerType { return gopacket.LayerTypePayload }
-
-func (m *Dot11Ctrl) LayerType() gopacket.LayerType  { return LayerTypeDot11Ctrl }
-func (m *Dot11Ctrl) CanDecode() gopacket.LayerClass { return LayerTypeDot11Ctrl }
-func (m *Dot11Ctrl) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       m.Contents = data
-       return nil
-}
-
-func decodeDot11Ctrl(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11Ctrl{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-// Dot11WEP contains WEP encrpted IEEE 802.11 data.
-type Dot11WEP struct {
-       BaseLayer
-}
-
-func (m *Dot11WEP) NextLayerType() gopacket.LayerType { return LayerTypeLLC }
-
-func (m *Dot11WEP) LayerType() gopacket.LayerType  { return LayerTypeDot11WEP }
-func (m *Dot11WEP) CanDecode() gopacket.LayerClass { return LayerTypeDot11WEP }
-func (m *Dot11WEP) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       m.Contents = data
-       return nil
-}
-
-func decodeDot11WEP(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11WEP{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-// Dot11Data is a base for all IEEE 802.11 data layers.
-type Dot11Data struct {
-       BaseLayer
-}
-
-func (m *Dot11Data) NextLayerType() gopacket.LayerType { return LayerTypeLLC }
-
-func (m *Dot11Data) LayerType() gopacket.LayerType  { return LayerTypeDot11Data }
-func (m *Dot11Data) CanDecode() gopacket.LayerClass { return LayerTypeDot11Data }
-func (m *Dot11Data) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       m.Payload = data
-       return nil
-}
-
-func decodeDot11Data(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11Data{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-type Dot11DataCFAck struct {
-       Dot11Data
-}
-
-func decodeDot11DataCFAck(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11DataCFAck{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11DataCFAck) LayerType() gopacket.LayerType  { return LayerTypeDot11DataCFAck }
-func (m *Dot11DataCFAck) CanDecode() gopacket.LayerClass { return LayerTypeDot11DataCFAck }
-func (m *Dot11DataCFAck) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       return m.Dot11Data.DecodeFromBytes(data, df)
-}
-
-type Dot11DataCFPoll struct {
-       Dot11Data
-}
-
-func decodeDot11DataCFPoll(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11DataCFPoll{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11DataCFPoll) LayerType() gopacket.LayerType  { return LayerTypeDot11DataCFPoll }
-func (m *Dot11DataCFPoll) CanDecode() gopacket.LayerClass { return LayerTypeDot11DataCFPoll }
-func (m *Dot11DataCFPoll) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       return m.Dot11Data.DecodeFromBytes(data, df)
-}
-
-type Dot11DataCFAckPoll struct {
-       Dot11Data
-}
-
-func decodeDot11DataCFAckPoll(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11DataCFAckPoll{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11DataCFAckPoll) LayerType() gopacket.LayerType  { return LayerTypeDot11DataCFAckPoll }
-func (m *Dot11DataCFAckPoll) CanDecode() gopacket.LayerClass { return LayerTypeDot11DataCFAckPoll }
-func (m *Dot11DataCFAckPoll) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       return m.Dot11Data.DecodeFromBytes(data, df)
-}
-
-type Dot11DataNull struct {
-       Dot11Data
-}
-
-func decodeDot11DataNull(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11DataNull{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11DataNull) LayerType() gopacket.LayerType  { return LayerTypeDot11DataNull }
-func (m *Dot11DataNull) CanDecode() gopacket.LayerClass { return LayerTypeDot11DataNull }
-func (m *Dot11DataNull) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       return m.Dot11Data.DecodeFromBytes(data, df)
-}
-
-type Dot11DataCFAckNoData struct {
-       Dot11Data
-}
-
-func decodeDot11DataCFAckNoData(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11DataCFAckNoData{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11DataCFAckNoData) LayerType() gopacket.LayerType  { return LayerTypeDot11DataCFAckNoData }
-func (m *Dot11DataCFAckNoData) CanDecode() gopacket.LayerClass { return LayerTypeDot11DataCFAckNoData }
-func (m *Dot11DataCFAckNoData) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       return m.Dot11Data.DecodeFromBytes(data, df)
-}
-
-type Dot11DataCFPollNoData struct {
-       Dot11Data
-}
-
-func decodeDot11DataCFPollNoData(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11DataCFPollNoData{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11DataCFPollNoData) LayerType() gopacket.LayerType  { return LayerTypeDot11DataCFPollNoData }
-func (m *Dot11DataCFPollNoData) CanDecode() gopacket.LayerClass { return LayerTypeDot11DataCFPollNoData }
-func (m *Dot11DataCFPollNoData) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       return m.Dot11Data.DecodeFromBytes(data, df)
-}
-
-type Dot11DataCFAckPollNoData struct {
-       Dot11Data
-}
-
-func decodeDot11DataCFAckPollNoData(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11DataCFAckPollNoData{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11DataCFAckPollNoData) LayerType() gopacket.LayerType {
-       return LayerTypeDot11DataCFAckPollNoData
-}
-func (m *Dot11DataCFAckPollNoData) CanDecode() gopacket.LayerClass {
-       return LayerTypeDot11DataCFAckPollNoData
-}
-func (m *Dot11DataCFAckPollNoData) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       return m.Dot11Data.DecodeFromBytes(data, df)
-}
-
-type Dot11DataQOS struct {
-       Dot11Ctrl
-       TID       uint8 /* Traffic IDentifier */
-       EOSP      bool  /* End of service period */
-       AckPolicy Dot11AckPolicy
-       TXOP      uint8
-}
-
-func (m *Dot11DataQOS) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       if len(data) < 4 {
-               df.SetTruncated()
-               return fmt.Errorf("Dot11DataQOS length %v too short, %v required", len(data), 4)
-       }
-       m.TID = (uint8(data[0]) & 0x0F)
-       m.EOSP = (uint8(data[0]) & 0x10) == 0x10
-       m.AckPolicy = Dot11AckPolicy((uint8(data[0]) & 0x60) >> 5)
-       m.TXOP = uint8(data[1])
-       // TODO: Mesh Control bytes 2:4
-       m.BaseLayer = BaseLayer{Contents: data[0:4], Payload: data[4:]}
-       return nil
-}
-
-type Dot11DataQOSData struct {
-       Dot11DataQOS
-}
-
-func decodeDot11DataQOSData(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11DataQOSData{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11DataQOSData) LayerType() gopacket.LayerType  { return LayerTypeDot11DataQOSData }
-func (m *Dot11DataQOSData) CanDecode() gopacket.LayerClass { return LayerTypeDot11DataQOSData }
-
-func (m *Dot11DataQOSData) NextLayerType() gopacket.LayerType {
-       return LayerTypeDot11Data
-}
-
-type Dot11DataQOSDataCFAck struct {
-       Dot11DataQOS
-}
-
-func decodeDot11DataQOSDataCFAck(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11DataQOSDataCFAck{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11DataQOSDataCFAck) LayerType() gopacket.LayerType     { return LayerTypeDot11DataQOSDataCFAck }
-func (m *Dot11DataQOSDataCFAck) CanDecode() gopacket.LayerClass    { return LayerTypeDot11DataQOSDataCFAck }
-func (m *Dot11DataQOSDataCFAck) NextLayerType() gopacket.LayerType { return LayerTypeDot11DataCFAck }
-
-type Dot11DataQOSDataCFPoll struct {
-       Dot11DataQOS
-}
-
-func decodeDot11DataQOSDataCFPoll(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11DataQOSDataCFPoll{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11DataQOSDataCFPoll) LayerType() gopacket.LayerType {
-       return LayerTypeDot11DataQOSDataCFPoll
-}
-func (m *Dot11DataQOSDataCFPoll) CanDecode() gopacket.LayerClass {
-       return LayerTypeDot11DataQOSDataCFPoll
-}
-func (m *Dot11DataQOSDataCFPoll) NextLayerType() gopacket.LayerType { return LayerTypeDot11DataCFPoll }
-
-type Dot11DataQOSDataCFAckPoll struct {
-       Dot11DataQOS
-}
-
-func decodeDot11DataQOSDataCFAckPoll(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11DataQOSDataCFAckPoll{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11DataQOSDataCFAckPoll) LayerType() gopacket.LayerType {
-       return LayerTypeDot11DataQOSDataCFAckPoll
-}
-func (m *Dot11DataQOSDataCFAckPoll) CanDecode() gopacket.LayerClass {
-       return LayerTypeDot11DataQOSDataCFAckPoll
-}
-func (m *Dot11DataQOSDataCFAckPoll) NextLayerType() gopacket.LayerType {
-       return LayerTypeDot11DataCFAckPoll
-}
-
-type Dot11DataQOSNull struct {
-       Dot11DataQOS
-}
-
-func decodeDot11DataQOSNull(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11DataQOSNull{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11DataQOSNull) LayerType() gopacket.LayerType     { return LayerTypeDot11DataQOSNull }
-func (m *Dot11DataQOSNull) CanDecode() gopacket.LayerClass    { return LayerTypeDot11DataQOSNull }
-func (m *Dot11DataQOSNull) NextLayerType() gopacket.LayerType { return LayerTypeDot11DataNull }
-
-type Dot11DataQOSCFPollNoData struct {
-       Dot11DataQOS
-}
-
-func decodeDot11DataQOSCFPollNoData(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11DataQOSCFPollNoData{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11DataQOSCFPollNoData) LayerType() gopacket.LayerType {
-       return LayerTypeDot11DataQOSCFPollNoData
-}
-func (m *Dot11DataQOSCFPollNoData) CanDecode() gopacket.LayerClass {
-       return LayerTypeDot11DataQOSCFPollNoData
-}
-func (m *Dot11DataQOSCFPollNoData) NextLayerType() gopacket.LayerType {
-       return LayerTypeDot11DataCFPollNoData
-}
-
-type Dot11DataQOSCFAckPollNoData struct {
-       Dot11DataQOS
-}
-
-func decodeDot11DataQOSCFAckPollNoData(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11DataQOSCFAckPollNoData{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11DataQOSCFAckPollNoData) LayerType() gopacket.LayerType {
-       return LayerTypeDot11DataQOSCFAckPollNoData
-}
-func (m *Dot11DataQOSCFAckPollNoData) CanDecode() gopacket.LayerClass {
-       return LayerTypeDot11DataQOSCFAckPollNoData
-}
-func (m *Dot11DataQOSCFAckPollNoData) NextLayerType() gopacket.LayerType {
-       return LayerTypeDot11DataCFAckPollNoData
-}
-
-type Dot11InformationElement struct {
-       BaseLayer
-       ID     Dot11InformationElementID
-       Length uint8
-       OUI    []byte
-       Info   []byte
-}
-
-func (m *Dot11InformationElement) LayerType() gopacket.LayerType {
-       return LayerTypeDot11InformationElement
-}
-func (m *Dot11InformationElement) CanDecode() gopacket.LayerClass {
-       return LayerTypeDot11InformationElement
-}
-
-func (m *Dot11InformationElement) NextLayerType() gopacket.LayerType {
-       return LayerTypeDot11InformationElement
-}
-
-func (m *Dot11InformationElement) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       if len(data) < 2 {
-               df.SetTruncated()
-               return fmt.Errorf("Dot11InformationElement length %v too short, %v required", len(data), 2)
-       }
-       m.ID = Dot11InformationElementID(data[0])
-       m.Length = data[1]
-       offset := int(2)
-
-       if len(data) < offset+int(m.Length) {
-               df.SetTruncated()
-               return fmt.Errorf("Dot11InformationElement length %v too short, %v required", len(data), offset+int(m.Length))
-       }
-       if m.ID == 221 {
-               // Vendor extension
-               m.OUI = data[offset : offset+4]
-               m.Info = data[offset+4 : offset+int(m.Length)]
-       } else {
-               m.Info = data[offset : offset+int(m.Length)]
-       }
-
-       offset += int(m.Length)
-
-       m.BaseLayer = BaseLayer{Contents: data[:offset], Payload: data[offset:]}
-       return nil
-}
-
-func (d *Dot11InformationElement) String() string {
-       if d.ID == 0 {
-               return fmt.Sprintf("802.11 Information Element (SSID: %v)", string(d.Info))
-       } else if d.ID == 1 {
-               rates := ""
-               for i := 0; i < len(d.Info); i++ {
-                       if d.Info[i]&0x80 == 0 {
-                               rates += fmt.Sprintf("%.1f ", float32(d.Info[i])*0.5)
-                       } else {
-                               rates += fmt.Sprintf("%.1f* ", float32(d.Info[i]&0x7F)*0.5)
-                       }
-               }
-               return fmt.Sprintf("802.11 Information Element (Rates: %s Mbit)", rates)
-       } else if d.ID == 221 {
-               return fmt.Sprintf("802.11 Information Element (Vendor: ID: %v, Length: %v, OUI: %X, Info: %X)", d.ID, d.Length, d.OUI, d.Info)
-       } else {
-               return fmt.Sprintf("802.11 Information Element (ID: %v, Length: %v, Info: %X)", d.ID, d.Length, d.Info)
-       }
-}
-
-func (m Dot11InformationElement) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       length := len(m.Info) + len(m.OUI)
-       if buf, err := b.PrependBytes(2 + length); err != nil {
-               return err
-       } else {
-               buf[0] = uint8(m.ID)
-               buf[1] = uint8(length)
-               copy(buf[2:], m.OUI)
-               copy(buf[2+len(m.OUI):], m.Info)
-       }
-       return nil
-}
-
-func decodeDot11InformationElement(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11InformationElement{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-type Dot11CtrlCTS struct {
-       Dot11Ctrl
-}
-
-func decodeDot11CtrlCTS(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11CtrlCTS{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11CtrlCTS) LayerType() gopacket.LayerType {
-       return LayerTypeDot11CtrlCTS
-}
-func (m *Dot11CtrlCTS) CanDecode() gopacket.LayerClass {
-       return LayerTypeDot11CtrlCTS
-}
-func (m *Dot11CtrlCTS) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       return m.Dot11Ctrl.DecodeFromBytes(data, df)
-}
-
-type Dot11CtrlRTS struct {
-       Dot11Ctrl
-}
-
-func decodeDot11CtrlRTS(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11CtrlRTS{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11CtrlRTS) LayerType() gopacket.LayerType {
-       return LayerTypeDot11CtrlRTS
-}
-func (m *Dot11CtrlRTS) CanDecode() gopacket.LayerClass {
-       return LayerTypeDot11CtrlRTS
-}
-func (m *Dot11CtrlRTS) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       return m.Dot11Ctrl.DecodeFromBytes(data, df)
-}
-
-type Dot11CtrlBlockAckReq struct {
-       Dot11Ctrl
-}
-
-func decodeDot11CtrlBlockAckReq(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11CtrlBlockAckReq{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11CtrlBlockAckReq) LayerType() gopacket.LayerType {
-       return LayerTypeDot11CtrlBlockAckReq
-}
-func (m *Dot11CtrlBlockAckReq) CanDecode() gopacket.LayerClass {
-       return LayerTypeDot11CtrlBlockAckReq
-}
-func (m *Dot11CtrlBlockAckReq) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       return m.Dot11Ctrl.DecodeFromBytes(data, df)
-}
-
-type Dot11CtrlBlockAck struct {
-       Dot11Ctrl
-}
-
-func decodeDot11CtrlBlockAck(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11CtrlBlockAck{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11CtrlBlockAck) LayerType() gopacket.LayerType  { return LayerTypeDot11CtrlBlockAck }
-func (m *Dot11CtrlBlockAck) CanDecode() gopacket.LayerClass { return LayerTypeDot11CtrlBlockAck }
-func (m *Dot11CtrlBlockAck) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       return m.Dot11Ctrl.DecodeFromBytes(data, df)
-}
-
-type Dot11CtrlPowersavePoll struct {
-       Dot11Ctrl
-}
-
-func decodeDot11CtrlPowersavePoll(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11CtrlPowersavePoll{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11CtrlPowersavePoll) LayerType() gopacket.LayerType {
-       return LayerTypeDot11CtrlPowersavePoll
-}
-func (m *Dot11CtrlPowersavePoll) CanDecode() gopacket.LayerClass {
-       return LayerTypeDot11CtrlPowersavePoll
-}
-func (m *Dot11CtrlPowersavePoll) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       return m.Dot11Ctrl.DecodeFromBytes(data, df)
-}
-
-type Dot11CtrlAck struct {
-       Dot11Ctrl
-}
-
-func decodeDot11CtrlAck(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11CtrlAck{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11CtrlAck) LayerType() gopacket.LayerType  { return LayerTypeDot11CtrlAck }
-func (m *Dot11CtrlAck) CanDecode() gopacket.LayerClass { return LayerTypeDot11CtrlAck }
-func (m *Dot11CtrlAck) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       return m.Dot11Ctrl.DecodeFromBytes(data, df)
-}
-
-type Dot11CtrlCFEnd struct {
-       Dot11Ctrl
-}
-
-func decodeDot11CtrlCFEnd(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11CtrlCFEnd{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11CtrlCFEnd) LayerType() gopacket.LayerType {
-       return LayerTypeDot11CtrlCFEnd
-}
-func (m *Dot11CtrlCFEnd) CanDecode() gopacket.LayerClass {
-       return LayerTypeDot11CtrlCFEnd
-}
-func (m *Dot11CtrlCFEnd) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       return m.Dot11Ctrl.DecodeFromBytes(data, df)
-}
-
-type Dot11CtrlCFEndAck struct {
-       Dot11Ctrl
-}
-
-func decodeDot11CtrlCFEndAck(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11CtrlCFEndAck{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11CtrlCFEndAck) LayerType() gopacket.LayerType {
-       return LayerTypeDot11CtrlCFEndAck
-}
-func (m *Dot11CtrlCFEndAck) CanDecode() gopacket.LayerClass {
-       return LayerTypeDot11CtrlCFEndAck
-}
-func (m *Dot11CtrlCFEndAck) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       return m.Dot11Ctrl.DecodeFromBytes(data, df)
-}
-
-type Dot11MgmtAssociationReq struct {
-       Dot11Mgmt
-       CapabilityInfo uint16
-       ListenInterval uint16
-}
-
-func decodeDot11MgmtAssociationReq(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11MgmtAssociationReq{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11MgmtAssociationReq) LayerType() gopacket.LayerType {
-       return LayerTypeDot11MgmtAssociationReq
-}
-func (m *Dot11MgmtAssociationReq) CanDecode() gopacket.LayerClass {
-       return LayerTypeDot11MgmtAssociationReq
-}
-func (m *Dot11MgmtAssociationReq) NextLayerType() gopacket.LayerType {
-       return LayerTypeDot11InformationElement
-}
-func (m *Dot11MgmtAssociationReq) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       if len(data) < 4 {
-               df.SetTruncated()
-               return fmt.Errorf("Dot11MgmtAssociationReq length %v too short, %v required", len(data), 4)
-       }
-       m.CapabilityInfo = binary.LittleEndian.Uint16(data[0:2])
-       m.ListenInterval = binary.LittleEndian.Uint16(data[2:4])
-       m.Payload = data[4:]
-       return m.Dot11Mgmt.DecodeFromBytes(data, df)
-}
-
-func (m Dot11MgmtAssociationReq) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       buf, err := b.PrependBytes(4)
-
-       if err != nil {
-               return err
-       }
-
-       binary.LittleEndian.PutUint16(buf[0:2], m.CapabilityInfo)
-       binary.LittleEndian.PutUint16(buf[2:4], m.ListenInterval)
-
-       return nil
-}
-
-type Dot11MgmtAssociationResp struct {
-       Dot11Mgmt
-       CapabilityInfo uint16
-       Status         Dot11Status
-       AID            uint16
-}
-
-func decodeDot11MgmtAssociationResp(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11MgmtAssociationResp{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11MgmtAssociationResp) CanDecode() gopacket.LayerClass {
-       return LayerTypeDot11MgmtAssociationResp
-}
-func (m *Dot11MgmtAssociationResp) LayerType() gopacket.LayerType {
-       return LayerTypeDot11MgmtAssociationResp
-}
-func (m *Dot11MgmtAssociationResp) NextLayerType() gopacket.LayerType {
-       return LayerTypeDot11InformationElement
-}
-func (m *Dot11MgmtAssociationResp) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       if len(data) < 6 {
-               df.SetTruncated()
-               return fmt.Errorf("Dot11MgmtAssociationResp length %v too short, %v required", len(data), 6)
-       }
-       m.CapabilityInfo = binary.LittleEndian.Uint16(data[0:2])
-       m.Status = Dot11Status(binary.LittleEndian.Uint16(data[2:4]))
-       m.AID = binary.LittleEndian.Uint16(data[4:6])
-       m.Payload = data[6:]
-       return m.Dot11Mgmt.DecodeFromBytes(data, df)
-}
-
-func (m Dot11MgmtAssociationResp) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       buf, err := b.PrependBytes(6)
-
-       if err != nil {
-               return err
-       }
-
-       binary.LittleEndian.PutUint16(buf[0:2], m.CapabilityInfo)
-       binary.LittleEndian.PutUint16(buf[2:4], uint16(m.Status))
-       binary.LittleEndian.PutUint16(buf[4:6], m.AID)
-
-       return nil
-}
-
-type Dot11MgmtReassociationReq struct {
-       Dot11Mgmt
-       CapabilityInfo   uint16
-       ListenInterval   uint16
-       CurrentApAddress net.HardwareAddr
-}
-
-func decodeDot11MgmtReassociationReq(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11MgmtReassociationReq{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11MgmtReassociationReq) LayerType() gopacket.LayerType {
-       return LayerTypeDot11MgmtReassociationReq
-}
-func (m *Dot11MgmtReassociationReq) CanDecode() gopacket.LayerClass {
-       return LayerTypeDot11MgmtReassociationReq
-}
-func (m *Dot11MgmtReassociationReq) NextLayerType() gopacket.LayerType {
-       return LayerTypeDot11InformationElement
-}
-func (m *Dot11MgmtReassociationReq) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       if len(data) < 10 {
-               df.SetTruncated()
-               return fmt.Errorf("Dot11MgmtReassociationReq length %v too short, %v required", len(data), 10)
-       }
-       m.CapabilityInfo = binary.LittleEndian.Uint16(data[0:2])
-       m.ListenInterval = binary.LittleEndian.Uint16(data[2:4])
-       m.CurrentApAddress = net.HardwareAddr(data[4:10])
-       m.Payload = data[10:]
-       return m.Dot11Mgmt.DecodeFromBytes(data, df)
-}
-
-func (m Dot11MgmtReassociationReq) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       buf, err := b.PrependBytes(10)
-
-       if err != nil {
-               return err
-       }
-
-       binary.LittleEndian.PutUint16(buf[0:2], m.CapabilityInfo)
-       binary.LittleEndian.PutUint16(buf[2:4], m.ListenInterval)
-
-       copy(buf[4:10], m.CurrentApAddress)
-
-       return nil
-}
-
-type Dot11MgmtReassociationResp struct {
-       Dot11Mgmt
-}
-
-func decodeDot11MgmtReassociationResp(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11MgmtReassociationResp{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11MgmtReassociationResp) LayerType() gopacket.LayerType {
-       return LayerTypeDot11MgmtReassociationResp
-}
-func (m *Dot11MgmtReassociationResp) CanDecode() gopacket.LayerClass {
-       return LayerTypeDot11MgmtReassociationResp
-}
-func (m *Dot11MgmtReassociationResp) NextLayerType() gopacket.LayerType {
-       return LayerTypeDot11InformationElement
-}
-
-type Dot11MgmtProbeReq struct {
-       Dot11Mgmt
-}
-
-func decodeDot11MgmtProbeReq(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11MgmtProbeReq{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11MgmtProbeReq) LayerType() gopacket.LayerType  { return LayerTypeDot11MgmtProbeReq }
-func (m *Dot11MgmtProbeReq) CanDecode() gopacket.LayerClass { return LayerTypeDot11MgmtProbeReq }
-func (m *Dot11MgmtProbeReq) NextLayerType() gopacket.LayerType {
-       return LayerTypeDot11InformationElement
-}
-
-type Dot11MgmtProbeResp struct {
-       Dot11Mgmt
-       Timestamp uint64
-       Interval  uint16
-       Flags     uint16
-}
-
-func decodeDot11MgmtProbeResp(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11MgmtProbeResp{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11MgmtProbeResp) LayerType() gopacket.LayerType  { return LayerTypeDot11MgmtProbeResp }
-func (m *Dot11MgmtProbeResp) CanDecode() gopacket.LayerClass { return LayerTypeDot11MgmtProbeResp }
-func (m *Dot11MgmtProbeResp) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       if len(data) < 12 {
-               df.SetTruncated()
-
-               return fmt.Errorf("Dot11MgmtProbeResp length %v too short, %v required", len(data), 12)
-       }
-
-       m.Timestamp = binary.LittleEndian.Uint64(data[0:8])
-       m.Interval = binary.LittleEndian.Uint16(data[8:10])
-       m.Flags = binary.LittleEndian.Uint16(data[10:12])
-       m.Payload = data[12:]
-
-       return m.Dot11Mgmt.DecodeFromBytes(data, df)
-}
-
-func (m *Dot11MgmtProbeResp) NextLayerType() gopacket.LayerType {
-       return LayerTypeDot11InformationElement
-}
-
-func (m Dot11MgmtProbeResp) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       buf, err := b.PrependBytes(12)
-
-       if err != nil {
-               return err
-       }
-
-       binary.LittleEndian.PutUint64(buf[0:8], m.Timestamp)
-       binary.LittleEndian.PutUint16(buf[8:10], m.Interval)
-       binary.LittleEndian.PutUint16(buf[10:12], m.Flags)
-
-       return nil
-}
-
-type Dot11MgmtMeasurementPilot struct {
-       Dot11Mgmt
-}
-
-func decodeDot11MgmtMeasurementPilot(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11MgmtMeasurementPilot{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11MgmtMeasurementPilot) LayerType() gopacket.LayerType {
-       return LayerTypeDot11MgmtMeasurementPilot
-}
-func (m *Dot11MgmtMeasurementPilot) CanDecode() gopacket.LayerClass {
-       return LayerTypeDot11MgmtMeasurementPilot
-}
-
-type Dot11MgmtBeacon struct {
-       Dot11Mgmt
-       Timestamp uint64
-       Interval  uint16
-       Flags     uint16
-}
-
-func decodeDot11MgmtBeacon(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11MgmtBeacon{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11MgmtBeacon) LayerType() gopacket.LayerType  { return LayerTypeDot11MgmtBeacon }
-func (m *Dot11MgmtBeacon) CanDecode() gopacket.LayerClass { return LayerTypeDot11MgmtBeacon }
-func (m *Dot11MgmtBeacon) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       if len(data) < 12 {
-               df.SetTruncated()
-               return fmt.Errorf("Dot11MgmtBeacon length %v too short, %v required", len(data), 12)
-       }
-       m.Timestamp = binary.LittleEndian.Uint64(data[0:8])
-       m.Interval = binary.LittleEndian.Uint16(data[8:10])
-       m.Flags = binary.LittleEndian.Uint16(data[10:12])
-       m.Payload = data[12:]
-       return m.Dot11Mgmt.DecodeFromBytes(data, df)
-}
-
-func (m *Dot11MgmtBeacon) NextLayerType() gopacket.LayerType { return LayerTypeDot11InformationElement }
-
-func (m Dot11MgmtBeacon) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       buf, err := b.PrependBytes(12)
-
-       if err != nil {
-               return err
-       }
-
-       binary.LittleEndian.PutUint64(buf[0:8], m.Timestamp)
-       binary.LittleEndian.PutUint16(buf[8:10], m.Interval)
-       binary.LittleEndian.PutUint16(buf[10:12], m.Flags)
-
-       return nil
-}
-
-type Dot11MgmtATIM struct {
-       Dot11Mgmt
-}
-
-func decodeDot11MgmtATIM(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11MgmtATIM{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11MgmtATIM) LayerType() gopacket.LayerType  { return LayerTypeDot11MgmtATIM }
-func (m *Dot11MgmtATIM) CanDecode() gopacket.LayerClass { return LayerTypeDot11MgmtATIM }
-
-type Dot11MgmtDisassociation struct {
-       Dot11Mgmt
-       Reason Dot11Reason
-}
-
-func decodeDot11MgmtDisassociation(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11MgmtDisassociation{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11MgmtDisassociation) LayerType() gopacket.LayerType {
-       return LayerTypeDot11MgmtDisassociation
-}
-func (m *Dot11MgmtDisassociation) CanDecode() gopacket.LayerClass {
-       return LayerTypeDot11MgmtDisassociation
-}
-func (m *Dot11MgmtDisassociation) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       if len(data) < 2 {
-               df.SetTruncated()
-               return fmt.Errorf("Dot11MgmtDisassociation length %v too short, %v required", len(data), 2)
-       }
-       m.Reason = Dot11Reason(binary.LittleEndian.Uint16(data[0:2]))
-       return m.Dot11Mgmt.DecodeFromBytes(data, df)
-}
-
-func (m Dot11MgmtDisassociation) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       buf, err := b.PrependBytes(2)
-
-       if err != nil {
-               return err
-       }
-
-       binary.LittleEndian.PutUint16(buf[0:2], uint16(m.Reason))
-
-       return nil
-}
-
-type Dot11MgmtAuthentication struct {
-       Dot11Mgmt
-       Algorithm Dot11Algorithm
-       Sequence  uint16
-       Status    Dot11Status
-}
-
-func decodeDot11MgmtAuthentication(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11MgmtAuthentication{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11MgmtAuthentication) LayerType() gopacket.LayerType {
-       return LayerTypeDot11MgmtAuthentication
-}
-func (m *Dot11MgmtAuthentication) CanDecode() gopacket.LayerClass {
-       return LayerTypeDot11MgmtAuthentication
-}
-func (m *Dot11MgmtAuthentication) NextLayerType() gopacket.LayerType {
-       return LayerTypeDot11InformationElement
-}
-func (m *Dot11MgmtAuthentication) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       if len(data) < 6 {
-               df.SetTruncated()
-               return fmt.Errorf("Dot11MgmtAuthentication length %v too short, %v required", len(data), 6)
-       }
-       m.Algorithm = Dot11Algorithm(binary.LittleEndian.Uint16(data[0:2]))
-       m.Sequence = binary.LittleEndian.Uint16(data[2:4])
-       m.Status = Dot11Status(binary.LittleEndian.Uint16(data[4:6]))
-       m.Payload = data[6:]
-       return m.Dot11Mgmt.DecodeFromBytes(data, df)
-}
-
-func (m Dot11MgmtAuthentication) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       buf, err := b.PrependBytes(6)
-
-       if err != nil {
-               return err
-       }
-
-       binary.LittleEndian.PutUint16(buf[0:2], uint16(m.Algorithm))
-       binary.LittleEndian.PutUint16(buf[2:4], m.Sequence)
-       binary.LittleEndian.PutUint16(buf[4:6], uint16(m.Status))
-
-       return nil
-}
-
-type Dot11MgmtDeauthentication struct {
-       Dot11Mgmt
-       Reason Dot11Reason
-}
-
-func decodeDot11MgmtDeauthentication(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11MgmtDeauthentication{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11MgmtDeauthentication) LayerType() gopacket.LayerType {
-       return LayerTypeDot11MgmtDeauthentication
-}
-func (m *Dot11MgmtDeauthentication) CanDecode() gopacket.LayerClass {
-       return LayerTypeDot11MgmtDeauthentication
-}
-func (m *Dot11MgmtDeauthentication) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       if len(data) < 2 {
-               df.SetTruncated()
-               return fmt.Errorf("Dot11MgmtDeauthentication length %v too short, %v required", len(data), 2)
-       }
-       m.Reason = Dot11Reason(binary.LittleEndian.Uint16(data[0:2]))
-       return m.Dot11Mgmt.DecodeFromBytes(data, df)
-}
-
-func (m Dot11MgmtDeauthentication) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       buf, err := b.PrependBytes(2)
-
-       if err != nil {
-               return err
-       }
-
-       binary.LittleEndian.PutUint16(buf[0:2], uint16(m.Reason))
-
-       return nil
-}
-
-type Dot11MgmtAction struct {
-       Dot11Mgmt
-}
-
-func decodeDot11MgmtAction(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11MgmtAction{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11MgmtAction) LayerType() gopacket.LayerType  { return LayerTypeDot11MgmtAction }
-func (m *Dot11MgmtAction) CanDecode() gopacket.LayerClass { return LayerTypeDot11MgmtAction }
-
-type Dot11MgmtActionNoAck struct {
-       Dot11Mgmt
-}
-
-func decodeDot11MgmtActionNoAck(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11MgmtActionNoAck{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11MgmtActionNoAck) LayerType() gopacket.LayerType  { return LayerTypeDot11MgmtActionNoAck }
-func (m *Dot11MgmtActionNoAck) CanDecode() gopacket.LayerClass { return LayerTypeDot11MgmtActionNoAck }
-
-type Dot11MgmtArubaWLAN struct {
-       Dot11Mgmt
-}
-
-func decodeDot11MgmtArubaWLAN(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot11MgmtArubaWLAN{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *Dot11MgmtArubaWLAN) LayerType() gopacket.LayerType  { return LayerTypeDot11MgmtArubaWLAN }
-func (m *Dot11MgmtArubaWLAN) CanDecode() gopacket.LayerClass { return LayerTypeDot11MgmtArubaWLAN }
diff --git a/vendor/github.com/google/gopacket/layers/dot1q.go b/vendor/github.com/google/gopacket/layers/dot1q.go
deleted file mode 100644 (file)
index 47f93d7..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-// Copyright 2009-2011 Andreas Krennmair. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "fmt"
-       "github.com/google/gopacket"
-)
-
-// Dot1Q is the packet layer for 802.1Q VLAN headers.
-type Dot1Q struct {
-       BaseLayer
-       Priority       uint8
-       DropEligible   bool
-       VLANIdentifier uint16
-       Type           EthernetType
-}
-
-// LayerType returns gopacket.LayerTypeDot1Q
-func (d *Dot1Q) LayerType() gopacket.LayerType { return LayerTypeDot1Q }
-
-// DecodeFromBytes decodes the given bytes into this layer.
-func (d *Dot1Q) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       d.Priority = (data[0] & 0xE0) >> 5
-       d.DropEligible = data[0]&0x10 != 0
-       d.VLANIdentifier = binary.BigEndian.Uint16(data[:2]) & 0x0FFF
-       d.Type = EthernetType(binary.BigEndian.Uint16(data[2:4]))
-       d.BaseLayer = BaseLayer{Contents: data[:4], Payload: data[4:]}
-       return nil
-}
-
-// CanDecode returns the set of layer types that this DecodingLayer can decode.
-func (d *Dot1Q) CanDecode() gopacket.LayerClass {
-       return LayerTypeDot1Q
-}
-
-// NextLayerType returns the layer type contained by this DecodingLayer.
-func (d *Dot1Q) NextLayerType() gopacket.LayerType {
-       return d.Type.LayerType()
-}
-
-func decodeDot1Q(data []byte, p gopacket.PacketBuilder) error {
-       d := &Dot1Q{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-// See the docs for gopacket.SerializableLayer for more info.
-func (d *Dot1Q) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       bytes, err := b.PrependBytes(4)
-       if err != nil {
-               return err
-       }
-       if d.VLANIdentifier > 0xFFF {
-               return fmt.Errorf("vlan identifier %v is too high", d.VLANIdentifier)
-       }
-       firstBytes := uint16(d.Priority)<<13 | d.VLANIdentifier
-       if d.DropEligible {
-               firstBytes |= 0x1000
-       }
-       binary.BigEndian.PutUint16(bytes, firstBytes)
-       binary.BigEndian.PutUint16(bytes[2:], uint16(d.Type))
-       return nil
-}
diff --git a/vendor/github.com/google/gopacket/layers/eap.go b/vendor/github.com/google/gopacket/layers/eap.go
deleted file mode 100644 (file)
index 250f857..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "fmt"
-       "github.com/google/gopacket"
-)
-
-type EAPCode uint8
-type EAPType uint8
-
-const (
-       EAPCodeRequest  EAPCode = 1
-       EAPCodeResponse EAPCode = 2
-       EAPCodeSuccess  EAPCode = 3
-       EAPCodeFailure  EAPCode = 4
-
-       // EAPTypeNone means that this EAP layer has no Type or TypeData.
-       // Success and Failure EAPs will have this set.
-       EAPTypeNone EAPType = 0
-
-       EAPTypeIdentity     EAPType = 1
-       EAPTypeNotification EAPType = 2
-       EAPTypeNACK         EAPType = 3
-       EAPTypeOTP          EAPType = 4
-       EAPTypeTokenCard    EAPType = 5
-)
-
-// EAP defines an Extensible Authentication Protocol (rfc 3748) layer.
-type EAP struct {
-       BaseLayer
-       Code     EAPCode
-       Id       uint8
-       Length   uint16
-       Type     EAPType
-       TypeData []byte
-}
-
-// LayerType returns LayerTypeEAP.
-func (e *EAP) LayerType() gopacket.LayerType { return LayerTypeEAP }
-
-// DecodeFromBytes decodes the given bytes into this layer.
-func (e *EAP) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       e.Code = EAPCode(data[0])
-       e.Id = data[1]
-       e.Length = binary.BigEndian.Uint16(data[2:4])
-       switch {
-       case e.Length > 4:
-               e.Type = EAPType(data[4])
-               e.TypeData = data[5:]
-       case e.Length == 4:
-               e.Type = 0
-               e.TypeData = nil
-       default:
-               return fmt.Errorf("invalid EAP length %d", e.Length)
-       }
-       e.BaseLayer.Contents = data[:e.Length]
-       e.BaseLayer.Payload = data[e.Length:] // Should be 0 bytes
-       return nil
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-// See the docs for gopacket.SerializableLayer for more info.
-func (e *EAP) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       if opts.FixLengths {
-               e.Length = uint16(len(e.TypeData) + 1)
-       }
-       size := len(e.TypeData) + 4
-       if size > 4 {
-               size++
-       }
-       bytes, err := b.PrependBytes(size)
-       if err != nil {
-               return err
-       }
-       bytes[0] = byte(e.Code)
-       bytes[1] = e.Id
-       binary.BigEndian.PutUint16(bytes[2:], e.Length)
-       if size > 4 {
-               bytes[4] = byte(e.Type)
-               copy(bytes[5:], e.TypeData)
-       }
-       return nil
-}
-
-// CanDecode returns the set of layer types that this DecodingLayer can decode.
-func (e *EAP) CanDecode() gopacket.LayerClass {
-       return LayerTypeEAP
-}
-
-// NextLayerType returns the layer type contained by this DecodingLayer.
-func (e *EAP) NextLayerType() gopacket.LayerType {
-       return gopacket.LayerTypeZero
-}
-
-func decodeEAP(data []byte, p gopacket.PacketBuilder) error {
-       e := &EAP{}
-       return decodingLayerDecoder(e, data, p)
-}
diff --git a/vendor/github.com/google/gopacket/layers/eapol.go b/vendor/github.com/google/gopacket/layers/eapol.go
deleted file mode 100644 (file)
index 041cd59..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "github.com/google/gopacket"
-)
-
-// EAPOL defines an EAP over LAN (802.1x) layer.
-type EAPOL struct {
-       BaseLayer
-       Version uint8
-       Type    EAPOLType
-       Length  uint16
-}
-
-// LayerType returns LayerTypeEAPOL.
-func (e *EAPOL) LayerType() gopacket.LayerType { return LayerTypeEAPOL }
-
-// DecodeFromBytes decodes the given bytes into this layer.
-func (e *EAPOL) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       e.Version = data[0]
-       e.Type = EAPOLType(data[1])
-       e.Length = binary.BigEndian.Uint16(data[2:4])
-       e.BaseLayer = BaseLayer{data[:4], data[4:]}
-       return nil
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer
-func (e *EAPOL) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       bytes, _ := b.PrependBytes(4)
-       bytes[0] = e.Version
-       bytes[1] = byte(e.Type)
-       binary.BigEndian.PutUint16(bytes[2:], e.Length)
-       return nil
-}
-
-// CanDecode returns the set of layer types that this DecodingLayer can decode.
-func (e *EAPOL) CanDecode() gopacket.LayerClass {
-       return LayerTypeEAPOL
-}
-
-// NextLayerType returns the layer type contained by this DecodingLayer.
-func (e *EAPOL) NextLayerType() gopacket.LayerType {
-       return e.Type.LayerType()
-}
-
-func decodeEAPOL(data []byte, p gopacket.PacketBuilder) error {
-       e := &EAPOL{}
-       return decodingLayerDecoder(e, data, p)
-}
diff --git a/vendor/github.com/google/gopacket/layers/endpoints.go b/vendor/github.com/google/gopacket/layers/endpoints.go
deleted file mode 100644 (file)
index 4c91cc3..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "github.com/google/gopacket"
-       "net"
-       "strconv"
-)
-
-var (
-       // We use two different endpoint types for IPv4 vs IPv6 addresses, so that
-       // ordering with endpointA.LessThan(endpointB) sanely groups all IPv4
-       // addresses and all IPv6 addresses, such that IPv6 > IPv4 for all addresses.
-       EndpointIPv4 = gopacket.RegisterEndpointType(1, gopacket.EndpointTypeMetadata{Name: "IPv4", Formatter: func(b []byte) string {
-               return net.IP(b).String()
-       }})
-       EndpointIPv6 = gopacket.RegisterEndpointType(2, gopacket.EndpointTypeMetadata{Name: "IPv6", Formatter: func(b []byte) string {
-               return net.IP(b).String()
-       }})
-
-       EndpointMAC = gopacket.RegisterEndpointType(3, gopacket.EndpointTypeMetadata{Name: "MAC", Formatter: func(b []byte) string {
-               return net.HardwareAddr(b).String()
-       }})
-       EndpointTCPPort = gopacket.RegisterEndpointType(4, gopacket.EndpointTypeMetadata{Name: "TCP", Formatter: func(b []byte) string {
-               return strconv.Itoa(int(binary.BigEndian.Uint16(b)))
-       }})
-       EndpointUDPPort = gopacket.RegisterEndpointType(5, gopacket.EndpointTypeMetadata{Name: "UDP", Formatter: func(b []byte) string {
-               return strconv.Itoa(int(binary.BigEndian.Uint16(b)))
-       }})
-       EndpointSCTPPort = gopacket.RegisterEndpointType(6, gopacket.EndpointTypeMetadata{Name: "SCTP", Formatter: func(b []byte) string {
-               return strconv.Itoa(int(binary.BigEndian.Uint16(b)))
-       }})
-       EndpointRUDPPort = gopacket.RegisterEndpointType(7, gopacket.EndpointTypeMetadata{Name: "RUDP", Formatter: func(b []byte) string {
-               return strconv.Itoa(int(b[0]))
-       }})
-       EndpointUDPLitePort = gopacket.RegisterEndpointType(8, gopacket.EndpointTypeMetadata{Name: "UDPLite", Formatter: func(b []byte) string {
-               return strconv.Itoa(int(binary.BigEndian.Uint16(b)))
-       }})
-       EndpointPPP = gopacket.RegisterEndpointType(9, gopacket.EndpointTypeMetadata{Name: "PPP", Formatter: func([]byte) string {
-               return "point"
-       }})
-)
-
-// NewIPEndpoint creates a new IP (v4 or v6) endpoint from a net.IP address.
-// It returns gopacket.InvalidEndpoint if the IP address is invalid.
-func NewIPEndpoint(a net.IP) gopacket.Endpoint {
-       ipv4 := a.To4()
-       if ipv4 != nil {
-               return gopacket.NewEndpoint(EndpointIPv4, []byte(ipv4))
-       }
-
-       ipv6 := a.To16()
-       if ipv6 != nil {
-               return gopacket.NewEndpoint(EndpointIPv6, []byte(ipv6))
-       }
-
-       return gopacket.InvalidEndpoint
-}
-
-// NewMACEndpoint returns a new MAC address endpoint.
-func NewMACEndpoint(a net.HardwareAddr) gopacket.Endpoint {
-       return gopacket.NewEndpoint(EndpointMAC, []byte(a))
-}
-func newPortEndpoint(t gopacket.EndpointType, p uint16) gopacket.Endpoint {
-       return gopacket.NewEndpoint(t, []byte{byte(p >> 8), byte(p)})
-}
-
-// NewTCPPortEndpoint returns an endpoint based on a TCP port.
-func NewTCPPortEndpoint(p TCPPort) gopacket.Endpoint {
-       return newPortEndpoint(EndpointTCPPort, uint16(p))
-}
-
-// NewUDPPortEndpoint returns an endpoint based on a UDP port.
-func NewUDPPortEndpoint(p UDPPort) gopacket.Endpoint {
-       return newPortEndpoint(EndpointUDPPort, uint16(p))
-}
-
-// NewSCTPPortEndpoint returns an endpoint based on a SCTP port.
-func NewSCTPPortEndpoint(p SCTPPort) gopacket.Endpoint {
-       return newPortEndpoint(EndpointSCTPPort, uint16(p))
-}
-
-// NewRUDPPortEndpoint returns an endpoint based on a RUDP port.
-func NewRUDPPortEndpoint(p RUDPPort) gopacket.Endpoint {
-       return gopacket.NewEndpoint(EndpointRUDPPort, []byte{byte(p)})
-}
-
-// NewUDPLitePortEndpoint returns an endpoint based on a UDPLite port.
-func NewUDPLitePortEndpoint(p UDPLitePort) gopacket.Endpoint {
-       return newPortEndpoint(EndpointUDPLitePort, uint16(p))
-}
diff --git a/vendor/github.com/google/gopacket/layers/enums.go b/vendor/github.com/google/gopacket/layers/enums.go
deleted file mode 100644 (file)
index 0ea2058..0000000
+++ /dev/null
@@ -1,564 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-// Copyright 2009-2011 Andreas Krennmair. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "errors"
-       "fmt"
-
-       "github.com/google/gopacket"
-)
-
-// EnumMetadata keeps track of a set of metadata for each enumeration value
-// for protocol enumerations.
-type EnumMetadata struct {
-       // DecodeWith is the decoder to use to decode this protocol's data.
-       DecodeWith gopacket.Decoder
-       // Name is the name of the enumeration value.
-       Name string
-       // LayerType is the layer type implied by the given enum.
-       LayerType gopacket.LayerType
-}
-
-// errorFunc returns a decoder that spits out a specific error message.
-func errorFunc(msg string) gopacket.Decoder {
-       var e = errors.New(msg)
-       return gopacket.DecodeFunc(func([]byte, gopacket.PacketBuilder) error {
-               return e
-       })
-}
-
-// EthernetType is an enumeration of ethernet type values, and acts as a decoder
-// for any type it supports.
-type EthernetType uint16
-
-const (
-       // EthernetTypeLLC is not an actual ethernet type.  It is instead a
-       // placeholder we use in Ethernet frames that use the 802.3 standard of
-       // srcmac|dstmac|length|LLC instead of srcmac|dstmac|ethertype.
-       EthernetTypeLLC                         EthernetType = 0
-       EthernetTypeIPv4                        EthernetType = 0x0800
-       EthernetTypeARP                         EthernetType = 0x0806
-       EthernetTypeIPv6                        EthernetType = 0x86DD
-       EthernetTypeCiscoDiscovery              EthernetType = 0x2000
-       EthernetTypeNortelDiscovery             EthernetType = 0x01a2
-       EthernetTypeTransparentEthernetBridging EthernetType = 0x6558
-       EthernetTypeDot1Q                       EthernetType = 0x8100
-       EthernetTypePPPoEDiscovery              EthernetType = 0x8863
-       EthernetTypePPPoESession                EthernetType = 0x8864
-       EthernetTypeMPLSUnicast                 EthernetType = 0x8847
-       EthernetTypeMPLSMulticast               EthernetType = 0x8848
-       EthernetTypeEAPOL                       EthernetType = 0x888e
-       EthernetTypeQinQ                        EthernetType = 0x88a8
-       EthernetTypeLinkLayerDiscovery          EthernetType = 0x88cc
-       EthernetTypeEthernetCTP                 EthernetType = 0x9000
-)
-
-// IPProtocol is an enumeration of IP protocol values, and acts as a decoder
-// for any type it supports.
-type IPProtocol uint8
-
-const (
-       IPProtocolIPv6HopByHop    IPProtocol = 0
-       IPProtocolICMPv4          IPProtocol = 1
-       IPProtocolIGMP            IPProtocol = 2
-       IPProtocolIPv4            IPProtocol = 4
-       IPProtocolTCP             IPProtocol = 6
-       IPProtocolUDP             IPProtocol = 17
-       IPProtocolRUDP            IPProtocol = 27
-       IPProtocolIPv6            IPProtocol = 41
-       IPProtocolIPv6Routing     IPProtocol = 43
-       IPProtocolIPv6Fragment    IPProtocol = 44
-       IPProtocolGRE             IPProtocol = 47
-       IPProtocolESP             IPProtocol = 50
-       IPProtocolAH              IPProtocol = 51
-       IPProtocolICMPv6          IPProtocol = 58
-       IPProtocolNoNextHeader    IPProtocol = 59
-       IPProtocolIPv6Destination IPProtocol = 60
-       IPProtocolOSPF            IPProtocol = 89
-       IPProtocolIPIP            IPProtocol = 94
-       IPProtocolEtherIP         IPProtocol = 97
-       IPProtocolVRRP            IPProtocol = 112
-       IPProtocolSCTP            IPProtocol = 132
-       IPProtocolUDPLite         IPProtocol = 136
-       IPProtocolMPLSInIP        IPProtocol = 137
-)
-
-// LinkType is an enumeration of link types, and acts as a decoder for any
-// link type it supports.
-type LinkType uint8
-
-const (
-       // According to pcap-linktype(7) and http://www.tcpdump.org/linktypes.html
-       LinkTypeNull           LinkType = 0
-       LinkTypeEthernet       LinkType = 1
-       LinkTypeAX25           LinkType = 3
-       LinkTypeTokenRing      LinkType = 6
-       LinkTypeArcNet         LinkType = 7
-       LinkTypeSLIP           LinkType = 8
-       LinkTypePPP            LinkType = 9
-       LinkTypeFDDI           LinkType = 10
-       LinkTypePPP_HDLC       LinkType = 50
-       LinkTypePPPEthernet    LinkType = 51
-       LinkTypeATM_RFC1483    LinkType = 100
-       LinkTypeRaw            LinkType = 101
-       LinkTypeC_HDLC         LinkType = 104
-       LinkTypeIEEE802_11     LinkType = 105
-       LinkTypeFRelay         LinkType = 107
-       LinkTypeLoop           LinkType = 108
-       LinkTypeLinuxSLL       LinkType = 113
-       LinkTypeLTalk          LinkType = 114
-       LinkTypePFLog          LinkType = 117
-       LinkTypePrismHeader    LinkType = 119
-       LinkTypeIPOverFC       LinkType = 122
-       LinkTypeSunATM         LinkType = 123
-       LinkTypeIEEE80211Radio LinkType = 127
-       LinkTypeARCNetLinux    LinkType = 129
-       LinkTypeIPOver1394     LinkType = 138
-       LinkTypeMTP2Phdr       LinkType = 139
-       LinkTypeMTP2           LinkType = 140
-       LinkTypeMTP3           LinkType = 141
-       LinkTypeSCCP           LinkType = 142
-       LinkTypeDOCSIS         LinkType = 143
-       LinkTypeLinuxIRDA      LinkType = 144
-       LinkTypeLinuxLAPD      LinkType = 177
-       LinkTypeLinuxUSB       LinkType = 220
-       LinkTypeIPv4           LinkType = 228
-       LinkTypeIPv6           LinkType = 229
-)
-
-// PPPoECode is the PPPoE code enum, taken from http://tools.ietf.org/html/rfc2516
-type PPPoECode uint8
-
-const (
-       PPPoECodePADI    PPPoECode = 0x09
-       PPPoECodePADO    PPPoECode = 0x07
-       PPPoECodePADR    PPPoECode = 0x19
-       PPPoECodePADS    PPPoECode = 0x65
-       PPPoECodePADT    PPPoECode = 0xA7
-       PPPoECodeSession PPPoECode = 0x00
-)
-
-// PPPType is an enumeration of PPP type values, and acts as a decoder for any
-// type it supports.
-type PPPType uint16
-
-const (
-       PPPTypeIPv4          PPPType = 0x0021
-       PPPTypeIPv6          PPPType = 0x0057
-       PPPTypeMPLSUnicast   PPPType = 0x0281
-       PPPTypeMPLSMulticast PPPType = 0x0283
-)
-
-// SCTPChunkType is an enumeration of chunk types inside SCTP packets.
-type SCTPChunkType uint8
-
-const (
-       SCTPChunkTypeData             SCTPChunkType = 0
-       SCTPChunkTypeInit             SCTPChunkType = 1
-       SCTPChunkTypeInitAck          SCTPChunkType = 2
-       SCTPChunkTypeSack             SCTPChunkType = 3
-       SCTPChunkTypeHeartbeat        SCTPChunkType = 4
-       SCTPChunkTypeHeartbeatAck     SCTPChunkType = 5
-       SCTPChunkTypeAbort            SCTPChunkType = 6
-       SCTPChunkTypeShutdown         SCTPChunkType = 7
-       SCTPChunkTypeShutdownAck      SCTPChunkType = 8
-       SCTPChunkTypeError            SCTPChunkType = 9
-       SCTPChunkTypeCookieEcho       SCTPChunkType = 10
-       SCTPChunkTypeCookieAck        SCTPChunkType = 11
-       SCTPChunkTypeShutdownComplete SCTPChunkType = 14
-)
-
-// FDDIFrameControl is an enumeration of FDDI frame control bytes.
-type FDDIFrameControl uint8
-
-const (
-       FDDIFrameControlLLC FDDIFrameControl = 0x50
-)
-
-// EAPOLType is an enumeration of EAPOL packet types.
-type EAPOLType uint8
-
-const (
-       EAPOLTypeEAP      EAPOLType = 0
-       EAPOLTypeStart    EAPOLType = 1
-       EAPOLTypeLogOff   EAPOLType = 2
-       EAPOLTypeKey      EAPOLType = 3
-       EAPOLTypeASFAlert EAPOLType = 4
-)
-
-// ProtocolFamily is the set of values defined as PF_* in sys/socket.h
-type ProtocolFamily uint8
-
-const (
-       ProtocolFamilyIPv4 ProtocolFamily = 2
-       // BSDs use different values for INET6... glory be.  These values taken from
-       // tcpdump 4.3.0.
-       ProtocolFamilyIPv6BSD     ProtocolFamily = 24
-       ProtocolFamilyIPv6FreeBSD ProtocolFamily = 28
-       ProtocolFamilyIPv6Darwin  ProtocolFamily = 30
-       ProtocolFamilyIPv6Linux   ProtocolFamily = 10
-)
-
-// Dot11Type is a combination of IEEE 802.11 frame's Type and Subtype fields.
-// By combining these two fields together into a single type, we're able to
-// provide a String function that correctly displays the subtype given the
-// top-level type.
-//
-// If you just care about the top-level type, use the MainType function.
-type Dot11Type uint8
-
-// MainType strips the subtype information from the given type,
-// returning just the overarching type (Mgmt, Ctrl, Data, Reserved).
-func (d Dot11Type) MainType() Dot11Type {
-       return d & dot11TypeMask
-}
-
-const (
-       Dot11TypeMgmt     Dot11Type = 0x00
-       Dot11TypeCtrl     Dot11Type = 0x01
-       Dot11TypeData     Dot11Type = 0x02
-       Dot11TypeReserved Dot11Type = 0x03
-       dot11TypeMask               = 0x03
-
-       // The following are type/subtype conglomerations.
-
-       // Management
-       Dot11TypeMgmtAssociationReq    Dot11Type = 0x00
-       Dot11TypeMgmtAssociationResp   Dot11Type = 0x04
-       Dot11TypeMgmtReassociationReq  Dot11Type = 0x08
-       Dot11TypeMgmtReassociationResp Dot11Type = 0x0c
-       Dot11TypeMgmtProbeReq          Dot11Type = 0x10
-       Dot11TypeMgmtProbeResp         Dot11Type = 0x14
-       Dot11TypeMgmtMeasurementPilot  Dot11Type = 0x18
-       Dot11TypeMgmtBeacon            Dot11Type = 0x20
-       Dot11TypeMgmtATIM              Dot11Type = 0x24
-       Dot11TypeMgmtDisassociation    Dot11Type = 0x28
-       Dot11TypeMgmtAuthentication    Dot11Type = 0x2c
-       Dot11TypeMgmtDeauthentication  Dot11Type = 0x30
-       Dot11TypeMgmtAction            Dot11Type = 0x34
-       Dot11TypeMgmtActionNoAck       Dot11Type = 0x38
-
-       // Control
-       Dot11TypeCtrlWrapper       Dot11Type = 0x1d
-       Dot11TypeCtrlBlockAckReq   Dot11Type = 0x21
-       Dot11TypeCtrlBlockAck      Dot11Type = 0x25
-       Dot11TypeCtrlPowersavePoll Dot11Type = 0x29
-       Dot11TypeCtrlRTS           Dot11Type = 0x2d
-       Dot11TypeCtrlCTS           Dot11Type = 0x31
-       Dot11TypeCtrlAck           Dot11Type = 0x35
-       Dot11TypeCtrlCFEnd         Dot11Type = 0x39
-       Dot11TypeCtrlCFEndAck      Dot11Type = 0x3d
-
-       // Data
-       Dot11TypeDataCFAck              Dot11Type = 0x06
-       Dot11TypeDataCFPoll             Dot11Type = 0x0a
-       Dot11TypeDataCFAckPoll          Dot11Type = 0x0e
-       Dot11TypeDataNull               Dot11Type = 0x12
-       Dot11TypeDataCFAckNoData        Dot11Type = 0x16
-       Dot11TypeDataCFPollNoData       Dot11Type = 0x1a
-       Dot11TypeDataCFAckPollNoData    Dot11Type = 0x1e
-       Dot11TypeDataQOSData            Dot11Type = 0x22
-       Dot11TypeDataQOSDataCFAck       Dot11Type = 0x26
-       Dot11TypeDataQOSDataCFPoll      Dot11Type = 0x2a
-       Dot11TypeDataQOSDataCFAckPoll   Dot11Type = 0x2e
-       Dot11TypeDataQOSNull            Dot11Type = 0x32
-       Dot11TypeDataQOSCFPollNoData    Dot11Type = 0x3a
-       Dot11TypeDataQOSCFAckPollNoData Dot11Type = 0x3e
-)
-
-var (
-       // Each of the following arrays contains mappings of how to handle enum
-       // values for various enum types in gopacket/layers.
-       //
-       // So, EthernetTypeMetadata[2] contains information on how to handle EthernetType
-       // 2, including which name to give it and which decoder to use to decode
-       // packet data of that type.  These arrays are filled by default with all of the
-       // protocols gopacket/layers knows how to handle, but users of the library can
-       // add new decoders or override existing ones.  For example, if you write a better
-       // TCP decoder, you can override IPProtocolMetadata[IPProtocolTCP].DecodeWith
-       // with your new decoder, and all gopacket/layers decoding will use your new
-       // decoder whenever they encounter that IPProtocol.
-       EthernetTypeMetadata     [65536]EnumMetadata
-       IPProtocolMetadata       [256]EnumMetadata
-       SCTPChunkTypeMetadata    [256]EnumMetadata
-       PPPTypeMetadata          [65536]EnumMetadata
-       PPPoECodeMetadata        [256]EnumMetadata
-       LinkTypeMetadata         [256]EnumMetadata
-       FDDIFrameControlMetadata [256]EnumMetadata
-       EAPOLTypeMetadata        [256]EnumMetadata
-       ProtocolFamilyMetadata   [256]EnumMetadata
-       Dot11TypeMetadata        [256]EnumMetadata
-       USBTypeMetadata          [256]EnumMetadata
-)
-
-func (a EthernetType) Decode(data []byte, p gopacket.PacketBuilder) error {
-       return EthernetTypeMetadata[a].DecodeWith.Decode(data, p)
-}
-func (a EthernetType) String() string {
-       return EthernetTypeMetadata[a].Name
-}
-func (a EthernetType) LayerType() gopacket.LayerType {
-       return EthernetTypeMetadata[a].LayerType
-}
-func (a IPProtocol) Decode(data []byte, p gopacket.PacketBuilder) error {
-       return IPProtocolMetadata[a].DecodeWith.Decode(data, p)
-}
-func (a IPProtocol) String() string {
-       return IPProtocolMetadata[a].Name
-}
-func (a IPProtocol) LayerType() gopacket.LayerType {
-       return IPProtocolMetadata[a].LayerType
-}
-func (a SCTPChunkType) Decode(data []byte, p gopacket.PacketBuilder) error {
-       return SCTPChunkTypeMetadata[a].DecodeWith.Decode(data, p)
-}
-func (a SCTPChunkType) String() string {
-       return SCTPChunkTypeMetadata[a].Name
-}
-func (a PPPType) Decode(data []byte, p gopacket.PacketBuilder) error {
-       return PPPTypeMetadata[a].DecodeWith.Decode(data, p)
-}
-func (a PPPType) String() string {
-       return PPPTypeMetadata[a].Name
-}
-func (a LinkType) Decode(data []byte, p gopacket.PacketBuilder) error {
-       return LinkTypeMetadata[a].DecodeWith.Decode(data, p)
-}
-func (a LinkType) String() string {
-       return LinkTypeMetadata[a].Name
-}
-func (a PPPoECode) Decode(data []byte, p gopacket.PacketBuilder) error {
-       return PPPoECodeMetadata[a].DecodeWith.Decode(data, p)
-}
-func (a PPPoECode) String() string {
-       return PPPoECodeMetadata[a].Name
-}
-func (a FDDIFrameControl) Decode(data []byte, p gopacket.PacketBuilder) error {
-       return FDDIFrameControlMetadata[a].DecodeWith.Decode(data, p)
-}
-func (a FDDIFrameControl) String() string {
-       return FDDIFrameControlMetadata[a].Name
-}
-func (a EAPOLType) Decode(data []byte, p gopacket.PacketBuilder) error {
-       return EAPOLTypeMetadata[a].DecodeWith.Decode(data, p)
-}
-func (a EAPOLType) String() string {
-       return EAPOLTypeMetadata[a].Name
-}
-func (a EAPOLType) LayerType() gopacket.LayerType {
-       return EAPOLTypeMetadata[a].LayerType
-}
-func (a ProtocolFamily) Decode(data []byte, p gopacket.PacketBuilder) error {
-       return ProtocolFamilyMetadata[a].DecodeWith.Decode(data, p)
-}
-func (a ProtocolFamily) String() string {
-       return ProtocolFamilyMetadata[a].Name
-}
-func (a ProtocolFamily) LayerType() gopacket.LayerType {
-       return ProtocolFamilyMetadata[a].LayerType
-}
-func (a Dot11Type) Decode(data []byte, p gopacket.PacketBuilder) error {
-       return Dot11TypeMetadata[a].DecodeWith.Decode(data, p)
-}
-func (a Dot11Type) String() string {
-       return Dot11TypeMetadata[a].Name
-}
-func (a Dot11Type) LayerType() gopacket.LayerType {
-       return Dot11TypeMetadata[a].LayerType
-}
-
-// Decode a raw v4 or v6 IP packet.
-func decodeIPv4or6(data []byte, p gopacket.PacketBuilder) error {
-       version := data[0] >> 4
-       switch version {
-       case 4:
-               return decodeIPv4(data, p)
-       case 6:
-               return decodeIPv6(data, p)
-       }
-       return fmt.Errorf("Invalid IP packet version %v", version)
-}
-
-func init() {
-       // Here we link up all enumerations with their respective names and decoders.
-       for i := 0; i < 65536; i++ {
-               EthernetTypeMetadata[i] = EnumMetadata{
-                       DecodeWith: errorFunc(fmt.Sprintf("Unable to decode ethernet type %d", i)),
-                       Name:       fmt.Sprintf("UnknownEthernetType(%d)", i),
-               }
-               PPPTypeMetadata[i] = EnumMetadata{
-                       DecodeWith: errorFunc(fmt.Sprintf("Unable to decode PPP type %d", i)),
-                       Name:       fmt.Sprintf("UnknownPPPType(%d)", i),
-               }
-       }
-       for i := 0; i < 256; i++ {
-               IPProtocolMetadata[i] = EnumMetadata{
-                       DecodeWith: errorFunc(fmt.Sprintf("Unable to decode IP protocol %d", i)),
-                       Name:       fmt.Sprintf("UnknownIPProtocol(%d)", i),
-               }
-               SCTPChunkTypeMetadata[i] = EnumMetadata{
-                       DecodeWith: errorFunc(fmt.Sprintf("Unable to decode SCTP chunk type %d", i)),
-                       Name:       fmt.Sprintf("UnknownSCTPChunkType(%d)", i),
-               }
-               PPPoECodeMetadata[i] = EnumMetadata{
-                       DecodeWith: errorFunc(fmt.Sprintf("Unable to decode PPPoE code %d", i)),
-                       Name:       fmt.Sprintf("UnknownPPPoECode(%d)", i),
-               }
-               LinkTypeMetadata[i] = EnumMetadata{
-                       DecodeWith: errorFunc(fmt.Sprintf("Unable to decode link type %d", i)),
-                       Name:       fmt.Sprintf("UnknownLinkType(%d)", i),
-               }
-               FDDIFrameControlMetadata[i] = EnumMetadata{
-                       DecodeWith: errorFunc(fmt.Sprintf("Unable to decode FDDI frame control %d", i)),
-                       Name:       fmt.Sprintf("UnknownFDDIFrameControl(%d)", i),
-               }
-               EAPOLTypeMetadata[i] = EnumMetadata{
-                       DecodeWith: errorFunc(fmt.Sprintf("Unable to decode EAPOL type %d", i)),
-                       Name:       fmt.Sprintf("UnknownEAPOLType(%d)", i),
-               }
-               ProtocolFamilyMetadata[i] = EnumMetadata{
-                       DecodeWith: errorFunc(fmt.Sprintf("Unable to decode protocol family %d", i)),
-                       Name:       fmt.Sprintf("UnknownProtocolFamily(%d)", i),
-               }
-               Dot11TypeMetadata[i] = EnumMetadata{
-                       DecodeWith: errorFunc(fmt.Sprintf("Unable to decode Dot11 type %d", i)),
-                       Name:       fmt.Sprintf("UnknownDot11Type(%d)", i),
-               }
-       }
-
-       EthernetTypeMetadata[EthernetTypeLLC] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeLLC), Name: "LLC", LayerType: LayerTypeLLC}
-       EthernetTypeMetadata[EthernetTypeIPv4] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeIPv4), Name: "IPv4", LayerType: LayerTypeIPv4}
-       EthernetTypeMetadata[EthernetTypeIPv6] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeIPv6), Name: "IPv6", LayerType: LayerTypeIPv6}
-       EthernetTypeMetadata[EthernetTypeARP] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeARP), Name: "ARP", LayerType: LayerTypeARP}
-       EthernetTypeMetadata[EthernetTypeDot1Q] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot1Q), Name: "Dot1Q", LayerType: LayerTypeDot1Q}
-       EthernetTypeMetadata[EthernetTypePPPoEDiscovery] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodePPPoE), Name: "PPPoEDiscovery", LayerType: LayerTypePPPoE}
-       EthernetTypeMetadata[EthernetTypePPPoESession] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodePPPoE), Name: "PPPoESession", LayerType: LayerTypePPPoE}
-       EthernetTypeMetadata[EthernetTypeEthernetCTP] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeEthernetCTP), Name: "EthernetCTP", LayerType: LayerTypeEthernetCTP}
-       EthernetTypeMetadata[EthernetTypeCiscoDiscovery] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeCiscoDiscovery), Name: "CiscoDiscovery", LayerType: LayerTypeCiscoDiscovery}
-       EthernetTypeMetadata[EthernetTypeNortelDiscovery] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeNortelDiscovery), Name: "NortelDiscovery", LayerType: LayerTypeNortelDiscovery}
-       EthernetTypeMetadata[EthernetTypeLinkLayerDiscovery] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeLinkLayerDiscovery), Name: "LinkLayerDiscovery", LayerType: LayerTypeLinkLayerDiscovery}
-       EthernetTypeMetadata[EthernetTypeMPLSUnicast] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeMPLS), Name: "MPLSUnicast", LayerType: LayerTypeMPLS}
-       EthernetTypeMetadata[EthernetTypeMPLSMulticast] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeMPLS), Name: "MPLSMulticast", LayerType: LayerTypeMPLS}
-       EthernetTypeMetadata[EthernetTypeEAPOL] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeEAPOL), Name: "EAPOL", LayerType: LayerTypeEAPOL}
-       EthernetTypeMetadata[EthernetTypeQinQ] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot1Q), Name: "Dot1Q", LayerType: LayerTypeDot1Q}
-       EthernetTypeMetadata[EthernetTypeTransparentEthernetBridging] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeEthernet), Name: "TransparentEthernetBridging", LayerType: LayerTypeEthernet}
-
-       IPProtocolMetadata[IPProtocolIPv4] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeIPv4), Name: "IPv4", LayerType: LayerTypeIPv4}
-       IPProtocolMetadata[IPProtocolTCP] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeTCP), Name: "TCP", LayerType: LayerTypeTCP}
-       IPProtocolMetadata[IPProtocolUDP] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeUDP), Name: "UDP", LayerType: LayerTypeUDP}
-       IPProtocolMetadata[IPProtocolICMPv4] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeICMPv4), Name: "ICMPv4", LayerType: LayerTypeICMPv4}
-       IPProtocolMetadata[IPProtocolICMPv6] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeICMPv6), Name: "ICMPv6", LayerType: LayerTypeICMPv6}
-       IPProtocolMetadata[IPProtocolSCTP] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeSCTP), Name: "SCTP", LayerType: LayerTypeSCTP}
-       IPProtocolMetadata[IPProtocolIPv6] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeIPv6), Name: "IPv6", LayerType: LayerTypeIPv6}
-       IPProtocolMetadata[IPProtocolIPIP] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeIPv4), Name: "IPv4", LayerType: LayerTypeIPv4}
-       IPProtocolMetadata[IPProtocolEtherIP] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeEtherIP), Name: "EtherIP", LayerType: LayerTypeEtherIP}
-       IPProtocolMetadata[IPProtocolRUDP] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeRUDP), Name: "RUDP", LayerType: LayerTypeRUDP}
-       IPProtocolMetadata[IPProtocolGRE] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeGRE), Name: "GRE", LayerType: LayerTypeGRE}
-       IPProtocolMetadata[IPProtocolIPv6HopByHop] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeIPv6HopByHop), Name: "IPv6HopByHop", LayerType: LayerTypeIPv6HopByHop}
-       IPProtocolMetadata[IPProtocolIPv6Routing] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeIPv6Routing), Name: "IPv6Routing", LayerType: LayerTypeIPv6Routing}
-       IPProtocolMetadata[IPProtocolIPv6Fragment] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeIPv6Fragment), Name: "IPv6Fragment", LayerType: LayerTypeIPv6Fragment}
-       IPProtocolMetadata[IPProtocolIPv6Destination] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeIPv6Destination), Name: "IPv6Destination", LayerType: LayerTypeIPv6Destination}
-       IPProtocolMetadata[IPProtocolOSPF] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeOSPF), Name: "OSPF", LayerType: LayerTypeOSPF}
-       IPProtocolMetadata[IPProtocolAH] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeIPSecAH), Name: "IPSecAH", LayerType: LayerTypeIPSecAH}
-       IPProtocolMetadata[IPProtocolESP] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeIPSecESP), Name: "IPSecESP", LayerType: LayerTypeIPSecESP}
-       IPProtocolMetadata[IPProtocolUDPLite] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeUDPLite), Name: "UDPLite", LayerType: LayerTypeUDPLite}
-       IPProtocolMetadata[IPProtocolMPLSInIP] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeMPLS), Name: "MPLS", LayerType: LayerTypeMPLS}
-       IPProtocolMetadata[IPProtocolNoNextHeader] = EnumMetadata{DecodeWith: gopacket.DecodePayload, Name: "NoNextHeader", LayerType: gopacket.LayerTypePayload}
-       IPProtocolMetadata[IPProtocolIGMP] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeIGMP), Name: "IGMP", LayerType: LayerTypeIGMP}
-       IPProtocolMetadata[IPProtocolVRRP] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeVRRP), Name: "VRRP", LayerType: LayerTypeVRRP}
-
-       SCTPChunkTypeMetadata[SCTPChunkTypeData] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeSCTPData), Name: "Data"}
-       SCTPChunkTypeMetadata[SCTPChunkTypeInit] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeSCTPInit), Name: "Init"}
-       SCTPChunkTypeMetadata[SCTPChunkTypeInitAck] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeSCTPInit), Name: "InitAck"}
-       SCTPChunkTypeMetadata[SCTPChunkTypeSack] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeSCTPSack), Name: "Sack"}
-       SCTPChunkTypeMetadata[SCTPChunkTypeHeartbeat] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeSCTPHeartbeat), Name: "Heartbeat"}
-       SCTPChunkTypeMetadata[SCTPChunkTypeHeartbeatAck] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeSCTPHeartbeat), Name: "HeartbeatAck"}
-       SCTPChunkTypeMetadata[SCTPChunkTypeAbort] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeSCTPError), Name: "Abort"}
-       SCTPChunkTypeMetadata[SCTPChunkTypeError] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeSCTPError), Name: "Error"}
-       SCTPChunkTypeMetadata[SCTPChunkTypeShutdown] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeSCTPShutdown), Name: "Shutdown"}
-       SCTPChunkTypeMetadata[SCTPChunkTypeShutdownAck] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeSCTPShutdownAck), Name: "ShutdownAck"}
-       SCTPChunkTypeMetadata[SCTPChunkTypeCookieEcho] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeSCTPCookieEcho), Name: "CookieEcho"}
-       SCTPChunkTypeMetadata[SCTPChunkTypeCookieAck] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeSCTPEmptyLayer), Name: "CookieAck"}
-       SCTPChunkTypeMetadata[SCTPChunkTypeShutdownComplete] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeSCTPEmptyLayer), Name: "ShutdownComplete"}
-
-       PPPTypeMetadata[PPPTypeIPv4] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeIPv4), Name: "IPv4"}
-       PPPTypeMetadata[PPPTypeIPv6] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeIPv6), Name: "IPv6"}
-       PPPTypeMetadata[PPPTypeMPLSUnicast] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeMPLS), Name: "MPLSUnicast"}
-       PPPTypeMetadata[PPPTypeMPLSMulticast] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeMPLS), Name: "MPLSMulticast"}
-
-       PPPoECodeMetadata[PPPoECodeSession] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodePPP), Name: "PPP"}
-
-       LinkTypeMetadata[LinkTypeEthernet] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeEthernet), Name: "Ethernet"}
-       LinkTypeMetadata[LinkTypePPP] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodePPP), Name: "PPP"}
-       LinkTypeMetadata[LinkTypeFDDI] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeFDDI), Name: "FDDI"}
-       LinkTypeMetadata[LinkTypeNull] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeLoopback), Name: "Null"}
-       LinkTypeMetadata[LinkTypeIEEE802_11] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11), Name: "Dot11"}
-       LinkTypeMetadata[LinkTypeLoop] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeLoopback), Name: "Loop"}
-       LinkTypeMetadata[LinkTypeIEEE802_11] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11), Name: "802.11"}
-       LinkTypeMetadata[LinkTypeRaw] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeIPv4or6), Name: "Raw"}
-       LinkTypeMetadata[LinkTypePFLog] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodePFLog), Name: "PFLog"}
-       LinkTypeMetadata[LinkTypeIEEE80211Radio] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeRadioTap), Name: "RadioTap"}
-       LinkTypeMetadata[LinkTypeLinuxUSB] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeUSB), Name: "USB"}
-       LinkTypeMetadata[LinkTypeLinuxSLL] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeLinuxSLL), Name: "Linux SLL"}
-       LinkTypeMetadata[LinkTypePrismHeader] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodePrismHeader), Name: "Prism"}
-
-       FDDIFrameControlMetadata[FDDIFrameControlLLC] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeLLC), Name: "LLC"}
-
-       EAPOLTypeMetadata[EAPOLTypeEAP] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeEAP), Name: "EAP", LayerType: LayerTypeEAP}
-
-       ProtocolFamilyMetadata[ProtocolFamilyIPv4] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeIPv4), Name: "IPv4", LayerType: LayerTypeIPv4}
-       ProtocolFamilyMetadata[ProtocolFamilyIPv6BSD] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeIPv6), Name: "IPv6", LayerType: LayerTypeIPv6}
-       ProtocolFamilyMetadata[ProtocolFamilyIPv6FreeBSD] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeIPv6), Name: "IPv6", LayerType: LayerTypeIPv6}
-       ProtocolFamilyMetadata[ProtocolFamilyIPv6Darwin] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeIPv6), Name: "IPv6", LayerType: LayerTypeIPv6}
-       ProtocolFamilyMetadata[ProtocolFamilyIPv6Linux] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeIPv6), Name: "IPv6", LayerType: LayerTypeIPv6}
-
-       Dot11TypeMetadata[Dot11TypeMgmtAssociationReq] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11MgmtAssociationReq), Name: "MgmtAssociationReq", LayerType: LayerTypeDot11MgmtAssociationReq}
-       Dot11TypeMetadata[Dot11TypeMgmtAssociationResp] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11MgmtAssociationResp), Name: "MgmtAssociationResp", LayerType: LayerTypeDot11MgmtAssociationResp}
-       Dot11TypeMetadata[Dot11TypeMgmtReassociationReq] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11MgmtReassociationReq), Name: "MgmtReassociationReq", LayerType: LayerTypeDot11MgmtReassociationReq}
-       Dot11TypeMetadata[Dot11TypeMgmtReassociationResp] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11MgmtReassociationResp), Name: "MgmtReassociationResp", LayerType: LayerTypeDot11MgmtReassociationResp}
-       Dot11TypeMetadata[Dot11TypeMgmtProbeReq] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11MgmtProbeReq), Name: "MgmtProbeReq", LayerType: LayerTypeDot11MgmtProbeReq}
-       Dot11TypeMetadata[Dot11TypeMgmtProbeResp] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11MgmtProbeResp), Name: "MgmtProbeResp", LayerType: LayerTypeDot11MgmtProbeResp}
-       Dot11TypeMetadata[Dot11TypeMgmtMeasurementPilot] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11MgmtMeasurementPilot), Name: "MgmtMeasurementPilot", LayerType: LayerTypeDot11MgmtMeasurementPilot}
-       Dot11TypeMetadata[Dot11TypeMgmtBeacon] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11MgmtBeacon), Name: "MgmtBeacon", LayerType: LayerTypeDot11MgmtBeacon}
-       Dot11TypeMetadata[Dot11TypeMgmtATIM] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11MgmtATIM), Name: "MgmtATIM", LayerType: LayerTypeDot11MgmtATIM}
-       Dot11TypeMetadata[Dot11TypeMgmtDisassociation] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11MgmtDisassociation), Name: "MgmtDisassociation", LayerType: LayerTypeDot11MgmtDisassociation}
-       Dot11TypeMetadata[Dot11TypeMgmtAuthentication] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11MgmtAuthentication), Name: "MgmtAuthentication", LayerType: LayerTypeDot11MgmtAuthentication}
-       Dot11TypeMetadata[Dot11TypeMgmtDeauthentication] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11MgmtDeauthentication), Name: "MgmtDeauthentication", LayerType: LayerTypeDot11MgmtDeauthentication}
-       Dot11TypeMetadata[Dot11TypeMgmtAction] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11MgmtAction), Name: "MgmtAction", LayerType: LayerTypeDot11MgmtAction}
-       Dot11TypeMetadata[Dot11TypeMgmtActionNoAck] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11MgmtActionNoAck), Name: "MgmtActionNoAck", LayerType: LayerTypeDot11MgmtActionNoAck}
-       Dot11TypeMetadata[Dot11TypeCtrl] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11Ctrl), Name: "Ctrl", LayerType: LayerTypeDot11Ctrl}
-       Dot11TypeMetadata[Dot11TypeCtrlWrapper] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11Ctrl), Name: "CtrlWrapper", LayerType: LayerTypeDot11Ctrl}
-       Dot11TypeMetadata[Dot11TypeCtrlBlockAckReq] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11CtrlBlockAckReq), Name: "CtrlBlockAckReq", LayerType: LayerTypeDot11CtrlBlockAckReq}
-       Dot11TypeMetadata[Dot11TypeCtrlBlockAck] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11CtrlBlockAck), Name: "CtrlBlockAck", LayerType: LayerTypeDot11CtrlBlockAck}
-       Dot11TypeMetadata[Dot11TypeCtrlPowersavePoll] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11CtrlPowersavePoll), Name: "CtrlPowersavePoll", LayerType: LayerTypeDot11CtrlPowersavePoll}
-       Dot11TypeMetadata[Dot11TypeCtrlRTS] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11CtrlRTS), Name: "CtrlRTS", LayerType: LayerTypeDot11CtrlRTS}
-       Dot11TypeMetadata[Dot11TypeCtrlCTS] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11CtrlCTS), Name: "CtrlCTS", LayerType: LayerTypeDot11CtrlCTS}
-       Dot11TypeMetadata[Dot11TypeCtrlAck] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11CtrlAck), Name: "CtrlAck", LayerType: LayerTypeDot11CtrlAck}
-       Dot11TypeMetadata[Dot11TypeCtrlCFEnd] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11CtrlCFEnd), Name: "CtrlCFEnd", LayerType: LayerTypeDot11CtrlCFEnd}
-       Dot11TypeMetadata[Dot11TypeCtrlCFEndAck] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11CtrlCFEndAck), Name: "CtrlCFEndAck", LayerType: LayerTypeDot11CtrlCFEndAck}
-       Dot11TypeMetadata[Dot11TypeData] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11Data), Name: "Data", LayerType: LayerTypeDot11Data}
-       Dot11TypeMetadata[Dot11TypeDataCFAck] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11DataCFAck), Name: "DataCFAck", LayerType: LayerTypeDot11DataCFAck}
-       Dot11TypeMetadata[Dot11TypeDataCFPoll] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11DataCFPoll), Name: "DataCFPoll", LayerType: LayerTypeDot11DataCFPoll}
-       Dot11TypeMetadata[Dot11TypeDataCFAckPoll] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11DataCFAckPoll), Name: "DataCFAckPoll", LayerType: LayerTypeDot11DataCFAckPoll}
-       Dot11TypeMetadata[Dot11TypeDataNull] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11DataNull), Name: "DataNull", LayerType: LayerTypeDot11DataNull}
-       Dot11TypeMetadata[Dot11TypeDataCFAckNoData] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11DataCFAckNoData), Name: "DataCFAckNoData", LayerType: LayerTypeDot11DataCFAckNoData}
-       Dot11TypeMetadata[Dot11TypeDataCFPollNoData] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11DataCFPollNoData), Name: "DataCFPollNoData", LayerType: LayerTypeDot11DataCFPollNoData}
-       Dot11TypeMetadata[Dot11TypeDataCFAckPollNoData] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11DataCFAckPollNoData), Name: "DataCFAckPollNoData", LayerType: LayerTypeDot11DataCFAckPollNoData}
-       Dot11TypeMetadata[Dot11TypeDataQOSData] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11DataQOSData), Name: "DataQOSData", LayerType: LayerTypeDot11DataQOSData}
-       Dot11TypeMetadata[Dot11TypeDataQOSDataCFAck] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11DataQOSDataCFAck), Name: "DataQOSDataCFAck", LayerType: LayerTypeDot11DataQOSDataCFAck}
-       Dot11TypeMetadata[Dot11TypeDataQOSDataCFPoll] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11DataQOSDataCFPoll), Name: "DataQOSDataCFPoll", LayerType: LayerTypeDot11DataQOSDataCFPoll}
-       Dot11TypeMetadata[Dot11TypeDataQOSDataCFAckPoll] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11DataQOSDataCFAckPoll), Name: "DataQOSDataCFAckPoll", LayerType: LayerTypeDot11DataQOSDataCFAckPoll}
-       Dot11TypeMetadata[Dot11TypeDataQOSNull] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11DataQOSNull), Name: "DataQOSNull", LayerType: LayerTypeDot11DataQOSNull}
-       Dot11TypeMetadata[Dot11TypeDataQOSCFPollNoData] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11DataQOSCFPollNoData), Name: "DataQOSCFPollNoData", LayerType: LayerTypeDot11DataQOSCFPollNoData}
-       Dot11TypeMetadata[Dot11TypeDataQOSCFAckPollNoData] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeDot11DataQOSCFAckPollNoData), Name: "DataQOSCFAckPollNoData", LayerType: LayerTypeDot11DataQOSCFAckPollNoData}
-
-       USBTypeMetadata[USBTransportTypeInterrupt] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeUSBInterrupt), Name: "Interrupt", LayerType: LayerTypeUSBInterrupt}
-       USBTypeMetadata[USBTransportTypeControl] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeUSBControl), Name: "Control", LayerType: LayerTypeUSBControl}
-       USBTypeMetadata[USBTransportTypeBulk] = EnumMetadata{DecodeWith: gopacket.DecodeFunc(decodeUSBBulk), Name: "Bulk", LayerType: LayerTypeUSBBulk}
-}
diff --git a/vendor/github.com/google/gopacket/layers/etherip.go b/vendor/github.com/google/gopacket/layers/etherip.go
deleted file mode 100644 (file)
index 5b7b722..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "github.com/google/gopacket"
-)
-
-// EtherIP is the struct for storing RFC 3378 EtherIP packet headers.
-type EtherIP struct {
-       BaseLayer
-       Version  uint8
-       Reserved uint16
-}
-
-// LayerType returns gopacket.LayerTypeEtherIP.
-func (e *EtherIP) LayerType() gopacket.LayerType { return LayerTypeEtherIP }
-
-// DecodeFromBytes decodes the given bytes into this layer.
-func (e *EtherIP) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       e.Version = data[0] >> 4
-       e.Reserved = binary.BigEndian.Uint16(data[:2]) & 0x0fff
-       e.BaseLayer = BaseLayer{data[:2], data[2:]}
-       return nil
-}
-
-// CanDecode returns the set of layer types that this DecodingLayer can decode.
-func (e *EtherIP) CanDecode() gopacket.LayerClass {
-       return LayerTypeEtherIP
-}
-
-// NextLayerType returns the layer type contained by this DecodingLayer.
-func (e *EtherIP) NextLayerType() gopacket.LayerType {
-       return LayerTypeEthernet
-}
-
-func decodeEtherIP(data []byte, p gopacket.PacketBuilder) error {
-       e := &EtherIP{}
-       return decodingLayerDecoder(e, data, p)
-}
diff --git a/vendor/github.com/google/gopacket/layers/ethernet.go b/vendor/github.com/google/gopacket/layers/ethernet.go
deleted file mode 100644 (file)
index 4eebf8c..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-// Copyright 2009-2011 Andreas Krennmair. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "errors"
-       "fmt"
-       "github.com/google/gopacket"
-       "net"
-)
-
-// EthernetBroadcast is the broadcast MAC address used by Ethernet.
-var EthernetBroadcast = net.HardwareAddr{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}
-
-// Ethernet is the layer for Ethernet frame headers.
-type Ethernet struct {
-       BaseLayer
-       SrcMAC, DstMAC net.HardwareAddr
-       EthernetType   EthernetType
-       // Length is only set if a length field exists within this header.  Ethernet
-       // headers follow two different standards, one that uses an EthernetType, the
-       // other which defines a length the follows with a LLC header (802.3).  If the
-       // former is the case, we set EthernetType and Length stays 0.  In the latter
-       // case, we set Length and EthernetType = EthernetTypeLLC.
-       Length uint16
-}
-
-// LayerType returns LayerTypeEthernet
-func (e *Ethernet) LayerType() gopacket.LayerType { return LayerTypeEthernet }
-
-func (e *Ethernet) LinkFlow() gopacket.Flow {
-       return gopacket.NewFlow(EndpointMAC, e.SrcMAC, e.DstMAC)
-}
-
-func (eth *Ethernet) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       if len(data) < 14 {
-               return errors.New("Ethernet packet too small")
-       }
-       eth.DstMAC = net.HardwareAddr(data[0:6])
-       eth.SrcMAC = net.HardwareAddr(data[6:12])
-       eth.EthernetType = EthernetType(binary.BigEndian.Uint16(data[12:14]))
-       eth.BaseLayer = BaseLayer{data[:14], data[14:]}
-       if eth.EthernetType < 0x0600 {
-               eth.Length = uint16(eth.EthernetType)
-               eth.EthernetType = EthernetTypeLLC
-               if cmp := len(eth.Payload) - int(eth.Length); cmp < 0 {
-                       df.SetTruncated()
-               } else if cmp > 0 {
-                       // Strip off bytes at the end, since we have too many bytes
-                       eth.Payload = eth.Payload[:len(eth.Payload)-cmp]
-               }
-               //      fmt.Println(eth)
-       }
-       return nil
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-// See the docs for gopacket.SerializableLayer for more info.
-func (eth *Ethernet) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       if len(eth.DstMAC) != 6 {
-               return fmt.Errorf("invalid dst MAC: %v", eth.DstMAC)
-       }
-       if len(eth.SrcMAC) != 6 {
-               return fmt.Errorf("invalid src MAC: %v", eth.SrcMAC)
-       }
-       payload := b.Bytes()
-       bytes, err := b.PrependBytes(14)
-       if err != nil {
-               return err
-       }
-       copy(bytes, eth.DstMAC)
-       copy(bytes[6:], eth.SrcMAC)
-       if eth.Length != 0 || eth.EthernetType == EthernetTypeLLC {
-               if opts.FixLengths {
-                       eth.Length = uint16(len(payload))
-               }
-               if eth.EthernetType != EthernetTypeLLC {
-                       return fmt.Errorf("ethernet type %v not compatible with length value %v", eth.EthernetType, eth.Length)
-               } else if eth.Length > 0x0600 {
-                       return fmt.Errorf("invalid ethernet length %v", eth.Length)
-               }
-               binary.BigEndian.PutUint16(bytes[12:], eth.Length)
-       } else {
-               binary.BigEndian.PutUint16(bytes[12:], uint16(eth.EthernetType))
-       }
-       length := len(b.Bytes())
-       if length < 60 {
-               // Pad out to 60 bytes.
-               padding, err := b.AppendBytes(60 - length)
-               if err != nil {
-                       return err
-               }
-               copy(padding, lotsOfZeros[:])
-       }
-       return nil
-}
-
-func (eth *Ethernet) CanDecode() gopacket.LayerClass {
-       return LayerTypeEthernet
-}
-
-func (eth *Ethernet) NextLayerType() gopacket.LayerType {
-       return eth.EthernetType.LayerType()
-}
-
-func decodeEthernet(data []byte, p gopacket.PacketBuilder) error {
-       eth := &Ethernet{}
-       err := eth.DecodeFromBytes(data, p)
-       if err != nil {
-               return err
-       }
-       p.AddLayer(eth)
-       p.SetLinkLayer(eth)
-       return p.NextDecoder(eth.EthernetType)
-}
diff --git a/vendor/github.com/google/gopacket/layers/fddi.go b/vendor/github.com/google/gopacket/layers/fddi.go
deleted file mode 100644 (file)
index ed9e195..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "github.com/google/gopacket"
-       "net"
-)
-
-// FDDI contains the header for FDDI frames.
-type FDDI struct {
-       BaseLayer
-       FrameControl   FDDIFrameControl
-       Priority       uint8
-       SrcMAC, DstMAC net.HardwareAddr
-}
-
-// LayerType returns LayerTypeFDDI.
-func (f *FDDI) LayerType() gopacket.LayerType { return LayerTypeFDDI }
-
-// LinkFlow returns a new flow of type EndpointMAC.
-func (f *FDDI) LinkFlow() gopacket.Flow {
-       return gopacket.NewFlow(EndpointMAC, f.SrcMAC, f.DstMAC)
-}
-
-func decodeFDDI(data []byte, p gopacket.PacketBuilder) error {
-       f := &FDDI{
-               FrameControl: FDDIFrameControl(data[0] & 0xF8),
-               Priority:     data[0] & 0x07,
-               SrcMAC:       net.HardwareAddr(data[1:7]),
-               DstMAC:       net.HardwareAddr(data[7:13]),
-               BaseLayer:    BaseLayer{data[:13], data[13:]},
-       }
-       p.SetLinkLayer(f)
-       p.AddLayer(f)
-       return p.NextDecoder(f.FrameControl)
-}
diff --git a/vendor/github.com/google/gopacket/layers/gen.go b/vendor/github.com/google/gopacket/layers/gen.go
deleted file mode 100644 (file)
index ab7a0c0..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-// +build ignore
-
-// This binary pulls known ports from IANA, and uses them to populate
-// iana_ports.go's TCPPortNames and UDPPortNames maps.
-//
-//  go run gen.go | gofmt > iana_ports.go
-package main
-
-import (
-       "bytes"
-       "encoding/xml"
-       "flag"
-       "fmt"
-       "io/ioutil"
-       "net/http"
-       "os"
-       "strconv"
-       "time"
-)
-
-const fmtString = `// Copyright 2012 Google, Inc. All rights reserved.
-
-package layers
-
-// Created by gen.go, don't edit manually
-// Generated at %s
-// Fetched from %q
-
-// TCPPortNames contains the port names for all TCP ports.
-var TCPPortNames = tcpPortNames
-
-// UDPPortNames contains the port names for all UDP ports.
-var UDPPortNames = udpPortNames
-
-// SCTPPortNames contains the port names for all SCTP ports.
-var SCTPPortNames = sctpPortNames
-
-var tcpPortNames = map[TCPPort]string{
-%s}
-var udpPortNames = map[UDPPort]string{
-%s}
-var sctpPortNames = map[SCTPPort]string{
-%s}
-`
-
-var url = flag.String("url", "http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml", "URL to grab port numbers from")
-
-func main() {
-       fmt.Fprintf(os.Stderr, "Fetching ports from %q\n", *url)
-       resp, err := http.Get(*url)
-       if err != nil {
-               panic(err)
-       }
-       defer resp.Body.Close()
-       body, err := ioutil.ReadAll(resp.Body)
-       if err != nil {
-               panic(err)
-       }
-       fmt.Fprintln(os.Stderr, "Parsing XML")
-       var registry struct {
-               Records []struct {
-                       Protocol string `xml:"protocol"`
-                       Number   string `xml:"number"`
-                       Name     string `xml:"name"`
-               } `xml:"record"`
-       }
-       xml.Unmarshal(body, &registry)
-       var tcpPorts bytes.Buffer
-       var udpPorts bytes.Buffer
-       var sctpPorts bytes.Buffer
-       done := map[string]map[int]bool{
-               "tcp":  map[int]bool{},
-               "udp":  map[int]bool{},
-               "sctp": map[int]bool{},
-       }
-       for _, r := range registry.Records {
-               port, err := strconv.Atoi(r.Number)
-               if err != nil {
-                       continue
-               }
-               if r.Name == "" {
-                       continue
-               }
-               var b *bytes.Buffer
-               switch r.Protocol {
-               case "tcp":
-                       b = &tcpPorts
-               case "udp":
-                       b = &udpPorts
-               case "sctp":
-                       b = &sctpPorts
-               default:
-                       continue
-               }
-               if done[r.Protocol][port] {
-                       continue
-               }
-               done[r.Protocol][port] = true
-               fmt.Fprintf(b, "\t%d: %q,\n", port, r.Name)
-       }
-       fmt.Fprintln(os.Stderr, "Writing results to stdout")
-       fmt.Printf(fmtString, time.Now(), *url, tcpPorts.String(), udpPorts.String(), sctpPorts.String())
-}
diff --git a/vendor/github.com/google/gopacket/layers/gen_linted.sh b/vendor/github.com/google/gopacket/layers/gen_linted.sh
deleted file mode 100644 (file)
index 75c701f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-for i in *.go; do golint $i | grep -q . || echo $i; done > .linted
diff --git a/vendor/github.com/google/gopacket/layers/geneve.go b/vendor/github.com/google/gopacket/layers/geneve.go
deleted file mode 100644 (file)
index 6dc05cf..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-// Copyright 2016 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-
-       "github.com/google/gopacket"
-)
-
-// Geneve is specifed here https://tools.ietf.org/html/draft-ietf-nvo3-geneve-03
-// Geneve Header:
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-// |Ver|  Opt Len  |O|C|    Rsvd.  |          Protocol Type        |
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-// |        Virtual Network Identifier (VNI)       |    Reserved   |
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-// |                    Variable Length Options                    |
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-type Geneve struct {
-       BaseLayer
-       Version        uint8        // 2 bits
-       OptionsLength  uint8        // 6 bits
-       OAMPacket      bool         // 1 bits
-       CriticalOption bool         // 1 bits
-       Protocol       EthernetType // 16 bits
-       VNI            uint32       // 24bits
-       Options        []*GeneveOption
-}
-
-// Geneve Tunnel Options
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-// |          Option Class         |      Type     |R|R|R| Length  |
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-// |                      Variable Option Data                     |
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-type GeneveOption struct {
-       Class  uint16 // 16 bits
-       Type   uint8  // 8 bits
-       Flags  uint8  // 3 bits
-       Length uint8  // 5 bits
-       Data   []byte
-}
-
-// LayerType returns LayerTypeGeneve
-func (gn *Geneve) LayerType() gopacket.LayerType { return LayerTypeGeneve }
-
-func decodeGeneveOption(data []byte, gn *Geneve) (*GeneveOption, uint8) {
-       opt := &GeneveOption{}
-
-       opt.Class = binary.BigEndian.Uint16(data[0:1])
-       opt.Type = data[2]
-       opt.Flags = data[3] >> 4
-       opt.Length = data[3] & 0xf
-
-       copy(opt.Data, data[4:opt.Length])
-
-       return opt, 4 + opt.Length
-}
-
-func (gn *Geneve) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       gn.Version = data[0] >> 7
-       gn.OptionsLength = data[0] & 0x3f
-
-       gn.OAMPacket = data[1]&0x80 > 0
-       gn.CriticalOption = data[1]&0x40 > 0
-       gn.Protocol = EthernetType(binary.BigEndian.Uint16(data[2:4]))
-
-       var buf [4]byte
-       copy(buf[1:], data[4:7])
-       gn.VNI = binary.BigEndian.Uint32(buf[:])
-
-       offset, length := uint8(8), gn.OptionsLength
-       for length > 0 {
-               opt, len := decodeGeneveOption(data[offset:], gn)
-               gn.Options = append(gn.Options, opt)
-
-               length -= len
-               offset += len
-       }
-
-       gn.BaseLayer = BaseLayer{data[:offset], data[offset:]}
-
-       return nil
-}
-
-func (gn *Geneve) NextLayerType() gopacket.LayerType {
-       return gn.Protocol.LayerType()
-}
-
-func decodeGeneve(data []byte, p gopacket.PacketBuilder) error {
-       gn := &Geneve{}
-       return decodingLayerDecoder(gn, data, p)
-}
diff --git a/vendor/github.com/google/gopacket/layers/gre.go b/vendor/github.com/google/gopacket/layers/gre.go
deleted file mode 100644 (file)
index 15d5290..0000000
+++ /dev/null
@@ -1,185 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-
-       "github.com/google/gopacket"
-)
-
-// GRE is a Generic Routing Encapsulation header.
-type GRE struct {
-       BaseLayer
-       ChecksumPresent, RoutingPresent, KeyPresent, SeqPresent, StrictSourceRoute bool
-       RecursionControl, Flags, Version                                           uint8
-       Protocol                                                                   EthernetType
-       Checksum, Offset                                                           uint16
-       Key, Seq                                                                   uint32
-       *GRERouting
-}
-
-// GRERouting is GRE routing information, present if the RoutingPresent flag is
-// set.
-type GRERouting struct {
-       AddressFamily        uint16
-       SREOffset, SRELength uint8
-       RoutingInformation   []byte
-       Next                 *GRERouting
-}
-
-// LayerType returns gopacket.LayerTypeGRE.
-func (g *GRE) LayerType() gopacket.LayerType { return LayerTypeGRE }
-
-// DecodeFromBytes decodes the given bytes into this layer.
-func (g *GRE) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       g.ChecksumPresent = data[0]&0x80 != 0
-       g.RoutingPresent = data[0]&0x40 != 0
-       g.KeyPresent = data[0]&0x20 != 0
-       g.SeqPresent = data[0]&0x10 != 0
-       g.StrictSourceRoute = data[0]&0x08 != 0
-       g.RecursionControl = data[0] & 0x7
-       g.Flags = data[1] >> 3
-       g.Version = data[1] & 0x7
-       g.Protocol = EthernetType(binary.BigEndian.Uint16(data[2:4]))
-       offset := 4
-       if g.ChecksumPresent || g.RoutingPresent {
-               g.Checksum = binary.BigEndian.Uint16(data[offset : offset+2])
-               g.Offset = binary.BigEndian.Uint16(data[offset+2 : offset+4])
-               offset += 4
-       }
-       if g.KeyPresent {
-               g.Key = binary.BigEndian.Uint32(data[offset : offset+4])
-               offset += 4
-       }
-       if g.SeqPresent {
-               g.Seq = binary.BigEndian.Uint32(data[offset : offset+4])
-               offset += 4
-       }
-       if g.RoutingPresent {
-               tail := &g.GRERouting
-               for {
-                       sre := &GRERouting{
-                               AddressFamily: binary.BigEndian.Uint16(data[offset : offset+2]),
-                               SREOffset:     data[offset+2],
-                               SRELength:     data[offset+3],
-                       }
-                       sre.RoutingInformation = data[offset+4 : offset+4+int(sre.SRELength)]
-                       offset += 4 + int(sre.SRELength)
-                       if sre.AddressFamily == 0 && sre.SRELength == 0 {
-                               break
-                       }
-                       (*tail) = sre
-                       tail = &sre.Next
-               }
-       }
-       g.BaseLayer = BaseLayer{data[:offset], data[offset:]}
-       return nil
-}
-
-// SerializeTo writes the serialized form of this layer into the SerializationBuffer,
-// implementing gopacket.SerializableLayer. See the docs for gopacket.SerializableLayer for more info.
-func (g *GRE) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       size := 4
-       if g.ChecksumPresent || g.RoutingPresent {
-               size += 4
-       }
-       if g.KeyPresent {
-               size += 4
-       }
-       if g.SeqPresent {
-               size += 4
-       }
-       if g.RoutingPresent {
-               r := g.GRERouting
-               for r != nil {
-                       size += 4 + int(r.SRELength)
-                       r = r.Next
-               }
-               size += 4
-       }
-       buf, err := b.PrependBytes(size)
-       if err != nil {
-               return err
-       }
-       // Reset any potentially dirty memory in the first 2 bytes, as these use OR to set flags.
-       buf[0] = 0
-       buf[1] = 0
-       if g.ChecksumPresent {
-               buf[0] |= 0x80
-       }
-       if g.RoutingPresent {
-               buf[0] |= 0x40
-       }
-       if g.KeyPresent {
-               buf[0] |= 0x20
-       }
-       if g.SeqPresent {
-               buf[0] |= 0x10
-       }
-       if g.StrictSourceRoute {
-               buf[0] |= 0x08
-       }
-       buf[0] |= g.RecursionControl
-       buf[1] |= g.Flags << 3
-       buf[1] |= g.Version
-       binary.BigEndian.PutUint16(buf[2:4], uint16(g.Protocol))
-       offset := 4
-       if g.ChecksumPresent || g.RoutingPresent {
-               // Don't write the checksum value yet, as we may need to compute it,
-               // which requires the entire header be complete.
-               // Instead we zeroize the memory in case it is dirty.
-               buf[offset] = 0
-               buf[offset+1] = 0
-               binary.BigEndian.PutUint16(buf[offset+2:offset+4], g.Offset)
-               offset += 4
-       }
-       if g.KeyPresent {
-               binary.BigEndian.PutUint32(buf[offset:offset+4], g.Key)
-               offset += 4
-       }
-       if g.SeqPresent {
-               binary.BigEndian.PutUint32(buf[offset:offset+4], g.Seq)
-               offset += 4
-       }
-       if g.RoutingPresent {
-               sre := g.GRERouting
-               for sre != nil {
-                       binary.BigEndian.PutUint16(buf[offset:offset+2], sre.AddressFamily)
-                       buf[offset+2] = sre.SREOffset
-                       buf[offset+3] = sre.SRELength
-                       copy(buf[offset+4:offset+4+int(sre.SRELength)], sre.RoutingInformation)
-                       offset += 4 + int(sre.SRELength)
-                       sre = sre.Next
-               }
-               // Terminate routing field with a "NULL" SRE.
-               binary.BigEndian.PutUint32(buf[offset:offset+4], 0)
-       }
-       if g.ChecksumPresent {
-               if opts.ComputeChecksums {
-                       g.Checksum = tcpipChecksum(b.Bytes(), 0)
-               }
-
-               binary.BigEndian.PutUint16(buf[4:6], g.Checksum)
-       }
-       return nil
-}
-
-// CanDecode returns the set of layer types that this DecodingLayer can decode.
-func (g *GRE) CanDecode() gopacket.LayerClass {
-       return LayerTypeGRE
-}
-
-// NextLayerType returns the layer type contained by this DecodingLayer.
-func (g *GRE) NextLayerType() gopacket.LayerType {
-       return g.Protocol.LayerType()
-}
-
-func decodeGRE(data []byte, p gopacket.PacketBuilder) error {
-       g := &GRE{}
-       return decodingLayerDecoder(g, data, p)
-}
diff --git a/vendor/github.com/google/gopacket/layers/iana_ports.go b/vendor/github.com/google/gopacket/layers/iana_ports.go
deleted file mode 100644 (file)
index c217a69..0000000
+++ /dev/null
@@ -1,11350 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-
-package layers
-
-// Created by gen.go, don't edit manually
-// Generated at 2017-09-19 13:08:22.987239325 -0600 MDT
-// Fetched from "http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml"
-
-// TCPPortNames contains the port names for all TCP ports.
-var TCPPortNames = tcpPortNames
-
-// UDPPortNames contains the port names for all UDP ports.
-var UDPPortNames = udpPortNames
-
-// SCTPPortNames contains the port names for all SCTP ports.
-var SCTPPortNames = sctpPortNames
-
-var tcpPortNames = map[TCPPort]string{
-       1:     "tcpmux",
-       2:     "compressnet",
-       3:     "compressnet",
-       5:     "rje",
-       7:     "echo",
-       9:     "discard",
-       11:    "systat",
-       13:    "daytime",
-       17:    "qotd",
-       18:    "msp",
-       19:    "chargen",
-       20:    "ftp-data",
-       21:    "ftp",
-       22:    "ssh",
-       23:    "telnet",
-       25:    "smtp",
-       27:    "nsw-fe",
-       29:    "msg-icp",
-       31:    "msg-auth",
-       33:    "dsp",
-       37:    "time",
-       38:    "rap",
-       39:    "rlp",
-       41:    "graphics",
-       42:    "name",
-       43:    "nicname",
-       44:    "mpm-flags",
-       45:    "mpm",
-       46:    "mpm-snd",
-       48:    "auditd",
-       49:    "tacacs",
-       50:    "re-mail-ck",
-       52:    "xns-time",
-       53:    "domain",
-       54:    "xns-ch",
-       55:    "isi-gl",
-       56:    "xns-auth",
-       58:    "xns-mail",
-       62:    "acas",
-       63:    "whoispp",
-       64:    "covia",
-       65:    "tacacs-ds",
-       66:    "sql-net",
-       67:    "bootps",
-       68:    "bootpc",
-       69:    "tftp",
-       70:    "gopher",
-       71:    "netrjs-1",
-       72:    "netrjs-2",
-       73:    "netrjs-3",
-       74:    "netrjs-4",
-       76:    "deos",
-       78:    "vettcp",
-       79:    "finger",
-       80:    "http",
-       82:    "xfer",
-       83:    "mit-ml-dev",
-       84:    "ctf",
-       85:    "mit-ml-dev",
-       86:    "mfcobol",
-       88:    "kerberos",
-       89:    "su-mit-tg",
-       90:    "dnsix",
-       91:    "mit-dov",
-       92:    "npp",
-       93:    "dcp",
-       94:    "objcall",
-       95:    "supdup",
-       96:    "dixie",
-       97:    "swift-rvf",
-       98:    "tacnews",
-       99:    "metagram",
-       101:   "hostname",
-       102:   "iso-tsap",
-       103:   "gppitnp",
-       104:   "acr-nema",
-       105:   "cso",
-       106:   "3com-tsmux",
-       107:   "rtelnet",
-       108:   "snagas",
-       109:   "pop2",
-       110:   "pop3",
-       111:   "sunrpc",
-       112:   "mcidas",
-       113:   "ident",
-       115:   "sftp",
-       116:   "ansanotify",
-       117:   "uucp-path",
-       118:   "sqlserv",
-       119:   "nntp",
-       120:   "cfdptkt",
-       121:   "erpc",
-       122:   "smakynet",
-       123:   "ntp",
-       124:   "ansatrader",
-       125:   "locus-map",
-       126:   "nxedit",
-       127:   "locus-con",
-       128:   "gss-xlicen",
-       129:   "pwdgen",
-       130:   "cisco-fna",
-       131:   "cisco-tna",
-       132:   "cisco-sys",
-       133:   "statsrv",
-       134:   "ingres-net",
-       135:   "epmap",
-       136:   "profile",
-       137:   "netbios-ns",
-       138:   "netbios-dgm",
-       139:   "netbios-ssn",
-       140:   "emfis-data",
-       141:   "emfis-cntl",
-       142:   "bl-idm",
-       143:   "imap",
-       144:   "uma",
-       145:   "uaac",
-       146:   "iso-tp0",
-       147:   "iso-ip",
-       148:   "jargon",
-       149:   "aed-512",
-       150:   "sql-net",
-       151:   "hems",
-       152:   "bftp",
-       153:   "sgmp",
-       154:   "netsc-prod",
-       155:   "netsc-dev",
-       156:   "sqlsrv",
-       157:   "knet-cmp",
-       158:   "pcmail-srv",
-       159:   "nss-routing",
-       160:   "sgmp-traps",
-       161:   "snmp",
-       162:   "snmptrap",
-       163:   "cmip-man",
-       164:   "cmip-agent",
-       165:   "xns-courier",
-       166:   "s-net",
-       167:   "namp",
-       168:   "rsvd",
-       169:   "send",
-       170:   "print-srv",
-       171:   "multiplex",
-       172:   "cl-1",
-       173:   "xyplex-mux",
-       174:   "mailq",
-       175:   "vmnet",
-       176:   "genrad-mux",
-       177:   "xdmcp",
-       178:   "nextstep",
-       179:   "bgp",
-       180:   "ris",
-       181:   "unify",
-       182:   "audit",
-       183:   "ocbinder",
-       184:   "ocserver",
-       185:   "remote-kis",
-       186:   "kis",
-       187:   "aci",
-       188:   "mumps",
-       189:   "qft",
-       190:   "gacp",
-       191:   "prospero",
-       192:   "osu-nms",
-       193:   "srmp",
-       194:   "irc",
-       195:   "dn6-nlm-aud",
-       196:   "dn6-smm-red",
-       197:   "dls",
-       198:   "dls-mon",
-       199:   "smux",
-       200:   "src",
-       201:   "at-rtmp",
-       202:   "at-nbp",
-       203:   "at-3",
-       204:   "at-echo",
-       205:   "at-5",
-       206:   "at-zis",
-       207:   "at-7",
-       208:   "at-8",
-       209:   "qmtp",
-       210:   "z39-50",
-       211:   "914c-g",
-       212:   "anet",
-       213:   "ipx",
-       214:   "vmpwscs",
-       215:   "softpc",
-       216:   "CAIlic",
-       217:   "dbase",
-       218:   "mpp",
-       219:   "uarps",
-       220:   "imap3",
-       221:   "fln-spx",
-       222:   "rsh-spx",
-       223:   "cdc",
-       224:   "masqdialer",
-       242:   "direct",
-       243:   "sur-meas",
-       244:   "inbusiness",
-       245:   "link",
-       246:   "dsp3270",
-       247:   "subntbcst-tftp",
-       248:   "bhfhs",
-       256:   "rap",
-       257:   "set",
-       259:   "esro-gen",
-       260:   "openport",
-       261:   "nsiiops",
-       262:   "arcisdms",
-       263:   "hdap",
-       264:   "bgmp",
-       265:   "x-bone-ctl",
-       266:   "sst",
-       267:   "td-service",
-       268:   "td-replica",
-       269:   "manet",
-       271:   "pt-tls",
-       280:   "http-mgmt",
-       281:   "personal-link",
-       282:   "cableport-ax",
-       283:   "rescap",
-       284:   "corerjd",
-       286:   "fxp",
-       287:   "k-block",
-       308:   "novastorbakcup",
-       309:   "entrusttime",
-       310:   "bhmds",
-       311:   "asip-webadmin",
-       312:   "vslmp",
-       313:   "magenta-logic",
-       314:   "opalis-robot",
-       315:   "dpsi",
-       316:   "decauth",
-       317:   "zannet",
-       318:   "pkix-timestamp",
-       319:   "ptp-event",
-       320:   "ptp-general",
-       321:   "pip",
-       322:   "rtsps",
-       323:   "rpki-rtr",
-       324:   "rpki-rtr-tls",
-       333:   "texar",
-       344:   "pdap",
-       345:   "pawserv",
-       346:   "zserv",
-       347:   "fatserv",
-       348:   "csi-sgwp",
-       349:   "mftp",
-       350:   "matip-type-a",
-       351:   "matip-type-b",
-       352:   "dtag-ste-sb",
-       353:   "ndsauth",
-       354:   "bh611",
-       355:   "datex-asn",
-       356:   "cloanto-net-1",
-       357:   "bhevent",
-       358:   "shrinkwrap",
-       359:   "nsrmp",
-       360:   "scoi2odialog",
-       361:   "semantix",
-       362:   "srssend",
-       363:   "rsvp-tunnel",
-       364:   "aurora-cmgr",
-       365:   "dtk",
-       366:   "odmr",
-       367:   "mortgageware",
-       368:   "qbikgdp",
-       369:   "rpc2portmap",
-       370:   "codaauth2",
-       371:   "clearcase",
-       372:   "ulistproc",
-       373:   "legent-1",
-       374:   "legent-2",
-       375:   "hassle",
-       376:   "nip",
-       377:   "tnETOS",
-       378:   "dsETOS",
-       379:   "is99c",
-       380:   "is99s",
-       381:   "hp-collector",
-       382:   "hp-managed-node",
-       383:   "hp-alarm-mgr",
-       384:   "arns",
-       385:   "ibm-app",
-       386:   "asa",
-       387:   "aurp",
-       388:   "unidata-ldm",
-       389:   "ldap",
-       390:   "uis",
-       391:   "synotics-relay",
-       392:   "synotics-broker",
-       393:   "meta5",
-       394:   "embl-ndt",
-       395:   "netcp",
-       396:   "netware-ip",
-       397:   "mptn",
-       398:   "kryptolan",
-       399:   "iso-tsap-c2",
-       400:   "osb-sd",
-       401:   "ups",
-       402:   "genie",
-       403:   "decap",
-       404:   "nced",
-       405:   "ncld",
-       406:   "imsp",
-       407:   "timbuktu",
-       408:   "prm-sm",
-       409:   "prm-nm",
-       410:   "decladebug",
-       411:   "rmt",
-       412:   "synoptics-trap",
-       413:   "smsp",
-       414:   "infoseek",
-       415:   "bnet",
-       416:   "silverplatter",
-       417:   "onmux",
-       418:   "hyper-g",
-       419:   "ariel1",
-       420:   "smpte",
-       421:   "ariel2",
-       422:   "ariel3",
-       423:   "opc-job-start",
-       424:   "opc-job-track",
-       425:   "icad-el",
-       426:   "smartsdp",
-       427:   "svrloc",
-       428:   "ocs-cmu",
-       429:   "ocs-amu",
-       430:   "utmpsd",
-       431:   "utmpcd",
-       432:   "iasd",
-       433:   "nnsp",
-       434:   "mobileip-agent",
-       435:   "mobilip-mn",
-       436:   "dna-cml",
-       437:   "comscm",
-       438:   "dsfgw",
-       439:   "dasp",
-       440:   "sgcp",
-       441:   "decvms-sysmgt",
-       442:   "cvc-hostd",
-       443:   "https",
-       444:   "snpp",
-       445:   "microsoft-ds",
-       446:   "ddm-rdb",
-       447:   "ddm-dfm",
-       448:   "ddm-ssl",
-       449:   "as-servermap",
-       450:   "tserver",
-       451:   "sfs-smp-net",
-       452:   "sfs-config",
-       453:   "creativeserver",
-       454:   "contentserver",
-       455:   "creativepartnr",
-       456:   "macon-tcp",
-       457:   "scohelp",
-       458:   "appleqtc",
-       459:   "ampr-rcmd",
-       460:   "skronk",
-       461:   "datasurfsrv",
-       462:   "datasurfsrvsec",
-       463:   "alpes",
-       464:   "kpasswd",
-       465:   "urd",
-       466:   "digital-vrc",
-       467:   "mylex-mapd",
-       468:   "photuris",
-       469:   "rcp",
-       470:   "scx-proxy",
-       471:   "mondex",
-       472:   "ljk-login",
-       473:   "hybrid-pop",
-       474:   "tn-tl-w1",
-       475:   "tcpnethaspsrv",
-       476:   "tn-tl-fd1",
-       477:   "ss7ns",
-       478:   "spsc",
-       479:   "iafserver",
-       480:   "iafdbase",
-       481:   "ph",
-       482:   "bgs-nsi",
-       483:   "ulpnet",
-       484:   "integra-sme",
-       485:   "powerburst",
-       486:   "avian",
-       487:   "saft",
-       488:   "gss-http",
-       489:   "nest-protocol",
-       490:   "micom-pfs",
-       491:   "go-login",
-       492:   "ticf-1",
-       493:   "ticf-2",
-       494:   "pov-ray",
-       495:   "intecourier",
-       496:   "pim-rp-disc",
-       497:   "retrospect",
-       498:   "siam",
-       499:   "iso-ill",
-       500:   "isakmp",
-       501:   "stmf",
-       502:   "mbap",
-       503:   "intrinsa",
-       504:   "citadel",
-       505:   "mailbox-lm",
-       506:   "ohimsrv",
-       507:   "crs",
-       508:   "xvttp",
-       509:   "snare",
-       510:   "fcp",
-       511:   "passgo",
-       512:   "exec",
-       513:   "login",
-       514:   "shell",
-       515:   "printer",
-       516:   "videotex",
-       517:   "talk",
-       518:   "ntalk",
-       519:   "utime",
-       520:   "efs",
-       521:   "ripng",
-       522:   "ulp",
-       523:   "ibm-db2",
-       524:   "ncp",
-       525:   "timed",
-       526:   "tempo",
-       527:   "stx",
-       528:   "custix",
-       529:   "irc-serv",
-       530:   "courier",
-       531:   "conference",
-       532:   "netnews",
-       533:   "netwall",
-       534:   "windream",
-       535:   "iiop",
-       536:   "opalis-rdv",
-       537:   "nmsp",
-       538:   "gdomap",
-       539:   "apertus-ldp",
-       540:   "uucp",
-       541:   "uucp-rlogin",
-       542:   "commerce",
-       543:   "klogin",
-       544:   "kshell",
-       545:   "appleqtcsrvr",
-       546:   "dhcpv6-client",
-       547:   "dhcpv6-server",
-       548:   "afpovertcp",
-       549:   "idfp",
-       550:   "new-rwho",
-       551:   "cybercash",
-       552:   "devshr-nts",
-       553:   "pirp",
-       554:   "rtsp",
-       555:   "dsf",
-       556:   "remotefs",
-       557:   "openvms-sysipc",
-       558:   "sdnskmp",
-       559:   "teedtap",
-       560:   "rmonitor",
-       561:   "monitor",
-       562:   "chshell",
-       563:   "nntps",
-       564:   "9pfs",
-       565:   "whoami",
-       566:   "streettalk",
-       567:   "banyan-rpc",
-       568:   "ms-shuttle",
-       569:   "ms-rome",
-       570:   "meter",
-       571:   "meter",
-       572:   "sonar",
-       573:   "banyan-vip",
-       574:   "ftp-agent",
-       575:   "vemmi",
-       576:   "ipcd",
-       577:   "vnas",
-       578:   "ipdd",
-       579:   "decbsrv",
-       580:   "sntp-heartbeat",
-       581:   "bdp",
-       582:   "scc-security",
-       583:   "philips-vc",
-       584:   "keyserver",
-       586:   "password-chg",
-       587:   "submission",
-       588:   "cal",
-       589:   "eyelink",
-       590:   "tns-cml",
-       591:   "http-alt",
-       592:   "eudora-set",
-       593:   "http-rpc-epmap",
-       594:   "tpip",
-       595:   "cab-protocol",
-       596:   "smsd",
-       597:   "ptcnameservice",
-       598:   "sco-websrvrmg3",
-       599:   "acp",
-       600:   "ipcserver",
-       601:   "syslog-conn",
-       602:   "xmlrpc-beep",
-       603:   "idxp",
-       604:   "tunnel",
-       605:   "soap-beep",
-       606:   "urm",
-       607:   "nqs",
-       608:   "sift-uft",
-       609:   "npmp-trap",
-       610:   "npmp-local",
-       611:   "npmp-gui",
-       612:   "hmmp-ind",
-       613:   "hmmp-op",
-       614:   "sshell",
-       615:   "sco-inetmgr",
-       616:   "sco-sysmgr",
-       617:   "sco-dtmgr",
-       618:   "dei-icda",
-       619:   "compaq-evm",
-       620:   "sco-websrvrmgr",
-       621:   "escp-ip",
-       622:   "collaborator",
-       623:   "oob-ws-http",
-       624:   "cryptoadmin",
-       625:   "dec-dlm",
-       626:   "asia",
-       627:   "passgo-tivoli",
-       628:   "qmqp",
-       629:   "3com-amp3",
-       630:   "rda",
-       631:   "ipp",
-       632:   "bmpp",
-       633:   "servstat",
-       634:   "ginad",
-       635:   "rlzdbase",
-       636:   "ldaps",
-       637:   "lanserver",
-       638:   "mcns-sec",
-       639:   "msdp",
-       640:   "entrust-sps",
-       641:   "repcmd",
-       642:   "esro-emsdp",
-       643:   "sanity",
-       644:   "dwr",
-       645:   "pssc",
-       646:   "ldp",
-       647:   "dhcp-failover",
-       648:   "rrp",
-       649:   "cadview-3d",
-       650:   "obex",
-       651:   "ieee-mms",
-       652:   "hello-port",
-       653:   "repscmd",
-       654:   "aodv",
-       655:   "tinc",
-       656:   "spmp",
-       657:   "rmc",
-       658:   "tenfold",
-       660:   "mac-srvr-admin",
-       661:   "hap",
-       662:   "pftp",
-       663:   "purenoise",
-       664:   "oob-ws-https",
-       665:   "sun-dr",
-       666:   "mdqs",
-       667:   "disclose",
-       668:   "mecomm",
-       669:   "meregister",
-       670:   "vacdsm-sws",
-       671:   "vacdsm-app",
-       672:   "vpps-qua",
-       673:   "cimplex",
-       674:   "acap",
-       675:   "dctp",
-       676:   "vpps-via",
-       677:   "vpp",
-       678:   "ggf-ncp",
-       679:   "mrm",
-       680:   "entrust-aaas",
-       681:   "entrust-aams",
-       682:   "xfr",
-       683:   "corba-iiop",
-       684:   "corba-iiop-ssl",
-       685:   "mdc-portmapper",
-       686:   "hcp-wismar",
-       687:   "asipregistry",
-       688:   "realm-rusd",
-       689:   "nmap",
-       690:   "vatp",
-       691:   "msexch-routing",
-       692:   "hyperwave-isp",
-       693:   "connendp",
-       694:   "ha-cluster",
-       695:   "ieee-mms-ssl",
-       696:   "rushd",
-       697:   "uuidgen",
-       698:   "olsr",
-       699:   "accessnetwork",
-       700:   "epp",
-       701:   "lmp",
-       702:   "iris-beep",
-       704:   "elcsd",
-       705:   "agentx",
-       706:   "silc",
-       707:   "borland-dsj",
-       709:   "entrust-kmsh",
-       710:   "entrust-ash",
-       711:   "cisco-tdp",
-       712:   "tbrpf",
-       713:   "iris-xpc",
-       714:   "iris-xpcs",
-       715:   "iris-lwz",
-       729:   "netviewdm1",
-       730:   "netviewdm2",
-       731:   "netviewdm3",
-       741:   "netgw",
-       742:   "netrcs",
-       744:   "flexlm",
-       747:   "fujitsu-dev",
-       748:   "ris-cm",
-       749:   "kerberos-adm",
-       750:   "rfile",
-       751:   "pump",
-       752:   "qrh",
-       753:   "rrh",
-       754:   "tell",
-       758:   "nlogin",
-       759:   "con",
-       760:   "ns",
-       761:   "rxe",
-       762:   "quotad",
-       763:   "cycleserv",
-       764:   "omserv",
-       765:   "webster",
-       767:   "phonebook",
-       769:   "vid",
-       770:   "cadlock",
-       771:   "rtip",
-       772:   "cycleserv2",
-       773:   "submit",
-       774:   "rpasswd",
-       775:   "entomb",
-       776:   "wpages",
-       777:   "multiling-http",
-       780:   "wpgs",
-       800:   "mdbs-daemon",
-       801:   "device",
-       802:   "mbap-s",
-       810:   "fcp-udp",
-       828:   "itm-mcell-s",
-       829:   "pkix-3-ca-ra",
-       830:   "netconf-ssh",
-       831:   "netconf-beep",
-       832:   "netconfsoaphttp",
-       833:   "netconfsoapbeep",
-       847:   "dhcp-failover2",
-       848:   "gdoi",
-       853:   "domain-s",
-       854:   "dlep",
-       860:   "iscsi",
-       861:   "owamp-control",
-       862:   "twamp-control",
-       873:   "rsync",
-       886:   "iclcnet-locate",
-       887:   "iclcnet-svinfo",
-       888:   "accessbuilder",
-       900:   "omginitialrefs",
-       901:   "smpnameres",
-       902:   "ideafarm-door",
-       903:   "ideafarm-panic",
-       910:   "kink",
-       911:   "xact-backup",
-       912:   "apex-mesh",
-       913:   "apex-edge",
-       953:   "rndc",
-       989:   "ftps-data",
-       990:   "ftps",
-       991:   "nas",
-       992:   "telnets",
-       993:   "imaps",
-       995:   "pop3s",
-       996:   "vsinet",
-       997:   "maitrd",
-       998:   "busboy",
-       999:   "garcon",
-       1000:  "cadlock2",
-       1001:  "webpush",
-       1010:  "surf",
-       1021:  "exp1",
-       1022:  "exp2",
-       1025:  "blackjack",
-       1026:  "cap",
-       1029:  "solid-mux",
-       1033:  "netinfo-local",
-       1034:  "activesync",
-       1035:  "mxxrlogin",
-       1036:  "nsstp",
-       1037:  "ams",
-       1038:  "mtqp",
-       1039:  "sbl",
-       1040:  "netarx",
-       1041:  "danf-ak2",
-       1042:  "afrog",
-       1043:  "boinc-client",
-       1044:  "dcutility",
-       1045:  "fpitp",
-       1046:  "wfremotertm",
-       1047:  "neod1",
-       1048:  "neod2",
-       1049:  "td-postman",
-       1050:  "cma",
-       1051:  "optima-vnet",
-       1052:  "ddt",
-       1053:  "remote-as",
-       1054:  "brvread",
-       1055:  "ansyslmd",
-       1056:  "vfo",
-       1057:  "startron",
-       1058:  "nim",
-       1059:  "nimreg",
-       1060:  "polestar",
-       1061:  "kiosk",
-       1062:  "veracity",
-       1063:  "kyoceranetdev",
-       1064:  "jstel",
-       1065:  "syscomlan",
-       1066:  "fpo-fns",
-       1067:  "instl-boots",
-       1068:  "instl-bootc",
-       1069:  "cognex-insight",
-       1070:  "gmrupdateserv",
-       1071:  "bsquare-voip",
-       1072:  "cardax",
-       1073:  "bridgecontrol",
-       1074:  "warmspotMgmt",
-       1075:  "rdrmshc",
-       1076:  "dab-sti-c",
-       1077:  "imgames",
-       1078:  "avocent-proxy",
-       1079:  "asprovatalk",
-       1080:  "socks",
-       1081:  "pvuniwien",
-       1082:  "amt-esd-prot",
-       1083:  "ansoft-lm-1",
-       1084:  "ansoft-lm-2",
-       1085:  "webobjects",
-       1086:  "cplscrambler-lg",
-       1087:  "cplscrambler-in",
-       1088:  "cplscrambler-al",
-       1089:  "ff-annunc",
-       1090:  "ff-fms",
-       1091:  "ff-sm",
-       1092:  "obrpd",
-       1093:  "proofd",
-       1094:  "rootd",
-       1095:  "nicelink",
-       1096:  "cnrprotocol",
-       1097:  "sunclustermgr",
-       1098:  "rmiactivation",
-       1099:  "rmiregistry",
-       1100:  "mctp",
-       1101:  "pt2-discover",
-       1102:  "adobeserver-1",
-       1103:  "adobeserver-2",
-       1104:  "xrl",
-       1105:  "ftranhc",
-       1106:  "isoipsigport-1",
-       1107:  "isoipsigport-2",
-       1108:  "ratio-adp",
-       1110:  "webadmstart",
-       1111:  "lmsocialserver",
-       1112:  "icp",
-       1113:  "ltp-deepspace",
-       1114:  "mini-sql",
-       1115:  "ardus-trns",
-       1116:  "ardus-cntl",
-       1117:  "ardus-mtrns",
-       1118:  "sacred",
-       1119:  "bnetgame",
-       1120:  "bnetfile",
-       1121:  "rmpp",
-       1122:  "availant-mgr",
-       1123:  "murray",
-       1124:  "hpvmmcontrol",
-       1125:  "hpvmmagent",
-       1126:  "hpvmmdata",
-       1127:  "kwdb-commn",
-       1128:  "saphostctrl",
-       1129:  "saphostctrls",
-       1130:  "casp",
-       1131:  "caspssl",
-       1132:  "kvm-via-ip",
-       1133:  "dfn",
-       1134:  "aplx",
-       1135:  "omnivision",
-       1136:  "hhb-gateway",
-       1137:  "trim",
-       1138:  "encrypted-admin",
-       1139:  "evm",
-       1140:  "autonoc",
-       1141:  "mxomss",
-       1142:  "edtools",
-       1143:  "imyx",
-       1144:  "fuscript",
-       1145:  "x9-icue",
-       1146:  "audit-transfer",
-       1147:  "capioverlan",
-       1148:  "elfiq-repl",
-       1149:  "bvtsonar",
-       1150:  "blaze",
-       1151:  "unizensus",
-       1152:  "winpoplanmess",
-       1153:  "c1222-acse",
-       1154:  "resacommunity",
-       1155:  "nfa",
-       1156:  "iascontrol-oms",
-       1157:  "iascontrol",
-       1158:  "dbcontrol-oms",
-       1159:  "oracle-oms",
-       1160:  "olsv",
-       1161:  "health-polling",
-       1162:  "health-trap",
-       1163:  "sddp",
-       1164:  "qsm-proxy",
-       1165:  "qsm-gui",
-       1166:  "qsm-remote",
-       1167:  "cisco-ipsla",
-       1168:  "vchat",
-       1169:  "tripwire",
-       1170:  "atc-lm",
-       1171:  "atc-appserver",
-       1172:  "dnap",
-       1173:  "d-cinema-rrp",
-       1174:  "fnet-remote-ui",
-       1175:  "dossier",
-       1176:  "indigo-server",
-       1177:  "dkmessenger",
-       1178:  "sgi-storman",
-       1179:  "b2n",
-       1180:  "mc-client",
-       1181:  "3comnetman",
-       1182:  "accelenet",
-       1183:  "llsurfup-http",
-       1184:  "llsurfup-https",
-       1185:  "catchpole",
-       1186:  "mysql-cluster",
-       1187:  "alias",
-       1188:  "hp-webadmin",
-       1189:  "unet",
-       1190:  "commlinx-avl",
-       1191:  "gpfs",
-       1192:  "caids-sensor",
-       1193:  "fiveacross",
-       1194:  "openvpn",
-       1195:  "rsf-1",
-       1196:  "netmagic",
-       1197:  "carrius-rshell",
-       1198:  "cajo-discovery",
-       1199:  "dmidi",
-       1200:  "scol",
-       1201:  "nucleus-sand",
-       1202:  "caiccipc",
-       1203:  "ssslic-mgr",
-       1204:  "ssslog-mgr",
-       1205:  "accord-mgc",
-       1206:  "anthony-data",
-       1207:  "metasage",
-       1208:  "seagull-ais",
-       1209:  "ipcd3",
-       1210:  "eoss",
-       1211:  "groove-dpp",
-       1212:  "lupa",
-       1213:  "mpc-lifenet",
-       1214:  "kazaa",
-       1215:  "scanstat-1",
-       1216:  "etebac5",
-       1217:  "hpss-ndapi",
-       1218:  "aeroflight-ads",
-       1219:  "aeroflight-ret",
-       1220:  "qt-serveradmin",
-       1221:  "sweetware-apps",
-       1222:  "nerv",
-       1223:  "tgp",
-       1224:  "vpnz",
-       1225:  "slinkysearch",
-       1226:  "stgxfws",
-       1227:  "dns2go",
-       1228:  "florence",
-       1229:  "zented",
-       1230:  "periscope",
-       1231:  "menandmice-lpm",
-       1232:  "first-defense",
-       1233:  "univ-appserver",
-       1234:  "search-agent",
-       1235:  "mosaicsyssvc1",
-       1236:  "bvcontrol",
-       1237:  "tsdos390",
-       1238:  "hacl-qs",
-       1239:  "nmsd",
-       1240:  "instantia",
-       1241:  "nessus",
-       1242:  "nmasoverip",
-       1243:  "serialgateway",
-       1244:  "isbconference1",
-       1245:  "isbconference2",
-       1246:  "payrouter",
-       1247:  "visionpyramid",
-       1248:  "hermes",
-       1249:  "mesavistaco",
-       1250:  "swldy-sias",
-       1251:  "servergraph",
-       1252:  "bspne-pcc",
-       1253:  "q55-pcc",
-       1254:  "de-noc",
-       1255:  "de-cache-query",
-       1256:  "de-server",
-       1257:  "shockwave2",
-       1258:  "opennl",
-       1259:  "opennl-voice",
-       1260:  "ibm-ssd",
-       1261:  "mpshrsv",
-       1262:  "qnts-orb",
-       1263:  "dka",
-       1264:  "prat",
-       1265:  "dssiapi",
-       1266:  "dellpwrappks",
-       1267:  "epc",
-       1268:  "propel-msgsys",
-       1269:  "watilapp",
-       1270:  "opsmgr",
-       1271:  "excw",
-       1272:  "cspmlockmgr",
-       1273:  "emc-gateway",
-       1274:  "t1distproc",
-       1275:  "ivcollector",
-       1277:  "miva-mqs",
-       1278:  "dellwebadmin-1",
-       1279:  "dellwebadmin-2",
-       1280:  "pictrography",
-       1281:  "healthd",
-       1282:  "emperion",
-       1283:  "productinfo",
-       1284:  "iee-qfx",
-       1285:  "neoiface",
-       1286:  "netuitive",
-       1287:  "routematch",
-       1288:  "navbuddy",
-       1289:  "jwalkserver",
-       1290:  "winjaserver",
-       1291:  "seagulllms",
-       1292:  "dsdn",
-       1293:  "pkt-krb-ipsec",
-       1294:  "cmmdriver",
-       1295:  "ehtp",
-       1296:  "dproxy",
-       1297:  "sdproxy",
-       1298:  "lpcp",
-       1299:  "hp-sci",
-       1300:  "h323hostcallsc",
-       1301:  "ci3-software-1",
-       1302:  "ci3-software-2",
-       1303:  "sftsrv",
-       1304:  "boomerang",
-       1305:  "pe-mike",
-       1306:  "re-conn-proto",
-       1307:  "pacmand",
-       1308:  "odsi",
-       1309:  "jtag-server",
-       1310:  "husky",
-       1311:  "rxmon",
-       1312:  "sti-envision",
-       1313:  "bmc-patroldb",
-       1314:  "pdps",
-       1315:  "els",
-       1316:  "exbit-escp",
-       1317:  "vrts-ipcserver",
-       1318:  "krb5gatekeeper",
-       1319:  "amx-icsp",
-       1320:  "amx-axbnet",
-       1321:  "pip",
-       1322:  "novation",
-       1323:  "brcd",
-       1324:  "delta-mcp",
-       1325:  "dx-instrument",
-       1326:  "wimsic",
-       1327:  "ultrex",
-       1328:  "ewall",
-       1329:  "netdb-export",
-       1330:  "streetperfect",
-       1331:  "intersan",
-       1332:  "pcia-rxp-b",
-       1333:  "passwrd-policy",
-       1334:  "writesrv",
-       1335:  "digital-notary",
-       1336:  "ischat",
-       1337:  "menandmice-dns",
-       1338:  "wmc-log-svc",
-       1339:  "kjtsiteserver",
-       1340:  "naap",
-       1341:  "qubes",
-       1342:  "esbroker",
-       1343:  "re101",
-       1344:  "icap",
-       1345:  "vpjp",
-       1346:  "alta-ana-lm",
-       1347:  "bbn-mmc",
-       1348:  "bbn-mmx",
-       1349:  "sbook",
-       1350:  "editbench",
-       1351:  "equationbuilder",
-       1352:  "lotusnote",
-       1353:  "relief",
-       1354:  "XSIP-network",
-       1355:  "intuitive-edge",
-       1356:  "cuillamartin",
-       1357:  "pegboard",
-       1358:  "connlcli",
-       1359:  "ftsrv",
-       1360:  "mimer",
-       1361:  "linx",
-       1362:  "timeflies",
-       1363:  "ndm-requester",
-       1364:  "ndm-server",
-       1365:  "adapt-sna",
-       1366:  "netware-csp",
-       1367:  "dcs",
-       1368:  "screencast",
-       1369:  "gv-us",
-       1370:  "us-gv",
-       1371:  "fc-cli",
-       1372:  "fc-ser",
-       1373:  "chromagrafx",
-       1374:  "molly",
-       1375:  "bytex",
-       1376:  "ibm-pps",
-       1377:  "cichlid",
-       1378:  "elan",
-       1379:  "dbreporter",
-       1380:  "telesis-licman",
-       1381:  "apple-licman",
-       1382:  "udt-os",
-       1383:  "gwha",
-       1384:  "os-licman",
-       1385:  "atex-elmd",
-       1386:  "checksum",
-       1387:  "cadsi-lm",
-       1388:  "objective-dbc",
-       1389:  "iclpv-dm",
-       1390:  "iclpv-sc",
-       1391:  "iclpv-sas",
-       1392:  "iclpv-pm",
-       1393:  "iclpv-nls",
-       1394:  "iclpv-nlc",
-       1395:  "iclpv-wsm",
-       1396:  "dvl-activemail",
-       1397:  "audio-activmail",
-       1398:  "video-activmail",
-       1399:  "cadkey-licman",
-       1400:  "cadkey-tablet",
-       1401:  "goldleaf-licman",
-       1402:  "prm-sm-np",
-       1403:  "prm-nm-np",
-       1404:  "igi-lm",
-       1405:  "ibm-res",
-       1406:  "netlabs-lm",
-       1407:  "tibet-server",
-       1408:  "sophia-lm",
-       1409:  "here-lm",
-       1410:  "hiq",
-       1411:  "af",
-       1412:  "innosys",
-       1413:  "innosys-acl",
-       1414:  "ibm-mqseries",
-       1415:  "dbstar",
-       1416:  "novell-lu6-2",
-       1417:  "timbuktu-srv1",
-       1418:  "timbuktu-srv2",
-       1419:  "timbuktu-srv3",
-       1420:  "timbuktu-srv4",
-       1421:  "gandalf-lm",
-       1422:  "autodesk-lm",
-       1423:  "essbase",
-       1424:  "hybrid",
-       1425:  "zion-lm",
-       1426:  "sais",
-       1427:  "mloadd",
-       1428:  "informatik-lm",
-       1429:  "nms",
-       1430:  "tpdu",
-       1431:  "rgtp",
-       1432:  "blueberry-lm",
-       1433:  "ms-sql-s",
-       1434:  "ms-sql-m",
-       1435:  "ibm-cics",
-       1436:  "saism",
-       1437:  "tabula",
-       1438:  "eicon-server",
-       1439:  "eicon-x25",
-       1440:  "eicon-slp",
-       1441:  "cadis-1",
-       1442:  "cadis-2",
-       1443:  "ies-lm",
-       1444:  "marcam-lm",
-       1445:  "proxima-lm",
-       1446:  "ora-lm",
-       1447:  "apri-lm",
-       1448:  "oc-lm",
-       1449:  "peport",
-       1450:  "dwf",
-       1451:  "infoman",
-       1452:  "gtegsc-lm",
-       1453:  "genie-lm",
-       1454:  "interhdl-elmd",
-       1455:  "esl-lm",
-       1456:  "dca",
-       1457:  "valisys-lm",
-       1458:  "nrcabq-lm",
-       1459:  "proshare1",
-       1460:  "proshare2",
-       1461:  "ibm-wrless-lan",
-       1462:  "world-lm",
-       1463:  "nucleus",
-       1464:  "msl-lmd",
-       1465:  "pipes",
-       1466:  "oceansoft-lm",
-       1467:  "csdmbase",
-       1468:  "csdm",
-       1469:  "aal-lm",
-       1470:  "uaiact",
-       1471:  "csdmbase",
-       1472:  "csdm",
-       1473:  "openmath",
-       1474:  "telefinder",
-       1475:  "taligent-lm",
-       1476:  "clvm-cfg",
-       1477:  "ms-sna-server",
-       1478:  "ms-sna-base",
-       1479:  "dberegister",
-       1480:  "pacerforum",
-       1481:  "airs",
-       1482:  "miteksys-lm",
-       1483:  "afs",
-       1484:  "confluent",
-       1485:  "lansource",
-       1486:  "nms-topo-serv",
-       1487:  "localinfosrvr",
-       1488:  "docstor",
-       1489:  "dmdocbroker",
-       1490:  "insitu-conf",
-       1492:  "stone-design-1",
-       1493:  "netmap-lm",
-       1494:  "ica",
-       1495:  "cvc",
-       1496:  "liberty-lm",
-       1497:  "rfx-lm",
-       1498:  "sybase-sqlany",
-       1499:  "fhc",
-       1500:  "vlsi-lm",
-       1501:  "saiscm",
-       1502:  "shivadiscovery",
-       1503:  "imtc-mcs",
-       1504:  "evb-elm",
-       1505:  "funkproxy",
-       1506:  "utcd",
-       1507:  "symplex",
-       1508:  "diagmond",
-       1509:  "robcad-lm",
-       1510:  "mvx-lm",
-       1511:  "3l-l1",
-       1512:  "wins",
-       1513:  "fujitsu-dtc",
-       1514:  "fujitsu-dtcns",
-       1515:  "ifor-protocol",
-       1516:  "vpad",
-       1517:  "vpac",
-       1518:  "vpvd",
-       1519:  "vpvc",
-       1520:  "atm-zip-office",
-       1521:  "ncube-lm",
-       1522:  "ricardo-lm",
-       1523:  "cichild-lm",
-       1524:  "ingreslock",
-       1525:  "orasrv",
-       1526:  "pdap-np",
-       1527:  "tlisrv",
-       1529:  "coauthor",
-       1530:  "rap-service",
-       1531:  "rap-listen",
-       1532:  "miroconnect",
-       1533:  "virtual-places",
-       1534:  "micromuse-lm",
-       1535:  "ampr-info",
-       1536:  "ampr-inter",
-       1537:  "sdsc-lm",
-       1538:  "3ds-lm",
-       1539:  "intellistor-lm",
-       1540:  "rds",
-       1541:  "rds2",
-       1542:  "gridgen-elmd",
-       1543:  "simba-cs",
-       1544:  "aspeclmd",
-       1545:  "vistium-share",
-       1546:  "abbaccuray",
-       1547:  "laplink",
-       1548:  "axon-lm",
-       1549:  "shivahose",
-       1550:  "3m-image-lm",
-       1551:  "hecmtl-db",
-       1552:  "pciarray",
-       1553:  "sna-cs",
-       1554:  "caci-lm",
-       1555:  "livelan",
-       1556:  "veritas-pbx",
-       1557:  "arbortext-lm",
-       1558:  "xingmpeg",
-       1559:  "web2host",
-       1560:  "asci-val",
-       1561:  "facilityview",
-       1562:  "pconnectmgr",
-       1563:  "cadabra-lm",
-       1564:  "pay-per-view",
-       1565:  "winddlb",
-       1566:  "corelvideo",
-       1567:  "jlicelmd",
-       1568:  "tsspmap",
-       1569:  "ets",
-       1570:  "orbixd",
-       1571:  "rdb-dbs-disp",
-       1572:  "chip-lm",
-       1573:  "itscomm-ns",
-       1574:  "mvel-lm",
-       1575:  "oraclenames",
-       1576:  "moldflow-lm",
-       1577:  "hypercube-lm",
-       1578:  "jacobus-lm",
-       1579:  "ioc-sea-lm",
-       1580:  "tn-tl-r1",
-       1581:  "mil-2045-47001",
-       1582:  "msims",
-       1583:  "simbaexpress",
-       1584:  "tn-tl-fd2",
-       1585:  "intv",
-       1586:  "ibm-abtact",
-       1587:  "pra-elmd",
-       1588:  "triquest-lm",
-       1589:  "vqp",
-       1590:  "gemini-lm",
-       1591:  "ncpm-pm",
-       1592:  "commonspace",
-       1593:  "mainsoft-lm",
-       1594:  "sixtrak",
-       1595:  "radio",
-       1596:  "radio-sm",
-       1597:  "orbplus-iiop",
-       1598:  "picknfs",
-       1599:  "simbaservices",
-       1600:  "issd",
-       1601:  "aas",
-       1602:  "inspect",
-       1603:  "picodbc",
-       1604:  "icabrowser",
-       1605:  "slp",
-       1606:  "slm-api",
-       1607:  "stt",
-       1608:  "smart-lm",
-       1609:  "isysg-lm",
-       1610:  "taurus-wh",
-       1611:  "ill",
-       1612:  "netbill-trans",
-       1613:  "netbill-keyrep",
-       1614:  "netbill-cred",
-       1615:  "netbill-auth",
-       1616:  "netbill-prod",
-       1617:  "nimrod-agent",
-       1618:  "skytelnet",
-       1619:  "xs-openstorage",
-       1620:  "faxportwinport",
-       1621:  "softdataphone",
-       1622:  "ontime",
-       1623:  "jaleosnd",
-       1624:  "udp-sr-port",
-       1625:  "svs-omagent",
-       1626:  "shockwave",
-       1627:  "t128-gateway",
-       1628:  "lontalk-norm",
-       1629:  "lontalk-urgnt",
-       1630:  "oraclenet8cman",
-       1631:  "visitview",
-       1632:  "pammratc",
-       1633:  "pammrpc",
-       1634:  "loaprobe",
-       1635:  "edb-server1",
-       1636:  "isdc",
-       1637:  "islc",
-       1638:  "ismc",
-       1639:  "cert-initiator",
-       1640:  "cert-responder",
-       1641:  "invision",
-       1642:  "isis-am",
-       1643:  "isis-ambc",
-       1644:  "saiseh",
-       1645:  "sightline",
-       1646:  "sa-msg-port",
-       1647:  "rsap",
-       1648:  "concurrent-lm",
-       1649:  "kermit",
-       1650:  "nkd",
-       1651:  "shiva-confsrvr",
-       1652:  "xnmp",
-       1653:  "alphatech-lm",
-       1654:  "stargatealerts",
-       1655:  "dec-mbadmin",
-       1656:  "dec-mbadmin-h",
-       1657:  "fujitsu-mmpdc",
-       1658:  "sixnetudr",
-       1659:  "sg-lm",
-       1660:  "skip-mc-gikreq",
-       1661:  "netview-aix-1",
-       1662:  "netview-aix-2",
-       1663:  "netview-aix-3",
-       1664:  "netview-aix-4",
-       1665:  "netview-aix-5",
-       1666:  "netview-aix-6",
-       1667:  "netview-aix-7",
-       1668:  "netview-aix-8",
-       1669:  "netview-aix-9",
-       1670:  "netview-aix-10",
-       1671:  "netview-aix-11",
-       1672:  "netview-aix-12",
-       1673:  "proshare-mc-1",
-       1674:  "proshare-mc-2",
-       1675:  "pdp",
-       1676:  "netcomm1",
-       1677:  "groupwise",
-       1678:  "prolink",
-       1679:  "darcorp-lm",
-       1680:  "microcom-sbp",
-       1681:  "sd-elmd",
-       1682:  "lanyon-lantern",
-       1683:  "ncpm-hip",
-       1684:  "snaresecure",
-       1685:  "n2nremote",
-       1686:  "cvmon",
-       1687:  "nsjtp-ctrl",
-       1688:  "nsjtp-data",
-       1689:  "firefox",
-       1690:  "ng-umds",
-       1691:  "empire-empuma",
-       1692:  "sstsys-lm",
-       1693:  "rrirtr",
-       1694:  "rrimwm",
-       1695:  "rrilwm",
-       1696:  "rrifmm",
-       1697:  "rrisat",
-       1698:  "rsvp-encap-1",
-       1699:  "rsvp-encap-2",
-       1700:  "mps-raft",
-       1701:  "l2f",
-       1702:  "deskshare",
-       1703:  "hb-engine",
-       1704:  "bcs-broker",
-       1705:  "slingshot",
-       1706:  "jetform",
-       1707:  "vdmplay",
-       1708:  "gat-lmd",
-       1709:  "centra",
-       1710:  "impera",
-       1711:  "pptconference",
-       1712:  "registrar",
-       1713:  "conferencetalk",
-       1714:  "sesi-lm",
-       1715:  "houdini-lm",
-       1716:  "xmsg",
-       1717:  "fj-hdnet",
-       1718:  "h323gatedisc",
-       1719:  "h323gatestat",
-       1720:  "h323hostcall",
-       1721:  "caicci",
-       1722:  "hks-lm",
-       1723:  "pptp",
-       1724:  "csbphonemaster",
-       1725:  "iden-ralp",
-       1726:  "iberiagames",
-       1727:  "winddx",
-       1728:  "telindus",
-       1729:  "citynl",
-       1730:  "roketz",
-       1731:  "msiccp",
-       1732:  "proxim",
-       1733:  "siipat",
-       1734:  "cambertx-lm",
-       1735:  "privatechat",
-       1736:  "street-stream",
-       1737:  "ultimad",
-       1738:  "gamegen1",
-       1739:  "webaccess",
-       1740:  "encore",
-       1741:  "cisco-net-mgmt",
-       1742:  "3Com-nsd",
-       1743:  "cinegrfx-lm",
-       1744:  "ncpm-ft",
-       1745:  "remote-winsock",
-       1746:  "ftrapid-1",
-       1747:  "ftrapid-2",
-       1748:  "oracle-em1",
-       1749:  "aspen-services",
-       1750:  "sslp",
-       1751:  "swiftnet",
-       1752:  "lofr-lm",
-       1753:  "predatar-comms",
-       1754:  "oracle-em2",
-       1755:  "ms-streaming",
-       1756:  "capfast-lmd",
-       1757:  "cnhrp",
-       1758:  "tftp-mcast",
-       1759:  "spss-lm",
-       1760:  "www-ldap-gw",
-       1761:  "cft-0",
-       1762:  "cft-1",
-       1763:  "cft-2",
-       1764:  "cft-3",
-       1765:  "cft-4",
-       1766:  "cft-5",
-       1767:  "cft-6",
-       1768:  "cft-7",
-       1769:  "bmc-net-adm",
-       1770:  "bmc-net-svc",
-       1771:  "vaultbase",
-       1772:  "essweb-gw",
-       1773:  "kmscontrol",
-       1774:  "global-dtserv",
-       1775:  "vdab",
-       1776:  "femis",
-       1777:  "powerguardian",
-       1778:  "prodigy-intrnet",
-       1779:  "pharmasoft",
-       1780:  "dpkeyserv",
-       1781:  "answersoft-lm",
-       1782:  "hp-hcip",
-       1784:  "finle-lm",
-       1785:  "windlm",
-       1786:  "funk-logger",
-       1787:  "funk-license",
-       1788:  "psmond",
-       1789:  "hello",
-       1790:  "nmsp",
-       1791:  "ea1",
-       1792:  "ibm-dt-2",
-       1793:  "rsc-robot",
-       1794:  "cera-bcm",
-       1795:  "dpi-proxy",
-       1796:  "vocaltec-admin",
-       1797:  "uma",
-       1798:  "etp",
-       1799:  "netrisk",
-       1800:  "ansys-lm",
-       1801:  "msmq",
-       1802:  "concomp1",
-       1803:  "hp-hcip-gwy",
-       1804:  "enl",
-       1805:  "enl-name",
-       1806:  "musiconline",
-       1807:  "fhsp",
-       1808:  "oracle-vp2",
-       1809:  "oracle-vp1",
-       1810:  "jerand-lm",
-       1811:  "scientia-sdb",
-       1812:  "radius",
-       1813:  "radius-acct",
-       1814:  "tdp-suite",
-       1815:  "mmpft",
-       1816:  "harp",
-       1817:  "rkb-oscs",
-       1818:  "etftp",
-       1819:  "plato-lm",
-       1820:  "mcagent",
-       1821:  "donnyworld",
-       1822:  "es-elmd",
-       1823:  "unisys-lm",
-       1824:  "metrics-pas",
-       1825:  "direcpc-video",
-       1826:  "ardt",
-       1827:  "asi",
-       1828:  "itm-mcell-u",
-       1829:  "optika-emedia",
-       1830:  "net8-cman",
-       1831:  "myrtle",
-       1832:  "tht-treasure",
-       1833:  "udpradio",
-       1834:  "ardusuni",
-       1835:  "ardusmul",
-       1836:  "ste-smsc",
-       1837:  "csoft1",
-       1838:  "talnet",
-       1839:  "netopia-vo1",
-       1840:  "netopia-vo2",
-       1841:  "netopia-vo3",
-       1842:  "netopia-vo4",
-       1843:  "netopia-vo5",
-       1844:  "direcpc-dll",
-       1845:  "altalink",
-       1846:  "tunstall-pnc",
-       1847:  "slp-notify",
-       1848:  "fjdocdist",
-       1849:  "alpha-sms",
-       1850:  "gsi",
-       1851:  "ctcd",
-       1852:  "virtual-time",
-       1853:  "vids-avtp",
-       1854:  "buddy-draw",
-       1855:  "fiorano-rtrsvc",
-       1856:  "fiorano-msgsvc",
-       1857:  "datacaptor",
-       1858:  "privateark",
-       1859:  "gammafetchsvr",
-       1860:  "sunscalar-svc",
-       1861:  "lecroy-vicp",
-       1862:  "mysql-cm-agent",
-       1863:  "msnp",
-       1864:  "paradym-31port",
-       1865:  "entp",
-       1866:  "swrmi",
-       1867:  "udrive",
-       1868:  "viziblebrowser",
-       1869:  "transact",
-       1870:  "sunscalar-dns",
-       1871:  "canocentral0",
-       1872:  "canocentral1",
-       1873:  "fjmpjps",
-       1874:  "fjswapsnp",
-       1875:  "westell-stats",
-       1876:  "ewcappsrv",
-       1877:  "hp-webqosdb",
-       1878:  "drmsmc",
-       1879:  "nettgain-nms",
-       1880:  "vsat-control",
-       1881:  "ibm-mqseries2",
-       1882:  "ecsqdmn",
-       1883:  "mqtt",
-       1884:  "idmaps",
-       1885:  "vrtstrapserver",
-       1886:  "leoip",
-       1887:  "filex-lport",
-       1888:  "ncconfig",
-       1889:  "unify-adapter",
-       1890:  "wilkenlistener",
-       1891:  "childkey-notif",
-       1892:  "childkey-ctrl",
-       1893:  "elad",
-       1894:  "o2server-port",
-       1896:  "b-novative-ls",
-       1897:  "metaagent",
-       1898:  "cymtec-port",
-       1899:  "mc2studios",
-       1900:  "ssdp",
-       1901:  "fjicl-tep-a",
-       1902:  "fjicl-tep-b",
-       1903:  "linkname",
-       1904:  "fjicl-tep-c",
-       1905:  "sugp",
-       1906:  "tpmd",
-       1907:  "intrastar",
-       1908:  "dawn",
-       1909:  "global-wlink",
-       1910:  "ultrabac",
-       1911:  "mtp",
-       1912:  "rhp-iibp",
-       1913:  "armadp",
-       1914:  "elm-momentum",
-       1915:  "facelink",
-       1916:  "persona",
-       1917:  "noagent",
-       1918:  "can-nds",
-       1919:  "can-dch",
-       1920:  "can-ferret",
-       1921:  "noadmin",
-       1922:  "tapestry",
-       1923:  "spice",
-       1924:  "xiip",
-       1925:  "discovery-port",
-       1926:  "egs",
-       1927:  "videte-cipc",
-       1928:  "emsd-port",
-       1929:  "bandwiz-system",
-       1930:  "driveappserver",
-       1931:  "amdsched",
-       1932:  "ctt-broker",
-       1933:  "xmapi",
-       1934:  "xaapi",
-       1935:  "macromedia-fcs",
-       1936:  "jetcmeserver",
-       1937:  "jwserver",
-       1938:  "jwclient",
-       1939:  "jvserver",
-       1940:  "jvclient",
-       1941:  "dic-aida",
-       1942:  "res",
-       1943:  "beeyond-media",
-       1944:  "close-combat",
-       1945:  "dialogic-elmd",
-       1946:  "tekpls",
-       1947:  "sentinelsrm",
-       1948:  "eye2eye",
-       1949:  "ismaeasdaqlive",
-       1950:  "ismaeasdaqtest",
-       1951:  "bcs-lmserver",
-       1952:  "mpnjsc",
-       1953:  "rapidbase",
-       1954:  "abr-api",
-       1955:  "abr-secure",
-       1956:  "vrtl-vmf-ds",
-       1957:  "unix-status",
-       1958:  "dxadmind",
-       1959:  "simp-all",
-       1960:  "nasmanager",
-       1961:  "bts-appserver",
-       1962:  "biap-mp",
-       1963:  "webmachine",
-       1964:  "solid-e-engine",
-       1965:  "tivoli-npm",
-       1966:  "slush",
-       1967:  "sns-quote",
-       1968:  "lipsinc",
-       1969:  "lipsinc1",
-       1970:  "netop-rc",
-       1971:  "netop-school",
-       1972:  "intersys-cache",
-       1973:  "dlsrap",
-       1974:  "drp",
-       1975:  "tcoflashagent",
-       1976:  "tcoregagent",
-       1977:  "tcoaddressbook",
-       1978:  "unisql",
-       1979:  "unisql-java",
-       1980:  "pearldoc-xact",
-       1981:  "p2pq",
-       1982:  "estamp",
-       1983:  "lhtp",
-       1984:  "bb",
-       1985:  "hsrp",
-       1986:  "licensedaemon",
-       1987:  "tr-rsrb-p1",
-       1988:  "tr-rsrb-p2",
-       1989:  "tr-rsrb-p3",
-       1990:  "stun-p1",
-       1991:  "stun-p2",
-       1992:  "stun-p3",
-       1993:  "snmp-tcp-port",
-       1994:  "stun-port",
-       1995:  "perf-port",
-       1996:  "tr-rsrb-port",
-       1997:  "gdp-port",
-       1998:  "x25-svc-port",
-       1999:  "tcp-id-port",
-       2000:  "cisco-sccp",
-       2001:  "dc",
-       2002:  "globe",
-       2003:  "brutus",
-       2004:  "mailbox",
-       2005:  "berknet",
-       2006:  "invokator",
-       2007:  "dectalk",
-       2008:  "conf",
-       2009:  "news",
-       2010:  "search",
-       2011:  "raid-cc",
-       2012:  "ttyinfo",
-       2013:  "raid-am",
-       2014:  "troff",
-       2015:  "cypress",
-       2016:  "bootserver",
-       2017:  "cypress-stat",
-       2018:  "terminaldb",
-       2019:  "whosockami",
-       2020:  "xinupageserver",
-       2021:  "servexec",
-       2022:  "down",
-       2023:  "xinuexpansion3",
-       2024:  "xinuexpansion4",
-       2025:  "ellpack",
-       2026:  "scrabble",
-       2027:  "shadowserver",
-       2028:  "submitserver",
-       2029:  "hsrpv6",
-       2030:  "device2",
-       2031:  "mobrien-chat",
-       2032:  "blackboard",
-       2033:  "glogger",
-       2034:  "scoremgr",
-       2035:  "imsldoc",
-       2036:  "e-dpnet",
-       2037:  "applus",
-       2038:  "objectmanager",
-       2039:  "prizma",
-       2040:  "lam",
-       2041:  "interbase",
-       2042:  "isis",
-       2043:  "isis-bcast",
-       2044:  "rimsl",
-       2045:  "cdfunc",
-       2046:  "sdfunc",
-       2047:  "dls",
-       2048:  "dls-monitor",
-       2049:  "shilp",
-       2050:  "av-emb-config",
-       2051:  "epnsdp",
-       2052:  "clearvisn",
-       2053:  "lot105-ds-upd",
-       2054:  "weblogin",
-       2055:  "iop",
-       2056:  "omnisky",
-       2057:  "rich-cp",
-       2058:  "newwavesearch",
-       2059:  "bmc-messaging",
-       2060:  "teleniumdaemon",
-       2061:  "netmount",
-       2062:  "icg-swp",
-       2063:  "icg-bridge",
-       2064:  "icg-iprelay",
-       2065:  "dlsrpn",
-       2066:  "aura",
-       2067:  "dlswpn",
-       2068:  "avauthsrvprtcl",
-       2069:  "event-port",
-       2070:  "ah-esp-encap",
-       2071:  "acp-port",
-       2072:  "msync",
-       2073:  "gxs-data-port",
-       2074:  "vrtl-vmf-sa",
-       2075:  "newlixengine",
-       2076:  "newlixconfig",
-       2077:  "tsrmagt",
-       2078:  "tpcsrvr",
-       2079:  "idware-router",
-       2080:  "autodesk-nlm",
-       2081:  "kme-trap-port",
-       2082:  "infowave",
-       2083:  "radsec",
-       2084:  "sunclustergeo",
-       2085:  "ada-cip",
-       2086:  "gnunet",
-       2087:  "eli",
-       2088:  "ip-blf",
-       2089:  "sep",
-       2090:  "lrp",
-       2091:  "prp",
-       2092:  "descent3",
-       2093:  "nbx-cc",
-       2094:  "nbx-au",
-       2095:  "nbx-ser",
-       2096:  "nbx-dir",
-       2097:  "jetformpreview",
-       2098:  "dialog-port",
-       2099:  "h2250-annex-g",
-       2100:  "amiganetfs",
-       2101:  "rtcm-sc104",
-       2102:  "zephyr-srv",
-       2103:  "zephyr-clt",
-       2104:  "zephyr-hm",
-       2105:  "minipay",
-       2106:  "mzap",
-       2107:  "bintec-admin",
-       2108:  "comcam",
-       2109:  "ergolight",
-       2110:  "umsp",
-       2111:  "dsatp",
-       2112:  "idonix-metanet",
-       2113:  "hsl-storm",
-       2114:  "newheights",
-       2115:  "kdm",
-       2116:  "ccowcmr",
-       2117:  "mentaclient",
-       2118:  "mentaserver",
-       2119:  "gsigatekeeper",
-       2120:  "qencp",
-       2121:  "scientia-ssdb",
-       2122:  "caupc-remote",
-       2123:  "gtp-control",
-       2124:  "elatelink",
-       2125:  "lockstep",
-       2126:  "pktcable-cops",
-       2127:  "index-pc-wb",
-       2128:  "net-steward",
-       2129:  "cs-live",
-       2130:  "xds",
-       2131:  "avantageb2b",
-       2132:  "solera-epmap",
-       2133:  "zymed-zpp",
-       2134:  "avenue",
-       2135:  "gris",
-       2136:  "appworxsrv",
-       2137:  "connect",
-       2138:  "unbind-cluster",
-       2139:  "ias-auth",
-       2140:  "ias-reg",
-       2141:  "ias-admind",
-       2142:  "tdmoip",
-       2143:  "lv-jc",
-       2144:  "lv-ffx",
-       2145:  "lv-pici",
-       2146:  "lv-not",
-       2147:  "lv-auth",
-       2148:  "veritas-ucl",
-       2149:  "acptsys",
-       2150:  "dynamic3d",
-       2151:  "docent",
-       2152:  "gtp-user",
-       2153:  "ctlptc",
-       2154:  "stdptc",
-       2155:  "brdptc",
-       2156:  "trp",
-       2157:  "xnds",
-       2158:  "touchnetplus",
-       2159:  "gdbremote",
-       2160:  "apc-2160",
-       2161:  "apc-2161",
-       2162:  "navisphere",
-       2163:  "navisphere-sec",
-       2164:  "ddns-v3",
-       2165:  "x-bone-api",
-       2166:  "iwserver",
-       2167:  "raw-serial",
-       2168:  "easy-soft-mux",
-       2169:  "brain",
-       2170:  "eyetv",
-       2171:  "msfw-storage",
-       2172:  "msfw-s-storage",
-       2173:  "msfw-replica",
-       2174:  "msfw-array",
-       2175:  "airsync",
-       2176:  "rapi",
-       2177:  "qwave",
-       2178:  "bitspeer",
-       2179:  "vmrdp",
-       2180:  "mc-gt-srv",
-       2181:  "eforward",
-       2182:  "cgn-stat",
-       2183:  "cgn-config",
-       2184:  "nvd",
-       2185:  "onbase-dds",
-       2186:  "gtaua",
-       2187:  "ssmc",
-       2188:  "radware-rpm",
-       2189:  "radware-rpm-s",
-       2190:  "tivoconnect",
-       2191:  "tvbus",
-       2192:  "asdis",
-       2193:  "drwcs",
-       2197:  "mnp-exchange",
-       2198:  "onehome-remote",
-       2199:  "onehome-help",
-       2200:  "ici",
-       2201:  "ats",
-       2202:  "imtc-map",
-       2203:  "b2-runtime",
-       2204:  "b2-license",
-       2205:  "jps",
-       2206:  "hpocbus",
-       2207:  "hpssd",
-       2208:  "hpiod",
-       2209:  "rimf-ps",
-       2210:  "noaaport",
-       2211:  "emwin",
-       2212:  "leecoposserver",
-       2213:  "kali",
-       2214:  "rpi",
-       2215:  "ipcore",
-       2216:  "vtu-comms",
-       2217:  "gotodevice",
-       2218:  "bounzza",
-       2219:  "netiq-ncap",
-       2220:  "netiq",
-       2221:  "ethernet-ip-s",
-       2222:  "EtherNet-IP-1",
-       2223:  "rockwell-csp2",
-       2224:  "efi-mg",
-       2225:  "rcip-itu",
-       2226:  "di-drm",
-       2227:  "di-msg",
-       2228:  "ehome-ms",
-       2229:  "datalens",
-       2230:  "queueadm",
-       2231:  "wimaxasncp",
-       2232:  "ivs-video",
-       2233:  "infocrypt",
-       2234:  "directplay",
-       2235:  "sercomm-wlink",
-       2236:  "nani",
-       2237:  "optech-port1-lm",
-       2238:  "aviva-sna",
-       2239:  "imagequery",
-       2240:  "recipe",
-       2241:  "ivsd",
-       2242:  "foliocorp",
-       2243:  "magicom",
-       2244:  "nmsserver",
-       2245:  "hao",
-       2246:  "pc-mta-addrmap",
-       2247:  "antidotemgrsvr",
-       2248:  "ums",
-       2249:  "rfmp",
-       2250:  "remote-collab",
-       2251:  "dif-port",
-       2252:  "njenet-ssl",
-       2253:  "dtv-chan-req",
-       2254:  "seispoc",
-       2255:  "vrtp",
-       2256:  "pcc-mfp",
-       2257:  "simple-tx-rx",
-       2258:  "rcts",
-       2260:  "apc-2260",
-       2261:  "comotionmaster",
-       2262:  "comotionback",
-       2263:  "ecwcfg",
-       2264:  "apx500api-1",
-       2265:  "apx500api-2",
-       2266:  "mfserver",
-       2267:  "ontobroker",
-       2268:  "amt",
-       2269:  "mikey",
-       2270:  "starschool",
-       2271:  "mmcals",
-       2272:  "mmcal",
-       2273:  "mysql-im",
-       2274:  "pcttunnell",
-       2275:  "ibridge-data",
-       2276:  "ibridge-mgmt",
-       2277:  "bluectrlproxy",
-       2278:  "s3db",
-       2279:  "xmquery",
-       2280:  "lnvpoller",
-       2281:  "lnvconsole",
-       2282:  "lnvalarm",
-       2283:  "lnvstatus",
-       2284:  "lnvmaps",
-       2285:  "lnvmailmon",
-       2286:  "nas-metering",
-       2287:  "dna",
-       2288:  "netml",
-       2289:  "dict-lookup",
-       2290:  "sonus-logging",
-       2291:  "eapsp",
-       2292:  "mib-streaming",
-       2293:  "npdbgmngr",
-       2294:  "konshus-lm",
-       2295:  "advant-lm",
-       2296:  "theta-lm",
-       2297:  "d2k-datamover1",
-       2298:  "d2k-datamover2",
-       2299:  "pc-telecommute",
-       2300:  "cvmmon",
-       2301:  "cpq-wbem",
-       2302:  "binderysupport",
-       2303:  "proxy-gateway",
-       2304:  "attachmate-uts",
-       2305:  "mt-scaleserver",
-       2306:  "tappi-boxnet",
-       2307:  "pehelp",
-       2308:  "sdhelp",
-       2309:  "sdserver",
-       2310:  "sdclient",
-       2311:  "messageservice",
-       2312:  "wanscaler",
-       2313:  "iapp",
-       2314:  "cr-websystems",
-       2315:  "precise-sft",
-       2316:  "sent-lm",
-       2317:  "attachmate-g32",
-       2318:  "cadencecontrol",
-       2319:  "infolibria",
-       2320:  "siebel-ns",
-       2321:  "rdlap",
-       2322:  "ofsd",
-       2323:  "3d-nfsd",
-       2324:  "cosmocall",
-       2325:  "ansysli",
-       2326:  "idcp",
-       2327:  "xingcsm",
-       2328:  "netrix-sftm",
-       2329:  "nvd",
-       2330:  "tscchat",
-       2331:  "agentview",
-       2332:  "rcc-host",
-       2333:  "snapp",
-       2334:  "ace-client",
-       2335:  "ace-proxy",
-       2336:  "appleugcontrol",
-       2337:  "ideesrv",
-       2338:  "norton-lambert",
-       2339:  "3com-webview",
-       2340:  "wrs-registry",
-       2341:  "xiostatus",
-       2342:  "manage-exec",
-       2343:  "nati-logos",
-       2344:  "fcmsys",
-       2345:  "dbm",
-       2346:  "redstorm-join",
-       2347:  "redstorm-find",
-       2348:  "redstorm-info",
-       2349:  "redstorm-diag",
-       2350:  "psbserver",
-       2351:  "psrserver",
-       2352:  "pslserver",
-       2353:  "pspserver",
-       2354:  "psprserver",
-       2355:  "psdbserver",
-       2356:  "gxtelmd",
-       2357:  "unihub-server",
-       2358:  "futrix",
-       2359:  "flukeserver",
-       2360:  "nexstorindltd",
-       2361:  "tl1",
-       2362:  "digiman",
-       2363:  "mediacntrlnfsd",
-       2364:  "oi-2000",
-       2365:  "dbref",
-       2366:  "qip-login",
-       2367:  "service-ctrl",
-       2368:  "opentable",
-       2370:  "l3-hbmon",
-       2371:  "hp-rda",
-       2372:  "lanmessenger",
-       2373:  "remographlm",
-       2374:  "hydra",
-       2375:  "docker",
-       2376:  "docker-s",
-       2377:  "swarm",
-       2379:  "etcd-client",
-       2380:  "etcd-server",
-       2381:  "compaq-https",
-       2382:  "ms-olap3",
-       2383:  "ms-olap4",
-       2384:  "sd-request",
-       2385:  "sd-data",
-       2386:  "virtualtape",
-       2387:  "vsamredirector",
-       2388:  "mynahautostart",
-       2389:  "ovsessionmgr",
-       2390:  "rsmtp",
-       2391:  "3com-net-mgmt",
-       2392:  "tacticalauth",
-       2393:  "ms-olap1",
-       2394:  "ms-olap2",
-       2395:  "lan900-remote",
-       2396:  "wusage",
-       2397:  "ncl",
-       2398:  "orbiter",
-       2399:  "fmpro-fdal",
-       2400:  "opequus-server",
-       2401:  "cvspserver",
-       2402:  "taskmaster2000",
-       2403:  "taskmaster2000",
-       2404:  "iec-104",
-       2405:  "trc-netpoll",
-       2406:  "jediserver",
-       2407:  "orion",
-       2408:  "railgun-webaccl",
-       2409:  "sns-protocol",
-       2410:  "vrts-registry",
-       2411:  "netwave-ap-mgmt",
-       2412:  "cdn",
-       2413:  "orion-rmi-reg",
-       2414:  "beeyond",
-       2415:  "codima-rtp",
-       2416:  "rmtserver",
-       2417:  "composit-server",
-       2418:  "cas",
-       2419:  "attachmate-s2s",
-       2420:  "dslremote-mgmt",
-       2421:  "g-talk",
-       2422:  "crmsbits",
-       2423:  "rnrp",
-       2424:  "kofax-svr",
-       2425:  "fjitsuappmgr",
-       2426:  "vcmp",
-       2427:  "mgcp-gateway",
-       2428:  "ott",
-       2429:  "ft-role",
-       2430:  "venus",
-       2431:  "venus-se",
-       2432:  "codasrv",
-       2433:  "codasrv-se",
-       2434:  "pxc-epmap",
-       2435:  "optilogic",
-       2436:  "topx",
-       2437:  "unicontrol",
-       2438:  "msp",
-       2439:  "sybasedbsynch",
-       2440:  "spearway",
-       2441:  "pvsw-inet",
-       2442:  "netangel",
-       2443:  "powerclientcsf",
-       2444:  "btpp2sectrans",
-       2445:  "dtn1",
-       2446:  "bues-service",
-       2447:  "ovwdb",
-       2448:  "hpppssvr",
-       2449:  "ratl",
-       2450:  "netadmin",
-       2451:  "netchat",
-       2452:  "snifferclient",
-       2453:  "madge-ltd",
-       2454:  "indx-dds",
-       2455:  "wago-io-system",
-       2456:  "altav-remmgt",
-       2457:  "rapido-ip",
-       2458:  "griffin",
-       2459:  "community",
-       2460:  "ms-theater",
-       2461:  "qadmifoper",
-       2462:  "qadmifevent",
-       2463:  "lsi-raid-mgmt",
-       2464:  "direcpc-si",
-       2465:  "lbm",
-       2466:  "lbf",
-       2467:  "high-criteria",
-       2468:  "qip-msgd",
-       2469:  "mti-tcs-comm",
-       2470:  "taskman-port",
-       2471:  "seaodbc",
-       2472:  "c3",
-       2473:  "aker-cdp",
-       2474:  "vitalanalysis",
-       2475:  "ace-server",
-       2476:  "ace-svr-prop",
-       2477:  "ssm-cvs",
-       2478:  "ssm-cssps",
-       2479:  "ssm-els",
-       2480:  "powerexchange",
-       2481:  "giop",
-       2482:  "giop-ssl",
-       2483:  "ttc",
-       2484:  "ttc-ssl",
-       2485:  "netobjects1",
-       2486:  "netobjects2",
-       2487:  "pns",
-       2488:  "moy-corp",
-       2489:  "tsilb",
-       2490:  "qip-qdhcp",
-       2491:  "conclave-cpp",
-       2492:  "groove",
-       2493:  "talarian-mqs",
-       2494:  "bmc-ar",
-       2495:  "fast-rem-serv",
-       2496:  "dirgis",
-       2497:  "quaddb",
-       2498:  "odn-castraq",
-       2499:  "unicontrol",
-       2500:  "rtsserv",
-       2501:  "rtsclient",
-       2502:  "kentrox-prot",
-       2503:  "nms-dpnss",
-       2504:  "wlbs",
-       2505:  "ppcontrol",
-       2506:  "jbroker",
-       2507:  "spock",
-       2508:  "jdatastore",
-       2509:  "fjmpss",
-       2510:  "fjappmgrbulk",
-       2511:  "metastorm",
-       2512:  "citrixima",
-       2513:  "citrixadmin",
-       2514:  "facsys-ntp",
-       2515:  "facsys-router",
-       2516:  "maincontrol",
-       2517:  "call-sig-trans",
-       2518:  "willy",
-       2519:  "globmsgsvc",
-       2520:  "pvsw",
-       2521:  "adaptecmgr",
-       2522:  "windb",
-       2523:  "qke-llc-v3",
-       2524:  "optiwave-lm",
-       2525:  "ms-v-worlds",
-       2526:  "ema-sent-lm",
-       2527:  "iqserver",
-       2528:  "ncr-ccl",
-       2529:  "utsftp",
-       2530:  "vrcommerce",
-       2531:  "ito-e-gui",
-       2532:  "ovtopmd",
-       2533:  "snifferserver",
-       2534:  "combox-web-acc",
-       2535:  "madcap",
-       2536:  "btpp2audctr1",
-       2537:  "upgrade",
-       2538:  "vnwk-prapi",
-       2539:  "vsiadmin",
-       2540:  "lonworks",
-       2541:  "lonworks2",
-       2542:  "udrawgraph",
-       2543:  "reftek",
-       2544:  "novell-zen",
-       2545:  "sis-emt",
-       2546:  "vytalvaultbrtp",
-       2547:  "vytalvaultvsmp",
-       2548:  "vytalvaultpipe",
-       2549:  "ipass",
-       2550:  "ads",
-       2551:  "isg-uda-server",
-       2552:  "call-logging",
-       2553:  "efidiningport",
-       2554:  "vcnet-link-v10",
-       2555:  "compaq-wcp",
-       2556:  "nicetec-nmsvc",
-       2557:  "nicetec-mgmt",
-       2558:  "pclemultimedia",
-       2559:  "lstp",
-       2560:  "labrat",
-       2561:  "mosaixcc",
-       2562:  "delibo",
-       2563:  "cti-redwood",
-       2564:  "hp-3000-telnet",
-       2565:  "coord-svr",
-       2566:  "pcs-pcw",
-       2567:  "clp",
-       2568:  "spamtrap",
-       2569:  "sonuscallsig",
-       2570:  "hs-port",
-       2571:  "cecsvc",
-       2572:  "ibp",
-       2573:  "trustestablish",
-       2574:  "blockade-bpsp",
-       2575:  "hl7",
-       2576:  "tclprodebugger",
-       2577:  "scipticslsrvr",
-       2578:  "rvs-isdn-dcp",
-       2579:  "mpfoncl",
-       2580:  "tributary",
-       2581:  "argis-te",
-       2582:  "argis-ds",
-       2583:  "mon",
-       2584:  "cyaserv",
-       2585:  "netx-server",
-       2586:  "netx-agent",
-       2587:  "masc",
-       2588:  "privilege",
-       2589:  "quartus-tcl",
-       2590:  "idotdist",
-       2591:  "maytagshuffle",
-       2592:  "netrek",
-       2593:  "mns-mail",
-       2594:  "dts",
-       2595:  "worldfusion1",
-       2596:  "worldfusion2",
-       2597:  "homesteadglory",
-       2598:  "citriximaclient",
-       2599:  "snapd",
-       2600:  "hpstgmgr",
-       2601:  "discp-client",
-       2602:  "discp-server",
-       2603:  "servicemeter",
-       2604:  "nsc-ccs",
-       2605:  "nsc-posa",
-       2606:  "netmon",
-       2607:  "connection",
-       2608:  "wag-service",
-       2609:  "system-monitor",
-       2610:  "versa-tek",
-       2611:  "lionhead",
-       2612:  "qpasa-agent",
-       2613:  "smntubootstrap",
-       2614:  "neveroffline",
-       2615:  "firepower",
-       2616:  "appswitch-emp",
-       2617:  "cmadmin",
-       2618:  "priority-e-com",
-       2619:  "bruce",
-       2620:  "lpsrecommender",
-       2621:  "miles-apart",
-       2622:  "metricadbc",
-       2623:  "lmdp",
-       2624:  "aria",
-       2625:  "blwnkl-port",
-       2626:  "gbjd816",
-       2627:  "moshebeeri",
-       2628:  "dict",
-       2629:  "sitaraserver",
-       2630:  "sitaramgmt",
-       2631:  "sitaradir",
-       2632:  "irdg-post",
-       2633:  "interintelli",
-       2634:  "pk-electronics",
-       2635:  "backburner",
-       2636:  "solve",
-       2637:  "imdocsvc",
-       2638:  "sybaseanywhere",
-       2639:  "aminet",
-       2640:  "ami-control",
-       2641:  "hdl-srv",
-       2642:  "tragic",
-       2643:  "gte-samp",
-       2644:  "travsoft-ipx-t",
-       2645:  "novell-ipx-cmd",
-       2646:  "and-lm",
-       2647:  "syncserver",
-       2648:  "upsnotifyprot",
-       2649:  "vpsipport",
-       2650:  "eristwoguns",
-       2651:  "ebinsite",
-       2652:  "interpathpanel",
-       2653:  "sonus",
-       2654:  "corel-vncadmin",
-       2655:  "unglue",
-       2656:  "kana",
-       2657:  "sns-dispatcher",
-       2658:  "sns-admin",
-       2659:  "sns-query",
-       2660:  "gcmonitor",
-       2661:  "olhost",
-       2662:  "bintec-capi",
-       2663:  "bintec-tapi",
-       2664:  "patrol-mq-gm",
-       2665:  "patrol-mq-nm",
-       2666:  "extensis",
-       2667:  "alarm-clock-s",
-       2668:  "alarm-clock-c",
-       2669:  "toad",
-       2670:  "tve-announce",
-       2671:  "newlixreg",
-       2672:  "nhserver",
-       2673:  "firstcall42",
-       2674:  "ewnn",
-       2675:  "ttc-etap",
-       2676:  "simslink",
-       2677:  "gadgetgate1way",
-       2678:  "gadgetgate2way",
-       2679:  "syncserverssl",
-       2680:  "pxc-sapxom",
-       2681:  "mpnjsomb",
-       2683:  "ncdloadbalance",
-       2684:  "mpnjsosv",
-       2685:  "mpnjsocl",
-       2686:  "mpnjsomg",
-       2687:  "pq-lic-mgmt",
-       2688:  "md-cg-http",
-       2689:  "fastlynx",
-       2690:  "hp-nnm-data",
-       2691:  "itinternet",
-       2692:  "admins-lms",
-       2694:  "pwrsevent",
-       2695:  "vspread",
-       2696:  "unifyadmin",
-       2697:  "oce-snmp-trap",
-       2698:  "mck-ivpip",
-       2699:  "csoft-plusclnt",
-       2700:  "tqdata",
-       2701:  "sms-rcinfo",
-       2702:  "sms-xfer",
-       2703:  "sms-chat",
-       2704:  "sms-remctrl",
-       2705:  "sds-admin",
-       2706:  "ncdmirroring",
-       2707:  "emcsymapiport",
-       2708:  "banyan-net",
-       2709:  "supermon",
-       2710:  "sso-service",
-       2711:  "sso-control",
-       2712:  "aocp",
-       2713:  "raventbs",
-       2714:  "raventdm",
-       2715:  "hpstgmgr2",
-       2716:  "inova-ip-disco",
-       2717:  "pn-requester",
-       2718:  "pn-requester2",
-       2719:  "scan-change",
-       2720:  "wkars",
-       2721:  "smart-diagnose",
-       2722:  "proactivesrvr",
-       2723:  "watchdog-nt",
-       2724:  "qotps",
-       2725:  "msolap-ptp2",
-       2726:  "tams",
-       2727:  "mgcp-callagent",
-       2728:  "sqdr",
-       2729:  "tcim-control",
-       2730:  "nec-raidplus",
-       2731:  "fyre-messanger",
-       2732:  "g5m",
-       2733:  "signet-ctf",
-       2734:  "ccs-software",
-       2735:  "netiq-mc",
-       2736:  "radwiz-nms-srv",
-       2737:  "srp-feedback",
-       2738:  "ndl-tcp-ois-gw",
-       2739:  "tn-timing",
-       2740:  "alarm",
-       2741:  "tsb",
-       2742:  "tsb2",
-       2743:  "murx",
-       2744:  "honyaku",
-       2745:  "urbisnet",
-       2746:  "cpudpencap",
-       2747:  "fjippol-swrly",
-       2748:  "fjippol-polsvr",
-       2749:  "fjippol-cnsl",
-       2750:  "fjippol-port1",
-       2751:  "fjippol-port2",
-       2752:  "rsisysaccess",
-       2753:  "de-spot",
-       2754:  "apollo-cc",
-       2755:  "expresspay",
-       2756:  "simplement-tie",
-       2757:  "cnrp",
-       2758:  "apollo-status",
-       2759:  "apollo-gms",
-       2760:  "sabams",
-       2761:  "dicom-iscl",
-       2762:  "dicom-tls",
-       2763:  "desktop-dna",
-       2764:  "data-insurance",
-       2765:  "qip-audup",
-       2766:  "compaq-scp",
-       2767:  "uadtc",
-       2768:  "uacs",
-       2769:  "exce",
-       2770:  "veronica",
-       2771:  "vergencecm",
-       2772:  "auris",
-       2773:  "rbakcup1",
-       2774:  "rbakcup2",
-       2775:  "smpp",
-       2776:  "ridgeway1",
-       2777:  "ridgeway2",
-       2778:  "gwen-sonya",
-       2779:  "lbc-sync",
-       2780:  "lbc-control",
-       2781:  "whosells",
-       2782:  "everydayrc",
-       2783:  "aises",
-       2784:  "www-dev",
-       2785:  "aic-np",
-       2786:  "aic-oncrpc",
-       2787:  "piccolo",
-       2788:  "fryeserv",
-       2789:  "media-agent",
-       2790:  "plgproxy",
-       2791:  "mtport-regist",
-       2792:  "f5-globalsite",
-       2793:  "initlsmsad",
-       2795:  "livestats",
-       2796:  "ac-tech",
-       2797:  "esp-encap",
-       2798:  "tmesis-upshot",
-       2799:  "icon-discover",
-       2800:  "acc-raid",
-       2801:  "igcp",
-       2802:  "veritas-tcp1",
-       2803:  "btprjctrl",
-       2804:  "dvr-esm",
-       2805:  "wta-wsp-s",
-       2806:  "cspuni",
-       2807:  "cspmulti",
-       2808:  "j-lan-p",
-       2809:  "corbaloc",
-       2810:  "netsteward",
-       2811:  "gsiftp",
-       2812:  "atmtcp",
-       2813:  "llm-pass",
-       2814:  "llm-csv",
-       2815:  "lbc-measure",
-       2816:  "lbc-watchdog",
-       2817:  "nmsigport",
-       2818:  "rmlnk",
-       2819:  "fc-faultnotify",
-       2820:  "univision",
-       2821:  "vrts-at-port",
-       2822:  "ka0wuc",
-       2823:  "cqg-netlan",
-       2824:  "cqg-netlan-1",
-       2826:  "slc-systemlog",
-       2827:  "slc-ctrlrloops",
-       2828:  "itm-lm",
-       2829:  "silkp1",
-       2830:  "silkp2",
-       2831:  "silkp3",
-       2832:  "silkp4",
-       2833:  "glishd",
-       2834:  "evtp",
-       2835:  "evtp-data",
-       2836:  "catalyst",
-       2837:  "repliweb",
-       2838:  "starbot",
-       2839:  "nmsigport",
-       2840:  "l3-exprt",
-       2841:  "l3-ranger",
-       2842:  "l3-hawk",
-       2843:  "pdnet",
-       2844:  "bpcp-poll",
-       2845:  "bpcp-trap",
-       2846:  "aimpp-hello",
-       2847:  "aimpp-port-req",
-       2848:  "amt-blc-port",
-       2849:  "fxp",
-       2850:  "metaconsole",
-       2851:  "webemshttp",
-       2852:  "bears-01",
-       2853:  "ispipes",
-       2854:  "infomover",
-       2855:  "msrp",
-       2856:  "cesdinv",
-       2857:  "simctlp",
-       2858:  "ecnp",
-       2859:  "activememory",
-       2860:  "dialpad-voice1",
-       2861:  "dialpad-voice2",
-       2862:  "ttg-protocol",
-       2863:  "sonardata",
-       2864:  "astromed-main",
-       2865:  "pit-vpn",
-       2866:  "iwlistener",
-       2867:  "esps-portal",
-       2868:  "npep-messaging",
-       2869:  "icslap",
-       2870:  "daishi",
-       2871:  "msi-selectplay",
-       2872:  "radix",
-       2874:  "dxmessagebase1",
-       2875:  "dxmessagebase2",
-       2876:  "sps-tunnel",
-       2877:  "bluelance",
-       2878:  "aap",
-       2879:  "ucentric-ds",
-       2880:  "synapse",
-       2881:  "ndsp",
-       2882:  "ndtp",
-       2883:  "ndnp",
-       2884:  "flashmsg",
-       2885:  "topflow",
-       2886:  "responselogic",
-       2887:  "aironetddp",
-       2888:  "spcsdlobby",
-       2889:  "rsom",
-       2890:  "cspclmulti",
-       2891:  "cinegrfx-elmd",
-       2892:  "snifferdata",
-       2893:  "vseconnector",
-       2894:  "abacus-remote",
-       2895:  "natuslink",
-       2896:  "ecovisiong6-1",
-       2897:  "citrix-rtmp",
-       2898:  "appliance-cfg",
-       2899:  "powergemplus",
-       2900:  "quicksuite",
-       2901:  "allstorcns",
-       2902:  "netaspi",
-       2903:  "suitcase",
-       2904:  "m2ua",
-       2905:  "m3ua",
-       2906:  "caller9",
-       2907:  "webmethods-b2b",
-       2908:  "mao",
-       2909:  "funk-dialout",
-       2910:  "tdaccess",
-       2911:  "blockade",
-       2912:  "epicon",
-       2913:  "boosterware",
-       2914:  "gamelobby",
-       2915:  "tksocket",
-       2916:  "elvin-server",
-       2917:  "elvin-client",
-       2918:  "kastenchasepad",
-       2919:  "roboer",
-       2920:  "roboeda",
-       2921:  "cesdcdman",
-       2922:  "cesdcdtrn",
-       2923:  "wta-wsp-wtp-s",
-       2924:  "precise-vip",
-       2926:  "mobile-file-dl",
-       2927:  "unimobilectrl",
-       2928:  "redstone-cpss",
-       2929:  "amx-webadmin",
-       2930:  "amx-weblinx",
-       2931:  "circle-x",
-       2932:  "incp",
-       2933:  "4-tieropmgw",
-       2934:  "4-tieropmcli",
-       2935:  "qtp",
-       2936:  "otpatch",
-       2937:  "pnaconsult-lm",
-       2938:  "sm-pas-1",
-       2939:  "sm-pas-2",
-       2940:  "sm-pas-3",
-       2941:  "sm-pas-4",
-       2942:  "sm-pas-5",
-       2943:  "ttnrepository",
-       2944:  "megaco-h248",
-       2945:  "h248-binary",
-       2946:  "fjsvmpor",
-       2947:  "gpsd",
-       2948:  "wap-push",
-       2949:  "wap-pushsecure",
-       2950:  "esip",
-       2951:  "ottp",
-       2952:  "mpfwsas",
-       2953:  "ovalarmsrv",
-       2954:  "ovalarmsrv-cmd",
-       2955:  "csnotify",
-       2956:  "ovrimosdbman",
-       2957:  "jmact5",
-       2958:  "jmact6",
-       2959:  "rmopagt",
-       2960:  "dfoxserver",
-       2961:  "boldsoft-lm",
-       2962:  "iph-policy-cli",
-       2963:  "iph-policy-adm",
-       2964:  "bullant-srap",
-       2965:  "bullant-rap",
-       2966:  "idp-infotrieve",
-       2967:  "ssc-agent",
-       2968:  "enpp",
-       2969:  "essp",
-       2970:  "index-net",
-       2971:  "netclip",
-       2972:  "pmsm-webrctl",
-       2973:  "svnetworks",
-       2974:  "signal",
-       2975:  "fjmpcm",
-       2976:  "cns-srv-port",
-       2977:  "ttc-etap-ns",
-       2978:  "ttc-etap-ds",
-       2979:  "h263-video",
-       2980:  "wimd",
-       2981:  "mylxamport",
-       2982:  "iwb-whiteboard",
-       2983:  "netplan",
-       2984:  "hpidsadmin",
-       2985:  "hpidsagent",
-       2986:  "stonefalls",
-       2987:  "identify",
-       2988:  "hippad",
-       2989:  "zarkov",
-       2990:  "boscap",
-       2991:  "wkstn-mon",
-       2992:  "avenyo",
-       2993:  "veritas-vis1",
-       2994:  "veritas-vis2",
-       2995:  "idrs",
-       2996:  "vsixml",
-       2997:  "rebol",
-       2998:  "realsecure",
-       2999:  "remoteware-un",
-       3000:  "hbci",
-       3001:  "origo-native",
-       3002:  "exlm-agent",
-       3003:  "cgms",
-       3004:  "csoftragent",
-       3005:  "geniuslm",
-       3006:  "ii-admin",
-       3007:  "lotusmtap",
-       3008:  "midnight-tech",
-       3009:  "pxc-ntfy",
-       3010:  "gw",
-       3011:  "trusted-web",
-       3012:  "twsdss",
-       3013:  "gilatskysurfer",
-       3014:  "broker-service",
-       3015:  "nati-dstp",
-       3016:  "notify-srvr",
-       3017:  "event-listener",
-       3018:  "srvc-registry",
-       3019:  "resource-mgr",
-       3020:  "cifs",
-       3021:  "agriserver",
-       3022:  "csregagent",
-       3023:  "magicnotes",
-       3024:  "nds-sso",
-       3025:  "arepa-raft",
-       3026:  "agri-gateway",
-       3027:  "LiebDevMgmt-C",
-       3028:  "LiebDevMgmt-DM",
-       3029:  "LiebDevMgmt-A",
-       3030:  "arepa-cas",
-       3031:  "eppc",
-       3032:  "redwood-chat",
-       3033:  "pdb",
-       3034:  "osmosis-aeea",
-       3035:  "fjsv-gssagt",
-       3036:  "hagel-dump",
-       3037:  "hp-san-mgmt",
-       3038:  "santak-ups",
-       3039:  "cogitate",
-       3040:  "tomato-springs",
-       3041:  "di-traceware",
-       3042:  "journee",
-       3043:  "brp",
-       3044:  "epp",
-       3045:  "responsenet",
-       3046:  "di-ase",
-       3047:  "hlserver",
-       3048:  "pctrader",
-       3049:  "nsws",
-       3050:  "gds-db",
-       3051:  "galaxy-server",
-       3052:  "apc-3052",
-       3053:  "dsom-server",
-       3054:  "amt-cnf-prot",
-       3055:  "policyserver",
-       3056:  "cdl-server",
-       3057:  "goahead-fldup",
-       3058:  "videobeans",
-       3059:  "qsoft",
-       3060:  "interserver",
-       3061:  "cautcpd",
-       3062:  "ncacn-ip-tcp",
-       3063:  "ncadg-ip-udp",
-       3064:  "rprt",
-       3065:  "slinterbase",
-       3066:  "netattachsdmp",
-       3067:  "fjhpjp",
-       3068:  "ls3bcast",
-       3069:  "ls3",
-       3070:  "mgxswitch",
-       3071:  "xplat-replicate",
-       3072:  "csd-monitor",
-       3073:  "vcrp",
-       3074:  "xbox",
-       3075:  "orbix-locator",
-       3076:  "orbix-config",
-       3077:  "orbix-loc-ssl",
-       3078:  "orbix-cfg-ssl",
-       3079:  "lv-frontpanel",
-       3080:  "stm-pproc",
-       3081:  "tl1-lv",
-       3082:  "tl1-raw",
-       3083:  "tl1-telnet",
-       3084:  "itm-mccs",
-       3085:  "pcihreq",
-       3086:  "jdl-dbkitchen",
-       3087:  "asoki-sma",
-       3088:  "xdtp",
-       3089:  "ptk-alink",
-       3090:  "stss",
-       3091:  "1ci-smcs",
-       3093:  "rapidmq-center",
-       3094:  "rapidmq-reg",
-       3095:  "panasas",
-       3096:  "ndl-aps",
-       3098:  "umm-port",
-       3099:  "chmd",
-       3100:  "opcon-xps",
-       3101:  "hp-pxpib",
-       3102:  "slslavemon",
-       3103:  "autocuesmi",
-       3104:  "autocuelog",
-       3105:  "cardbox",
-       3106:  "cardbox-http",
-       3107:  "business",
-       3108:  "geolocate",
-       3109:  "personnel",
-       3110:  "sim-control",
-       3111:  "wsynch",
-       3112:  "ksysguard",
-       3113:  "cs-auth-svr",
-       3114:  "ccmad",
-       3115:  "mctet-master",
-       3116:  "mctet-gateway",
-       3117:  "mctet-jserv",
-       3118:  "pkagent",
-       3119:  "d2000kernel",
-       3120:  "d2000webserver",
-       3121:  "pcmk-remote",
-       3122:  "vtr-emulator",
-       3123:  "edix",
-       3124:  "beacon-port",
-       3125:  "a13-an",
-       3127:  "ctx-bridge",
-       3128:  "ndl-aas",
-       3129:  "netport-id",
-       3130:  "icpv2",
-       3131:  "netbookmark",
-       3132:  "ms-rule-engine",
-       3133:  "prism-deploy",
-       3134:  "ecp",
-       3135:  "peerbook-port",
-       3136:  "grubd",
-       3137:  "rtnt-1",
-       3138:  "rtnt-2",
-       3139:  "incognitorv",
-       3140:  "ariliamulti",
-       3141:  "vmodem",
-       3142:  "rdc-wh-eos",
-       3143:  "seaview",
-       3144:  "tarantella",
-       3145:  "csi-lfap",
-       3146:  "bears-02",
-       3147:  "rfio",
-       3148:  "nm-game-admin",
-       3149:  "nm-game-server",
-       3150:  "nm-asses-admin",
-       3151:  "nm-assessor",
-       3152:  "feitianrockey",
-       3153:  "s8-client-port",
-       3154:  "ccmrmi",
-       3155:  "jpegmpeg",
-       3156:  "indura",
-       3157:  "e3consultants",
-       3158:  "stvp",
-       3159:  "navegaweb-port",
-       3160:  "tip-app-server",
-       3161:  "doc1lm",
-       3162:  "sflm",
-       3163:  "res-sap",
-       3164:  "imprs",
-       3165:  "newgenpay",
-       3166:  "sossecollector",
-       3167:  "nowcontact",
-       3168:  "poweronnud",
-       3169:  "serverview-as",
-       3170:  "serverview-asn",
-       3171:  "serverview-gf",
-       3172:  "serverview-rm",
-       3173:  "serverview-icc",
-       3174:  "armi-server",
-       3175:  "t1-e1-over-ip",
-       3176:  "ars-master",
-       3177:  "phonex-port",
-       3178:  "radclientport",
-       3179:  "h2gf-w-2m",
-       3180:  "mc-brk-srv",
-       3181:  "bmcpatrolagent",
-       3182:  "bmcpatrolrnvu",
-       3183:  "cops-tls",
-       3184:  "apogeex-port",
-       3185:  "smpppd",
-       3186:  "iiw-port",
-       3187:  "odi-port",
-       3188:  "brcm-comm-port",
-       3189:  "pcle-infex",
-       3190:  "csvr-proxy",
-       3191:  "csvr-sslproxy",
-       3192:  "firemonrcc",
-       3193:  "spandataport",
-       3194:  "magbind",
-       3195:  "ncu-1",
-       3196:  "ncu-2",
-       3197:  "embrace-dp-s",
-       3198:  "embrace-dp-c",
-       3199:  "dmod-workspace",
-       3200:  "tick-port",
-       3201:  "cpq-tasksmart",
-       3202:  "intraintra",
-       3203:  "netwatcher-mon",
-       3204:  "netwatcher-db",
-       3205:  "isns",
-       3206:  "ironmail",
-       3207:  "vx-auth-port",
-       3208:  "pfu-prcallback",
-       3209:  "netwkpathengine",
-       3210:  "flamenco-proxy",
-       3211:  "avsecuremgmt",
-       3212:  "surveyinst",
-       3213:  "neon24x7",
-       3214:  "jmq-daemon-1",
-       3215:  "jmq-daemon-2",
-       3216:  "ferrari-foam",
-       3217:  "unite",
-       3218:  "smartpackets",
-       3219:  "wms-messenger",
-       3220:  "xnm-ssl",
-       3221:  "xnm-clear-text",
-       3222:  "glbp",
-       3223:  "digivote",
-       3224:  "aes-discovery",
-       3225:  "fcip-port",
-       3226:  "isi-irp",
-       3227:  "dwnmshttp",
-       3228:  "dwmsgserver",
-       3229:  "global-cd-port",
-       3230:  "sftdst-port",
-       3231:  "vidigo",
-       3232:  "mdtp",
-       3233:  "whisker",
-       3234:  "alchemy",
-       3235:  "mdap-port",
-       3236:  "apparenet-ts",
-       3237:  "apparenet-tps",
-       3238:  "apparenet-as",
-       3239:  "apparenet-ui",
-       3240:  "triomotion",
-       3241:  "sysorb",
-       3242:  "sdp-id-port",
-       3243:  "timelot",
-       3244:  "onesaf",
-       3245:  "vieo-fe",
-       3246:  "dvt-system",
-       3247:  "dvt-data",
-       3248:  "procos-lm",
-       3249:  "ssp",
-       3250:  "hicp",
-       3251:  "sysscanner",
-       3252:  "dhe",
-       3253:  "pda-data",
-       3254:  "pda-sys",
-       3255:  "semaphore",
-       3256:  "cpqrpm-agent",
-       3257:  "cpqrpm-server",
-       3258:  "ivecon-port",
-       3259:  "epncdp2",
-       3260:  "iscsi-target",
-       3261:  "winshadow",
-       3262:  "necp",
-       3263:  "ecolor-imager",
-       3264:  "ccmail",
-       3265:  "altav-tunnel",
-       3266:  "ns-cfg-server",
-       3267:  "ibm-dial-out",
-       3268:  "msft-gc",
-       3269:  "msft-gc-ssl",
-       3270:  "verismart",
-       3271:  "csoft-prev",
-       3272:  "user-manager",
-       3273:  "sxmp",
-       3274:  "ordinox-server",
-       3275:  "samd",
-       3276:  "maxim-asics",
-       3277:  "awg-proxy",
-       3278:  "lkcmserver",
-       3279:  "admind",
-       3280:  "vs-server",
-       3281:  "sysopt",
-       3282:  "datusorb",
-       3283:  "Apple Remote Desktop (Net Assistant)",
-       3284:  "4talk",
-       3285:  "plato",
-       3286:  "e-net",
-       3287:  "directvdata",
-       3288:  "cops",
-       3289:  "enpc",
-       3290:  "caps-lm",
-       3291:  "sah-lm",
-       3292:  "cart-o-rama",
-       3293:  "fg-fps",
-       3294:  "fg-gip",
-       3295:  "dyniplookup",
-       3296:  "rib-slm",
-       3297:  "cytel-lm",
-       3298:  "deskview",
-       3299:  "pdrncs",
-       3300:  "ceph",
-       3302:  "mcs-fastmail",
-       3303:  "opsession-clnt",
-       3304:  "opsession-srvr",
-       3305:  "odette-ftp",
-       3306:  "mysql",
-       3307:  "opsession-prxy",
-       3308:  "tns-server",
-       3309:  "tns-adv",
-       3310:  "dyna-access",
-       3311:  "mcns-tel-ret",
-       3312:  "appman-server",
-       3313:  "uorb",
-       3314:  "uohost",
-       3315:  "cdid",
-       3316:  "aicc-cmi",
-       3317:  "vsaiport",
-       3318:  "ssrip",
-       3319:  "sdt-lmd",
-       3320:  "officelink2000",
-       3321:  "vnsstr",
-       3326:  "sftu",
-       3327:  "bbars",
-       3328:  "egptlm",
-       3329:  "hp-device-disc",
-       3330:  "mcs-calypsoicf",
-       3331:  "mcs-messaging",
-       3332:  "mcs-mailsvr",
-       3333:  "dec-notes",
-       3334:  "directv-web",
-       3335:  "directv-soft",
-       3336:  "directv-tick",
-       3337:  "directv-catlg",
-       3338:  "anet-b",
-       3339:  "anet-l",
-       3340:  "anet-m",
-       3341:  "anet-h",
-       3342:  "webtie",
-       3343:  "ms-cluster-net",
-       3344:  "bnt-manager",
-       3345:  "influence",
-       3346:  "trnsprntproxy",
-       3347:  "phoenix-rpc",
-       3348:  "pangolin-laser",
-       3349:  "chevinservices",
-       3350:  "findviatv",
-       3351:  "btrieve",
-       3352:  "ssql",
-       3353:  "fatpipe",
-       3354:  "suitjd",
-       3355:  "ordinox-dbase",
-       3356:  "upnotifyps",
-       3357:  "adtech-test",
-       3358:  "mpsysrmsvr",
-       3359:  "wg-netforce",
-       3360:  "kv-server",
-       3361:  "kv-agent",
-       3362:  "dj-ilm",
-       3363:  "nati-vi-server",
-       3364:  "creativeserver",
-       3365:  "contentserver",
-       3366:  "creativepartnr",
-       3372:  "tip2",
-       3373:  "lavenir-lm",
-       3374:  "cluster-disc",
-       3375:  "vsnm-agent",
-       3376:  "cdbroker",
-       3377:  "cogsys-lm",
-       3378:  "wsicopy",
-       3379:  "socorfs",
-       3380:  "sns-channels",
-       3381:  "geneous",
-       3382:  "fujitsu-neat",
-       3383:  "esp-lm",
-       3384:  "hp-clic",
-       3385:  "qnxnetman",
-       3386:  "gprs-data",
-       3387:  "backroomnet",
-       3388:  "cbserver",
-       3389:  "ms-wbt-server",
-       3390:  "dsc",
-       3391:  "savant",
-       3392:  "efi-lm",
-       3393:  "d2k-tapestry1",
-       3394:  "d2k-tapestry2",
-       3395:  "dyna-lm",
-       3396:  "printer-agent",
-       3397:  "cloanto-lm",
-       3398:  "mercantile",
-       3399:  "csms",
-       3400:  "csms2",
-       3401:  "filecast",
-       3402:  "fxaengine-net",
-       3405:  "nokia-ann-ch1",
-       3406:  "nokia-ann-ch2",
-       3407:  "ldap-admin",
-       3408:  "BESApi",
-       3409:  "networklens",
-       3410:  "networklenss",
-       3411:  "biolink-auth",
-       3412:  "xmlblaster",
-       3413:  "svnet",
-       3414:  "wip-port",
-       3415:  "bcinameservice",
-       3416:  "commandport",
-       3417:  "csvr",
-       3418:  "rnmap",
-       3419:  "softaudit",
-       3420:  "ifcp-port",
-       3421:  "bmap",
-       3422:  "rusb-sys-port",
-       3423:  "xtrm",
-       3424:  "xtrms",
-       3425:  "agps-port",
-       3426:  "arkivio",
-       3427:  "websphere-snmp",
-       3428:  "twcss",
-       3429:  "gcsp",
-       3430:  "ssdispatch",
-       3431:  "ndl-als",
-       3432:  "osdcp",
-       3433:  "opnet-smp",
-       3434:  "opencm",
-       3435:  "pacom",
-       3436:  "gc-config",
-       3437:  "autocueds",
-       3438:  "spiral-admin",
-       3439:  "hri-port",
-       3440:  "ans-console",
-       3441:  "connect-client",
-       3442:  "connect-server",
-       3443:  "ov-nnm-websrv",
-       3444:  "denali-server",
-       3445:  "monp",
-       3446:  "3comfaxrpc",
-       3447:  "directnet",
-       3448:  "dnc-port",
-       3449:  "hotu-chat",
-       3450:  "castorproxy",
-       3451:  "asam",
-       3452:  "sabp-signal",
-       3453:  "pscupd",
-       3454:  "mira",
-       3455:  "prsvp",
-       3456:  "vat",
-       3457:  "vat-control",
-       3458:  "d3winosfi",
-       3459:  "integral",
-       3460:  "edm-manager",
-       3461:  "edm-stager",
-       3462:  "edm-std-notify",
-       3463:  "edm-adm-notify",
-       3464:  "edm-mgr-sync",
-       3465:  "edm-mgr-cntrl",
-       3466:  "workflow",
-       3467:  "rcst",
-       3468:  "ttcmremotectrl",
-       3469:  "pluribus",
-       3470:  "jt400",
-       3471:  "jt400-ssl",
-       3472:  "jaugsremotec-1",
-       3473:  "jaugsremotec-2",
-       3474:  "ttntspauto",
-       3475:  "genisar-port",
-       3476:  "nppmp",
-       3477:  "ecomm",
-       3478:  "stun",
-       3479:  "twrpc",
-       3480:  "plethora",
-       3481:  "cleanerliverc",
-       3482:  "vulture",
-       3483:  "slim-devices",
-       3484:  "gbs-stp",
-       3485:  "celatalk",
-       3486:  "ifsf-hb-port",
-       3487:  "ltctcp",
-       3488:  "fs-rh-srv",
-       3489:  "dtp-dia",
-       3490:  "colubris",
-       3491:  "swr-port",
-       3492:  "tvdumtray-port",
-       3493:  "nut",
-       3494:  "ibm3494",
-       3495:  "seclayer-tcp",
-       3496:  "seclayer-tls",
-       3497:  "ipether232port",
-       3498:  "dashpas-port",
-       3499:  "sccip-media",
-       3500:  "rtmp-port",
-       3501:  "isoft-p2p",
-       3502:  "avinstalldisc",
-       3503:  "lsp-ping",
-       3504:  "ironstorm",
-       3505:  "ccmcomm",
-       3506:  "apc-3506",
-       3507:  "nesh-broker",
-       3508:  "interactionweb",
-       3509:  "vt-ssl",
-       3510:  "xss-port",
-       3511:  "webmail-2",
-       3512:  "aztec",
-       3513:  "arcpd",
-       3514:  "must-p2p",
-       3515:  "must-backplane",
-       3516:  "smartcard-port",
-       3517:  "802-11-iapp",
-       3518:  "artifact-msg",
-       3519:  "nvmsgd",
-       3520:  "galileolog",
-       3521:  "mc3ss",
-       3522:  "nssocketport",
-       3523:  "odeumservlink",
-       3524:  "ecmport",
-       3525:  "eisport",
-       3526:  "starquiz-port",
-       3527:  "beserver-msg-q",
-       3528:  "jboss-iiop",
-       3529:  "jboss-iiop-ssl",
-       3530:  "gf",
-       3531:  "joltid",
-       3532:  "raven-rmp",
-       3533:  "raven-rdp",
-       3534:  "urld-port",
-       3535:  "ms-la",
-       3536:  "snac",
-       3537:  "ni-visa-remote",
-       3538:  "ibm-diradm",
-       3539:  "ibm-diradm-ssl",
-       3540:  "pnrp-port",
-       3541:  "voispeed-port",
-       3542:  "hacl-monitor",
-       3543:  "qftest-lookup",
-       3544:  "teredo",
-       3545:  "camac",
-       3547:  "symantec-sim",
-       3548:  "interworld",
-       3549:  "tellumat-nms",
-       3550:  "ssmpp",
-       3551:  "apcupsd",
-       3552:  "taserver",
-       3553:  "rbr-discovery",
-       3554:  "questnotify",
-       3555:  "razor",
-       3556:  "sky-transport",
-       3557:  "personalos-001",
-       3558:  "mcp-port",
-       3559:  "cctv-port",
-       3560:  "iniserve-port",
-       3561:  "bmc-onekey",
-       3562:  "sdbproxy",
-       3563:  "watcomdebug",
-       3564:  "esimport",
-       3565:  "m2pa",
-       3566:  "quest-data-hub",
-       3567:  "dof-eps",
-       3568:  "dof-tunnel-sec",
-       3569:  "mbg-ctrl",
-       3570:  "mccwebsvr-port",
-       3571:  "megardsvr-port",
-       3572:  "megaregsvrport",
-       3573:  "tag-ups-1",
-       3574:  "dmaf-server",
-       3575:  "ccm-port",
-       3576:  "cmc-port",
-       3577:  "config-port",
-       3578:  "data-port",
-       3579:  "ttat3lb",
-       3580:  "nati-svrloc",
-       3581:  "kfxaclicensing",
-       3582:  "press",
-       3583:  "canex-watch",
-       3584:  "u-dbap",
-       3585:  "emprise-lls",
-       3586:  "emprise-lsc",
-       3587:  "p2pgroup",
-       3588:  "sentinel",
-       3589:  "isomair",
-       3590:  "wv-csp-sms",
-       3591:  "gtrack-server",
-       3592:  "gtrack-ne",
-       3593:  "bpmd",
-       3594:  "mediaspace",
-       3595:  "shareapp",
-       3596:  "iw-mmogame",
-       3597:  "a14",
-       3598:  "a15",
-       3599:  "quasar-server",
-       3600:  "trap-daemon",
-       3601:  "visinet-gui",
-       3602:  "infiniswitchcl",
-       3603:  "int-rcv-cntrl",
-       3604:  "bmc-jmx-port",
-       3605:  "comcam-io",
-       3606:  "splitlock",
-       3607:  "precise-i3",
-       3608:  "trendchip-dcp",
-       3609:  "cpdi-pidas-cm",
-       3610:  "echonet",
-       3611:  "six-degrees",
-       3612:  "hp-dataprotect",
-       3613:  "alaris-disc",
-       3614:  "sigma-port",
-       3615:  "start-network",
-       3616:  "cd3o-protocol",
-       3617:  "sharp-server",
-       3618:  "aairnet-1",
-       3619:  "aairnet-2",
-       3620:  "ep-pcp",
-       3621:  "ep-nsp",
-       3622:  "ff-lr-port",
-       3623:  "haipe-discover",
-       3624:  "dist-upgrade",
-       3625:  "volley",
-       3626:  "bvcdaemon-port",
-       3627:  "jamserverport",
-       3628:  "ept-machine",
-       3629:  "escvpnet",
-       3630:  "cs-remote-db",
-       3631:  "cs-services",
-       3632:  "distcc",
-       3633:  "wacp",
-       3634:  "hlibmgr",
-       3635:  "sdo",
-       3636:  "servistaitsm",
-       3637:  "scservp",
-       3638:  "ehp-backup",
-       3639:  "xap-ha",
-       3640:  "netplay-port1",
-       3641:  "netplay-port2",
-       3642:  "juxml-port",
-       3643:  "audiojuggler",
-       3644:  "ssowatch",
-       3645:  "cyc",
-       3646:  "xss-srv-port",
-       3647:  "splitlock-gw",
-       3648:  "fjcp",
-       3649:  "nmmp",
-       3650:  "prismiq-plugin",
-       3651:  "xrpc-registry",
-       3652:  "vxcrnbuport",
-       3653:  "tsp",
-       3654:  "vaprtm",
-       3655:  "abatemgr",
-       3656:  "abatjss",
-       3657:  "immedianet-bcn",
-       3658:  "ps-ams",
-       3659:  "apple-sasl",
-       3660:  "can-nds-ssl",
-       3661:  "can-ferret-ssl",
-       3662:  "pserver",
-       3663:  "dtp",
-       3664:  "ups-engine",
-       3665:  "ent-engine",
-       3666:  "eserver-pap",
-       3667:  "infoexch",
-       3668:  "dell-rm-port",
-       3669:  "casanswmgmt",
-       3670:  "smile",
-       3671:  "efcp",
-       3672:  "lispworks-orb",
-       3673:  "mediavault-gui",
-       3674:  "wininstall-ipc",
-       3675:  "calltrax",
-       3676:  "va-pacbase",
-       3677:  "roverlog",
-       3678:  "ipr-dglt",
-       3679:  "Escale (Newton Dock)",
-       3680:  "npds-tracker",
-       3681:  "bts-x73",
-       3682:  "cas-mapi",
-       3683:  "bmc-ea",
-       3684:  "faxstfx-port",
-       3685:  "dsx-agent",
-       3686:  "tnmpv2",
-       3687:  "simple-push",
-       3688:  "simple-push-s",
-       3689:  "daap",
-       3690:  "svn",
-       3691:  "magaya-network",
-       3692:  "intelsync",
-       3693:  "easl",
-       3695:  "bmc-data-coll",
-       3696:  "telnetcpcd",
-       3697:  "nw-license",
-       3698:  "sagectlpanel",
-       3699:  "kpn-icw",
-       3700:  "lrs-paging",
-       3701:  "netcelera",
-       3702:  "ws-discovery",
-       3703:  "adobeserver-3",
-       3704:  "adobeserver-4",
-       3705:  "adobeserver-5",
-       3706:  "rt-event",
-       3707:  "rt-event-s",
-       3708:  "sun-as-iiops",
-       3709:  "ca-idms",
-       3710:  "portgate-auth",
-       3711:  "edb-server2",
-       3712:  "sentinel-ent",
-       3713:  "tftps",
-       3714:  "delos-dms",
-       3715:  "anoto-rendezv",
-       3716:  "wv-csp-sms-cir",
-       3717:  "wv-csp-udp-cir",
-       3718:  "opus-services",
-       3719:  "itelserverport",
-       3720:  "ufastro-instr",
-       3721:  "xsync",
-       3722:  "xserveraid",
-       3723:  "sychrond",
-       3724:  "blizwow",
-       3725:  "na-er-tip",
-       3726:  "array-manager",
-       3727:  "e-mdu",
-       3728:  "e-woa",
-       3729:  "fksp-audit",
-       3730:  "client-ctrl",
-       3731:  "smap",
-       3732:  "m-wnn",
-       3733:  "multip-msg",
-       3734:  "synel-data",
-       3735:  "pwdis",
-       3736:  "rs-rmi",
-       3737:  "xpanel",
-       3738:  "versatalk",
-       3739:  "launchbird-lm",
-       3740:  "heartbeat",
-       3741:  "wysdma",
-       3742:  "cst-port",
-       3743:  "ipcs-command",
-       3744:  "sasg",
-       3745:  "gw-call-port",
-       3746:  "linktest",
-       3747:  "linktest-s",
-       3748:  "webdata",
-       3749:  "cimtrak",
-       3750:  "cbos-ip-port",
-       3751:  "gprs-cube",
-       3752:  "vipremoteagent",
-       3753:  "nattyserver",
-       3754:  "timestenbroker",
-       3755:  "sas-remote-hlp",
-       3756:  "canon-capt",
-       3757:  "grf-port",
-       3758:  "apw-registry",
-       3759:  "exapt-lmgr",
-       3760:  "adtempusclient",
-       3761:  "gsakmp",
-       3762:  "gbs-smp",
-       3763:  "xo-wave",
-       3764:  "mni-prot-rout",
-       3765:  "rtraceroute",
-       3766:  "sitewatch-s",
-       3767:  "listmgr-port",
-       3768:  "rblcheckd",
-       3769:  "haipe-otnk",
-       3770:  "cindycollab",
-       3771:  "paging-port",
-       3772:  "ctp",
-       3773:  "ctdhercules",
-       3774:  "zicom",
-       3775:  "ispmmgr",
-       3776:  "dvcprov-port",
-       3777:  "jibe-eb",
-       3778:  "c-h-it-port",
-       3779:  "cognima",
-       3780:  "nnp",
-       3781:  "abcvoice-port",
-       3782:  "iso-tp0s",
-       3783:  "bim-pem",
-       3784:  "bfd-control",
-       3785:  "bfd-echo",
-       3786:  "upstriggervsw",
-       3787:  "fintrx",
-       3788:  "isrp-port",
-       3789:  "remotedeploy",
-       3790:  "quickbooksrds",
-       3791:  "tvnetworkvideo",
-       3792:  "sitewatch",
-       3793:  "dcsoftware",
-       3794:  "jaus",
-       3795:  "myblast",
-       3796:  "spw-dialer",
-       3797:  "idps",
-       3798:  "minilock",
-       3799:  "radius-dynauth",
-       3800:  "pwgpsi",
-       3801:  "ibm-mgr",
-       3802:  "vhd",
-       3803:  "soniqsync",
-       3804:  "iqnet-port",
-       3805:  "tcpdataserver",
-       3806:  "wsmlb",
-       3807:  "spugna",
-       3808:  "sun-as-iiops-ca",
-       3809:  "apocd",
-       3810:  "wlanauth",
-       3811:  "amp",
-       3812:  "neto-wol-server",
-       3813:  "rap-ip",
-       3814:  "neto-dcs",
-       3815:  "lansurveyorxml",
-       3816:  "sunlps-http",
-       3817:  "tapeware",
-       3818:  "crinis-hb",
-       3819:  "epl-slp",
-       3820:  "scp",
-       3821:  "pmcp",
-       3822:  "acp-discovery",
-       3823:  "acp-conduit",
-       3824:  "acp-policy",
-       3825:  "ffserver",
-       3826:  "warmux",
-       3827:  "netmpi",
-       3828:  "neteh",
-       3829:  "neteh-ext",
-       3830:  "cernsysmgmtagt",
-       3831:  "dvapps",
-       3832:  "xxnetserver",
-       3833:  "aipn-auth",
-       3834:  "spectardata",
-       3835:  "spectardb",
-       3836:  "markem-dcp",
-       3837:  "mkm-discovery",
-       3838:  "sos",
-       3839:  "amx-rms",
-       3840:  "flirtmitmir",
-       3841:  "shiprush-db-svr",
-       3842:  "nhci",
-       3843:  "quest-agent",
-       3844:  "rnm",
-       3845:  "v-one-spp",
-       3846:  "an-pcp",
-       3847:  "msfw-control",
-       3848:  "item",
-       3849:  "spw-dnspreload",
-       3850:  "qtms-bootstrap",
-       3851:  "spectraport",
-       3852:  "sse-app-config",
-       3853:  "sscan",
-       3854:  "stryker-com",
-       3855:  "opentrac",
-       3856:  "informer",
-       3857:  "trap-port",
-       3858:  "trap-port-mom",
-       3859:  "nav-port",
-       3860:  "sasp",
-       3861:  "winshadow-hd",
-       3862:  "giga-pocket",
-       3863:  "asap-tcp",
-       3864:  "asap-tcp-tls",
-       3865:  "xpl",
-       3866:  "dzdaemon",
-       3867:  "dzoglserver",
-       3868:  "diameter",
-       3869:  "ovsam-mgmt",
-       3870:  "ovsam-d-agent",
-       3871:  "avocent-adsap",
-       3872:  "oem-agent",
-       3873:  "fagordnc",
-       3874:  "sixxsconfig",
-       3875:  "pnbscada",
-       3876:  "dl-agent",
-       3877:  "xmpcr-interface",
-       3878:  "fotogcad",
-       3879:  "appss-lm",
-       3880:  "igrs",
-       3881:  "idac",
-       3882:  "msdts1",
-       3883:  "vrpn",
-       3884:  "softrack-meter",
-       3885:  "topflow-ssl",
-       3886:  "nei-management",
-       3887:  "ciphire-data",
-       3888:  "ciphire-serv",
-       3889:  "dandv-tester",
-       3890:  "ndsconnect",
-       3891:  "rtc-pm-port",
-       3892:  "pcc-image-port",
-       3893:  "cgi-starapi",
-       3894:  "syam-agent",
-       3895:  "syam-smc",
-       3896:  "sdo-tls",
-       3897:  "sdo-ssh",
-       3898:  "senip",
-       3899:  "itv-control",
-       3900:  "udt-os",
-       3901:  "nimsh",
-       3902:  "nimaux",
-       3903:  "charsetmgr",
-       3904:  "omnilink-port",
-       3905:  "mupdate",
-       3906:  "topovista-data",
-       3907:  "imoguia-port",
-       3908:  "hppronetman",
-       3909:  "surfcontrolcpa",
-       3910:  "prnrequest",
-       3911:  "prnstatus",
-       3912:  "gbmt-stars",
-       3913:  "listcrt-port",
-       3914:  "listcrt-port-2",
-       3915:  "agcat",
-       3916:  "wysdmc",
-       3917:  "aftmux",
-       3918:  "pktcablemmcops",
-       3919:  "hyperip",
-       3920:  "exasoftport1",
-       3921:  "herodotus-net",
-       3922:  "sor-update",
-       3923:  "symb-sb-port",
-       3924:  "mpl-gprs-port",
-       3925:  "zmp",
-       3926:  "winport",
-       3927:  "natdataservice",
-       3928:  "netboot-pxe",
-       3929:  "smauth-port",
-       3930:  "syam-webserver",
-       3931:  "msr-plugin-port",
-       3932:  "dyn-site",
-       3933:  "plbserve-port",
-       3934:  "sunfm-port",
-       3935:  "sdp-portmapper",
-       3936:  "mailprox",
-       3937:  "dvbservdsc",
-       3938:  "dbcontrol-agent",
-       3939:  "aamp",
-       3940:  "xecp-node",
-       3941:  "homeportal-web",
-       3942:  "srdp",
-       3943:  "tig",
-       3944:  "sops",
-       3945:  "emcads",
-       3946:  "backupedge",
-       3947:  "ccp",
-       3948:  "apdap",
-       3949:  "drip",
-       3950:  "namemunge",
-       3951:  "pwgippfax",
-       3952:  "i3-sessionmgr",
-       3953:  "xmlink-connect",
-       3954:  "adrep",
-       3955:  "p2pcommunity",
-       3956:  "gvcp",
-       3957:  "mqe-broker",
-       3958:  "mqe-agent",
-       3959:  "treehopper",
-       3960:  "bess",
-       3961:  "proaxess",
-       3962:  "sbi-agent",
-       3963:  "thrp",
-       3964:  "sasggprs",
-       3965:  "ati-ip-to-ncpe",
-       3966:  "bflckmgr",
-       3967:  "ppsms",
-       3968:  "ianywhere-dbns",
-       3969:  "landmarks",
-       3970:  "lanrevagent",
-       3971:  "lanrevserver",
-       3972:  "iconp",
-       3973:  "progistics",
-       3974:  "citysearch",
-       3975:  "airshot",
-       3976:  "opswagent",
-       3977:  "opswmanager",
-       3978:  "secure-cfg-svr",
-       3979:  "smwan",
-       3980:  "acms",
-       3981:  "starfish",
-       3982:  "eis",
-       3983:  "eisp",
-       3984:  "mapper-nodemgr",
-       3985:  "mapper-mapethd",
-       3986:  "mapper-ws-ethd",
-       3987:  "centerline",
-       3988:  "dcs-config",
-       3989:  "bv-queryengine",
-       3990:  "bv-is",
-       3991:  "bv-smcsrv",
-       3992:  "bv-ds",
-       3993:  "bv-agent",
-       3995:  "iss-mgmt-ssl",
-       3996:  "abcsoftware",
-       3997:  "agentsease-db",
-       3998:  "dnx",
-       3999:  "nvcnet",
-       4000:  "terabase",
-       4001:  "newoak",
-       4002:  "pxc-spvr-ft",
-       4003:  "pxc-splr-ft",
-       4004:  "pxc-roid",
-       4005:  "pxc-pin",
-       4006:  "pxc-spvr",
-       4007:  "pxc-splr",
-       4008:  "netcheque",
-       4009:  "chimera-hwm",
-       4010:  "samsung-unidex",
-       4011:  "altserviceboot",
-       4012:  "pda-gate",
-       4013:  "acl-manager",
-       4014:  "taiclock",
-       4015:  "talarian-mcast1",
-       4016:  "talarian-mcast2",
-       4017:  "talarian-mcast3",
-       4018:  "talarian-mcast4",
-       4019:  "talarian-mcast5",
-       4020:  "trap",
-       4021:  "nexus-portal",
-       4022:  "dnox",
-       4023:  "esnm-zoning",
-       4024:  "tnp1-port",
-       4025:  "partimage",
-       4026:  "as-debug",
-       4027:  "bxp",
-       4028:  "dtserver-port",
-       4029:  "ip-qsig",
-       4030:  "jdmn-port",
-       4031:  "suucp",
-       4032:  "vrts-auth-port",
-       4033:  "sanavigator",
-       4034:  "ubxd",
-       4035:  "wap-push-http",
-       4036:  "wap-push-https",
-       4037:  "ravehd",
-       4038:  "fazzt-ptp",
-       4039:  "fazzt-admin",
-       4040:  "yo-main",
-       4041:  "houston",
-       4042:  "ldxp",
-       4043:  "nirp",
-       4044:  "ltp",
-       4045:  "npp",
-       4046:  "acp-proto",
-       4047:  "ctp-state",
-       4049:  "wafs",
-       4050:  "cisco-wafs",
-       4051:  "cppdp",
-       4052:  "interact",
-       4053:  "ccu-comm-1",
-       4054:  "ccu-comm-2",
-       4055:  "ccu-comm-3",
-       4056:  "lms",
-       4057:  "wfm",
-       4058:  "kingfisher",
-       4059:  "dlms-cosem",
-       4060:  "dsmeter-iatc",
-       4061:  "ice-location",
-       4062:  "ice-slocation",
-       4063:  "ice-router",
-       4064:  "ice-srouter",
-       4065:  "avanti-cdp",
-       4066:  "pmas",
-       4067:  "idp",
-       4068:  "ipfltbcst",
-       4069:  "minger",
-       4070:  "tripe",
-       4071:  "aibkup",
-       4072:  "zieto-sock",
-       4073:  "iRAPP",
-       4074:  "cequint-cityid",
-       4075:  "perimlan",
-       4076:  "seraph",
-       4078:  "cssp",
-       4079:  "santools",
-       4080:  "lorica-in",
-       4081:  "lorica-in-sec",
-       4082:  "lorica-out",
-       4083:  "lorica-out-sec",
-       4085:  "ezmessagesrv",
-       4087:  "applusservice",
-       4088:  "npsp",
-       4089:  "opencore",
-       4090:  "omasgport",
-       4091:  "ewinstaller",
-       4092:  "ewdgs",
-       4093:  "pvxpluscs",
-       4094:  "sysrqd",
-       4095:  "xtgui",
-       4096:  "bre",
-       4097:  "patrolview",
-       4098:  "drmsfsd",
-       4099:  "dpcp",
-       4100:  "igo-incognito",
-       4101:  "brlp-0",
-       4102:  "brlp-1",
-       4103:  "brlp-2",
-       4104:  "brlp-3",
-       4105:  "shofar",
-       4106:  "synchronite",
-       4107:  "j-ac",
-       4108:  "accel",
-       4109:  "izm",
-       4110:  "g2tag",
-       4111:  "xgrid",
-       4112:  "apple-vpns-rp",
-       4113:  "aipn-reg",
-       4114:  "jomamqmonitor",
-       4115:  "cds",
-       4116:  "smartcard-tls",
-       4117:  "hillrserv",
-       4118:  "netscript",
-       4119:  "assuria-slm",
-       4121:  "e-builder",
-       4122:  "fprams",
-       4123:  "z-wave",
-       4124:  "tigv2",
-       4125:  "opsview-envoy",
-       4126:  "ddrepl",
-       4127:  "unikeypro",
-       4128:  "nufw",
-       4129:  "nuauth",
-       4130:  "fronet",
-       4131:  "stars",
-       4132:  "nuts-dem",
-       4133:  "nuts-bootp",
-       4134:  "nifty-hmi",
-       4135:  "cl-db-attach",
-       4136:  "cl-db-request",
-       4137:  "cl-db-remote",
-       4138:  "nettest",
-       4139:  "thrtx",
-       4140:  "cedros-fds",
-       4141:  "oirtgsvc",
-       4142:  "oidocsvc",
-       4143:  "oidsr",
-       4145:  "vvr-control",
-       4146:  "tgcconnect",
-       4147:  "vrxpservman",
-       4148:  "hhb-handheld",
-       4149:  "agslb",
-       4150:  "PowerAlert-nsa",
-       4151:  "menandmice-noh",
-       4152:  "idig-mux",
-       4153:  "mbl-battd",
-       4154:  "atlinks",
-       4155:  "bzr",
-       4156:  "stat-results",
-       4157:  "stat-scanner",
-       4158:  "stat-cc",
-       4159:  "nss",
-       4160:  "jini-discovery",
-       4161:  "omscontact",
-       4162:  "omstopology",
-       4163:  "silverpeakpeer",
-       4164:  "silverpeakcomm",
-       4165:  "altcp",
-       4166:  "joost",
-       4167:  "ddgn",
-       4168:  "pslicser",
-       4169:  "iadt",
-       4170:  "d-cinema-csp",
-       4171:  "ml-svnet",
-       4172:  "pcoip",
-       4174:  "smcluster",
-       4175:  "bccp",
-       4176:  "tl-ipcproxy",
-       4177:  "wello",
-       4178:  "storman",
-       4179:  "MaxumSP",
-       4180:  "httpx",
-       4181:  "macbak",
-       4182:  "pcptcpservice",
-       4183:  "cyborgnet",
-       4184:  "universe-suite",
-       4185:  "wcpp",
-       4186:  "boxbackupstore",
-       4187:  "csc-proxy",
-       4188:  "vatata",
-       4189:  "pcep",
-       4190:  "sieve",
-       4192:  "azeti",
-       4193:  "pvxplusio",
-       4197:  "hctl",
-       4199:  "eims-admin",
-       4300:  "corelccam",
-       4301:  "d-data",
-       4302:  "d-data-control",
-       4303:  "srcp",
-       4304:  "owserver",
-       4305:  "batman",
-       4306:  "pinghgl",
-       4307:  "trueconf",
-       4308:  "compx-lockview",
-       4309:  "dserver",
-       4310:  "mirrtex",
-       4311:  "p6ssmc",
-       4312:  "pscl-mgt",
-       4313:  "perrla",
-       4314:  "choiceview-agt",
-       4316:  "choiceview-clt",
-       4320:  "fdt-rcatp",
-       4321:  "rwhois",
-       4322:  "trim-event",
-       4323:  "trim-ice",
-       4325:  "geognosisman",
-       4326:  "geognosis",
-       4327:  "jaxer-web",
-       4328:  "jaxer-manager",
-       4329:  "publiqare-sync",
-       4330:  "dey-sapi",
-       4331:  "ktickets-rest",
-       4333:  "ahsp",
-       4334:  "netconf-ch-ssh",
-       4335:  "netconf-ch-tls",
-       4336:  "restconf-ch-tls",
-       4340:  "gaia",
-       4341:  "lisp-data",
-       4342:  "lisp-cons",
-       4343:  "unicall",
-       4344:  "vinainstall",
-       4345:  "m4-network-as",
-       4346:  "elanlm",
-       4347:  "lansurveyor",
-       4348:  "itose",
-       4349:  "fsportmap",
-       4350:  "net-device",
-       4351:  "plcy-net-svcs",
-       4352:  "pjlink",
-       4353:  "f5-iquery",
-       4354:  "qsnet-trans",
-       4355:  "qsnet-workst",
-       4356:  "qsnet-assist",
-       4357:  "qsnet-cond",
-       4358:  "qsnet-nucl",
-       4359:  "omabcastltkm",
-       4360:  "matrix-vnet",
-       4368:  "wxbrief",
-       4369:  "epmd",
-       4370:  "elpro-tunnel",
-       4371:  "l2c-control",
-       4372:  "l2c-data",
-       4373:  "remctl",
-       4374:  "psi-ptt",
-       4375:  "tolteces",
-       4376:  "bip",
-       4377:  "cp-spxsvr",
-       4378:  "cp-spxdpy",
-       4379:  "ctdb",
-       4389:  "xandros-cms",
-       4390:  "wiegand",
-       4391:  "apwi-imserver",
-       4392:  "apwi-rxserver",
-       4393:  "apwi-rxspooler",
-       4395:  "omnivisionesx",
-       4396:  "fly",
-       4400:  "ds-srv",
-       4401:  "ds-srvr",
-       4402:  "ds-clnt",
-       4403:  "ds-user",
-       4404:  "ds-admin",
-       4405:  "ds-mail",
-       4406:  "ds-slp",
-       4407:  "nacagent",
-       4408:  "slscc",
-       4409:  "netcabinet-com",
-       4410:  "itwo-server",
-       4411:  "found",
-       4413:  "avi-nms",
-       4414:  "updog",
-       4415:  "brcd-vr-req",
-       4416:  "pjj-player",
-       4417:  "workflowdir",
-       4419:  "cbp",
-       4420:  "nvm-express",
-       4421:  "scaleft",
-       4422:  "tsepisp",
-       4423:  "thingkit",
-       4425:  "netrockey6",
-       4426:  "beacon-port-2",
-       4427:  "drizzle",
-       4428:  "omviserver",
-       4429:  "omviagent",
-       4430:  "rsqlserver",
-       4431:  "wspipe",
-       4432:  "l-acoustics",
-       4433:  "vop",
-       4442:  "saris",
-       4443:  "pharos",
-       4444:  "krb524",
-       4445:  "upnotifyp",
-       4446:  "n1-fwp",
-       4447:  "n1-rmgmt",
-       4448:  "asc-slmd",
-       4449:  "privatewire",
-       4450:  "camp",
-       4451:  "ctisystemmsg",
-       4452:  "ctiprogramload",
-       4453:  "nssalertmgr",
-       4454:  "nssagentmgr",
-       4455:  "prchat-user",
-       4456:  "prchat-server",
-       4457:  "prRegister",
-       4458:  "mcp",
-       4484:  "hpssmgmt",
-       4485:  "assyst-dr",
-       4486:  "icms",
-       4487:  "prex-tcp",
-       4488:  "awacs-ice",
-       4500:  "ipsec-nat-t",
-       4535:  "ehs",
-       4536:  "ehs-ssl",
-       4537:  "wssauthsvc",
-       4538:  "swx-gate",
-       4545:  "worldscores",
-       4546:  "sf-lm",
-       4547:  "lanner-lm",
-       4548:  "synchromesh",
-       4549:  "aegate",
-       4550:  "gds-adppiw-db",
-       4551:  "ieee-mih",
-       4552:  "menandmice-mon",
-       4553:  "icshostsvc",
-       4554:  "msfrs",
-       4555:  "rsip",
-       4556:  "dtn-bundle",
-       4559:  "hylafax",
-       4563:  "amahi-anywhere",
-       4566:  "kwtc",
-       4567:  "tram",
-       4568:  "bmc-reporting",
-       4569:  "iax",
-       4570:  "deploymentmap",
-       4573:  "cardifftec-back",
-       4590:  "rid",
-       4591:  "l3t-at-an",
-       4593:  "ipt-anri-anri",
-       4594:  "ias-session",
-       4595:  "ias-paging",
-       4596:  "ias-neighbor",
-       4597:  "a21-an-1xbs",
-       4598:  "a16-an-an",
-       4599:  "a17-an-an",
-       4600:  "piranha1",
-       4601:  "piranha2",
-       4602:  "mtsserver",
-       4603:  "menandmice-upg",
-       4604:  "irp",
-       4605:  "sixchat",
-       4658:  "playsta2-app",
-       4659:  "playsta2-lob",
-       4660:  "smaclmgr",
-       4661:  "kar2ouche",
-       4662:  "oms",
-       4663:  "noteit",
-       4664:  "ems",
-       4665:  "contclientms",
-       4666:  "eportcomm",
-       4667:  "mmacomm",
-       4668:  "mmaeds",
-       4669:  "eportcommdata",
-       4670:  "light",
-       4671:  "acter",
-       4672:  "rfa",
-       4673:  "cxws",
-       4674:  "appiq-mgmt",
-       4675:  "dhct-status",
-       4676:  "dhct-alerts",
-       4677:  "bcs",
-       4678:  "traversal",
-       4679:  "mgesupervision",
-       4680:  "mgemanagement",
-       4681:  "parliant",
-       4682:  "finisar",
-       4683:  "spike",
-       4684:  "rfid-rp1",
-       4685:  "autopac",
-       4686:  "msp-os",
-       4687:  "nst",
-       4688:  "mobile-p2p",
-       4689:  "altovacentral",
-       4690:  "prelude",
-       4691:  "mtn",
-       4692:  "conspiracy",
-       4700:  "netxms-agent",
-       4701:  "netxms-mgmt",
-       4702:  "netxms-sync",
-       4703:  "npqes-test",
-       4704:  "assuria-ins",
-       4711:  "trinity-dist",
-       4725:  "truckstar",
-       4727:  "fcis",
-       4728:  "capmux",
-       4730:  "gearman",
-       4731:  "remcap",
-       4733:  "resorcs",
-       4737:  "ipdr-sp",
-       4738:  "solera-lpn",
-       4739:  "ipfix",
-       4740:  "ipfixs",
-       4741:  "lumimgrd",
-       4742:  "sicct",
-       4743:  "openhpid",
-       4744:  "ifsp",
-       4745:  "fmp",
-       4749:  "profilemac",
-       4750:  "ssad",
-       4751:  "spocp",
-       4752:  "snap",
-       4753:  "simon",
-       4756:  "RDCenter",
-       4774:  "converge",
-       4784:  "bfd-multi-ctl",
-       4786:  "smart-install",
-       4787:  "sia-ctrl-plane",
-       4788:  "xmcp",
-       4800:  "iims",
-       4801:  "iwec",
-       4802:  "ilss",
-       4803:  "notateit",
-       4827:  "htcp",
-       4837:  "varadero-0",
-       4838:  "varadero-1",
-       4839:  "varadero-2",
-       4840:  "opcua-tcp",
-       4841:  "quosa",
-       4842:  "gw-asv",
-       4843:  "opcua-tls",
-       4844:  "gw-log",
-       4845:  "wcr-remlib",
-       4846:  "contamac-icm",
-       4847:  "wfc",
-       4848:  "appserv-http",
-       4849:  "appserv-https",
-       4850:  "sun-as-nodeagt",
-       4851:  "derby-repli",
-       4867:  "unify-debug",
-       4868:  "phrelay",
-       4869:  "phrelaydbg",
-       4870:  "cc-tracking",
-       4871:  "wired",
-       4876:  "tritium-can",
-       4877:  "lmcs",
-       4879:  "wsdl-event",
-       4880:  "hislip",
-       4883:  "wmlserver",
-       4884:  "hivestor",
-       4885:  "abbs",
-       4894:  "lyskom",
-       4899:  "radmin-port",
-       4900:  "hfcs",
-       4901:  "flr-agent",
-       4902:  "magiccontrol",
-       4912:  "lutap",
-       4913:  "lutcp",
-       4914:  "bones",
-       4915:  "frcs",
-       4940:  "eq-office-4940",
-       4941:  "eq-office-4941",
-       4942:  "eq-office-4942",
-       4949:  "munin",
-       4950:  "sybasesrvmon",
-       4951:  "pwgwims",
-       4952:  "sagxtsds",
-       4953:  "dbsyncarbiter",
-       4969:  "ccss-qmm",
-       4970:  "ccss-qsm",
-       4971:  "burp",
-       4984:  "webyast",
-       4985:  "gerhcs",
-       4986:  "mrip",
-       4987:  "smar-se-port1",
-       4988:  "smar-se-port2",
-       4989:  "parallel",
-       4990:  "busycal",
-       4991:  "vrt",
-       4999:  "hfcs-manager",
-       5000:  "commplex-main",
-       5001:  "commplex-link",
-       5002:  "rfe",
-       5003:  "fmpro-internal",
-       5004:  "avt-profile-1",
-       5005:  "avt-profile-2",
-       5006:  "wsm-server",
-       5007:  "wsm-server-ssl",
-       5008:  "synapsis-edge",
-       5009:  "winfs",
-       5010:  "telelpathstart",
-       5011:  "telelpathattack",
-       5012:  "nsp",
-       5013:  "fmpro-v6",
-       5015:  "fmwp",
-       5020:  "zenginkyo-1",
-       5021:  "zenginkyo-2",
-       5022:  "mice",
-       5023:  "htuilsrv",
-       5024:  "scpi-telnet",
-       5025:  "scpi-raw",
-       5026:  "strexec-d",
-       5027:  "strexec-s",
-       5028:  "qvr",
-       5029:  "infobright",
-       5030:  "surfpass",
-       5032:  "signacert-agent",
-       5033:  "jtnetd-server",
-       5034:  "jtnetd-status",
-       5042:  "asnaacceler8db",
-       5043:  "swxadmin",
-       5044:  "lxi-evntsvc",
-       5045:  "osp",
-       5048:  "texai",
-       5049:  "ivocalize",
-       5050:  "mmcc",
-       5051:  "ita-agent",
-       5052:  "ita-manager",
-       5053:  "rlm",
-       5054:  "rlm-admin",
-       5055:  "unot",
-       5056:  "intecom-ps1",
-       5057:  "intecom-ps2",
-       5059:  "sds",
-       5060:  "sip",
-       5061:  "sips",
-       5062:  "na-localise",
-       5063:  "csrpc",
-       5064:  "ca-1",
-       5065:  "ca-2",
-       5066:  "stanag-5066",
-       5067:  "authentx",
-       5068:  "bitforestsrv",
-       5069:  "i-net-2000-npr",
-       5070:  "vtsas",
-       5071:  "powerschool",
-       5072:  "ayiya",
-       5073:  "tag-pm",
-       5074:  "alesquery",
-       5075:  "pvaccess",
-       5080:  "onscreen",
-       5081:  "sdl-ets",
-       5082:  "qcp",
-       5083:  "qfp",
-       5084:  "llrp",
-       5085:  "encrypted-llrp",
-       5086:  "aprigo-cs",
-       5087:  "biotic",
-       5093:  "sentinel-lm",
-       5094:  "hart-ip",
-       5099:  "sentlm-srv2srv",
-       5100:  "socalia",
-       5101:  "talarian-tcp",
-       5102:  "oms-nonsecure",
-       5103:  "actifio-c2c",
-       5106:  "actifioudsagent",
-       5107:  "actifioreplic",
-       5111:  "taep-as-svc",
-       5112:  "pm-cmdsvr",
-       5114:  "ev-services",
-       5115:  "autobuild",
-       5117:  "gradecam",
-       5120:  "barracuda-bbs",
-       5133:  "nbt-pc",
-       5134:  "ppactivation",
-       5135:  "erp-scale",
-       5137:  "ctsd",
-       5145:  "rmonitor-secure",
-       5146:  "social-alarm",
-       5150:  "atmp",
-       5151:  "esri-sde",
-       5152:  "sde-discovery",
-       5153:  "toruxserver",
-       5154:  "bzflag",
-       5155:  "asctrl-agent",
-       5156:  "rugameonline",
-       5157:  "mediat",
-       5161:  "snmpssh",
-       5162:  "snmpssh-trap",
-       5163:  "sbackup",
-       5164:  "vpa",
-       5165:  "ife-icorp",
-       5166:  "winpcs",
-       5167:  "scte104",
-       5168:  "scte30",
-       5172:  "pcoip-mgmt",
-       5190:  "aol",
-       5191:  "aol-1",
-       5192:  "aol-2",
-       5193:  "aol-3",
-       5194:  "cpscomm",
-       5195:  "ampl-lic",
-       5196:  "ampl-tableproxy",
-       5197:  "tunstall-lwp",
-       5200:  "targus-getdata",
-       5201:  "targus-getdata1",
-       5202:  "targus-getdata2",
-       5203:  "targus-getdata3",
-       5209:  "nomad",
-       5215:  "noteza",
-       5221:  "3exmp",
-       5222:  "xmpp-client",
-       5223:  "hpvirtgrp",
-       5224:  "hpvirtctrl",
-       5225:  "hp-server",
-       5226:  "hp-status",
-       5227:  "perfd",
-       5228:  "hpvroom",
-       5229:  "jaxflow",
-       5230:  "jaxflow-data",
-       5231:  "crusecontrol",
-       5232:  "csedaemon",
-       5233:  "enfs",
-       5234:  "eenet",
-       5235:  "galaxy-network",
-       5236:  "padl2sim",
-       5237:  "mnet-discovery",
-       5245:  "downtools",
-       5248:  "caacws",
-       5249:  "caaclang2",
-       5250:  "soagateway",
-       5251:  "caevms",
-       5252:  "movaz-ssc",
-       5253:  "kpdp",
-       5254:  "logcabin",
-       5264:  "3com-njack-1",
-       5265:  "3com-njack-2",
-       5269:  "xmpp-server",
-       5270:  "cartographerxmp",
-       5271:  "cuelink",
-       5272:  "pk",
-       5280:  "xmpp-bosh",
-       5281:  "undo-lm",
-       5282:  "transmit-port",
-       5298:  "presence",
-       5299:  "nlg-data",
-       5300:  "hacl-hb",
-       5301:  "hacl-gs",
-       5302:  "hacl-cfg",
-       5303:  "hacl-probe",
-       5304:  "hacl-local",
-       5305:  "hacl-test",
-       5306:  "sun-mc-grp",
-       5307:  "sco-aip",
-       5308:  "cfengine",
-       5309:  "jprinter",
-       5310:  "outlaws",
-       5312:  "permabit-cs",
-       5313:  "rrdp",
-       5314:  "opalis-rbt-ipc",
-       5315:  "hacl-poll",
-       5316:  "hpbladems",
-       5317:  "hpdevms",
-       5318:  "pkix-cmc",
-       5320:  "bsfserver-zn",
-       5321:  "bsfsvr-zn-ssl",
-       5343:  "kfserver",
-       5344:  "xkotodrcp",
-       5349:  "stuns",
-       5352:  "dns-llq",
-       5353:  "mdns",
-       5354:  "mdnsresponder",
-       5355:  "llmnr",
-       5356:  "ms-smlbiz",
-       5357:  "wsdapi",
-       5358:  "wsdapi-s",
-       5359:  "ms-alerter",
-       5360:  "ms-sideshow",
-       5361:  "ms-s-sideshow",
-       5362:  "serverwsd2",
-       5363:  "net-projection",
-       5397:  "stresstester",
-       5398:  "elektron-admin",
-       5399:  "securitychase",
-       5400:  "excerpt",
-       5401:  "excerpts",
-       5402:  "mftp",
-       5403:  "hpoms-ci-lstn",
-       5404:  "hpoms-dps-lstn",
-       5405:  "netsupport",
-       5406:  "systemics-sox",
-       5407:  "foresyte-clear",
-       5408:  "foresyte-sec",
-       5409:  "salient-dtasrv",
-       5410:  "salient-usrmgr",
-       5411:  "actnet",
-       5412:  "continuus",
-       5413:  "wwiotalk",
-       5414:  "statusd",
-       5415:  "ns-server",
-       5416:  "sns-gateway",
-       5417:  "sns-agent",
-       5418:  "mcntp",
-       5419:  "dj-ice",
-       5420:  "cylink-c",
-       5421:  "netsupport2",
-       5422:  "salient-mux",
-       5423:  "virtualuser",
-       5424:  "beyond-remote",
-       5425:  "br-channel",
-       5426:  "devbasic",
-       5427:  "sco-peer-tta",
-       5428:  "telaconsole",
-       5429:  "base",
-       5430:  "radec-corp",
-       5431:  "park-agent",
-       5432:  "postgresql",
-       5433:  "pyrrho",
-       5434:  "sgi-arrayd",
-       5435:  "sceanics",
-       5443:  "spss",
-       5445:  "smbdirect",
-       5450:  "tiepie",
-       5453:  "surebox",
-       5454:  "apc-5454",
-       5455:  "apc-5455",
-       5456:  "apc-5456",
-       5461:  "silkmeter",
-       5462:  "ttl-publisher",
-       5463:  "ttlpriceproxy",
-       5464:  "quailnet",
-       5465:  "netops-broker",
-       5470:  "apsolab-col",
-       5471:  "apsolab-cols",
-       5472:  "apsolab-tag",
-       5473:  "apsolab-tags",
-       5475:  "apsolab-data",
-       5500:  "fcp-addr-srvr1",
-       5501:  "fcp-addr-srvr2",
-       5502:  "fcp-srvr-inst1",
-       5503:  "fcp-srvr-inst2",
-       5504:  "fcp-cics-gw1",
-       5505:  "checkoutdb",
-       5506:  "amc",
-       5507:  "psl-management",
-       5550:  "cbus",
-       5553:  "sgi-eventmond",
-       5554:  "sgi-esphttp",
-       5555:  "personal-agent",
-       5556:  "freeciv",
-       5557:  "farenet",
-       5565:  "hpe-dp-bura",
-       5566:  "westec-connect",
-       5567:  "dof-dps-mc-sec",
-       5568:  "sdt",
-       5569:  "rdmnet-ctrl",
-       5573:  "sdmmp",
-       5574:  "lsi-bobcat",
-       5575:  "ora-oap",
-       5579:  "fdtracks",
-       5580:  "tmosms0",
-       5581:  "tmosms1",
-       5582:  "fac-restore",
-       5583:  "tmo-icon-sync",
-       5584:  "bis-web",
-       5585:  "bis-sync",
-       5586:  "att-mt-sms",
-       5597:  "ininmessaging",
-       5598:  "mctfeed",
-       5599:  "esinstall",
-       5600:  "esmmanager",
-       5601:  "esmagent",
-       5602:  "a1-msc",
-       5603:  "a1-bs",
-       5604:  "a3-sdunode",
-       5605:  "a4-sdunode",
-       5618:  "efr",
-       5627:  "ninaf",
-       5628:  "htrust",
-       5629:  "symantec-sfdb",
-       5630:  "precise-comm",
-       5631:  "pcanywheredata",
-       5632:  "pcanywherestat",
-       5633:  "beorl",
-       5634:  "xprtld",
-       5635:  "sfmsso",
-       5636:  "sfm-db-server",
-       5637:  "cssc",
-       5638:  "flcrs",
-       5639:  "ics",
-       5646:  "vfmobile",
-       5666:  "nrpe",
-       5670:  "filemq",
-       5671:  "amqps",
-       5672:  "amqp",
-       5673:  "jms",
-       5674:  "hyperscsi-port",
-       5675:  "v5ua",
-       5676:  "raadmin",
-       5677:  "questdb2-lnchr",
-       5678:  "rrac",
-       5679:  "dccm",
-       5680:  "auriga-router",
-       5681:  "ncxcp",
-       5688:  "ggz",
-       5689:  "qmvideo",
-       5693:  "rbsystem",
-       5696:  "kmip",
-       5700:  "supportassist",
-       5705:  "storageos",
-       5713:  "proshareaudio",
-       5714:  "prosharevideo",
-       5715:  "prosharedata",
-       5716:  "prosharerequest",
-       5717:  "prosharenotify",
-       5718:  "dpm",
-       5719:  "dpm-agent",
-       5720:  "ms-licensing",
-       5721:  "dtpt",
-       5722:  "msdfsr",
-       5723:  "omhs",
-       5724:  "omsdk",
-       5725:  "ms-ilm",
-       5726:  "ms-ilm-sts",
-       5727:  "asgenf",
-       5728:  "io-dist-data",
-       5729:  "openmail",
-       5730:  "unieng",
-       5741:  "ida-discover1",
-       5742:  "ida-discover2",
-       5743:  "watchdoc-pod",
-       5744:  "watchdoc",
-       5745:  "fcopy-server",
-       5746:  "fcopys-server",
-       5747:  "tunatic",
-       5748:  "tunalyzer",
-       5750:  "rscd",
-       5755:  "openmailg",
-       5757:  "x500ms",
-       5766:  "openmailns",
-       5767:  "s-openmail",
-       5768:  "openmailpxy",
-       5769:  "spramsca",
-       5770:  "spramsd",
-       5771:  "netagent",
-       5777:  "dali-port",
-       5780:  "vts-rpc",
-       5781:  "3par-evts",
-       5782:  "3par-mgmt",
-       5783:  "3par-mgmt-ssl",
-       5785:  "3par-rcopy",
-       5793:  "xtreamx",
-       5813:  "icmpd",
-       5814:  "spt-automation",
-       5841:  "shiprush-d-ch",
-       5842:  "reversion",
-       5859:  "wherehoo",
-       5863:  "ppsuitemsg",
-       5868:  "diameters",
-       5883:  "jute",
-       5900:  "rfb",
-       5910:  "cm",
-       5911:  "cpdlc",
-       5912:  "fis",
-       5913:  "ads-c",
-       5963:  "indy",
-       5968:  "mppolicy-v5",
-       5969:  "mppolicy-mgr",
-       5984:  "couchdb",
-       5985:  "wsman",
-       5986:  "wsmans",
-       5987:  "wbem-rmi",
-       5988:  "wbem-http",
-       5989:  "wbem-https",
-       5990:  "wbem-exp-https",
-       5991:  "nuxsl",
-       5992:  "consul-insight",
-       5993:  "cim-rs",
-       5999:  "cvsup",
-       6064:  "ndl-ahp-svc",
-       6065:  "winpharaoh",
-       6066:  "ewctsp",
-       6068:  "gsmp-ancp",
-       6069:  "trip",
-       6070:  "messageasap",
-       6071:  "ssdtp",
-       6072:  "diagnose-proc",
-       6073:  "directplay8",
-       6074:  "max",
-       6075:  "dpm-acm",
-       6076:  "msft-dpm-cert",
-       6077:  "iconstructsrv",
-       6084:  "reload-config",
-       6085:  "konspire2b",
-       6086:  "pdtp",
-       6087:  "ldss",
-       6088:  "doglms",
-       6099:  "raxa-mgmt",
-       6100:  "synchronet-db",
-       6101:  "synchronet-rtc",
-       6102:  "synchronet-upd",
-       6103:  "rets",
-       6104:  "dbdb",
-       6105:  "primaserver",
-       6106:  "mpsserver",
-       6107:  "etc-control",
-       6108:  "sercomm-scadmin",
-       6109:  "globecast-id",
-       6110:  "softcm",
-       6111:  "spc",
-       6112:  "dtspcd",
-       6113:  "dayliteserver",
-       6114:  "wrspice",
-       6115:  "xic",
-       6116:  "xtlserv",
-       6117:  "daylitetouch",
-       6121:  "spdy",
-       6122:  "bex-webadmin",
-       6123:  "backup-express",
-       6124:  "pnbs",
-       6130:  "damewaremobgtwy",
-       6133:  "nbt-wol",
-       6140:  "pulsonixnls",
-       6141:  "meta-corp",
-       6142:  "aspentec-lm",
-       6143:  "watershed-lm",
-       6144:  "statsci1-lm",
-       6145:  "statsci2-lm",
-       6146:  "lonewolf-lm",
-       6147:  "montage-lm",
-       6148:  "ricardo-lm",
-       6149:  "tal-pod",
-       6159:  "efb-aci",
-       6160:  "ecmp",
-       6161:  "patrol-ism",
-       6162:  "patrol-coll",
-       6163:  "pscribe",
-       6200:  "lm-x",
-       6209:  "qmtps",
-       6222:  "radmind",
-       6241:  "jeol-nsdtp-1",
-       6242:  "jeol-nsdtp-2",
-       6243:  "jeol-nsdtp-3",
-       6244:  "jeol-nsdtp-4",
-       6251:  "tl1-raw-ssl",
-       6252:  "tl1-ssh",
-       6253:  "crip",
-       6267:  "gld",
-       6268:  "grid",
-       6269:  "grid-alt",
-       6300:  "bmc-grx",
-       6301:  "bmc-ctd-ldap",
-       6306:  "ufmp",
-       6315:  "scup",
-       6316:  "abb-escp",
-       6317:  "nav-data-cmd",
-       6320:  "repsvc",
-       6321:  "emp-server1",
-       6322:  "emp-server2",
-       6324:  "hrd-ncs",
-       6325:  "dt-mgmtsvc",
-       6326:  "dt-vra",
-       6343:  "sflow",
-       6344:  "streletz",
-       6346:  "gnutella-svc",
-       6347:  "gnutella-rtr",
-       6350:  "adap",
-       6355:  "pmcs",
-       6360:  "metaedit-mu",
-       6370:  "metaedit-se",
-       6379:  "redis",
-       6382:  "metatude-mds",
-       6389:  "clariion-evr01",
-       6390:  "metaedit-ws",
-       6417:  "faxcomservice",
-       6418:  "syserverremote",
-       6419:  "svdrp",
-       6420:  "nim-vdrshell",
-       6421:  "nim-wan",
-       6432:  "pgbouncer",
-       6442:  "tarp",
-       6443:  "sun-sr-https",
-       6444:  "sge-qmaster",
-       6445:  "sge-execd",
-       6446:  "mysql-proxy",
-       6455:  "skip-cert-recv",
-       6456:  "skip-cert-send",
-       6464:  "ieee11073-20701",
-       6471:  "lvision-lm",
-       6480:  "sun-sr-http",
-       6481:  "servicetags",
-       6482:  "ldoms-mgmt",
-       6483:  "SunVTS-RMI",
-       6484:  "sun-sr-jms",
-       6485:  "sun-sr-iiop",
-       6486:  "sun-sr-iiops",
-       6487:  "sun-sr-iiop-aut",
-       6488:  "sun-sr-jmx",
-       6489:  "sun-sr-admin",
-       6500:  "boks",
-       6501:  "boks-servc",
-       6502:  "boks-servm",
-       6503:  "boks-clntd",
-       6505:  "badm-priv",
-       6506:  "badm-pub",
-       6507:  "bdir-priv",
-       6508:  "bdir-pub",
-       6509:  "mgcs-mfp-port",
-       6510:  "mcer-port",
-       6513:  "netconf-tls",
-       6514:  "syslog-tls",
-       6515:  "elipse-rec",
-       6543:  "lds-distrib",
-       6544:  "lds-dump",
-       6547:  "apc-6547",
-       6548:  "apc-6548",
-       6549:  "apc-6549",
-       6550:  "fg-sysupdate",
-       6551:  "sum",
-       6558:  "xdsxdm",
-       6566:  "sane-port",
-       6568:  "canit-store",
-       6579:  "affiliate",
-       6580:  "parsec-master",
-       6581:  "parsec-peer",
-       6582:  "parsec-game",
-       6583:  "joaJewelSuite",
-       6600:  "mshvlm",
-       6601:  "mstmg-sstp",
-       6602:  "wsscomfrmwk",
-       6619:  "odette-ftps",
-       6620:  "kftp-data",
-       6621:  "kftp",
-       6622:  "mcftp",
-       6623:  "ktelnet",
-       6624:  "datascaler-db",
-       6625:  "datascaler-ctl",
-       6626:  "wago-service",
-       6627:  "nexgen",
-       6628:  "afesc-mc",
-       6629:  "nexgen-aux",
-       6632:  "mxodbc-connect",
-       6640:  "ovsdb",
-       6653:  "openflow",
-       6655:  "pcs-sf-ui-man",
-       6656:  "emgmsg",
-       6670:  "vocaltec-gold",
-       6671:  "p4p-portal",
-       6672:  "vision-server",
-       6673:  "vision-elmd",
-       6678:  "vfbp",
-       6679:  "osaut",
-       6687:  "clever-ctrace",
-       6688:  "clever-tcpip",
-       6689:  "tsa",
-       6690:  "cleverdetect",
-       6697:  "ircs-u",
-       6701:  "kti-icad-srvr",
-       6702:  "e-design-net",
-       6703:  "e-design-web",
-       6714:  "ibprotocol",
-       6715:  "fibotrader-com",
-       6716:  "princity-agent",
-       6767:  "bmc-perf-agent",
-       6768:  "bmc-perf-mgrd",
-       6769:  "adi-gxp-srvprt",
-       6770:  "plysrv-http",
-       6771:  "plysrv-https",
-       6777:  "ntz-tracker",
-       6778:  "ntz-p2p-storage",
-       6785:  "dgpf-exchg",
-       6786:  "smc-jmx",
-       6787:  "smc-admin",
-       6788:  "smc-http",
-       6789:  "radg",
-       6790:  "hnmp",
-       6791:  "hnm",
-       6801:  "acnet",
-       6817:  "pentbox-sim",
-       6831:  "ambit-lm",
-       6841:  "netmo-default",
-       6842:  "netmo-http",
-       6850:  "iccrushmore",
-       6868:  "acctopus-cc",
-       6888:  "muse",
-       6900:  "rtimeviewer",
-       6901:  "jetstream",
-       6935:  "ethoscan",
-       6936:  "xsmsvc",
-       6946:  "bioserver",
-       6951:  "otlp",
-       6961:  "jmact3",
-       6962:  "jmevt2",
-       6963:  "swismgr1",
-       6964:  "swismgr2",
-       6965:  "swistrap",
-       6966:  "swispol",
-       6969:  "acmsoda",
-       6970:  "conductor",
-       6997:  "MobilitySrv",
-       6998:  "iatp-highpri",
-       6999:  "iatp-normalpri",
-       7000:  "afs3-fileserver",
-       7001:  "afs3-callback",
-       7002:  "afs3-prserver",
-       7003:  "afs3-vlserver",
-       7004:  "afs3-kaserver",
-       7005:  "afs3-volser",
-       7006:  "afs3-errors",
-       7007:  "afs3-bos",
-       7008:  "afs3-update",
-       7009:  "afs3-rmtsys",
-       7010:  "ups-onlinet",
-       7011:  "talon-disc",
-       7012:  "talon-engine",
-       7013:  "microtalon-dis",
-       7014:  "microtalon-com",
-       7015:  "talon-webserver",
-       7016:  "spg",
-       7017:  "grasp",
-       7018:  "fisa-svc",
-       7019:  "doceri-ctl",
-       7020:  "dpserve",
-       7021:  "dpserveadmin",
-       7022:  "ctdp",
-       7023:  "ct2nmcs",
-       7024:  "vmsvc",
-       7025:  "vmsvc-2",
-       7030:  "op-probe",
-       7031:  "iposplanet",
-       7070:  "arcp",
-       7071:  "iwg1",
-       7073:  "martalk",
-       7080:  "empowerid",
-       7099:  "lazy-ptop",
-       7100:  "font-service",
-       7101:  "elcn",
-       7117:  "rothaga",
-       7121:  "virprot-lm",
-       7128:  "scenidm",
-       7129:  "scenccs",
-       7161:  "cabsm-comm",
-       7162:  "caistoragemgr",
-       7163:  "cacsambroker",
-       7164:  "fsr",
-       7165:  "doc-server",
-       7166:  "aruba-server",
-       7167:  "casrmagent",
-       7168:  "cnckadserver",
-       7169:  "ccag-pib",
-       7170:  "nsrp",
-       7171:  "drm-production",
-       7172:  "metalbend",
-       7173:  "zsecure",
-       7174:  "clutild",
-       7200:  "fodms",
-       7201:  "dlip",
-       7202:  "pon-ictp",
-       7215:  "PS-Server",
-       7216:  "PS-Capture-Pro",
-       7227:  "ramp",
-       7228:  "citrixupp",
-       7229:  "citrixuppg",
-       7236:  "display",
-       7237:  "pads",
-       7244:  "frc-hicp",
-       7262:  "cnap",
-       7272:  "watchme-7272",
-       7273:  "oma-rlp",
-       7274:  "oma-rlp-s",
-       7275:  "oma-ulp",
-       7276:  "oma-ilp",
-       7277:  "oma-ilp-s",
-       7278:  "oma-dcdocbs",
-       7279:  "ctxlic",
-       7280:  "itactionserver1",
-       7281:  "itactionserver2",
-       7282:  "mzca-action",
-       7283:  "genstat",
-       7365:  "lcm-server",
-       7391:  "mindfilesys",
-       7392:  "mrssrendezvous",
-       7393:  "nfoldman",
-       7394:  "fse",
-       7395:  "winqedit",
-       7397:  "hexarc",
-       7400:  "rtps-discovery",
-       7401:  "rtps-dd-ut",
-       7402:  "rtps-dd-mt",
-       7410:  "ionixnetmon",
-       7411:  "daqstream",
-       7421:  "mtportmon",
-       7426:  "pmdmgr",
-       7427:  "oveadmgr",
-       7428:  "ovladmgr",
-       7429:  "opi-sock",
-       7430:  "xmpv7",
-       7431:  "pmd",
-       7437:  "faximum",
-       7443:  "oracleas-https",
-       7471:  "sttunnel",
-       7473:  "rise",
-       7474:  "neo4j",
-       7478:  "openit",
-       7491:  "telops-lmd",
-       7500:  "silhouette",
-       7501:  "ovbus",
-       7508:  "adcp",
-       7509:  "acplt",
-       7510:  "ovhpas",
-       7511:  "pafec-lm",
-       7542:  "saratoga",
-       7543:  "atul",
-       7544:  "nta-ds",
-       7545:  "nta-us",
-       7546:  "cfs",
-       7547:  "cwmp",
-       7548:  "tidp",
-       7549:  "nls-tl",
-       7551:  "controlone-con",
-       7560:  "sncp",
-       7563:  "cfw",
-       7566:  "vsi-omega",
-       7569:  "dell-eql-asm",
-       7570:  "aries-kfinder",
-       7574:  "coherence",
-       7588:  "sun-lm",
-       7606:  "mipi-debug",
-       7624:  "indi",
-       7626:  "simco",
-       7627:  "soap-http",
-       7628:  "zen-pawn",
-       7629:  "xdas",
-       7630:  "hawk",
-       7631:  "tesla-sys-msg",
-       7633:  "pmdfmgt",
-       7648:  "cuseeme",
-       7672:  "imqstomp",
-       7673:  "imqstomps",
-       7674:  "imqtunnels",
-       7675:  "imqtunnel",
-       7676:  "imqbrokerd",
-       7677:  "sun-user-https",
-       7680:  "pando-pub",
-       7683:  "dmt",
-       7687:  "bolt",
-       7689:  "collaber",
-       7697:  "klio",
-       7700:  "em7-secom",
-       7707:  "sync-em7",
-       7708:  "scinet",
-       7720:  "medimageportal",
-       7724:  "nsdeepfreezectl",
-       7725:  "nitrogen",
-       7726:  "freezexservice",
-       7727:  "trident-data",
-       7728:  "osvr",
-       7734:  "smip",
-       7738:  "aiagent",
-       7741:  "scriptview",
-       7742:  "msss",
-       7743:  "sstp-1",
-       7744:  "raqmon-pdu",
-       7747:  "prgp",
-       7775:  "inetfs",
-       7777:  "cbt",
-       7778:  "interwise",
-       7779:  "vstat",
-       7781:  "accu-lmgr",
-       7786:  "minivend",
-       7787:  "popup-reminders",
-       7789:  "office-tools",
-       7794:  "q3ade",
-       7797:  "pnet-conn",
-       7798:  "pnet-enc",
-       7799:  "altbsdp",
-       7800:  "asr",
-       7801:  "ssp-client",
-       7810:  "rbt-wanopt",
-       7845:  "apc-7845",
-       7846:  "apc-7846",
-       7847:  "csoauth",
-       7869:  "mobileanalyzer",
-       7870:  "rbt-smc",
-       7871:  "mdm",
-       7878:  "owms",
-       7880:  "pss",
-       7887:  "ubroker",
-       7900:  "mevent",
-       7901:  "tnos-sp",
-       7902:  "tnos-dp",
-       7903:  "tnos-dps",
-       7913:  "qo-secure",
-       7932:  "t2-drm",
-       7933:  "t2-brm",
-       7962:  "generalsync",
-       7967:  "supercell",
-       7979:  "micromuse-ncps",
-       7980:  "quest-vista",
-       7981:  "sossd-collect",
-       7982:  "sossd-agent",
-       7997:  "pushns",
-       7999:  "irdmi2",
-       8000:  "irdmi",
-       8001:  "vcom-tunnel",
-       8002:  "teradataordbms",
-       8003:  "mcreport",
-       8005:  "mxi",
-       8006:  "wpl-analytics",
-       8007:  "warppipe",
-       8008:  "http-alt",
-       8019:  "qbdb",
-       8020:  "intu-ec-svcdisc",
-       8021:  "intu-ec-client",
-       8022:  "oa-system",
-       8025:  "ca-audit-da",
-       8026:  "ca-audit-ds",
-       8032:  "pro-ed",
-       8033:  "mindprint",
-       8034:  "vantronix-mgmt",
-       8040:  "ampify",
-       8041:  "enguity-xccetp",
-       8042:  "fs-agent",
-       8043:  "fs-server",
-       8044:  "fs-mgmt",
-       8051:  "rocrail",
-       8052:  "senomix01",
-       8053:  "senomix02",
-       8054:  "senomix03",
-       8055:  "senomix04",
-       8056:  "senomix05",
-       8057:  "senomix06",
-       8058:  "senomix07",
-       8059:  "senomix08",
-       8066:  "toad-bi-appsrvr",
-       8067:  "infi-async",
-       8070:  "ucs-isc",
-       8074:  "gadugadu",
-       8077:  "mles",
-       8080:  "http-alt",
-       8081:  "sunproxyadmin",
-       8082:  "us-cli",
-       8083:  "us-srv",
-       8086:  "d-s-n",
-       8087:  "simplifymedia",
-       8088:  "radan-http",
-       8090:  "opsmessaging",
-       8091:  "jamlink",
-       8097:  "sac",
-       8100:  "xprint-server",
-       8101:  "ldoms-migr",
-       8102:  "kz-migr",
-       8115:  "mtl8000-matrix",
-       8116:  "cp-cluster",
-       8117:  "purityrpc",
-       8118:  "privoxy",
-       8121:  "apollo-data",
-       8122:  "apollo-admin",
-       8128:  "paycash-online",
-       8129:  "paycash-wbp",
-       8130:  "indigo-vrmi",
-       8131:  "indigo-vbcp",
-       8132:  "dbabble",
-       8140:  "puppet",
-       8148:  "isdd",
-       8153:  "quantastor",
-       8160:  "patrol",
-       8161:  "patrol-snmp",
-       8162:  "lpar2rrd",
-       8181:  "intermapper",
-       8182:  "vmware-fdm",
-       8183:  "proremote",
-       8184:  "itach",
-       8190:  "gcp-rphy",
-       8191:  "limnerpressure",
-       8192:  "spytechphone",
-       8194:  "blp1",
-       8195:  "blp2",
-       8199:  "vvr-data",
-       8200:  "trivnet1",
-       8201:  "trivnet2",
-       8204:  "lm-perfworks",
-       8205:  "lm-instmgr",
-       8206:  "lm-dta",
-       8207:  "lm-sserver",
-       8208:  "lm-webwatcher",
-       8230:  "rexecj",
-       8243:  "synapse-nhttps",
-       8270:  "robot-remote",
-       8276:  "pando-sec",
-       8280:  "synapse-nhttp",
-       8282:  "libelle",
-       8292:  "blp3",
-       8293:  "hiperscan-id",
-       8294:  "blp4",
-       8300:  "tmi",
-       8301:  "amberon",
-       8313:  "hub-open-net",
-       8320:  "tnp-discover",
-       8321:  "tnp",
-       8322:  "garmin-marine",
-       8351:  "server-find",
-       8376:  "cruise-enum",
-       8377:  "cruise-swroute",
-       8378:  "cruise-config",
-       8379:  "cruise-diags",
-       8380:  "cruise-update",
-       8383:  "m2mservices",
-       8400:  "cvd",
-       8401:  "sabarsd",
-       8402:  "abarsd",
-       8403:  "admind",
-       8404:  "svcloud",
-       8405:  "svbackup",
-       8415:  "dlpx-sp",
-       8416:  "espeech",
-       8417:  "espeech-rtp",
-       8423:  "aritts",
-       8442:  "cybro-a-bus",
-       8443:  "pcsync-https",
-       8444:  "pcsync-http",
-       8445:  "copy",
-       8450:  "npmp",
-       8457:  "nexentamv",
-       8470:  "cisco-avp",
-       8471:  "pim-port",
-       8472:  "otv",
-       8473:  "vp2p",
-       8474:  "noteshare",
-       8500:  "fmtp",
-       8501:  "cmtp-mgt",
-       8502:  "ftnmtp",
-       8554:  "rtsp-alt",
-       8555:  "d-fence",
-       8567:  "dof-tunnel",
-       8600:  "asterix",
-       8610:  "canon-mfnp",
-       8611:  "canon-bjnp1",
-       8612:  "canon-bjnp2",
-       8613:  "canon-bjnp3",
-       8614:  "canon-bjnp4",
-       8615:  "imink",
-       8665:  "monetra",
-       8666:  "monetra-admin",
-       8675:  "msi-cps-rm",
-       8686:  "sun-as-jmxrmi",
-       8688:  "openremote-ctrl",
-       8699:  "vnyx",
-       8711:  "nvc",
-       8733:  "ibus",
-       8750:  "dey-keyneg",
-       8763:  "mc-appserver",
-       8764:  "openqueue",
-       8765:  "ultraseek-http",
-       8766:  "amcs",
-       8770:  "dpap",
-       8778:  "uec",
-       8786:  "msgclnt",
-       8787:  "msgsrvr",
-       8793:  "acd-pm",
-       8800:  "sunwebadmin",
-       8804:  "truecm",
-       8873:  "dxspider",
-       8880:  "cddbp-alt",
-       8881:  "galaxy4d",
-       8883:  "secure-mqtt",
-       8888:  "ddi-tcp-1",
-       8889:  "ddi-tcp-2",
-       8890:  "ddi-tcp-3",
-       8891:  "ddi-tcp-4",
-       8892:  "ddi-tcp-5",
-       8893:  "ddi-tcp-6",
-       8894:  "ddi-tcp-7",
-       8899:  "ospf-lite",
-       8900:  "jmb-cds1",
-       8901:  "jmb-cds2",
-       8910:  "manyone-http",
-       8911:  "manyone-xml",
-       8912:  "wcbackup",
-       8913:  "dragonfly",
-       8937:  "twds",
-       8953:  "ub-dns-control",
-       8954:  "cumulus-admin",
-       8980:  "nod-provider",
-       8989:  "sunwebadmins",
-       8990:  "http-wmap",
-       8991:  "https-wmap",
-       8997:  "oracle-ms-ens",
-       8998:  "canto-roboflow",
-       8999:  "bctp",
-       9000:  "cslistener",
-       9001:  "etlservicemgr",
-       9002:  "dynamid",
-       9005:  "golem",
-       9008:  "ogs-server",
-       9009:  "pichat",
-       9010:  "sdr",
-       9020:  "tambora",
-       9021:  "panagolin-ident",
-       9022:  "paragent",
-       9023:  "swa-1",
-       9024:  "swa-2",
-       9025:  "swa-3",
-       9026:  "swa-4",
-       9050:  "versiera",
-       9051:  "fio-cmgmt",
-       9060:  "CardWeb-IO",
-       9080:  "glrpc",
-       9083:  "emc-pp-mgmtsvc",
-       9084:  "aurora",
-       9085:  "ibm-rsyscon",
-       9086:  "net2display",
-       9087:  "classic",
-       9088:  "sqlexec",
-       9089:  "sqlexec-ssl",
-       9090:  "websm",
-       9091:  "xmltec-xmlmail",
-       9092:  "XmlIpcRegSvc",
-       9093:  "copycat",
-       9100:  "hp-pdl-datastr",
-       9101:  "bacula-dir",
-       9102:  "bacula-fd",
-       9103:  "bacula-sd",
-       9104:  "peerwire",
-       9105:  "xadmin",
-       9106:  "astergate",
-       9107:  "astergatefax",
-       9119:  "mxit",
-       9122:  "grcmp",
-       9123:  "grcp",
-       9131:  "dddp",
-       9160:  "apani1",
-       9161:  "apani2",
-       9162:  "apani3",
-       9163:  "apani4",
-       9164:  "apani5",
-       9191:  "sun-as-jpda",
-       9200:  "wap-wsp",
-       9201:  "wap-wsp-wtp",
-       9202:  "wap-wsp-s",
-       9203:  "wap-wsp-wtp-s",
-       9204:  "wap-vcard",
-       9205:  "wap-vcal",
-       9206:  "wap-vcard-s",
-       9207:  "wap-vcal-s",
-       9208:  "rjcdb-vcards",
-       9209:  "almobile-system",
-       9210:  "oma-mlp",
-       9211:  "oma-mlp-s",
-       9212:  "serverviewdbms",
-       9213:  "serverstart",
-       9214:  "ipdcesgbs",
-       9215:  "insis",
-       9216:  "acme",
-       9217:  "fsc-port",
-       9222:  "teamcoherence",
-       9255:  "mon",
-       9278:  "pegasus",
-       9279:  "pegasus-ctl",
-       9280:  "pgps",
-       9281:  "swtp-port1",
-       9282:  "swtp-port2",
-       9283:  "callwaveiam",
-       9284:  "visd",
-       9285:  "n2h2server",
-       9287:  "cumulus",
-       9292:  "armtechdaemon",
-       9293:  "storview",
-       9294:  "armcenterhttp",
-       9295:  "armcenterhttps",
-       9300:  "vrace",
-       9306:  "sphinxql",
-       9312:  "sphinxapi",
-       9318:  "secure-ts",
-       9321:  "guibase",
-       9343:  "mpidcmgr",
-       9344:  "mphlpdmc",
-       9345:  "rancher",
-       9346:  "ctechlicensing",
-       9374:  "fjdmimgr",
-       9380:  "boxp",
-       9387:  "d2dconfig",
-       9388:  "d2ddatatrans",
-       9389:  "adws",
-       9390:  "otp",
-       9396:  "fjinvmgr",
-       9397:  "mpidcagt",
-       9400:  "sec-t4net-srv",
-       9401:  "sec-t4net-clt",
-       9402:  "sec-pc2fax-srv",
-       9418:  "git",
-       9443:  "tungsten-https",
-       9444:  "wso2esb-console",
-       9445:  "mindarray-ca",
-       9450:  "sntlkeyssrvr",
-       9500:  "ismserver",
-       9535:  "mngsuite",
-       9536:  "laes-bf",
-       9555:  "trispen-sra",
-       9592:  "ldgateway",
-       9593:  "cba8",
-       9594:  "msgsys",
-       9595:  "pds",
-       9596:  "mercury-disc",
-       9597:  "pd-admin",
-       9598:  "vscp",
-       9599:  "robix",
-       9600:  "micromuse-ncpw",
-       9612:  "streamcomm-ds",
-       9614:  "iadt-tls",
-       9616:  "erunbook-agent",
-       9617:  "erunbook-server",
-       9618:  "condor",
-       9628:  "odbcpathway",
-       9629:  "uniport",
-       9630:  "peoctlr",
-       9631:  "peocoll",
-       9640:  "pqsflows",
-       9666:  "zoomcp",
-       9667:  "xmms2",
-       9668:  "tec5-sdctp",
-       9694:  "client-wakeup",
-       9695:  "ccnx",
-       9700:  "board-roar",
-       9747:  "l5nas-parchan",
-       9750:  "board-voip",
-       9753:  "rasadv",
-       9762:  "tungsten-http",
-       9800:  "davsrc",
-       9801:  "sstp-2",
-       9802:  "davsrcs",
-       9875:  "sapv1",
-       9876:  "sd",
-       9888:  "cyborg-systems",
-       9889:  "gt-proxy",
-       9898:  "monkeycom",
-       9900:  "iua",
-       9909:  "domaintime",
-       9911:  "sype-transport",
-       9925:  "xybrid-cloud",
-       9950:  "apc-9950",
-       9951:  "apc-9951",
-       9952:  "apc-9952",
-       9953:  "acis",
-       9954:  "hinp",
-       9955:  "alljoyn-stm",
-       9966:  "odnsp",
-       9978:  "xybrid-rt",
-       9979:  "visweather",
-       9981:  "pumpkindb",
-       9987:  "dsm-scm-target",
-       9988:  "nsesrvr",
-       9990:  "osm-appsrvr",
-       9991:  "osm-oev",
-       9992:  "palace-1",
-       9993:  "palace-2",
-       9994:  "palace-3",
-       9995:  "palace-4",
-       9996:  "palace-5",
-       9997:  "palace-6",
-       9998:  "distinct32",
-       9999:  "distinct",
-       10000: "ndmp",
-       10001: "scp-config",
-       10002: "documentum",
-       10003: "documentum-s",
-       10004: "emcrmirccd",
-       10005: "emcrmird",
-       10006: "netapp-sync",
-       10007: "mvs-capacity",
-       10008: "octopus",
-       10009: "swdtp-sv",
-       10010: "rxapi",
-       10020: "abb-hw",
-       10050: "zabbix-agent",
-       10051: "zabbix-trapper",
-       10055: "qptlmd",
-       10080: "amanda",
-       10081: "famdc",
-       10100: "itap-ddtp",
-       10101: "ezmeeting-2",
-       10102: "ezproxy-2",
-       10103: "ezrelay",
-       10104: "swdtp",
-       10107: "bctp-server",
-       10110: "nmea-0183",
-       10113: "netiq-endpoint",
-       10114: "netiq-qcheck",
-       10115: "netiq-endpt",
-       10116: "netiq-voipa",
-       10117: "iqrm",
-       10125: "cimple",
-       10128: "bmc-perf-sd",
-       10129: "bmc-gms",
-       10160: "qb-db-server",
-       10161: "snmptls",
-       10162: "snmptls-trap",
-       10200: "trisoap",
-       10201: "rsms",
-       10252: "apollo-relay",
-       10260: "axis-wimp-port",
-       10261: "tile-ml",
-       10288: "blocks",
-       10321: "cosir",
-       10540: "MOS-lower",
-       10541: "MOS-upper",
-       10542: "MOS-aux",
-       10543: "MOS-soap",
-       10544: "MOS-soap-opt",
-       10548: "serverdocs",
-       10631: "printopia",
-       10800: "gap",
-       10805: "lpdg",
-       10809: "nbd",
-       10860: "helix",
-       10880: "bveapi",
-       10933: "octopustentacle",
-       10990: "rmiaux",
-       11000: "irisa",
-       11001: "metasys",
-       11095: "weave",
-       11103: "origo-sync",
-       11104: "netapp-icmgmt",
-       11105: "netapp-icdata",
-       11106: "sgi-lk",
-       11109: "sgi-dmfmgr",
-       11110: "sgi-soap",
-       11111: "vce",
-       11112: "dicom",
-       11161: "suncacao-snmp",
-       11162: "suncacao-jmxmp",
-       11163: "suncacao-rmi",
-       11164: "suncacao-csa",
-       11165: "suncacao-websvc",
-       11172: "oemcacao-jmxmp",
-       11173: "t5-straton",
-       11174: "oemcacao-rmi",
-       11175: "oemcacao-websvc",
-       11201: "smsqp",
-       11202: "dcsl-backup",
-       11208: "wifree",
-       11211: "memcache",
-       11319: "imip",
-       11320: "imip-channels",
-       11321: "arena-server",
-       11367: "atm-uhas",
-       11371: "hkp",
-       11489: "asgcypresstcps",
-       11600: "tempest-port",
-       11623: "emc-xsw-dconfig",
-       11720: "h323callsigalt",
-       11723: "emc-xsw-dcache",
-       11751: "intrepid-ssl",
-       11796: "lanschool",
-       11876: "xoraya",
-       11967: "sysinfo-sp",
-       12000: "entextxid",
-       12001: "entextnetwk",
-       12002: "entexthigh",
-       12003: "entextmed",
-       12004: "entextlow",
-       12005: "dbisamserver1",
-       12006: "dbisamserver2",
-       12007: "accuracer",
-       12008: "accuracer-dbms",
-       12010: "edbsrvr",
-       12012: "vipera",
-       12013: "vipera-ssl",
-       12109: "rets-ssl",
-       12121: "nupaper-ss",
-       12168: "cawas",
-       12172: "hivep",
-       12300: "linogridengine",
-       12302: "rads",
-       12321: "warehouse-sss",
-       12322: "warehouse",
-       12345: "italk",
-       12753: "tsaf",
-       12865: "netperf",
-       13160: "i-zipqd",
-       13216: "bcslogc",
-       13217: "rs-pias",
-       13218: "emc-vcas-tcp",
-       13223: "powwow-client",
-       13224: "powwow-server",
-       13400: "doip-data",
-       13720: "bprd",
-       13721: "bpdbm",
-       13722: "bpjava-msvc",
-       13724: "vnetd",
-       13782: "bpcd",
-       13783: "vopied",
-       13785: "nbdb",
-       13786: "nomdb",
-       13818: "dsmcc-config",
-       13819: "dsmcc-session",
-       13820: "dsmcc-passthru",
-       13821: "dsmcc-download",
-       13822: "dsmcc-ccp",
-       13823: "bmdss",
-       13894: "ucontrol",
-       13929: "dta-systems",
-       13930: "medevolve",
-       14000: "scotty-ft",
-       14001: "sua",
-       14033: "sage-best-com1",
-       14034: "sage-best-com2",
-       14141: "vcs-app",
-       14142: "icpp",
-       14143: "icpps",
-       14145: "gcm-app",
-       14149: "vrts-tdd",
-       14150: "vcscmd",
-       14154: "vad",
-       14250: "cps",
-       14414: "ca-web-update",
-       14500: "xpra",
-       14936: "hde-lcesrvr-1",
-       14937: "hde-lcesrvr-2",
-       15000: "hydap",
-       15002: "onep-tls",
-       15345: "xpilot",
-       15363: "3link",
-       15555: "cisco-snat",
-       15660: "bex-xr",
-       15740: "ptp",
-       15999: "programmar",
-       16000: "fmsas",
-       16001: "fmsascon",
-       16002: "gsms",
-       16020: "jwpc",
-       16021: "jwpc-bin",
-       16161: "sun-sea-port",
-       16162: "solaris-audit",
-       16309: "etb4j",
-       16310: "pduncs",
-       16311: "pdefmns",
-       16360: "netserialext1",
-       16361: "netserialext2",
-       16367: "netserialext3",
-       16368: "netserialext4",
-       16384: "connected",
-       16385: "rdgs",
-       16619: "xoms",
-       16665: "axon-tunnel",
-       16789: "cadsisvr",
-       16900: "newbay-snc-mc",
-       16950: "sgcip",
-       16991: "intel-rci-mp",
-       16992: "amt-soap-http",
-       16993: "amt-soap-https",
-       16994: "amt-redir-tcp",
-       16995: "amt-redir-tls",
-       17007: "isode-dua",
-       17184: "vestasdlp",
-       17185: "soundsvirtual",
-       17219: "chipper",
-       17220: "avtp",
-       17221: "avdecc",
-       17223: "isa100-gci",
-       17225: "trdp-md",
-       17234: "integrius-stp",
-       17235: "ssh-mgmt",
-       17500: "db-lsp",
-       17555: "ailith",
-       17729: "ea",
-       17754: "zep",
-       17755: "zigbee-ip",
-       17756: "zigbee-ips",
-       17777: "sw-orion",
-       18000: "biimenu",
-       18104: "radpdf",
-       18136: "racf",
-       18181: "opsec-cvp",
-       18182: "opsec-ufp",
-       18183: "opsec-sam",
-       18184: "opsec-lea",
-       18185: "opsec-omi",
-       18186: "ohsc",
-       18187: "opsec-ela",
-       18241: "checkpoint-rtm",
-       18242: "iclid",
-       18243: "clusterxl",
-       18262: "gv-pf",
-       18463: "ac-cluster",
-       18634: "rds-ib",
-       18635: "rds-ip",
-       18668: "vdmmesh",
-       18769: "ique",
-       18881: "infotos",
-       18888: "apc-necmp",
-       19000: "igrid",
-       19007: "scintilla",
-       19020: "j-link",
-       19191: "opsec-uaa",
-       19194: "ua-secureagent",
-       19220: "cora",
-       19283: "keysrvr",
-       19315: "keyshadow",
-       19398: "mtrgtrans",
-       19410: "hp-sco",
-       19411: "hp-sca",
-       19412: "hp-sessmon",
-       19539: "fxuptp",
-       19540: "sxuptp",
-       19541: "jcp",
-       19998: "iec-104-sec",
-       19999: "dnp-sec",
-       20000: "dnp",
-       20001: "microsan",
-       20002: "commtact-http",
-       20003: "commtact-https",
-       20005: "openwebnet",
-       20013: "ss-idi",
-       20014: "opendeploy",
-       20034: "nburn-id",
-       20046: "tmophl7mts",
-       20048: "mountd",
-       20049: "nfsrdma",
-       20057: "avesterra",
-       20167: "tolfab",
-       20202: "ipdtp-port",
-       20222: "ipulse-ics",
-       20480: "emwavemsg",
-       20670: "track",
-       20999: "athand-mmp",
-       21000: "irtrans",
-       21010: "notezilla-lan",
-       21221: "aigairserver",
-       21553: "rdm-tfs",
-       21554: "dfserver",
-       21590: "vofr-gateway",
-       21800: "tvpm",
-       21845: "webphone",
-       21846: "netspeak-is",
-       21847: "netspeak-cs",
-       21848: "netspeak-acd",
-       21849: "netspeak-cps",
-       22000: "snapenetio",
-       22001: "optocontrol",
-       22002: "optohost002",
-       22003: "optohost003",
-       22004: "optohost004",
-       22005: "optohost004",
-       22125: "dcap",
-       22128: "gsidcap",
-       22222: "easyengine",
-       22273: "wnn6",
-       22305: "cis",
-       22335: "shrewd-control",
-       22343: "cis-secure",
-       22347: "wibukey",
-       22350: "codemeter",
-       22351: "codemeter-cmwan",
-       22537: "caldsoft-backup",
-       22555: "vocaltec-wconf",
-       22763: "talikaserver",
-       22800: "aws-brf",
-       22951: "brf-gw",
-       23000: "inovaport1",
-       23001: "inovaport2",
-       23002: "inovaport3",
-       23003: "inovaport4",
-       23004: "inovaport5",
-       23005: "inovaport6",
-       23053: "gntp",
-       23294: "5afe-dir",
-       23333: "elxmgmt",
-       23400: "novar-dbase",
-       23401: "novar-alarm",
-       23402: "novar-global",
-       23456: "aequus",
-       23457: "aequus-alt",
-       23546: "areaguard-neo",
-       24000: "med-ltp",
-       24001: "med-fsp-rx",
-       24002: "med-fsp-tx",
-       24003: "med-supp",
-       24004: "med-ovw",
-       24005: "med-ci",
-       24006: "med-net-svc",
-       24242: "filesphere",
-       24249: "vista-4gl",
-       24321: "ild",
-       24386: "intel-rci",
-       24465: "tonidods",
-       24554: "binkp",
-       24577: "bilobit",
-       24666: "sdtvwcam",
-       24676: "canditv",
-       24677: "flashfiler",
-       24678: "proactivate",
-       24680: "tcc-http",
-       24754: "cslg",
-       24922: "find",
-       25000: "icl-twobase1",
-       25001: "icl-twobase2",
-       25002: "icl-twobase3",
-       25003: "icl-twobase4",
-       25004: "icl-twobase5",
-       25005: "icl-twobase6",
-       25006: "icl-twobase7",
-       25007: "icl-twobase8",
-       25008: "icl-twobase9",
-       25009: "icl-twobase10",
-       25576: "sauterdongle",
-       25604: "idtp",
-       25793: "vocaltec-hos",
-       25900: "tasp-net",
-       25901: "niobserver",
-       25902: "nilinkanalyst",
-       25903: "niprobe",
-       26000: "quake",
-       26133: "scscp",
-       26208: "wnn6-ds",
-       26257: "cockroach",
-       26260: "ezproxy",
-       26261: "ezmeeting",
-       26262: "k3software-svr",
-       26263: "k3software-cli",
-       26486: "exoline-tcp",
-       26487: "exoconfig",
-       26489: "exonet",
-       27345: "imagepump",
-       27442: "jesmsjc",
-       27504: "kopek-httphead",
-       27782: "ars-vista",
-       27876: "astrolink",
-       27999: "tw-auth-key",
-       28000: "nxlmd",
-       28001: "pqsp",
-       28200: "voxelstorm",
-       28240: "siemensgsm",
-       28589: "bosswave",
-       29167: "otmp",
-       29999: "bingbang",
-       30000: "ndmps",
-       30001: "pago-services1",
-       30002: "pago-services2",
-       30003: "amicon-fpsu-ra",
-       30100: "rwp",
-       30260: "kingdomsonline",
-       30400: "gs-realtime",
-       30999: "ovobs",
-       31016: "ka-sddp",
-       31020: "autotrac-acp",
-       31400: "pace-licensed",
-       31416: "xqosd",
-       31457: "tetrinet",
-       31620: "lm-mon",
-       31685: "dsx-monitor",
-       31765: "gamesmith-port",
-       31948: "iceedcp-tx",
-       31949: "iceedcp-rx",
-       32034: "iracinghelper",
-       32249: "t1distproc60",
-       32400: "plex",
-       32483: "apm-link",
-       32635: "sec-ntb-clnt",
-       32636: "DMExpress",
-       32767: "filenet-powsrm",
-       32768: "filenet-tms",
-       32769: "filenet-rpc",
-       32770: "filenet-nch",
-       32771: "filenet-rmi",
-       32772: "filenet-pa",
-       32773: "filenet-cm",
-       32774: "filenet-re",
-       32775: "filenet-pch",
-       32776: "filenet-peior",
-       32777: "filenet-obrok",
-       32801: "mlsn",
-       32811: "retp",
-       32896: "idmgratm",
-       33060: "mysqlx",
-       33123: "aurora-balaena",
-       33331: "diamondport",
-       33333: "dgi-serv",
-       33334: "speedtrace",
-       33434: "traceroute",
-       33656: "snip-slave",
-       34249: "turbonote-2",
-       34378: "p-net-local",
-       34379: "p-net-remote",
-       34567: "dhanalakshmi",
-       34962: "profinet-rt",
-       34963: "profinet-rtm",
-       34964: "profinet-cm",
-       34980: "ethercat",
-       35000: "heathview",
-       35001: "rt-viewer",
-       35002: "rt-sound",
-       35003: "rt-devicemapper",
-       35004: "rt-classmanager",
-       35005: "rt-labtracker",
-       35006: "rt-helper",
-       35100: "axio-disc",
-       35354: "kitim",
-       35355: "altova-lm",
-       35356: "guttersnex",
-       35357: "openstack-id",
-       36001: "allpeers",
-       36524: "febooti-aw",
-       36602: "observium-agent",
-       36700: "mapx",
-       36865: "kastenxpipe",
-       37475: "neckar",
-       37483: "gdrive-sync",
-       37601: "eftp",
-       37654: "unisys-eportal",
-       38000: "ivs-database",
-       38001: "ivs-insertion",
-       38002: "cresco-control",
-       38201: "galaxy7-data",
-       38202: "fairview",
-       38203: "agpolicy",
-       38800: "sruth",
-       38865: "secrmmsafecopya",
-       39681: "turbonote-1",
-       40000: "safetynetp",
-       40404: "sptx",
-       40841: "cscp",
-       40842: "csccredir",
-       40843: "csccfirewall",
-       41111: "fs-qos",
-       41121: "tentacle",
-       41230: "z-wave-s",
-       41794: "crestron-cip",
-       41795: "crestron-ctp",
-       41796: "crestron-cips",
-       41797: "crestron-ctps",
-       42508: "candp",
-       42509: "candrp",
-       42510: "caerpc",
-       43000: "recvr-rc",
-       43188: "reachout",
-       43189: "ndm-agent-port",
-       43190: "ip-provision",
-       43191: "noit-transport",
-       43210: "shaperai",
-       43439: "eq3-update",
-       43440: "ew-mgmt",
-       43441: "ciscocsdb",
-       44123: "z-wave-tunnel",
-       44321: "pmcd",
-       44322: "pmcdproxy",
-       44323: "pmwebapi",
-       44444: "cognex-dataman",
-       44553: "rbr-debug",
-       44818: "EtherNet-IP-2",
-       44900: "m3da",
-       45000: "asmp",
-       45001: "asmps",
-       45002: "rs-status",
-       45045: "synctest",
-       45054: "invision-ag",
-       45514: "cloudcheck",
-       45678: "eba",
-       45824: "dai-shell",
-       45825: "qdb2service",
-       45966: "ssr-servermgr",
-       46336: "inedo",
-       46998: "spremotetablet",
-       46999: "mediabox",
-       47000: "mbus",
-       47001: "winrm",
-       47557: "dbbrowse",
-       47624: "directplaysrvr",
-       47806: "ap",
-       47808: "bacnet",
-       48000: "nimcontroller",
-       48001: "nimspooler",
-       48002: "nimhub",
-       48003: "nimgtw",
-       48004: "nimbusdb",
-       48005: "nimbusdbctrl",
-       48049: "3gpp-cbsp",
-       48050: "weandsf",
-       48128: "isnetserv",
-       48129: "blp5",
-       48556: "com-bardac-dw",
-       48619: "iqobject",
-       48653: "robotraconteur",
-       49000: "matahari",
-       49001: "nusrp",
-}
-var udpPortNames = map[UDPPort]string{
-       1:     "tcpmux",
-       2:     "compressnet",
-       3:     "compressnet",
-       5:     "rje",
-       7:     "echo",
-       9:     "discard",
-       11:    "systat",
-       13:    "daytime",
-       17:    "qotd",
-       18:    "msp",
-       19:    "chargen",
-       20:    "ftp-data",
-       21:    "ftp",
-       22:    "ssh",
-       23:    "telnet",
-       25:    "smtp",
-       27:    "nsw-fe",
-       29:    "msg-icp",
-       31:    "msg-auth",
-       33:    "dsp",
-       37:    "time",
-       38:    "rap",
-       39:    "rlp",
-       41:    "graphics",
-       42:    "name",
-       43:    "nicname",
-       44:    "mpm-flags",
-       45:    "mpm",
-       46:    "mpm-snd",
-       48:    "auditd",
-       49:    "tacacs",
-       50:    "re-mail-ck",
-       52:    "xns-time",
-       53:    "domain",
-       54:    "xns-ch",
-       55:    "isi-gl",
-       56:    "xns-auth",
-       58:    "xns-mail",
-       62:    "acas",
-       63:    "whoispp",
-       64:    "covia",
-       65:    "tacacs-ds",
-       66:    "sql-net",
-       67:    "bootps",
-       68:    "bootpc",
-       69:    "tftp",
-       70:    "gopher",
-       71:    "netrjs-1",
-       72:    "netrjs-2",
-       73:    "netrjs-3",
-       74:    "netrjs-4",
-       76:    "deos",
-       78:    "vettcp",
-       79:    "finger",
-       80:    "http",
-       82:    "xfer",
-       83:    "mit-ml-dev",
-       84:    "ctf",
-       85:    "mit-ml-dev",
-       86:    "mfcobol",
-       88:    "kerberos",
-       89:    "su-mit-tg",
-       90:    "dnsix",
-       91:    "mit-dov",
-       92:    "npp",
-       93:    "dcp",
-       94:    "objcall",
-       95:    "supdup",
-       96:    "dixie",
-       97:    "swift-rvf",
-       98:    "tacnews",
-       99:    "metagram",
-       101:   "hostname",
-       102:   "iso-tsap",
-       103:   "gppitnp",
-       104:   "acr-nema",
-       105:   "cso",
-       106:   "3com-tsmux",
-       107:   "rtelnet",
-       108:   "snagas",
-       109:   "pop2",
-       110:   "pop3",
-       111:   "sunrpc",
-       112:   "mcidas",
-       113:   "auth",
-       115:   "sftp",
-       116:   "ansanotify",
-       117:   "uucp-path",
-       118:   "sqlserv",
-       119:   "nntp",
-       120:   "cfdptkt",
-       121:   "erpc",
-       122:   "smakynet",
-       123:   "ntp",
-       124:   "ansatrader",
-       125:   "locus-map",
-       126:   "nxedit",
-       127:   "locus-con",
-       128:   "gss-xlicen",
-       129:   "pwdgen",
-       130:   "cisco-fna",
-       131:   "cisco-tna",
-       132:   "cisco-sys",
-       133:   "statsrv",
-       134:   "ingres-net",
-       135:   "epmap",
-       136:   "profile",
-       137:   "netbios-ns",
-       138:   "netbios-dgm",
-       139:   "netbios-ssn",
-       140:   "emfis-data",
-       141:   "emfis-cntl",
-       142:   "bl-idm",
-       143:   "imap",
-       144:   "uma",
-       145:   "uaac",
-       146:   "iso-tp0",
-       147:   "iso-ip",
-       148:   "jargon",
-       149:   "aed-512",
-       150:   "sql-net",
-       151:   "hems",
-       152:   "bftp",
-       153:   "sgmp",
-       154:   "netsc-prod",
-       155:   "netsc-dev",
-       156:   "sqlsrv",
-       157:   "knet-cmp",
-       158:   "pcmail-srv",
-       159:   "nss-routing",
-       160:   "sgmp-traps",
-       161:   "snmp",
-       162:   "snmptrap",
-       163:   "cmip-man",
-       164:   "cmip-agent",
-       165:   "xns-courier",
-       166:   "s-net",
-       167:   "namp",
-       168:   "rsvd",
-       169:   "send",
-       170:   "print-srv",
-       171:   "multiplex",
-       172:   "cl-1",
-       173:   "xyplex-mux",
-       174:   "mailq",
-       175:   "vmnet",
-       176:   "genrad-mux",
-       177:   "xdmcp",
-       178:   "nextstep",
-       179:   "bgp",
-       180:   "ris",
-       181:   "unify",
-       182:   "audit",
-       183:   "ocbinder",
-       184:   "ocserver",
-       185:   "remote-kis",
-       186:   "kis",
-       187:   "aci",
-       188:   "mumps",
-       189:   "qft",
-       190:   "gacp",
-       191:   "prospero",
-       192:   "osu-nms",
-       193:   "srmp",
-       194:   "irc",
-       195:   "dn6-nlm-aud",
-       196:   "dn6-smm-red",
-       197:   "dls",
-       198:   "dls-mon",
-       199:   "smux",
-       200:   "src",
-       201:   "at-rtmp",
-       202:   "at-nbp",
-       203:   "at-3",
-       204:   "at-echo",
-       205:   "at-5",
-       206:   "at-zis",
-       207:   "at-7",
-       208:   "at-8",
-       209:   "qmtp",
-       210:   "z39-50",
-       211:   "914c-g",
-       212:   "anet",
-       213:   "ipx",
-       214:   "vmpwscs",
-       215:   "softpc",
-       216:   "CAIlic",
-       217:   "dbase",
-       218:   "mpp",
-       219:   "uarps",
-       220:   "imap3",
-       221:   "fln-spx",
-       222:   "rsh-spx",
-       223:   "cdc",
-       224:   "masqdialer",
-       242:   "direct",
-       243:   "sur-meas",
-       244:   "inbusiness",
-       245:   "link",
-       246:   "dsp3270",
-       247:   "subntbcst-tftp",
-       248:   "bhfhs",
-       256:   "rap",
-       257:   "set",
-       259:   "esro-gen",
-       260:   "openport",
-       261:   "nsiiops",
-       262:   "arcisdms",
-       263:   "hdap",
-       264:   "bgmp",
-       265:   "x-bone-ctl",
-       266:   "sst",
-       267:   "td-service",
-       268:   "td-replica",
-       269:   "manet",
-       270:   "gist",
-       280:   "http-mgmt",
-       281:   "personal-link",
-       282:   "cableport-ax",
-       283:   "rescap",
-       284:   "corerjd",
-       286:   "fxp",
-       287:   "k-block",
-       308:   "novastorbakcup",
-       309:   "entrusttime",
-       310:   "bhmds",
-       311:   "asip-webadmin",
-       312:   "vslmp",
-       313:   "magenta-logic",
-       314:   "opalis-robot",
-       315:   "dpsi",
-       316:   "decauth",
-       317:   "zannet",
-       318:   "pkix-timestamp",
-       319:   "ptp-event",
-       320:   "ptp-general",
-       321:   "pip",
-       322:   "rtsps",
-       333:   "texar",
-       344:   "pdap",
-       345:   "pawserv",
-       346:   "zserv",
-       347:   "fatserv",
-       348:   "csi-sgwp",
-       349:   "mftp",
-       350:   "matip-type-a",
-       351:   "matip-type-b",
-       352:   "dtag-ste-sb",
-       353:   "ndsauth",
-       354:   "bh611",
-       355:   "datex-asn",
-       356:   "cloanto-net-1",
-       357:   "bhevent",
-       358:   "shrinkwrap",
-       359:   "nsrmp",
-       360:   "scoi2odialog",
-       361:   "semantix",
-       362:   "srssend",
-       363:   "rsvp-tunnel",
-       364:   "aurora-cmgr",
-       365:   "dtk",
-       366:   "odmr",
-       367:   "mortgageware",
-       368:   "qbikgdp",
-       369:   "rpc2portmap",
-       370:   "codaauth2",
-       371:   "clearcase",
-       372:   "ulistproc",
-       373:   "legent-1",
-       374:   "legent-2",
-       375:   "hassle",
-       376:   "nip",
-       377:   "tnETOS",
-       378:   "dsETOS",
-       379:   "is99c",
-       380:   "is99s",
-       381:   "hp-collector",
-       382:   "hp-managed-node",
-       383:   "hp-alarm-mgr",
-       384:   "arns",
-       385:   "ibm-app",
-       386:   "asa",
-       387:   "aurp",
-       388:   "unidata-ldm",
-       389:   "ldap",
-       390:   "uis",
-       391:   "synotics-relay",
-       392:   "synotics-broker",
-       393:   "meta5",
-       394:   "embl-ndt",
-       395:   "netcp",
-       396:   "netware-ip",
-       397:   "mptn",
-       398:   "kryptolan",
-       399:   "iso-tsap-c2",
-       400:   "osb-sd",
-       401:   "ups",
-       402:   "genie",
-       403:   "decap",
-       404:   "nced",
-       405:   "ncld",
-       406:   "imsp",
-       407:   "timbuktu",
-       408:   "prm-sm",
-       409:   "prm-nm",
-       410:   "decladebug",
-       411:   "rmt",
-       412:   "synoptics-trap",
-       413:   "smsp",
-       414:   "infoseek",
-       415:   "bnet",
-       416:   "silverplatter",
-       417:   "onmux",
-       418:   "hyper-g",
-       419:   "ariel1",
-       420:   "smpte",
-       421:   "ariel2",
-       422:   "ariel3",
-       423:   "opc-job-start",
-       424:   "opc-job-track",
-       425:   "icad-el",
-       426:   "smartsdp",
-       427:   "svrloc",
-       428:   "ocs-cmu",
-       429:   "ocs-amu",
-       430:   "utmpsd",
-       431:   "utmpcd",
-       432:   "iasd",
-       433:   "nnsp",
-       434:   "mobileip-agent",
-       435:   "mobilip-mn",
-       436:   "dna-cml",
-       437:   "comscm",
-       438:   "dsfgw",
-       439:   "dasp",
-       440:   "sgcp",
-       441:   "decvms-sysmgt",
-       442:   "cvc-hostd",
-       443:   "https",
-       444:   "snpp",
-       445:   "microsoft-ds",
-       446:   "ddm-rdb",
-       447:   "ddm-dfm",
-       448:   "ddm-ssl",
-       449:   "as-servermap",
-       450:   "tserver",
-       451:   "sfs-smp-net",
-       452:   "sfs-config",
-       453:   "creativeserver",
-       454:   "contentserver",
-       455:   "creativepartnr",
-       456:   "macon-udp",
-       457:   "scohelp",
-       458:   "appleqtc",
-       459:   "ampr-rcmd",
-       460:   "skronk",
-       461:   "datasurfsrv",
-       462:   "datasurfsrvsec",
-       463:   "alpes",
-       464:   "kpasswd",
-       465:   "igmpv3lite",
-       466:   "digital-vrc",
-       467:   "mylex-mapd",
-       468:   "photuris",
-       469:   "rcp",
-       470:   "scx-proxy",
-       471:   "mondex",
-       472:   "ljk-login",
-       473:   "hybrid-pop",
-       474:   "tn-tl-w2",
-       475:   "tcpnethaspsrv",
-       476:   "tn-tl-fd1",
-       477:   "ss7ns",
-       478:   "spsc",
-       479:   "iafserver",
-       480:   "iafdbase",
-       481:   "ph",
-       482:   "bgs-nsi",
-       483:   "ulpnet",
-       484:   "integra-sme",
-       485:   "powerburst",
-       486:   "avian",
-       487:   "saft",
-       488:   "gss-http",
-       489:   "nest-protocol",
-       490:   "micom-pfs",
-       491:   "go-login",
-       492:   "ticf-1",
-       493:   "ticf-2",
-       494:   "pov-ray",
-       495:   "intecourier",
-       496:   "pim-rp-disc",
-       497:   "retrospect",
-       498:   "siam",
-       499:   "iso-ill",
-       500:   "isakmp",
-       501:   "stmf",
-       502:   "mbap",
-       503:   "intrinsa",
-       504:   "citadel",
-       505:   "mailbox-lm",
-       506:   "ohimsrv",
-       507:   "crs",
-       508:   "xvttp",
-       509:   "snare",
-       510:   "fcp",
-       511:   "passgo",
-       512:   "comsat",
-       513:   "who",
-       514:   "syslog",
-       515:   "printer",
-       516:   "videotex",
-       517:   "talk",
-       518:   "ntalk",
-       519:   "utime",
-       520:   "router",
-       521:   "ripng",
-       522:   "ulp",
-       523:   "ibm-db2",
-       524:   "ncp",
-       525:   "timed",
-       526:   "tempo",
-       527:   "stx",
-       528:   "custix",
-       529:   "irc-serv",
-       530:   "courier",
-       531:   "conference",
-       532:   "netnews",
-       533:   "netwall",
-       534:   "windream",
-       535:   "iiop",
-       536:   "opalis-rdv",
-       537:   "nmsp",
-       538:   "gdomap",
-       539:   "apertus-ldp",
-       540:   "uucp",
-       541:   "uucp-rlogin",
-       542:   "commerce",
-       543:   "klogin",
-       544:   "kshell",
-       545:   "appleqtcsrvr",
-       546:   "dhcpv6-client",
-       547:   "dhcpv6-server",
-       548:   "afpovertcp",
-       549:   "idfp",
-       550:   "new-rwho",
-       551:   "cybercash",
-       552:   "devshr-nts",
-       553:   "pirp",
-       554:   "rtsp",
-       555:   "dsf",
-       556:   "remotefs",
-       557:   "openvms-sysipc",
-       558:   "sdnskmp",
-       559:   "teedtap",
-       560:   "rmonitor",
-       561:   "monitor",
-       562:   "chshell",
-       563:   "nntps",
-       564:   "9pfs",
-       565:   "whoami",
-       566:   "streettalk",
-       567:   "banyan-rpc",
-       568:   "ms-shuttle",
-       569:   "ms-rome",
-       570:   "meter",
-       571:   "meter",
-       572:   "sonar",
-       573:   "banyan-vip",
-       574:   "ftp-agent",
-       575:   "vemmi",
-       576:   "ipcd",
-       577:   "vnas",
-       578:   "ipdd",
-       579:   "decbsrv",
-       580:   "sntp-heartbeat",
-       581:   "bdp",
-       582:   "scc-security",
-       583:   "philips-vc",
-       584:   "keyserver",
-       586:   "password-chg",
-       587:   "submission",
-       588:   "cal",
-       589:   "eyelink",
-       590:   "tns-cml",
-       591:   "http-alt",
-       592:   "eudora-set",
-       593:   "http-rpc-epmap",
-       594:   "tpip",
-       595:   "cab-protocol",
-       596:   "smsd",
-       597:   "ptcnameservice",
-       598:   "sco-websrvrmg3",
-       599:   "acp",
-       600:   "ipcserver",
-       601:   "syslog-conn",
-       602:   "xmlrpc-beep",
-       603:   "idxp",
-       604:   "tunnel",
-       605:   "soap-beep",
-       606:   "urm",
-       607:   "nqs",
-       608:   "sift-uft",
-       609:   "npmp-trap",
-       610:   "npmp-local",
-       611:   "npmp-gui",
-       612:   "hmmp-ind",
-       613:   "hmmp-op",
-       614:   "sshell",
-       615:   "sco-inetmgr",
-       616:   "sco-sysmgr",
-       617:   "sco-dtmgr",
-       618:   "dei-icda",
-       619:   "compaq-evm",
-       620:   "sco-websrvrmgr",
-       621:   "escp-ip",
-       622:   "collaborator",
-       623:   "asf-rmcp",
-       624:   "cryptoadmin",
-       625:   "dec-dlm",
-       626:   "asia",
-       627:   "passgo-tivoli",
-       628:   "qmqp",
-       629:   "3com-amp3",
-       630:   "rda",
-       631:   "ipp",
-       632:   "bmpp",
-       633:   "servstat",
-       634:   "ginad",
-       635:   "rlzdbase",
-       636:   "ldaps",
-       637:   "lanserver",
-       638:   "mcns-sec",
-       639:   "msdp",
-       640:   "entrust-sps",
-       641:   "repcmd",
-       642:   "esro-emsdp",
-       643:   "sanity",
-       644:   "dwr",
-       645:   "pssc",
-       646:   "ldp",
-       647:   "dhcp-failover",
-       648:   "rrp",
-       649:   "cadview-3d",
-       650:   "obex",
-       651:   "ieee-mms",
-       652:   "hello-port",
-       653:   "repscmd",
-       654:   "aodv",
-       655:   "tinc",
-       656:   "spmp",
-       657:   "rmc",
-       658:   "tenfold",
-       660:   "mac-srvr-admin",
-       661:   "hap",
-       662:   "pftp",
-       663:   "purenoise",
-       664:   "asf-secure-rmcp",
-       665:   "sun-dr",
-       666:   "mdqs",
-       667:   "disclose",
-       668:   "mecomm",
-       669:   "meregister",
-       670:   "vacdsm-sws",
-       671:   "vacdsm-app",
-       672:   "vpps-qua",
-       673:   "cimplex",
-       674:   "acap",
-       675:   "dctp",
-       676:   "vpps-via",
-       677:   "vpp",
-       678:   "ggf-ncp",
-       679:   "mrm",
-       680:   "entrust-aaas",
-       681:   "entrust-aams",
-       682:   "xfr",
-       683:   "corba-iiop",
-       684:   "corba-iiop-ssl",
-       685:   "mdc-portmapper",
-       686:   "hcp-wismar",
-       687:   "asipregistry",
-       688:   "realm-rusd",
-       689:   "nmap",
-       690:   "vatp",
-       691:   "msexch-routing",
-       692:   "hyperwave-isp",
-       693:   "connendp",
-       694:   "ha-cluster",
-       695:   "ieee-mms-ssl",
-       696:   "rushd",
-       697:   "uuidgen",
-       698:   "olsr",
-       699:   "accessnetwork",
-       700:   "epp",
-       701:   "lmp",
-       702:   "iris-beep",
-       704:   "elcsd",
-       705:   "agentx",
-       706:   "silc",
-       707:   "borland-dsj",
-       709:   "entrust-kmsh",
-       710:   "entrust-ash",
-       711:   "cisco-tdp",
-       712:   "tbrpf",
-       713:   "iris-xpc",
-       714:   "iris-xpcs",
-       715:   "iris-lwz",
-       716:   "pana",
-       729:   "netviewdm1",
-       730:   "netviewdm2",
-       731:   "netviewdm3",
-       741:   "netgw",
-       742:   "netrcs",
-       744:   "flexlm",
-       747:   "fujitsu-dev",
-       748:   "ris-cm",
-       749:   "kerberos-adm",
-       750:   "loadav",
-       751:   "pump",
-       752:   "qrh",
-       753:   "rrh",
-       754:   "tell",
-       758:   "nlogin",
-       759:   "con",
-       760:   "ns",
-       761:   "rxe",
-       762:   "quotad",
-       763:   "cycleserv",
-       764:   "omserv",
-       765:   "webster",
-       767:   "phonebook",
-       769:   "vid",
-       770:   "cadlock",
-       771:   "rtip",
-       772:   "cycleserv2",
-       773:   "notify",
-       774:   "acmaint-dbd",
-       775:   "acmaint-transd",
-       776:   "wpages",
-       777:   "multiling-http",
-       780:   "wpgs",
-       800:   "mdbs-daemon",
-       801:   "device",
-       802:   "mbap-s",
-       810:   "fcp-udp",
-       828:   "itm-mcell-s",
-       829:   "pkix-3-ca-ra",
-       830:   "netconf-ssh",
-       831:   "netconf-beep",
-       832:   "netconfsoaphttp",
-       833:   "netconfsoapbeep",
-       847:   "dhcp-failover2",
-       848:   "gdoi",
-       853:   "domain-s",
-       854:   "dlep",
-       860:   "iscsi",
-       861:   "owamp-control",
-       862:   "twamp-control",
-       873:   "rsync",
-       886:   "iclcnet-locate",
-       887:   "iclcnet-svinfo",
-       888:   "accessbuilder",
-       900:   "omginitialrefs",
-       901:   "smpnameres",
-       902:   "ideafarm-door",
-       903:   "ideafarm-panic",
-       910:   "kink",
-       911:   "xact-backup",
-       912:   "apex-mesh",
-       913:   "apex-edge",
-       989:   "ftps-data",
-       990:   "ftps",
-       991:   "nas",
-       992:   "telnets",
-       993:   "imaps",
-       995:   "pop3s",
-       996:   "vsinet",
-       997:   "maitrd",
-       998:   "puparp",
-       999:   "applix",
-       1000:  "cadlock2",
-       1010:  "surf",
-       1021:  "exp1",
-       1022:  "exp2",
-       1025:  "blackjack",
-       1026:  "cap",
-       1027:  "6a44",
-       1029:  "solid-mux",
-       1033:  "netinfo-local",
-       1034:  "activesync",
-       1035:  "mxxrlogin",
-       1036:  "nsstp",
-       1037:  "ams",
-       1038:  "mtqp",
-       1039:  "sbl",
-       1040:  "netarx",
-       1041:  "danf-ak2",
-       1042:  "afrog",
-       1043:  "boinc-client",
-       1044:  "dcutility",
-       1045:  "fpitp",
-       1046:  "wfremotertm",
-       1047:  "neod1",
-       1048:  "neod2",
-       1049:  "td-postman",
-       1050:  "cma",
-       1051:  "optima-vnet",
-       1052:  "ddt",
-       1053:  "remote-as",
-       1054:  "brvread",
-       1055:  "ansyslmd",
-       1056:  "vfo",
-       1057:  "startron",
-       1058:  "nim",
-       1059:  "nimreg",
-       1060:  "polestar",
-       1061:  "kiosk",
-       1062:  "veracity",
-       1063:  "kyoceranetdev",
-       1064:  "jstel",
-       1065:  "syscomlan",
-       1066:  "fpo-fns",
-       1067:  "instl-boots",
-       1068:  "instl-bootc",
-       1069:  "cognex-insight",
-       1070:  "gmrupdateserv",
-       1071:  "bsquare-voip",
-       1072:  "cardax",
-       1073:  "bridgecontrol",
-       1074:  "warmspotMgmt",
-       1075:  "rdrmshc",
-       1076:  "dab-sti-c",
-       1077:  "imgames",
-       1078:  "avocent-proxy",
-       1079:  "asprovatalk",
-       1080:  "socks",
-       1081:  "pvuniwien",
-       1082:  "amt-esd-prot",
-       1083:  "ansoft-lm-1",
-       1084:  "ansoft-lm-2",
-       1085:  "webobjects",
-       1086:  "cplscrambler-lg",
-       1087:  "cplscrambler-in",
-       1088:  "cplscrambler-al",
-       1089:  "ff-annunc",
-       1090:  "ff-fms",
-       1091:  "ff-sm",
-       1092:  "obrpd",
-       1093:  "proofd",
-       1094:  "rootd",
-       1095:  "nicelink",
-       1096:  "cnrprotocol",
-       1097:  "sunclustermgr",
-       1098:  "rmiactivation",
-       1099:  "rmiregistry",
-       1100:  "mctp",
-       1101:  "pt2-discover",
-       1102:  "adobeserver-1",
-       1103:  "adobeserver-2",
-       1104:  "xrl",
-       1105:  "ftranhc",
-       1106:  "isoipsigport-1",
-       1107:  "isoipsigport-2",
-       1108:  "ratio-adp",
-       1110:  "nfsd-keepalive",
-       1111:  "lmsocialserver",
-       1112:  "icp",
-       1113:  "ltp-deepspace",
-       1114:  "mini-sql",
-       1115:  "ardus-trns",
-       1116:  "ardus-cntl",
-       1117:  "ardus-mtrns",
-       1118:  "sacred",
-       1119:  "bnetgame",
-       1120:  "bnetfile",
-       1121:  "rmpp",
-       1122:  "availant-mgr",
-       1123:  "murray",
-       1124:  "hpvmmcontrol",
-       1125:  "hpvmmagent",
-       1126:  "hpvmmdata",
-       1127:  "kwdb-commn",
-       1128:  "saphostctrl",
-       1129:  "saphostctrls",
-       1130:  "casp",
-       1131:  "caspssl",
-       1132:  "kvm-via-ip",
-       1133:  "dfn",
-       1134:  "aplx",
-       1135:  "omnivision",
-       1136:  "hhb-gateway",
-       1137:  "trim",
-       1138:  "encrypted-admin",
-       1139:  "evm",
-       1140:  "autonoc",
-       1141:  "mxomss",
-       1142:  "edtools",
-       1143:  "imyx",
-       1144:  "fuscript",
-       1145:  "x9-icue",
-       1146:  "audit-transfer",
-       1147:  "capioverlan",
-       1148:  "elfiq-repl",
-       1149:  "bvtsonar",
-       1150:  "blaze",
-       1151:  "unizensus",
-       1152:  "winpoplanmess",
-       1153:  "c1222-acse",
-       1154:  "resacommunity",
-       1155:  "nfa",
-       1156:  "iascontrol-oms",
-       1157:  "iascontrol",
-       1158:  "dbcontrol-oms",
-       1159:  "oracle-oms",
-       1160:  "olsv",
-       1161:  "health-polling",
-       1162:  "health-trap",
-       1163:  "sddp",
-       1164:  "qsm-proxy",
-       1165:  "qsm-gui",
-       1166:  "qsm-remote",
-       1167:  "cisco-ipsla",
-       1168:  "vchat",
-       1169:  "tripwire",
-       1170:  "atc-lm",
-       1171:  "atc-appserver",
-       1172:  "dnap",
-       1173:  "d-cinema-rrp",
-       1174:  "fnet-remote-ui",
-       1175:  "dossier",
-       1176:  "indigo-server",
-       1177:  "dkmessenger",
-       1178:  "sgi-storman",
-       1179:  "b2n",
-       1180:  "mc-client",
-       1181:  "3comnetman",
-       1182:  "accelenet-data",
-       1183:  "llsurfup-http",
-       1184:  "llsurfup-https",
-       1185:  "catchpole",
-       1186:  "mysql-cluster",
-       1187:  "alias",
-       1188:  "hp-webadmin",
-       1189:  "unet",
-       1190:  "commlinx-avl",
-       1191:  "gpfs",
-       1192:  "caids-sensor",
-       1193:  "fiveacross",
-       1194:  "openvpn",
-       1195:  "rsf-1",
-       1196:  "netmagic",
-       1197:  "carrius-rshell",
-       1198:  "cajo-discovery",
-       1199:  "dmidi",
-       1200:  "scol",
-       1201:  "nucleus-sand",
-       1202:  "caiccipc",
-       1203:  "ssslic-mgr",
-       1204:  "ssslog-mgr",
-       1205:  "accord-mgc",
-       1206:  "anthony-data",
-       1207:  "metasage",
-       1208:  "seagull-ais",
-       1209:  "ipcd3",
-       1210:  "eoss",
-       1211:  "groove-dpp",
-       1212:  "lupa",
-       1213:  "mpc-lifenet",
-       1214:  "kazaa",
-       1215:  "scanstat-1",
-       1216:  "etebac5",
-       1217:  "hpss-ndapi",
-       1218:  "aeroflight-ads",
-       1219:  "aeroflight-ret",
-       1220:  "qt-serveradmin",
-       1221:  "sweetware-apps",
-       1222:  "nerv",
-       1223:  "tgp",
-       1224:  "vpnz",
-       1225:  "slinkysearch",
-       1226:  "stgxfws",
-       1227:  "dns2go",
-       1228:  "florence",
-       1229:  "zented",
-       1230:  "periscope",
-       1231:  "menandmice-lpm",
-       1232:  "first-defense",
-       1233:  "univ-appserver",
-       1234:  "search-agent",
-       1235:  "mosaicsyssvc1",
-       1236:  "bvcontrol",
-       1237:  "tsdos390",
-       1238:  "hacl-qs",
-       1239:  "nmsd",
-       1240:  "instantia",
-       1241:  "nessus",
-       1242:  "nmasoverip",
-       1243:  "serialgateway",
-       1244:  "isbconference1",
-       1245:  "isbconference2",
-       1246:  "payrouter",
-       1247:  "visionpyramid",
-       1248:  "hermes",
-       1249:  "mesavistaco",
-       1250:  "swldy-sias",
-       1251:  "servergraph",
-       1252:  "bspne-pcc",
-       1253:  "q55-pcc",
-       1254:  "de-noc",
-       1255:  "de-cache-query",
-       1256:  "de-server",
-       1257:  "shockwave2",
-       1258:  "opennl",
-       1259:  "opennl-voice",
-       1260:  "ibm-ssd",
-       1261:  "mpshrsv",
-       1262:  "qnts-orb",
-       1263:  "dka",
-       1264:  "prat",
-       1265:  "dssiapi",
-       1266:  "dellpwrappks",
-       1267:  "epc",
-       1268:  "propel-msgsys",
-       1269:  "watilapp",
-       1270:  "opsmgr",
-       1271:  "excw",
-       1272:  "cspmlockmgr",
-       1273:  "emc-gateway",
-       1274:  "t1distproc",
-       1275:  "ivcollector",
-       1277:  "miva-mqs",
-       1278:  "dellwebadmin-1",
-       1279:  "dellwebadmin-2",
-       1280:  "pictrography",
-       1281:  "healthd",
-       1282:  "emperion",
-       1283:  "productinfo",
-       1284:  "iee-qfx",
-       1285:  "neoiface",
-       1286:  "netuitive",
-       1287:  "routematch",
-       1288:  "navbuddy",
-       1289:  "jwalkserver",
-       1290:  "winjaserver",
-       1291:  "seagulllms",
-       1292:  "dsdn",
-       1293:  "pkt-krb-ipsec",
-       1294:  "cmmdriver",
-       1295:  "ehtp",
-       1296:  "dproxy",
-       1297:  "sdproxy",
-       1298:  "lpcp",
-       1299:  "hp-sci",
-       1300:  "h323hostcallsc",
-       1301:  "ci3-software-1",
-       1302:  "ci3-software-2",
-       1303:  "sftsrv",
-       1304:  "boomerang",
-       1305:  "pe-mike",
-       1306:  "re-conn-proto",
-       1307:  "pacmand",
-       1308:  "odsi",
-       1309:  "jtag-server",
-       1310:  "husky",
-       1311:  "rxmon",
-       1312:  "sti-envision",
-       1313:  "bmc-patroldb",
-       1314:  "pdps",
-       1315:  "els",
-       1316:  "exbit-escp",
-       1317:  "vrts-ipcserver",
-       1318:  "krb5gatekeeper",
-       1319:  "amx-icsp",
-       1320:  "amx-axbnet",
-       1321:  "pip",
-       1322:  "novation",
-       1323:  "brcd",
-       1324:  "delta-mcp",
-       1325:  "dx-instrument",
-       1326:  "wimsic",
-       1327:  "ultrex",
-       1328:  "ewall",
-       1329:  "netdb-export",
-       1330:  "streetperfect",
-       1331:  "intersan",
-       1332:  "pcia-rxp-b",
-       1333:  "passwrd-policy",
-       1334:  "writesrv",
-       1335:  "digital-notary",
-       1336:  "ischat",
-       1337:  "menandmice-dns",
-       1338:  "wmc-log-svc",
-       1339:  "kjtsiteserver",
-       1340:  "naap",
-       1341:  "qubes",
-       1342:  "esbroker",
-       1343:  "re101",
-       1344:  "icap",
-       1345:  "vpjp",
-       1346:  "alta-ana-lm",
-       1347:  "bbn-mmc",
-       1348:  "bbn-mmx",
-       1349:  "sbook",
-       1350:  "editbench",
-       1351:  "equationbuilder",
-       1352:  "lotusnote",
-       1353:  "relief",
-       1354:  "XSIP-network",
-       1355:  "intuitive-edge",
-       1356:  "cuillamartin",
-       1357:  "pegboard",
-       1358:  "connlcli",
-       1359:  "ftsrv",
-       1360:  "mimer",
-       1361:  "linx",
-       1362:  "timeflies",
-       1363:  "ndm-requester",
-       1364:  "ndm-server",
-       1365:  "adapt-sna",
-       1366:  "netware-csp",
-       1367:  "dcs",
-       1368:  "screencast",
-       1369:  "gv-us",
-       1370:  "us-gv",
-       1371:  "fc-cli",
-       1372:  "fc-ser",
-       1373:  "chromagrafx",
-       1374:  "molly",
-       1375:  "bytex",
-       1376:  "ibm-pps",
-       1377:  "cichlid",
-       1378:  "elan",
-       1379:  "dbreporter",
-       1380:  "telesis-licman",
-       1381:  "apple-licman",
-       1382:  "udt-os",
-       1383:  "gwha",
-       1384:  "os-licman",
-       1385:  "atex-elmd",
-       1386:  "checksum",
-       1387:  "cadsi-lm",
-       1388:  "objective-dbc",
-       1389:  "iclpv-dm",
-       1390:  "iclpv-sc",
-       1391:  "iclpv-sas",
-       1392:  "iclpv-pm",
-       1393:  "iclpv-nls",
-       1394:  "iclpv-nlc",
-       1395:  "iclpv-wsm",
-       1396:  "dvl-activemail",
-       1397:  "audio-activmail",
-       1398:  "video-activmail",
-       1399:  "cadkey-licman",
-       1400:  "cadkey-tablet",
-       1401:  "goldleaf-licman",
-       1402:  "prm-sm-np",
-       1403:  "prm-nm-np",
-       1404:  "igi-lm",
-       1405:  "ibm-res",
-       1406:  "netlabs-lm",
-       1408:  "sophia-lm",
-       1409:  "here-lm",
-       1410:  "hiq",
-       1411:  "af",
-       1412:  "innosys",
-       1413:  "innosys-acl",
-       1414:  "ibm-mqseries",
-       1415:  "dbstar",
-       1416:  "novell-lu6-2",
-       1417:  "timbuktu-srv1",
-       1418:  "timbuktu-srv2",
-       1419:  "timbuktu-srv3",
-       1420:  "timbuktu-srv4",
-       1421:  "gandalf-lm",
-       1422:  "autodesk-lm",
-       1423:  "essbase",
-       1424:  "hybrid",
-       1425:  "zion-lm",
-       1426:  "sais",
-       1427:  "mloadd",
-       1428:  "informatik-lm",
-       1429:  "nms",
-       1430:  "tpdu",
-       1431:  "rgtp",
-       1432:  "blueberry-lm",
-       1433:  "ms-sql-s",
-       1434:  "ms-sql-m",
-       1435:  "ibm-cics",
-       1436:  "saism",
-       1437:  "tabula",
-       1438:  "eicon-server",
-       1439:  "eicon-x25",
-       1440:  "eicon-slp",
-       1441:  "cadis-1",
-       1442:  "cadis-2",
-       1443:  "ies-lm",
-       1444:  "marcam-lm",
-       1445:  "proxima-lm",
-       1446:  "ora-lm",
-       1447:  "apri-lm",
-       1448:  "oc-lm",
-       1449:  "peport",
-       1450:  "dwf",
-       1451:  "infoman",
-       1452:  "gtegsc-lm",
-       1453:  "genie-lm",
-       1454:  "interhdl-elmd",
-       1455:  "esl-lm",
-       1456:  "dca",
-       1457:  "valisys-lm",
-       1458:  "nrcabq-lm",
-       1459:  "proshare1",
-       1460:  "proshare2",
-       1461:  "ibm-wrless-lan",
-       1462:  "world-lm",
-       1463:  "nucleus",
-       1464:  "msl-lmd",
-       1465:  "pipes",
-       1466:  "oceansoft-lm",
-       1467:  "csdmbase",
-       1468:  "csdm",
-       1469:  "aal-lm",
-       1470:  "uaiact",
-       1471:  "csdmbase",
-       1472:  "csdm",
-       1473:  "openmath",
-       1474:  "telefinder",
-       1475:  "taligent-lm",
-       1476:  "clvm-cfg",
-       1477:  "ms-sna-server",
-       1478:  "ms-sna-base",
-       1479:  "dberegister",
-       1480:  "pacerforum",
-       1481:  "airs",
-       1482:  "miteksys-lm",
-       1483:  "afs",
-       1484:  "confluent",
-       1485:  "lansource",
-       1486:  "nms-topo-serv",
-       1487:  "localinfosrvr",
-       1488:  "docstor",
-       1489:  "dmdocbroker",
-       1490:  "insitu-conf",
-       1492:  "stone-design-1",
-       1493:  "netmap-lm",
-       1494:  "ica",
-       1495:  "cvc",
-       1496:  "liberty-lm",
-       1497:  "rfx-lm",
-       1498:  "sybase-sqlany",
-       1499:  "fhc",
-       1500:  "vlsi-lm",
-       1501:  "saiscm",
-       1502:  "shivadiscovery",
-       1503:  "imtc-mcs",
-       1504:  "evb-elm",
-       1505:  "funkproxy",
-       1506:  "utcd",
-       1507:  "symplex",
-       1508:  "diagmond",
-       1509:  "robcad-lm",
-       1510:  "mvx-lm",
-       1511:  "3l-l1",
-       1512:  "wins",
-       1513:  "fujitsu-dtc",
-       1514:  "fujitsu-dtcns",
-       1515:  "ifor-protocol",
-       1516:  "vpad",
-       1517:  "vpac",
-       1518:  "vpvd",
-       1519:  "vpvc",
-       1520:  "atm-zip-office",
-       1521:  "ncube-lm",
-       1522:  "ricardo-lm",
-       1523:  "cichild-lm",
-       1524:  "ingreslock",
-       1525:  "orasrv",
-       1526:  "pdap-np",
-       1527:  "tlisrv",
-       1528:  "ngr-t",
-       1529:  "coauthor",
-       1530:  "rap-service",
-       1531:  "rap-listen",
-       1532:  "miroconnect",
-       1533:  "virtual-places",
-       1534:  "micromuse-lm",
-       1535:  "ampr-info",
-       1536:  "ampr-inter",
-       1537:  "sdsc-lm",
-       1538:  "3ds-lm",
-       1539:  "intellistor-lm",
-       1540:  "rds",
-       1541:  "rds2",
-       1542:  "gridgen-elmd",
-       1543:  "simba-cs",
-       1544:  "aspeclmd",
-       1545:  "vistium-share",
-       1546:  "abbaccuray",
-       1547:  "laplink",
-       1548:  "axon-lm",
-       1549:  "shivasound",
-       1550:  "3m-image-lm",
-       1551:  "hecmtl-db",
-       1552:  "pciarray",
-       1553:  "sna-cs",
-       1554:  "caci-lm",
-       1555:  "livelan",
-       1556:  "veritas-pbx",
-       1557:  "arbortext-lm",
-       1558:  "xingmpeg",
-       1559:  "web2host",
-       1560:  "asci-val",
-       1561:  "facilityview",
-       1562:  "pconnectmgr",
-       1563:  "cadabra-lm",
-       1564:  "pay-per-view",
-       1565:  "winddlb",
-       1566:  "corelvideo",
-       1567:  "jlicelmd",
-       1568:  "tsspmap",
-       1569:  "ets",
-       1570:  "orbixd",
-       1571:  "rdb-dbs-disp",
-       1572:  "chip-lm",
-       1573:  "itscomm-ns",
-       1574:  "mvel-lm",
-       1575:  "oraclenames",
-       1576:  "moldflow-lm",
-       1577:  "hypercube-lm",
-       1578:  "jacobus-lm",
-       1579:  "ioc-sea-lm",
-       1580:  "tn-tl-r2",
-       1581:  "mil-2045-47001",
-       1582:  "msims",
-       1583:  "simbaexpress",
-       1584:  "tn-tl-fd2",
-       1585:  "intv",
-       1586:  "ibm-abtact",
-       1587:  "pra-elmd",
-       1588:  "triquest-lm",
-       1589:  "vqp",
-       1590:  "gemini-lm",
-       1591:  "ncpm-pm",
-       1592:  "commonspace",
-       1593:  "mainsoft-lm",
-       1594:  "sixtrak",
-       1595:  "radio",
-       1596:  "radio-bc",
-       1597:  "orbplus-iiop",
-       1598:  "picknfs",
-       1599:  "simbaservices",
-       1600:  "issd",
-       1601:  "aas",
-       1602:  "inspect",
-       1603:  "picodbc",
-       1604:  "icabrowser",
-       1605:  "slp",
-       1606:  "slm-api",
-       1607:  "stt",
-       1608:  "smart-lm",
-       1609:  "isysg-lm",
-       1610:  "taurus-wh",
-       1611:  "ill",
-       1612:  "netbill-trans",
-       1613:  "netbill-keyrep",
-       1614:  "netbill-cred",
-       1615:  "netbill-auth",
-       1616:  "netbill-prod",
-       1617:  "nimrod-agent",
-       1618:  "skytelnet",
-       1619:  "xs-openstorage",
-       1620:  "faxportwinport",
-       1621:  "softdataphone",
-       1622:  "ontime",
-       1623:  "jaleosnd",
-       1624:  "udp-sr-port",
-       1625:  "svs-omagent",
-       1626:  "shockwave",
-       1627:  "t128-gateway",
-       1628:  "lontalk-norm",
-       1629:  "lontalk-urgnt",
-       1630:  "oraclenet8cman",
-       1631:  "visitview",
-       1632:  "pammratc",
-       1633:  "pammrpc",
-       1634:  "loaprobe",
-       1635:  "edb-server1",
-       1636:  "isdc",
-       1637:  "islc",
-       1638:  "ismc",
-       1639:  "cert-initiator",
-       1640:  "cert-responder",
-       1641:  "invision",
-       1642:  "isis-am",
-       1643:  "isis-ambc",
-       1644:  "saiseh",
-       1645:  "sightline",
-       1646:  "sa-msg-port",
-       1647:  "rsap",
-       1648:  "concurrent-lm",
-       1649:  "kermit",
-       1650:  "nkd",
-       1651:  "shiva-confsrvr",
-       1652:  "xnmp",
-       1653:  "alphatech-lm",
-       1654:  "stargatealerts",
-       1655:  "dec-mbadmin",
-       1656:  "dec-mbadmin-h",
-       1657:  "fujitsu-mmpdc",
-       1658:  "sixnetudr",
-       1659:  "sg-lm",
-       1660:  "skip-mc-gikreq",
-       1661:  "netview-aix-1",
-       1662:  "netview-aix-2",
-       1663:  "netview-aix-3",
-       1664:  "netview-aix-4",
-       1665:  "netview-aix-5",
-       1666:  "netview-aix-6",
-       1667:  "netview-aix-7",
-       1668:  "netview-aix-8",
-       1669:  "netview-aix-9",
-       1670:  "netview-aix-10",
-       1671:  "netview-aix-11",
-       1672:  "netview-aix-12",
-       1673:  "proshare-mc-1",
-       1674:  "proshare-mc-2",
-       1675:  "pdp",
-       1676:  "netcomm2",
-       1677:  "groupwise",
-       1678:  "prolink",
-       1679:  "darcorp-lm",
-       1680:  "microcom-sbp",
-       1681:  "sd-elmd",
-       1682:  "lanyon-lantern",
-       1683:  "ncpm-hip",
-       1684:  "snaresecure",
-       1685:  "n2nremote",
-       1686:  "cvmon",
-       1687:  "nsjtp-ctrl",
-       1688:  "nsjtp-data",
-       1689:  "firefox",
-       1690:  "ng-umds",
-       1691:  "empire-empuma",
-       1692:  "sstsys-lm",
-       1693:  "rrirtr",
-       1694:  "rrimwm",
-       1695:  "rrilwm",
-       1696:  "rrifmm",
-       1697:  "rrisat",
-       1698:  "rsvp-encap-1",
-       1699:  "rsvp-encap-2",
-       1700:  "mps-raft",
-       1701:  "l2f",
-       1702:  "deskshare",
-       1703:  "hb-engine",
-       1704:  "bcs-broker",
-       1705:  "slingshot",
-       1706:  "jetform",
-       1707:  "vdmplay",
-       1708:  "gat-lmd",
-       1709:  "centra",
-       1710:  "impera",
-       1711:  "pptconference",
-       1712:  "registrar",
-       1713:  "conferencetalk",
-       1714:  "sesi-lm",
-       1715:  "houdini-lm",
-       1716:  "xmsg",
-       1717:  "fj-hdnet",
-       1718:  "h323gatedisc",
-       1719:  "h323gatestat",
-       1720:  "h323hostcall",
-       1721:  "caicci",
-       1722:  "hks-lm",
-       1723:  "pptp",
-       1724:  "csbphonemaster",
-       1725:  "iden-ralp",
-       1726:  "iberiagames",
-       1727:  "winddx",
-       1728:  "telindus",
-       1729:  "citynl",
-       1730:  "roketz",
-       1731:  "msiccp",
-       1732:  "proxim",
-       1733:  "siipat",
-       1734:  "cambertx-lm",
-       1735:  "privatechat",
-       1736:  "street-stream",
-       1737:  "ultimad",
-       1738:  "gamegen1",
-       1739:  "webaccess",
-       1740:  "encore",
-       1741:  "cisco-net-mgmt",
-       1742:  "3Com-nsd",
-       1743:  "cinegrfx-lm",
-       1744:  "ncpm-ft",
-       1745:  "remote-winsock",
-       1746:  "ftrapid-1",
-       1747:  "ftrapid-2",
-       1748:  "oracle-em1",
-       1749:  "aspen-services",
-       1750:  "sslp",
-       1751:  "swiftnet",
-       1752:  "lofr-lm",
-       1754:  "oracle-em2",
-       1755:  "ms-streaming",
-       1756:  "capfast-lmd",
-       1757:  "cnhrp",
-       1758:  "tftp-mcast",
-       1759:  "spss-lm",
-       1760:  "www-ldap-gw",
-       1761:  "cft-0",
-       1762:  "cft-1",
-       1763:  "cft-2",
-       1764:  "cft-3",
-       1765:  "cft-4",
-       1766:  "cft-5",
-       1767:  "cft-6",
-       1768:  "cft-7",
-       1769:  "bmc-net-adm",
-       1770:  "bmc-net-svc",
-       1771:  "vaultbase",
-       1772:  "essweb-gw",
-       1773:  "kmscontrol",
-       1774:  "global-dtserv",
-       1776:  "femis",
-       1777:  "powerguardian",
-       1778:  "prodigy-intrnet",
-       1779:  "pharmasoft",
-       1780:  "dpkeyserv",
-       1781:  "answersoft-lm",
-       1782:  "hp-hcip",
-       1784:  "finle-lm",
-       1785:  "windlm",
-       1786:  "funk-logger",
-       1787:  "funk-license",
-       1788:  "psmond",
-       1789:  "hello",
-       1790:  "nmsp",
-       1791:  "ea1",
-       1792:  "ibm-dt-2",
-       1793:  "rsc-robot",
-       1794:  "cera-bcm",
-       1795:  "dpi-proxy",
-       1796:  "vocaltec-admin",
-       1797:  "uma",
-       1798:  "etp",
-       1799:  "netrisk",
-       1800:  "ansys-lm",
-       1801:  "msmq",
-       1802:  "concomp1",
-       1803:  "hp-hcip-gwy",
-       1804:  "enl",
-       1805:  "enl-name",
-       1806:  "musiconline",
-       1807:  "fhsp",
-       1808:  "oracle-vp2",
-       1809:  "oracle-vp1",
-       1810:  "jerand-lm",
-       1811:  "scientia-sdb",
-       1812:  "radius",
-       1813:  "radius-acct",
-       1814:  "tdp-suite",
-       1815:  "mmpft",
-       1816:  "harp",
-       1817:  "rkb-oscs",
-       1818:  "etftp",
-       1819:  "plato-lm",
-       1820:  "mcagent",
-       1821:  "donnyworld",
-       1822:  "es-elmd",
-       1823:  "unisys-lm",
-       1824:  "metrics-pas",
-       1825:  "direcpc-video",
-       1826:  "ardt",
-       1827:  "asi",
-       1828:  "itm-mcell-u",
-       1829:  "optika-emedia",
-       1830:  "net8-cman",
-       1831:  "myrtle",
-       1832:  "tht-treasure",
-       1833:  "udpradio",
-       1834:  "ardusuni",
-       1835:  "ardusmul",
-       1836:  "ste-smsc",
-       1837:  "csoft1",
-       1838:  "talnet",
-       1839:  "netopia-vo1",
-       1840:  "netopia-vo2",
-       1841:  "netopia-vo3",
-       1842:  "netopia-vo4",
-       1843:  "netopia-vo5",
-       1844:  "direcpc-dll",
-       1845:  "altalink",
-       1846:  "tunstall-pnc",
-       1847:  "slp-notify",
-       1848:  "fjdocdist",
-       1849:  "alpha-sms",
-       1850:  "gsi",
-       1851:  "ctcd",
-       1852:  "virtual-time",
-       1853:  "vids-avtp",
-       1854:  "buddy-draw",
-       1855:  "fiorano-rtrsvc",
-       1856:  "fiorano-msgsvc",
-       1857:  "datacaptor",
-       1858:  "privateark",
-       1859:  "gammafetchsvr",
-       1860:  "sunscalar-svc",
-       1861:  "lecroy-vicp",
-       1862:  "mysql-cm-agent",
-       1863:  "msnp",
-       1864:  "paradym-31port",
-       1865:  "entp",
-       1866:  "swrmi",
-       1867:  "udrive",
-       1868:  "viziblebrowser",
-       1869:  "transact",
-       1870:  "sunscalar-dns",
-       1871:  "canocentral0",
-       1872:  "canocentral1",
-       1873:  "fjmpjps",
-       1874:  "fjswapsnp",
-       1875:  "westell-stats",
-       1876:  "ewcappsrv",
-       1877:  "hp-webqosdb",
-       1878:  "drmsmc",
-       1879:  "nettgain-nms",
-       1880:  "vsat-control",
-       1881:  "ibm-mqseries2",
-       1882:  "ecsqdmn",
-       1883:  "mqtt",
-       1884:  "idmaps",
-       1885:  "vrtstrapserver",
-       1886:  "leoip",
-       1887:  "filex-lport",
-       1888:  "ncconfig",
-       1889:  "unify-adapter",
-       1890:  "wilkenlistener",
-       1891:  "childkey-notif",
-       1892:  "childkey-ctrl",
-       1893:  "elad",
-       1894:  "o2server-port",
-       1896:  "b-novative-ls",
-       1897:  "metaagent",
-       1898:  "cymtec-port",
-       1899:  "mc2studios",
-       1900:  "ssdp",
-       1901:  "fjicl-tep-a",
-       1902:  "fjicl-tep-b",
-       1903:  "linkname",
-       1904:  "fjicl-tep-c",
-       1905:  "sugp",
-       1906:  "tpmd",
-       1907:  "intrastar",
-       1908:  "dawn",
-       1909:  "global-wlink",
-       1910:  "ultrabac",
-       1911:  "mtp",
-       1912:  "rhp-iibp",
-       1913:  "armadp",
-       1914:  "elm-momentum",
-       1915:  "facelink",
-       1916:  "persona",
-       1917:  "noagent",
-       1918:  "can-nds",
-       1919:  "can-dch",
-       1920:  "can-ferret",
-       1921:  "noadmin",
-       1922:  "tapestry",
-       1923:  "spice",
-       1924:  "xiip",
-       1925:  "discovery-port",
-       1926:  "egs",
-       1927:  "videte-cipc",
-       1928:  "emsd-port",
-       1929:  "bandwiz-system",
-       1930:  "driveappserver",
-       1931:  "amdsched",
-       1932:  "ctt-broker",
-       1933:  "xmapi",
-       1934:  "xaapi",
-       1935:  "macromedia-fcs",
-       1936:  "jetcmeserver",
-       1937:  "jwserver",
-       1938:  "jwclient",
-       1939:  "jvserver",
-       1940:  "jvclient",
-       1941:  "dic-aida",
-       1942:  "res",
-       1943:  "beeyond-media",
-       1944:  "close-combat",
-       1945:  "dialogic-elmd",
-       1946:  "tekpls",
-       1947:  "sentinelsrm",
-       1948:  "eye2eye",
-       1949:  "ismaeasdaqlive",
-       1950:  "ismaeasdaqtest",
-       1951:  "bcs-lmserver",
-       1952:  "mpnjsc",
-       1953:  "rapidbase",
-       1954:  "abr-api",
-       1955:  "abr-secure",
-       1956:  "vrtl-vmf-ds",
-       1957:  "unix-status",
-       1958:  "dxadmind",
-       1959:  "simp-all",
-       1960:  "nasmanager",
-       1961:  "bts-appserver",
-       1962:  "biap-mp",
-       1963:  "webmachine",
-       1964:  "solid-e-engine",
-       1965:  "tivoli-npm",
-       1966:  "slush",
-       1967:  "sns-quote",
-       1968:  "lipsinc",
-       1969:  "lipsinc1",
-       1970:  "netop-rc",
-       1971:  "netop-school",
-       1972:  "intersys-cache",
-       1973:  "dlsrap",
-       1974:  "drp",
-       1975:  "tcoflashagent",
-       1976:  "tcoregagent",
-       1977:  "tcoaddressbook",
-       1978:  "unisql",
-       1979:  "unisql-java",
-       1980:  "pearldoc-xact",
-       1981:  "p2pq",
-       1982:  "estamp",
-       1983:  "lhtp",
-       1984:  "bb",
-       1985:  "hsrp",
-       1986:  "licensedaemon",
-       1987:  "tr-rsrb-p1",
-       1988:  "tr-rsrb-p2",
-       1989:  "tr-rsrb-p3",
-       1990:  "stun-p1",
-       1991:  "stun-p2",
-       1992:  "stun-p3",
-       1993:  "snmp-tcp-port",
-       1994:  "stun-port",
-       1995:  "perf-port",
-       1996:  "tr-rsrb-port",
-       1997:  "gdp-port",
-       1998:  "x25-svc-port",
-       1999:  "tcp-id-port",
-       2000:  "cisco-sccp",
-       2001:  "wizard",
-       2002:  "globe",
-       2003:  "brutus",
-       2004:  "emce",
-       2005:  "oracle",
-       2006:  "raid-cd",
-       2007:  "raid-am",
-       2008:  "terminaldb",
-       2009:  "whosockami",
-       2010:  "pipe-server",
-       2011:  "servserv",
-       2012:  "raid-ac",
-       2013:  "raid-cd",
-       2014:  "raid-sf",
-       2015:  "raid-cs",
-       2016:  "bootserver",
-       2017:  "bootclient",
-       2018:  "rellpack",
-       2019:  "about",
-       2020:  "xinupageserver",
-       2021:  "xinuexpansion1",
-       2022:  "xinuexpansion2",
-       2023:  "xinuexpansion3",
-       2024:  "xinuexpansion4",
-       2025:  "xribs",
-       2026:  "scrabble",
-       2027:  "shadowserver",
-       2028:  "submitserver",
-       2029:  "hsrpv6",
-       2030:  "device2",
-       2031:  "mobrien-chat",
-       2032:  "blackboard",
-       2033:  "glogger",
-       2034:  "scoremgr",
-       2035:  "imsldoc",
-       2036:  "e-dpnet",
-       2037:  "applus",
-       2038:  "objectmanager",
-       2039:  "prizma",
-       2040:  "lam",
-       2041:  "interbase",
-       2042:  "isis",
-       2043:  "isis-bcast",
-       2044:  "rimsl",
-       2045:  "cdfunc",
-       2046:  "sdfunc",
-       2047:  "dls",
-       2048:  "dls-monitor",
-       2049:  "shilp",
-       2050:  "av-emb-config",
-       2051:  "epnsdp",
-       2052:  "clearvisn",
-       2053:  "lot105-ds-upd",
-       2054:  "weblogin",
-       2055:  "iop",
-       2056:  "omnisky",
-       2057:  "rich-cp",
-       2058:  "newwavesearch",
-       2059:  "bmc-messaging",
-       2060:  "teleniumdaemon",
-       2061:  "netmount",
-       2062:  "icg-swp",
-       2063:  "icg-bridge",
-       2064:  "icg-iprelay",
-       2065:  "dlsrpn",
-       2066:  "aura",
-       2067:  "dlswpn",
-       2068:  "avauthsrvprtcl",
-       2069:  "event-port",
-       2070:  "ah-esp-encap",
-       2071:  "acp-port",
-       2072:  "msync",
-       2073:  "gxs-data-port",
-       2074:  "vrtl-vmf-sa",
-       2075:  "newlixengine",
-       2076:  "newlixconfig",
-       2077:  "tsrmagt",
-       2078:  "tpcsrvr",
-       2079:  "idware-router",
-       2080:  "autodesk-nlm",
-       2081:  "kme-trap-port",
-       2082:  "infowave",
-       2083:  "radsec",
-       2084:  "sunclustergeo",
-       2085:  "ada-cip",
-       2086:  "gnunet",
-       2087:  "eli",
-       2088:  "ip-blf",
-       2089:  "sep",
-       2090:  "lrp",
-       2091:  "prp",
-       2092:  "descent3",
-       2093:  "nbx-cc",
-       2094:  "nbx-au",
-       2095:  "nbx-ser",
-       2096:  "nbx-dir",
-       2097:  "jetformpreview",
-       2098:  "dialog-port",
-       2099:  "h2250-annex-g",
-       2100:  "amiganetfs",
-       2101:  "rtcm-sc104",
-       2102:  "zephyr-srv",
-       2103:  "zephyr-clt",
-       2104:  "zephyr-hm",
-       2105:  "minipay",
-       2106:  "mzap",
-       2107:  "bintec-admin",
-       2108:  "comcam",
-       2109:  "ergolight",
-       2110:  "umsp",
-       2111:  "dsatp",
-       2112:  "idonix-metanet",
-       2113:  "hsl-storm",
-       2114:  "newheights",
-       2115:  "kdm",
-       2116:  "ccowcmr",
-       2117:  "mentaclient",
-       2118:  "mentaserver",
-       2119:  "gsigatekeeper",
-       2120:  "qencp",
-       2121:  "scientia-ssdb",
-       2122:  "caupc-remote",
-       2123:  "gtp-control",
-       2124:  "elatelink",
-       2125:  "lockstep",
-       2126:  "pktcable-cops",
-       2127:  "index-pc-wb",
-       2128:  "net-steward",
-       2129:  "cs-live",
-       2130:  "xds",
-       2131:  "avantageb2b",
-       2132:  "solera-epmap",
-       2133:  "zymed-zpp",
-       2134:  "avenue",
-       2135:  "gris",
-       2136:  "appworxsrv",
-       2137:  "connect",
-       2138:  "unbind-cluster",
-       2139:  "ias-auth",
-       2140:  "ias-reg",
-       2141:  "ias-admind",
-       2142:  "tdmoip",
-       2143:  "lv-jc",
-       2144:  "lv-ffx",
-       2145:  "lv-pici",
-       2146:  "lv-not",
-       2147:  "lv-auth",
-       2148:  "veritas-ucl",
-       2149:  "acptsys",
-       2150:  "dynamic3d",
-       2151:  "docent",
-       2152:  "gtp-user",
-       2153:  "ctlptc",
-       2154:  "stdptc",
-       2155:  "brdptc",
-       2156:  "trp",
-       2157:  "xnds",
-       2158:  "touchnetplus",
-       2159:  "gdbremote",
-       2160:  "apc-2160",
-       2161:  "apc-2161",
-       2162:  "navisphere",
-       2163:  "navisphere-sec",
-       2164:  "ddns-v3",
-       2165:  "x-bone-api",
-       2166:  "iwserver",
-       2167:  "raw-serial",
-       2168:  "easy-soft-mux",
-       2169:  "brain",
-       2170:  "eyetv",
-       2171:  "msfw-storage",
-       2172:  "msfw-s-storage",
-       2173:  "msfw-replica",
-       2174:  "msfw-array",
-       2175:  "airsync",
-       2176:  "rapi",
-       2177:  "qwave",
-       2178:  "bitspeer",
-       2179:  "vmrdp",
-       2180:  "mc-gt-srv",
-       2181:  "eforward",
-       2182:  "cgn-stat",
-       2183:  "cgn-config",
-       2184:  "nvd",
-       2185:  "onbase-dds",
-       2186:  "gtaua",
-       2187:  "ssmd",
-       2190:  "tivoconnect",
-       2191:  "tvbus",
-       2192:  "asdis",
-       2193:  "drwcs",
-       2197:  "mnp-exchange",
-       2198:  "onehome-remote",
-       2199:  "onehome-help",
-       2200:  "ici",
-       2201:  "ats",
-       2202:  "imtc-map",
-       2203:  "b2-runtime",
-       2204:  "b2-license",
-       2205:  "jps",
-       2206:  "hpocbus",
-       2207:  "hpssd",
-       2208:  "hpiod",
-       2209:  "rimf-ps",
-       2210:  "noaaport",
-       2211:  "emwin",
-       2212:  "leecoposserver",
-       2213:  "kali",
-       2214:  "rpi",
-       2215:  "ipcore",
-       2216:  "vtu-comms",
-       2217:  "gotodevice",
-       2218:  "bounzza",
-       2219:  "netiq-ncap",
-       2220:  "netiq",
-       2221:  "ethernet-ip-s",
-       2222:  "EtherNet-IP-1",
-       2223:  "rockwell-csp2",
-       2224:  "efi-mg",
-       2226:  "di-drm",
-       2227:  "di-msg",
-       2228:  "ehome-ms",
-       2229:  "datalens",
-       2230:  "queueadm",
-       2231:  "wimaxasncp",
-       2232:  "ivs-video",
-       2233:  "infocrypt",
-       2234:  "directplay",
-       2235:  "sercomm-wlink",
-       2236:  "nani",
-       2237:  "optech-port1-lm",
-       2238:  "aviva-sna",
-       2239:  "imagequery",
-       2240:  "recipe",
-       2241:  "ivsd",
-       2242:  "foliocorp",
-       2243:  "magicom",
-       2244:  "nmsserver",
-       2245:  "hao",
-       2246:  "pc-mta-addrmap",
-       2247:  "antidotemgrsvr",
-       2248:  "ums",
-       2249:  "rfmp",
-       2250:  "remote-collab",
-       2251:  "dif-port",
-       2252:  "njenet-ssl",
-       2253:  "dtv-chan-req",
-       2254:  "seispoc",
-       2255:  "vrtp",
-       2256:  "pcc-mfp",
-       2257:  "simple-tx-rx",
-       2258:  "rcts",
-       2260:  "apc-2260",
-       2261:  "comotionmaster",
-       2262:  "comotionback",
-       2263:  "ecwcfg",
-       2264:  "apx500api-1",
-       2265:  "apx500api-2",
-       2266:  "mfserver",
-       2267:  "ontobroker",
-       2268:  "amt",
-       2269:  "mikey",
-       2270:  "starschool",
-       2271:  "mmcals",
-       2272:  "mmcal",
-       2273:  "mysql-im",
-       2274:  "pcttunnell",
-       2275:  "ibridge-data",
-       2276:  "ibridge-mgmt",
-       2277:  "bluectrlproxy",
-       2278:  "s3db",
-       2279:  "xmquery",
-       2280:  "lnvpoller",
-       2281:  "lnvconsole",
-       2282:  "lnvalarm",
-       2283:  "lnvstatus",
-       2284:  "lnvmaps",
-       2285:  "lnvmailmon",
-       2286:  "nas-metering",
-       2287:  "dna",
-       2288:  "netml",
-       2289:  "dict-lookup",
-       2290:  "sonus-logging",
-       2291:  "eapsp",
-       2292:  "mib-streaming",
-       2293:  "npdbgmngr",
-       2294:  "konshus-lm",
-       2295:  "advant-lm",
-       2296:  "theta-lm",
-       2297:  "d2k-datamover1",
-       2298:  "d2k-datamover2",
-       2299:  "pc-telecommute",
-       2300:  "cvmmon",
-       2301:  "cpq-wbem",
-       2302:  "binderysupport",
-       2303:  "proxy-gateway",
-       2304:  "attachmate-uts",
-       2305:  "mt-scaleserver",
-       2306:  "tappi-boxnet",
-       2307:  "pehelp",
-       2308:  "sdhelp",
-       2309:  "sdserver",
-       2310:  "sdclient",
-       2311:  "messageservice",
-       2312:  "wanscaler",
-       2313:  "iapp",
-       2314:  "cr-websystems",
-       2315:  "precise-sft",
-       2316:  "sent-lm",
-       2317:  "attachmate-g32",
-       2318:  "cadencecontrol",
-       2319:  "infolibria",
-       2320:  "siebel-ns",
-       2321:  "rdlap",
-       2322:  "ofsd",
-       2323:  "3d-nfsd",
-       2324:  "cosmocall",
-       2325:  "ansysli",
-       2326:  "idcp",
-       2327:  "xingcsm",
-       2328:  "netrix-sftm",
-       2329:  "nvd",
-       2330:  "tscchat",
-       2331:  "agentview",
-       2332:  "rcc-host",
-       2333:  "snapp",
-       2334:  "ace-client",
-       2335:  "ace-proxy",
-       2336:  "appleugcontrol",
-       2337:  "ideesrv",
-       2338:  "norton-lambert",
-       2339:  "3com-webview",
-       2340:  "wrs-registry",
-       2341:  "xiostatus",
-       2342:  "manage-exec",
-       2343:  "nati-logos",
-       2344:  "fcmsys",
-       2345:  "dbm",
-       2346:  "redstorm-join",
-       2347:  "redstorm-find",
-       2348:  "redstorm-info",
-       2349:  "redstorm-diag",
-       2350:  "psbserver",
-       2351:  "psrserver",
-       2352:  "pslserver",
-       2353:  "pspserver",
-       2354:  "psprserver",
-       2355:  "psdbserver",
-       2356:  "gxtelmd",
-       2357:  "unihub-server",
-       2358:  "futrix",
-       2359:  "flukeserver",
-       2360:  "nexstorindltd",
-       2361:  "tl1",
-       2362:  "digiman",
-       2363:  "mediacntrlnfsd",
-       2364:  "oi-2000",
-       2365:  "dbref",
-       2366:  "qip-login",
-       2367:  "service-ctrl",
-       2368:  "opentable",
-       2370:  "l3-hbmon",
-       2372:  "lanmessenger",
-       2381:  "compaq-https",
-       2382:  "ms-olap3",
-       2383:  "ms-olap4",
-       2384:  "sd-capacity",
-       2385:  "sd-data",
-       2386:  "virtualtape",
-       2387:  "vsamredirector",
-       2388:  "mynahautostart",
-       2389:  "ovsessionmgr",
-       2390:  "rsmtp",
-       2391:  "3com-net-mgmt",
-       2392:  "tacticalauth",
-       2393:  "ms-olap1",
-       2394:  "ms-olap2",
-       2395:  "lan900-remote",
-       2396:  "wusage",
-       2397:  "ncl",
-       2398:  "orbiter",
-       2399:  "fmpro-fdal",
-       2400:  "opequus-server",
-       2401:  "cvspserver",
-       2402:  "taskmaster2000",
-       2403:  "taskmaster2000",
-       2404:  "iec-104",
-       2405:  "trc-netpoll",
-       2406:  "jediserver",
-       2407:  "orion",
-       2409:  "sns-protocol",
-       2410:  "vrts-registry",
-       2411:  "netwave-ap-mgmt",
-       2412:  "cdn",
-       2413:  "orion-rmi-reg",
-       2414:  "beeyond",
-       2415:  "codima-rtp",
-       2416:  "rmtserver",
-       2417:  "composit-server",
-       2418:  "cas",
-       2419:  "attachmate-s2s",
-       2420:  "dslremote-mgmt",
-       2421:  "g-talk",
-       2422:  "crmsbits",
-       2423:  "rnrp",
-       2424:  "kofax-svr",
-       2425:  "fjitsuappmgr",
-       2426:  "vcmp",
-       2427:  "mgcp-gateway",
-       2428:  "ott",
-       2429:  "ft-role",
-       2430:  "venus",
-       2431:  "venus-se",
-       2432:  "codasrv",
-       2433:  "codasrv-se",
-       2434:  "pxc-epmap",
-       2435:  "optilogic",
-       2436:  "topx",
-       2437:  "unicontrol",
-       2438:  "msp",
-       2439:  "sybasedbsynch",
-       2440:  "spearway",
-       2441:  "pvsw-inet",
-       2442:  "netangel",
-       2443:  "powerclientcsf",
-       2444:  "btpp2sectrans",
-       2445:  "dtn1",
-       2446:  "bues-service",
-       2447:  "ovwdb",
-       2448:  "hpppssvr",
-       2449:  "ratl",
-       2450:  "netadmin",
-       2451:  "netchat",
-       2452:  "snifferclient",
-       2453:  "madge-ltd",
-       2454:  "indx-dds",
-       2455:  "wago-io-system",
-       2456:  "altav-remmgt",
-       2457:  "rapido-ip",
-       2458:  "griffin",
-       2459:  "community",
-       2460:  "ms-theater",
-       2461:  "qadmifoper",
-       2462:  "qadmifevent",
-       2463:  "lsi-raid-mgmt",
-       2464:  "direcpc-si",
-       2465:  "lbm",
-       2466:  "lbf",
-       2467:  "high-criteria",
-       2468:  "qip-msgd",
-       2469:  "mti-tcs-comm",
-       2470:  "taskman-port",
-       2471:  "seaodbc",
-       2472:  "c3",
-       2473:  "aker-cdp",
-       2474:  "vitalanalysis",
-       2475:  "ace-server",
-       2476:  "ace-svr-prop",
-       2477:  "ssm-cvs",
-       2478:  "ssm-cssps",
-       2479:  "ssm-els",
-       2480:  "powerexchange",
-       2481:  "giop",
-       2482:  "giop-ssl",
-       2483:  "ttc",
-       2484:  "ttc-ssl",
-       2485:  "netobjects1",
-       2486:  "netobjects2",
-       2487:  "pns",
-       2488:  "moy-corp",
-       2489:  "tsilb",
-       2490:  "qip-qdhcp",
-       2491:  "conclave-cpp",
-       2492:  "groove",
-       2493:  "talarian-mqs",
-       2494:  "bmc-ar",
-       2495:  "fast-rem-serv",
-       2496:  "dirgis",
-       2497:  "quaddb",
-       2498:  "odn-castraq",
-       2499:  "unicontrol",
-       2500:  "rtsserv",
-       2501:  "rtsclient",
-       2502:  "kentrox-prot",
-       2503:  "nms-dpnss",
-       2504:  "wlbs",
-       2505:  "ppcontrol",
-       2506:  "jbroker",
-       2507:  "spock",
-       2508:  "jdatastore",
-       2509:  "fjmpss",
-       2510:  "fjappmgrbulk",
-       2511:  "metastorm",
-       2512:  "citrixima",
-       2513:  "citrixadmin",
-       2514:  "facsys-ntp",
-       2515:  "facsys-router",
-       2516:  "maincontrol",
-       2517:  "call-sig-trans",
-       2518:  "willy",
-       2519:  "globmsgsvc",
-       2520:  "pvsw",
-       2521:  "adaptecmgr",
-       2522:  "windb",
-       2523:  "qke-llc-v3",
-       2524:  "optiwave-lm",
-       2525:  "ms-v-worlds",
-       2526:  "ema-sent-lm",
-       2527:  "iqserver",
-       2528:  "ncr-ccl",
-       2529:  "utsftp",
-       2530:  "vrcommerce",
-       2531:  "ito-e-gui",
-       2532:  "ovtopmd",
-       2533:  "snifferserver",
-       2534:  "combox-web-acc",
-       2535:  "madcap",
-       2536:  "btpp2audctr1",
-       2537:  "upgrade",
-       2538:  "vnwk-prapi",
-       2539:  "vsiadmin",
-       2540:  "lonworks",
-       2541:  "lonworks2",
-       2542:  "udrawgraph",
-       2543:  "reftek",
-       2544:  "novell-zen",
-       2545:  "sis-emt",
-       2546:  "vytalvaultbrtp",
-       2547:  "vytalvaultvsmp",
-       2548:  "vytalvaultpipe",
-       2549:  "ipass",
-       2550:  "ads",
-       2551:  "isg-uda-server",
-       2552:  "call-logging",
-       2553:  "efidiningport",
-       2554:  "vcnet-link-v10",
-       2555:  "compaq-wcp",
-       2556:  "nicetec-nmsvc",
-       2557:  "nicetec-mgmt",
-       2558:  "pclemultimedia",
-       2559:  "lstp",
-       2560:  "labrat",
-       2561:  "mosaixcc",
-       2562:  "delibo",
-       2563:  "cti-redwood",
-       2564:  "hp-3000-telnet",
-       2565:  "coord-svr",
-       2566:  "pcs-pcw",
-       2567:  "clp",
-       2568:  "spamtrap",
-       2569:  "sonuscallsig",
-       2570:  "hs-port",
-       2571:  "cecsvc",
-       2572:  "ibp",
-       2573:  "trustestablish",
-       2574:  "blockade-bpsp",
-       2575:  "hl7",
-       2576:  "tclprodebugger",
-       2577:  "scipticslsrvr",
-       2578:  "rvs-isdn-dcp",
-       2579:  "mpfoncl",
-       2580:  "tributary",
-       2581:  "argis-te",
-       2582:  "argis-ds",
-       2583:  "mon",
-       2584:  "cyaserv",
-       2585:  "netx-server",
-       2586:  "netx-agent",
-       2587:  "masc",
-       2588:  "privilege",
-       2589:  "quartus-tcl",
-       2590:  "idotdist",
-       2591:  "maytagshuffle",
-       2592:  "netrek",
-       2593:  "mns-mail",
-       2594:  "dts",
-       2595:  "worldfusion1",
-       2596:  "worldfusion2",
-       2597:  "homesteadglory",
-       2598:  "citriximaclient",
-       2599:  "snapd",
-       2600:  "hpstgmgr",
-       2601:  "discp-client",
-       2602:  "discp-server",
-       2603:  "servicemeter",
-       2604:  "nsc-ccs",
-       2605:  "nsc-posa",
-       2606:  "netmon",
-       2607:  "connection",
-       2608:  "wag-service",
-       2609:  "system-monitor",
-       2610:  "versa-tek",
-       2611:  "lionhead",
-       2612:  "qpasa-agent",
-       2613:  "smntubootstrap",
-       2614:  "neveroffline",
-       2615:  "firepower",
-       2616:  "appswitch-emp",
-       2617:  "cmadmin",
-       2618:  "priority-e-com",
-       2619:  "bruce",
-       2620:  "lpsrecommender",
-       2621:  "miles-apart",
-       2622:  "metricadbc",
-       2623:  "lmdp",
-       2624:  "aria",
-       2625:  "blwnkl-port",
-       2626:  "gbjd816",
-       2627:  "moshebeeri",
-       2628:  "dict",
-       2629:  "sitaraserver",
-       2630:  "sitaramgmt",
-       2631:  "sitaradir",
-       2632:  "irdg-post",
-       2633:  "interintelli",
-       2634:  "pk-electronics",
-       2635:  "backburner",
-       2636:  "solve",
-       2637:  "imdocsvc",
-       2638:  "sybaseanywhere",
-       2639:  "aminet",
-       2640:  "ami-control",
-       2641:  "hdl-srv",
-       2642:  "tragic",
-       2643:  "gte-samp",
-       2644:  "travsoft-ipx-t",
-       2645:  "novell-ipx-cmd",
-       2646:  "and-lm",
-       2647:  "syncserver",
-       2648:  "upsnotifyprot",
-       2649:  "vpsipport",
-       2650:  "eristwoguns",
-       2651:  "ebinsite",
-       2652:  "interpathpanel",
-       2653:  "sonus",
-       2654:  "corel-vncadmin",
-       2655:  "unglue",
-       2656:  "kana",
-       2657:  "sns-dispatcher",
-       2658:  "sns-admin",
-       2659:  "sns-query",
-       2660:  "gcmonitor",
-       2661:  "olhost",
-       2662:  "bintec-capi",
-       2663:  "bintec-tapi",
-       2664:  "patrol-mq-gm",
-       2665:  "patrol-mq-nm",
-       2666:  "extensis",
-       2667:  "alarm-clock-s",
-       2668:  "alarm-clock-c",
-       2669:  "toad",
-       2670:  "tve-announce",
-       2671:  "newlixreg",
-       2672:  "nhserver",
-       2673:  "firstcall42",
-       2674:  "ewnn",
-       2675:  "ttc-etap",
-       2676:  "simslink",
-       2677:  "gadgetgate1way",
-       2678:  "gadgetgate2way",
-       2679:  "syncserverssl",
-       2680:  "pxc-sapxom",
-       2681:  "mpnjsomb",
-       2683:  "ncdloadbalance",
-       2684:  "mpnjsosv",
-       2685:  "mpnjsocl",
-       2686:  "mpnjsomg",
-       2687:  "pq-lic-mgmt",
-       2688:  "md-cg-http",
-       2689:  "fastlynx",
-       2690:  "hp-nnm-data",
-       2691:  "itinternet",
-       2692:  "admins-lms",
-       2694:  "pwrsevent",
-       2695:  "vspread",
-       2696:  "unifyadmin",
-       2697:  "oce-snmp-trap",
-       2698:  "mck-ivpip",
-       2699:  "csoft-plusclnt",
-       2700:  "tqdata",
-       2701:  "sms-rcinfo",
-       2702:  "sms-xfer",
-       2703:  "sms-chat",
-       2704:  "sms-remctrl",
-       2705:  "sds-admin",
-       2706:  "ncdmirroring",
-       2707:  "emcsymapiport",
-       2708:  "banyan-net",
-       2709:  "supermon",
-       2710:  "sso-service",
-       2711:  "sso-control",
-       2712:  "aocp",
-       2713:  "raventbs",
-       2714:  "raventdm",
-       2715:  "hpstgmgr2",
-       2716:  "inova-ip-disco",
-       2717:  "pn-requester",
-       2718:  "pn-requester2",
-       2719:  "scan-change",
-       2720:  "wkars",
-       2721:  "smart-diagnose",
-       2722:  "proactivesrvr",
-       2723:  "watchdog-nt",
-       2724:  "qotps",
-       2725:  "msolap-ptp2",
-       2726:  "tams",
-       2727:  "mgcp-callagent",
-       2728:  "sqdr",
-       2729:  "tcim-control",
-       2730:  "nec-raidplus",
-       2731:  "fyre-messanger",
-       2732:  "g5m",
-       2733:  "signet-ctf",
-       2734:  "ccs-software",
-       2735:  "netiq-mc",
-       2736:  "radwiz-nms-srv",
-       2737:  "srp-feedback",
-       2738:  "ndl-tcp-ois-gw",
-       2739:  "tn-timing",
-       2740:  "alarm",
-       2741:  "tsb",
-       2742:  "tsb2",
-       2743:  "murx",
-       2744:  "honyaku",
-       2745:  "urbisnet",
-       2746:  "cpudpencap",
-       2747:  "fjippol-swrly",
-       2748:  "fjippol-polsvr",
-       2749:  "fjippol-cnsl",
-       2750:  "fjippol-port1",
-       2751:  "fjippol-port2",
-       2752:  "rsisysaccess",
-       2753:  "de-spot",
-       2754:  "apollo-cc",
-       2755:  "expresspay",
-       2756:  "simplement-tie",
-       2757:  "cnrp",
-       2758:  "apollo-status",
-       2759:  "apollo-gms",
-       2760:  "sabams",
-       2761:  "dicom-iscl",
-       2762:  "dicom-tls",
-       2763:  "desktop-dna",
-       2764:  "data-insurance",
-       2765:  "qip-audup",
-       2766:  "compaq-scp",
-       2767:  "uadtc",
-       2768:  "uacs",
-       2769:  "exce",
-       2770:  "veronica",
-       2771:  "vergencecm",
-       2772:  "auris",
-       2773:  "rbakcup1",
-       2774:  "rbakcup2",
-       2775:  "smpp",
-       2776:  "ridgeway1",
-       2777:  "ridgeway2",
-       2778:  "gwen-sonya",
-       2779:  "lbc-sync",
-       2780:  "lbc-control",
-       2781:  "whosells",
-       2782:  "everydayrc",
-       2783:  "aises",
-       2784:  "www-dev",
-       2785:  "aic-np",
-       2786:  "aic-oncrpc",
-       2787:  "piccolo",
-       2788:  "fryeserv",
-       2789:  "media-agent",
-       2790:  "plgproxy",
-       2791:  "mtport-regist",
-       2792:  "f5-globalsite",
-       2793:  "initlsmsad",
-       2795:  "livestats",
-       2796:  "ac-tech",
-       2797:  "esp-encap",
-       2798:  "tmesis-upshot",
-       2799:  "icon-discover",
-       2800:  "acc-raid",
-       2801:  "igcp",
-       2802:  "veritas-udp1",
-       2803:  "btprjctrl",
-       2804:  "dvr-esm",
-       2805:  "wta-wsp-s",
-       2806:  "cspuni",
-       2807:  "cspmulti",
-       2808:  "j-lan-p",
-       2809:  "corbaloc",
-       2810:  "netsteward",
-       2811:  "gsiftp",
-       2812:  "atmtcp",
-       2813:  "llm-pass",
-       2814:  "llm-csv",
-       2815:  "lbc-measure",
-       2816:  "lbc-watchdog",
-       2817:  "nmsigport",
-       2818:  "rmlnk",
-       2819:  "fc-faultnotify",
-       2820:  "univision",
-       2821:  "vrts-at-port",
-       2822:  "ka0wuc",
-       2823:  "cqg-netlan",
-       2824:  "cqg-netlan-1",
-       2826:  "slc-systemlog",
-       2827:  "slc-ctrlrloops",
-       2828:  "itm-lm",
-       2829:  "silkp1",
-       2830:  "silkp2",
-       2831:  "silkp3",
-       2832:  "silkp4",
-       2833:  "glishd",
-       2834:  "evtp",
-       2835:  "evtp-data",
-       2836:  "catalyst",
-       2837:  "repliweb",
-       2838:  "starbot",
-       2839:  "nmsigport",
-       2840:  "l3-exprt",
-       2841:  "l3-ranger",
-       2842:  "l3-hawk",
-       2843:  "pdnet",
-       2844:  "bpcp-poll",
-       2845:  "bpcp-trap",
-       2846:  "aimpp-hello",
-       2847:  "aimpp-port-req",
-       2848:  "amt-blc-port",
-       2849:  "fxp",
-       2850:  "metaconsole",
-       2851:  "webemshttp",
-       2852:  "bears-01",
-       2853:  "ispipes",
-       2854:  "infomover",
-       2856:  "cesdinv",
-       2857:  "simctlp",
-       2858:  "ecnp",
-       2859:  "activememory",
-       2860:  "dialpad-voice1",
-       2861:  "dialpad-voice2",
-       2862:  "ttg-protocol",
-       2863:  "sonardata",
-       2864:  "astromed-main",
-       2865:  "pit-vpn",
-       2866:  "iwlistener",
-       2867:  "esps-portal",
-       2868:  "npep-messaging",
-       2869:  "icslap",
-       2870:  "daishi",
-       2871:  "msi-selectplay",
-       2872:  "radix",
-       2874:  "dxmessagebase1",
-       2875:  "dxmessagebase2",
-       2876:  "sps-tunnel",
-       2877:  "bluelance",
-       2878:  "aap",
-       2879:  "ucentric-ds",
-       2880:  "synapse",
-       2881:  "ndsp",
-       2882:  "ndtp",
-       2883:  "ndnp",
-       2884:  "flashmsg",
-       2885:  "topflow",
-       2886:  "responselogic",
-       2887:  "aironetddp",
-       2888:  "spcsdlobby",
-       2889:  "rsom",
-       2890:  "cspclmulti",
-       2891:  "cinegrfx-elmd",
-       2892:  "snifferdata",
-       2893:  "vseconnector",
-       2894:  "abacus-remote",
-       2895:  "natuslink",
-       2896:  "ecovisiong6-1",
-       2897:  "citrix-rtmp",
-       2898:  "appliance-cfg",
-       2899:  "powergemplus",
-       2900:  "quicksuite",
-       2901:  "allstorcns",
-       2902:  "netaspi",
-       2903:  "suitcase",
-       2904:  "m2ua",
-       2906:  "caller9",
-       2907:  "webmethods-b2b",
-       2908:  "mao",
-       2909:  "funk-dialout",
-       2910:  "tdaccess",
-       2911:  "blockade",
-       2912:  "epicon",
-       2913:  "boosterware",
-       2914:  "gamelobby",
-       2915:  "tksocket",
-       2916:  "elvin-server",
-       2917:  "elvin-client",
-       2918:  "kastenchasepad",
-       2919:  "roboer",
-       2920:  "roboeda",
-       2921:  "cesdcdman",
-       2922:  "cesdcdtrn",
-       2923:  "wta-wsp-wtp-s",
-       2924:  "precise-vip",
-       2926:  "mobile-file-dl",
-       2927:  "unimobilectrl",
-       2928:  "redstone-cpss",
-       2929:  "amx-webadmin",
-       2930:  "amx-weblinx",
-       2931:  "circle-x",
-       2932:  "incp",
-       2933:  "4-tieropmgw",
-       2934:  "4-tieropmcli",
-       2935:  "qtp",
-       2936:  "otpatch",
-       2937:  "pnaconsult-lm",
-       2938:  "sm-pas-1",
-       2939:  "sm-pas-2",
-       2940:  "sm-pas-3",
-       2941:  "sm-pas-4",
-       2942:  "sm-pas-5",
-       2943:  "ttnrepository",
-       2944:  "megaco-h248",
-       2945:  "h248-binary",
-       2946:  "fjsvmpor",
-       2947:  "gpsd",
-       2948:  "wap-push",
-       2949:  "wap-pushsecure",
-       2950:  "esip",
-       2951:  "ottp",
-       2952:  "mpfwsas",
-       2953:  "ovalarmsrv",
-       2954:  "ovalarmsrv-cmd",
-       2955:  "csnotify",
-       2956:  "ovrimosdbman",
-       2957:  "jmact5",
-       2958:  "jmact6",
-       2959:  "rmopagt",
-       2960:  "dfoxserver",
-       2961:  "boldsoft-lm",
-       2962:  "iph-policy-cli",
-       2963:  "iph-policy-adm",
-       2964:  "bullant-srap",
-       2965:  "bullant-rap",
-       2966:  "idp-infotrieve",
-       2967:  "ssc-agent",
-       2968:  "enpp",
-       2969:  "essp",
-       2970:  "index-net",
-       2971:  "netclip",
-       2972:  "pmsm-webrctl",
-       2973:  "svnetworks",
-       2974:  "signal",
-       2975:  "fjmpcm",
-       2976:  "cns-srv-port",
-       2977:  "ttc-etap-ns",
-       2978:  "ttc-etap-ds",
-       2979:  "h263-video",
-       2980:  "wimd",
-       2981:  "mylxamport",
-       2982:  "iwb-whiteboard",
-       2983:  "netplan",
-       2984:  "hpidsadmin",
-       2985:  "hpidsagent",
-       2986:  "stonefalls",
-       2987:  "identify",
-       2988:  "hippad",
-       2989:  "zarkov",
-       2990:  "boscap",
-       2991:  "wkstn-mon",
-       2992:  "avenyo",
-       2993:  "veritas-vis1",
-       2994:  "veritas-vis2",
-       2995:  "idrs",
-       2996:  "vsixml",
-       2997:  "rebol",
-       2998:  "realsecure",
-       2999:  "remoteware-un",
-       3000:  "hbci",
-       3002:  "exlm-agent",
-       3003:  "cgms",
-       3004:  "csoftragent",
-       3005:  "geniuslm",
-       3006:  "ii-admin",
-       3007:  "lotusmtap",
-       3008:  "midnight-tech",
-       3009:  "pxc-ntfy",
-       3010:  "ping-pong",
-       3011:  "trusted-web",
-       3012:  "twsdss",
-       3013:  "gilatskysurfer",
-       3014:  "broker-service",
-       3015:  "nati-dstp",
-       3016:  "notify-srvr",
-       3017:  "event-listener",
-       3018:  "srvc-registry",
-       3019:  "resource-mgr",
-       3020:  "cifs",
-       3021:  "agriserver",
-       3022:  "csregagent",
-       3023:  "magicnotes",
-       3024:  "nds-sso",
-       3025:  "arepa-raft",
-       3026:  "agri-gateway",
-       3027:  "LiebDevMgmt-C",
-       3028:  "LiebDevMgmt-DM",
-       3029:  "LiebDevMgmt-A",
-       3030:  "arepa-cas",
-       3031:  "eppc",
-       3032:  "redwood-chat",
-       3033:  "pdb",
-       3034:  "osmosis-aeea",
-       3035:  "fjsv-gssagt",
-       3036:  "hagel-dump",
-       3037:  "hp-san-mgmt",
-       3038:  "santak-ups",
-       3039:  "cogitate",
-       3040:  "tomato-springs",
-       3041:  "di-traceware",
-       3042:  "journee",
-       3043:  "brp",
-       3044:  "epp",
-       3045:  "responsenet",
-       3046:  "di-ase",
-       3047:  "hlserver",
-       3048:  "pctrader",
-       3049:  "nsws",
-       3050:  "gds-db",
-       3051:  "galaxy-server",
-       3052:  "apc-3052",
-       3053:  "dsom-server",
-       3054:  "amt-cnf-prot",
-       3055:  "policyserver",
-       3056:  "cdl-server",
-       3057:  "goahead-fldup",
-       3058:  "videobeans",
-       3059:  "qsoft",
-       3060:  "interserver",
-       3061:  "cautcpd",
-       3062:  "ncacn-ip-tcp",
-       3063:  "ncadg-ip-udp",
-       3064:  "rprt",
-       3065:  "slinterbase",
-       3066:  "netattachsdmp",
-       3067:  "fjhpjp",
-       3068:  "ls3bcast",
-       3069:  "ls3",
-       3070:  "mgxswitch",
-       3072:  "csd-monitor",
-       3073:  "vcrp",
-       3074:  "xbox",
-       3075:  "orbix-locator",
-       3076:  "orbix-config",
-       3077:  "orbix-loc-ssl",
-       3078:  "orbix-cfg-ssl",
-       3079:  "lv-frontpanel",
-       3080:  "stm-pproc",
-       3081:  "tl1-lv",
-       3082:  "tl1-raw",
-       3083:  "tl1-telnet",
-       3084:  "itm-mccs",
-       3085:  "pcihreq",
-       3086:  "jdl-dbkitchen",
-       3087:  "asoki-sma",
-       3088:  "xdtp",
-       3089:  "ptk-alink",
-       3090:  "stss",
-       3091:  "1ci-smcs",
-       3093:  "rapidmq-center",
-       3094:  "rapidmq-reg",
-       3095:  "panasas",
-       3096:  "ndl-aps",
-       3098:  "umm-port",
-       3099:  "chmd",
-       3100:  "opcon-xps",
-       3101:  "hp-pxpib",
-       3102:  "slslavemon",
-       3103:  "autocuesmi",
-       3104:  "autocuetime",
-       3105:  "cardbox",
-       3106:  "cardbox-http",
-       3107:  "business",
-       3108:  "geolocate",
-       3109:  "personnel",
-       3110:  "sim-control",
-       3111:  "wsynch",
-       3112:  "ksysguard",
-       3113:  "cs-auth-svr",
-       3114:  "ccmad",
-       3115:  "mctet-master",
-       3116:  "mctet-gateway",
-       3117:  "mctet-jserv",
-       3118:  "pkagent",
-       3119:  "d2000kernel",
-       3120:  "d2000webserver",
-       3122:  "vtr-emulator",
-       3123:  "edix",
-       3124:  "beacon-port",
-       3125:  "a13-an",
-       3127:  "ctx-bridge",
-       3128:  "ndl-aas",
-       3129:  "netport-id",
-       3130:  "icpv2",
-       3131:  "netbookmark",
-       3132:  "ms-rule-engine",
-       3133:  "prism-deploy",
-       3134:  "ecp",
-       3135:  "peerbook-port",
-       3136:  "grubd",
-       3137:  "rtnt-1",
-       3138:  "rtnt-2",
-       3139:  "incognitorv",
-       3140:  "ariliamulti",
-       3141:  "vmodem",
-       3142:  "rdc-wh-eos",
-       3143:  "seaview",
-       3144:  "tarantella",
-       3145:  "csi-lfap",
-       3146:  "bears-02",
-       3147:  "rfio",
-       3148:  "nm-game-admin",
-       3149:  "nm-game-server",
-       3150:  "nm-asses-admin",
-       3151:  "nm-assessor",
-       3152:  "feitianrockey",
-       3153:  "s8-client-port",
-       3154:  "ccmrmi",
-       3155:  "jpegmpeg",
-       3156:  "indura",
-       3157:  "e3consultants",
-       3158:  "stvp",
-       3159:  "navegaweb-port",
-       3160:  "tip-app-server",
-       3161:  "doc1lm",
-       3162:  "sflm",
-       3163:  "res-sap",
-       3164:  "imprs",
-       3165:  "newgenpay",
-       3166:  "sossecollector",
-       3167:  "nowcontact",
-       3168:  "poweronnud",
-       3169:  "serverview-as",
-       3170:  "serverview-asn",
-       3171:  "serverview-gf",
-       3172:  "serverview-rm",
-       3173:  "serverview-icc",
-       3174:  "armi-server",
-       3175:  "t1-e1-over-ip",
-       3176:  "ars-master",
-       3177:  "phonex-port",
-       3178:  "radclientport",
-       3179:  "h2gf-w-2m",
-       3180:  "mc-brk-srv",
-       3181:  "bmcpatrolagent",
-       3182:  "bmcpatrolrnvu",
-       3183:  "cops-tls",
-       3184:  "apogeex-port",
-       3185:  "smpppd",
-       3186:  "iiw-port",
-       3187:  "odi-port",
-       3188:  "brcm-comm-port",
-       3189:  "pcle-infex",
-       3190:  "csvr-proxy",
-       3191:  "csvr-sslproxy",
-       3192:  "firemonrcc",
-       3193:  "spandataport",
-       3194:  "magbind",
-       3195:  "ncu-1",
-       3196:  "ncu-2",
-       3197:  "embrace-dp-s",
-       3198:  "embrace-dp-c",
-       3199:  "dmod-workspace",
-       3200:  "tick-port",
-       3201:  "cpq-tasksmart",
-       3202:  "intraintra",
-       3203:  "netwatcher-mon",
-       3204:  "netwatcher-db",
-       3205:  "isns",
-       3206:  "ironmail",
-       3207:  "vx-auth-port",
-       3208:  "pfu-prcallback",
-       3209:  "netwkpathengine",
-       3210:  "flamenco-proxy",
-       3211:  "avsecuremgmt",
-       3212:  "surveyinst",
-       3213:  "neon24x7",
-       3214:  "jmq-daemon-1",
-       3215:  "jmq-daemon-2",
-       3216:  "ferrari-foam",
-       3217:  "unite",
-       3218:  "smartpackets",
-       3219:  "wms-messenger",
-       3220:  "xnm-ssl",
-       3221:  "xnm-clear-text",
-       3222:  "glbp",
-       3223:  "digivote",
-       3224:  "aes-discovery",
-       3225:  "fcip-port",
-       3226:  "isi-irp",
-       3227:  "dwnmshttp",
-       3228:  "dwmsgserver",
-       3229:  "global-cd-port",
-       3230:  "sftdst-port",
-       3231:  "vidigo",
-       3232:  "mdtp",
-       3233:  "whisker",
-       3234:  "alchemy",
-       3235:  "mdap-port",
-       3236:  "apparenet-ts",
-       3237:  "apparenet-tps",
-       3238:  "apparenet-as",
-       3239:  "apparenet-ui",
-       3240:  "triomotion",
-       3241:  "sysorb",
-       3242:  "sdp-id-port",
-       3243:  "timelot",
-       3244:  "onesaf",
-       3245:  "vieo-fe",
-       3246:  "dvt-system",
-       3247:  "dvt-data",
-       3248:  "procos-lm",
-       3249:  "ssp",
-       3250:  "hicp",
-       3251:  "sysscanner",
-       3252:  "dhe",
-       3253:  "pda-data",
-       3254:  "pda-sys",
-       3255:  "semaphore",
-       3256:  "cpqrpm-agent",
-       3257:  "cpqrpm-server",
-       3258:  "ivecon-port",
-       3259:  "epncdp2",
-       3260:  "iscsi-target",
-       3261:  "winshadow",
-       3262:  "necp",
-       3263:  "ecolor-imager",
-       3264:  "ccmail",
-       3265:  "altav-tunnel",
-       3266:  "ns-cfg-server",
-       3267:  "ibm-dial-out",
-       3268:  "msft-gc",
-       3269:  "msft-gc-ssl",
-       3270:  "verismart",
-       3271:  "csoft-prev",
-       3272:  "user-manager",
-       3273:  "sxmp",
-       3274:  "ordinox-server",
-       3275:  "samd",
-       3276:  "maxim-asics",
-       3277:  "awg-proxy",
-       3278:  "lkcmserver",
-       3279:  "admind",
-       3280:  "vs-server",
-       3281:  "sysopt",
-       3282:  "datusorb",
-       3283:  "Apple Remote Desktop (Net Assistant)",
-       3284:  "4talk",
-       3285:  "plato",
-       3286:  "e-net",
-       3287:  "directvdata",
-       3288:  "cops",
-       3289:  "enpc",
-       3290:  "caps-lm",
-       3291:  "sah-lm",
-       3292:  "cart-o-rama",
-       3293:  "fg-fps",
-       3294:  "fg-gip",
-       3295:  "dyniplookup",
-       3296:  "rib-slm",
-       3297:  "cytel-lm",
-       3298:  "deskview",
-       3299:  "pdrncs",
-       3302:  "mcs-fastmail",
-       3303:  "opsession-clnt",
-       3304:  "opsession-srvr",
-       3305:  "odette-ftp",
-       3306:  "mysql",
-       3307:  "opsession-prxy",
-       3308:  "tns-server",
-       3309:  "tns-adv",
-       3310:  "dyna-access",
-       3311:  "mcns-tel-ret",
-       3312:  "appman-server",
-       3313:  "uorb",
-       3314:  "uohost",
-       3315:  "cdid",
-       3316:  "aicc-cmi",
-       3317:  "vsaiport",
-       3318:  "ssrip",
-       3319:  "sdt-lmd",
-       3320:  "officelink2000",
-       3321:  "vnsstr",
-       3326:  "sftu",
-       3327:  "bbars",
-       3328:  "egptlm",
-       3329:  "hp-device-disc",
-       3330:  "mcs-calypsoicf",
-       3331:  "mcs-messaging",
-       3332:  "mcs-mailsvr",
-       3333:  "dec-notes",
-       3334:  "directv-web",
-       3335:  "directv-soft",
-       3336:  "directv-tick",
-       3337:  "directv-catlg",
-       3338:  "anet-b",
-       3339:  "anet-l",
-       3340:  "anet-m",
-       3341:  "anet-h",
-       3342:  "webtie",
-       3343:  "ms-cluster-net",
-       3344:  "bnt-manager",
-       3345:  "influence",
-       3346:  "trnsprntproxy",
-       3347:  "phoenix-rpc",
-       3348:  "pangolin-laser",
-       3349:  "chevinservices",
-       3350:  "findviatv",
-       3351:  "btrieve",
-       3352:  "ssql",
-       3353:  "fatpipe",
-       3354:  "suitjd",
-       3355:  "ordinox-dbase",
-       3356:  "upnotifyps",
-       3357:  "adtech-test",
-       3358:  "mpsysrmsvr",
-       3359:  "wg-netforce",
-       3360:  "kv-server",
-       3361:  "kv-agent",
-       3362:  "dj-ilm",
-       3363:  "nati-vi-server",
-       3364:  "creativeserver",
-       3365:  "contentserver",
-       3366:  "creativepartnr",
-       3372:  "tip2",
-       3373:  "lavenir-lm",
-       3374:  "cluster-disc",
-       3375:  "vsnm-agent",
-       3376:  "cdbroker",
-       3377:  "cogsys-lm",
-       3378:  "wsicopy",
-       3379:  "socorfs",
-       3380:  "sns-channels",
-       3381:  "geneous",
-       3382:  "fujitsu-neat",
-       3383:  "esp-lm",
-       3384:  "hp-clic",
-       3385:  "qnxnetman",
-       3386:  "gprs-sig",
-       3387:  "backroomnet",
-       3388:  "cbserver",
-       3389:  "ms-wbt-server",
-       3390:  "dsc",
-       3391:  "savant",
-       3392:  "efi-lm",
-       3393:  "d2k-tapestry1",
-       3394:  "d2k-tapestry2",
-       3395:  "dyna-lm",
-       3396:  "printer-agent",
-       3397:  "cloanto-lm",
-       3398:  "mercantile",
-       3399:  "csms",
-       3400:  "csms2",
-       3401:  "filecast",
-       3402:  "fxaengine-net",
-       3405:  "nokia-ann-ch1",
-       3406:  "nokia-ann-ch2",
-       3407:  "ldap-admin",
-       3408:  "BESApi",
-       3409:  "networklens",
-       3410:  "networklenss",
-       3411:  "biolink-auth",
-       3412:  "xmlblaster",
-       3413:  "svnet",
-       3414:  "wip-port",
-       3415:  "bcinameservice",
-       3416:  "commandport",
-       3417:  "csvr",
-       3418:  "rnmap",
-       3419:  "softaudit",
-       3420:  "ifcp-port",
-       3421:  "bmap",
-       3422:  "rusb-sys-port",
-       3423:  "xtrm",
-       3424:  "xtrms",
-       3425:  "agps-port",
-       3426:  "arkivio",
-       3427:  "websphere-snmp",
-       3428:  "twcss",
-       3429:  "gcsp",
-       3430:  "ssdispatch",
-       3431:  "ndl-als",
-       3432:  "osdcp",
-       3433:  "opnet-smp",
-       3434:  "opencm",
-       3435:  "pacom",
-       3436:  "gc-config",
-       3437:  "autocueds",
-       3438:  "spiral-admin",
-       3439:  "hri-port",
-       3440:  "ans-console",
-       3441:  "connect-client",
-       3442:  "connect-server",
-       3443:  "ov-nnm-websrv",
-       3444:  "denali-server",
-       3445:  "monp",
-       3446:  "3comfaxrpc",
-       3447:  "directnet",
-       3448:  "dnc-port",
-       3449:  "hotu-chat",
-       3450:  "castorproxy",
-       3451:  "asam",
-       3452:  "sabp-signal",
-       3453:  "pscupd",
-       3454:  "mira",
-       3455:  "prsvp",
-       3456:  "vat",
-       3457:  "vat-control",
-       3458:  "d3winosfi",
-       3459:  "integral",
-       3460:  "edm-manager",
-       3461:  "edm-stager",
-       3462:  "edm-std-notify",
-       3463:  "edm-adm-notify",
-       3464:  "edm-mgr-sync",
-       3465:  "edm-mgr-cntrl",
-       3466:  "workflow",
-       3467:  "rcst",
-       3468:  "ttcmremotectrl",
-       3469:  "pluribus",
-       3470:  "jt400",
-       3471:  "jt400-ssl",
-       3472:  "jaugsremotec-1",
-       3473:  "jaugsremotec-2",
-       3474:  "ttntspauto",
-       3475:  "genisar-port",
-       3476:  "nppmp",
-       3477:  "ecomm",
-       3478:  "stun",
-       3479:  "twrpc",
-       3480:  "plethora",
-       3481:  "cleanerliverc",
-       3482:  "vulture",
-       3483:  "slim-devices",
-       3484:  "gbs-stp",
-       3485:  "celatalk",
-       3486:  "ifsf-hb-port",
-       3487:  "ltcudp",
-       3488:  "fs-rh-srv",
-       3489:  "dtp-dia",
-       3490:  "colubris",
-       3491:  "swr-port",
-       3492:  "tvdumtray-port",
-       3493:  "nut",
-       3494:  "ibm3494",
-       3495:  "seclayer-tcp",
-       3496:  "seclayer-tls",
-       3497:  "ipether232port",
-       3498:  "dashpas-port",
-       3499:  "sccip-media",
-       3500:  "rtmp-port",
-       3501:  "isoft-p2p",
-       3502:  "avinstalldisc",
-       3503:  "lsp-ping",
-       3504:  "ironstorm",
-       3505:  "ccmcomm",
-       3506:  "apc-3506",
-       3507:  "nesh-broker",
-       3508:  "interactionweb",
-       3509:  "vt-ssl",
-       3510:  "xss-port",
-       3511:  "webmail-2",
-       3512:  "aztec",
-       3513:  "arcpd",
-       3514:  "must-p2p",
-       3515:  "must-backplane",
-       3516:  "smartcard-port",
-       3517:  "802-11-iapp",
-       3518:  "artifact-msg",
-       3519:  "galileo",
-       3520:  "galileolog",
-       3521:  "mc3ss",
-       3522:  "nssocketport",
-       3523:  "odeumservlink",
-       3524:  "ecmport",
-       3525:  "eisport",
-       3526:  "starquiz-port",
-       3527:  "beserver-msg-q",
-       3528:  "jboss-iiop",
-       3529:  "jboss-iiop-ssl",
-       3530:  "gf",
-       3531:  "joltid",
-       3532:  "raven-rmp",
-       3533:  "raven-rdp",
-       3534:  "urld-port",
-       3535:  "ms-la",
-       3536:  "snac",
-       3537:  "ni-visa-remote",
-       3538:  "ibm-diradm",
-       3539:  "ibm-diradm-ssl",
-       3540:  "pnrp-port",
-       3541:  "voispeed-port",
-       3542:  "hacl-monitor",
-       3543:  "qftest-lookup",
-       3544:  "teredo",
-       3545:  "camac",
-       3547:  "symantec-sim",
-       3548:  "interworld",
-       3549:  "tellumat-nms",
-       3550:  "ssmpp",
-       3551:  "apcupsd",
-       3552:  "taserver",
-       3553:  "rbr-discovery",
-       3554:  "questnotify",
-       3555:  "razor",
-       3556:  "sky-transport",
-       3557:  "personalos-001",
-       3558:  "mcp-port",
-       3559:  "cctv-port",
-       3560:  "iniserve-port",
-       3561:  "bmc-onekey",
-       3562:  "sdbproxy",
-       3563:  "watcomdebug",
-       3564:  "esimport",
-       3567:  "dof-eps",
-       3568:  "dof-tunnel-sec",
-       3569:  "mbg-ctrl",
-       3570:  "mccwebsvr-port",
-       3571:  "megardsvr-port",
-       3572:  "megaregsvrport",
-       3573:  "tag-ups-1",
-       3574:  "dmaf-caster",
-       3575:  "ccm-port",
-       3576:  "cmc-port",
-       3577:  "config-port",
-       3578:  "data-port",
-       3579:  "ttat3lb",
-       3580:  "nati-svrloc",
-       3581:  "kfxaclicensing",
-       3582:  "press",
-       3583:  "canex-watch",
-       3584:  "u-dbap",
-       3585:  "emprise-lls",
-       3586:  "emprise-lsc",
-       3587:  "p2pgroup",
-       3588:  "sentinel",
-       3589:  "isomair",
-       3590:  "wv-csp-sms",
-       3591:  "gtrack-server",
-       3592:  "gtrack-ne",
-       3593:  "bpmd",
-       3594:  "mediaspace",
-       3595:  "shareapp",
-       3596:  "iw-mmogame",
-       3597:  "a14",
-       3598:  "a15",
-       3599:  "quasar-server",
-       3600:  "trap-daemon",
-       3601:  "visinet-gui",
-       3602:  "infiniswitchcl",
-       3603:  "int-rcv-cntrl",
-       3604:  "bmc-jmx-port",
-       3605:  "comcam-io",
-       3606:  "splitlock",
-       3607:  "precise-i3",
-       3608:  "trendchip-dcp",
-       3609:  "cpdi-pidas-cm",
-       3610:  "echonet",
-       3611:  "six-degrees",
-       3612:  "hp-dataprotect",
-       3613:  "alaris-disc",
-       3614:  "sigma-port",
-       3615:  "start-network",
-       3616:  "cd3o-protocol",
-       3617:  "sharp-server",
-       3618:  "aairnet-1",
-       3619:  "aairnet-2",
-       3620:  "ep-pcp",
-       3621:  "ep-nsp",
-       3622:  "ff-lr-port",
-       3623:  "haipe-discover",
-       3624:  "dist-upgrade",
-       3625:  "volley",
-       3626:  "bvcdaemon-port",
-       3627:  "jamserverport",
-       3628:  "ept-machine",
-       3629:  "escvpnet",
-       3630:  "cs-remote-db",
-       3631:  "cs-services",
-       3632:  "distcc",
-       3633:  "wacp",
-       3634:  "hlibmgr",
-       3635:  "sdo",
-       3636:  "servistaitsm",
-       3637:  "scservp",
-       3638:  "ehp-backup",
-       3639:  "xap-ha",
-       3640:  "netplay-port1",
-       3641:  "netplay-port2",
-       3642:  "juxml-port",
-       3643:  "audiojuggler",
-       3644:  "ssowatch",
-       3645:  "cyc",
-       3646:  "xss-srv-port",
-       3647:  "splitlock-gw",
-       3648:  "fjcp",
-       3649:  "nmmp",
-       3650:  "prismiq-plugin",
-       3651:  "xrpc-registry",
-       3652:  "vxcrnbuport",
-       3653:  "tsp",
-       3654:  "vaprtm",
-       3655:  "abatemgr",
-       3656:  "abatjss",
-       3657:  "immedianet-bcn",
-       3658:  "ps-ams",
-       3659:  "apple-sasl",
-       3660:  "can-nds-ssl",
-       3661:  "can-ferret-ssl",
-       3662:  "pserver",
-       3663:  "dtp",
-       3664:  "ups-engine",
-       3665:  "ent-engine",
-       3666:  "eserver-pap",
-       3667:  "infoexch",
-       3668:  "dell-rm-port",
-       3669:  "casanswmgmt",
-       3670:  "smile",
-       3671:  "efcp",
-       3672:  "lispworks-orb",
-       3673:  "mediavault-gui",
-       3674:  "wininstall-ipc",
-       3675:  "calltrax",
-       3676:  "va-pacbase",
-       3677:  "roverlog",
-       3678:  "ipr-dglt",
-       3679:  "Escale (Newton Dock)",
-       3680:  "npds-tracker",
-       3681:  "bts-x73",
-       3682:  "cas-mapi",
-       3683:  "bmc-ea",
-       3684:  "faxstfx-port",
-       3685:  "dsx-agent",
-       3686:  "tnmpv2",
-       3687:  "simple-push",
-       3688:  "simple-push-s",
-       3689:  "daap",
-       3690:  "svn",
-       3691:  "magaya-network",
-       3692:  "intelsync",
-       3695:  "bmc-data-coll",
-       3696:  "telnetcpcd",
-       3697:  "nw-license",
-       3698:  "sagectlpanel",
-       3699:  "kpn-icw",
-       3700:  "lrs-paging",
-       3701:  "netcelera",
-       3702:  "ws-discovery",
-       3703:  "adobeserver-3",
-       3704:  "adobeserver-4",
-       3705:  "adobeserver-5",
-       3706:  "rt-event",
-       3707:  "rt-event-s",
-       3708:  "sun-as-iiops",
-       3709:  "ca-idms",
-       3710:  "portgate-auth",
-       3711:  "edb-server2",
-       3712:  "sentinel-ent",
-       3713:  "tftps",
-       3714:  "delos-dms",
-       3715:  "anoto-rendezv",
-       3716:  "wv-csp-sms-cir",
-       3717:  "wv-csp-udp-cir",
-       3718:  "opus-services",
-       3719:  "itelserverport",
-       3720:  "ufastro-instr",
-       3721:  "xsync",
-       3722:  "xserveraid",
-       3723:  "sychrond",
-       3724:  "blizwow",
-       3725:  "na-er-tip",
-       3726:  "array-manager",
-       3727:  "e-mdu",
-       3728:  "e-woa",
-       3729:  "fksp-audit",
-       3730:  "client-ctrl",
-       3731:  "smap",
-       3732:  "m-wnn",
-       3733:  "multip-msg",
-       3734:  "synel-data",
-       3735:  "pwdis",
-       3736:  "rs-rmi",
-       3738:  "versatalk",
-       3739:  "launchbird-lm",
-       3740:  "heartbeat",
-       3741:  "wysdma",
-       3742:  "cst-port",
-       3743:  "ipcs-command",
-       3744:  "sasg",
-       3745:  "gw-call-port",
-       3746:  "linktest",
-       3747:  "linktest-s",
-       3748:  "webdata",
-       3749:  "cimtrak",
-       3750:  "cbos-ip-port",
-       3751:  "gprs-cube",
-       3752:  "vipremoteagent",
-       3753:  "nattyserver",
-       3754:  "timestenbroker",
-       3755:  "sas-remote-hlp",
-       3756:  "canon-capt",
-       3757:  "grf-port",
-       3758:  "apw-registry",
-       3759:  "exapt-lmgr",
-       3760:  "adtempusclient",
-       3761:  "gsakmp",
-       3762:  "gbs-smp",
-       3763:  "xo-wave",
-       3764:  "mni-prot-rout",
-       3765:  "rtraceroute",
-       3767:  "listmgr-port",
-       3768:  "rblcheckd",
-       3769:  "haipe-otnk",
-       3770:  "cindycollab",
-       3771:  "paging-port",
-       3772:  "ctp",
-       3773:  "ctdhercules",
-       3774:  "zicom",
-       3775:  "ispmmgr",
-       3776:  "dvcprov-port",
-       3777:  "jibe-eb",
-       3778:  "c-h-it-port",
-       3779:  "cognima",
-       3780:  "nnp",
-       3781:  "abcvoice-port",
-       3782:  "iso-tp0s",
-       3783:  "bim-pem",
-       3784:  "bfd-control",
-       3785:  "bfd-echo",
-       3786:  "upstriggervsw",
-       3787:  "fintrx",
-       3788:  "isrp-port",
-       3789:  "remotedeploy",
-       3790:  "quickbooksrds",
-       3791:  "tvnetworkvideo",
-       3792:  "sitewatch",
-       3793:  "dcsoftware",
-       3794:  "jaus",
-       3795:  "myblast",
-       3796:  "spw-dialer",
-       3797:  "idps",
-       3798:  "minilock",
-       3799:  "radius-dynauth",
-       3800:  "pwgpsi",
-       3801:  "ibm-mgr",
-       3802:  "vhd",
-       3803:  "soniqsync",
-       3804:  "iqnet-port",
-       3805:  "tcpdataserver",
-       3806:  "wsmlb",
-       3807:  "spugna",
-       3808:  "sun-as-iiops-ca",
-       3809:  "apocd",
-       3810:  "wlanauth",
-       3811:  "amp",
-       3812:  "neto-wol-server",
-       3813:  "rap-ip",
-       3814:  "neto-dcs",
-       3815:  "lansurveyorxml",
-       3816:  "sunlps-http",
-       3817:  "tapeware",
-       3818:  "crinis-hb",
-       3819:  "epl-slp",
-       3820:  "scp",
-       3821:  "pmcp",
-       3822:  "acp-discovery",
-       3823:  "acp-conduit",
-       3824:  "acp-policy",
-       3825:  "ffserver",
-       3826:  "warmux",
-       3827:  "netmpi",
-       3828:  "neteh",
-       3829:  "neteh-ext",
-       3830:  "cernsysmgmtagt",
-       3831:  "dvapps",
-       3832:  "xxnetserver",
-       3833:  "aipn-auth",
-       3834:  "spectardata",
-       3835:  "spectardb",
-       3836:  "markem-dcp",
-       3837:  "mkm-discovery",
-       3838:  "sos",
-       3839:  "amx-rms",
-       3840:  "flirtmitmir",
-       3842:  "nhci",
-       3843:  "quest-agent",
-       3844:  "rnm",
-       3845:  "v-one-spp",
-       3846:  "an-pcp",
-       3847:  "msfw-control",
-       3848:  "item",
-       3849:  "spw-dnspreload",
-       3850:  "qtms-bootstrap",
-       3851:  "spectraport",
-       3852:  "sse-app-config",
-       3853:  "sscan",
-       3854:  "stryker-com",
-       3855:  "opentrac",
-       3856:  "informer",
-       3857:  "trap-port",
-       3858:  "trap-port-mom",
-       3859:  "nav-port",
-       3860:  "sasp",
-       3861:  "winshadow-hd",
-       3862:  "giga-pocket",
-       3863:  "asap-udp",
-       3865:  "xpl",
-       3866:  "dzdaemon",
-       3867:  "dzoglserver",
-       3869:  "ovsam-mgmt",
-       3870:  "ovsam-d-agent",
-       3871:  "avocent-adsap",
-       3872:  "oem-agent",
-       3873:  "fagordnc",
-       3874:  "sixxsconfig",
-       3875:  "pnbscada",
-       3876:  "dl-agent",
-       3877:  "xmpcr-interface",
-       3878:  "fotogcad",
-       3879:  "appss-lm",
-       3880:  "igrs",
-       3881:  "idac",
-       3882:  "msdts1",
-       3883:  "vrpn",
-       3884:  "softrack-meter",
-       3885:  "topflow-ssl",
-       3886:  "nei-management",
-       3887:  "ciphire-data",
-       3888:  "ciphire-serv",
-       3889:  "dandv-tester",
-       3890:  "ndsconnect",
-       3891:  "rtc-pm-port",
-       3892:  "pcc-image-port",
-       3893:  "cgi-starapi",
-       3894:  "syam-agent",
-       3895:  "syam-smc",
-       3896:  "sdo-tls",
-       3897:  "sdo-ssh",
-       3898:  "senip",
-       3899:  "itv-control",
-       3900:  "udt-os",
-       3901:  "nimsh",
-       3902:  "nimaux",
-       3903:  "charsetmgr",
-       3904:  "omnilink-port",
-       3905:  "mupdate",
-       3906:  "topovista-data",
-       3907:  "imoguia-port",
-       3908:  "hppronetman",
-       3909:  "surfcontrolcpa",
-       3910:  "prnrequest",
-       3911:  "prnstatus",
-       3912:  "gbmt-stars",
-       3913:  "listcrt-port",
-       3914:  "listcrt-port-2",
-       3915:  "agcat",
-       3916:  "wysdmc",
-       3917:  "aftmux",
-       3918:  "pktcablemmcops",
-       3919:  "hyperip",
-       3920:  "exasoftport1",
-       3921:  "herodotus-net",
-       3922:  "sor-update",
-       3923:  "symb-sb-port",
-       3924:  "mpl-gprs-port",
-       3925:  "zmp",
-       3926:  "winport",
-       3927:  "natdataservice",
-       3928:  "netboot-pxe",
-       3929:  "smauth-port",
-       3930:  "syam-webserver",
-       3931:  "msr-plugin-port",
-       3932:  "dyn-site",
-       3933:  "plbserve-port",
-       3934:  "sunfm-port",
-       3935:  "sdp-portmapper",
-       3936:  "mailprox",
-       3937:  "dvbservdsc",
-       3938:  "dbcontrol-agent",
-       3939:  "aamp",
-       3940:  "xecp-node",
-       3941:  "homeportal-web",
-       3942:  "srdp",
-       3943:  "tig",
-       3944:  "sops",
-       3945:  "emcads",
-       3946:  "backupedge",
-       3947:  "ccp",
-       3948:  "apdap",
-       3949:  "drip",
-       3950:  "namemunge",
-       3951:  "pwgippfax",
-       3952:  "i3-sessionmgr",
-       3953:  "xmlink-connect",
-       3954:  "adrep",
-       3955:  "p2pcommunity",
-       3956:  "gvcp",
-       3957:  "mqe-broker",
-       3958:  "mqe-agent",
-       3959:  "treehopper",
-       3960:  "bess",
-       3961:  "proaxess",
-       3962:  "sbi-agent",
-       3963:  "thrp",
-       3964:  "sasggprs",
-       3965:  "ati-ip-to-ncpe",
-       3966:  "bflckmgr",
-       3967:  "ppsms",
-       3968:  "ianywhere-dbns",
-       3969:  "landmarks",
-       3970:  "lanrevagent",
-       3971:  "lanrevserver",
-       3972:  "iconp",
-       3973:  "progistics",
-       3974:  "citysearch",
-       3975:  "airshot",
-       3976:  "opswagent",
-       3977:  "opswmanager",
-       3978:  "secure-cfg-svr",
-       3979:  "smwan",
-       3980:  "acms",
-       3981:  "starfish",
-       3982:  "eis",
-       3983:  "eisp",
-       3984:  "mapper-nodemgr",
-       3985:  "mapper-mapethd",
-       3986:  "mapper-ws-ethd",
-       3987:  "centerline",
-       3988:  "dcs-config",
-       3989:  "bv-queryengine",
-       3990:  "bv-is",
-       3991:  "bv-smcsrv",
-       3992:  "bv-ds",
-       3993:  "bv-agent",
-       3995:  "iss-mgmt-ssl",
-       3996:  "abcsoftware",
-       3997:  "agentsease-db",
-       3998:  "dnx",
-       3999:  "nvcnet",
-       4000:  "terabase",
-       4001:  "newoak",
-       4002:  "pxc-spvr-ft",
-       4003:  "pxc-splr-ft",
-       4004:  "pxc-roid",
-       4005:  "pxc-pin",
-       4006:  "pxc-spvr",
-       4007:  "pxc-splr",
-       4008:  "netcheque",
-       4009:  "chimera-hwm",
-       4010:  "samsung-unidex",
-       4011:  "altserviceboot",
-       4012:  "pda-gate",
-       4013:  "acl-manager",
-       4014:  "taiclock",
-       4015:  "talarian-mcast1",
-       4016:  "talarian-mcast2",
-       4017:  "talarian-mcast3",
-       4018:  "talarian-mcast4",
-       4019:  "talarian-mcast5",
-       4020:  "trap",
-       4021:  "nexus-portal",
-       4022:  "dnox",
-       4023:  "esnm-zoning",
-       4024:  "tnp1-port",
-       4025:  "partimage",
-       4026:  "as-debug",
-       4027:  "bxp",
-       4028:  "dtserver-port",
-       4029:  "ip-qsig",
-       4030:  "jdmn-port",
-       4031:  "suucp",
-       4032:  "vrts-auth-port",
-       4033:  "sanavigator",
-       4034:  "ubxd",
-       4035:  "wap-push-http",
-       4036:  "wap-push-https",
-       4037:  "ravehd",
-       4038:  "fazzt-ptp",
-       4039:  "fazzt-admin",
-       4040:  "yo-main",
-       4041:  "houston",
-       4042:  "ldxp",
-       4043:  "nirp",
-       4044:  "ltp",
-       4045:  "npp",
-       4046:  "acp-proto",
-       4047:  "ctp-state",
-       4049:  "wafs",
-       4050:  "cisco-wafs",
-       4051:  "cppdp",
-       4052:  "interact",
-       4053:  "ccu-comm-1",
-       4054:  "ccu-comm-2",
-       4055:  "ccu-comm-3",
-       4056:  "lms",
-       4057:  "wfm",
-       4058:  "kingfisher",
-       4059:  "dlms-cosem",
-       4060:  "dsmeter-iatc",
-       4061:  "ice-location",
-       4062:  "ice-slocation",
-       4063:  "ice-router",
-       4064:  "ice-srouter",
-       4065:  "avanti-cdp",
-       4066:  "pmas",
-       4067:  "idp",
-       4068:  "ipfltbcst",
-       4069:  "minger",
-       4070:  "tripe",
-       4071:  "aibkup",
-       4072:  "zieto-sock",
-       4073:  "iRAPP",
-       4074:  "cequint-cityid",
-       4075:  "perimlan",
-       4076:  "seraph",
-       4077:  "ascomalarm",
-       4079:  "santools",
-       4080:  "lorica-in",
-       4081:  "lorica-in-sec",
-       4082:  "lorica-out",
-       4083:  "lorica-out-sec",
-       4084:  "fortisphere-vm",
-       4086:  "ftsync",
-       4089:  "opencore",
-       4090:  "omasgport",
-       4091:  "ewinstaller",
-       4092:  "ewdgs",
-       4093:  "pvxpluscs",
-       4094:  "sysrqd",
-       4095:  "xtgui",
-       4096:  "bre",
-       4097:  "patrolview",
-       4098:  "drmsfsd",
-       4099:  "dpcp",
-       4100:  "igo-incognito",
-       4101:  "brlp-0",
-       4102:  "brlp-1",
-       4103:  "brlp-2",
-       4104:  "brlp-3",
-       4105:  "shofar",
-       4106:  "synchronite",
-       4107:  "j-ac",
-       4108:  "accel",
-       4109:  "izm",
-       4110:  "g2tag",
-       4111:  "xgrid",
-       4112:  "apple-vpns-rp",
-       4113:  "aipn-reg",
-       4114:  "jomamqmonitor",
-       4115:  "cds",
-       4116:  "smartcard-tls",
-       4117:  "hillrserv",
-       4118:  "netscript",
-       4119:  "assuria-slm",
-       4121:  "e-builder",
-       4122:  "fprams",
-       4123:  "z-wave",
-       4124:  "tigv2",
-       4125:  "opsview-envoy",
-       4126:  "ddrepl",
-       4127:  "unikeypro",
-       4128:  "nufw",
-       4129:  "nuauth",
-       4130:  "fronet",
-       4131:  "stars",
-       4132:  "nuts-dem",
-       4133:  "nuts-bootp",
-       4134:  "nifty-hmi",
-       4135:  "cl-db-attach",
-       4136:  "cl-db-request",
-       4137:  "cl-db-remote",
-       4138:  "nettest",
-       4139:  "thrtx",
-       4140:  "cedros-fds",
-       4141:  "oirtgsvc",
-       4142:  "oidocsvc",
-       4143:  "oidsr",
-       4145:  "vvr-control",
-       4146:  "tgcconnect",
-       4147:  "vrxpservman",
-       4148:  "hhb-handheld",
-       4149:  "agslb",
-       4150:  "PowerAlert-nsa",
-       4151:  "menandmice-noh",
-       4152:  "idig-mux",
-       4153:  "mbl-battd",
-       4154:  "atlinks",
-       4155:  "bzr",
-       4156:  "stat-results",
-       4157:  "stat-scanner",
-       4158:  "stat-cc",
-       4159:  "nss",
-       4160:  "jini-discovery",
-       4161:  "omscontact",
-       4162:  "omstopology",
-       4163:  "silverpeakpeer",
-       4164:  "silverpeakcomm",
-       4165:  "altcp",
-       4166:  "joost",
-       4167:  "ddgn",
-       4168:  "pslicser",
-       4169:  "iadt-disc",
-       4172:  "pcoip",
-       4173:  "mma-discovery",
-       4174:  "sm-disc",
-       4177:  "wello",
-       4178:  "storman",
-       4179:  "MaxumSP",
-       4180:  "httpx",
-       4181:  "macbak",
-       4182:  "pcptcpservice",
-       4183:  "cyborgnet",
-       4184:  "universe-suite",
-       4185:  "wcpp",
-       4188:  "vatata",
-       4191:  "dsmipv6",
-       4192:  "azeti-bd",
-       4197:  "hctl",
-       4199:  "eims-admin",
-       4300:  "corelccam",
-       4301:  "d-data",
-       4302:  "d-data-control",
-       4303:  "srcp",
-       4304:  "owserver",
-       4305:  "batman",
-       4306:  "pinghgl",
-       4307:  "trueconf",
-       4308:  "compx-lockview",
-       4309:  "dserver",
-       4310:  "mirrtex",
-       4320:  "fdt-rcatp",
-       4321:  "rwhois",
-       4322:  "trim-event",
-       4323:  "trim-ice",
-       4325:  "geognosisman",
-       4326:  "geognosis",
-       4327:  "jaxer-web",
-       4328:  "jaxer-manager",
-       4333:  "ahsp",
-       4340:  "gaia",
-       4341:  "lisp-data",
-       4342:  "lisp-control",
-       4343:  "unicall",
-       4344:  "vinainstall",
-       4345:  "m4-network-as",
-       4346:  "elanlm",
-       4347:  "lansurveyor",
-       4348:  "itose",
-       4349:  "fsportmap",
-       4350:  "net-device",
-       4351:  "plcy-net-svcs",
-       4352:  "pjlink",
-       4353:  "f5-iquery",
-       4354:  "qsnet-trans",
-       4355:  "qsnet-workst",
-       4356:  "qsnet-assist",
-       4357:  "qsnet-cond",
-       4358:  "qsnet-nucl",
-       4359:  "omabcastltkm",
-       4361:  "nacnl",
-       4362:  "afore-vdp-disc",
-       4366:  "shadowstream",
-       4368:  "wxbrief",
-       4369:  "epmd",
-       4370:  "elpro-tunnel",
-       4371:  "l2c-disc",
-       4372:  "l2c-data",
-       4373:  "remctl",
-       4375:  "tolteces",
-       4376:  "bip",
-       4377:  "cp-spxsvr",
-       4378:  "cp-spxdpy",
-       4379:  "ctdb",
-       4389:  "xandros-cms",
-       4390:  "wiegand",
-       4394:  "apwi-disc",
-       4395:  "omnivisionesx",
-       4400:  "ds-srv",
-       4401:  "ds-srvr",
-       4402:  "ds-clnt",
-       4403:  "ds-user",
-       4404:  "ds-admin",
-       4405:  "ds-mail",
-       4406:  "ds-slp",
-       4412:  "smallchat",
-       4413:  "avi-nms-disc",
-       4416:  "pjj-player-disc",
-       4418:  "axysbridge",
-       4420:  "nvm-express",
-       4425:  "netrockey6",
-       4426:  "beacon-port-2",
-       4430:  "rsqlserver",
-       4432:  "l-acoustics",
-       4441:  "netblox",
-       4442:  "saris",
-       4443:  "pharos",
-       4444:  "krb524",
-       4445:  "upnotifyp",
-       4446:  "n1-fwp",
-       4447:  "n1-rmgmt",
-       4448:  "asc-slmd",
-       4449:  "privatewire",
-       4450:  "camp",
-       4451:  "ctisystemmsg",
-       4452:  "ctiprogramload",
-       4453:  "nssalertmgr",
-       4454:  "nssagentmgr",
-       4455:  "prchat-user",
-       4456:  "prchat-server",
-       4457:  "prRegister",
-       4458:  "mcp",
-       4484:  "hpssmgmt",
-       4486:  "icms",
-       4488:  "awacs-ice",
-       4500:  "ipsec-nat-t",
-       4534:  "armagetronad",
-       4535:  "ehs",
-       4536:  "ehs-ssl",
-       4537:  "wssauthsvc",
-       4538:  "swx-gate",
-       4545:  "worldscores",
-       4546:  "sf-lm",
-       4547:  "lanner-lm",
-       4548:  "synchromesh",
-       4549:  "aegate",
-       4550:  "gds-adppiw-db",
-       4551:  "ieee-mih",
-       4552:  "menandmice-mon",
-       4554:  "msfrs",
-       4555:  "rsip",
-       4556:  "dtn-bundle",
-       4557:  "mtcevrunqss",
-       4558:  "mtcevrunqman",
-       4559:  "hylafax",
-       4566:  "kwtc",
-       4567:  "tram",
-       4568:  "bmc-reporting",
-       4569:  "iax",
-       4591:  "l3t-at-an",
-       4592:  "hrpd-ith-at-an",
-       4593:  "ipt-anri-anri",
-       4594:  "ias-session",
-       4595:  "ias-paging",
-       4596:  "ias-neighbor",
-       4597:  "a21-an-1xbs",
-       4598:  "a16-an-an",
-       4599:  "a17-an-an",
-       4600:  "piranha1",
-       4601:  "piranha2",
-       4621:  "ventoso",
-       4658:  "playsta2-app",
-       4659:  "playsta2-lob",
-       4660:  "smaclmgr",
-       4661:  "kar2ouche",
-       4662:  "oms",
-       4663:  "noteit",
-       4664:  "ems",
-       4665:  "contclientms",
-       4666:  "eportcomm",
-       4667:  "mmacomm",
-       4668:  "mmaeds",
-       4669:  "eportcommdata",
-       4670:  "light",
-       4671:  "acter",
-       4672:  "rfa",
-       4673:  "cxws",
-       4674:  "appiq-mgmt",
-       4675:  "dhct-status",
-       4676:  "dhct-alerts",
-       4677:  "bcs",
-       4678:  "traversal",
-       4679:  "mgesupervision",
-       4680:  "mgemanagement",
-       4681:  "parliant",
-       4682:  "finisar",
-       4683:  "spike",
-       4684:  "rfid-rp1",
-       4685:  "autopac",
-       4686:  "msp-os",
-       4687:  "nst",
-       4688:  "mobile-p2p",
-       4689:  "altovacentral",
-       4690:  "prelude",
-       4691:  "mtn",
-       4692:  "conspiracy",
-       4700:  "netxms-agent",
-       4701:  "netxms-mgmt",
-       4702:  "netxms-sync",
-       4711:  "trinity-dist",
-       4725:  "truckstar",
-       4726:  "a26-fap-fgw",
-       4727:  "fcis-disc",
-       4728:  "capmux",
-       4729:  "gsmtap",
-       4730:  "gearman",
-       4732:  "ohmtrigger",
-       4737:  "ipdr-sp",
-       4738:  "solera-lpn",
-       4739:  "ipfix",
-       4740:  "ipfixs",
-       4741:  "lumimgrd",
-       4742:  "sicct-sdp",
-       4743:  "openhpid",
-       4744:  "ifsp",
-       4745:  "fmp",
-       4746:  "intelliadm-disc",
-       4747:  "buschtrommel",
-       4749:  "profilemac",
-       4750:  "ssad",
-       4751:  "spocp",
-       4752:  "snap",
-       4753:  "simon-disc",
-       4754:  "gre-in-udp",
-       4755:  "gre-udp-dtls",
-       4784:  "bfd-multi-ctl",
-       4785:  "cncp",
-       4789:  "vxlan",
-       4790:  "vxlan-gpe",
-       4791:  "roce",
-       4800:  "iims",
-       4801:  "iwec",
-       4802:  "ilss",
-       4803:  "notateit-disc",
-       4804:  "aja-ntv4-disc",
-       4827:  "htcp",
-       4837:  "varadero-0",
-       4838:  "varadero-1",
-       4839:  "varadero-2",
-       4840:  "opcua-udp",
-       4841:  "quosa",
-       4842:  "gw-asv",
-       4843:  "opcua-tls",
-       4844:  "gw-log",
-       4845:  "wcr-remlib",
-       4846:  "contamac-icm",
-       4847:  "wfc",
-       4848:  "appserv-http",
-       4849:  "appserv-https",
-       4850:  "sun-as-nodeagt",
-       4851:  "derby-repli",
-       4867:  "unify-debug",
-       4868:  "phrelay",
-       4869:  "phrelaydbg",
-       4870:  "cc-tracking",
-       4871:  "wired",
-       4876:  "tritium-can",
-       4877:  "lmcs",
-       4878:  "inst-discovery",
-       4881:  "socp-t",
-       4882:  "socp-c",
-       4884:  "hivestor",
-       4885:  "abbs",
-       4894:  "lyskom",
-       4899:  "radmin-port",
-       4900:  "hfcs",
-       4914:  "bones",
-       4936:  "an-signaling",
-       4937:  "atsc-mh-ssc",
-       4940:  "eq-office-4940",
-       4941:  "eq-office-4941",
-       4942:  "eq-office-4942",
-       4949:  "munin",
-       4950:  "sybasesrvmon",
-       4951:  "pwgwims",
-       4952:  "sagxtsds",
-       4969:  "ccss-qmm",
-       4970:  "ccss-qsm",
-       4980:  "ctxs-vpp",
-       4986:  "mrip",
-       4987:  "smar-se-port1",
-       4988:  "smar-se-port2",
-       4989:  "parallel",
-       4990:  "busycal",
-       4991:  "vrt",
-       4999:  "hfcs-manager",
-       5000:  "commplex-main",
-       5001:  "commplex-link",
-       5002:  "rfe",
-       5003:  "fmpro-internal",
-       5004:  "avt-profile-1",
-       5005:  "avt-profile-2",
-       5006:  "wsm-server",
-       5007:  "wsm-server-ssl",
-       5008:  "synapsis-edge",
-       5009:  "winfs",
-       5010:  "telelpathstart",
-       5011:  "telelpathattack",
-       5012:  "nsp",
-       5013:  "fmpro-v6",
-       5014:  "onpsocket",
-       5020:  "zenginkyo-1",
-       5021:  "zenginkyo-2",
-       5022:  "mice",
-       5023:  "htuilsrv",
-       5024:  "scpi-telnet",
-       5025:  "scpi-raw",
-       5026:  "strexec-d",
-       5027:  "strexec-s",
-       5029:  "infobright",
-       5030:  "surfpass",
-       5031:  "dmp",
-       5042:  "asnaacceler8db",
-       5043:  "swxadmin",
-       5044:  "lxi-evntsvc",
-       5046:  "vpm-udp",
-       5047:  "iscape",
-       5049:  "ivocalize",
-       5050:  "mmcc",
-       5051:  "ita-agent",
-       5052:  "ita-manager",
-       5053:  "rlm-disc",
-       5055:  "unot",
-       5056:  "intecom-ps1",
-       5057:  "intecom-ps2",
-       5058:  "locus-disc",
-       5059:  "sds",
-       5060:  "sip",
-       5061:  "sips",
-       5062:  "na-localise",
-       5064:  "ca-1",
-       5065:  "ca-2",
-       5066:  "stanag-5066",
-       5067:  "authentx",
-       5069:  "i-net-2000-npr",
-       5070:  "vtsas",
-       5071:  "powerschool",
-       5072:  "ayiya",
-       5073:  "tag-pm",
-       5074:  "alesquery",
-       5078:  "pixelpusher",
-       5079:  "cp-spxrpts",
-       5080:  "onscreen",
-       5081:  "sdl-ets",
-       5082:  "qcp",
-       5083:  "qfp",
-       5084:  "llrp",
-       5085:  "encrypted-llrp",
-       5092:  "magpie",
-       5093:  "sentinel-lm",
-       5094:  "hart-ip",
-       5099:  "sentlm-srv2srv",
-       5100:  "socalia",
-       5101:  "talarian-udp",
-       5102:  "oms-nonsecure",
-       5104:  "tinymessage",
-       5105:  "hughes-ap",
-       5111:  "taep-as-svc",
-       5112:  "pm-cmdsvr",
-       5116:  "emb-proj-cmd",
-       5120:  "barracuda-bbs",
-       5133:  "nbt-pc",
-       5136:  "minotaur-sa",
-       5137:  "ctsd",
-       5145:  "rmonitor-secure",
-       5150:  "atmp",
-       5151:  "esri-sde",
-       5152:  "sde-discovery",
-       5154:  "bzflag",
-       5155:  "asctrl-agent",
-       5164:  "vpa-disc",
-       5165:  "ife-icorp",
-       5166:  "winpcs",
-       5167:  "scte104",
-       5168:  "scte30",
-       5190:  "aol",
-       5191:  "aol-1",
-       5192:  "aol-2",
-       5193:  "aol-3",
-       5200:  "targus-getdata",
-       5201:  "targus-getdata1",
-       5202:  "targus-getdata2",
-       5203:  "targus-getdata3",
-       5223:  "hpvirtgrp",
-       5224:  "hpvirtctrl",
-       5225:  "hp-server",
-       5226:  "hp-status",
-       5227:  "perfd",
-       5234:  "eenet",
-       5235:  "galaxy-network",
-       5236:  "padl2sim",
-       5237:  "mnet-discovery",
-       5245:  "downtools-disc",
-       5246:  "capwap-control",
-       5247:  "capwap-data",
-       5248:  "caacws",
-       5249:  "caaclang2",
-       5250:  "soagateway",
-       5251:  "caevms",
-       5252:  "movaz-ssc",
-       5264:  "3com-njack-1",
-       5265:  "3com-njack-2",
-       5270:  "cartographerxmp",
-       5271:  "cuelink-disc",
-       5272:  "pk",
-       5282:  "transmit-port",
-       5298:  "presence",
-       5299:  "nlg-data",
-       5300:  "hacl-hb",
-       5301:  "hacl-gs",
-       5302:  "hacl-cfg",
-       5303:  "hacl-probe",
-       5304:  "hacl-local",
-       5305:  "hacl-test",
-       5306:  "sun-mc-grp",
-       5307:  "sco-aip",
-       5308:  "cfengine",
-       5309:  "jprinter",
-       5310:  "outlaws",
-       5312:  "permabit-cs",
-       5313:  "rrdp",
-       5314:  "opalis-rbt-ipc",
-       5315:  "hacl-poll",
-       5343:  "kfserver",
-       5344:  "xkotodrcp",
-       5349:  "stuns",
-       5350:  "pcp-multicast",
-       5351:  "pcp",
-       5352:  "dns-llq",
-       5353:  "mdns",
-       5354:  "mdnsresponder",
-       5355:  "llmnr",
-       5356:  "ms-smlbiz",
-       5357:  "wsdapi",
-       5358:  "wsdapi-s",
-       5359:  "ms-alerter",
-       5360:  "ms-sideshow",
-       5361:  "ms-s-sideshow",
-       5362:  "serverwsd2",
-       5363:  "net-projection",
-       5364:  "kdnet",
-       5397:  "stresstester",
-       5398:  "elektron-admin",
-       5399:  "securitychase",
-       5400:  "excerpt",
-       5401:  "excerpts",
-       5402:  "mftp",
-       5403:  "hpoms-ci-lstn",
-       5404:  "hpoms-dps-lstn",
-       5405:  "netsupport",
-       5406:  "systemics-sox",
-       5407:  "foresyte-clear",
-       5408:  "foresyte-sec",
-       5409:  "salient-dtasrv",
-       5410:  "salient-usrmgr",
-       5411:  "actnet",
-       5412:  "continuus",
-       5413:  "wwiotalk",
-       5414:  "statusd",
-       5415:  "ns-server",
-       5416:  "sns-gateway",
-       5417:  "sns-agent",
-       5418:  "mcntp",
-       5419:  "dj-ice",
-       5420:  "cylink-c",
-       5421:  "netsupport2",
-       5422:  "salient-mux",
-       5423:  "virtualuser",
-       5424:  "beyond-remote",
-       5425:  "br-channel",
-       5426:  "devbasic",
-       5427:  "sco-peer-tta",
-       5428:  "telaconsole",
-       5429:  "base",
-       5430:  "radec-corp",
-       5431:  "park-agent",
-       5432:  "postgresql",
-       5433:  "pyrrho",
-       5434:  "sgi-arrayd",
-       5435:  "sceanics",
-       5436:  "pmip6-cntl",
-       5437:  "pmip6-data",
-       5443:  "spss",
-       5450:  "tiepie-disc",
-       5453:  "surebox",
-       5454:  "apc-5454",
-       5455:  "apc-5455",
-       5456:  "apc-5456",
-       5461:  "silkmeter",
-       5462:  "ttl-publisher",
-       5463:  "ttlpriceproxy",
-       5464:  "quailnet",
-       5465:  "netops-broker",
-       5474:  "apsolab-rpc",
-       5500:  "fcp-addr-srvr1",
-       5501:  "fcp-addr-srvr2",
-       5502:  "fcp-srvr-inst1",
-       5503:  "fcp-srvr-inst2",
-       5504:  "fcp-cics-gw1",
-       5505:  "checkoutdb",
-       5506:  "amc",
-       5553:  "sgi-eventmond",
-       5554:  "sgi-esphttp",
-       5555:  "personal-agent",
-       5556:  "freeciv",
-       5567:  "dof-dps-mc-sec",
-       5568:  "sdt",
-       5569:  "rdmnet-device",
-       5573:  "sdmmp",
-       5580:  "tmosms0",
-       5581:  "tmosms1",
-       5582:  "fac-restore",
-       5583:  "tmo-icon-sync",
-       5584:  "bis-web",
-       5585:  "bis-sync",
-       5597:  "ininmessaging",
-       5598:  "mctfeed",
-       5599:  "esinstall",
-       5600:  "esmmanager",
-       5601:  "esmagent",
-       5602:  "a1-msc",
-       5603:  "a1-bs",
-       5604:  "a3-sdunode",
-       5605:  "a4-sdunode",
-       5627:  "ninaf",
-       5628:  "htrust",
-       5629:  "symantec-sfdb",
-       5630:  "precise-comm",
-       5631:  "pcanywheredata",
-       5632:  "pcanywherestat",
-       5633:  "beorl",
-       5634:  "xprtld",
-       5670:  "zre-disc",
-       5671:  "amqps",
-       5672:  "amqp",
-       5673:  "jms",
-       5674:  "hyperscsi-port",
-       5675:  "v5ua",
-       5676:  "raadmin",
-       5677:  "questdb2-lnchr",
-       5678:  "rrac",
-       5679:  "dccm",
-       5680:  "auriga-router",
-       5681:  "ncxcp",
-       5682:  "brightcore",
-       5683:  "coap",
-       5684:  "coaps",
-       5687:  "gog-multiplayer",
-       5688:  "ggz",
-       5689:  "qmvideo",
-       5713:  "proshareaudio",
-       5714:  "prosharevideo",
-       5715:  "prosharedata",
-       5716:  "prosharerequest",
-       5717:  "prosharenotify",
-       5718:  "dpm",
-       5719:  "dpm-agent",
-       5720:  "ms-licensing",
-       5721:  "dtpt",
-       5722:  "msdfsr",
-       5723:  "omhs",
-       5724:  "omsdk",
-       5728:  "io-dist-group",
-       5729:  "openmail",
-       5730:  "unieng",
-       5741:  "ida-discover1",
-       5742:  "ida-discover2",
-       5743:  "watchdoc-pod",
-       5744:  "watchdoc",
-       5745:  "fcopy-server",
-       5746:  "fcopys-server",
-       5747:  "tunatic",
-       5748:  "tunalyzer",
-       5750:  "rscd",
-       5755:  "openmailg",
-       5757:  "x500ms",
-       5766:  "openmailns",
-       5767:  "s-openmail",
-       5768:  "openmailpxy",
-       5769:  "spramsca",
-       5770:  "spramsd",
-       5771:  "netagent",
-       5777:  "dali-port",
-       5781:  "3par-evts",
-       5782:  "3par-mgmt",
-       5783:  "3par-mgmt-ssl",
-       5784:  "ibar",
-       5785:  "3par-rcopy",
-       5786:  "cisco-redu",
-       5787:  "waascluster",
-       5793:  "xtreamx",
-       5794:  "spdp",
-       5813:  "icmpd",
-       5814:  "spt-automation",
-       5859:  "wherehoo",
-       5863:  "ppsuitemsg",
-       5900:  "rfb",
-       5910:  "cm",
-       5911:  "cpdlc",
-       5912:  "fis",
-       5913:  "ads-c",
-       5963:  "indy",
-       5968:  "mppolicy-v5",
-       5969:  "mppolicy-mgr",
-       5984:  "couchdb",
-       5985:  "wsman",
-       5986:  "wsmans",
-       5987:  "wbem-rmi",
-       5988:  "wbem-http",
-       5989:  "wbem-https",
-       5990:  "wbem-exp-https",
-       5991:  "nuxsl",
-       5992:  "consul-insight",
-       5999:  "cvsup",
-       6064:  "ndl-ahp-svc",
-       6065:  "winpharaoh",
-       6066:  "ewctsp",
-       6069:  "trip",
-       6070:  "messageasap",
-       6071:  "ssdtp",
-       6072:  "diagnose-proc",
-       6073:  "directplay8",
-       6074:  "max",
-       6080:  "gue",
-       6081:  "geneve",
-       6082:  "p25cai",
-       6083:  "miami-bcast",
-       6085:  "konspire2b",
-       6086:  "pdtp",
-       6087:  "ldss",
-       6088:  "doglms-notify",
-       6100:  "synchronet-db",
-       6101:  "synchronet-rtc",
-       6102:  "synchronet-upd",
-       6103:  "rets",
-       6104:  "dbdb",
-       6105:  "primaserver",
-       6106:  "mpsserver",
-       6107:  "etc-control",
-       6108:  "sercomm-scadmin",
-       6109:  "globecast-id",
-       6110:  "softcm",
-       6111:  "spc",
-       6112:  "dtspcd",
-       6118:  "tipc",
-       6122:  "bex-webadmin",
-       6123:  "backup-express",
-       6124:  "pnbs",
-       6133:  "nbt-wol",
-       6140:  "pulsonixnls",
-       6141:  "meta-corp",
-       6142:  "aspentec-lm",
-       6143:  "watershed-lm",
-       6144:  "statsci1-lm",
-       6145:  "statsci2-lm",
-       6146:  "lonewolf-lm",
-       6147:  "montage-lm",
-       6148:  "ricardo-lm",
-       6149:  "tal-pod",
-       6160:  "ecmp-data",
-       6161:  "patrol-ism",
-       6162:  "patrol-coll",
-       6163:  "pscribe",
-       6200:  "lm-x",
-       6201:  "thermo-calc",
-       6209:  "qmtps",
-       6222:  "radmind",
-       6241:  "jeol-nsddp-1",
-       6242:  "jeol-nsddp-2",
-       6243:  "jeol-nsddp-3",
-       6244:  "jeol-nsddp-4",
-       6251:  "tl1-raw-ssl",
-       6252:  "tl1-ssh",
-       6253:  "crip",
-       6268:  "grid",
-       6269:  "grid-alt",
-       6300:  "bmc-grx",
-       6301:  "bmc-ctd-ldap",
-       6306:  "ufmp",
-       6315:  "scup-disc",
-       6316:  "abb-escp",
-       6317:  "nav-data",
-       6320:  "repsvc",
-       6321:  "emp-server1",
-       6322:  "emp-server2",
-       6324:  "hrd-ns-disc",
-       6343:  "sflow",
-       6346:  "gnutella-svc",
-       6347:  "gnutella-rtr",
-       6350:  "adap",
-       6355:  "pmcs",
-       6360:  "metaedit-mu",
-       6363:  "ndn",
-       6370:  "metaedit-se",
-       6382:  "metatude-mds",
-       6389:  "clariion-evr01",
-       6390:  "metaedit-ws",
-       6417:  "faxcomservice",
-       6419:  "svdrp-disc",
-       6420:  "nim-vdrshell",
-       6421:  "nim-wan",
-       6443:  "sun-sr-https",
-       6444:  "sge-qmaster",
-       6445:  "sge-execd",
-       6446:  "mysql-proxy",
-       6455:  "skip-cert-recv",
-       6456:  "skip-cert-send",
-       6464:  "ieee11073-20701",
-       6471:  "lvision-lm",
-       6480:  "sun-sr-http",
-       6481:  "servicetags",
-       6482:  "ldoms-mgmt",
-       6483:  "SunVTS-RMI",
-       6484:  "sun-sr-jms",
-       6485:  "sun-sr-iiop",
-       6486:  "sun-sr-iiops",
-       6487:  "sun-sr-iiop-aut",
-       6488:  "sun-sr-jmx",
-       6489:  "sun-sr-admin",
-       6500:  "boks",
-       6501:  "boks-servc",
-       6502:  "boks-servm",
-       6503:  "boks-clntd",
-       6505:  "badm-priv",
-       6506:  "badm-pub",
-       6507:  "bdir-priv",
-       6508:  "bdir-pub",
-       6509:  "mgcs-mfp-port",
-       6510:  "mcer-port",
-       6511:  "dccp-udp",
-       6514:  "syslog-tls",
-       6515:  "elipse-rec",
-       6543:  "lds-distrib",
-       6544:  "lds-dump",
-       6547:  "apc-6547",
-       6548:  "apc-6548",
-       6549:  "apc-6549",
-       6550:  "fg-sysupdate",
-       6551:  "sum",
-       6558:  "xdsxdm",
-       6566:  "sane-port",
-       6568:  "rp-reputation",
-       6579:  "affiliate",
-       6580:  "parsec-master",
-       6581:  "parsec-peer",
-       6582:  "parsec-game",
-       6583:  "joaJewelSuite",
-       6619:  "odette-ftps",
-       6620:  "kftp-data",
-       6621:  "kftp",
-       6622:  "mcftp",
-       6623:  "ktelnet",
-       6626:  "wago-service",
-       6627:  "nexgen",
-       6628:  "afesc-mc",
-       6629:  "nexgen-aux",
-       6633:  "cisco-vpath-tun",
-       6634:  "mpls-pm",
-       6635:  "mpls-udp",
-       6636:  "mpls-udp-dtls",
-       6653:  "openflow",
-       6657:  "palcom-disc",
-       6670:  "vocaltec-gold",
-       6671:  "p4p-portal",
-       6672:  "vision-server",
-       6673:  "vision-elmd",
-       6678:  "vfbp-disc",
-       6679:  "osaut",
-       6689:  "tsa",
-       6696:  "babel",
-       6701:  "kti-icad-srvr",
-       6702:  "e-design-net",
-       6703:  "e-design-web",
-       6714:  "ibprotocol",
-       6715:  "fibotrader-com",
-       6767:  "bmc-perf-agent",
-       6768:  "bmc-perf-mgrd",
-       6769:  "adi-gxp-srvprt",
-       6770:  "plysrv-http",
-       6771:  "plysrv-https",
-       6784:  "bfd-lag",
-       6785:  "dgpf-exchg",
-       6786:  "smc-jmx",
-       6787:  "smc-admin",
-       6788:  "smc-http",
-       6790:  "hnmp",
-       6791:  "hnm",
-       6801:  "acnet",
-       6831:  "ambit-lm",
-       6841:  "netmo-default",
-       6842:  "netmo-http",
-       6850:  "iccrushmore",
-       6868:  "acctopus-st",
-       6888:  "muse",
-       6935:  "ethoscan",
-       6936:  "xsmsvc",
-       6946:  "bioserver",
-       6951:  "otlp",
-       6961:  "jmact3",
-       6962:  "jmevt2",
-       6963:  "swismgr1",
-       6964:  "swismgr2",
-       6965:  "swistrap",
-       6966:  "swispol",
-       6969:  "acmsoda",
-       6997:  "MobilitySrv",
-       6998:  "iatp-highpri",
-       6999:  "iatp-normalpri",
-       7000:  "afs3-fileserver",
-       7001:  "afs3-callback",
-       7002:  "afs3-prserver",
-       7003:  "afs3-vlserver",
-       7004:  "afs3-kaserver",
-       7005:  "afs3-volser",
-       7006:  "afs3-errors",
-       7007:  "afs3-bos",
-       7008:  "afs3-update",
-       7009:  "afs3-rmtsys",
-       7010:  "ups-onlinet",
-       7011:  "talon-disc",
-       7012:  "talon-engine",
-       7013:  "microtalon-dis",
-       7014:  "microtalon-com",
-       7015:  "talon-webserver",
-       7016:  "spg",
-       7017:  "grasp",
-       7019:  "doceri-view",
-       7020:  "dpserve",
-       7021:  "dpserveadmin",
-       7022:  "ctdp",
-       7023:  "ct2nmcs",
-       7024:  "vmsvc",
-       7025:  "vmsvc-2",
-       7030:  "op-probe",
-       7040:  "quest-disc",
-       7070:  "arcp",
-       7071:  "iwg1",
-       7080:  "empowerid",
-       7088:  "zixi-transport",
-       7095:  "jdp-disc",
-       7099:  "lazy-ptop",
-       7100:  "font-service",
-       7101:  "elcn",
-       7107:  "aes-x170",
-       7121:  "virprot-lm",
-       7128:  "scenidm",
-       7129:  "scenccs",
-       7161:  "cabsm-comm",
-       7162:  "caistoragemgr",
-       7163:  "cacsambroker",
-       7164:  "fsr",
-       7165:  "doc-server",
-       7166:  "aruba-server",
-       7169:  "ccag-pib",
-       7170:  "nsrp",
-       7171:  "drm-production",
-       7174:  "clutild",
-       7181:  "janus-disc",
-       7200:  "fodms",
-       7201:  "dlip",
-       7227:  "ramp",
-       7235:  "aspcoordination",
-       7244:  "frc-hicp-disc",
-       7262:  "cnap",
-       7272:  "watchme-7272",
-       7273:  "oma-rlp",
-       7274:  "oma-rlp-s",
-       7275:  "oma-ulp",
-       7276:  "oma-ilp",
-       7277:  "oma-ilp-s",
-       7278:  "oma-dcdocbs",
-       7279:  "ctxlic",
-       7280:  "itactionserver1",
-       7281:  "itactionserver2",
-       7282:  "mzca-alert",
-       7365:  "lcm-server",
-       7391:  "mindfilesys",
-       7392:  "mrssrendezvous",
-       7393:  "nfoldman",
-       7394:  "fse",
-       7395:  "winqedit",
-       7397:  "hexarc",
-       7400:  "rtps-discovery",
-       7401:  "rtps-dd-ut",
-       7402:  "rtps-dd-mt",
-       7410:  "ionixnetmon",
-       7411:  "daqstream",
-       7421:  "mtportmon",
-       7426:  "pmdmgr",
-       7427:  "oveadmgr",
-       7428:  "ovladmgr",
-       7429:  "opi-sock",
-       7430:  "xmpv7",
-       7431:  "pmd",
-       7437:  "faximum",
-       7443:  "oracleas-https",
-       7473:  "rise",
-       7491:  "telops-lmd",
-       7500:  "silhouette",
-       7501:  "ovbus",
-       7510:  "ovhpas",
-       7511:  "pafec-lm",
-       7542:  "saratoga",
-       7543:  "atul",
-       7544:  "nta-ds",
-       7545:  "nta-us",
-       7546:  "cfs",
-       7547:  "cwmp",
-       7548:  "tidp",
-       7549:  "nls-tl",
-       7550:  "cloudsignaling",
-       7560:  "sncp",
-       7566:  "vsi-omega",
-       7570:  "aries-kfinder",
-       7574:  "coherence-disc",
-       7588:  "sun-lm",
-       7606:  "mipi-debug",
-       7624:  "indi",
-       7627:  "soap-http",
-       7628:  "zen-pawn",
-       7629:  "xdas",
-       7633:  "pmdfmgt",
-       7648:  "cuseeme",
-       7674:  "imqtunnels",
-       7675:  "imqtunnel",
-       7676:  "imqbrokerd",
-       7677:  "sun-user-https",
-       7680:  "pando-pub",
-       7689:  "collaber",
-       7697:  "klio",
-       7707:  "sync-em7",
-       7708:  "scinet",
-       7720:  "medimageportal",
-       7724:  "nsdeepfreezectl",
-       7725:  "nitrogen",
-       7726:  "freezexservice",
-       7727:  "trident-data",
-       7728:  "osvr",
-       7734:  "smip",
-       7738:  "aiagent",
-       7741:  "scriptview",
-       7743:  "sstp-1",
-       7744:  "raqmon-pdu",
-       7747:  "prgp",
-       7777:  "cbt",
-       7778:  "interwise",
-       7779:  "vstat",
-       7781:  "accu-lmgr",
-       7784:  "s-bfd",
-       7786:  "minivend",
-       7787:  "popup-reminders",
-       7789:  "office-tools",
-       7794:  "q3ade",
-       7797:  "pnet-conn",
-       7798:  "pnet-enc",
-       7799:  "altbsdp",
-       7800:  "asr",
-       7801:  "ssp-client",
-       7802:  "vns-tp",
-       7810:  "rbt-wanopt",
-       7845:  "apc-7845",
-       7846:  "apc-7846",
-       7872:  "mipv6tls",
-       7880:  "pss",
-       7887:  "ubroker",
-       7900:  "mevent",
-       7901:  "tnos-sp",
-       7902:  "tnos-dp",
-       7903:  "tnos-dps",
-       7913:  "qo-secure",
-       7932:  "t2-drm",
-       7933:  "t2-brm",
-       7962:  "generalsync",
-       7967:  "supercell",
-       7979:  "micromuse-ncps",
-       7980:  "quest-vista",
-       7982:  "sossd-disc",
-       7998:  "usicontentpush",
-       7999:  "irdmi2",
-       8000:  "irdmi",
-       8001:  "vcom-tunnel",
-       8002:  "teradataordbms",
-       8003:  "mcreport",
-       8005:  "mxi",
-       8006:  "wpl-disc",
-       8007:  "warppipe",
-       8008:  "http-alt",
-       8019:  "qbdb",
-       8020:  "intu-ec-svcdisc",
-       8021:  "intu-ec-client",
-       8022:  "oa-system",
-       8025:  "ca-audit-da",
-       8026:  "ca-audit-ds",
-       8032:  "pro-ed",
-       8033:  "mindprint",
-       8034:  "vantronix-mgmt",
-       8040:  "ampify",
-       8041:  "enguity-xccetp",
-       8052:  "senomix01",
-       8053:  "senomix02",
-       8054:  "senomix03",
-       8055:  "senomix04",
-       8056:  "senomix05",
-       8057:  "senomix06",
-       8058:  "senomix07",
-       8059:  "senomix08",
-       8060:  "aero",
-       8074:  "gadugadu",
-       8080:  "http-alt",
-       8081:  "sunproxyadmin",
-       8082:  "us-cli",
-       8083:  "us-srv",
-       8086:  "d-s-n",
-       8087:  "simplifymedia",
-       8088:  "radan-http",
-       8097:  "sac",
-       8100:  "xprint-server",
-       8115:  "mtl8000-matrix",
-       8116:  "cp-cluster",
-       8118:  "privoxy",
-       8121:  "apollo-data",
-       8122:  "apollo-admin",
-       8128:  "paycash-online",
-       8129:  "paycash-wbp",
-       8130:  "indigo-vrmi",
-       8131:  "indigo-vbcp",
-       8132:  "dbabble",
-       8148:  "isdd",
-       8149:  "eor-game",
-       8160:  "patrol",
-       8161:  "patrol-snmp",
-       8182:  "vmware-fdm",
-       8184:  "itach",
-       8192:  "spytechphone",
-       8194:  "blp1",
-       8195:  "blp2",
-       8199:  "vvr-data",
-       8200:  "trivnet1",
-       8201:  "trivnet2",
-       8202:  "aesop",
-       8204:  "lm-perfworks",
-       8205:  "lm-instmgr",
-       8206:  "lm-dta",
-       8207:  "lm-sserver",
-       8208:  "lm-webwatcher",
-       8230:  "rexecj",
-       8231:  "hncp-udp-port",
-       8232:  "hncp-dtls-port",
-       8243:  "synapse-nhttps",
-       8276:  "pando-sec",
-       8280:  "synapse-nhttp",
-       8282:  "libelle-disc",
-       8292:  "blp3",
-       8294:  "blp4",
-       8300:  "tmi",
-       8301:  "amberon",
-       8320:  "tnp-discover",
-       8321:  "tnp",
-       8322:  "garmin-marine",
-       8351:  "server-find",
-       8376:  "cruise-enum",
-       8377:  "cruise-swroute",
-       8378:  "cruise-config",
-       8379:  "cruise-diags",
-       8380:  "cruise-update",
-       8383:  "m2mservices",
-       8384:  "marathontp",
-       8400:  "cvd",
-       8401:  "sabarsd",
-       8402:  "abarsd",
-       8403:  "admind",
-       8416:  "espeech",
-       8417:  "espeech-rtp",
-       8442:  "cybro-a-bus",
-       8443:  "pcsync-https",
-       8444:  "pcsync-http",
-       8445:  "copy-disc",
-       8450:  "npmp",
-       8472:  "otv",
-       8473:  "vp2p",
-       8474:  "noteshare",
-       8500:  "fmtp",
-       8501:  "cmtp-av",
-       8503:  "lsp-self-ping",
-       8554:  "rtsp-alt",
-       8555:  "d-fence",
-       8567:  "dof-tunnel",
-       8600:  "asterix",
-       8609:  "canon-cpp-disc",
-       8610:  "canon-mfnp",
-       8611:  "canon-bjnp1",
-       8612:  "canon-bjnp2",
-       8613:  "canon-bjnp3",
-       8614:  "canon-bjnp4",
-       8675:  "msi-cps-rm-disc",
-       8686:  "sun-as-jmxrmi",
-       8732:  "dtp-net",
-       8733:  "ibus",
-       8763:  "mc-appserver",
-       8764:  "openqueue",
-       8765:  "ultraseek-http",
-       8766:  "amcs",
-       8770:  "dpap",
-       8786:  "msgclnt",
-       8787:  "msgsrvr",
-       8793:  "acd-pm",
-       8800:  "sunwebadmin",
-       8804:  "truecm",
-       8805:  "pfcp",
-       8808:  "ssports-bcast",
-       8873:  "dxspider",
-       8880:  "cddbp-alt",
-       8883:  "secure-mqtt",
-       8888:  "ddi-udp-1",
-       8889:  "ddi-udp-2",
-       8890:  "ddi-udp-3",
-       8891:  "ddi-udp-4",
-       8892:  "ddi-udp-5",
-       8893:  "ddi-udp-6",
-       8894:  "ddi-udp-7",
-       8899:  "ospf-lite",
-       8900:  "jmb-cds1",
-       8901:  "jmb-cds2",
-       8910:  "manyone-http",
-       8911:  "manyone-xml",
-       8912:  "wcbackup",
-       8913:  "dragonfly",
-       8954:  "cumulus-admin",
-       8980:  "nod-provider",
-       8981:  "nod-client",
-       8989:  "sunwebadmins",
-       8990:  "http-wmap",
-       8991:  "https-wmap",
-       8999:  "bctp",
-       9000:  "cslistener",
-       9001:  "etlservicemgr",
-       9002:  "dynamid",
-       9007:  "ogs-client",
-       9009:  "pichat",
-       9020:  "tambora",
-       9021:  "panagolin-ident",
-       9022:  "paragent",
-       9023:  "swa-1",
-       9024:  "swa-2",
-       9025:  "swa-3",
-       9026:  "swa-4",
-       9060:  "CardWeb-RT",
-       9080:  "glrpc",
-       9084:  "aurora",
-       9085:  "ibm-rsyscon",
-       9086:  "net2display",
-       9087:  "classic",
-       9088:  "sqlexec",
-       9089:  "sqlexec-ssl",
-       9090:  "websm",
-       9091:  "xmltec-xmlmail",
-       9092:  "XmlIpcRegSvc",
-       9100:  "hp-pdl-datastr",
-       9101:  "bacula-dir",
-       9102:  "bacula-fd",
-       9103:  "bacula-sd",
-       9104:  "peerwire",
-       9105:  "xadmin",
-       9106:  "astergate-disc",
-       9119:  "mxit",
-       9131:  "dddp",
-       9160:  "apani1",
-       9161:  "apani2",
-       9162:  "apani3",
-       9163:  "apani4",
-       9164:  "apani5",
-       9191:  "sun-as-jpda",
-       9200:  "wap-wsp",
-       9201:  "wap-wsp-wtp",
-       9202:  "wap-wsp-s",
-       9203:  "wap-wsp-wtp-s",
-       9204:  "wap-vcard",
-       9205:  "wap-vcal",
-       9206:  "wap-vcard-s",
-       9207:  "wap-vcal-s",
-       9208:  "rjcdb-vcards",
-       9209:  "almobile-system",
-       9210:  "oma-mlp",
-       9211:  "oma-mlp-s",
-       9212:  "serverviewdbms",
-       9213:  "serverstart",
-       9214:  "ipdcesgbs",
-       9215:  "insis",
-       9216:  "acme",
-       9217:  "fsc-port",
-       9222:  "teamcoherence",
-       9255:  "mon",
-       9277:  "traingpsdata",
-       9278:  "pegasus",
-       9279:  "pegasus-ctl",
-       9280:  "pgps",
-       9281:  "swtp-port1",
-       9282:  "swtp-port2",
-       9283:  "callwaveiam",
-       9284:  "visd",
-       9285:  "n2h2server",
-       9286:  "n2receive",
-       9287:  "cumulus",
-       9292:  "armtechdaemon",
-       9293:  "storview",
-       9294:  "armcenterhttp",
-       9295:  "armcenterhttps",
-       9300:  "vrace",
-       9318:  "secure-ts",
-       9321:  "guibase",
-       9343:  "mpidcmgr",
-       9344:  "mphlpdmc",
-       9346:  "ctechlicensing",
-       9374:  "fjdmimgr",
-       9380:  "boxp",
-       9396:  "fjinvmgr",
-       9397:  "mpidcagt",
-       9400:  "sec-t4net-srv",
-       9401:  "sec-t4net-clt",
-       9402:  "sec-pc2fax-srv",
-       9418:  "git",
-       9443:  "tungsten-https",
-       9444:  "wso2esb-console",
-       9450:  "sntlkeyssrvr",
-       9500:  "ismserver",
-       9522:  "sma-spw",
-       9535:  "mngsuite",
-       9536:  "laes-bf",
-       9555:  "trispen-sra",
-       9592:  "ldgateway",
-       9593:  "cba8",
-       9594:  "msgsys",
-       9595:  "pds",
-       9596:  "mercury-disc",
-       9597:  "pd-admin",
-       9598:  "vscp",
-       9599:  "robix",
-       9600:  "micromuse-ncpw",
-       9612:  "streamcomm-ds",
-       9618:  "condor",
-       9628:  "odbcpathway",
-       9629:  "uniport",
-       9632:  "mc-comm",
-       9667:  "xmms2",
-       9668:  "tec5-sdctp",
-       9694:  "client-wakeup",
-       9695:  "ccnx",
-       9700:  "board-roar",
-       9747:  "l5nas-parchan",
-       9750:  "board-voip",
-       9753:  "rasadv",
-       9762:  "tungsten-http",
-       9800:  "davsrc",
-       9801:  "sstp-2",
-       9802:  "davsrcs",
-       9875:  "sapv1",
-       9878:  "kca-service",
-       9888:  "cyborg-systems",
-       9889:  "gt-proxy",
-       9898:  "monkeycom",
-       9899:  "sctp-tunneling",
-       9900:  "iua",
-       9901:  "enrp",
-       9903:  "multicast-ping",
-       9909:  "domaintime",
-       9911:  "sype-transport",
-       9950:  "apc-9950",
-       9951:  "apc-9951",
-       9952:  "apc-9952",
-       9953:  "acis",
-       9955:  "alljoyn-mcm",
-       9956:  "alljoyn",
-       9966:  "odnsp",
-       9987:  "dsm-scm-target",
-       9990:  "osm-appsrvr",
-       9991:  "osm-oev",
-       9992:  "palace-1",
-       9993:  "palace-2",
-       9994:  "palace-3",
-       9995:  "palace-4",
-       9996:  "palace-5",
-       9997:  "palace-6",
-       9998:  "distinct32",
-       9999:  "distinct",
-       10000: "ndmp",
-       10001: "scp-config",
-       10002: "documentum",
-       10003: "documentum-s",
-       10007: "mvs-capacity",
-       10008: "octopus",
-       10009: "swdtp-sv",
-       10050: "zabbix-agent",
-       10051: "zabbix-trapper",
-       10080: "amanda",
-       10081: "famdc",
-       10100: "itap-ddtp",
-       10101: "ezmeeting-2",
-       10102: "ezproxy-2",
-       10103: "ezrelay",
-       10104: "swdtp",
-       10107: "bctp-server",
-       10110: "nmea-0183",
-       10111: "nmea-onenet",
-       10113: "netiq-endpoint",
-       10114: "netiq-qcheck",
-       10115: "netiq-endpt",
-       10116: "netiq-voipa",
-       10117: "iqrm",
-       10128: "bmc-perf-sd",
-       10160: "qb-db-server",
-       10161: "snmpdtls",
-       10162: "snmpdtls-trap",
-       10200: "trisoap",
-       10201: "rscs",
-       10252: "apollo-relay",
-       10253: "eapol-relay",
-       10260: "axis-wimp-port",
-       10288: "blocks",
-       10439: "bngsync",
-       10500: "hip-nat-t",
-       10540: "MOS-lower",
-       10541: "MOS-upper",
-       10542: "MOS-aux",
-       10543: "MOS-soap",
-       10544: "MOS-soap-opt",
-       10800: "gap",
-       10805: "lpdg",
-       10810: "nmc-disc",
-       10860: "helix",
-       10880: "bveapi",
-       10990: "rmiaux",
-       11000: "irisa",
-       11001: "metasys",
-       10023: "cefd-vmp",
-       11095: "weave",
-       11106: "sgi-lk",
-       11108: "myq-termlink",
-       11111: "vce",
-       11112: "dicom",
-       11161: "suncacao-snmp",
-       11162: "suncacao-jmxmp",
-       11163: "suncacao-rmi",
-       11164: "suncacao-csa",
-       11165: "suncacao-websvc",
-       11171: "snss",
-       11201: "smsqp",
-       11208: "wifree",
-       11211: "memcache",
-       11319: "imip",
-       11320: "imip-channels",
-       11321: "arena-server",
-       11367: "atm-uhas",
-       11371: "hkp",
-       11430: "lsdp",
-       11600: "tempest-port",
-       11720: "h323callsigalt",
-       11723: "emc-xsw-dcache",
-       11751: "intrepid-ssl",
-       11796: "lanschool-mpt",
-       11876: "xoraya",
-       11877: "x2e-disc",
-       11967: "sysinfo-sp",
-       12000: "entextxid",
-       12001: "entextnetwk",
-       12002: "entexthigh",
-       12003: "entextmed",
-       12004: "entextlow",
-       12005: "dbisamserver1",
-       12006: "dbisamserver2",
-       12007: "accuracer",
-       12008: "accuracer-dbms",
-       12009: "ghvpn",
-       12012: "vipera",
-       12013: "vipera-ssl",
-       12109: "rets-ssl",
-       12121: "nupaper-ss",
-       12168: "cawas",
-       12172: "hivep",
-       12300: "linogridengine",
-       12321: "warehouse-sss",
-       12322: "warehouse",
-       12345: "italk",
-       12753: "tsaf",
-       13160: "i-zipqd",
-       13216: "bcslogc",
-       13217: "rs-pias",
-       13218: "emc-vcas-udp",
-       13223: "powwow-client",
-       13224: "powwow-server",
-       13400: "doip-disc",
-       13720: "bprd",
-       13721: "bpdbm",
-       13722: "bpjava-msvc",
-       13724: "vnetd",
-       13782: "bpcd",
-       13783: "vopied",
-       13785: "nbdb",
-       13786: "nomdb",
-       13818: "dsmcc-config",
-       13819: "dsmcc-session",
-       13820: "dsmcc-passthru",
-       13821: "dsmcc-download",
-       13822: "dsmcc-ccp",
-       13894: "ucontrol",
-       13929: "dta-systems",
-       14000: "scotty-ft",
-       14001: "sua",
-       14002: "scotty-disc",
-       14033: "sage-best-com1",
-       14034: "sage-best-com2",
-       14141: "vcs-app",
-       14142: "icpp",
-       14145: "gcm-app",
-       14149: "vrts-tdd",
-       14154: "vad",
-       14250: "cps",
-       14414: "ca-web-update",
-       14936: "hde-lcesrvr-1",
-       14937: "hde-lcesrvr-2",
-       15000: "hydap",
-       15118: "v2g-secc",
-       15345: "xpilot",
-       15363: "3link",
-       15555: "cisco-snat",
-       15660: "bex-xr",
-       15740: "ptp",
-       15998: "2ping",
-       16003: "alfin",
-       16161: "sun-sea-port",
-       16309: "etb4j",
-       16310: "pduncs",
-       16311: "pdefmns",
-       16360: "netserialext1",
-       16361: "netserialext2",
-       16367: "netserialext3",
-       16368: "netserialext4",
-       16384: "connected",
-       16666: "vtp",
-       16900: "newbay-snc-mc",
-       16950: "sgcip",
-       16991: "intel-rci-mp",
-       16992: "amt-soap-http",
-       16993: "amt-soap-https",
-       16994: "amt-redir-tcp",
-       16995: "amt-redir-tls",
-       17007: "isode-dua",
-       17185: "soundsvirtual",
-       17219: "chipper",
-       17220: "avtp",
-       17221: "avdecc",
-       17222: "cpsp",
-       17224: "trdp-pd",
-       17225: "trdp-md",
-       17234: "integrius-stp",
-       17235: "ssh-mgmt",
-       17500: "db-lsp-disc",
-       17729: "ea",
-       17754: "zep",
-       17755: "zigbee-ip",
-       17756: "zigbee-ips",
-       18000: "biimenu",
-       18181: "opsec-cvp",
-       18182: "opsec-ufp",
-       18183: "opsec-sam",
-       18184: "opsec-lea",
-       18185: "opsec-omi",
-       18186: "ohsc",
-       18187: "opsec-ela",
-       18241: "checkpoint-rtm",
-       18262: "gv-pf",
-       18463: "ac-cluster",
-       18634: "rds-ib",
-       18635: "rds-ip",
-       18668: "vdmmesh-disc",
-       18769: "ique",
-       18881: "infotos",
-       18888: "apc-necmp",
-       19000: "igrid",
-       19007: "scintilla",
-       19191: "opsec-uaa",
-       19194: "ua-secureagent",
-       19220: "cora-disc",
-       19283: "keysrvr",
-       19315: "keyshadow",
-       19398: "mtrgtrans",
-       19410: "hp-sco",
-       19411: "hp-sca",
-       19412: "hp-sessmon",
-       19539: "fxuptp",
-       19540: "sxuptp",
-       19541: "jcp",
-       19788: "mle",
-       19999: "dnp-sec",
-       20000: "dnp",
-       20001: "microsan",
-       20002: "commtact-http",
-       20003: "commtact-https",
-       20005: "openwebnet",
-       20012: "ss-idi-disc",
-       20014: "opendeploy",
-       20034: "nburn-id",
-       20046: "tmophl7mts",
-       20048: "mountd",
-       20049: "nfsrdma",
-       20167: "tolfab",
-       20202: "ipdtp-port",
-       20222: "ipulse-ics",
-       20480: "emwavemsg",
-       20670: "track",
-       20999: "athand-mmp",
-       21000: "irtrans",
-       21554: "dfserver",
-       21590: "vofr-gateway",
-       21800: "tvpm",
-       21845: "webphone",
-       21846: "netspeak-is",
-       21847: "netspeak-cs",
-       21848: "netspeak-acd",
-       21849: "netspeak-cps",
-       22000: "snapenetio",
-       22001: "optocontrol",
-       22002: "optohost002",
-       22003: "optohost003",
-       22004: "optohost004",
-       22005: "optohost004",
-       22273: "wnn6",
-       22305: "cis",
-       22335: "shrewd-stream",
-       22343: "cis-secure",
-       22347: "wibukey",
-       22350: "codemeter",
-       22555: "vocaltec-phone",
-       22763: "talikaserver",
-       22800: "aws-brf",
-       22951: "brf-gw",
-       23000: "inovaport1",
-       23001: "inovaport2",
-       23002: "inovaport3",
-       23003: "inovaport4",
-       23004: "inovaport5",
-       23005: "inovaport6",
-       23272: "s102",
-       23294: "5afe-disc",
-       23333: "elxmgmt",
-       23400: "novar-dbase",
-       23401: "novar-alarm",
-       23402: "novar-global",
-       24000: "med-ltp",
-       24001: "med-fsp-rx",
-       24002: "med-fsp-tx",
-       24003: "med-supp",
-       24004: "med-ovw",
-       24005: "med-ci",
-       24006: "med-net-svc",
-       24242: "filesphere",
-       24249: "vista-4gl",
-       24321: "ild",
-       24322: "hid",
-       24386: "intel-rci",
-       24465: "tonidods",
-       24554: "binkp",
-       24577: "bilobit-update",
-       24676: "canditv",
-       24677: "flashfiler",
-       24678: "proactivate",
-       24680: "tcc-http",
-       24850: "assoc-disc",
-       24922: "find",
-       25000: "icl-twobase1",
-       25001: "icl-twobase2",
-       25002: "icl-twobase3",
-       25003: "icl-twobase4",
-       25004: "icl-twobase5",
-       25005: "icl-twobase6",
-       25006: "icl-twobase7",
-       25007: "icl-twobase8",
-       25008: "icl-twobase9",
-       25009: "icl-twobase10",
-       25793: "vocaltec-hos",
-       25900: "tasp-net",
-       25901: "niobserver",
-       25902: "nilinkanalyst",
-       25903: "niprobe",
-       25954: "bf-game",
-       25955: "bf-master",
-       26000: "quake",
-       26133: "scscp",
-       26208: "wnn6-ds",
-       26260: "ezproxy",
-       26261: "ezmeeting",
-       26262: "k3software-svr",
-       26263: "k3software-cli",
-       26486: "exoline-udp",
-       26487: "exoconfig",
-       26489: "exonet",
-       27345: "imagepump",
-       27442: "jesmsjc",
-       27504: "kopek-httphead",
-       27782: "ars-vista",
-       27999: "tw-auth-key",
-       28000: "nxlmd",
-       28119: "a27-ran-ran",
-       28200: "voxelstorm",
-       28240: "siemensgsm",
-       29167: "otmp",
-       30001: "pago-services1",
-       30002: "pago-services2",
-       30003: "amicon-fpsu-ra",
-       30004: "amicon-fpsu-s",
-       30260: "kingdomsonline",
-       30832: "samsung-disc",
-       30999: "ovobs",
-       31016: "ka-kdp",
-       31029: "yawn",
-       31416: "xqosd",
-       31457: "tetrinet",
-       31620: "lm-mon",
-       31765: "gamesmith-port",
-       31948: "iceedcp-tx",
-       31949: "iceedcp-rx",
-       32034: "iracinghelper",
-       32249: "t1distproc60",
-       32483: "apm-link",
-       32635: "sec-ntb-clnt",
-       32636: "DMExpress",
-       32767: "filenet-powsrm",
-       32768: "filenet-tms",
-       32769: "filenet-rpc",
-       32770: "filenet-nch",
-       32771: "filenet-rmi",
-       32772: "filenet-pa",
-       32773: "filenet-cm",
-       32774: "filenet-re",
-       32775: "filenet-pch",
-       32776: "filenet-peior",
-       32777: "filenet-obrok",
-       32801: "mlsn",
-       32896: "idmgratm",
-       33123: "aurora-balaena",
-       33331: "diamondport",
-       33334: "speedtrace-disc",
-       33434: "traceroute",
-       33656: "snip-slave",
-       34249: "turbonote-2",
-       34378: "p-net-local",
-       34379: "p-net-remote",
-       34567: "edi_service",
-       34962: "profinet-rt",
-       34963: "profinet-rtm",
-       34964: "profinet-cm",
-       34980: "ethercat",
-       35001: "rt-viewer",
-       35004: "rt-classmanager",
-       35100: "axio-disc",
-       35355: "altova-lm-disc",
-       36001: "allpeers",
-       36411: "wlcp",
-       36865: "kastenxpipe",
-       37475: "neckar",
-       37654: "unisys-eportal",
-       38002: "crescoctrl-disc",
-       38201: "galaxy7-data",
-       38202: "fairview",
-       38203: "agpolicy",
-       39681: "turbonote-1",
-       40000: "safetynetp",
-       40023: "k-patentssensor",
-       40841: "cscp",
-       40842: "csccredir",
-       40843: "csccfirewall",
-       40853: "ortec-disc",
-       41111: "fs-qos",
-       41230: "z-wave-s",
-       41794: "crestron-cip",
-       41795: "crestron-ctp",
-       42508: "candp",
-       42509: "candrp",
-       42510: "caerpc",
-       43000: "recvr-rc-disc",
-       43188: "reachout",
-       43189: "ndm-agent-port",
-       43190: "ip-provision",
-       43210: "shaperai-disc",
-       43439: "eq3-config",
-       43440: "ew-disc-cmd",
-       43441: "ciscocsdb",
-       44321: "pmcd",
-       44322: "pmcdproxy",
-       44544: "domiq",
-       44553: "rbr-debug",
-       44600: "asihpi",
-       44818: "EtherNet-IP-2",
-       44900: "m3da-disc",
-       45000: "asmp-mon",
-       45054: "invision-ag",
-       45514: "cloudcheck-ping",
-       45678: "eba",
-       45825: "qdb2service",
-       45966: "ssr-servermgr",
-       46999: "mediabox",
-       47000: "mbus",
-       47100: "jvl-mactalk",
-       47557: "dbbrowse",
-       47624: "directplaysrvr",
-       47806: "ap",
-       47808: "bacnet",
-       47809: "presonus-ucnet",
-       48000: "nimcontroller",
-       48001: "nimspooler",
-       48002: "nimhub",
-       48003: "nimgtw",
-       48128: "isnetserv",
-       48129: "blp5",
-       48556: "com-bardac-dw",
-       48619: "iqobject",
-       48653: "robotraconteur",
-       49001: "nusdp-disc",
-}
-var sctpPortNames = map[SCTPPort]string{
-       9:     "discard",
-       20:    "ftp-data",
-       21:    "ftp",
-       22:    "ssh",
-       80:    "http",
-       179:   "bgp",
-       443:   "https",
-       1021:  "exp1",
-       1022:  "exp2",
-       1167:  "cisco-ipsla",
-       1720:  "h323hostcall",
-       2049:  "nfs",
-       2225:  "rcip-itu",
-       2904:  "m2ua",
-       2905:  "m3ua",
-       2944:  "megaco-h248",
-       2945:  "h248-binary",
-       3097:  "itu-bicc-stc",
-       3565:  "m2pa",
-       3863:  "asap-sctp",
-       3864:  "asap-sctp-tls",
-       3868:  "diameter",
-       4333:  "ahsp",
-       4502:  "a25-fap-fgw",
-       4711:  "trinity-dist",
-       4739:  "ipfix",
-       4740:  "ipfixs",
-       5060:  "sip",
-       5061:  "sips",
-       5090:  "car",
-       5091:  "cxtp",
-       5215:  "noteza",
-       5445:  "smbdirect",
-       5672:  "amqp",
-       5675:  "v5ua",
-       5868:  "diameters",
-       5910:  "cm",
-       5911:  "cpdlc",
-       5912:  "fis",
-       5913:  "ads-c",
-       6704:  "frc-hp",
-       6705:  "frc-mp",
-       6706:  "frc-lp",
-       6970:  "conductor-mpx",
-       7626:  "simco",
-       7701:  "nfapi",
-       7728:  "osvr",
-       8471:  "pim-port",
-       9082:  "lcs-ap",
-       9084:  "aurora",
-       9900:  "iua",
-       9901:  "enrp-sctp",
-       9902:  "enrp-sctp-tls",
-       11997: "wmereceiving",
-       11998: "wmedistribution",
-       11999: "wmereporting",
-       14001: "sua",
-       20049: "nfsrdma",
-       25471: "rna",
-       29118: "sgsap",
-       29168: "sbcap",
-       29169: "iuhsctpassoc",
-       30100: "rwp",
-       36412: "s1-control",
-       36422: "x2-control",
-       36423: "slmap",
-       36424: "nq-ap",
-       36443: "m2ap",
-       36444: "m3ap",
-       36462: "xw-control",
-       38412: "ng-control",
-       38422: "xn-control",
-       38472: "f1-control",
-}
diff --git a/vendor/github.com/google/gopacket/layers/icmp4.go b/vendor/github.com/google/gopacket/layers/icmp4.go
deleted file mode 100644 (file)
index bd3f03f..0000000
+++ /dev/null
@@ -1,267 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-// Copyright 2009-2011 Andreas Krennmair. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "errors"
-       "fmt"
-       "reflect"
-
-       "github.com/google/gopacket"
-)
-
-const (
-       ICMPv4TypeEchoReply              = 0
-       ICMPv4TypeDestinationUnreachable = 3
-       ICMPv4TypeSourceQuench           = 4
-       ICMPv4TypeRedirect               = 5
-       ICMPv4TypeEchoRequest            = 8
-       ICMPv4TypeRouterAdvertisement    = 9
-       ICMPv4TypeRouterSolicitation     = 10
-       ICMPv4TypeTimeExceeded           = 11
-       ICMPv4TypeParameterProblem       = 12
-       ICMPv4TypeTimestampRequest       = 13
-       ICMPv4TypeTimestampReply         = 14
-       ICMPv4TypeInfoRequest            = 15
-       ICMPv4TypeInfoReply              = 16
-       ICMPv4TypeAddressMaskRequest     = 17
-       ICMPv4TypeAddressMaskReply       = 18
-)
-
-const (
-       // DestinationUnreachable
-       ICMPv4CodeNet                 = 0
-       ICMPv4CodeHost                = 1
-       ICMPv4CodeProtocol            = 2
-       ICMPv4CodePort                = 3
-       ICMPv4CodeFragmentationNeeded = 4
-       ICMPv4CodeSourceRoutingFailed = 5
-       ICMPv4CodeNetUnknown          = 6
-       ICMPv4CodeHostUnknown         = 7
-       ICMPv4CodeSourceIsolated      = 8
-       ICMPv4CodeNetAdminProhibited  = 9
-       ICMPv4CodeHostAdminProhibited = 10
-       ICMPv4CodeNetTOS              = 11
-       ICMPv4CodeHostTOS             = 12
-       ICMPv4CodeCommAdminProhibited = 13
-       ICMPv4CodeHostPrecedence      = 14
-       ICMPv4CodePrecedenceCutoff    = 15
-
-       // TimeExceeded
-       ICMPv4CodeTTLExceeded                    = 0
-       ICMPv4CodeFragmentReassemblyTimeExceeded = 1
-
-       // ParameterProblem
-       ICMPv4CodePointerIndicatesError = 0
-       ICMPv4CodeMissingOption         = 1
-       ICMPv4CodeBadLength             = 2
-
-       // Redirect
-       // ICMPv4CodeNet  = same as for DestinationUnreachable
-       // ICMPv4CodeHost = same as for DestinationUnreachable
-       ICMPv4CodeTOSNet  = 2
-       ICMPv4CodeTOSHost = 3
-)
-
-type icmpv4TypeCodeInfoStruct struct {
-       typeStr string
-       codeStr *map[uint8]string
-}
-
-var (
-       icmpv4TypeCodeInfo = map[uint8]icmpv4TypeCodeInfoStruct{
-               ICMPv4TypeDestinationUnreachable: icmpv4TypeCodeInfoStruct{
-                       "DestinationUnreachable", &map[uint8]string{
-                               ICMPv4CodeNet:                 "Net",
-                               ICMPv4CodeHost:                "Host",
-                               ICMPv4CodeProtocol:            "Protocol",
-                               ICMPv4CodePort:                "Port",
-                               ICMPv4CodeFragmentationNeeded: "FragmentationNeeded",
-                               ICMPv4CodeSourceRoutingFailed: "SourceRoutingFailed",
-                               ICMPv4CodeNetUnknown:          "NetUnknown",
-                               ICMPv4CodeHostUnknown:         "HostUnknown",
-                               ICMPv4CodeSourceIsolated:      "SourceIsolated",
-                               ICMPv4CodeNetAdminProhibited:  "NetAdminProhibited",
-                               ICMPv4CodeHostAdminProhibited: "HostAdminProhibited",
-                               ICMPv4CodeNetTOS:              "NetTOS",
-                               ICMPv4CodeHostTOS:             "HostTOS",
-                               ICMPv4CodeCommAdminProhibited: "CommAdminProhibited",
-                               ICMPv4CodeHostPrecedence:      "HostPrecedence",
-                               ICMPv4CodePrecedenceCutoff:    "PrecedenceCutoff",
-                       },
-               },
-               ICMPv4TypeTimeExceeded: icmpv4TypeCodeInfoStruct{
-                       "TimeExceeded", &map[uint8]string{
-                               ICMPv4CodeTTLExceeded:                    "TTLExceeded",
-                               ICMPv4CodeFragmentReassemblyTimeExceeded: "FragmentReassemblyTimeExceeded",
-                       },
-               },
-               ICMPv4TypeParameterProblem: icmpv4TypeCodeInfoStruct{
-                       "ParameterProblem", &map[uint8]string{
-                               ICMPv4CodePointerIndicatesError: "PointerIndicatesError",
-                               ICMPv4CodeMissingOption:         "MissingOption",
-                               ICMPv4CodeBadLength:             "BadLength",
-                       },
-               },
-               ICMPv4TypeSourceQuench: icmpv4TypeCodeInfoStruct{
-                       "SourceQuench", nil,
-               },
-               ICMPv4TypeRedirect: icmpv4TypeCodeInfoStruct{
-                       "Redirect", &map[uint8]string{
-                               ICMPv4CodeNet:     "Net",
-                               ICMPv4CodeHost:    "Host",
-                               ICMPv4CodeTOSNet:  "TOS+Net",
-                               ICMPv4CodeTOSHost: "TOS+Host",
-                       },
-               },
-               ICMPv4TypeEchoRequest: icmpv4TypeCodeInfoStruct{
-                       "EchoRequest", nil,
-               },
-               ICMPv4TypeEchoReply: icmpv4TypeCodeInfoStruct{
-                       "EchoReply", nil,
-               },
-               ICMPv4TypeTimestampRequest: icmpv4TypeCodeInfoStruct{
-                       "TimestampRequest", nil,
-               },
-               ICMPv4TypeTimestampReply: icmpv4TypeCodeInfoStruct{
-                       "TimestampReply", nil,
-               },
-               ICMPv4TypeInfoRequest: icmpv4TypeCodeInfoStruct{
-                       "InfoRequest", nil,
-               },
-               ICMPv4TypeInfoReply: icmpv4TypeCodeInfoStruct{
-                       "InfoReply", nil,
-               },
-               ICMPv4TypeRouterSolicitation: icmpv4TypeCodeInfoStruct{
-                       "RouterSolicitation", nil,
-               },
-               ICMPv4TypeRouterAdvertisement: icmpv4TypeCodeInfoStruct{
-                       "RouterAdvertisement", nil,
-               },
-               ICMPv4TypeAddressMaskRequest: icmpv4TypeCodeInfoStruct{
-                       "AddressMaskRequest", nil,
-               },
-               ICMPv4TypeAddressMaskReply: icmpv4TypeCodeInfoStruct{
-                       "AddressMaskReply", nil,
-               },
-       }
-)
-
-type ICMPv4TypeCode uint16
-
-// Type returns the ICMPv4 type field.
-func (a ICMPv4TypeCode) Type() uint8 {
-       return uint8(a >> 8)
-}
-
-// Code returns the ICMPv4 code field.
-func (a ICMPv4TypeCode) Code() uint8 {
-       return uint8(a)
-}
-
-func (a ICMPv4TypeCode) String() string {
-       t, c := a.Type(), a.Code()
-       strInfo, ok := icmpv4TypeCodeInfo[t]
-       if !ok {
-               // Unknown ICMPv4 type field
-               return fmt.Sprintf("%d(%d)", t, c)
-       }
-       typeStr := strInfo.typeStr
-       if strInfo.codeStr == nil && c == 0 {
-               // The ICMPv4 type does not make use of the code field
-               return fmt.Sprintf("%s", strInfo.typeStr)
-       }
-       if strInfo.codeStr == nil && c != 0 {
-               // The ICMPv4 type does not make use of the code field, but it is present anyway
-               return fmt.Sprintf("%s(Code: %d)", typeStr, c)
-       }
-       codeStr, ok := (*strInfo.codeStr)[c]
-       if !ok {
-               // We don't know this ICMPv4 code; print the numerical value
-               return fmt.Sprintf("%s(Code: %d)", typeStr, c)
-       }
-       return fmt.Sprintf("%s(%s)", typeStr, codeStr)
-}
-
-func (a ICMPv4TypeCode) GoString() string {
-       t := reflect.TypeOf(a)
-       return fmt.Sprintf("%s(%d, %d)", t.String(), a.Type(), a.Code())
-}
-
-// SerializeTo writes the ICMPv4TypeCode value to the 'bytes' buffer.
-func (a ICMPv4TypeCode) SerializeTo(bytes []byte) {
-       binary.BigEndian.PutUint16(bytes, uint16(a))
-}
-
-// CreateICMPv4TypeCode is a convenience function to create an ICMPv4TypeCode
-// gopacket type from the ICMPv4 type and code values.
-func CreateICMPv4TypeCode(typ uint8, code uint8) ICMPv4TypeCode {
-       return ICMPv4TypeCode(binary.BigEndian.Uint16([]byte{typ, code}))
-}
-
-// ICMPv4 is the layer for IPv4 ICMP packet data.
-type ICMPv4 struct {
-       BaseLayer
-       TypeCode ICMPv4TypeCode
-       Checksum uint16
-       Id       uint16
-       Seq      uint16
-}
-
-// LayerType returns LayerTypeICMPv4.
-func (i *ICMPv4) LayerType() gopacket.LayerType { return LayerTypeICMPv4 }
-
-// DecodeFromBytes decodes the given bytes into this layer.
-func (i *ICMPv4) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       if len(data) < 8 {
-               df.SetTruncated()
-               return errors.New("ICMP layer less then 8 bytes for ICMPv4 packet")
-       }
-       i.TypeCode = CreateICMPv4TypeCode(data[0], data[1])
-       i.Checksum = binary.BigEndian.Uint16(data[2:4])
-       i.Id = binary.BigEndian.Uint16(data[4:6])
-       i.Seq = binary.BigEndian.Uint16(data[6:8])
-       i.BaseLayer = BaseLayer{data[:8], data[8:]}
-       return nil
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-// See the docs for gopacket.SerializableLayer for more info.
-func (i *ICMPv4) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       bytes, err := b.PrependBytes(8)
-       if err != nil {
-               return err
-       }
-       i.TypeCode.SerializeTo(bytes)
-       binary.BigEndian.PutUint16(bytes[4:], i.Id)
-       binary.BigEndian.PutUint16(bytes[6:], i.Seq)
-       if opts.ComputeChecksums {
-               bytes[2] = 0
-               bytes[3] = 0
-               i.Checksum = tcpipChecksum(b.Bytes(), 0)
-       }
-       binary.BigEndian.PutUint16(bytes[2:], i.Checksum)
-       return nil
-}
-
-// CanDecode returns the set of layer types that this DecodingLayer can decode.
-func (i *ICMPv4) CanDecode() gopacket.LayerClass {
-       return LayerTypeICMPv4
-}
-
-// NextLayerType returns the layer type contained by this DecodingLayer.
-func (i *ICMPv4) NextLayerType() gopacket.LayerType {
-       return gopacket.LayerTypePayload
-}
-
-func decodeICMPv4(data []byte, p gopacket.PacketBuilder) error {
-       i := &ICMPv4{}
-       return decodingLayerDecoder(i, data, p)
-}
diff --git a/vendor/github.com/google/gopacket/layers/icmp6.go b/vendor/github.com/google/gopacket/layers/icmp6.go
deleted file mode 100644 (file)
index 03a3213..0000000
+++ /dev/null
@@ -1,231 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-// Copyright 2009-2011 Andreas Krennmair. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "errors"
-       "fmt"
-       "reflect"
-
-       "github.com/google/gopacket"
-)
-
-const (
-       // The following are from RFC 4443
-       ICMPv6TypeDestinationUnreachable = 1
-       ICMPv6TypePacketTooBig           = 2
-       ICMPv6TypeTimeExceeded           = 3
-       ICMPv6TypeParameterProblem       = 4
-       ICMPv6TypeEchoRequest            = 128
-       ICMPv6TypeEchoReply              = 129
-       // The following are from RFC 4861
-       ICMPv6TypeRouterSolicitation    = 133
-       ICMPv6TypeRouterAdvertisement   = 134
-       ICMPv6TypeNeighborSolicitation  = 135
-       ICMPv6TypeNeighborAdvertisement = 136
-       ICMPv6TypeRedirect              = 137
-)
-
-const (
-       // DestinationUnreachable
-       ICMPv6CodeNoRouteToDst           = 0
-       ICMPv6CodeAdminProhibited        = 1
-       ICMPv6CodeBeyondScopeOfSrc       = 2
-       ICMPv6CodeAddressUnreachable     = 3
-       ICMPv6CodePortUnreachable        = 4
-       ICMPv6CodeSrcAddressFailedPolicy = 5
-       ICMPv6CodeRejectRouteToDst       = 6
-
-       // TimeExceeded
-       ICMPv6CodeHopLimitExceeded               = 0
-       ICMPv6CodeFragmentReassemblyTimeExceeded = 1
-
-       // ParameterProblem
-       ICMPv6CodeErroneousHeaderField   = 0
-       ICMPv6CodeUnrecognizedNextHeader = 1
-       ICMPv6CodeUnrecognizedIPv6Option = 2
-)
-
-type icmpv6TypeCodeInfoStruct struct {
-       typeStr string
-       codeStr *map[uint8]string
-}
-
-var (
-       icmpv6TypeCodeInfo = map[uint8]icmpv6TypeCodeInfoStruct{
-               ICMPv6TypeDestinationUnreachable: icmpv6TypeCodeInfoStruct{
-                       "DestinationUnreachable", &map[uint8]string{
-                               ICMPv6CodeNoRouteToDst:           "NoRouteToDst",
-                               ICMPv6CodeAdminProhibited:        "AdminProhibited",
-                               ICMPv6CodeBeyondScopeOfSrc:       "BeyondScopeOfSrc",
-                               ICMPv6CodeAddressUnreachable:     "AddressUnreachable",
-                               ICMPv6CodePortUnreachable:        "PortUnreachable",
-                               ICMPv6CodeSrcAddressFailedPolicy: "SrcAddressFailedPolicy",
-                               ICMPv6CodeRejectRouteToDst:       "RejectRouteToDst",
-                       },
-               },
-               ICMPv6TypePacketTooBig: icmpv6TypeCodeInfoStruct{
-                       "PacketTooBig", nil,
-               },
-               ICMPv6TypeTimeExceeded: icmpv6TypeCodeInfoStruct{
-                       "TimeExceeded", &map[uint8]string{
-                               ICMPv6CodeHopLimitExceeded:               "HopLimitExceeded",
-                               ICMPv6CodeFragmentReassemblyTimeExceeded: "FragmentReassemblyTimeExceeded",
-                       },
-               },
-               ICMPv6TypeParameterProblem: icmpv6TypeCodeInfoStruct{
-                       "ParameterProblem", &map[uint8]string{
-                               ICMPv6CodeErroneousHeaderField:   "ErroneousHeaderField",
-                               ICMPv6CodeUnrecognizedNextHeader: "UnrecognizedNextHeader",
-                               ICMPv6CodeUnrecognizedIPv6Option: "UnrecognizedIPv6Option",
-                       },
-               },
-               ICMPv6TypeEchoRequest: icmpv6TypeCodeInfoStruct{
-                       "EchoRequest", nil,
-               },
-               ICMPv6TypeEchoReply: icmpv6TypeCodeInfoStruct{
-                       "EchoReply", nil,
-               },
-               ICMPv6TypeRouterSolicitation: icmpv6TypeCodeInfoStruct{
-                       "RouterSolicitation", nil,
-               },
-               ICMPv6TypeRouterAdvertisement: icmpv6TypeCodeInfoStruct{
-                       "RouterAdvertisement", nil,
-               },
-               ICMPv6TypeNeighborSolicitation: icmpv6TypeCodeInfoStruct{
-                       "NeighborSolicitation", nil,
-               },
-               ICMPv6TypeNeighborAdvertisement: icmpv6TypeCodeInfoStruct{
-                       "NeighborAdvertisement", nil,
-               },
-               ICMPv6TypeRedirect: icmpv6TypeCodeInfoStruct{
-                       "Redirect", nil,
-               },
-       }
-)
-
-type ICMPv6TypeCode uint16
-
-// Type returns the ICMPv6 type field.
-func (a ICMPv6TypeCode) Type() uint8 {
-       return uint8(a >> 8)
-}
-
-// Code returns the ICMPv6 code field.
-func (a ICMPv6TypeCode) Code() uint8 {
-       return uint8(a)
-}
-
-func (a ICMPv6TypeCode) String() string {
-       t, c := a.Type(), a.Code()
-       strInfo, ok := icmpv6TypeCodeInfo[t]
-       if !ok {
-               // Unknown ICMPv6 type field
-               return fmt.Sprintf("%d(%d)", t, c)
-       }
-       typeStr := strInfo.typeStr
-       if strInfo.codeStr == nil && c == 0 {
-               // The ICMPv6 type does not make use of the code field
-               return fmt.Sprintf("%s", strInfo.typeStr)
-       }
-       if strInfo.codeStr == nil && c != 0 {
-               // The ICMPv6 type does not make use of the code field, but it is present anyway
-               return fmt.Sprintf("%s(Code: %d)", typeStr, c)
-       }
-       codeStr, ok := (*strInfo.codeStr)[c]
-       if !ok {
-               // We don't know this ICMPv6 code; print the numerical value
-               return fmt.Sprintf("%s(Code: %d)", typeStr, c)
-       }
-       return fmt.Sprintf("%s(%s)", typeStr, codeStr)
-}
-
-func (a ICMPv6TypeCode) GoString() string {
-       t := reflect.TypeOf(a)
-       return fmt.Sprintf("%s(%d, %d)", t.String(), a.Type(), a.Code())
-}
-
-// SerializeTo writes the ICMPv6TypeCode value to the 'bytes' buffer.
-func (a ICMPv6TypeCode) SerializeTo(bytes []byte) {
-       binary.BigEndian.PutUint16(bytes, uint16(a))
-}
-
-// CreateICMPv6TypeCode is a convenience function to create an ICMPv6TypeCode
-// gopacket type from the ICMPv6 type and code values.
-func CreateICMPv6TypeCode(typ uint8, code uint8) ICMPv6TypeCode {
-       return ICMPv6TypeCode(binary.BigEndian.Uint16([]byte{typ, code}))
-}
-
-// ICMPv6 is the layer for IPv6 ICMP packet data
-type ICMPv6 struct {
-       BaseLayer
-       TypeCode  ICMPv6TypeCode
-       Checksum  uint16
-       TypeBytes []byte
-       tcpipchecksum
-}
-
-// LayerType returns LayerTypeICMPv6.
-func (i *ICMPv6) LayerType() gopacket.LayerType { return LayerTypeICMPv6 }
-
-// DecodeFromBytes decodes the given bytes into this layer.
-func (i *ICMPv6) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       if len(data) < 8 {
-               df.SetTruncated()
-               return errors.New("ICMP layer less then 8 bytes for ICMPv6 packet")
-       }
-       i.TypeCode = CreateICMPv6TypeCode(data[0], data[1])
-       i.Checksum = binary.BigEndian.Uint16(data[2:4])
-       i.TypeBytes = data[4:8]
-       i.BaseLayer = BaseLayer{data[:8], data[8:]}
-       return nil
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-// See the docs for gopacket.SerializableLayer for more info.
-func (i *ICMPv6) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       if i.TypeBytes == nil {
-               i.TypeBytes = lotsOfZeros[:4]
-       } else if len(i.TypeBytes) != 4 {
-               return fmt.Errorf("invalid type bytes for ICMPv6 packet: %v", i.TypeBytes)
-       }
-       bytes, err := b.PrependBytes(8)
-       if err != nil {
-               return err
-       }
-       i.TypeCode.SerializeTo(bytes)
-       copy(bytes[4:8], i.TypeBytes)
-       if opts.ComputeChecksums {
-               bytes[2] = 0
-               bytes[3] = 0
-               csum, err := i.computeChecksum(b.Bytes(), IPProtocolICMPv6)
-               if err != nil {
-                       return err
-               }
-               i.Checksum = csum
-       }
-       binary.BigEndian.PutUint16(bytes[2:], i.Checksum)
-       return nil
-}
-
-// CanDecode returns the set of layer types that this DecodingLayer can decode.
-func (i *ICMPv6) CanDecode() gopacket.LayerClass {
-       return LayerTypeICMPv6
-}
-
-// NextLayerType returns the layer type contained by this DecodingLayer.
-func (i *ICMPv6) NextLayerType() gopacket.LayerType {
-       return gopacket.LayerTypePayload
-}
-
-func decodeICMPv6(data []byte, p gopacket.PacketBuilder) error {
-       i := &ICMPv6{}
-       return decodingLayerDecoder(i, data, p)
-}
diff --git a/vendor/github.com/google/gopacket/layers/igmp.go b/vendor/github.com/google/gopacket/layers/igmp.go
deleted file mode 100644 (file)
index d008415..0000000
+++ /dev/null
@@ -1,355 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-// Copyright 2009-2011 Andreas Krennmair. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "errors"
-       "net"
-       "time"
-
-       "github.com/google/gopacket"
-)
-
-type IGMPType uint8
-
-const (
-       IGMPMembershipQuery    IGMPType = 0x11 // General or group specific query
-       IGMPMembershipReportV1 IGMPType = 0x12 // Version 1 Membership Report
-       IGMPMembershipReportV2 IGMPType = 0x16 // Version 2 Membership Report
-       IGMPLeaveGroup         IGMPType = 0x17 // Leave Group
-       IGMPMembershipReportV3 IGMPType = 0x22 // Version 3 Membership Report
-)
-
-// String conversions for IGMP message types
-func (i IGMPType) String() string {
-       switch i {
-       case IGMPMembershipQuery:
-               return "IGMP Membership Query"
-       case IGMPMembershipReportV1:
-               return "IGMPv1 Membership Report"
-       case IGMPMembershipReportV2:
-               return "IGMPv2 Membership Report"
-       case IGMPMembershipReportV3:
-               return "IGMPv3 Membership Report"
-       case IGMPLeaveGroup:
-               return "Leave Group"
-       default:
-               return ""
-       }
-}
-
-type IGMPv3GroupRecordType uint8
-
-const (
-       IGMPIsIn  IGMPv3GroupRecordType = 0x01 // Type MODE_IS_INCLUDE, source addresses x
-       IGMPIsEx  IGMPv3GroupRecordType = 0x02 // Type MODE_IS_EXCLUDE, source addresses x
-       IGMPToIn  IGMPv3GroupRecordType = 0x03 // Type CHANGE_TO_INCLUDE_MODE, source addresses x
-       IGMPToEx  IGMPv3GroupRecordType = 0x04 // Type CHANGE_TO_EXCLUDE_MODE, source addresses x
-       IGMPAllow IGMPv3GroupRecordType = 0x05 // Type ALLOW_NEW_SOURCES, source addresses x
-       IGMPBlock IGMPv3GroupRecordType = 0x06 // Type BLOCK_OLD_SOURCES, source addresses x
-)
-
-func (i IGMPv3GroupRecordType) String() string {
-       switch i {
-       case IGMPIsIn:
-               return "MODE_IS_INCLUDE"
-       case IGMPIsEx:
-               return "MODE_IS_EXCLUDE"
-       case IGMPToIn:
-               return "CHANGE_TO_INCLUDE_MODE"
-       case IGMPToEx:
-               return "CHANGE_TO_EXCLUDE_MODE"
-       case IGMPAllow:
-               return "ALLOW_NEW_SOURCES"
-       case IGMPBlock:
-               return "BLOCK_OLD_SOURCES"
-       default:
-               return ""
-       }
-}
-
-// IGMP represents an IGMPv3 message.
-type IGMP struct {
-       BaseLayer
-       Type                    IGMPType
-       MaxResponseTime         time.Duration
-       Checksum                uint16
-       GroupAddress            net.IP
-       SupressRouterProcessing bool
-       RobustnessValue         uint8
-       IntervalTime            time.Duration
-       SourceAddresses         []net.IP
-       NumberOfGroupRecords    uint16
-       NumberOfSources         uint16
-       GroupRecords            []IGMPv3GroupRecord
-       Version                 uint8 // IGMP protocol version
-}
-
-// IGMPv1or2 stores header details for an IGMPv1 or IGMPv2 packet.
-//
-//  0                   1                   2                   3
-//  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-// |      Type     | Max Resp Time |           Checksum            |
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-// |                         Group Address                         |
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-type IGMPv1or2 struct {
-       BaseLayer
-       Type            IGMPType      // IGMP message type
-       MaxResponseTime time.Duration // meaningful only in Membership Query messages
-       Checksum        uint16        // 16-bit checksum of entire ip payload
-       GroupAddress    net.IP        // either 0 or an IP multicast address
-       Version         uint8
-}
-
-// decodeResponse dissects IGMPv1 or IGMPv2 packet.
-func (i *IGMPv1or2) decodeResponse(data []byte) error {
-       if len(data) < 8 {
-               return errors.New("IGMP packet too small")
-       }
-
-       i.MaxResponseTime = igmpTimeDecode(data[1])
-       i.Checksum = binary.BigEndian.Uint16(data[2:4])
-       i.GroupAddress = net.IP(data[4:8])
-
-       return nil
-}
-
-//  0                   1                   2                   3
-//  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-// |  Type = 0x22  |    Reserved   |           Checksum            |
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-// |           Reserved            |  Number of Group Records (M)  |
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-// |                                                               |
-// .                        Group Record [1]                       .
-// |                                                               |
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-// |                                                               |
-// .                        Group Record [2]                       .
-// |                                                               |
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-// |                                                               |
-// .                        Group Record [M]                       .
-// |                                                               |
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-// |  Record Type  |  Aux Data Len |     Number of Sources (N)     |
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-// |                       Multicast Address                       |
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-// |                       Source Address [1]                      |
-// +-                                                             -+
-// |                       Source Address [2]                      |
-// +-                                                             -+
-// |                       Source Address [N]                      |
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-// |                                                               |
-// .                         Auxiliary Data                        .
-// |                                                               |
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-
-// IGMPv3GroupRecord stores individual group records for a V3 Membership Report message.
-type IGMPv3GroupRecord struct {
-       Type             IGMPv3GroupRecordType
-       AuxDataLen       uint8 // this should always be 0 as per IGMPv3 spec.
-       NumberOfSources  uint16
-       MulticastAddress net.IP
-       SourceAddresses  []net.IP
-       AuxData          uint32 // NOT USED
-}
-
-func (i *IGMP) decodeIGMPv3MembershipReport(data []byte) error {
-       if len(data) < 8 {
-               return errors.New("IGMPv3 Membership Report too small #1")
-       }
-
-       i.Checksum = binary.BigEndian.Uint16(data[2:4])
-       i.NumberOfGroupRecords = binary.BigEndian.Uint16(data[6:8])
-
-       recordOffset := 8
-       for j := 0; j < int(i.NumberOfGroupRecords); j++ {
-               if len(data) < recordOffset+8 {
-                       return errors.New("IGMPv3 Membership Report too small #2")
-               }
-
-               var gr IGMPv3GroupRecord
-               gr.Type = IGMPv3GroupRecordType(data[recordOffset])
-               gr.AuxDataLen = data[recordOffset+1]
-               gr.NumberOfSources = binary.BigEndian.Uint16(data[recordOffset+2 : recordOffset+4])
-               gr.MulticastAddress = net.IP(data[recordOffset+4 : recordOffset+8])
-
-               if len(data) < recordOffset+8+int(gr.NumberOfSources)*4 {
-                       return errors.New("IGMPv3 Membership Report too small #3")
-               }
-
-               // append source address records.
-               for i := 0; i < int(gr.NumberOfSources); i++ {
-                       sourceAddr := net.IP(data[recordOffset+8+i*4 : recordOffset+12+i*4])
-                       gr.SourceAddresses = append(gr.SourceAddresses, sourceAddr)
-               }
-
-               i.GroupRecords = append(i.GroupRecords, gr)
-               recordOffset += 8 + 4*int(gr.NumberOfSources)
-       }
-       return nil
-}
-
-//  0                   1                   2                   3
-//  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-// |  Type = 0x11  | Max Resp Code |           Checksum            |
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-// |                         Group Address                         |
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-// | Resv  |S| QRV |     QQIC      |     Number of Sources (N)     |
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-// |                       Source Address [1]                      |
-// +-                                                             -+
-// |                       Source Address [2]                      |
-// +-                              .                              -+
-// |                       Source Address [N]                      |
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//
-// decodeIGMPv3MembershipQuery parses the IGMPv3 message of type 0x11
-func (i *IGMP) decodeIGMPv3MembershipQuery(data []byte) error {
-       if len(data) < 12 {
-               return errors.New("IGMPv3 Membership Query too small #1")
-       }
-
-       i.MaxResponseTime = igmpTimeDecode(data[1])
-       i.Checksum = binary.BigEndian.Uint16(data[2:4])
-       i.SupressRouterProcessing = data[8]&0x8 != 0
-       i.GroupAddress = net.IP(data[4:8])
-       i.RobustnessValue = data[8] & 0x7
-       i.IntervalTime = igmpTimeDecode(data[9])
-       i.NumberOfSources = binary.BigEndian.Uint16(data[10:12])
-
-       if len(data) < 12+int(i.NumberOfSources)*4 {
-               return errors.New("IGMPv3 Membership Query too small #2")
-       }
-
-       for j := 0; j < int(i.NumberOfSources); j++ {
-               i.SourceAddresses = append(i.SourceAddresses, net.IP(data[12+j*4:16+j*4]))
-       }
-
-       return nil
-}
-
-// igmpTimeDecode decodes the duration created by the given byte, using the
-// algorithm in http://www.rfc-base.org/txt/rfc-3376.txt section 4.1.1.
-func igmpTimeDecode(t uint8) time.Duration {
-       if t&0x80 == 0 {
-               return time.Millisecond * 100 * time.Duration(t)
-       }
-       mant := (t & 0x70) >> 4
-       exp := t & 0x0F
-       return time.Millisecond * 100 * time.Duration((mant|0x10)<<(exp+3))
-}
-
-// LayerType returns LayerTypeIGMP for the V1,2,3 message protocol formats.
-func (i *IGMP) LayerType() gopacket.LayerType      { return LayerTypeIGMP }
-func (i *IGMPv1or2) LayerType() gopacket.LayerType { return LayerTypeIGMP }
-
-func (i *IGMPv1or2) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       if len(data) < 8 {
-               return errors.New("IGMP Packet too small")
-       }
-
-       i.Type = IGMPType(data[0])
-       i.MaxResponseTime = igmpTimeDecode(data[1])
-       i.Checksum = binary.BigEndian.Uint16(data[2:4])
-       i.GroupAddress = net.IP(data[4:8])
-
-       return nil
-}
-
-func (i *IGMPv1or2) NextLayerType() gopacket.LayerType {
-       return gopacket.LayerTypeZero
-}
-
-func (i *IGMPv1or2) CanDecode() gopacket.LayerClass {
-       return LayerTypeIGMP
-}
-
-// DecodeFromBytes decodes the given bytes into this layer.
-func (i *IGMP) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       if len(data) < 1 {
-               return errors.New("IGMP packet is too small")
-       }
-
-       // common IGMP header values between versions 1..3 of IGMP specification..
-       i.Type = IGMPType(data[0])
-
-       switch i.Type {
-       case IGMPMembershipQuery:
-               i.decodeIGMPv3MembershipQuery(data)
-       case IGMPMembershipReportV3:
-               i.decodeIGMPv3MembershipReport(data)
-       default:
-               return errors.New("unsupported IGMP type")
-       }
-
-       return nil
-}
-
-// CanDecode returns the set of layer types that this DecodingLayer can decode.
-func (i *IGMP) CanDecode() gopacket.LayerClass {
-       return LayerTypeIGMP
-}
-
-// NextLayerType returns the layer type contained by this DecodingLayer.
-func (i *IGMP) NextLayerType() gopacket.LayerType {
-       return gopacket.LayerTypeZero
-}
-
-// decodeIGMP will parse IGMP v1,2 or 3 protocols. Checks against the
-// IGMP type are performed against byte[0], logic then iniitalizes and
-// passes the appropriate struct (IGMP or IGMPv1or2) to
-// decodingLayerDecoder.
-func decodeIGMP(data []byte, p gopacket.PacketBuilder) error {
-       if len(data) < 1 {
-               return errors.New("IGMP packet is too small")
-       }
-
-       // byte 0 contains IGMP message type.
-       switch IGMPType(data[0]) {
-       case IGMPMembershipQuery:
-               // IGMPv3 Membership Query payload is >= 12
-               if len(data) >= 12 {
-                       i := &IGMP{Version: 3}
-                       return decodingLayerDecoder(i, data, p)
-               } else if len(data) == 8 {
-                       i := &IGMPv1or2{}
-                       if data[1] == 0x00 {
-                               i.Version = 1 // IGMPv1 has a query length of 8 and MaxResp = 0
-                       } else {
-                               i.Version = 2 // IGMPv2 has a query length of 8 and MaxResp != 0
-                       }
-
-                       return decodingLayerDecoder(i, data, p)
-               }
-       case IGMPMembershipReportV3:
-               i := &IGMP{Version: 3}
-               return decodingLayerDecoder(i, data, p)
-       case IGMPMembershipReportV1:
-               i := &IGMPv1or2{Version: 1}
-               return decodingLayerDecoder(i, data, p)
-       case IGMPLeaveGroup, IGMPMembershipReportV2:
-               // leave group and Query Report v2 used in IGMPv2 only.
-               i := &IGMPv1or2{Version: 2}
-               return decodingLayerDecoder(i, data, p)
-       default:
-       }
-
-       return errors.New("Unable to determine IGMP type.")
-}
diff --git a/vendor/github.com/google/gopacket/layers/ip4.go b/vendor/github.com/google/gopacket/layers/ip4.go
deleted file mode 100644 (file)
index 3f31b27..0000000
+++ /dev/null
@@ -1,311 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-// Copyright 2009-2011 Andreas Krennmair. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "errors"
-       "fmt"
-       "net"
-       "strings"
-
-       "github.com/google/gopacket"
-)
-
-type IPv4Flag uint8
-
-const (
-       IPv4EvilBit       IPv4Flag = 1 << 2 // http://tools.ietf.org/html/rfc3514 ;)
-       IPv4DontFragment  IPv4Flag = 1 << 1
-       IPv4MoreFragments IPv4Flag = 1 << 0
-)
-
-func (f IPv4Flag) String() string {
-       var s []string
-       if f&IPv4EvilBit != 0 {
-               s = append(s, "Evil")
-       }
-       if f&IPv4DontFragment != 0 {
-               s = append(s, "DF")
-       }
-       if f&IPv4MoreFragments != 0 {
-               s = append(s, "MF")
-       }
-       return strings.Join(s, "|")
-}
-
-// IPv4 is the header of an IP packet.
-type IPv4 struct {
-       BaseLayer
-       Version    uint8
-       IHL        uint8
-       TOS        uint8
-       Length     uint16
-       Id         uint16
-       Flags      IPv4Flag
-       FragOffset uint16
-       TTL        uint8
-       Protocol   IPProtocol
-       Checksum   uint16
-       SrcIP      net.IP
-       DstIP      net.IP
-       Options    []IPv4Option
-       Padding    []byte
-}
-
-// LayerType returns LayerTypeIPv4
-func (i *IPv4) LayerType() gopacket.LayerType { return LayerTypeIPv4 }
-func (i *IPv4) NetworkFlow() gopacket.Flow {
-       return gopacket.NewFlow(EndpointIPv4, i.SrcIP, i.DstIP)
-}
-
-type IPv4Option struct {
-       OptionType   uint8
-       OptionLength uint8
-       OptionData   []byte
-}
-
-func (i IPv4Option) String() string {
-       return fmt.Sprintf("IPv4Option(%v:%v)", i.OptionType, i.OptionData)
-}
-
-// for the current ipv4 options, return the number of bytes (including
-// padding that the options used)
-func (ip *IPv4) getIPv4OptionSize() uint8 {
-       optionSize := uint8(0)
-       for _, opt := range ip.Options {
-               switch opt.OptionType {
-               case 0:
-                       // this is the end of option lists
-                       optionSize++
-               case 1:
-                       // this is the padding
-                       optionSize++
-               default:
-                       optionSize += opt.OptionLength
-
-               }
-       }
-       // make sure the options are aligned to 32 bit boundary
-       if (optionSize % 4) != 0 {
-               optionSize += 4 - (optionSize % 4)
-       }
-       return optionSize
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-func (ip *IPv4) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       optionLength := ip.getIPv4OptionSize()
-       bytes, err := b.PrependBytes(20 + int(optionLength))
-       if err != nil {
-               return err
-       }
-       if opts.FixLengths {
-               ip.IHL = 5 + (optionLength / 4)
-               ip.Length = uint16(len(b.Bytes()))
-       }
-       bytes[0] = (ip.Version << 4) | ip.IHL
-       bytes[1] = ip.TOS
-       binary.BigEndian.PutUint16(bytes[2:], ip.Length)
-       binary.BigEndian.PutUint16(bytes[4:], ip.Id)
-       binary.BigEndian.PutUint16(bytes[6:], ip.flagsfrags())
-       bytes[8] = ip.TTL
-       bytes[9] = byte(ip.Protocol)
-       if err := ip.AddressTo4(); err != nil {
-               return err
-       }
-       copy(bytes[12:16], ip.SrcIP)
-       copy(bytes[16:20], ip.DstIP)
-
-       curLocation := 20
-       // Now, we will encode the options
-       for _, opt := range ip.Options {
-               switch opt.OptionType {
-               case 0:
-                       // this is the end of option lists
-                       bytes[curLocation] = 0
-                       curLocation++
-               case 1:
-                       // this is the padding
-                       bytes[curLocation] = 1
-                       curLocation++
-               default:
-                       bytes[curLocation] = opt.OptionType
-                       bytes[curLocation+1] = opt.OptionLength
-
-                       // sanity checking to protect us from buffer overrun
-                       if len(opt.OptionData) > int(opt.OptionLength-2) {
-                               return errors.New("option length is smaller than length of option data")
-                       }
-                       copy(bytes[curLocation+2:curLocation+int(opt.OptionLength)], opt.OptionData)
-                       curLocation += int(opt.OptionLength)
-               }
-       }
-
-       if opts.ComputeChecksums {
-               ip.Checksum = checksum(bytes)
-       }
-       binary.BigEndian.PutUint16(bytes[10:], ip.Checksum)
-       return nil
-}
-
-func checksum(bytes []byte) uint16 {
-       // Clear checksum bytes
-       bytes[10] = 0
-       bytes[11] = 0
-
-       // Compute checksum
-       var csum uint32
-       for i := 0; i < len(bytes); i += 2 {
-               csum += uint32(bytes[i]) << 8
-               csum += uint32(bytes[i+1])
-       }
-       for {
-               // Break when sum is less or equals to 0xFFFF
-               if csum <= 65535 {
-                       break
-               }
-               // Add carry to the sum
-               csum = (csum >> 16) + uint32(uint16(csum))
-       }
-       // Flip all the bits
-       return ^uint16(csum)
-}
-
-func (ip *IPv4) flagsfrags() (ff uint16) {
-       ff |= uint16(ip.Flags) << 13
-       ff |= ip.FragOffset
-       return
-}
-
-// DecodeFromBytes decodes the given bytes into this layer.
-func (ip *IPv4) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       flagsfrags := binary.BigEndian.Uint16(data[6:8])
-
-       ip.Version = uint8(data[0]) >> 4
-       ip.IHL = uint8(data[0]) & 0x0F
-       ip.TOS = data[1]
-       ip.Length = binary.BigEndian.Uint16(data[2:4])
-       ip.Id = binary.BigEndian.Uint16(data[4:6])
-       ip.Flags = IPv4Flag(flagsfrags >> 13)
-       ip.FragOffset = flagsfrags & 0x1FFF
-       ip.TTL = data[8]
-       ip.Protocol = IPProtocol(data[9])
-       ip.Checksum = binary.BigEndian.Uint16(data[10:12])
-       ip.SrcIP = data[12:16]
-       ip.DstIP = data[16:20]
-       ip.Options = ip.Options[:0]
-       // Set up an initial guess for contents/payload... we'll reset these soon.
-       ip.BaseLayer = BaseLayer{Contents: data}
-
-       // This code is added for the following enviroment:
-       // * Windows 10 with TSO option activated. ( tested on Hyper-V, RealTek ethernet driver )
-       if ip.Length == 0 {
-               // If using TSO(TCP Segmentation Offload), length is zero.
-               // The actual packet length is the length of data.
-               ip.Length = uint16(len(data))
-       }
-
-       if ip.Length < 20 {
-               return fmt.Errorf("Invalid (too small) IP length (%d < 20)", ip.Length)
-       } else if ip.IHL < 5 {
-               return fmt.Errorf("Invalid (too small) IP header length (%d < 5)", ip.IHL)
-       } else if int(ip.IHL*4) > int(ip.Length) {
-               return fmt.Errorf("Invalid IP header length > IP length (%d > %d)", ip.IHL, ip.Length)
-       }
-       if cmp := len(data) - int(ip.Length); cmp > 0 {
-               data = data[:ip.Length]
-       } else if cmp < 0 {
-               df.SetTruncated()
-               if int(ip.IHL)*4 > len(data) {
-                       return errors.New("Not all IP header bytes available")
-               }
-       }
-       ip.Contents = data[:ip.IHL*4]
-       ip.Payload = data[ip.IHL*4:]
-       // From here on, data contains the header options.
-       data = data[20 : ip.IHL*4]
-       // Pull out IP options
-       for len(data) > 0 {
-               if ip.Options == nil {
-                       // Pre-allocate to avoid growing the slice too much.
-                       ip.Options = make([]IPv4Option, 0, 4)
-               }
-               opt := IPv4Option{OptionType: data[0]}
-               switch opt.OptionType {
-               case 0: // End of options
-                       opt.OptionLength = 1
-                       ip.Options = append(ip.Options, opt)
-                       ip.Padding = data[1:]
-                       break
-               case 1: // 1 byte padding
-                       opt.OptionLength = 1
-               default:
-                       opt.OptionLength = data[1]
-                       opt.OptionData = data[2:opt.OptionLength]
-               }
-               if len(data) >= int(opt.OptionLength) {
-                       data = data[opt.OptionLength:]
-               } else {
-                       return fmt.Errorf("IP option length exceeds remaining IP header size, option type %v length %v", opt.OptionType, opt.OptionLength)
-               }
-               ip.Options = append(ip.Options, opt)
-       }
-       return nil
-}
-
-func (i *IPv4) CanDecode() gopacket.LayerClass {
-       return LayerTypeIPv4
-}
-
-func (i *IPv4) NextLayerType() gopacket.LayerType {
-       if i.Flags&IPv4MoreFragments != 0 || i.FragOffset != 0 {
-               return gopacket.LayerTypeFragment
-       }
-       return i.Protocol.LayerType()
-}
-
-func decodeIPv4(data []byte, p gopacket.PacketBuilder) error {
-       ip := &IPv4{}
-       err := ip.DecodeFromBytes(data, p)
-       p.AddLayer(ip)
-       p.SetNetworkLayer(ip)
-       if err != nil {
-               return err
-       }
-       return p.NextDecoder(ip.NextLayerType())
-}
-
-func checkIPv4Address(addr net.IP) (net.IP, error) {
-       if c := addr.To4(); c != nil {
-               return c, nil
-       }
-       if len(addr) == net.IPv6len {
-               return nil, errors.New("address is IPv6")
-       }
-       return nil, fmt.Errorf("wrong length of %d bytes instead of %d", len(addr), net.IPv4len)
-}
-
-func (ip *IPv4) AddressTo4() error {
-       var src, dst net.IP
-
-       if addr, err := checkIPv4Address(ip.SrcIP); err != nil {
-               return fmt.Errorf("Invalid source IPv4 address (%s)", err)
-       } else {
-               src = addr
-       }
-       if addr, err := checkIPv4Address(ip.DstIP); err != nil {
-               return fmt.Errorf("Invalid destination IPv4 address (%s)", err)
-       } else {
-               dst = addr
-       }
-       ip.SrcIP = src
-       ip.DstIP = dst
-       return nil
-}
diff --git a/vendor/github.com/google/gopacket/layers/ip6.go b/vendor/github.com/google/gopacket/layers/ip6.go
deleted file mode 100644 (file)
index b5befe9..0000000
+++ /dev/null
@@ -1,650 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-// Copyright 2009-2011 Andreas Krennmair. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "errors"
-       "fmt"
-       "net"
-
-       "github.com/google/gopacket"
-)
-
-const (
-       IPv6HopByHopOptionJumbogram = 0xC2 // RFC 2675
-)
-
-const (
-       ipv6MaxPayloadLength = 65535
-)
-
-// IPv6 is the layer for the IPv6 header.
-type IPv6 struct {
-       // http://www.networksorcery.com/enp/protocol/ipv6.htm
-       BaseLayer
-       Version      uint8
-       TrafficClass uint8
-       FlowLabel    uint32
-       Length       uint16
-       NextHeader   IPProtocol
-       HopLimit     uint8
-       SrcIP        net.IP
-       DstIP        net.IP
-       HopByHop     *IPv6HopByHop
-       // hbh will be pointed to by HopByHop if that layer exists.
-       hbh IPv6HopByHop
-}
-
-// LayerType returns LayerTypeIPv6
-func (i *IPv6) LayerType() gopacket.LayerType { return LayerTypeIPv6 }
-
-func (i *IPv6) NetworkFlow() gopacket.Flow {
-       return gopacket.NewFlow(EndpointIPv6, i.SrcIP, i.DstIP)
-}
-
-// Search for Jumbo Payload TLV in IPv6HopByHop and return (length, true) if found
-func getIPv6HopByHopJumboLength(hopopts *IPv6HopByHop) (uint32, bool, error) {
-       var tlv *IPv6HopByHopOption
-
-       for _, t := range hopopts.Options {
-               if t.OptionType == IPv6HopByHopOptionJumbogram {
-                       tlv = t
-                       break
-               }
-       }
-       if tlv == nil {
-               // Not found
-               return 0, false, nil
-       }
-       if len(tlv.OptionData) != 4 {
-               return 0, false, errors.New("Jumbo length TLV data must have length 4")
-       }
-       l := binary.BigEndian.Uint32(tlv.OptionData)
-       if l <= ipv6MaxPayloadLength {
-               return 0, false, fmt.Errorf("Jumbo length cannot be less than %d", ipv6MaxPayloadLength+1)
-       }
-       // Found
-       return l, true, nil
-}
-
-// Adds zero-valued Jumbo TLV to IPv6 header if it does not exist
-// (if necessary add hop-by-hop header)
-func addIPv6JumboOption(ip6 *IPv6) {
-       var tlv *IPv6HopByHopOption
-
-       if ip6.HopByHop == nil {
-               // Add IPv6 HopByHop
-               ip6.HopByHop = &IPv6HopByHop{}
-               ip6.HopByHop.NextHeader = ip6.NextHeader
-               ip6.HopByHop.HeaderLength = 0
-               ip6.NextHeader = IPProtocolIPv6HopByHop
-       }
-       for _, t := range ip6.HopByHop.Options {
-               if t.OptionType == IPv6HopByHopOptionJumbogram {
-                       tlv = t
-                       break
-               }
-       }
-       if tlv == nil {
-               // Add Jumbo TLV
-               tlv = &IPv6HopByHopOption{}
-               ip6.HopByHop.Options = append(ip6.HopByHop.Options, tlv)
-       }
-       tlv.SetJumboLength(0)
-}
-
-// Set jumbo length in serialized IPv6 payload (starting with HopByHop header)
-func setIPv6PayloadJumboLength(hbh []byte) error {
-       pLen := len(hbh)
-       if pLen < 8 {
-               //HopByHop is minimum 8 bytes
-               return fmt.Errorf("Invalid IPv6 payload (length %d)", pLen)
-       }
-       hbhLen := int((hbh[1] + 1) * 8)
-       if hbhLen > pLen {
-               return fmt.Errorf("Invalid hop-by-hop length (length: %d, payload: %d", hbhLen, pLen)
-       }
-       offset := 2 //start with options
-       for offset < hbhLen {
-               opt := hbh[offset]
-               if opt == 0 {
-                       //Pad1
-                       offset += 1
-                       continue
-               }
-               optLen := int(hbh[offset+1])
-               if opt == IPv6HopByHopOptionJumbogram {
-                       if optLen == 4 {
-                               binary.BigEndian.PutUint32(hbh[offset+2:], uint32(pLen))
-                               return nil
-                       }
-                       return fmt.Errorf("Jumbo TLV too short (%d bytes)", optLen)
-               }
-               offset += 2 + optLen
-       }
-       return errors.New("Jumbo TLV not found")
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-// See the docs for gopacket.SerializableLayer for more info.
-func (ip6 *IPv6) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       var jumbo bool
-       var err error
-
-       payload := b.Bytes()
-       pLen := len(payload)
-       if pLen > ipv6MaxPayloadLength {
-               jumbo = true
-               if opts.FixLengths {
-                       // We need to set the length later because the hop-by-hop header may
-                       // not exist or else need padding, so pLen may yet change
-                       addIPv6JumboOption(ip6)
-               } else if ip6.HopByHop == nil {
-                       return fmt.Errorf("Cannot fit payload length of %d into IPv6 packet", pLen)
-               } else {
-                       _, ok, err := getIPv6HopByHopJumboLength(ip6.HopByHop)
-                       if err != nil {
-                               return err
-                       }
-                       if !ok {
-                               return errors.New("Missing jumbo length hop-by-hop option")
-                       }
-               }
-       }
-       if ip6.HopByHop != nil {
-               if ip6.NextHeader != IPProtocolIPv6HopByHop {
-                       // Just fix it instead of throwing an error
-                       ip6.NextHeader = IPProtocolIPv6HopByHop
-               }
-               err = ip6.HopByHop.SerializeTo(b, opts)
-               if err != nil {
-                       return err
-               }
-               payload = b.Bytes()
-               pLen = len(payload)
-               if opts.FixLengths && jumbo {
-                       err := setIPv6PayloadJumboLength(payload)
-                       if err != nil {
-                               return err
-                       }
-               }
-       }
-       if !jumbo && pLen > ipv6MaxPayloadLength {
-               return errors.New("Cannot fit payload into IPv6 header")
-       }
-       bytes, err := b.PrependBytes(40)
-       if err != nil {
-               return err
-       }
-       bytes[0] = (ip6.Version << 4) | (ip6.TrafficClass >> 4)
-       bytes[1] = (ip6.TrafficClass << 4) | uint8(ip6.FlowLabel>>16)
-       binary.BigEndian.PutUint16(bytes[2:], uint16(ip6.FlowLabel))
-       if opts.FixLengths {
-               if jumbo {
-                       ip6.Length = 0
-               } else {
-                       ip6.Length = uint16(pLen)
-               }
-       }
-       binary.BigEndian.PutUint16(bytes[4:], ip6.Length)
-       bytes[6] = byte(ip6.NextHeader)
-       bytes[7] = byte(ip6.HopLimit)
-       if err := ip6.AddressTo16(); err != nil {
-               return err
-       }
-       copy(bytes[8:], ip6.SrcIP)
-       copy(bytes[24:], ip6.DstIP)
-       return nil
-}
-
-func (ip6 *IPv6) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       ip6.Version = uint8(data[0]) >> 4
-       ip6.TrafficClass = uint8((binary.BigEndian.Uint16(data[0:2]) >> 4) & 0x00FF)
-       ip6.FlowLabel = binary.BigEndian.Uint32(data[0:4]) & 0x000FFFFF
-       ip6.Length = binary.BigEndian.Uint16(data[4:6])
-       ip6.NextHeader = IPProtocol(data[6])
-       ip6.HopLimit = data[7]
-       ip6.SrcIP = data[8:24]
-       ip6.DstIP = data[24:40]
-       ip6.HopByHop = nil
-       ip6.BaseLayer = BaseLayer{data[:40], data[40:]}
-
-       // We treat a HopByHop IPv6 option as part of the IPv6 packet, since its
-       // options are crucial for understanding what's actually happening per packet.
-       if ip6.NextHeader == IPProtocolIPv6HopByHop {
-               err := ip6.hbh.DecodeFromBytes(ip6.Payload, df)
-               if err != nil {
-                       return err
-               }
-               ip6.HopByHop = &ip6.hbh
-               pEnd, jumbo, err := getIPv6HopByHopJumboLength(ip6.HopByHop)
-               if err != nil {
-                       return err
-               }
-               if jumbo && ip6.Length == 0 {
-                       pEnd := int(pEnd)
-                       if pEnd > len(ip6.Payload) {
-                               df.SetTruncated()
-                               pEnd = len(ip6.Payload)
-                       }
-                       ip6.Payload = ip6.Payload[:pEnd]
-                       return nil
-               } else if jumbo && ip6.Length != 0 {
-                       return errors.New("IPv6 has jumbo length and IPv6 length is not 0")
-               } else if !jumbo && ip6.Length == 0 {
-                       return errors.New("IPv6 length 0, but HopByHop header does not have jumbogram option")
-               }
-       }
-
-       if ip6.Length == 0 {
-               return fmt.Errorf("IPv6 length 0, but next header is %v, not HopByHop", ip6.NextHeader)
-       } else {
-               pEnd := int(ip6.Length)
-               if pEnd > len(ip6.Payload) {
-                       df.SetTruncated()
-                       pEnd = len(ip6.Payload)
-               }
-               ip6.Payload = ip6.Payload[:pEnd]
-       }
-       return nil
-}
-
-func (i *IPv6) CanDecode() gopacket.LayerClass {
-       return LayerTypeIPv6
-}
-
-func (i *IPv6) NextLayerType() gopacket.LayerType {
-       if i.HopByHop != nil {
-               return i.HopByHop.NextHeader.LayerType()
-       }
-       return i.NextHeader.LayerType()
-}
-
-func decodeIPv6(data []byte, p gopacket.PacketBuilder) error {
-       ip6 := &IPv6{}
-       err := ip6.DecodeFromBytes(data, p)
-       p.AddLayer(ip6)
-       p.SetNetworkLayer(ip6)
-       if ip6.HopByHop != nil {
-               p.AddLayer(ip6.HopByHop)
-       }
-       if err != nil {
-               return err
-       }
-       return p.NextDecoder(ip6.NextLayerType())
-}
-
-type ipv6HeaderTLVOption struct {
-       OptionType, OptionLength uint8
-       ActualLength             int
-       OptionData               []byte
-       OptionAlignment          [2]uint8 // Xn+Y = [2]uint8{X, Y}
-}
-
-func (h *ipv6HeaderTLVOption) serializeTo(data []byte, fixLengths bool, dryrun bool) int {
-       if fixLengths {
-               h.OptionLength = uint8(len(h.OptionData))
-       }
-       length := int(h.OptionLength) + 2
-       if !dryrun {
-               data[0] = h.OptionType
-               data[1] = h.OptionLength
-               copy(data[2:], h.OptionData)
-       }
-       return length
-}
-
-func decodeIPv6HeaderTLVOption(data []byte) (h *ipv6HeaderTLVOption) {
-       h = &ipv6HeaderTLVOption{}
-       if data[0] == 0 {
-               h.ActualLength = 1
-               return
-       }
-       h.OptionType = data[0]
-       h.OptionLength = data[1]
-       h.ActualLength = int(h.OptionLength) + 2
-       h.OptionData = data[2:h.ActualLength]
-       return
-}
-
-func serializeTLVOptionPadding(data []byte, padLength int) {
-       if padLength <= 0 {
-               return
-       }
-       if padLength == 1 {
-               data[0] = 0x0
-               return
-       }
-       tlvLength := uint8(padLength) - 2
-       data[0] = 0x1
-       data[1] = tlvLength
-       if tlvLength != 0 {
-               for k := range data[2:] {
-                       data[k+2] = 0x0
-               }
-       }
-       return
-}
-
-// If buf is 'nil' do a serialize dry run
-func serializeIPv6HeaderTLVOptions(buf []byte, options []*ipv6HeaderTLVOption, fixLengths bool) int {
-       var l int
-
-       dryrun := buf == nil
-       length := 2
-       for _, opt := range options {
-               if fixLengths {
-                       x := int(opt.OptionAlignment[0])
-                       y := int(opt.OptionAlignment[1])
-                       if x != 0 {
-                               n := length / x
-                               offset := x*n + y
-                               if offset < length {
-                                       offset += x
-                               }
-                               if length != offset {
-                                       pad := offset - length
-                                       if !dryrun {
-                                               serializeTLVOptionPadding(buf[length-2:], pad)
-                                       }
-                                       length += pad
-                               }
-                       }
-               }
-               if dryrun {
-                       l = opt.serializeTo(nil, fixLengths, true)
-               } else {
-                       l = opt.serializeTo(buf[length-2:], fixLengths, false)
-               }
-               length += l
-       }
-       if fixLengths {
-               pad := length % 8
-               if pad != 0 {
-                       if !dryrun {
-                               serializeTLVOptionPadding(buf[length-2:], pad)
-                       }
-                       length += pad
-               }
-       }
-       return length - 2
-}
-
-type ipv6ExtensionBase struct {
-       BaseLayer
-       NextHeader   IPProtocol
-       HeaderLength uint8
-       ActualLength int
-}
-
-func decodeIPv6ExtensionBase(data []byte) (i ipv6ExtensionBase) {
-       i.NextHeader = IPProtocol(data[0])
-       i.HeaderLength = data[1]
-       i.ActualLength = int(i.HeaderLength)*8 + 8
-       i.Contents = data[:i.ActualLength]
-       i.Payload = data[i.ActualLength:]
-       return
-}
-
-// IPv6ExtensionSkipper is a DecodingLayer which decodes and ignores v6
-// extensions.  You can use it with a DecodingLayerParser to handle IPv6 stacks
-// which may or may not have extensions.
-type IPv6ExtensionSkipper struct {
-       NextHeader IPProtocol
-       BaseLayer
-}
-
-func (i *IPv6ExtensionSkipper) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       extension := decodeIPv6ExtensionBase(data)
-       i.BaseLayer = BaseLayer{data[:extension.ActualLength], data[extension.ActualLength:]}
-       i.NextHeader = extension.NextHeader
-       return nil
-}
-
-func (i *IPv6ExtensionSkipper) CanDecode() gopacket.LayerClass {
-       return LayerClassIPv6Extension
-}
-
-func (i *IPv6ExtensionSkipper) NextLayerType() gopacket.LayerType {
-       return i.NextHeader.LayerType()
-}
-
-// IPv6HopByHopOption is a TLV option present in an IPv6 hop-by-hop extension.
-type IPv6HopByHopOption ipv6HeaderTLVOption
-
-// IPv6HopByHop is the IPv6 hop-by-hop extension.
-type IPv6HopByHop struct {
-       ipv6ExtensionBase
-       Options []*IPv6HopByHopOption
-}
-
-// LayerType returns LayerTypeIPv6HopByHop.
-func (i *IPv6HopByHop) LayerType() gopacket.LayerType { return LayerTypeIPv6HopByHop }
-
-func (i *IPv6HopByHop) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       var bytes []byte
-       var err error
-
-       o := make([]*ipv6HeaderTLVOption, 0, len(i.Options))
-       for _, v := range i.Options {
-               o = append(o, (*ipv6HeaderTLVOption)(v))
-       }
-
-       l := serializeIPv6HeaderTLVOptions(nil, o, opts.FixLengths)
-       bytes, err = b.PrependBytes(l)
-       if err != nil {
-               return err
-       }
-       serializeIPv6HeaderTLVOptions(bytes, o, opts.FixLengths)
-
-       length := len(bytes) + 2
-       if length%8 != 0 {
-               return errors.New("IPv6HopByHop actual length must be multiple of 8")
-       }
-       bytes, err = b.PrependBytes(2)
-       if err != nil {
-               return err
-       }
-       bytes[0] = uint8(i.NextHeader)
-       if opts.FixLengths {
-               i.HeaderLength = uint8((length / 8) - 1)
-       }
-       bytes[1] = uint8(i.HeaderLength)
-       return nil
-}
-
-func (i *IPv6HopByHop) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       i.ipv6ExtensionBase = decodeIPv6ExtensionBase(data)
-       offset := 2
-       for offset < i.ActualLength {
-               opt := decodeIPv6HeaderTLVOption(data[offset:])
-               i.Options = append(i.Options, (*IPv6HopByHopOption)(opt))
-               offset += opt.ActualLength
-       }
-       return nil
-}
-
-func decodeIPv6HopByHop(data []byte, p gopacket.PacketBuilder) error {
-       i := &IPv6HopByHop{}
-       err := i.DecodeFromBytes(data, p)
-       p.AddLayer(i)
-       if err != nil {
-               return err
-       }
-       return p.NextDecoder(i.NextHeader)
-}
-
-func (o *IPv6HopByHopOption) SetJumboLength(len uint32) {
-       o.OptionType = IPv6HopByHopOptionJumbogram
-       o.OptionLength = 4
-       o.ActualLength = 6
-       if o.OptionData == nil {
-               o.OptionData = make([]byte, 4)
-       }
-       binary.BigEndian.PutUint32(o.OptionData, len)
-       o.OptionAlignment = [2]uint8{4, 2}
-}
-
-// IPv6Routing is the IPv6 routing extension.
-type IPv6Routing struct {
-       ipv6ExtensionBase
-       RoutingType  uint8
-       SegmentsLeft uint8
-       // This segment is supposed to be zero according to RFC2460, the second set of
-       // 4 bytes in the extension.
-       Reserved []byte
-       // SourceRoutingIPs is the set of IPv6 addresses requested for source routing,
-       // set only if RoutingType == 0.
-       SourceRoutingIPs []net.IP
-}
-
-// LayerType returns LayerTypeIPv6Routing.
-func (i *IPv6Routing) LayerType() gopacket.LayerType { return LayerTypeIPv6Routing }
-
-func decodeIPv6Routing(data []byte, p gopacket.PacketBuilder) error {
-       i := &IPv6Routing{
-               ipv6ExtensionBase: decodeIPv6ExtensionBase(data),
-               RoutingType:       data[2],
-               SegmentsLeft:      data[3],
-               Reserved:          data[4:8],
-       }
-       switch i.RoutingType {
-       case 0: // Source routing
-               if (i.ActualLength-8)%16 != 0 {
-                       return fmt.Errorf("Invalid IPv6 source routing, length of type 0 packet %d", i.ActualLength)
-               }
-               for d := i.Contents[8:]; len(d) >= 16; d = d[16:] {
-                       i.SourceRoutingIPs = append(i.SourceRoutingIPs, net.IP(d[:16]))
-               }
-       default:
-               return fmt.Errorf("Unknown IPv6 routing header type %d", i.RoutingType)
-       }
-       p.AddLayer(i)
-       return p.NextDecoder(i.NextHeader)
-}
-
-// IPv6Fragment is the IPv6 fragment header, used for packet
-// fragmentation/defragmentation.
-type IPv6Fragment struct {
-       BaseLayer
-       NextHeader IPProtocol
-       // Reserved1 is bits [8-16), from least to most significant, 0-indexed
-       Reserved1      uint8
-       FragmentOffset uint16
-       // Reserved2 is bits [29-31), from least to most significant, 0-indexed
-       Reserved2      uint8
-       MoreFragments  bool
-       Identification uint32
-}
-
-// LayerType returns LayerTypeIPv6Fragment.
-func (i *IPv6Fragment) LayerType() gopacket.LayerType { return LayerTypeIPv6Fragment }
-
-func decodeIPv6Fragment(data []byte, p gopacket.PacketBuilder) error {
-       i := &IPv6Fragment{
-               BaseLayer:      BaseLayer{data[:8], data[8:]},
-               NextHeader:     IPProtocol(data[0]),
-               Reserved1:      data[1],
-               FragmentOffset: binary.BigEndian.Uint16(data[2:4]) >> 3,
-               Reserved2:      data[3] & 0x6 >> 1,
-               MoreFragments:  data[3]&0x1 != 0,
-               Identification: binary.BigEndian.Uint32(data[4:8]),
-       }
-       p.AddLayer(i)
-       return p.NextDecoder(gopacket.DecodeFragment)
-}
-
-// IPv6DestinationOption is a TLV option present in an IPv6 destination options extension.
-type IPv6DestinationOption ipv6HeaderTLVOption
-
-// IPv6Destination is the IPv6 destination options header.
-type IPv6Destination struct {
-       ipv6ExtensionBase
-       Options []*IPv6DestinationOption
-}
-
-// LayerType returns LayerTypeIPv6Destination.
-func (i *IPv6Destination) LayerType() gopacket.LayerType { return LayerTypeIPv6Destination }
-
-func (i *IPv6Destination) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       i.ipv6ExtensionBase = decodeIPv6ExtensionBase(data)
-       offset := 2
-       for offset < i.ActualLength {
-               opt := decodeIPv6HeaderTLVOption(data[offset:])
-               i.Options = append(i.Options, (*IPv6DestinationOption)(opt))
-               offset += opt.ActualLength
-       }
-       return nil
-}
-
-func decodeIPv6Destination(data []byte, p gopacket.PacketBuilder) error {
-       i := &IPv6Destination{}
-       err := i.DecodeFromBytes(data, p)
-       p.AddLayer(i)
-       if err != nil {
-               return err
-       }
-       return p.NextDecoder(i.NextHeader)
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-// See the docs for gopacket.SerializableLayer for more info.
-func (i *IPv6Destination) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       var bytes []byte
-       var err error
-
-       o := make([]*ipv6HeaderTLVOption, 0, len(i.Options))
-       for _, v := range i.Options {
-               o = append(o, (*ipv6HeaderTLVOption)(v))
-       }
-
-       l := serializeIPv6HeaderTLVOptions(nil, o, opts.FixLengths)
-       bytes, err = b.PrependBytes(l)
-       if err != nil {
-               return err
-       }
-       serializeIPv6HeaderTLVOptions(bytes, o, opts.FixLengths)
-
-       length := len(bytes) + 2
-       if length%8 != 0 {
-               return errors.New("IPv6Destination actual length must be multiple of 8")
-       }
-       bytes, err = b.PrependBytes(2)
-       if err != nil {
-               return err
-       }
-       bytes[0] = uint8(i.NextHeader)
-       if opts.FixLengths {
-               i.HeaderLength = uint8((length / 8) - 1)
-       }
-       bytes[1] = uint8(i.HeaderLength)
-       return nil
-}
-
-func checkIPv6Address(addr net.IP) error {
-       if len(addr) == net.IPv6len {
-               return nil
-       }
-       if len(addr) == net.IPv4len {
-               return errors.New("address is IPv4")
-       }
-       return fmt.Errorf("wrong length of %d bytes instead of %d", len(addr), net.IPv6len)
-}
-
-func (ip *IPv6) AddressTo16() error {
-       if err := checkIPv6Address(ip.SrcIP); err != nil {
-               return fmt.Errorf("Invalid source IPv6 address (%s)", err)
-       }
-       if err := checkIPv6Address(ip.DstIP); err != nil {
-               return fmt.Errorf("Invalid destination IPv6 address (%s)", err)
-       }
-       return nil
-}
diff --git a/vendor/github.com/google/gopacket/layers/ipsec.go b/vendor/github.com/google/gopacket/layers/ipsec.go
deleted file mode 100644 (file)
index 19163fa..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "github.com/google/gopacket"
-)
-
-// IPSecAH is the authentication header for IPv4/6 defined in
-// http://tools.ietf.org/html/rfc2402
-type IPSecAH struct {
-       // While the auth header can be used for both IPv4 and v6, its format is that of
-       // an IPv6 extension (NextHeader, PayloadLength, etc...), so we use ipv6ExtensionBase
-       // to build it.
-       ipv6ExtensionBase
-       Reserved           uint16
-       SPI, Seq           uint32
-       AuthenticationData []byte
-}
-
-// LayerType returns LayerTypeIPSecAH.
-func (i *IPSecAH) LayerType() gopacket.LayerType { return LayerTypeIPSecAH }
-
-func decodeIPSecAH(data []byte, p gopacket.PacketBuilder) error {
-       i := &IPSecAH{
-               ipv6ExtensionBase: ipv6ExtensionBase{
-                       NextHeader:   IPProtocol(data[0]),
-                       HeaderLength: data[1],
-               },
-               Reserved: binary.BigEndian.Uint16(data[2:4]),
-               SPI:      binary.BigEndian.Uint32(data[4:8]),
-               Seq:      binary.BigEndian.Uint32(data[8:12]),
-       }
-       i.ActualLength = (int(i.HeaderLength) + 2) * 4
-       i.AuthenticationData = data[12:i.ActualLength]
-       i.Contents = data[:i.ActualLength]
-       i.Payload = data[i.ActualLength:]
-       p.AddLayer(i)
-       return p.NextDecoder(i.NextHeader)
-}
-
-// IPSecESP is the encapsulating security payload defined in
-// http://tools.ietf.org/html/rfc2406
-type IPSecESP struct {
-       BaseLayer
-       SPI, Seq uint32
-       // Encrypted contains the encrypted set of bytes sent in an ESP
-       Encrypted []byte
-}
-
-// LayerType returns LayerTypeIPSecESP.
-func (i *IPSecESP) LayerType() gopacket.LayerType { return LayerTypeIPSecESP }
-
-func decodeIPSecESP(data []byte, p gopacket.PacketBuilder) error {
-       i := &IPSecESP{
-               BaseLayer: BaseLayer{data, nil},
-               SPI:       binary.BigEndian.Uint32(data[:4]),
-               Seq:       binary.BigEndian.Uint32(data[4:8]),
-               Encrypted: data[8:],
-       }
-       p.AddLayer(i)
-       return nil
-}
diff --git a/vendor/github.com/google/gopacket/layers/layertypes.go b/vendor/github.com/google/gopacket/layers/layertypes.go
deleted file mode 100644 (file)
index faffb91..0000000
+++ /dev/null
@@ -1,177 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "github.com/google/gopacket"
-)
-
-var (
-       LayerTypeARP                         = gopacket.RegisterLayerType(10, gopacket.LayerTypeMetadata{Name: "ARP", Decoder: gopacket.DecodeFunc(decodeARP)})
-       LayerTypeCiscoDiscovery              = gopacket.RegisterLayerType(11, gopacket.LayerTypeMetadata{Name: "CiscoDiscovery", Decoder: gopacket.DecodeFunc(decodeCiscoDiscovery)})
-       LayerTypeEthernetCTP                 = gopacket.RegisterLayerType(12, gopacket.LayerTypeMetadata{Name: "EthernetCTP", Decoder: gopacket.DecodeFunc(decodeEthernetCTP)})
-       LayerTypeEthernetCTPForwardData      = gopacket.RegisterLayerType(13, gopacket.LayerTypeMetadata{Name: "EthernetCTPForwardData", Decoder: nil})
-       LayerTypeEthernetCTPReply            = gopacket.RegisterLayerType(14, gopacket.LayerTypeMetadata{Name: "EthernetCTPReply", Decoder: nil})
-       LayerTypeDot1Q                       = gopacket.RegisterLayerType(15, gopacket.LayerTypeMetadata{Name: "Dot1Q", Decoder: gopacket.DecodeFunc(decodeDot1Q)})
-       LayerTypeEtherIP                     = gopacket.RegisterLayerType(16, gopacket.LayerTypeMetadata{Name: "EtherIP", Decoder: gopacket.DecodeFunc(decodeEtherIP)})
-       LayerTypeEthernet                    = gopacket.RegisterLayerType(17, gopacket.LayerTypeMetadata{Name: "Ethernet", Decoder: gopacket.DecodeFunc(decodeEthernet)})
-       LayerTypeGRE                         = gopacket.RegisterLayerType(18, gopacket.LayerTypeMetadata{Name: "GRE", Decoder: gopacket.DecodeFunc(decodeGRE)})
-       LayerTypeICMPv4                      = gopacket.RegisterLayerType(19, gopacket.LayerTypeMetadata{Name: "ICMPv4", Decoder: gopacket.DecodeFunc(decodeICMPv4)})
-       LayerTypeIPv4                        = gopacket.RegisterLayerType(20, gopacket.LayerTypeMetadata{Name: "IPv4", Decoder: gopacket.DecodeFunc(decodeIPv4)})
-       LayerTypeIPv6                        = gopacket.RegisterLayerType(21, gopacket.LayerTypeMetadata{Name: "IPv6", Decoder: gopacket.DecodeFunc(decodeIPv6)})
-       LayerTypeLLC                         = gopacket.RegisterLayerType(22, gopacket.LayerTypeMetadata{Name: "LLC", Decoder: gopacket.DecodeFunc(decodeLLC)})
-       LayerTypeSNAP                        = gopacket.RegisterLayerType(23, gopacket.LayerTypeMetadata{Name: "SNAP", Decoder: gopacket.DecodeFunc(decodeSNAP)})
-       LayerTypeMPLS                        = gopacket.RegisterLayerType(24, gopacket.LayerTypeMetadata{Name: "MPLS", Decoder: gopacket.DecodeFunc(decodeMPLS)})
-       LayerTypePPP                         = gopacket.RegisterLayerType(25, gopacket.LayerTypeMetadata{Name: "PPP", Decoder: gopacket.DecodeFunc(decodePPP)})
-       LayerTypePPPoE                       = gopacket.RegisterLayerType(26, gopacket.LayerTypeMetadata{Name: "PPPoE", Decoder: gopacket.DecodeFunc(decodePPPoE)})
-       LayerTypeRUDP                        = gopacket.RegisterLayerType(27, gopacket.LayerTypeMetadata{Name: "RUDP", Decoder: gopacket.DecodeFunc(decodeRUDP)})
-       LayerTypeSCTP                        = gopacket.RegisterLayerType(28, gopacket.LayerTypeMetadata{Name: "SCTP", Decoder: gopacket.DecodeFunc(decodeSCTP)})
-       LayerTypeSCTPUnknownChunkType        = gopacket.RegisterLayerType(29, gopacket.LayerTypeMetadata{Name: "SCTPUnknownChunkType", Decoder: nil})
-       LayerTypeSCTPData                    = gopacket.RegisterLayerType(30, gopacket.LayerTypeMetadata{Name: "SCTPData", Decoder: nil})
-       LayerTypeSCTPInit                    = gopacket.RegisterLayerType(31, gopacket.LayerTypeMetadata{Name: "SCTPInit", Decoder: nil})
-       LayerTypeSCTPSack                    = gopacket.RegisterLayerType(32, gopacket.LayerTypeMetadata{Name: "SCTPSack", Decoder: nil})
-       LayerTypeSCTPHeartbeat               = gopacket.RegisterLayerType(33, gopacket.LayerTypeMetadata{Name: "SCTPHeartbeat", Decoder: nil})
-       LayerTypeSCTPError                   = gopacket.RegisterLayerType(34, gopacket.LayerTypeMetadata{Name: "SCTPError", Decoder: nil})
-       LayerTypeSCTPShutdown                = gopacket.RegisterLayerType(35, gopacket.LayerTypeMetadata{Name: "SCTPShutdown", Decoder: nil})
-       LayerTypeSCTPShutdownAck             = gopacket.RegisterLayerType(36, gopacket.LayerTypeMetadata{Name: "SCTPShutdownAck", Decoder: nil})
-       LayerTypeSCTPCookieEcho              = gopacket.RegisterLayerType(37, gopacket.LayerTypeMetadata{Name: "SCTPCookieEcho", Decoder: nil})
-       LayerTypeSCTPEmptyLayer              = gopacket.RegisterLayerType(38, gopacket.LayerTypeMetadata{Name: "SCTPEmptyLayer", Decoder: nil})
-       LayerTypeSCTPInitAck                 = gopacket.RegisterLayerType(39, gopacket.LayerTypeMetadata{Name: "SCTPInitAck", Decoder: nil})
-       LayerTypeSCTPHeartbeatAck            = gopacket.RegisterLayerType(40, gopacket.LayerTypeMetadata{Name: "SCTPHeartbeatAck", Decoder: nil})
-       LayerTypeSCTPAbort                   = gopacket.RegisterLayerType(41, gopacket.LayerTypeMetadata{Name: "SCTPAbort", Decoder: nil})
-       LayerTypeSCTPShutdownComplete        = gopacket.RegisterLayerType(42, gopacket.LayerTypeMetadata{Name: "SCTPShutdownComplete", Decoder: nil})
-       LayerTypeSCTPCookieAck               = gopacket.RegisterLayerType(43, gopacket.LayerTypeMetadata{Name: "SCTPCookieAck", Decoder: nil})
-       LayerTypeTCP                         = gopacket.RegisterLayerType(44, gopacket.LayerTypeMetadata{Name: "TCP", Decoder: gopacket.DecodeFunc(decodeTCP)})
-       LayerTypeUDP                         = gopacket.RegisterLayerType(45, gopacket.LayerTypeMetadata{Name: "UDP", Decoder: gopacket.DecodeFunc(decodeUDP)})
-       LayerTypeIPv6HopByHop                = gopacket.RegisterLayerType(46, gopacket.LayerTypeMetadata{Name: "IPv6HopByHop", Decoder: gopacket.DecodeFunc(decodeIPv6HopByHop)})
-       LayerTypeIPv6Routing                 = gopacket.RegisterLayerType(47, gopacket.LayerTypeMetadata{Name: "IPv6Routing", Decoder: gopacket.DecodeFunc(decodeIPv6Routing)})
-       LayerTypeIPv6Fragment                = gopacket.RegisterLayerType(48, gopacket.LayerTypeMetadata{Name: "IPv6Fragment", Decoder: gopacket.DecodeFunc(decodeIPv6Fragment)})
-       LayerTypeIPv6Destination             = gopacket.RegisterLayerType(49, gopacket.LayerTypeMetadata{Name: "IPv6Destination", Decoder: gopacket.DecodeFunc(decodeIPv6Destination)})
-       LayerTypeIPSecAH                     = gopacket.RegisterLayerType(50, gopacket.LayerTypeMetadata{Name: "IPSecAH", Decoder: gopacket.DecodeFunc(decodeIPSecAH)})
-       LayerTypeIPSecESP                    = gopacket.RegisterLayerType(51, gopacket.LayerTypeMetadata{Name: "IPSecESP", Decoder: gopacket.DecodeFunc(decodeIPSecESP)})
-       LayerTypeUDPLite                     = gopacket.RegisterLayerType(52, gopacket.LayerTypeMetadata{Name: "UDPLite", Decoder: gopacket.DecodeFunc(decodeUDPLite)})
-       LayerTypeFDDI                        = gopacket.RegisterLayerType(53, gopacket.LayerTypeMetadata{Name: "FDDI", Decoder: gopacket.DecodeFunc(decodeFDDI)})
-       LayerTypeLoopback                    = gopacket.RegisterLayerType(54, gopacket.LayerTypeMetadata{Name: "Loopback", Decoder: gopacket.DecodeFunc(decodeLoopback)})
-       LayerTypeEAP                         = gopacket.RegisterLayerType(55, gopacket.LayerTypeMetadata{Name: "EAP", Decoder: gopacket.DecodeFunc(decodeEAP)})
-       LayerTypeEAPOL                       = gopacket.RegisterLayerType(56, gopacket.LayerTypeMetadata{Name: "EAPOL", Decoder: gopacket.DecodeFunc(decodeEAPOL)})
-       LayerTypeICMPv6                      = gopacket.RegisterLayerType(57, gopacket.LayerTypeMetadata{Name: "ICMPv6", Decoder: gopacket.DecodeFunc(decodeICMPv6)})
-       LayerTypeLinkLayerDiscovery          = gopacket.RegisterLayerType(58, gopacket.LayerTypeMetadata{Name: "LinkLayerDiscovery", Decoder: gopacket.DecodeFunc(decodeLinkLayerDiscovery)})
-       LayerTypeCiscoDiscoveryInfo          = gopacket.RegisterLayerType(59, gopacket.LayerTypeMetadata{Name: "CiscoDiscoveryInfo", Decoder: gopacket.DecodeFunc(decodeCiscoDiscoveryInfo)})
-       LayerTypeLinkLayerDiscoveryInfo      = gopacket.RegisterLayerType(60, gopacket.LayerTypeMetadata{Name: "LinkLayerDiscoveryInfo", Decoder: nil})
-       LayerTypeNortelDiscovery             = gopacket.RegisterLayerType(61, gopacket.LayerTypeMetadata{Name: "NortelDiscovery", Decoder: gopacket.DecodeFunc(decodeNortelDiscovery)})
-       LayerTypeIGMP                        = gopacket.RegisterLayerType(62, gopacket.LayerTypeMetadata{Name: "IGMP", Decoder: gopacket.DecodeFunc(decodeIGMP)})
-       LayerTypePFLog                       = gopacket.RegisterLayerType(63, gopacket.LayerTypeMetadata{Name: "PFLog", Decoder: gopacket.DecodeFunc(decodePFLog)})
-       LayerTypeRadioTap                    = gopacket.RegisterLayerType(64, gopacket.LayerTypeMetadata{Name: "RadioTap", Decoder: gopacket.DecodeFunc(decodeRadioTap)})
-       LayerTypeDot11                       = gopacket.RegisterLayerType(65, gopacket.LayerTypeMetadata{Name: "Dot11", Decoder: gopacket.DecodeFunc(decodeDot11)})
-       LayerTypeDot11Ctrl                   = gopacket.RegisterLayerType(66, gopacket.LayerTypeMetadata{Name: "Dot11Ctrl", Decoder: gopacket.DecodeFunc(decodeDot11Ctrl)})
-       LayerTypeDot11Data                   = gopacket.RegisterLayerType(67, gopacket.LayerTypeMetadata{Name: "Dot11Data", Decoder: gopacket.DecodeFunc(decodeDot11Data)})
-       LayerTypeDot11DataCFAck              = gopacket.RegisterLayerType(68, gopacket.LayerTypeMetadata{Name: "Dot11DataCFAck", Decoder: gopacket.DecodeFunc(decodeDot11DataCFAck)})
-       LayerTypeDot11DataCFPoll             = gopacket.RegisterLayerType(69, gopacket.LayerTypeMetadata{Name: "Dot11DataCFPoll", Decoder: gopacket.DecodeFunc(decodeDot11DataCFPoll)})
-       LayerTypeDot11DataCFAckPoll          = gopacket.RegisterLayerType(70, gopacket.LayerTypeMetadata{Name: "Dot11DataCFAckPoll", Decoder: gopacket.DecodeFunc(decodeDot11DataCFAckPoll)})
-       LayerTypeDot11DataNull               = gopacket.RegisterLayerType(71, gopacket.LayerTypeMetadata{Name: "Dot11DataNull", Decoder: gopacket.DecodeFunc(decodeDot11DataNull)})
-       LayerTypeDot11DataCFAckNoData        = gopacket.RegisterLayerType(72, gopacket.LayerTypeMetadata{Name: "Dot11DataCFAck", Decoder: gopacket.DecodeFunc(decodeDot11DataCFAck)})
-       LayerTypeDot11DataCFPollNoData       = gopacket.RegisterLayerType(73, gopacket.LayerTypeMetadata{Name: "Dot11DataCFPoll", Decoder: gopacket.DecodeFunc(decodeDot11DataCFPoll)})
-       LayerTypeDot11DataCFAckPollNoData    = gopacket.RegisterLayerType(74, gopacket.LayerTypeMetadata{Name: "Dot11DataCFAckPoll", Decoder: gopacket.DecodeFunc(decodeDot11DataCFAckPoll)})
-       LayerTypeDot11DataQOSData            = gopacket.RegisterLayerType(75, gopacket.LayerTypeMetadata{Name: "Dot11DataQOSData", Decoder: gopacket.DecodeFunc(decodeDot11DataQOSData)})
-       LayerTypeDot11DataQOSDataCFAck       = gopacket.RegisterLayerType(76, gopacket.LayerTypeMetadata{Name: "Dot11DataQOSDataCFAck", Decoder: gopacket.DecodeFunc(decodeDot11DataQOSDataCFAck)})
-       LayerTypeDot11DataQOSDataCFPoll      = gopacket.RegisterLayerType(77, gopacket.LayerTypeMetadata{Name: "Dot11DataQOSDataCFPoll", Decoder: gopacket.DecodeFunc(decodeDot11DataQOSDataCFPoll)})
-       LayerTypeDot11DataQOSDataCFAckPoll   = gopacket.RegisterLayerType(78, gopacket.LayerTypeMetadata{Name: "Dot11DataQOSDataCFAckPoll", Decoder: gopacket.DecodeFunc(decodeDot11DataQOSDataCFAckPoll)})
-       LayerTypeDot11DataQOSNull            = gopacket.RegisterLayerType(79, gopacket.LayerTypeMetadata{Name: "Dot11DataQOSNull", Decoder: gopacket.DecodeFunc(decodeDot11DataQOSNull)})
-       LayerTypeDot11DataQOSCFPollNoData    = gopacket.RegisterLayerType(80, gopacket.LayerTypeMetadata{Name: "Dot11DataQOSCFPoll", Decoder: gopacket.DecodeFunc(decodeDot11DataQOSCFPollNoData)})
-       LayerTypeDot11DataQOSCFAckPollNoData = gopacket.RegisterLayerType(81, gopacket.LayerTypeMetadata{Name: "Dot11DataQOSCFAckPoll", Decoder: gopacket.DecodeFunc(decodeDot11DataQOSCFAckPollNoData)})
-       LayerTypeDot11InformationElement     = gopacket.RegisterLayerType(82, gopacket.LayerTypeMetadata{Name: "Dot11InformationElement", Decoder: gopacket.DecodeFunc(decodeDot11InformationElement)})
-       LayerTypeDot11CtrlCTS                = gopacket.RegisterLayerType(83, gopacket.LayerTypeMetadata{Name: "Dot11CtrlCTS", Decoder: gopacket.DecodeFunc(decodeDot11CtrlCTS)})
-       LayerTypeDot11CtrlRTS                = gopacket.RegisterLayerType(84, gopacket.LayerTypeMetadata{Name: "Dot11CtrlRTS", Decoder: gopacket.DecodeFunc(decodeDot11CtrlRTS)})
-       LayerTypeDot11CtrlBlockAckReq        = gopacket.RegisterLayerType(85, gopacket.LayerTypeMetadata{Name: "Dot11CtrlBlockAckReq", Decoder: gopacket.DecodeFunc(decodeDot11CtrlBlockAckReq)})
-       LayerTypeDot11CtrlBlockAck           = gopacket.RegisterLayerType(86, gopacket.LayerTypeMetadata{Name: "Dot11CtrlBlockAck", Decoder: gopacket.DecodeFunc(decodeDot11CtrlBlockAck)})
-       LayerTypeDot11CtrlPowersavePoll      = gopacket.RegisterLayerType(87, gopacket.LayerTypeMetadata{Name: "Dot11CtrlPowersavePoll", Decoder: gopacket.DecodeFunc(decodeDot11CtrlPowersavePoll)})
-       LayerTypeDot11CtrlAck                = gopacket.RegisterLayerType(88, gopacket.LayerTypeMetadata{Name: "Dot11CtrlAck", Decoder: gopacket.DecodeFunc(decodeDot11CtrlAck)})
-       LayerTypeDot11CtrlCFEnd              = gopacket.RegisterLayerType(89, gopacket.LayerTypeMetadata{Name: "Dot11CtrlCFEnd", Decoder: gopacket.DecodeFunc(decodeDot11CtrlCFEnd)})
-       LayerTypeDot11CtrlCFEndAck           = gopacket.RegisterLayerType(90, gopacket.LayerTypeMetadata{Name: "Dot11CtrlCFEndAck", Decoder: gopacket.DecodeFunc(decodeDot11CtrlCFEndAck)})
-       LayerTypeDot11MgmtAssociationReq     = gopacket.RegisterLayerType(91, gopacket.LayerTypeMetadata{Name: "Dot11MgmtAssociationReq", Decoder: gopacket.DecodeFunc(decodeDot11MgmtAssociationReq)})
-       LayerTypeDot11MgmtAssociationResp    = gopacket.RegisterLayerType(92, gopacket.LayerTypeMetadata{Name: "Dot11MgmtAssociationResp", Decoder: gopacket.DecodeFunc(decodeDot11MgmtAssociationResp)})
-       LayerTypeDot11MgmtReassociationReq   = gopacket.RegisterLayerType(93, gopacket.LayerTypeMetadata{Name: "Dot11MgmtReassociationReq", Decoder: gopacket.DecodeFunc(decodeDot11MgmtReassociationReq)})
-       LayerTypeDot11MgmtReassociationResp  = gopacket.RegisterLayerType(94, gopacket.LayerTypeMetadata{Name: "Dot11MgmtReassociationResp", Decoder: gopacket.DecodeFunc(decodeDot11MgmtReassociationResp)})
-       LayerTypeDot11MgmtProbeReq           = gopacket.RegisterLayerType(95, gopacket.LayerTypeMetadata{Name: "Dot11MgmtProbeReq", Decoder: gopacket.DecodeFunc(decodeDot11MgmtProbeReq)})
-       LayerTypeDot11MgmtProbeResp          = gopacket.RegisterLayerType(96, gopacket.LayerTypeMetadata{Name: "Dot11MgmtProbeResp", Decoder: gopacket.DecodeFunc(decodeDot11MgmtProbeResp)})
-       LayerTypeDot11MgmtMeasurementPilot   = gopacket.RegisterLayerType(97, gopacket.LayerTypeMetadata{Name: "Dot11MgmtMeasurementPilot", Decoder: gopacket.DecodeFunc(decodeDot11MgmtMeasurementPilot)})
-       LayerTypeDot11MgmtBeacon             = gopacket.RegisterLayerType(98, gopacket.LayerTypeMetadata{Name: "Dot11MgmtBeacon", Decoder: gopacket.DecodeFunc(decodeDot11MgmtBeacon)})
-       LayerTypeDot11MgmtATIM               = gopacket.RegisterLayerType(99, gopacket.LayerTypeMetadata{Name: "Dot11MgmtATIM", Decoder: gopacket.DecodeFunc(decodeDot11MgmtATIM)})
-       LayerTypeDot11MgmtDisassociation     = gopacket.RegisterLayerType(100, gopacket.LayerTypeMetadata{Name: "Dot11MgmtDisassociation", Decoder: gopacket.DecodeFunc(decodeDot11MgmtDisassociation)})
-       LayerTypeDot11MgmtAuthentication     = gopacket.RegisterLayerType(101, gopacket.LayerTypeMetadata{Name: "Dot11MgmtAuthentication", Decoder: gopacket.DecodeFunc(decodeDot11MgmtAuthentication)})
-       LayerTypeDot11MgmtDeauthentication   = gopacket.RegisterLayerType(102, gopacket.LayerTypeMetadata{Name: "Dot11MgmtDeauthentication", Decoder: gopacket.DecodeFunc(decodeDot11MgmtDeauthentication)})
-       LayerTypeDot11MgmtAction             = gopacket.RegisterLayerType(103, gopacket.LayerTypeMetadata{Name: "Dot11MgmtAction", Decoder: gopacket.DecodeFunc(decodeDot11MgmtAction)})
-       LayerTypeDot11MgmtActionNoAck        = gopacket.RegisterLayerType(104, gopacket.LayerTypeMetadata{Name: "Dot11MgmtActionNoAck", Decoder: gopacket.DecodeFunc(decodeDot11MgmtActionNoAck)})
-       LayerTypeDot11MgmtArubaWLAN          = gopacket.RegisterLayerType(105, gopacket.LayerTypeMetadata{Name: "Dot11MgmtArubaWLAN", Decoder: gopacket.DecodeFunc(decodeDot11MgmtArubaWLAN)})
-       LayerTypeDot11WEP                    = gopacket.RegisterLayerType(106, gopacket.LayerTypeMetadata{Name: "Dot11WEP", Decoder: gopacket.DecodeFunc(decodeDot11WEP)})
-       LayerTypeDNS                         = gopacket.RegisterLayerType(107, gopacket.LayerTypeMetadata{Name: "DNS", Decoder: gopacket.DecodeFunc(decodeDNS)})
-       LayerTypeUSB                         = gopacket.RegisterLayerType(108, gopacket.LayerTypeMetadata{Name: "USB", Decoder: gopacket.DecodeFunc(decodeUSB)})
-       LayerTypeUSBRequestBlockSetup        = gopacket.RegisterLayerType(109, gopacket.LayerTypeMetadata{Name: "USBRequestBlockSetup", Decoder: gopacket.DecodeFunc(decodeUSBRequestBlockSetup)})
-       LayerTypeUSBControl                  = gopacket.RegisterLayerType(110, gopacket.LayerTypeMetadata{Name: "USBControl", Decoder: gopacket.DecodeFunc(decodeUSBControl)})
-       LayerTypeUSBInterrupt                = gopacket.RegisterLayerType(111, gopacket.LayerTypeMetadata{Name: "USBInterrupt", Decoder: gopacket.DecodeFunc(decodeUSBInterrupt)})
-       LayerTypeUSBBulk                     = gopacket.RegisterLayerType(112, gopacket.LayerTypeMetadata{Name: "USBBulk", Decoder: gopacket.DecodeFunc(decodeUSBBulk)})
-       LayerTypeLinuxSLL                    = gopacket.RegisterLayerType(113, gopacket.LayerTypeMetadata{Name: "Linux SLL", Decoder: gopacket.DecodeFunc(decodeLinuxSLL)})
-       LayerTypeSFlow                       = gopacket.RegisterLayerType(114, gopacket.LayerTypeMetadata{Name: "SFlow", Decoder: gopacket.DecodeFunc(decodeSFlow)})
-       LayerTypePrismHeader                 = gopacket.RegisterLayerType(115, gopacket.LayerTypeMetadata{Name: "Prism monitor mode header", Decoder: gopacket.DecodeFunc(decodePrismHeader)})
-       LayerTypeVXLAN                       = gopacket.RegisterLayerType(116, gopacket.LayerTypeMetadata{Name: "VXLAN", Decoder: gopacket.DecodeFunc(decodeVXLAN)})
-       LayerTypeNTP                         = gopacket.RegisterLayerType(117, gopacket.LayerTypeMetadata{Name: "NTP", Decoder: gopacket.DecodeFunc(decodeNTP)})
-       LayerTypeDHCPv4                      = gopacket.RegisterLayerType(118, gopacket.LayerTypeMetadata{Name: "DHCPv4", Decoder: gopacket.DecodeFunc(decodeDHCPv4)})
-       LayerTypeVRRP                        = gopacket.RegisterLayerType(119, gopacket.LayerTypeMetadata{Name: "VRRP", Decoder: gopacket.DecodeFunc(decodeVRRP)})
-       LayerTypeGeneve                      = gopacket.RegisterLayerType(120, gopacket.LayerTypeMetadata{Name: "Geneve", Decoder: gopacket.DecodeFunc(decodeGeneve)})
-       LayerTypeSTP                         = gopacket.RegisterLayerType(121, gopacket.LayerTypeMetadata{Name: "STP", Decoder: gopacket.DecodeFunc(decodeSTP)})
-       LayerTypeBFD                         = gopacket.RegisterLayerType(122, gopacket.LayerTypeMetadata{Name: "BFD", Decoder: gopacket.DecodeFunc(decodeBFD)})
-       LayerTypeOSPF                        = gopacket.RegisterLayerType(123, gopacket.LayerTypeMetadata{Name: "OSPF", Decoder: gopacket.DecodeFunc(decodeOSPF)})
-)
-
-var (
-       // LayerClassIPNetwork contains TCP/IP network layer types.
-       LayerClassIPNetwork = gopacket.NewLayerClass([]gopacket.LayerType{
-               LayerTypeIPv4,
-               LayerTypeIPv6,
-       })
-       // LayerClassIPTransport contains TCP/IP transport layer types.
-       LayerClassIPTransport = gopacket.NewLayerClass([]gopacket.LayerType{
-               LayerTypeTCP,
-               LayerTypeUDP,
-               LayerTypeSCTP,
-       })
-       // LayerClassIPControl contains TCP/IP control protocols.
-       LayerClassIPControl = gopacket.NewLayerClass([]gopacket.LayerType{
-               LayerTypeICMPv4,
-               LayerTypeICMPv6,
-       })
-       // LayerClassSCTPChunk contains SCTP chunk types (not the top-level SCTP
-       // layer).
-       LayerClassSCTPChunk = gopacket.NewLayerClass([]gopacket.LayerType{
-               LayerTypeSCTPUnknownChunkType,
-               LayerTypeSCTPData,
-               LayerTypeSCTPInit,
-               LayerTypeSCTPSack,
-               LayerTypeSCTPHeartbeat,
-               LayerTypeSCTPError,
-               LayerTypeSCTPShutdown,
-               LayerTypeSCTPShutdownAck,
-               LayerTypeSCTPCookieEcho,
-               LayerTypeSCTPEmptyLayer,
-               LayerTypeSCTPInitAck,
-               LayerTypeSCTPHeartbeatAck,
-               LayerTypeSCTPAbort,
-               LayerTypeSCTPShutdownComplete,
-               LayerTypeSCTPCookieAck,
-       })
-       // LayerClassIPv6Extension contains IPv6 extension headers.
-       LayerClassIPv6Extension = gopacket.NewLayerClass([]gopacket.LayerType{
-               LayerTypeIPv6HopByHop,
-               LayerTypeIPv6Routing,
-               LayerTypeIPv6Fragment,
-               LayerTypeIPv6Destination,
-       })
-       LayerClassIPSec = gopacket.NewLayerClass([]gopacket.LayerType{
-               LayerTypeIPSecAH,
-               LayerTypeIPSecESP,
-       })
-)
diff --git a/vendor/github.com/google/gopacket/layers/linux_sll.go b/vendor/github.com/google/gopacket/layers/linux_sll.go
deleted file mode 100644 (file)
index b186053..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "errors"
-       "fmt"
-       "net"
-
-       "github.com/google/gopacket"
-)
-
-type LinuxSLLPacketType uint16
-
-const (
-       LinuxSLLPacketTypeHost      LinuxSLLPacketType = 0 // To us
-       LinuxSLLPacketTypeBroadcast LinuxSLLPacketType = 1 // To all
-       LinuxSLLPacketTypeMulticast LinuxSLLPacketType = 2 // To group
-       LinuxSLLPacketTypeOtherhost LinuxSLLPacketType = 3 // To someone else
-       LinuxSLLPacketTypeOutgoing  LinuxSLLPacketType = 4 // Outgoing of any type
-       // These ones are invisible by user level
-       LinuxSLLPacketTypeLoopback  LinuxSLLPacketType = 5 // MC/BRD frame looped back
-       LinuxSLLPacketTypeFastroute LinuxSLLPacketType = 6 // Fastrouted frame
-)
-
-func (l LinuxSLLPacketType) String() string {
-       switch l {
-       case LinuxSLLPacketTypeHost:
-               return "host"
-       case LinuxSLLPacketTypeBroadcast:
-               return "broadcast"
-       case LinuxSLLPacketTypeMulticast:
-               return "multicast"
-       case LinuxSLLPacketTypeOtherhost:
-               return "otherhost"
-       case LinuxSLLPacketTypeOutgoing:
-               return "outgoing"
-       case LinuxSLLPacketTypeLoopback:
-               return "loopback"
-       case LinuxSLLPacketTypeFastroute:
-               return "fastroute"
-       }
-       return fmt.Sprintf("Unknown(%d)", int(l))
-}
-
-type LinuxSLL struct {
-       BaseLayer
-       PacketType   LinuxSLLPacketType
-       AddrLen      uint16
-       Addr         net.HardwareAddr
-       EthernetType EthernetType
-}
-
-// LayerType returns LayerTypeLinuxSLL.
-func (sll *LinuxSLL) LayerType() gopacket.LayerType { return LayerTypeLinuxSLL }
-
-func (sll *LinuxSLL) CanDecode() gopacket.LayerClass {
-       return LayerTypeLinuxSLL
-}
-
-func (sll *LinuxSLL) LinkFlow() gopacket.Flow {
-       return gopacket.NewFlow(EndpointMAC, sll.Addr, nil)
-}
-
-func (sll *LinuxSLL) NextLayerType() gopacket.LayerType {
-       return sll.EthernetType.LayerType()
-}
-
-func (sll *LinuxSLL) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       if len(data) < 16 {
-               return errors.New("Linux SLL packet too small")
-       }
-       sll.PacketType = LinuxSLLPacketType(binary.BigEndian.Uint16(data[0:2]))
-       sll.AddrLen = binary.BigEndian.Uint16(data[4:6])
-
-       sll.Addr = net.HardwareAddr(data[6 : sll.AddrLen+6])
-       sll.EthernetType = EthernetType(binary.BigEndian.Uint16(data[14:16]))
-       sll.BaseLayer = BaseLayer{data[:16], data[16:]}
-
-       return nil
-}
-
-func decodeLinuxSLL(data []byte, p gopacket.PacketBuilder) error {
-       sll := &LinuxSLL{}
-       if err := sll.DecodeFromBytes(data, p); err != nil {
-               return err
-       }
-       p.AddLayer(sll)
-       p.SetLinkLayer(sll)
-       return p.NextDecoder(sll.EthernetType)
-}
diff --git a/vendor/github.com/google/gopacket/layers/llc.go b/vendor/github.com/google/gopacket/layers/llc.go
deleted file mode 100644 (file)
index 59453fe..0000000
+++ /dev/null
@@ -1,146 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "errors"
-
-       "github.com/google/gopacket"
-)
-
-// LLC is the layer used for 802.2 Logical Link Control headers.
-// See http://standards.ieee.org/getieee802/download/802.2-1998.pdf
-type LLC struct {
-       BaseLayer
-       DSAP    uint8
-       IG      bool // true means group, false means individual
-       SSAP    uint8
-       CR      bool // true means response, false means command
-       Control uint16
-}
-
-// LayerType returns gopacket.LayerTypeLLC.
-func (l *LLC) LayerType() gopacket.LayerType { return LayerTypeLLC }
-
-// SNAP is used inside LLC.  See
-// http://standards.ieee.org/getieee802/download/802-2001.pdf.
-// From http://en.wikipedia.org/wiki/Subnetwork_Access_Protocol:
-//  "[T]he Subnetwork Access Protocol (SNAP) is a mechanism for multiplexing,
-//  on networks using IEEE 802.2 LLC, more protocols than can be distinguished
-//  by the 8-bit 802.2 Service Access Point (SAP) fields."
-type SNAP struct {
-       BaseLayer
-       OrganizationalCode []byte
-       Type               EthernetType
-}
-
-// LayerType returns gopacket.LayerTypeSNAP.
-func (s *SNAP) LayerType() gopacket.LayerType { return LayerTypeSNAP }
-
-func decodeLLC(data []byte, p gopacket.PacketBuilder) error {
-       l := &LLC{
-               DSAP:    data[0] & 0xFE,
-               IG:      data[0]&0x1 != 0,
-               SSAP:    data[1] & 0xFE,
-               CR:      data[1]&0x1 != 0,
-               Control: uint16(data[2]),
-       }
-       if l.Control&0x1 == 0 || l.Control&0x3 == 0x1 {
-               l.Control = l.Control<<8 | uint16(data[3])
-               l.Contents = data[:4]
-               l.Payload = data[4:]
-       } else {
-               l.Contents = data[:3]
-               l.Payload = data[3:]
-       }
-       p.AddLayer(l)
-       switch {
-       case l.DSAP == 0xAA && l.SSAP == 0xAA:
-               return p.NextDecoder(LayerTypeSNAP)
-       case l.DSAP == 0x42 && l.SSAP == 0x42:
-               return p.NextDecoder(LayerTypeSTP)
-       }
-       return p.NextDecoder(gopacket.DecodeUnknown)
-}
-
-func decodeSNAP(data []byte, p gopacket.PacketBuilder) error {
-       s := &SNAP{
-               OrganizationalCode: data[:3],
-               Type:               EthernetType(binary.BigEndian.Uint16(data[3:5])),
-               BaseLayer:          BaseLayer{data[:5], data[5:]},
-       }
-       p.AddLayer(s)
-       // BUG(gconnell):  When decoding SNAP, we treat the SNAP type as an Ethernet
-       // type.  This may not actually be an ethernet type in all cases,
-       // depending on the organizational code.  Right now, we don't check.
-       return p.NextDecoder(s.Type)
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-// See the docs for gopacket.SerializableLayer for more info.
-func (l *LLC) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       var ig_flag, cr_flag byte
-       var length int
-
-       if l.Control&0xFF00 != 0 {
-               length = 4
-       } else {
-               length = 3
-       }
-
-       if l.DSAP&0x1 != 0 {
-               return errors.New("DSAP value invalid, should not include IG flag bit")
-       }
-
-       if l.SSAP&0x1 != 0 {
-               return errors.New("SSAP value invalid, should not include CR flag bit")
-       }
-
-       if buf, err := b.PrependBytes(length); err != nil {
-               return err
-       } else {
-               ig_flag = 0
-               if l.IG {
-                       ig_flag = 0x1
-               }
-
-               cr_flag = 0
-               if l.CR {
-                       cr_flag = 0x1
-               }
-
-               buf[0] = l.DSAP + ig_flag
-               buf[1] = l.SSAP + cr_flag
-
-               if length == 4 {
-                       buf[2] = uint8(l.Control >> 8)
-                       buf[3] = uint8(l.Control)
-               } else {
-                       buf[2] = uint8(l.Control)
-               }
-       }
-
-       return nil
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-// See the docs for gopacket.SerializableLayer for more info.
-func (s *SNAP) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       if buf, err := b.PrependBytes(5); err != nil {
-               return err
-       } else {
-               buf[0] = s.OrganizationalCode[0]
-               buf[1] = s.OrganizationalCode[1]
-               buf[2] = s.OrganizationalCode[2]
-               binary.BigEndian.PutUint16(buf[3:5], uint16(s.Type))
-       }
-
-       return nil
-}
diff --git a/vendor/github.com/google/gopacket/layers/lldp.go b/vendor/github.com/google/gopacket/layers/lldp.go
deleted file mode 100644 (file)
index 92ec7da..0000000
+++ /dev/null
@@ -1,1530 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "errors"
-       "fmt"
-
-       "github.com/google/gopacket"
-)
-
-// LLDPTLVType is the type of each TLV value in a LinkLayerDiscovery packet.
-type LLDPTLVType byte
-
-const (
-       LLDPTLVEnd             LLDPTLVType = 0
-       LLDPTLVChassisID       LLDPTLVType = 1
-       LLDPTLVPortID          LLDPTLVType = 2
-       LLDPTLVTTL             LLDPTLVType = 3
-       LLDPTLVPortDescription LLDPTLVType = 4
-       LLDPTLVSysName         LLDPTLVType = 5
-       LLDPTLVSysDescription  LLDPTLVType = 6
-       LLDPTLVSysCapabilities LLDPTLVType = 7
-       LLDPTLVMgmtAddress     LLDPTLVType = 8
-       LLDPTLVOrgSpecific     LLDPTLVType = 127
-)
-
-// LinkLayerDiscoveryValue is a TLV value inside a LinkLayerDiscovery packet layer.
-type LinkLayerDiscoveryValue struct {
-       Type   LLDPTLVType
-       Length uint16
-       Value  []byte
-}
-
-// LLDPChassisIDSubType specifies the value type for a single LLDPChassisID.ID
-type LLDPChassisIDSubType byte
-
-// LLDP Chassis Types
-const (
-       LLDPChassisIDSubTypeReserved    LLDPChassisIDSubType = 0
-       LLDPChassisIDSubTypeChassisComp LLDPChassisIDSubType = 1
-       LLDPChassisIDSubtypeIfaceAlias  LLDPChassisIDSubType = 2
-       LLDPChassisIDSubTypePortComp    LLDPChassisIDSubType = 3
-       LLDPChassisIDSubTypeMACAddr     LLDPChassisIDSubType = 4
-       LLDPChassisIDSubTypeNetworkAddr LLDPChassisIDSubType = 5
-       LLDPChassisIDSubtypeIfaceName   LLDPChassisIDSubType = 6
-       LLDPChassisIDSubTypeLocal       LLDPChassisIDSubType = 7
-)
-
-type LLDPChassisID struct {
-       Subtype LLDPChassisIDSubType
-       ID      []byte
-}
-
-// LLDPPortIDSubType specifies the value type for a single LLDPPortID.ID
-type LLDPPortIDSubType byte
-
-// LLDP PortID types
-const (
-       LLDPPortIDSubtypeReserved       LLDPPortIDSubType = 0
-       LLDPPortIDSubtypeIfaceAlias     LLDPPortIDSubType = 1
-       LLDPPortIDSubtypePortComp       LLDPPortIDSubType = 2
-       LLDPPortIDSubtypeMACAddr        LLDPPortIDSubType = 3
-       LLDPPortIDSubtypeNetworkAddr    LLDPPortIDSubType = 4
-       LLDPPortIDSubtypeIfaceName      LLDPPortIDSubType = 5
-       LLDPPortIDSubtypeAgentCircuitID LLDPPortIDSubType = 6
-       LLDPPortIDSubtypeLocal          LLDPPortIDSubType = 7
-)
-
-type LLDPPortID struct {
-       Subtype LLDPPortIDSubType
-       ID      []byte
-}
-
-// LinkLayerDiscovery is a packet layer containing the LinkLayer Discovery Protocol.
-// See http:http://standards.ieee.org/getieee802/download/802.1AB-2009.pdf
-// ChassisID, PortID and TTL are mandatory TLV's. Other values can be decoded
-// with DecodeValues()
-type LinkLayerDiscovery struct {
-       BaseLayer
-       ChassisID LLDPChassisID
-       PortID    LLDPPortID
-       TTL       uint16
-       Values    []LinkLayerDiscoveryValue
-}
-
-type IEEEOUI uint32
-
-// http://standards.ieee.org/develop/regauth/oui/oui.txt
-const (
-       IEEEOUI8021     IEEEOUI = 0x0080c2
-       IEEEOUI8023     IEEEOUI = 0x00120f
-       IEEEOUI80211    IEEEOUI = 0x000fac
-       IEEEOUI8021Qbg  IEEEOUI = 0x0013BF
-       IEEEOUICisco2   IEEEOUI = 0x000142
-       IEEEOUIMedia    IEEEOUI = 0x0012bb // TR-41
-       IEEEOUIProfinet IEEEOUI = 0x000ecf
-       IEEEOUIDCBX     IEEEOUI = 0x001b21
-)
-
-// LLDPOrgSpecificTLV is an Organisation-specific TLV
-type LLDPOrgSpecificTLV struct {
-       OUI     IEEEOUI
-       SubType uint8
-       Info    []byte
-}
-
-// LLDPCapabilities Types
-const (
-       LLDPCapsOther       uint16 = 1 << 0
-       LLDPCapsRepeater    uint16 = 1 << 1
-       LLDPCapsBridge      uint16 = 1 << 2
-       LLDPCapsWLANAP      uint16 = 1 << 3
-       LLDPCapsRouter      uint16 = 1 << 4
-       LLDPCapsPhone       uint16 = 1 << 5
-       LLDPCapsDocSis      uint16 = 1 << 6
-       LLDPCapsStationOnly uint16 = 1 << 7
-       LLDPCapsCVLAN       uint16 = 1 << 8
-       LLDPCapsSVLAN       uint16 = 1 << 9
-       LLDPCapsTmpr        uint16 = 1 << 10
-)
-
-// LLDPCapabilities represents the capabilities of a device
-type LLDPCapabilities struct {
-       Other       bool
-       Repeater    bool
-       Bridge      bool
-       WLANAP      bool
-       Router      bool
-       Phone       bool
-       DocSis      bool
-       StationOnly bool
-       CVLAN       bool
-       SVLAN       bool
-       TMPR        bool
-}
-
-type LLDPSysCapabilities struct {
-       SystemCap  LLDPCapabilities
-       EnabledCap LLDPCapabilities
-}
-
-type IANAAddressFamily byte
-
-// LLDP Management Address Subtypes
-// http://www.iana.org/assignments/address-family-numbers/address-family-numbers.xml
-const (
-       IANAAddressFamilyReserved IANAAddressFamily = 0
-       IANAAddressFamilyIPV4     IANAAddressFamily = 1
-       IANAAddressFamilyIPV6     IANAAddressFamily = 2
-       IANAAddressFamilyNSAP     IANAAddressFamily = 3
-       IANAAddressFamilyHDLC     IANAAddressFamily = 4
-       IANAAddressFamilyBBN1822  IANAAddressFamily = 5
-       IANAAddressFamily802      IANAAddressFamily = 6
-       IANAAddressFamilyE163     IANAAddressFamily = 7
-       IANAAddressFamilyE164     IANAAddressFamily = 8
-       IANAAddressFamilyF69      IANAAddressFamily = 9
-       IANAAddressFamilyX121     IANAAddressFamily = 10
-       IANAAddressFamilyIPX      IANAAddressFamily = 11
-       IANAAddressFamilyAtalk    IANAAddressFamily = 12
-       IANAAddressFamilyDecnet   IANAAddressFamily = 13
-       IANAAddressFamilyBanyan   IANAAddressFamily = 14
-       IANAAddressFamilyE164NSAP IANAAddressFamily = 15
-       IANAAddressFamilyDNS      IANAAddressFamily = 16
-       IANAAddressFamilyDistname IANAAddressFamily = 17
-       IANAAddressFamilyASNumber IANAAddressFamily = 18
-       IANAAddressFamilyXTPIPV4  IANAAddressFamily = 19
-       IANAAddressFamilyXTPIPV6  IANAAddressFamily = 20
-       IANAAddressFamilyXTP      IANAAddressFamily = 21
-       IANAAddressFamilyFcWWPN   IANAAddressFamily = 22
-       IANAAddressFamilyFcWWNN   IANAAddressFamily = 23
-       IANAAddressFamilyGWID     IANAAddressFamily = 24
-       IANAAddressFamilyL2VPN    IANAAddressFamily = 25
-)
-
-type LLDPInterfaceSubtype byte
-
-// LLDP Interface Subtypes
-const (
-       LLDPInterfaceSubtypeUnknown LLDPInterfaceSubtype = 1
-       LLDPInterfaceSubtypeifIndex LLDPInterfaceSubtype = 2
-       LLDPInterfaceSubtypeSysPort LLDPInterfaceSubtype = 3
-)
-
-type LLDPMgmtAddress struct {
-       Subtype          IANAAddressFamily
-       Address          []byte
-       InterfaceSubtype LLDPInterfaceSubtype
-       InterfaceNumber  uint32
-       OID              string
-}
-
-// LinkLayerDiscoveryInfo represents the decoded details for a set of LinkLayerDiscoveryValues
-// Organisation-specific TLV's can be decoded using the various Decode() methods
-type LinkLayerDiscoveryInfo struct {
-       BaseLayer
-       PortDescription string
-       SysName         string
-       SysDescription  string
-       SysCapabilities LLDPSysCapabilities
-       MgmtAddress     LLDPMgmtAddress
-       OrgTLVs         []LLDPOrgSpecificTLV      // Private TLVs
-       Unknown         []LinkLayerDiscoveryValue // undecoded TLVs
-}
-
-/// IEEE 802.1 TLV Subtypes
-const (
-       LLDP8021SubtypePortVLANID       uint8 = 1
-       LLDP8021SubtypeProtocolVLANID   uint8 = 2
-       LLDP8021SubtypeVLANName         uint8 = 3
-       LLDP8021SubtypeProtocolIdentity uint8 = 4
-       LLDP8021SubtypeVDIUsageDigest   uint8 = 5
-       LLDP8021SubtypeManagementVID    uint8 = 6
-       LLDP8021SubtypeLinkAggregation  uint8 = 7
-)
-
-// VLAN Port Protocol ID options
-const (
-       LLDPProtocolVLANIDCapability byte = 1 << 1
-       LLDPProtocolVLANIDStatus     byte = 1 << 2
-)
-
-type PortProtocolVLANID struct {
-       Supported bool
-       Enabled   bool
-       ID        uint16
-}
-
-type VLANName struct {
-       ID   uint16
-       Name string
-}
-
-type ProtocolIdentity []byte
-
-// LACP options
-const (
-       LLDPAggregationCapability byte = 1 << 0
-       LLDPAggregationStatus     byte = 1 << 1
-)
-
-// IEEE 802 Link Aggregation parameters
-type LLDPLinkAggregation struct {
-       Supported bool
-       Enabled   bool
-       PortID    uint32
-}
-
-// LLDPInfo8021 represents the information carried in 802.1 Org-specific TLVs
-type LLDPInfo8021 struct {
-       PVID               uint16
-       PPVIDs             []PortProtocolVLANID
-       VLANNames          []VLANName
-       ProtocolIdentities []ProtocolIdentity
-       VIDUsageDigest     uint32
-       ManagementVID      uint16
-       LinkAggregation    LLDPLinkAggregation
-}
-
-// IEEE 802.3 TLV Subtypes
-const (
-       LLDP8023SubtypeMACPHY          uint8 = 1
-       LLDP8023SubtypeMDIPower        uint8 = 2
-       LLDP8023SubtypeLinkAggregation uint8 = 3
-       LLDP8023SubtypeMTU             uint8 = 4
-)
-
-// MACPHY options
-const (
-       LLDPMACPHYCapability byte = 1 << 0
-       LLDPMACPHYStatus     byte = 1 << 1
-)
-
-// From IANA-MAU-MIB (introduced by RFC 4836) - dot3MauType
-const (
-       LLDPMAUTypeUnknown         uint16 = 0
-       LLDPMAUTypeAUI             uint16 = 1
-       LLDPMAUType10Base5         uint16 = 2
-       LLDPMAUTypeFOIRL           uint16 = 3
-       LLDPMAUType10Base2         uint16 = 4
-       LLDPMAUType10BaseT         uint16 = 5
-       LLDPMAUType10BaseFP        uint16 = 6
-       LLDPMAUType10BaseFB        uint16 = 7
-       LLDPMAUType10BaseFL        uint16 = 8
-       LLDPMAUType10BROAD36       uint16 = 9
-       LLDPMAUType10BaseT_HD      uint16 = 10
-       LLDPMAUType10BaseT_FD      uint16 = 11
-       LLDPMAUType10BaseFL_HD     uint16 = 12
-       LLDPMAUType10BaseFL_FD     uint16 = 13
-       LLDPMAUType100BaseT4       uint16 = 14
-       LLDPMAUType100BaseTX_HD    uint16 = 15
-       LLDPMAUType100BaseTX_FD    uint16 = 16
-       LLDPMAUType100BaseFX_HD    uint16 = 17
-       LLDPMAUType100BaseFX_FD    uint16 = 18
-       LLDPMAUType100BaseT2_HD    uint16 = 19
-       LLDPMAUType100BaseT2_FD    uint16 = 20
-       LLDPMAUType1000BaseX_HD    uint16 = 21
-       LLDPMAUType1000BaseX_FD    uint16 = 22
-       LLDPMAUType1000BaseLX_HD   uint16 = 23
-       LLDPMAUType1000BaseLX_FD   uint16 = 24
-       LLDPMAUType1000BaseSX_HD   uint16 = 25
-       LLDPMAUType1000BaseSX_FD   uint16 = 26
-       LLDPMAUType1000BaseCX_HD   uint16 = 27
-       LLDPMAUType1000BaseCX_FD   uint16 = 28
-       LLDPMAUType1000BaseT_HD    uint16 = 29
-       LLDPMAUType1000BaseT_FD    uint16 = 30
-       LLDPMAUType10GBaseX        uint16 = 31
-       LLDPMAUType10GBaseLX4      uint16 = 32
-       LLDPMAUType10GBaseR        uint16 = 33
-       LLDPMAUType10GBaseER       uint16 = 34
-       LLDPMAUType10GBaseLR       uint16 = 35
-       LLDPMAUType10GBaseSR       uint16 = 36
-       LLDPMAUType10GBaseW        uint16 = 37
-       LLDPMAUType10GBaseEW       uint16 = 38
-       LLDPMAUType10GBaseLW       uint16 = 39
-       LLDPMAUType10GBaseSW       uint16 = 40
-       LLDPMAUType10GBaseCX4      uint16 = 41
-       LLDPMAUType2BaseTL         uint16 = 42
-       LLDPMAUType10PASS_TS       uint16 = 43
-       LLDPMAUType100BaseBX10D    uint16 = 44
-       LLDPMAUType100BaseBX10U    uint16 = 45
-       LLDPMAUType100BaseLX10     uint16 = 46
-       LLDPMAUType1000BaseBX10D   uint16 = 47
-       LLDPMAUType1000BaseBX10U   uint16 = 48
-       LLDPMAUType1000BaseLX10    uint16 = 49
-       LLDPMAUType1000BasePX10D   uint16 = 50
-       LLDPMAUType1000BasePX10U   uint16 = 51
-       LLDPMAUType1000BasePX20D   uint16 = 52
-       LLDPMAUType1000BasePX20U   uint16 = 53
-       LLDPMAUType10GBaseT        uint16 = 54
-       LLDPMAUType10GBaseLRM      uint16 = 55
-       LLDPMAUType1000BaseKX      uint16 = 56
-       LLDPMAUType10GBaseKX4      uint16 = 57
-       LLDPMAUType10GBaseKR       uint16 = 58
-       LLDPMAUType10_1GBasePRX_D1 uint16 = 59
-       LLDPMAUType10_1GBasePRX_D2 uint16 = 60
-       LLDPMAUType10_1GBasePRX_D3 uint16 = 61
-       LLDPMAUType10_1GBasePRX_U1 uint16 = 62
-       LLDPMAUType10_1GBasePRX_U2 uint16 = 63
-       LLDPMAUType10_1GBasePRX_U3 uint16 = 64
-       LLDPMAUType10GBasePR_D1    uint16 = 65
-       LLDPMAUType10GBasePR_D2    uint16 = 66
-       LLDPMAUType10GBasePR_D3    uint16 = 67
-       LLDPMAUType10GBasePR_U1    uint16 = 68
-       LLDPMAUType10GBasePR_U3    uint16 = 69
-)
-
-// From RFC 3636 - ifMauAutoNegCapAdvertisedBits
-const (
-       LLDPMAUPMDOther        uint16 = 1 << 15
-       LLDPMAUPMD10BaseT      uint16 = 1 << 14
-       LLDPMAUPMD10BaseT_FD   uint16 = 1 << 13
-       LLDPMAUPMD100BaseT4    uint16 = 1 << 12
-       LLDPMAUPMD100BaseTX    uint16 = 1 << 11
-       LLDPMAUPMD100BaseTX_FD uint16 = 1 << 10
-       LLDPMAUPMD100BaseT2    uint16 = 1 << 9
-       LLDPMAUPMD100BaseT2_FD uint16 = 1 << 8
-       LLDPMAUPMDFDXPAUSE     uint16 = 1 << 7
-       LLDPMAUPMDFDXAPAUSE    uint16 = 1 << 6
-       LLDPMAUPMDFDXSPAUSE    uint16 = 1 << 5
-       LLDPMAUPMDFDXBPAUSE    uint16 = 1 << 4
-       LLDPMAUPMD1000BaseX    uint16 = 1 << 3
-       LLDPMAUPMD1000BaseX_FD uint16 = 1 << 2
-       LLDPMAUPMD1000BaseT    uint16 = 1 << 1
-       LLDPMAUPMD1000BaseT_FD uint16 = 1 << 0
-)
-
-// Inverted ifMauAutoNegCapAdvertisedBits if required
-// (Some manufacturers misinterpreted the spec -
-// see https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1455)
-const (
-       LLDPMAUPMDOtherInv        uint16 = 1 << 0
-       LLDPMAUPMD10BaseTInv      uint16 = 1 << 1
-       LLDPMAUPMD10BaseT_FDInv   uint16 = 1 << 2
-       LLDPMAUPMD100BaseT4Inv    uint16 = 1 << 3
-       LLDPMAUPMD100BaseTXInv    uint16 = 1 << 4
-       LLDPMAUPMD100BaseTX_FDInv uint16 = 1 << 5
-       LLDPMAUPMD100BaseT2Inv    uint16 = 1 << 6
-       LLDPMAUPMD100BaseT2_FDInv uint16 = 1 << 7
-       LLDPMAUPMDFDXPAUSEInv     uint16 = 1 << 8
-       LLDPMAUPMDFDXAPAUSEInv    uint16 = 1 << 9
-       LLDPMAUPMDFDXSPAUSEInv    uint16 = 1 << 10
-       LLDPMAUPMDFDXBPAUSEInv    uint16 = 1 << 11
-       LLDPMAUPMD1000BaseXInv    uint16 = 1 << 12
-       LLDPMAUPMD1000BaseX_FDInv uint16 = 1 << 13
-       LLDPMAUPMD1000BaseTInv    uint16 = 1 << 14
-       LLDPMAUPMD1000BaseT_FDInv uint16 = 1 << 15
-)
-
-type LLDPMACPHYConfigStatus struct {
-       AutoNegSupported  bool
-       AutoNegEnabled    bool
-       AutoNegCapability uint16
-       MAUType           uint16
-}
-
-// MDI Power options
-const (
-       LLDPMDIPowerPortClass    byte = 1 << 0
-       LLDPMDIPowerCapability   byte = 1 << 1
-       LLDPMDIPowerStatus       byte = 1 << 2
-       LLDPMDIPowerPairsAbility byte = 1 << 3
-)
-
-type LLDPPowerType byte
-
-type LLDPPowerSource byte
-
-type LLDPPowerPriority byte
-
-const (
-       LLDPPowerPriorityUnknown LLDPPowerPriority = 0
-       LLDPPowerPriorityMedium  LLDPPowerPriority = 1
-       LLDPPowerPriorityHigh    LLDPPowerPriority = 2
-       LLDPPowerPriorityLow     LLDPPowerPriority = 3
-)
-
-type LLDPPowerViaMDI8023 struct {
-       PortClassPSE    bool // false = PD
-       PSESupported    bool
-       PSEEnabled      bool
-       PSEPairsAbility bool
-       PSEPowerPair    uint8
-       PSEClass        uint8
-       Type            LLDPPowerType
-       Source          LLDPPowerSource
-       Priority        LLDPPowerPriority
-       Requested       uint16 // 1-510 Watts
-       Allocated       uint16 // 1-510 Watts
-}
-
-// LLDPInfo8023 represents the information carried in 802.3 Org-specific TLVs
-type LLDPInfo8023 struct {
-       MACPHYConfigStatus LLDPMACPHYConfigStatus
-       PowerViaMDI        LLDPPowerViaMDI8023
-       LinkAggregation    LLDPLinkAggregation
-       MTU                uint16
-}
-
-// IEEE 802.1Qbg TLV Subtypes
-const (
-       LLDP8021QbgEVB   uint8 = 0
-       LLDP8021QbgCDCP  uint8 = 1
-       LLDP8021QbgVDP   uint8 = 2
-       LLDP8021QbgEVB22 uint8 = 13
-)
-
-// LLDPEVBCapabilities Types
-const (
-       LLDPEVBCapsSTD uint16 = 1 << 7
-       LLDPEVBCapsRR  uint16 = 1 << 6
-       LLDPEVBCapsRTE uint16 = 1 << 2
-       LLDPEVBCapsECP uint16 = 1 << 1
-       LLDPEVBCapsVDP uint16 = 1 << 0
-)
-
-// LLDPEVBCapabilities represents the EVB capabilities of a device
-type LLDPEVBCapabilities struct {
-       StandardBridging            bool
-       ReflectiveRelay             bool
-       RetransmissionTimerExponent bool
-       EdgeControlProtocol         bool
-       VSIDiscoveryProtocol        bool
-}
-
-type LLDPEVBSettings struct {
-       Supported      LLDPEVBCapabilities
-       Enabled        LLDPEVBCapabilities
-       SupportedVSIs  uint16
-       ConfiguredVSIs uint16
-       RTEExponent    uint8
-}
-
-// LLDPInfo8021Qbg represents the information carried in 802.1Qbg Org-specific TLVs
-type LLDPInfo8021Qbg struct {
-       EVBSettings LLDPEVBSettings
-}
-
-type LLDPMediaSubtype uint8
-
-// Media TLV Subtypes
-const (
-       LLDPMediaTypeCapabilities LLDPMediaSubtype = 1
-       LLDPMediaTypeNetwork      LLDPMediaSubtype = 2
-       LLDPMediaTypeLocation     LLDPMediaSubtype = 3
-       LLDPMediaTypePower        LLDPMediaSubtype = 4
-       LLDPMediaTypeHardware     LLDPMediaSubtype = 5
-       LLDPMediaTypeFirmware     LLDPMediaSubtype = 6
-       LLDPMediaTypeSoftware     LLDPMediaSubtype = 7
-       LLDPMediaTypeSerial       LLDPMediaSubtype = 8
-       LLDPMediaTypeManufacturer LLDPMediaSubtype = 9
-       LLDPMediaTypeModel        LLDPMediaSubtype = 10
-       LLDPMediaTypeAssetID      LLDPMediaSubtype = 11
-)
-
-type LLDPMediaClass uint8
-
-// Media Class Values
-const (
-       LLDPMediaClassUndefined   LLDPMediaClass = 0
-       LLDPMediaClassEndpointI   LLDPMediaClass = 1
-       LLDPMediaClassEndpointII  LLDPMediaClass = 2
-       LLDPMediaClassEndpointIII LLDPMediaClass = 3
-       LLDPMediaClassNetwork     LLDPMediaClass = 4
-)
-
-// LLDPMediaCapabilities Types
-const (
-       LLDPMediaCapsLLDP      uint16 = 1 << 0
-       LLDPMediaCapsNetwork   uint16 = 1 << 1
-       LLDPMediaCapsLocation  uint16 = 1 << 2
-       LLDPMediaCapsPowerPSE  uint16 = 1 << 3
-       LLDPMediaCapsPowerPD   uint16 = 1 << 4
-       LLDPMediaCapsInventory uint16 = 1 << 5
-)
-
-// LLDPMediaCapabilities represents the LLDP Media capabilities of a device
-type LLDPMediaCapabilities struct {
-       Capabilities  bool
-       NetworkPolicy bool
-       Location      bool
-       PowerPSE      bool
-       PowerPD       bool
-       Inventory     bool
-       Class         LLDPMediaClass
-}
-
-type LLDPApplicationType uint8
-
-const (
-       LLDPAppTypeReserved            LLDPApplicationType = 0
-       LLDPAppTypeVoice               LLDPApplicationType = 1
-       LLDPappTypeVoiceSignaling      LLDPApplicationType = 2
-       LLDPappTypeGuestVoice          LLDPApplicationType = 3
-       LLDPappTypeGuestVoiceSignaling LLDPApplicationType = 4
-       LLDPappTypeSoftphoneVoice      LLDPApplicationType = 5
-       LLDPappTypeVideoConferencing   LLDPApplicationType = 6
-       LLDPappTypeStreamingVideo      LLDPApplicationType = 7
-       LLDPappTypeVideoSignaling      LLDPApplicationType = 8
-)
-
-type LLDPNetworkPolicy struct {
-       ApplicationType LLDPApplicationType
-       Defined         bool
-       Tagged          bool
-       VLANId          uint16
-       L2Priority      uint16
-       DSCPValue       uint8
-}
-
-type LLDPLocationFormat uint8
-
-const (
-       LLDPLocationFormatInvalid    LLDPLocationFormat = 0
-       LLDPLocationFormatCoordinate LLDPLocationFormat = 1
-       LLDPLocationFormatAddress    LLDPLocationFormat = 2
-       LLDPLocationFormatECS        LLDPLocationFormat = 3
-)
-
-type LLDPLocationAddressWhat uint8
-
-const (
-       LLDPLocationAddressWhatDHCP    LLDPLocationAddressWhat = 0
-       LLDPLocationAddressWhatNetwork LLDPLocationAddressWhat = 1
-       LLDPLocationAddressWhatClient  LLDPLocationAddressWhat = 2
-)
-
-type LLDPLocationAddressType uint8
-
-const (
-       LLDPLocationAddressTypeLanguage       LLDPLocationAddressType = 0
-       LLDPLocationAddressTypeNational       LLDPLocationAddressType = 1
-       LLDPLocationAddressTypeCounty         LLDPLocationAddressType = 2
-       LLDPLocationAddressTypeCity           LLDPLocationAddressType = 3
-       LLDPLocationAddressTypeCityDivision   LLDPLocationAddressType = 4
-       LLDPLocationAddressTypeNeighborhood   LLDPLocationAddressType = 5
-       LLDPLocationAddressTypeStreet         LLDPLocationAddressType = 6
-       LLDPLocationAddressTypeLeadingStreet  LLDPLocationAddressType = 16
-       LLDPLocationAddressTypeTrailingStreet LLDPLocationAddressType = 17
-       LLDPLocationAddressTypeStreetSuffix   LLDPLocationAddressType = 18
-       LLDPLocationAddressTypeHouseNum       LLDPLocationAddressType = 19
-       LLDPLocationAddressTypeHouseSuffix    LLDPLocationAddressType = 20
-       LLDPLocationAddressTypeLandmark       LLDPLocationAddressType = 21
-       LLDPLocationAddressTypeAdditional     LLDPLocationAddressType = 22
-       LLDPLocationAddressTypeName           LLDPLocationAddressType = 23
-       LLDPLocationAddressTypePostal         LLDPLocationAddressType = 24
-       LLDPLocationAddressTypeBuilding       LLDPLocationAddressType = 25
-       LLDPLocationAddressTypeUnit           LLDPLocationAddressType = 26
-       LLDPLocationAddressTypeFloor          LLDPLocationAddressType = 27
-       LLDPLocationAddressTypeRoom           LLDPLocationAddressType = 28
-       LLDPLocationAddressTypePlace          LLDPLocationAddressType = 29
-       LLDPLocationAddressTypeScript         LLDPLocationAddressType = 128
-)
-
-type LLDPLocationCoordinate struct {
-       LatitudeResolution  uint8
-       Latitude            uint64
-       LongitudeResolution uint8
-       Longitude           uint64
-       AltitudeType        uint8
-       AltitudeResolution  uint16
-       Altitude            uint32
-       Datum               uint8
-}
-
-type LLDPLocationAddressLine struct {
-       Type  LLDPLocationAddressType
-       Value string
-}
-
-type LLDPLocationAddress struct {
-       What         LLDPLocationAddressWhat
-       CountryCode  string
-       AddressLines []LLDPLocationAddressLine
-}
-
-type LLDPLocationECS struct {
-       ELIN string
-}
-
-// LLDP represents a physical location.
-// Only one of the embedded types will contain values, depending on Format.
-type LLDPLocation struct {
-       Format     LLDPLocationFormat
-       Coordinate LLDPLocationCoordinate
-       Address    LLDPLocationAddress
-       ECS        LLDPLocationECS
-}
-
-type LLDPPowerViaMDI struct {
-       Type     LLDPPowerType
-       Source   LLDPPowerSource
-       Priority LLDPPowerPriority
-       Value    uint16
-}
-
-// LLDPInfoMedia represents the information carried in TR-41 Org-specific TLVs
-type LLDPInfoMedia struct {
-       MediaCapabilities LLDPMediaCapabilities
-       NetworkPolicy     LLDPNetworkPolicy
-       Location          LLDPLocation
-       PowerViaMDI       LLDPPowerViaMDI
-       HardwareRevision  string
-       FirmwareRevision  string
-       SoftwareRevision  string
-       SerialNumber      string
-       Manufacturer      string
-       Model             string
-       AssetID           string
-}
-
-type LLDPCisco2Subtype uint8
-
-// Cisco2 TLV Subtypes
-const (
-       LLDPCisco2PowerViaMDI LLDPCisco2Subtype = 1
-)
-
-const (
-       LLDPCiscoPSESupport   uint8 = 1 << 0
-       LLDPCiscoArchShared   uint8 = 1 << 1
-       LLDPCiscoPDSparePair  uint8 = 1 << 2
-       LLDPCiscoPSESparePair uint8 = 1 << 3
-)
-
-// LLDPInfoCisco2 represents the information carried in Cisco Org-specific TLVs
-type LLDPInfoCisco2 struct {
-       PSEFourWirePoESupported       bool
-       PDSparePairArchitectureShared bool
-       PDRequestSparePairPoEOn       bool
-       PSESparePairPoEOn             bool
-}
-
-// Profinet Subtypes
-type LLDPProfinetSubtype uint8
-
-const (
-       LLDPProfinetPNIODelay         LLDPProfinetSubtype = 1
-       LLDPProfinetPNIOPortStatus    LLDPProfinetSubtype = 2
-       LLDPProfinetPNIOMRPPortStatus LLDPProfinetSubtype = 4
-       LLDPProfinetPNIOChassisMAC    LLDPProfinetSubtype = 5
-       LLDPProfinetPNIOPTCPStatus    LLDPProfinetSubtype = 6
-)
-
-type LLDPPNIODelay struct {
-       RXLocal    uint32
-       RXRemote   uint32
-       TXLocal    uint32
-       TXRemote   uint32
-       CableLocal uint32
-}
-
-type LLDPPNIOPortStatus struct {
-       Class2 uint16
-       Class3 uint16
-}
-
-type LLDPPNIOMRPPortStatus struct {
-       UUID   []byte
-       Status uint16
-}
-
-type LLDPPNIOPTCPStatus struct {
-       MasterAddress     []byte
-       SubdomainUUID     []byte
-       IRDataUUID        []byte
-       PeriodValid       bool
-       PeriodLength      uint32
-       RedPeriodValid    bool
-       RedPeriodBegin    uint32
-       OrangePeriodValid bool
-       OrangePeriodBegin uint32
-       GreenPeriodValid  bool
-       GreenPeriodBegin  uint32
-}
-
-// LLDPInfoProfinet represents the information carried in Profinet Org-specific TLVs
-type LLDPInfoProfinet struct {
-       PNIODelay         LLDPPNIODelay
-       PNIOPortStatus    LLDPPNIOPortStatus
-       PNIOMRPPortStatus LLDPPNIOMRPPortStatus
-       ChassisMAC        []byte
-       PNIOPTCPStatus    LLDPPNIOPTCPStatus
-}
-
-// LayerType returns gopacket.LayerTypeLinkLayerDiscovery.
-func (c *LinkLayerDiscovery) LayerType() gopacket.LayerType {
-       return LayerTypeLinkLayerDiscovery
-}
-
-func decodeLinkLayerDiscovery(data []byte, p gopacket.PacketBuilder) error {
-       var vals []LinkLayerDiscoveryValue
-       vData := data[0:]
-       for len(vData) > 0 {
-               nbit := vData[0] & 0x01
-               t := LLDPTLVType(vData[0] >> 1)
-               val := LinkLayerDiscoveryValue{Type: t, Length: uint16(nbit)<<8 + uint16(vData[1])}
-               if val.Length > 0 {
-                       val.Value = vData[2 : val.Length+2]
-               }
-               vals = append(vals, val)
-               if t == LLDPTLVEnd {
-                       break
-               }
-               if len(vData) < int(2+val.Length) {
-                       return errors.New("Malformed LinkLayerDiscovery Header")
-               }
-               vData = vData[2+val.Length:]
-       }
-       if len(vals) < 4 {
-               return errors.New("Missing mandatory LinkLayerDiscovery TLV")
-       }
-       c := &LinkLayerDiscovery{}
-       gotEnd := false
-       for _, v := range vals {
-               switch v.Type {
-               case LLDPTLVEnd:
-                       gotEnd = true
-               case LLDPTLVChassisID:
-                       if len(v.Value) < 2 {
-                               return errors.New("Malformed LinkLayerDiscovery ChassisID TLV")
-                       }
-                       c.ChassisID.Subtype = LLDPChassisIDSubType(v.Value[0])
-                       c.ChassisID.ID = v.Value[1:]
-               case LLDPTLVPortID:
-                       if len(v.Value) < 2 {
-                               return errors.New("Malformed LinkLayerDiscovery PortID TLV")
-                       }
-                       c.PortID.Subtype = LLDPPortIDSubType(v.Value[0])
-                       c.PortID.ID = v.Value[1:]
-               case LLDPTLVTTL:
-                       if len(v.Value) < 2 {
-                               return errors.New("Malformed LinkLayerDiscovery TTL TLV")
-                       }
-                       c.TTL = binary.BigEndian.Uint16(v.Value[0:2])
-               default:
-                       c.Values = append(c.Values, v)
-               }
-       }
-       if c.ChassisID.Subtype == 0 || c.PortID.Subtype == 0 || !gotEnd {
-               return errors.New("Missing mandatory LinkLayerDiscovery TLV")
-       }
-       c.Contents = data
-       p.AddLayer(c)
-
-       info := &LinkLayerDiscoveryInfo{}
-       p.AddLayer(info)
-       for _, v := range c.Values {
-               switch v.Type {
-               case LLDPTLVPortDescription:
-                       info.PortDescription = string(v.Value)
-               case LLDPTLVSysName:
-                       info.SysName = string(v.Value)
-               case LLDPTLVSysDescription:
-                       info.SysDescription = string(v.Value)
-               case LLDPTLVSysCapabilities:
-                       if err := checkLLDPTLVLen(v, 4); err != nil {
-                               return err
-                       }
-                       info.SysCapabilities.SystemCap = getCapabilities(binary.BigEndian.Uint16(v.Value[0:2]))
-                       info.SysCapabilities.EnabledCap = getCapabilities(binary.BigEndian.Uint16(v.Value[2:4]))
-               case LLDPTLVMgmtAddress:
-                       if err := checkLLDPTLVLen(v, 9); err != nil {
-                               return err
-                       }
-                       mlen := v.Value[0]
-                       if err := checkLLDPTLVLen(v, int(mlen+7)); err != nil {
-                               return err
-                       }
-                       info.MgmtAddress.Subtype = IANAAddressFamily(v.Value[1])
-                       info.MgmtAddress.Address = v.Value[2 : mlen+1]
-                       info.MgmtAddress.InterfaceSubtype = LLDPInterfaceSubtype(v.Value[mlen+1])
-                       info.MgmtAddress.InterfaceNumber = binary.BigEndian.Uint32(v.Value[mlen+2 : mlen+6])
-                       olen := v.Value[mlen+6]
-                       if err := checkLLDPTLVLen(v, int(mlen+6+olen)); err != nil {
-                               return err
-                       }
-                       info.MgmtAddress.OID = string(v.Value[mlen+9 : mlen+9+olen])
-               case LLDPTLVOrgSpecific:
-                       if err := checkLLDPTLVLen(v, 4); err != nil {
-                               return err
-                       }
-                       info.OrgTLVs = append(info.OrgTLVs, LLDPOrgSpecificTLV{IEEEOUI(binary.BigEndian.Uint32(append([]byte{byte(0)}, v.Value[0:3]...))), uint8(v.Value[3]), v.Value[4:]})
-               }
-       }
-       return nil
-}
-
-func (l *LinkLayerDiscoveryInfo) Decode8021() (info LLDPInfo8021, err error) {
-       for _, o := range l.OrgTLVs {
-               if o.OUI != IEEEOUI8021 {
-                       continue
-               }
-               switch o.SubType {
-               case LLDP8021SubtypePortVLANID:
-                       if err = checkLLDPOrgSpecificLen(o, 2); err != nil {
-                               return
-                       }
-                       info.PVID = binary.BigEndian.Uint16(o.Info[0:2])
-               case LLDP8021SubtypeProtocolVLANID:
-                       if err = checkLLDPOrgSpecificLen(o, 3); err != nil {
-                               return
-                       }
-                       sup := (o.Info[0]&LLDPProtocolVLANIDCapability > 0)
-                       en := (o.Info[0]&LLDPProtocolVLANIDStatus > 0)
-                       id := binary.BigEndian.Uint16(o.Info[1:3])
-                       info.PPVIDs = append(info.PPVIDs, PortProtocolVLANID{sup, en, id})
-               case LLDP8021SubtypeVLANName:
-                       if err = checkLLDPOrgSpecificLen(o, 2); err != nil {
-                               return
-                       }
-                       id := binary.BigEndian.Uint16(o.Info[0:2])
-                       info.VLANNames = append(info.VLANNames, VLANName{id, string(o.Info[3:])})
-               case LLDP8021SubtypeProtocolIdentity:
-                       if err = checkLLDPOrgSpecificLen(o, 1); err != nil {
-                               return
-                       }
-                       l := int(o.Info[0])
-                       if l > 0 {
-                               info.ProtocolIdentities = append(info.ProtocolIdentities, o.Info[1:1+l])
-                       }
-               case LLDP8021SubtypeVDIUsageDigest:
-                       if err = checkLLDPOrgSpecificLen(o, 4); err != nil {
-                               return
-                       }
-                       info.VIDUsageDigest = binary.BigEndian.Uint32(o.Info[0:4])
-               case LLDP8021SubtypeManagementVID:
-                       if err = checkLLDPOrgSpecificLen(o, 2); err != nil {
-                               return
-                       }
-                       info.ManagementVID = binary.BigEndian.Uint16(o.Info[0:2])
-               case LLDP8021SubtypeLinkAggregation:
-                       if err = checkLLDPOrgSpecificLen(o, 5); err != nil {
-                               return
-                       }
-                       sup := (o.Info[0]&LLDPAggregationCapability > 0)
-                       en := (o.Info[0]&LLDPAggregationStatus > 0)
-                       info.LinkAggregation = LLDPLinkAggregation{sup, en, binary.BigEndian.Uint32(o.Info[1:5])}
-               }
-       }
-       return
-}
-
-func (l *LinkLayerDiscoveryInfo) Decode8023() (info LLDPInfo8023, err error) {
-       for _, o := range l.OrgTLVs {
-               if o.OUI != IEEEOUI8023 {
-                       continue
-               }
-               switch o.SubType {
-               case LLDP8023SubtypeMACPHY:
-                       if err = checkLLDPOrgSpecificLen(o, 5); err != nil {
-                               return
-                       }
-                       sup := (o.Info[0]&LLDPMACPHYCapability > 0)
-                       en := (o.Info[0]&LLDPMACPHYStatus > 0)
-                       ca := binary.BigEndian.Uint16(o.Info[1:3])
-                       mau := binary.BigEndian.Uint16(o.Info[3:5])
-                       info.MACPHYConfigStatus = LLDPMACPHYConfigStatus{sup, en, ca, mau}
-               case LLDP8023SubtypeMDIPower:
-                       if err = checkLLDPOrgSpecificLen(o, 3); err != nil {
-                               return
-                       }
-                       info.PowerViaMDI.PortClassPSE = (o.Info[0]&LLDPMDIPowerPortClass > 0)
-                       info.PowerViaMDI.PSESupported = (o.Info[0]&LLDPMDIPowerCapability > 0)
-                       info.PowerViaMDI.PSEEnabled = (o.Info[0]&LLDPMDIPowerStatus > 0)
-                       info.PowerViaMDI.PSEPairsAbility = (o.Info[0]&LLDPMDIPowerPairsAbility > 0)
-                       info.PowerViaMDI.PSEPowerPair = uint8(o.Info[1])
-                       info.PowerViaMDI.PSEClass = uint8(o.Info[2])
-                       if len(o.Info) >= 7 {
-                               info.PowerViaMDI.Type = LLDPPowerType((o.Info[3] & 0xc0) >> 6)
-                               info.PowerViaMDI.Source = LLDPPowerSource((o.Info[3] & 0x30) >> 4)
-                               if info.PowerViaMDI.Type == 1 || info.PowerViaMDI.Type == 3 {
-                                       info.PowerViaMDI.Source += 128 // For Stringify purposes
-                               }
-                               info.PowerViaMDI.Priority = LLDPPowerPriority(o.Info[3] & 0x0f)
-                               info.PowerViaMDI.Requested = binary.BigEndian.Uint16(o.Info[4:6])
-                               info.PowerViaMDI.Allocated = binary.BigEndian.Uint16(o.Info[6:8])
-                       }
-               case LLDP8023SubtypeLinkAggregation:
-                       if err = checkLLDPOrgSpecificLen(o, 5); err != nil {
-                               return
-                       }
-                       sup := (o.Info[0]&LLDPAggregationCapability > 0)
-                       en := (o.Info[0]&LLDPAggregationStatus > 0)
-                       info.LinkAggregation = LLDPLinkAggregation{sup, en, binary.BigEndian.Uint32(o.Info[1:5])}
-               case LLDP8023SubtypeMTU:
-                       if err = checkLLDPOrgSpecificLen(o, 2); err != nil {
-                               return
-                       }
-                       info.MTU = binary.BigEndian.Uint16(o.Info[0:2])
-               }
-       }
-       return
-}
-
-func (l *LinkLayerDiscoveryInfo) Decode8021Qbg() (info LLDPInfo8021Qbg, err error) {
-       for _, o := range l.OrgTLVs {
-               if o.OUI != IEEEOUI8021Qbg {
-                       continue
-               }
-               switch o.SubType {
-               case LLDP8021QbgEVB:
-                       if err = checkLLDPOrgSpecificLen(o, 9); err != nil {
-                               return
-                       }
-                       info.EVBSettings.Supported = getEVBCapabilities(binary.BigEndian.Uint16(o.Info[0:2]))
-                       info.EVBSettings.Enabled = getEVBCapabilities(binary.BigEndian.Uint16(o.Info[2:4]))
-                       info.EVBSettings.SupportedVSIs = binary.BigEndian.Uint16(o.Info[4:6])
-                       info.EVBSettings.ConfiguredVSIs = binary.BigEndian.Uint16(o.Info[6:8])
-                       info.EVBSettings.RTEExponent = uint8(o.Info[8])
-               }
-       }
-       return
-}
-
-func (l *LinkLayerDiscoveryInfo) DecodeMedia() (info LLDPInfoMedia, err error) {
-       for _, o := range l.OrgTLVs {
-               if o.OUI != IEEEOUIMedia {
-                       continue
-               }
-               switch LLDPMediaSubtype(o.SubType) {
-               case LLDPMediaTypeCapabilities:
-                       if err = checkLLDPOrgSpecificLen(o, 3); err != nil {
-                               return
-                       }
-                       b := binary.BigEndian.Uint16(o.Info[0:2])
-                       info.MediaCapabilities.Capabilities = (b & LLDPMediaCapsLLDP) > 0
-                       info.MediaCapabilities.NetworkPolicy = (b & LLDPMediaCapsNetwork) > 0
-                       info.MediaCapabilities.Location = (b & LLDPMediaCapsLocation) > 0
-                       info.MediaCapabilities.PowerPSE = (b & LLDPMediaCapsPowerPSE) > 0
-                       info.MediaCapabilities.PowerPD = (b & LLDPMediaCapsPowerPD) > 0
-                       info.MediaCapabilities.Inventory = (b & LLDPMediaCapsInventory) > 0
-                       info.MediaCapabilities.Class = LLDPMediaClass(o.Info[2])
-               case LLDPMediaTypeNetwork:
-                       if err = checkLLDPOrgSpecificLen(o, 4); err != nil {
-                               return
-                       }
-                       info.NetworkPolicy.ApplicationType = LLDPApplicationType(o.Info[0])
-                       b := binary.BigEndian.Uint16(o.Info[1:3])
-                       info.NetworkPolicy.Defined = (b & 0x8000) == 0
-                       info.NetworkPolicy.Tagged = (b & 0x4000) > 0
-                       info.NetworkPolicy.VLANId = (b & 0x1ffe) >> 1
-                       b = binary.BigEndian.Uint16(o.Info[2:4])
-                       info.NetworkPolicy.L2Priority = (b & 0x01c0) >> 6
-                       info.NetworkPolicy.DSCPValue = uint8(o.Info[3] & 0x3f)
-               case LLDPMediaTypeLocation:
-                       if err = checkLLDPOrgSpecificLen(o, 1); err != nil {
-                               return
-                       }
-                       info.Location.Format = LLDPLocationFormat(o.Info[0])
-                       o.Info = o.Info[1:]
-                       switch info.Location.Format {
-                       case LLDPLocationFormatCoordinate:
-                               if err = checkLLDPOrgSpecificLen(o, 16); err != nil {
-                                       return
-                               }
-                               info.Location.Coordinate.LatitudeResolution = uint8(o.Info[0]&0xfc) >> 2
-                               b := binary.BigEndian.Uint64(o.Info[0:8])
-                               info.Location.Coordinate.Latitude = (b & 0x03ffffffff000000) >> 24
-                               info.Location.Coordinate.LongitudeResolution = uint8(o.Info[5]&0xfc) >> 2
-                               b = binary.BigEndian.Uint64(o.Info[5:13])
-                               info.Location.Coordinate.Longitude = (b & 0x03ffffffff000000) >> 24
-                               info.Location.Coordinate.AltitudeType = uint8((o.Info[10] & 0x30) >> 4)
-                               b1 := binary.BigEndian.Uint16(o.Info[10:12])
-                               info.Location.Coordinate.AltitudeResolution = (b1 & 0xfc0) >> 6
-                               b2 := binary.BigEndian.Uint32(o.Info[11:15])
-                               info.Location.Coordinate.Altitude = b2 & 0x3fffffff
-                               info.Location.Coordinate.Datum = uint8(o.Info[15])
-                       case LLDPLocationFormatAddress:
-                               if err = checkLLDPOrgSpecificLen(o, 3); err != nil {
-                                       return
-                               }
-                               //ll := uint8(o.Info[0])
-                               info.Location.Address.What = LLDPLocationAddressWhat(o.Info[1])
-                               info.Location.Address.CountryCode = string(o.Info[2:4])
-                               data := o.Info[4:]
-                               for len(data) > 1 {
-                                       aType := LLDPLocationAddressType(data[0])
-                                       aLen := int(data[1])
-                                       if len(data) >= aLen+2 {
-                                               info.Location.Address.AddressLines = append(info.Location.Address.AddressLines, LLDPLocationAddressLine{aType, string(data[2 : aLen+2])})
-                                               data = data[aLen+2:]
-                                       } else {
-                                               break
-                                       }
-                               }
-                       case LLDPLocationFormatECS:
-                               info.Location.ECS.ELIN = string(o.Info)
-                       }
-               case LLDPMediaTypePower:
-                       if err = checkLLDPOrgSpecificLen(o, 3); err != nil {
-                               return
-                       }
-                       info.PowerViaMDI.Type = LLDPPowerType((o.Info[0] & 0xc0) >> 6)
-                       info.PowerViaMDI.Source = LLDPPowerSource((o.Info[0] & 0x30) >> 4)
-                       if info.PowerViaMDI.Type == 1 || info.PowerViaMDI.Type == 3 {
-                               info.PowerViaMDI.Source += 128 // For Stringify purposes
-                       }
-                       info.PowerViaMDI.Priority = LLDPPowerPriority(o.Info[0] & 0x0f)
-                       info.PowerViaMDI.Value = binary.BigEndian.Uint16(o.Info[1:3]) * 100 // 0 to 102.3 w, 0.1W increments
-               case LLDPMediaTypeHardware:
-                       info.HardwareRevision = string(o.Info)
-               case LLDPMediaTypeFirmware:
-                       info.FirmwareRevision = string(o.Info)
-               case LLDPMediaTypeSoftware:
-                       info.SoftwareRevision = string(o.Info)
-               case LLDPMediaTypeSerial:
-                       info.SerialNumber = string(o.Info)
-               case LLDPMediaTypeManufacturer:
-                       info.Manufacturer = string(o.Info)
-               case LLDPMediaTypeModel:
-                       info.Model = string(o.Info)
-               case LLDPMediaTypeAssetID:
-                       info.AssetID = string(o.Info)
-               }
-       }
-       return
-}
-
-func (l *LinkLayerDiscoveryInfo) DecodeCisco2() (info LLDPInfoCisco2, err error) {
-       for _, o := range l.OrgTLVs {
-               if o.OUI != IEEEOUICisco2 {
-                       continue
-               }
-               switch LLDPCisco2Subtype(o.SubType) {
-               case LLDPCisco2PowerViaMDI:
-                       if err = checkLLDPOrgSpecificLen(o, 1); err != nil {
-                               return
-                       }
-                       info.PSEFourWirePoESupported = (o.Info[0] & LLDPCiscoPSESupport) > 0
-                       info.PDSparePairArchitectureShared = (o.Info[0] & LLDPCiscoArchShared) > 0
-                       info.PDRequestSparePairPoEOn = (o.Info[0] & LLDPCiscoPDSparePair) > 0
-                       info.PSESparePairPoEOn = (o.Info[0] & LLDPCiscoPSESparePair) > 0
-               }
-       }
-       return
-}
-
-func (l *LinkLayerDiscoveryInfo) DecodeProfinet() (info LLDPInfoProfinet, err error) {
-       for _, o := range l.OrgTLVs {
-               if o.OUI != IEEEOUIProfinet {
-                       continue
-               }
-               switch LLDPProfinetSubtype(o.SubType) {
-               case LLDPProfinetPNIODelay:
-                       if err = checkLLDPOrgSpecificLen(o, 20); err != nil {
-                               return
-                       }
-                       info.PNIODelay.RXLocal = binary.BigEndian.Uint32(o.Info[0:4])
-                       info.PNIODelay.RXRemote = binary.BigEndian.Uint32(o.Info[4:8])
-                       info.PNIODelay.TXLocal = binary.BigEndian.Uint32(o.Info[8:12])
-                       info.PNIODelay.TXRemote = binary.BigEndian.Uint32(o.Info[12:16])
-                       info.PNIODelay.CableLocal = binary.BigEndian.Uint32(o.Info[16:20])
-               case LLDPProfinetPNIOPortStatus:
-                       if err = checkLLDPOrgSpecificLen(o, 4); err != nil {
-                               return
-                       }
-                       info.PNIOPortStatus.Class2 = binary.BigEndian.Uint16(o.Info[0:2])
-                       info.PNIOPortStatus.Class3 = binary.BigEndian.Uint16(o.Info[2:4])
-               case LLDPProfinetPNIOMRPPortStatus:
-                       if err = checkLLDPOrgSpecificLen(o, 18); err != nil {
-                               return
-                       }
-                       info.PNIOMRPPortStatus.UUID = o.Info[0:16]
-                       info.PNIOMRPPortStatus.Status = binary.BigEndian.Uint16(o.Info[16:18])
-               case LLDPProfinetPNIOChassisMAC:
-                       if err = checkLLDPOrgSpecificLen(o, 6); err != nil {
-                               return
-                       }
-                       info.ChassisMAC = o.Info[0:6]
-               case LLDPProfinetPNIOPTCPStatus:
-                       if err = checkLLDPOrgSpecificLen(o, 54); err != nil {
-                               return
-                       }
-                       info.PNIOPTCPStatus.MasterAddress = o.Info[0:6]
-                       info.PNIOPTCPStatus.SubdomainUUID = o.Info[6:22]
-                       info.PNIOPTCPStatus.IRDataUUID = o.Info[22:38]
-                       b := binary.BigEndian.Uint32(o.Info[38:42])
-                       info.PNIOPTCPStatus.PeriodValid = (b & 0x80000000) > 0
-                       info.PNIOPTCPStatus.PeriodLength = b & 0x7fffffff
-                       b = binary.BigEndian.Uint32(o.Info[42:46])
-                       info.PNIOPTCPStatus.RedPeriodValid = (b & 0x80000000) > 0
-                       info.PNIOPTCPStatus.RedPeriodBegin = b & 0x7fffffff
-                       b = binary.BigEndian.Uint32(o.Info[46:50])
-                       info.PNIOPTCPStatus.OrangePeriodValid = (b & 0x80000000) > 0
-                       info.PNIOPTCPStatus.OrangePeriodBegin = b & 0x7fffffff
-                       b = binary.BigEndian.Uint32(o.Info[50:54])
-                       info.PNIOPTCPStatus.GreenPeriodValid = (b & 0x80000000) > 0
-                       info.PNIOPTCPStatus.GreenPeriodBegin = b & 0x7fffffff
-               }
-       }
-       return
-}
-
-// LayerType returns gopacket.LayerTypeLinkLayerDiscoveryInfo.
-func (c *LinkLayerDiscoveryInfo) LayerType() gopacket.LayerType {
-       return LayerTypeLinkLayerDiscoveryInfo
-}
-
-func getCapabilities(v uint16) (c LLDPCapabilities) {
-       c.Other = (v&LLDPCapsOther > 0)
-       c.Repeater = (v&LLDPCapsRepeater > 0)
-       c.Bridge = (v&LLDPCapsBridge > 0)
-       c.WLANAP = (v&LLDPCapsWLANAP > 0)
-       c.Router = (v&LLDPCapsRouter > 0)
-       c.Phone = (v&LLDPCapsPhone > 0)
-       c.DocSis = (v&LLDPCapsDocSis > 0)
-       c.StationOnly = (v&LLDPCapsStationOnly > 0)
-       c.CVLAN = (v&LLDPCapsCVLAN > 0)
-       c.SVLAN = (v&LLDPCapsSVLAN > 0)
-       c.TMPR = (v&LLDPCapsTmpr > 0)
-       return
-}
-
-func getEVBCapabilities(v uint16) (c LLDPEVBCapabilities) {
-       c.StandardBridging = (v & LLDPEVBCapsSTD) > 0
-       c.StandardBridging = (v & LLDPEVBCapsSTD) > 0
-       c.ReflectiveRelay = (v & LLDPEVBCapsRR) > 0
-       c.RetransmissionTimerExponent = (v & LLDPEVBCapsRTE) > 0
-       c.EdgeControlProtocol = (v & LLDPEVBCapsECP) > 0
-       c.VSIDiscoveryProtocol = (v & LLDPEVBCapsVDP) > 0
-       return
-}
-
-func (t LLDPTLVType) String() (s string) {
-       switch t {
-       case LLDPTLVEnd:
-               s = "TLV End"
-       case LLDPTLVChassisID:
-               s = "Chassis ID"
-       case LLDPTLVPortID:
-               s = "Port ID"
-       case LLDPTLVTTL:
-               s = "TTL"
-       case LLDPTLVPortDescription:
-               s = "Port Description"
-       case LLDPTLVSysName:
-               s = "System Name"
-       case LLDPTLVSysDescription:
-               s = "System Description"
-       case LLDPTLVSysCapabilities:
-               s = "System Capabilities"
-       case LLDPTLVMgmtAddress:
-               s = "Management Address"
-       case LLDPTLVOrgSpecific:
-               s = "Organisation Specific"
-       default:
-               s = "Unknown"
-       }
-       return
-}
-
-func (t LLDPChassisIDSubType) String() (s string) {
-       switch t {
-       case LLDPChassisIDSubTypeReserved:
-               s = "Reserved"
-       case LLDPChassisIDSubTypeChassisComp:
-               s = "Chassis Component"
-       case LLDPChassisIDSubtypeIfaceAlias:
-               s = "Interface Alias"
-       case LLDPChassisIDSubTypePortComp:
-               s = "Port Component"
-       case LLDPChassisIDSubTypeMACAddr:
-               s = "MAC Address"
-       case LLDPChassisIDSubTypeNetworkAddr:
-               s = "Network Address"
-       case LLDPChassisIDSubtypeIfaceName:
-               s = "Interface Name"
-       case LLDPChassisIDSubTypeLocal:
-               s = "Local"
-       default:
-               s = "Unknown"
-       }
-       return
-}
-
-func (t LLDPPortIDSubType) String() (s string) {
-       switch t {
-       case LLDPPortIDSubtypeReserved:
-               s = "Reserved"
-       case LLDPPortIDSubtypeIfaceAlias:
-               s = "Interface Alias"
-       case LLDPPortIDSubtypePortComp:
-               s = "Port Component"
-       case LLDPPortIDSubtypeMACAddr:
-               s = "MAC Address"
-       case LLDPPortIDSubtypeNetworkAddr:
-               s = "Network Address"
-       case LLDPPortIDSubtypeIfaceName:
-               s = "Interface Name"
-       case LLDPPortIDSubtypeAgentCircuitID:
-               s = "Agent Circuit ID"
-       case LLDPPortIDSubtypeLocal:
-               s = "Local"
-       default:
-               s = "Unknown"
-       }
-       return
-}
-
-func (t IANAAddressFamily) String() (s string) {
-       switch t {
-       case IANAAddressFamilyReserved:
-               s = "Reserved"
-       case IANAAddressFamilyIPV4:
-               s = "IPv4"
-       case IANAAddressFamilyIPV6:
-               s = "IPv6"
-       case IANAAddressFamilyNSAP:
-               s = "NSAP"
-       case IANAAddressFamilyHDLC:
-               s = "HDLC"
-       case IANAAddressFamilyBBN1822:
-               s = "BBN 1822"
-       case IANAAddressFamily802:
-               s = "802 media plus Ethernet 'canonical format'"
-       case IANAAddressFamilyE163:
-               s = "E.163"
-       case IANAAddressFamilyE164:
-               s = "E.164 (SMDS, Frame Relay, ATM)"
-       case IANAAddressFamilyF69:
-               s = "F.69 (Telex)"
-       case IANAAddressFamilyX121:
-               s = "X.121, X.25, Frame Relay"
-       case IANAAddressFamilyIPX:
-               s = "IPX"
-       case IANAAddressFamilyAtalk:
-               s = "Appletalk"
-       case IANAAddressFamilyDecnet:
-               s = "Decnet IV"
-       case IANAAddressFamilyBanyan:
-               s = "Banyan Vines"
-       case IANAAddressFamilyE164NSAP:
-               s = "E.164 with NSAP format subaddress"
-       case IANAAddressFamilyDNS:
-               s = "DNS"
-       case IANAAddressFamilyDistname:
-               s = "Distinguished Name"
-       case IANAAddressFamilyASNumber:
-               s = "AS Number"
-       case IANAAddressFamilyXTPIPV4:
-               s = "XTP over IP version 4"
-       case IANAAddressFamilyXTPIPV6:
-               s = "XTP over IP version 6"
-       case IANAAddressFamilyXTP:
-               s = "XTP native mode XTP"
-       case IANAAddressFamilyFcWWPN:
-               s = "Fibre Channel World-Wide Port Name"
-       case IANAAddressFamilyFcWWNN:
-               s = "Fibre Channel World-Wide Node Name"
-       case IANAAddressFamilyGWID:
-               s = "GWID"
-       case IANAAddressFamilyL2VPN:
-               s = "AFI for Layer 2 VPN"
-       default:
-               s = "Unknown"
-       }
-       return
-}
-
-func (t LLDPInterfaceSubtype) String() (s string) {
-       switch t {
-       case LLDPInterfaceSubtypeUnknown:
-               s = "Unknown"
-       case LLDPInterfaceSubtypeifIndex:
-               s = "IfIndex"
-       case LLDPInterfaceSubtypeSysPort:
-               s = "System Port Number"
-       default:
-               s = "Unknown"
-       }
-       return
-}
-
-func (t LLDPPowerType) String() (s string) {
-       switch t {
-       case 0:
-               s = "Type 2 PSE Device"
-       case 1:
-               s = "Type 2 PD Device"
-       case 2:
-               s = "Type 1 PSE Device"
-       case 3:
-               s = "Type 1 PD Device"
-       default:
-               s = "Unknown"
-       }
-       return
-}
-
-func (t LLDPPowerSource) String() (s string) {
-       switch t {
-       // PD Device
-       case 0:
-               s = "Unknown"
-       case 1:
-               s = "PSE"
-       case 2:
-               s = "Local"
-       case 3:
-               s = "PSE and Local"
-       // PSE Device  (Actual value  + 128)
-       case 128:
-               s = "Unknown"
-       case 129:
-               s = "Primary Power Source"
-       case 130:
-               s = "Backup Power Source"
-       default:
-               s = "Unknown"
-       }
-       return
-}
-
-func (t LLDPPowerPriority) String() (s string) {
-       switch t {
-       case 0:
-               s = "Unknown"
-       case 1:
-               s = "Critical"
-       case 2:
-               s = "High"
-       case 3:
-               s = "Low"
-       default:
-               s = "Unknown"
-       }
-       return
-}
-
-func (t LLDPMediaSubtype) String() (s string) {
-       switch t {
-       case LLDPMediaTypeCapabilities:
-               s = "Media Capabilities "
-       case LLDPMediaTypeNetwork:
-               s = "Network Policy"
-       case LLDPMediaTypeLocation:
-               s = "Location Identification"
-       case LLDPMediaTypePower:
-               s = "Extended Power-via-MDI"
-       case LLDPMediaTypeHardware:
-               s = "Hardware Revision"
-       case LLDPMediaTypeFirmware:
-               s = "Firmware Revision"
-       case LLDPMediaTypeSoftware:
-               s = "Software Revision"
-       case LLDPMediaTypeSerial:
-               s = "Serial Number"
-       case LLDPMediaTypeManufacturer:
-               s = "Manufacturer"
-       case LLDPMediaTypeModel:
-               s = "Model"
-       case LLDPMediaTypeAssetID:
-               s = "Asset ID"
-       default:
-               s = "Unknown"
-       }
-       return
-}
-
-func (t LLDPMediaClass) String() (s string) {
-       switch t {
-       case LLDPMediaClassUndefined:
-               s = "Undefined"
-       case LLDPMediaClassEndpointI:
-               s = "Endpoint Class I"
-       case LLDPMediaClassEndpointII:
-               s = "Endpoint Class II"
-       case LLDPMediaClassEndpointIII:
-               s = "Endpoint Class III"
-       case LLDPMediaClassNetwork:
-               s = "Network connectivity "
-       default:
-               s = "Unknown"
-       }
-       return
-}
-
-func (t LLDPApplicationType) String() (s string) {
-       switch t {
-       case LLDPAppTypeReserved:
-               s = "Reserved"
-       case LLDPAppTypeVoice:
-               s = "Voice"
-       case LLDPappTypeVoiceSignaling:
-               s = "Voice Signaling"
-       case LLDPappTypeGuestVoice:
-               s = "Guest Voice"
-       case LLDPappTypeGuestVoiceSignaling:
-               s = "Guest Voice Signaling"
-       case LLDPappTypeSoftphoneVoice:
-               s = "Softphone Voice"
-       case LLDPappTypeVideoConferencing:
-               s = "Video Conferencing"
-       case LLDPappTypeStreamingVideo:
-               s = "Streaming Video"
-       case LLDPappTypeVideoSignaling:
-               s = "Video Signaling"
-       default:
-               s = "Unknown"
-       }
-       return
-}
-
-func (t LLDPLocationFormat) String() (s string) {
-       switch t {
-       case LLDPLocationFormatInvalid:
-               s = "Invalid"
-       case LLDPLocationFormatCoordinate:
-               s = "Coordinate-based LCI"
-       case LLDPLocationFormatAddress:
-               s = "Address-based LCO"
-       case LLDPLocationFormatECS:
-               s = "ECS ELIN"
-       default:
-               s = "Unknown"
-       }
-       return
-}
-
-func (t LLDPLocationAddressType) String() (s string) {
-       switch t {
-       case LLDPLocationAddressTypeLanguage:
-               s = "Language"
-       case LLDPLocationAddressTypeNational:
-               s = "National subdivisions (province, state, etc)"
-       case LLDPLocationAddressTypeCounty:
-               s = "County, parish, district"
-       case LLDPLocationAddressTypeCity:
-               s = "City, township"
-       case LLDPLocationAddressTypeCityDivision:
-               s = "City division, borough, ward"
-       case LLDPLocationAddressTypeNeighborhood:
-               s = "Neighborhood, block"
-       case LLDPLocationAddressTypeStreet:
-               s = "Street"
-       case LLDPLocationAddressTypeLeadingStreet:
-               s = "Leading street direction"
-       case LLDPLocationAddressTypeTrailingStreet:
-               s = "Trailing street suffix"
-       case LLDPLocationAddressTypeStreetSuffix:
-               s = "Street suffix"
-       case LLDPLocationAddressTypeHouseNum:
-               s = "House number"
-       case LLDPLocationAddressTypeHouseSuffix:
-               s = "House number suffix"
-       case LLDPLocationAddressTypeLandmark:
-               s = "Landmark or vanity address"
-       case LLDPLocationAddressTypeAdditional:
-               s = "Additional location information"
-       case LLDPLocationAddressTypeName:
-               s = "Name"
-       case LLDPLocationAddressTypePostal:
-               s = "Postal/ZIP code"
-       case LLDPLocationAddressTypeBuilding:
-               s = "Building"
-       case LLDPLocationAddressTypeUnit:
-               s = "Unit"
-       case LLDPLocationAddressTypeFloor:
-               s = "Floor"
-       case LLDPLocationAddressTypeRoom:
-               s = "Room number"
-       case LLDPLocationAddressTypePlace:
-               s = "Place type"
-       case LLDPLocationAddressTypeScript:
-               s = "Script"
-       default:
-               s = "Unknown"
-       }
-       return
-}
-
-func checkLLDPTLVLen(v LinkLayerDiscoveryValue, l int) (err error) {
-       if len(v.Value) < l {
-               err = fmt.Errorf("Invalid TLV %v length %d (wanted mimimum %v", v.Type, len(v.Value), l)
-       }
-       return
-}
-
-func checkLLDPOrgSpecificLen(o LLDPOrgSpecificTLV, l int) (err error) {
-       if len(o.Info) < l {
-               err = fmt.Errorf("Invalid Org Specific TLV %v length %d (wanted minimum %v)", o.SubType, len(o.Info), l)
-       }
-       return
-}
diff --git a/vendor/github.com/google/gopacket/layers/loopback.go b/vendor/github.com/google/gopacket/layers/loopback.go
deleted file mode 100644 (file)
index 839f760..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "errors"
-       "fmt"
-
-       "github.com/google/gopacket"
-)
-
-// Loopback contains the header for loopback encapsulation.  This header is
-// used by both BSD and OpenBSD style loopback decoding (pcap's DLT_NULL
-// and DLT_LOOP, respectively).
-type Loopback struct {
-       BaseLayer
-       Family ProtocolFamily
-}
-
-// LayerType returns LayerTypeLoopback.
-func (l *Loopback) LayerType() gopacket.LayerType { return LayerTypeLoopback }
-
-// DecodeFromBytes decodes the given bytes into this layer.
-func (l *Loopback) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       if len(data) < 4 {
-               return errors.New("Loopback packet too small")
-       }
-
-       // The protocol could be either big-endian or little-endian, we're
-       // not sure.  But we're PRETTY sure that the value is less than
-       // 256, so we can check the first two bytes.
-       var prot uint32
-       if data[0] == 0 && data[1] == 0 {
-               prot = binary.BigEndian.Uint32(data[:4])
-       } else {
-               prot = binary.LittleEndian.Uint32(data[:4])
-       }
-       if prot > 0xFF {
-               return fmt.Errorf("Invalid loopback protocol %q", data[:4])
-       }
-
-       l.Family = ProtocolFamily(prot)
-       l.BaseLayer = BaseLayer{data[:4], data[4:]}
-       return nil
-}
-
-// CanDecode returns the set of layer types that this DecodingLayer can decode.
-func (l *Loopback) CanDecode() gopacket.LayerClass {
-       return LayerTypeLoopback
-}
-
-// NextLayerType returns the layer type contained by this DecodingLayer.
-func (l *Loopback) NextLayerType() gopacket.LayerType {
-       return l.Family.LayerType()
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-func (l *Loopback) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       bytes, err := b.PrependBytes(4)
-       if err != nil {
-               return err
-       }
-       binary.LittleEndian.PutUint32(bytes, uint32(l.Family))
-       return nil
-}
-
-func decodeLoopback(data []byte, p gopacket.PacketBuilder) error {
-       l := Loopback{}
-       if err := l.DecodeFromBytes(data, gopacket.NilDecodeFeedback); err != nil {
-               return err
-       }
-       p.AddLayer(&l)
-       return p.NextDecoder(l.Family)
-}
diff --git a/vendor/github.com/google/gopacket/layers/mpls.go b/vendor/github.com/google/gopacket/layers/mpls.go
deleted file mode 100644 (file)
index 83079a0..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "errors"
-       "github.com/google/gopacket"
-)
-
-// MPLS is the MPLS packet header.
-type MPLS struct {
-       BaseLayer
-       Label        uint32
-       TrafficClass uint8
-       StackBottom  bool
-       TTL          uint8
-}
-
-// LayerType returns gopacket.LayerTypeMPLS.
-func (m *MPLS) LayerType() gopacket.LayerType { return LayerTypeMPLS }
-
-// ProtocolGuessingDecoder attempts to guess the protocol of the bytes it's
-// given, then decode the packet accordingly.  Its algorithm for guessing is:
-//  If the packet starts with byte 0x45-0x4F: IPv4
-//  If the packet starts with byte 0x60-0x6F: IPv6
-//  Otherwise:  Error
-// See draft-hsmit-isis-aal5mux-00.txt for more detail on this approach.
-type ProtocolGuessingDecoder struct{}
-
-func (ProtocolGuessingDecoder) Decode(data []byte, p gopacket.PacketBuilder) error {
-       switch data[0] {
-       // 0x40 | header_len, where header_len is at least 5.
-       case 0x45, 0x46, 0x47, 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f:
-               return decodeIPv4(data, p)
-               // IPv6 can start with any byte whose first 4 bits are 0x6.
-       case 0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f:
-               return decodeIPv6(data, p)
-       }
-       return errors.New("Unable to guess protocol of packet data")
-}
-
-// MPLSPayloadDecoder is the decoder used to data encapsulated by each MPLS
-// layer.  MPLS contains no type information, so we have to explicitly decide
-// which decoder to use.  This is initially set to ProtocolGuessingDecoder, our
-// simple attempt at guessing protocols based on the first few bytes of data
-// available to us.  However, if you know that in your environment MPLS always
-// encapsulates a specific protocol, you may reset this.
-var MPLSPayloadDecoder gopacket.Decoder = ProtocolGuessingDecoder{}
-
-func decodeMPLS(data []byte, p gopacket.PacketBuilder) error {
-       decoded := binary.BigEndian.Uint32(data[:4])
-       mpls := &MPLS{
-               Label:        decoded >> 12,
-               TrafficClass: uint8(decoded>>9) & 0x7,
-               StackBottom:  decoded&0x100 != 0,
-               TTL:          uint8(decoded),
-               BaseLayer:    BaseLayer{data[:4], data[4:]},
-       }
-       p.AddLayer(mpls)
-       if mpls.StackBottom {
-               return p.NextDecoder(MPLSPayloadDecoder)
-       }
-       return p.NextDecoder(gopacket.DecodeFunc(decodeMPLS))
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-// See the docs for gopacket.SerializableLayer for more info.
-func (m *MPLS) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       bytes, err := b.PrependBytes(4)
-       if err != nil {
-               return err
-       }
-       encoded := m.Label << 12
-       encoded |= uint32(m.TrafficClass) << 9
-       encoded |= uint32(m.TTL)
-       if m.StackBottom {
-               encoded |= 0x100
-       }
-       binary.BigEndian.PutUint32(bytes, encoded)
-       return nil
-}
diff --git a/vendor/github.com/google/gopacket/layers/ndp.go b/vendor/github.com/google/gopacket/layers/ndp.go
deleted file mode 100644 (file)
index f7ca1b2..0000000
+++ /dev/null
@@ -1,611 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-// Enum types courtesy of...
-// http://anonsvn.wireshark.org/wireshark/trunk/epan/dissectors/packet-ndp.c
-
-package layers
-
-import (
-       "fmt"
-       "github.com/google/gopacket"
-       "net"
-)
-
-type NDPChassisType uint8
-
-// Nortel Chassis Types
-const (
-       NDPChassisother                                       NDPChassisType = 1
-       NDPChassis3000                                        NDPChassisType = 2
-       NDPChassis3030                                        NDPChassisType = 3
-       NDPChassis2310                                        NDPChassisType = 4
-       NDPChassis2810                                        NDPChassisType = 5
-       NDPChassis2912                                        NDPChassisType = 6
-       NDPChassis2914                                        NDPChassisType = 7
-       NDPChassis271x                                        NDPChassisType = 8
-       NDPChassis2813                                        NDPChassisType = 9
-       NDPChassis2814                                        NDPChassisType = 10
-       NDPChassis2915                                        NDPChassisType = 11
-       NDPChassis5000                                        NDPChassisType = 12
-       NDPChassis2813SA                                      NDPChassisType = 13
-       NDPChassis2814SA                                      NDPChassisType = 14
-       NDPChassis810M                                        NDPChassisType = 15
-       NDPChassisEthercell                                   NDPChassisType = 16
-       NDPChassis5005                                        NDPChassisType = 17
-       NDPChassisAlcatelEWC                                  NDPChassisType = 18
-       NDPChassis2715SA                                      NDPChassisType = 20
-       NDPChassis2486                                        NDPChassisType = 21
-       NDPChassis28000series                                 NDPChassisType = 22
-       NDPChassis23000series                                 NDPChassisType = 23
-       NDPChassis5DN00xseries                                NDPChassisType = 24
-       NDPChassisBayStackEthernet                            NDPChassisType = 25
-       NDPChassis23100series                                 NDPChassisType = 26
-       NDPChassis100BaseTHub                                 NDPChassisType = 27
-       NDPChassis3000FastEthernet                            NDPChassisType = 28
-       NDPChassisOrionSwitch                                 NDPChassisType = 29
-       NDPChassisDDS                                         NDPChassisType = 31
-       NDPChassisCentillion6slot                             NDPChassisType = 32
-       NDPChassisCentillion12slot                            NDPChassisType = 33
-       NDPChassisCentillion1slot                             NDPChassisType = 34
-       NDPChassisBayStack301                                 NDPChassisType = 35
-       NDPChassisBayStackTokenRingHub                        NDPChassisType = 36
-       NDPChassisFVCMultimediaSwitch                         NDPChassisType = 37
-       NDPChassisSwitchNode                                  NDPChassisType = 38
-       NDPChassisBayStack302Switch                           NDPChassisType = 39
-       NDPChassisBayStack350Switch                           NDPChassisType = 40
-       NDPChassisBayStack150EthernetHub                      NDPChassisType = 41
-       NDPChassisCentillion50NSwitch                         NDPChassisType = 42
-       NDPChassisCentillion50TSwitch                         NDPChassisType = 43
-       NDPChassisBayStack303304Switches                      NDPChassisType = 44
-       NDPChassisBayStack200EthernetHub                      NDPChassisType = 45
-       NDPChassisBayStack25010100EthernetHub                 NDPChassisType = 46
-       NDPChassisBayStack450101001000Switches                NDPChassisType = 48
-       NDPChassisBayStack41010100Switches                    NDPChassisType = 49
-       NDPChassisPassport1200L3Switch                        NDPChassisType = 50
-       NDPChassisPassport1250L3Switch                        NDPChassisType = 51
-       NDPChassisPassport1100L3Switch                        NDPChassisType = 52
-       NDPChassisPassport1150L3Switch                        NDPChassisType = 53
-       NDPChassisPassport1050L3Switch                        NDPChassisType = 54
-       NDPChassisPassport1051L3Switch                        NDPChassisType = 55
-       NDPChassisPassport8610L3Switch                        NDPChassisType = 56
-       NDPChassisPassport8606L3Switch                        NDPChassisType = 57
-       NDPChassisPassport8010                                NDPChassisType = 58
-       NDPChassisPassport8006                                NDPChassisType = 59
-       NDPChassisBayStack670wirelessaccesspoint              NDPChassisType = 60
-       NDPChassisPassport740                                 NDPChassisType = 61
-       NDPChassisPassport750                                 NDPChassisType = 62
-       NDPChassisPassport790                                 NDPChassisType = 63
-       NDPChassisBusinessPolicySwitch200010100Switches       NDPChassisType = 64
-       NDPChassisPassport8110L2Switch                        NDPChassisType = 65
-       NDPChassisPassport8106L2Switch                        NDPChassisType = 66
-       NDPChassisBayStack3580GigSwitch                       NDPChassisType = 67
-       NDPChassisBayStack10PowerSupplyUnit                   NDPChassisType = 68
-       NDPChassisBayStack42010100Switch                      NDPChassisType = 69
-       NDPChassisOPTeraMetro1200EthernetServiceModule        NDPChassisType = 70
-       NDPChassisOPTera8010co                                NDPChassisType = 71
-       NDPChassisOPTera8610coL3Switch                        NDPChassisType = 72
-       NDPChassisOPTera8110coL2Switch                        NDPChassisType = 73
-       NDPChassisOPTera8003                                  NDPChassisType = 74
-       NDPChassisOPTera8603L3Switch                          NDPChassisType = 75
-       NDPChassisOPTera8103L2Switch                          NDPChassisType = 76
-       NDPChassisBayStack380101001000Switch                  NDPChassisType = 77
-       NDPChassisEthernetSwitch47048T                        NDPChassisType = 78
-       NDPChassisOPTeraMetro1450EthernetServiceModule        NDPChassisType = 79
-       NDPChassisOPTeraMetro1400EthernetServiceModule        NDPChassisType = 80
-       NDPChassisAlteonSwitchFamily                          NDPChassisType = 81
-       NDPChassisEthernetSwitch46024TPWR                     NDPChassisType = 82
-       NDPChassisOPTeraMetro8010OPML2Switch                  NDPChassisType = 83
-       NDPChassisOPTeraMetro8010coOPML2Switch                NDPChassisType = 84
-       NDPChassisOPTeraMetro8006OPML2Switch                  NDPChassisType = 85
-       NDPChassisOPTeraMetro8003OPML2Switch                  NDPChassisType = 86
-       NDPChassisAlteon180e                                  NDPChassisType = 87
-       NDPChassisAlteonAD3                                   NDPChassisType = 88
-       NDPChassisAlteon184                                   NDPChassisType = 89
-       NDPChassisAlteonAD4                                   NDPChassisType = 90
-       NDPChassisPassport1424L3Switch                        NDPChassisType = 91
-       NDPChassisPassport1648L3Switch                        NDPChassisType = 92
-       NDPChassisPassport1612L3Switch                        NDPChassisType = 93
-       NDPChassisPassport1624L3Switch                        NDPChassisType = 94
-       NDPChassisBayStack38024FFiber1000Switch               NDPChassisType = 95
-       NDPChassisEthernetRoutingSwitch551024T                NDPChassisType = 96
-       NDPChassisEthernetRoutingSwitch551048T                NDPChassisType = 97
-       NDPChassisEthernetSwitch47024T                        NDPChassisType = 98
-       NDPChassisNortelNetworksWirelessLANAccessPoint2220    NDPChassisType = 99
-       NDPChassisPassportRBS2402L3Switch                     NDPChassisType = 100
-       NDPChassisAlteonApplicationSwitch2424                 NDPChassisType = 101
-       NDPChassisAlteonApplicationSwitch2224                 NDPChassisType = 102
-       NDPChassisAlteonApplicationSwitch2208                 NDPChassisType = 103
-       NDPChassisAlteonApplicationSwitch2216                 NDPChassisType = 104
-       NDPChassisAlteonApplicationSwitch3408                 NDPChassisType = 105
-       NDPChassisAlteonApplicationSwitch3416                 NDPChassisType = 106
-       NDPChassisNortelNetworksWirelessLANSecuritySwitch2250 NDPChassisType = 107
-       NDPChassisEthernetSwitch42548T                        NDPChassisType = 108
-       NDPChassisEthernetSwitch42524T                        NDPChassisType = 109
-       NDPChassisNortelNetworksWirelessLANAccessPoint2221    NDPChassisType = 110
-       NDPChassisNortelMetroEthernetServiceUnit24TSPFswitch  NDPChassisType = 111
-       NDPChassisNortelMetroEthernetServiceUnit24TLXDCswitch NDPChassisType = 112
-       NDPChassisPassport830010slotchassis                   NDPChassisType = 113
-       NDPChassisPassport83006slotchassis                    NDPChassisType = 114
-       NDPChassisEthernetRoutingSwitch552024TPWR             NDPChassisType = 115
-       NDPChassisEthernetRoutingSwitch552048TPWR             NDPChassisType = 116
-       NDPChassisNortelNetworksVPNGateway3050                NDPChassisType = 117
-       NDPChassisAlteonSSL31010100                           NDPChassisType = 118
-       NDPChassisAlteonSSL31010100Fiber                      NDPChassisType = 119
-       NDPChassisAlteonSSL31010100FIPS                       NDPChassisType = 120
-       NDPChassisAlteonSSL410101001000                       NDPChassisType = 121
-       NDPChassisAlteonSSL410101001000Fiber                  NDPChassisType = 122
-       NDPChassisAlteonApplicationSwitch2424SSL              NDPChassisType = 123
-       NDPChassisEthernetSwitch32524T                        NDPChassisType = 124
-       NDPChassisEthernetSwitch32524G                        NDPChassisType = 125
-       NDPChassisNortelNetworksWirelessLANAccessPoint2225    NDPChassisType = 126
-       NDPChassisNortelNetworksWirelessLANSecuritySwitch2270 NDPChassisType = 127
-       NDPChassis24portEthernetSwitch47024TPWR               NDPChassisType = 128
-       NDPChassis48portEthernetSwitch47048TPWR               NDPChassisType = 129
-       NDPChassisEthernetRoutingSwitch553024TFD              NDPChassisType = 130
-       NDPChassisEthernetSwitch351024T                       NDPChassisType = 131
-       NDPChassisNortelMetroEthernetServiceUnit12GACL3Switch NDPChassisType = 132
-       NDPChassisNortelMetroEthernetServiceUnit12GDCL3Switch NDPChassisType = 133
-       NDPChassisNortelSecureAccessSwitch                    NDPChassisType = 134
-       NDPChassisNortelNetworksVPNGateway3070                NDPChassisType = 135
-       NDPChassisOPTeraMetro3500                             NDPChassisType = 136
-       NDPChassisSMBBES101024T                               NDPChassisType = 137
-       NDPChassisSMBBES101048T                               NDPChassisType = 138
-       NDPChassisSMBBES102024TPWR                            NDPChassisType = 139
-       NDPChassisSMBBES102048TPWR                            NDPChassisType = 140
-       NDPChassisSMBBES201024T                               NDPChassisType = 141
-       NDPChassisSMBBES201048T                               NDPChassisType = 142
-       NDPChassisSMBBES202024TPWR                            NDPChassisType = 143
-       NDPChassisSMBBES202048TPWR                            NDPChassisType = 144
-       NDPChassisSMBBES11024T                                NDPChassisType = 145
-       NDPChassisSMBBES11048T                                NDPChassisType = 146
-       NDPChassisSMBBES12024TPWR                             NDPChassisType = 147
-       NDPChassisSMBBES12048TPWR                             NDPChassisType = 148
-       NDPChassisSMBBES21024T                                NDPChassisType = 149
-       NDPChassisSMBBES21048T                                NDPChassisType = 150
-       NDPChassisSMBBES22024TPWR                             NDPChassisType = 151
-       NDPChassisSMBBES22048TPWR                             NDPChassisType = 152
-       NDPChassisOME6500                                     NDPChassisType = 153
-       NDPChassisEthernetRoutingSwitch4548GT                 NDPChassisType = 154
-       NDPChassisEthernetRoutingSwitch4548GTPWR              NDPChassisType = 155
-       NDPChassisEthernetRoutingSwitch4550T                  NDPChassisType = 156
-       NDPChassisEthernetRoutingSwitch4550TPWR               NDPChassisType = 157
-       NDPChassisEthernetRoutingSwitch4526FX                 NDPChassisType = 158
-       NDPChassisEthernetRoutingSwitch250026T                NDPChassisType = 159
-       NDPChassisEthernetRoutingSwitch250026TPWR             NDPChassisType = 160
-       NDPChassisEthernetRoutingSwitch250050T                NDPChassisType = 161
-       NDPChassisEthernetRoutingSwitch250050TPWR             NDPChassisType = 162
-)
-
-type NDPBackplaneType uint8
-
-// Nortel Backplane Types
-const (
-       NDPBackplaneOther                                       NDPBackplaneType = 1
-       NDPBackplaneEthernet                                    NDPBackplaneType = 2
-       NDPBackplaneEthernetTokenring                           NDPBackplaneType = 3
-       NDPBackplaneEthernetFDDI                                NDPBackplaneType = 4
-       NDPBackplaneEthernetTokenringFDDI                       NDPBackplaneType = 5
-       NDPBackplaneEthernetTokenringRedundantPower             NDPBackplaneType = 6
-       NDPBackplaneEthernetTokenringFDDIRedundantPower         NDPBackplaneType = 7
-       NDPBackplaneTokenRing                                   NDPBackplaneType = 8
-       NDPBackplaneEthernetTokenringFastEthernet               NDPBackplaneType = 9
-       NDPBackplaneEthernetFastEthernet                        NDPBackplaneType = 10
-       NDPBackplaneEthernetTokenringFastEthernetRedundantPower NDPBackplaneType = 11
-       NDPBackplaneEthernetFastEthernetGigabitEthernet         NDPBackplaneType = 12
-)
-
-type NDPState uint8
-
-// Device State
-const (
-       NDPStateTopology  NDPState = 1
-       NDPStateHeartbeat NDPState = 2
-       NDPStateNew       NDPState = 3
-)
-
-// NortelDiscovery is a packet layer containing the Nortel Discovery Protocol.
-type NortelDiscovery struct {
-       BaseLayer
-       IPAddress net.IP
-       SegmentID []byte
-       Chassis   NDPChassisType
-       Backplane NDPBackplaneType
-       State     NDPState
-       NumLinks  uint8
-}
-
-// LayerType returns gopacket.LayerTypeNortelDiscovery.
-func (c *NortelDiscovery) LayerType() gopacket.LayerType {
-       return LayerTypeNortelDiscovery
-}
-
-func decodeNortelDiscovery(data []byte, p gopacket.PacketBuilder) error {
-       c := &NortelDiscovery{}
-       if len(data) < 11 {
-               return fmt.Errorf("Invalid NortelDiscovery packet length %d", len(data))
-       }
-       c.IPAddress = data[0:4]
-       c.SegmentID = data[4:7]
-       c.Chassis = NDPChassisType(data[7])
-       c.Backplane = NDPBackplaneType(data[8])
-       c.State = NDPState(data[9])
-       c.NumLinks = uint8(data[10])
-       p.AddLayer(c)
-       return nil
-}
-
-func (t NDPChassisType) String() (s string) {
-       switch t {
-       case NDPChassisother:
-               s = "other"
-       case NDPChassis3000:
-               s = "3000"
-       case NDPChassis3030:
-               s = "3030"
-       case NDPChassis2310:
-               s = "2310"
-       case NDPChassis2810:
-               s = "2810"
-       case NDPChassis2912:
-               s = "2912"
-       case NDPChassis2914:
-               s = "2914"
-       case NDPChassis271x:
-               s = "271x"
-       case NDPChassis2813:
-               s = "2813"
-       case NDPChassis2814:
-               s = "2814"
-       case NDPChassis2915:
-               s = "2915"
-       case NDPChassis5000:
-               s = "5000"
-       case NDPChassis2813SA:
-               s = "2813SA"
-       case NDPChassis2814SA:
-               s = "2814SA"
-       case NDPChassis810M:
-               s = "810M"
-       case NDPChassisEthercell:
-               s = "Ethercell"
-       case NDPChassis5005:
-               s = "5005"
-       case NDPChassisAlcatelEWC:
-               s = "Alcatel Ethernet workgroup conc."
-       case NDPChassis2715SA:
-               s = "2715SA"
-       case NDPChassis2486:
-               s = "2486"
-       case NDPChassis28000series:
-               s = "28000 series"
-       case NDPChassis23000series:
-               s = "23000 series"
-       case NDPChassis5DN00xseries:
-               s = "5DN00x series"
-       case NDPChassisBayStackEthernet:
-               s = "BayStack Ethernet"
-       case NDPChassis23100series:
-               s = "23100 series"
-       case NDPChassis100BaseTHub:
-               s = "100Base-T Hub"
-       case NDPChassis3000FastEthernet:
-               s = "3000 Fast Ethernet"
-       case NDPChassisOrionSwitch:
-               s = "Orion switch"
-       case NDPChassisDDS:
-               s = "DDS"
-       case NDPChassisCentillion6slot:
-               s = "Centillion (6 slot)"
-       case NDPChassisCentillion12slot:
-               s = "Centillion (12 slot)"
-       case NDPChassisCentillion1slot:
-               s = "Centillion (1 slot)"
-       case NDPChassisBayStack301:
-               s = "BayStack 301"
-       case NDPChassisBayStackTokenRingHub:
-               s = "BayStack TokenRing Hub"
-       case NDPChassisFVCMultimediaSwitch:
-               s = "FVC Multimedia Switch"
-       case NDPChassisSwitchNode:
-               s = "Switch Node"
-       case NDPChassisBayStack302Switch:
-               s = "BayStack 302 Switch"
-       case NDPChassisBayStack350Switch:
-               s = "BayStack 350 Switch"
-       case NDPChassisBayStack150EthernetHub:
-               s = "BayStack 150 Ethernet Hub"
-       case NDPChassisCentillion50NSwitch:
-               s = "Centillion 50N switch"
-       case NDPChassisCentillion50TSwitch:
-               s = "Centillion 50T switch"
-       case NDPChassisBayStack303304Switches:
-               s = "BayStack 303 and 304 Switches"
-       case NDPChassisBayStack200EthernetHub:
-               s = "BayStack 200 Ethernet Hub"
-       case NDPChassisBayStack25010100EthernetHub:
-               s = "BayStack 250 10/100 Ethernet Hub"
-       case NDPChassisBayStack450101001000Switches:
-               s = "BayStack 450 10/100/1000 Switches"
-       case NDPChassisBayStack41010100Switches:
-               s = "BayStack 410 10/100 Switches"
-       case NDPChassisPassport1200L3Switch:
-               s = "Passport 1200 L3 Switch"
-       case NDPChassisPassport1250L3Switch:
-               s = "Passport 1250 L3 Switch"
-       case NDPChassisPassport1100L3Switch:
-               s = "Passport 1100 L3 Switch"
-       case NDPChassisPassport1150L3Switch:
-               s = "Passport 1150 L3 Switch"
-       case NDPChassisPassport1050L3Switch:
-               s = "Passport 1050 L3 Switch"
-       case NDPChassisPassport1051L3Switch:
-               s = "Passport 1051 L3 Switch"
-       case NDPChassisPassport8610L3Switch:
-               s = "Passport 8610 L3 Switch"
-       case NDPChassisPassport8606L3Switch:
-               s = "Passport 8606 L3 Switch"
-       case NDPChassisPassport8010:
-               s = "Passport 8010"
-       case NDPChassisPassport8006:
-               s = "Passport 8006"
-       case NDPChassisBayStack670wirelessaccesspoint:
-               s = "BayStack 670 wireless access point"
-       case NDPChassisPassport740:
-               s = "Passport 740"
-       case NDPChassisPassport750:
-               s = "Passport 750"
-       case NDPChassisPassport790:
-               s = "Passport 790"
-       case NDPChassisBusinessPolicySwitch200010100Switches:
-               s = "Business Policy Switch 2000 10/100 Switches"
-       case NDPChassisPassport8110L2Switch:
-               s = "Passport 8110 L2 Switch"
-       case NDPChassisPassport8106L2Switch:
-               s = "Passport 8106 L2 Switch"
-       case NDPChassisBayStack3580GigSwitch:
-               s = "BayStack 3580 Gig Switch"
-       case NDPChassisBayStack10PowerSupplyUnit:
-               s = "BayStack 10 Power Supply Unit"
-       case NDPChassisBayStack42010100Switch:
-               s = "BayStack 420 10/100 Switch"
-       case NDPChassisOPTeraMetro1200EthernetServiceModule:
-               s = "OPTera Metro 1200 Ethernet Service Module"
-       case NDPChassisOPTera8010co:
-               s = "OPTera 8010co"
-       case NDPChassisOPTera8610coL3Switch:
-               s = "OPTera 8610co L3 switch"
-       case NDPChassisOPTera8110coL2Switch:
-               s = "OPTera 8110co L2 switch"
-       case NDPChassisOPTera8003:
-               s = "OPTera 8003"
-       case NDPChassisOPTera8603L3Switch:
-               s = "OPTera 8603 L3 switch"
-       case NDPChassisOPTera8103L2Switch:
-               s = "OPTera 8103 L2 switch"
-       case NDPChassisBayStack380101001000Switch:
-               s = "BayStack 380 10/100/1000 Switch"
-       case NDPChassisEthernetSwitch47048T:
-               s = "Ethernet Switch 470-48T"
-       case NDPChassisOPTeraMetro1450EthernetServiceModule:
-               s = "OPTera Metro 1450 Ethernet Service Module"
-       case NDPChassisOPTeraMetro1400EthernetServiceModule:
-               s = "OPTera Metro 1400 Ethernet Service Module"
-       case NDPChassisAlteonSwitchFamily:
-               s = "Alteon Switch Family"
-       case NDPChassisEthernetSwitch46024TPWR:
-               s = "Ethernet Switch 460-24T-PWR"
-       case NDPChassisOPTeraMetro8010OPML2Switch:
-               s = "OPTera Metro 8010 OPM L2 Switch"
-       case NDPChassisOPTeraMetro8010coOPML2Switch:
-               s = "OPTera Metro 8010co OPM L2 Switch"
-       case NDPChassisOPTeraMetro8006OPML2Switch:
-               s = "OPTera Metro 8006 OPM L2 Switch"
-       case NDPChassisOPTeraMetro8003OPML2Switch:
-               s = "OPTera Metro 8003 OPM L2 Switch"
-       case NDPChassisAlteon180e:
-               s = "Alteon 180e"
-       case NDPChassisAlteonAD3:
-               s = "Alteon AD3"
-       case NDPChassisAlteon184:
-               s = "Alteon 184"
-       case NDPChassisAlteonAD4:
-               s = "Alteon AD4"
-       case NDPChassisPassport1424L3Switch:
-               s = "Passport 1424 L3 switch"
-       case NDPChassisPassport1648L3Switch:
-               s = "Passport 1648 L3 switch"
-       case NDPChassisPassport1612L3Switch:
-               s = "Passport 1612 L3 switch"
-       case NDPChassisPassport1624L3Switch:
-               s = "Passport 1624 L3 switch"
-       case NDPChassisBayStack38024FFiber1000Switch:
-               s = "BayStack 380-24F Fiber 1000 Switch"
-       case NDPChassisEthernetRoutingSwitch551024T:
-               s = "Ethernet Routing Switch 5510-24T"
-       case NDPChassisEthernetRoutingSwitch551048T:
-               s = "Ethernet Routing Switch 5510-48T"
-       case NDPChassisEthernetSwitch47024T:
-               s = "Ethernet Switch 470-24T"
-       case NDPChassisNortelNetworksWirelessLANAccessPoint2220:
-               s = "Nortel Networks Wireless LAN Access Point 2220"
-       case NDPChassisPassportRBS2402L3Switch:
-               s = "Passport RBS 2402 L3 switch"
-       case NDPChassisAlteonApplicationSwitch2424:
-               s = "Alteon Application Switch 2424"
-       case NDPChassisAlteonApplicationSwitch2224:
-               s = "Alteon Application Switch 2224"
-       case NDPChassisAlteonApplicationSwitch2208:
-               s = "Alteon Application Switch 2208"
-       case NDPChassisAlteonApplicationSwitch2216:
-               s = "Alteon Application Switch 2216"
-       case NDPChassisAlteonApplicationSwitch3408:
-               s = "Alteon Application Switch 3408"
-       case NDPChassisAlteonApplicationSwitch3416:
-               s = "Alteon Application Switch 3416"
-       case NDPChassisNortelNetworksWirelessLANSecuritySwitch2250:
-               s = "Nortel Networks Wireless LAN SecuritySwitch 2250"
-       case NDPChassisEthernetSwitch42548T:
-               s = "Ethernet Switch 425-48T"
-       case NDPChassisEthernetSwitch42524T:
-               s = "Ethernet Switch 425-24T"
-       case NDPChassisNortelNetworksWirelessLANAccessPoint2221:
-               s = "Nortel Networks Wireless LAN Access Point 2221"
-       case NDPChassisNortelMetroEthernetServiceUnit24TSPFswitch:
-               s = "Nortel Metro Ethernet Service Unit 24-T SPF switch"
-       case NDPChassisNortelMetroEthernetServiceUnit24TLXDCswitch:
-               s = " Nortel Metro Ethernet Service Unit 24-T LX DC switch"
-       case NDPChassisPassport830010slotchassis:
-               s = "Passport 8300 10-slot chassis"
-       case NDPChassisPassport83006slotchassis:
-               s = "Passport 8300 6-slot chassis"
-       case NDPChassisEthernetRoutingSwitch552024TPWR:
-               s = "Ethernet Routing Switch 5520-24T-PWR"
-       case NDPChassisEthernetRoutingSwitch552048TPWR:
-               s = "Ethernet Routing Switch 5520-48T-PWR"
-       case NDPChassisNortelNetworksVPNGateway3050:
-               s = "Nortel Networks VPN Gateway 3050"
-       case NDPChassisAlteonSSL31010100:
-               s = "Alteon SSL 310 10/100"
-       case NDPChassisAlteonSSL31010100Fiber:
-               s = "Alteon SSL 310 10/100 Fiber"
-       case NDPChassisAlteonSSL31010100FIPS:
-               s = "Alteon SSL 310 10/100 FIPS"
-       case NDPChassisAlteonSSL410101001000:
-               s = "Alteon SSL 410 10/100/1000"
-       case NDPChassisAlteonSSL410101001000Fiber:
-               s = "Alteon SSL 410 10/100/1000 Fiber"
-       case NDPChassisAlteonApplicationSwitch2424SSL:
-               s = "Alteon Application Switch 2424-SSL"
-       case NDPChassisEthernetSwitch32524T:
-               s = "Ethernet Switch 325-24T"
-       case NDPChassisEthernetSwitch32524G:
-               s = "Ethernet Switch 325-24G"
-       case NDPChassisNortelNetworksWirelessLANAccessPoint2225:
-               s = "Nortel Networks Wireless LAN Access Point 2225"
-       case NDPChassisNortelNetworksWirelessLANSecuritySwitch2270:
-               s = "Nortel Networks Wireless LAN SecuritySwitch 2270"
-       case NDPChassis24portEthernetSwitch47024TPWR:
-               s = "24-port Ethernet Switch 470-24T-PWR"
-       case NDPChassis48portEthernetSwitch47048TPWR:
-               s = "48-port Ethernet Switch 470-48T-PWR"
-       case NDPChassisEthernetRoutingSwitch553024TFD:
-               s = "Ethernet Routing Switch 5530-24TFD"
-       case NDPChassisEthernetSwitch351024T:
-               s = "Ethernet Switch 3510-24T"
-       case NDPChassisNortelMetroEthernetServiceUnit12GACL3Switch:
-               s = "Nortel Metro Ethernet Service Unit 12G AC L3 switch"
-       case NDPChassisNortelMetroEthernetServiceUnit12GDCL3Switch:
-               s = "Nortel Metro Ethernet Service Unit 12G DC L3 switch"
-       case NDPChassisNortelSecureAccessSwitch:
-               s = "Nortel Secure Access Switch"
-       case NDPChassisNortelNetworksVPNGateway3070:
-               s = "Nortel Networks VPN Gateway 3070"
-       case NDPChassisOPTeraMetro3500:
-               s = "OPTera Metro 3500"
-       case NDPChassisSMBBES101024T:
-               s = "SMB BES 1010 24T"
-       case NDPChassisSMBBES101048T:
-               s = "SMB BES 1010 48T"
-       case NDPChassisSMBBES102024TPWR:
-               s = "SMB BES 1020 24T PWR"
-       case NDPChassisSMBBES102048TPWR:
-               s = "SMB BES 1020 48T PWR"
-       case NDPChassisSMBBES201024T:
-               s = "SMB BES 2010 24T"
-       case NDPChassisSMBBES201048T:
-               s = "SMB BES 2010 48T"
-       case NDPChassisSMBBES202024TPWR:
-               s = "SMB BES 2020 24T PWR"
-       case NDPChassisSMBBES202048TPWR:
-               s = "SMB BES 2020 48T PWR"
-       case NDPChassisSMBBES11024T:
-               s = "SMB BES 110 24T"
-       case NDPChassisSMBBES11048T:
-               s = "SMB BES 110 48T"
-       case NDPChassisSMBBES12024TPWR:
-               s = "SMB BES 120 24T PWR"
-       case NDPChassisSMBBES12048TPWR:
-               s = "SMB BES 120 48T PWR"
-       case NDPChassisSMBBES21024T:
-               s = "SMB BES 210 24T"
-       case NDPChassisSMBBES21048T:
-               s = "SMB BES 210 48T"
-       case NDPChassisSMBBES22024TPWR:
-               s = "SMB BES 220 24T PWR"
-       case NDPChassisSMBBES22048TPWR:
-               s = "SMB BES 220 48T PWR"
-       case NDPChassisOME6500:
-               s = "OME 6500"
-       case NDPChassisEthernetRoutingSwitch4548GT:
-               s = "Ethernet Routing Switch 4548GT"
-       case NDPChassisEthernetRoutingSwitch4548GTPWR:
-               s = "Ethernet Routing Switch 4548GT-PWR"
-       case NDPChassisEthernetRoutingSwitch4550T:
-               s = "Ethernet Routing Switch 4550T"
-       case NDPChassisEthernetRoutingSwitch4550TPWR:
-               s = "Ethernet Routing Switch 4550T-PWR"
-       case NDPChassisEthernetRoutingSwitch4526FX:
-               s = "Ethernet Routing Switch 4526FX"
-       case NDPChassisEthernetRoutingSwitch250026T:
-               s = "Ethernet Routing Switch 2500-26T"
-       case NDPChassisEthernetRoutingSwitch250026TPWR:
-               s = "Ethernet Routing Switch 2500-26T-PWR"
-       case NDPChassisEthernetRoutingSwitch250050T:
-               s = "Ethernet Routing Switch 2500-50T"
-       case NDPChassisEthernetRoutingSwitch250050TPWR:
-               s = "Ethernet Routing Switch 2500-50T-PWR"
-       default:
-               s = "Unknown"
-       }
-       return
-}
-
-func (t NDPBackplaneType) String() (s string) {
-       switch t {
-       case NDPBackplaneOther:
-               s = "Other"
-       case NDPBackplaneEthernet:
-               s = "Ethernet"
-       case NDPBackplaneEthernetTokenring:
-               s = "Ethernet and Tokenring"
-       case NDPBackplaneEthernetFDDI:
-               s = "Ethernet and FDDI"
-       case NDPBackplaneEthernetTokenringFDDI:
-               s = "Ethernet, Tokenring and FDDI"
-       case NDPBackplaneEthernetTokenringRedundantPower:
-               s = "Ethernet and Tokenring with redundant power"
-       case NDPBackplaneEthernetTokenringFDDIRedundantPower:
-               s = "Ethernet, Tokenring, FDDI with redundant power"
-       case NDPBackplaneTokenRing:
-               s = "Token Ring"
-       case NDPBackplaneEthernetTokenringFastEthernet:
-               s = "Ethernet, Tokenring and Fast Ethernet"
-       case NDPBackplaneEthernetFastEthernet:
-               s = "Ethernet and Fast Ethernet"
-       case NDPBackplaneEthernetTokenringFastEthernetRedundantPower:
-               s = "Ethernet, Tokenring, Fast Ethernet with redundant power"
-       case NDPBackplaneEthernetFastEthernetGigabitEthernet:
-               s = "Ethernet, Fast Ethernet and Gigabit Ethernet"
-       default:
-               s = "Unknown"
-       }
-       return
-}
-
-func (t NDPState) String() (s string) {
-       switch t {
-       case NDPStateTopology:
-               s = "Topology Change"
-       case NDPStateHeartbeat:
-               s = "Heartbeat"
-       case NDPStateNew:
-               s = "New"
-       default:
-               s = "Unknown"
-       }
-       return
-}
diff --git a/vendor/github.com/google/gopacket/layers/ntp.go b/vendor/github.com/google/gopacket/layers/ntp.go
deleted file mode 100644 (file)
index 33c15b3..0000000
+++ /dev/null
@@ -1,416 +0,0 @@
-// Copyright 2016 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-//
-//******************************************************************************
-
-package layers
-
-import (
-       "encoding/binary"
-       "errors"
-
-       "github.com/google/gopacket"
-)
-
-//******************************************************************************
-//
-// Network Time Protocol (NTP) Decoding Layer
-// ------------------------------------------
-// This file provides a GoPacket decoding layer for NTP.
-//
-//******************************************************************************
-//
-// About The Network Time Protocol (NTP)
-// -------------------------------------
-// NTP is a protocol that enables computers on the internet to set their
-// clocks to the correct time (or to a time that is acceptably close to the
-// correct time). NTP runs on top of UDP.
-//
-// There have been a series of versions of the NTP protocol. The latest
-// version is V4 and is specified in RFC 5905:
-//     http://www.ietf.org/rfc/rfc5905.txt
-//
-//******************************************************************************
-//
-// References
-// ----------
-//
-// Wikipedia's NTP entry:
-//     https://en.wikipedia.org/wiki/Network_Time_Protocol
-//     This is the best place to get an overview of NTP.
-//
-// Network Time Protocol Home Website:
-//     http://www.ntp.org/
-//     This appears to be the official website of NTP.
-//
-// List of current NTP Protocol RFCs:
-//     http://www.ntp.org/rfc.html
-//
-// RFC 958: "Network Time Protocol (NTP)" (1985)
-//     https://tools.ietf.org/html/rfc958
-//     This is the original NTP specification.
-//
-// RFC 1305: "Network Time Protocol (Version 3) Specification, Implementation and Analysis" (1992)
-//     https://tools.ietf.org/html/rfc1305
-//     The protocol was updated in 1992 yielding NTP V3.
-//
-// RFC 5905: "Network Time Protocol Version 4: Protocol and Algorithms Specification" (2010)
-//     https://www.ietf.org/rfc/rfc5905.txt
-//     The protocol was updated in 2010 yielding NTP V4.
-//     V4 is backwards compatible with all previous versions of NTP.
-//
-// RFC 5906: "Network Time Protocol Version 4: Autokey Specification"
-//     https://tools.ietf.org/html/rfc5906
-//     This document addresses the security of the NTP protocol
-//     and is probably not relevant to this package.
-//
-// RFC 5907: "Definitions of Managed Objects for Network Time Protocol Version 4 (NTPv4)"
-//     https://tools.ietf.org/html/rfc5907
-//     This document addresses the management of NTP servers and
-//     is probably not relevant to this package.
-//
-// RFC 5908: "Network Time Protocol (NTP) Server Option for DHCPv6"
-//     https://tools.ietf.org/html/rfc5908
-//     This document addresses the use of NTP in DHCPv6 and is
-//     probably not relevant to this package.
-//
-// "Let's make a NTP Client in C"
-//     https://lettier.github.io/posts/2016-04-26-lets-make-a-ntp-client-in-c.html
-//     This web page contains useful information about the details of NTP,
-//     including an NTP record struture in C, and C code.
-//
-// "NTP Packet Header (NTP Reference Implementation) (Computer Network Time Synchronization)"
-//     http://what-when-how.com/computer-network-time-synchronization/
-//        ntp-packet-header-ntp-reference-implementation-computer-network-time-synchronization/
-//     This web page contains useful information on the details of NTP.
-//
-// "Technical information - NTP Data Packet"
-//     https://www.meinbergglobal.com/english/info/ntp-packet.htm
-//     This page has a helpful diagram of an NTP V4 packet.
-//
-//******************************************************************************
-//
-// Obsolete References
-// -------------------
-//
-// RFC 1119: "RFC-1119 "Network Time Protocol (Version 2) Specification and Implementation" (1989)
-//     https://tools.ietf.org/html/rfc1119
-//     Version 2 was drafted in 1989.
-//     It is unclear whether V2 was ever implememented or whether the
-//     ideas ended up in V3 (which was implemented in 1992).
-//
-// RFC 1361: "Simple Network Time Protocol (SNTP)"
-//     https://tools.ietf.org/html/rfc1361
-//     This document is obsoleted by RFC 1769 and is included only for completeness.
-//
-// RFC 1769: "Simple Network Time Protocol (SNTP)"
-//     https://tools.ietf.org/html/rfc1769
-//     This document is obsoleted by RFC 2030 and RFC 4330 and is included only for completeness.
-//
-// RFC 2030: "Simple Network Time Protocol (SNTP) Version 4 for IPv4, IPv6 and OSI"
-//     https://tools.ietf.org/html/rfc2030
-//     This document is obsoleted by RFC 4330 and is included only for completeness.
-//
-// RFC 4330: "Simple Network Time Protocol (SNTP) Version 4 for IPv4, IPv6 and OSI"
-//     https://tools.ietf.org/html/rfc4330
-//     This document is obsoleted by RFC 5905 and is included only for completeness.
-//
-//******************************************************************************
-//
-// Endian And Bit Numbering Issues
-// -------------------------------
-//
-// Endian and bit numbering issues can be confusing. Here is some
-// clarification:
-//
-//    ENDIAN: Values are sent big endian.
-//    https://en.wikipedia.org/wiki/Endianness
-//
-//    BIT NUMBERING: Bits are numbered 0 upwards from the most significant
-//    bit to the least significant bit. This means that if there is a 32-bit
-//    value, the most significant bit is called bit 0 and the least
-//    significant bit is called bit 31.
-//
-// See RFC 791 Appendix B for more discussion.
-//
-//******************************************************************************
-//
-// NTP V3 and V4 Packet Format
-// ---------------------------
-// NTP packets are UDP packets whose payload contains an NTP record.
-//
-// The NTP RFC defines the format of the NTP record.
-//
-// There have been four versions of the protocol:
-//
-//    V1 in 1985
-//    V2 in 1989
-//    V3 in 1992
-//    V4 in 2010
-//
-// It is clear that V1 and V2 are obsolete, and there is no need to
-// cater for these formats.
-//
-// V3 and V4 essentially use the same format, with V4 adding some optional
-// fields on the end. So this package supports the V3 and V4 formats.
-//
-// The current version of NTP (NTP V4)'s RFC (V4 - RFC 5905) contains
-// the following diagram for the NTP record format:
-
-//      0                   1                   2                   3
-//      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |LI | VN  |Mode |    Stratum    |     Poll      |   Precision   |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |                         Root Delay                            |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |                         Root Dispersion                       |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |                          Reference ID                         |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |                                                               |
-//     +                     Reference Timestamp (64)                  +
-//     |                                                               |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |                                                               |
-//     +                      Origin Timestamp (64)                    +
-//     |                                                               |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |                                                               |
-//     +                      Receive Timestamp (64)                   +
-//     |                                                               |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |                                                               |
-//     +                      Transmit Timestamp (64)                  +
-//     |                                                               |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |                                                               |
-//     .                                                               .
-//     .                    Extension Field 1 (variable)               .
-//     .                                                               .
-//     |                                                               |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |                                                               |
-//     .                                                               .
-//     .                    Extension Field 2 (variable)               .
-//     .                                                               .
-//     |                                                               |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |                          Key Identifier                       |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     |                                                               |
-//     |                            dgst (128)                         |
-//     |                                                               |
-//     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-//     From http://www.ietf.org/rfc/rfc5905.txt
-//
-// The fields "Extension Field 1 (variable)" and later are optional fields,
-// and so we can set a minimum NTP record size of 48 bytes.
-//
-const ntpMinimumRecordSizeInBytes int = 48
-
-//******************************************************************************
-
-// NTP Type
-// --------
-// Type NTP implements the DecodingLayer interface. Each NTP object
-// represents in a structured form the NTP record present as the UDP
-// payload in an NTP UDP packet.
-//
-
-type NTPLeapIndicator uint8
-type NTPVersion uint8
-type NTPMode uint8
-type NTPStratum uint8
-type NTPLog2Seconds int8
-type NTPFixed16Seconds uint32
-type NTPReferenceID uint32
-type NTPTimestamp uint64
-
-type NTP struct {
-       BaseLayer // Stores the packet bytes and payload bytes.
-
-       LeapIndicator      NTPLeapIndicator  // [0,3]. Indicates whether leap second(s) is to be added.
-       Version            NTPVersion        // [0,7]. Version of the NTP protocol.
-       Mode               NTPMode           // [0,7]. Mode.
-       Stratum            NTPStratum        // [0,255]. Stratum of time server in the server tree.
-       Poll               NTPLog2Seconds    // [-128,127]. The maximum interval between successive messages, in log2 seconds.
-       Precision          NTPLog2Seconds    // [-128,127]. The precision of the system clock, in log2 seconds.
-       RootDelay          NTPFixed16Seconds // [0,2^32-1]. Total round trip delay to the reference clock in seconds times 2^16.
-       RootDispersion     NTPFixed16Seconds // [0,2^32-1]. Total dispersion to the reference clock, in seconds times 2^16.
-       ReferenceID        NTPReferenceID    // ID code of reference clock [0,2^32-1].
-       ReferenceTimestamp NTPTimestamp      // Most recent timestamp from the reference clock.
-       OriginTimestamp    NTPTimestamp      // Local time when request was sent from local host.
-       ReceiveTimestamp   NTPTimestamp      // Local time (on server) that request arrived at server host.
-       TransmitTimestamp  NTPTimestamp      // Local time (on server) that request departed server host.
-
-       // FIX: This package should analyse the extension fields and represent the extension fields too.
-       ExtensionBytes []byte // Just put extensions in a byte slice.
-}
-
-//******************************************************************************
-
-// LayerType returns the layer type of the NTP object, which is LayerTypeNTP.
-func (d *NTP) LayerType() gopacket.LayerType {
-       return LayerTypeNTP
-}
-
-//******************************************************************************
-
-// decodeNTP analyses a byte slice and attempts to decode it as an NTP
-// record of a UDP packet.
-//
-// If it succeeds, it loads p with information about the packet and returns nil.
-// If it fails, it returns an error (non nil).
-//
-// This function is employed in layertypes.go to register the NTP layer.
-func decodeNTP(data []byte, p gopacket.PacketBuilder) error {
-
-       // Attempt to decode the byte slice.
-       d := &NTP{}
-       err := d.DecodeFromBytes(data, p)
-       if err != nil {
-               return err
-       }
-
-       // If the decoding worked, add the layer to the packet and set it
-       // as the application layer too, if there isn't already one.
-       p.AddLayer(d)
-       p.SetApplicationLayer(d)
-
-       return nil
-}
-
-//******************************************************************************
-
-// DecodeFromBytes analyses a byte slice and attempts to decode it as an NTP
-// record of a UDP packet.
-//
-// Upon succeeds, it loads the NTP object with information about the packet
-// and returns nil.
-// Upon failure, it returns an error (non nil).
-func (d *NTP) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-
-       // If the data block is too short to be a NTP record, then return an error.
-       if len(data) < ntpMinimumRecordSizeInBytes {
-               df.SetTruncated()
-               return errors.New("NTP packet too short")
-       }
-
-       // RFC 5905 does not appear to define a maximum NTP record length.
-       // The protocol allows "extension fields" to be included in the record,
-       // and states about these fields:"
-       //
-       //     "While the minimum field length containing required fields is
-       //      four words (16 octets), a maximum field length remains to be
-       //      established."
-       //
-       // For this reason, the packet length is not checked here for being too long.
-
-       // NTP type embeds type BaseLayer which contains two fields:
-       //    Contents is supposed to contain the bytes of the data at this level.
-       //    Payload is supposed to contain the payload of this level.
-       // Here we set the baselayer to be the bytes of the NTP record.
-       d.BaseLayer = BaseLayer{Contents: data[:len(data)]}
-
-       // Extract the fields from the block of bytes.
-       // To make sense of this, refer to the packet diagram
-       // above and the section on endian conventions.
-
-       // The first few fields are all packed into the first 32 bits. Unpack them.
-       f := data[0]
-       d.LeapIndicator = NTPLeapIndicator((f & 0xC0) >> 6)
-       d.Version = NTPVersion((f & 0x38) >> 3)
-       d.Mode = NTPMode(f & 0x07)
-       d.Stratum = NTPStratum(data[1])
-       d.Poll = NTPLog2Seconds(data[2])
-       d.Precision = NTPLog2Seconds(data[3])
-
-       // The remaining fields can just be copied in big endian order.
-       d.RootDelay = NTPFixed16Seconds(binary.BigEndian.Uint32(data[4:8]))
-       d.RootDispersion = NTPFixed16Seconds(binary.BigEndian.Uint32(data[8:12]))
-       d.ReferenceID = NTPReferenceID(binary.BigEndian.Uint32(data[12:16]))
-       d.ReferenceTimestamp = NTPTimestamp(binary.BigEndian.Uint64(data[16:24]))
-       d.OriginTimestamp = NTPTimestamp(binary.BigEndian.Uint64(data[24:32]))
-       d.ReceiveTimestamp = NTPTimestamp(binary.BigEndian.Uint64(data[32:40]))
-       d.TransmitTimestamp = NTPTimestamp(binary.BigEndian.Uint64(data[40:48]))
-
-       // This layer does not attempt to analyse the extension bytes.
-       // But if there are any, we'd like the user to know. So we just
-       // place them all in an ExtensionBytes field.
-       d.ExtensionBytes = data[48:]
-
-       // Return no error.
-       return nil
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-// See the docs for gopacket.SerializableLayer for more info.
-func (d *NTP) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       data, err := b.PrependBytes(ntpMinimumRecordSizeInBytes)
-       if err != nil {
-               return err
-       }
-
-       // Pack the first few fields into the first 32 bits.
-       h := uint8(0)
-       h |= (uint8(d.LeapIndicator) << 6) & 0xC0
-       h |= (uint8(d.Version) << 3) & 0x38
-       h |= (uint8(d.Mode)) & 0x07
-       data[0] = byte(h)
-       data[1] = byte(d.Stratum)
-       data[2] = byte(d.Poll)
-       data[3] = byte(d.Precision)
-
-       // The remaining fields can just be copied in big endian order.
-       binary.BigEndian.PutUint32(data[4:8], uint32(d.RootDelay))
-       binary.BigEndian.PutUint32(data[8:12], uint32(d.RootDispersion))
-       binary.BigEndian.PutUint32(data[12:16], uint32(d.ReferenceID))
-       binary.BigEndian.PutUint64(data[16:24], uint64(d.ReferenceTimestamp))
-       binary.BigEndian.PutUint64(data[24:32], uint64(d.OriginTimestamp))
-       binary.BigEndian.PutUint64(data[32:40], uint64(d.ReceiveTimestamp))
-       binary.BigEndian.PutUint64(data[40:48], uint64(d.TransmitTimestamp))
-
-       ex, err := b.AppendBytes(len(d.ExtensionBytes))
-       if err != nil {
-               return err
-       }
-       copy(ex, d.ExtensionBytes)
-
-       return nil
-}
-
-//******************************************************************************
-
-// CanDecode returns a set of layers that NTP objects can decode.
-// As NTP objects can only decide the NTP layer, we can return just that layer.
-// Apparently a single layer type implements LayerClass.
-func (d *NTP) CanDecode() gopacket.LayerClass {
-       return LayerTypeNTP
-}
-
-//******************************************************************************
-
-// NextLayerType specifies the next layer that GoPacket should attempt to
-// analyse after this (NTP) layer. As NTP packets do not contain any payload
-// bytes, there are no further layers to analyse.
-func (d *NTP) NextLayerType() gopacket.LayerType {
-       return gopacket.LayerTypeZero
-}
-
-//******************************************************************************
-
-// NTP packets do not carry any data payload, so the empty byte slice is retured.
-// In Go, a nil slice is functionally identical to an empty slice, so we
-// return nil to avoid a heap allocation.
-func (d *NTP) Payload() []byte {
-       return nil
-}
-
-//******************************************************************************
-//*                            End Of NTP File                                 *
-//******************************************************************************
diff --git a/vendor/github.com/google/gopacket/layers/ospf.go b/vendor/github.com/google/gopacket/layers/ospf.go
deleted file mode 100644 (file)
index eee8542..0000000
+++ /dev/null
@@ -1,509 +0,0 @@
-// Copyright 2017 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "fmt"
-
-       "github.com/google/gopacket"
-)
-
-// OSPFType denotes what kind of OSPF type it is
-type OSPFType uint8
-
-// Potential values for OSPF.Type.
-const (
-       OSPFHello                   OSPFType = 1
-       OSPFDatabaseDescription     OSPFType = 2
-       OSPFLinkStateRequest        OSPFType = 3
-       OSPFLinkStateUpdate         OSPFType = 4
-       OSPFLinkStateAcknowledgment OSPFType = 5
-)
-
-// LSA Function Codes for LSAheader.LSType
-const (
-       RouterLSAtype          = 0x2001
-       NetworkLSAtype         = 0x2002
-       InterAreaPrefixLSAtype = 0x2003
-       InterAreaRouterLSAtype = 0x2004
-       ASExternalLSAtype      = 0x4005
-       NSSALSAtype            = 0x2007
-       LinkLSAtype            = 0x0008
-       IntraAreaPrefixLSAtype = 0x2009
-)
-
-// String conversions for OSPFType
-func (i OSPFType) String() string {
-       switch i {
-       case OSPFHello:
-               return "Hello"
-       case OSPFDatabaseDescription:
-               return "Database Description"
-       case OSPFLinkStateRequest:
-               return "Link State Request"
-       case OSPFLinkStateUpdate:
-               return "Link State Update"
-       case OSPFLinkStateAcknowledgment:
-               return "Link State Acknowledgment"
-       default:
-               return ""
-       }
-}
-
-// Prefix extends IntraAreaPrefixLSA
-type Prefix struct {
-       PrefixLength  uint8
-       PrefixOptions uint8
-       Metric        uint16
-       AddressPrefix []byte
-}
-
-// IntraAreaPrefixLSA is the struct from RFC 5340  A.4.10.
-type IntraAreaPrefixLSA struct {
-       NumOfPrefixes  uint16
-       RefLSType      uint16
-       RefLinkStateID uint32
-       RefAdvRouter   uint32
-       Prefixes       []Prefix
-}
-
-// LinkLSA is the struct from RFC 5340  A.4.9.
-type LinkLSA struct {
-       RtrPriority      uint8
-       Options          uint32
-       LinkLocalAddress []byte
-       NumOfPrefixes    uint32
-       Prefixes         []Prefix
-}
-
-// ASExternalLSA is the struct from RFC 5340  A.4.7.
-type ASExternalLSA struct {
-       Flags             uint8
-       Metric            uint32
-       PrefixLength      uint8
-       PrefixOptions     uint8
-       RefLSType         uint16
-       AddressPrefix     []byte
-       ForwardingAddress []byte
-       ExternalRouteTag  uint32
-       RefLinkStateID    uint32
-}
-
-// InterAreaRouterLSA is the struct from RFC 5340  A.4.6.
-type InterAreaRouterLSA struct {
-       Options             uint32
-       Metric              uint32
-       DestinationRouterID uint32
-}
-
-// InterAreaPrefixLSA is the struct from RFC 5340  A.4.5.
-type InterAreaPrefixLSA struct {
-       Metric        uint32
-       PrefixLength  uint8
-       PrefixOptions uint8
-       AddressPrefix []byte
-}
-
-// NetworkLSA is the struct from RFC 5340  A.4.4.
-type NetworkLSA struct {
-       Options        uint32
-       AttachedRouter []uint32
-}
-
-// Router extends RouterLSA
-type Router struct {
-       Type                uint8
-       Metric              uint16
-       InterfaceID         uint32
-       NeighborInterfaceID uint32
-       NeighborRouterID    uint32
-}
-
-// RouterLSA is the struct from RFC 5340  A.4.3.
-type RouterLSA struct {
-       Flags   uint8
-       Options uint32
-       Routers []Router
-}
-
-// LSAheader is the struct from RFC 5340  A.4.2.
-type LSAheader struct {
-       LSAge       uint16
-       LSType      uint16
-       LinkStateID uint32
-       AdvRouter   uint32
-       LSSeqNumber uint32
-       LSChecksum  uint16
-       Length      uint16
-}
-
-// LSA links LSAheader with the structs from RFC 5340  A.4.
-type LSA struct {
-       LSAheader
-       Content interface{}
-}
-
-// LSUpdate is the struct from RFC 5340  A.3.5.
-type LSUpdate struct {
-       NumOfLSAs uint32
-       LSAs      []LSA
-}
-
-// LSReq is the struct from RFC 5340  A.3.4.
-type LSReq struct {
-       LSType    uint16
-       LSID      uint32
-       AdvRouter uint32
-}
-
-// DbDescPkg is the struct from RFC 5340  A.3.3.
-type DbDescPkg struct {
-       Options      uint32
-       InterfaceMTU uint16
-       Flags        uint16
-       DDSeqNumber  uint32
-       LSAinfo      []LSAheader
-}
-
-// HelloPkg  is the struct from RFC 5340  A.3.2.
-type HelloPkg struct {
-       InterfaceID              uint32
-       RtrPriority              uint8
-       Options                  uint32
-       HelloInterval            uint16
-       RouterDeadInterval       uint16
-       DesignatedRouterID       uint32
-       BackupDesignatedRouterID uint32
-       NeighborID               []uint32
-}
-
-// HelloPkgV2 extends the HelloPkg struct with OSPFv2 information
-type HelloPkgV2 struct {
-       HelloPkg
-       NetworkMask uint32
-}
-
-// OSPF is a basic OSPF packet header with common fields of Version 2 and Version 3.
-type OSPF struct {
-       Version      uint8
-       Type         OSPFType
-       PacketLength uint16
-       RouterID     uint32
-       AreaID       uint32
-       Checksum     uint16
-       Content      interface{}
-}
-
-//OSPFv2 extend the OSPF head with version 2 specific fields
-type OSPFv2 struct {
-       BaseLayer
-       OSPF
-       AuType         uint16
-       Authentication uint64
-}
-
-// OSPFv3 extend the OSPF head with version 3 specific fields
-type OSPFv3 struct {
-       BaseLayer
-       OSPF
-       Instance uint8
-       Reserved uint8
-}
-
-// getLSAs parses the LSA information from the packet
-func getLSAs(num uint32, data []byte) ([]LSA, error) {
-       var lsas []LSA
-       var i uint32 = 0
-       var offset uint32 = 0
-       for ; i < num; i++ {
-               var content interface{}
-               lstype := binary.BigEndian.Uint16(data[offset+2 : offset+4])
-               lsalength := binary.BigEndian.Uint16(data[offset+18 : offset+20])
-
-               switch lstype {
-               case RouterLSAtype:
-                       var routers []Router
-                       var j uint32
-                       for j = 24; j < uint32(lsalength); j += 16 {
-                               router := Router{
-                                       Type:                uint8(data[offset+j]),
-                                       Metric:              binary.BigEndian.Uint16(data[offset+j+2 : offset+j+4]),
-                                       InterfaceID:         binary.BigEndian.Uint32(data[offset+j+4 : offset+j+8]),
-                                       NeighborInterfaceID: binary.BigEndian.Uint32(data[offset+j+8 : offset+j+12]),
-                                       NeighborRouterID:    binary.BigEndian.Uint32(data[offset+j+12 : offset+j+16]),
-                               }
-                               routers = append(routers, router)
-                       }
-                       content = RouterLSA{
-                               Flags:   uint8(data[offset+20]),
-                               Options: binary.BigEndian.Uint32(data[offset+20:offset+24]) & 0x00FFFFFF,
-                               Routers: routers,
-                       }
-               case NetworkLSAtype:
-                       var routers []uint32
-                       var j uint32
-                       for j = 24; j < uint32(lsalength); j += 4 {
-                               routers = append(routers, binary.BigEndian.Uint32(data[offset+j:offset+j+4]))
-                       }
-                       content = NetworkLSA{
-                               Options:        binary.BigEndian.Uint32(data[offset+20:offset+24]) & 0x00FFFFFF,
-                               AttachedRouter: routers,
-                       }
-               case InterAreaPrefixLSAtype:
-                       content = InterAreaPrefixLSA{
-                               Metric:        binary.BigEndian.Uint32(data[offset+20:offset+24]) & 0x00FFFFFF,
-                               PrefixLength:  uint8(data[offset+24]),
-                               PrefixOptions: uint8(data[offset+25]),
-                               AddressPrefix: data[offset+28 : offset+uint32(lsalength)],
-                       }
-               case InterAreaRouterLSAtype:
-                       content = InterAreaRouterLSA{
-                               Options:             binary.BigEndian.Uint32(data[offset+20:offset+24]) & 0x00FFFFFF,
-                               Metric:              binary.BigEndian.Uint32(data[offset+24:offset+28]) & 0x00FFFFFF,
-                               DestinationRouterID: binary.BigEndian.Uint32(data[offset+28 : offset+32]),
-                       }
-               case ASExternalLSAtype:
-                       fallthrough
-               case NSSALSAtype:
-
-                       flags := uint8(data[offset+20])
-                       prefixLen := uint8(data[offset+24]) / 8
-                       var forwardingAddress []byte
-                       if (flags & 0x02) == 0x02 {
-                               forwardingAddress = data[offset+28+uint32(prefixLen) : offset+28+uint32(prefixLen)+16]
-                       }
-                       content = ASExternalLSA{
-                               Flags:             flags,
-                               Metric:            binary.BigEndian.Uint32(data[offset+20:offset+24]) & 0x00FFFFFF,
-                               PrefixLength:      prefixLen,
-                               PrefixOptions:     uint8(data[offset+25]),
-                               RefLSType:         binary.BigEndian.Uint16(data[offset+26 : offset+28]),
-                               AddressPrefix:     data[offset+28 : offset+28+uint32(prefixLen)],
-                               ForwardingAddress: forwardingAddress,
-                       }
-               case LinkLSAtype:
-                       var prefixes []Prefix
-                       var prefixOffset uint32 = offset + 44
-                       var j uint32
-                       numOfPrefixes := binary.BigEndian.Uint32(data[offset+40 : offset+44])
-                       for j = 0; j < numOfPrefixes; j++ {
-                               prefixLen := uint8(data[prefixOffset])
-                               prefix := Prefix{
-                                       PrefixLength:  prefixLen,
-                                       PrefixOptions: uint8(data[prefixOffset+1]),
-                                       AddressPrefix: data[prefixOffset+4 : prefixOffset+4+uint32(prefixLen)/8],
-                               }
-                               prefixes = append(prefixes, prefix)
-                               prefixOffset = prefixOffset + 4 + uint32(prefixLen)/8
-                       }
-                       content = LinkLSA{
-                               RtrPriority:      uint8(data[offset+20]),
-                               Options:          binary.BigEndian.Uint32(data[offset+20:offset+24]) & 0x00FFFFFF,
-                               LinkLocalAddress: data[offset+24 : offset+40],
-                               NumOfPrefixes:    numOfPrefixes,
-                               Prefixes:         prefixes,
-                       }
-               case IntraAreaPrefixLSAtype:
-                       var prefixes []Prefix
-                       var prefixOffset uint32 = offset + 32
-                       var j uint16
-                       numOfPrefixes := binary.BigEndian.Uint16(data[offset+20 : offset+22])
-                       for j = 0; j < numOfPrefixes; j++ {
-                               prefixLen := uint8(data[prefixOffset])
-                               prefix := Prefix{
-                                       PrefixLength:  prefixLen,
-                                       PrefixOptions: uint8(data[prefixOffset+1]),
-                                       Metric:        binary.BigEndian.Uint16(data[prefixOffset+2 : prefixOffset+4]),
-                                       AddressPrefix: data[prefixOffset+4 : prefixOffset+4+uint32(prefixLen)/8],
-                               }
-                               prefixes = append(prefixes, prefix)
-                               prefixOffset = prefixOffset + 4 + uint32(prefixLen)
-                       }
-                       content = IntraAreaPrefixLSA{
-                               NumOfPrefixes:  numOfPrefixes,
-                               RefLSType:      binary.BigEndian.Uint16(data[offset+22 : offset+24]),
-                               RefLinkStateID: binary.BigEndian.Uint32(data[offset+24 : offset+28]),
-                               RefAdvRouter:   binary.BigEndian.Uint32(data[offset+28 : offset+32]),
-                               Prefixes:       prefixes,
-                       }
-               default:
-                       return nil, fmt.Errorf("Unknown Link State type.")
-               }
-               lsa := LSA{
-                       LSAheader: LSAheader{
-                               LSAge:       binary.BigEndian.Uint16(data[offset : offset+2]),
-                               LSType:      lstype,
-                               LinkStateID: binary.BigEndian.Uint32(data[offset+4 : offset+8]),
-                               AdvRouter:   binary.BigEndian.Uint32(data[offset+8 : offset+12]),
-                               LSSeqNumber: binary.BigEndian.Uint32(data[offset+12 : offset+16]),
-                               LSChecksum:  binary.BigEndian.Uint16(data[offset+16 : offset+18]),
-                               Length:      lsalength,
-                       },
-                       Content: content,
-               }
-               lsas = append(lsas, lsa)
-               offset += uint32(lsalength)
-       }
-       return lsas, nil
-}
-
-// DecodeFromBytes decodes the given bytes into the OSPF layer.
-func (ospf *OSPFv2) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       if len(data) < 24 {
-               return fmt.Errorf("Packet too smal for OSPF Version 2")
-       }
-
-       ospf.Version = uint8(data[0])
-       ospf.Type = OSPFType(data[1])
-       ospf.PacketLength = binary.BigEndian.Uint16(data[2:4])
-       ospf.RouterID = binary.BigEndian.Uint32(data[4:8])
-       ospf.AreaID = binary.BigEndian.Uint32(data[8:12])
-       ospf.Checksum = binary.BigEndian.Uint16(data[12:14])
-       ospf.AuType = binary.BigEndian.Uint16(data[14:16])
-       ospf.Authentication = binary.BigEndian.Uint64(data[16:24])
-
-       return nil
-}
-
-// DecodeFromBytes decodes the given bytes into the OSPF layer.
-func (ospf *OSPFv3) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-
-       if len(data) < 16 {
-               return fmt.Errorf("Packet too smal for OSPF Version 3")
-       }
-
-       ospf.Version = uint8(data[0])
-       ospf.Type = OSPFType(data[1])
-       ospf.PacketLength = binary.BigEndian.Uint16(data[2:4])
-       ospf.RouterID = binary.BigEndian.Uint32(data[4:8])
-       ospf.AreaID = binary.BigEndian.Uint32(data[8:12])
-       ospf.Checksum = binary.BigEndian.Uint16(data[12:14])
-       ospf.Instance = uint8(data[14])
-       ospf.Reserved = uint8(data[15])
-
-       switch ospf.Type {
-       case OSPFHello:
-               var neighbors []uint32
-               for i := 36; uint16(i+4) <= ospf.PacketLength; i += 4 {
-                       neighbors = append(neighbors, binary.BigEndian.Uint32(data[i:i+4]))
-               }
-               ospf.Content = HelloPkg{
-                       InterfaceID:              binary.BigEndian.Uint32(data[16:20]),
-                       RtrPriority:              uint8(data[20]),
-                       Options:                  binary.BigEndian.Uint32(data[21:25]) >> 8,
-                       HelloInterval:            binary.BigEndian.Uint16(data[24:26]),
-                       RouterDeadInterval:       binary.BigEndian.Uint16(data[26:28]),
-                       DesignatedRouterID:       binary.BigEndian.Uint32(data[28:32]),
-                       BackupDesignatedRouterID: binary.BigEndian.Uint32(data[32:36]),
-                       NeighborID:               neighbors,
-               }
-       case OSPFDatabaseDescription:
-               var lsas []LSAheader
-               for i := 28; uint16(i+20) <= ospf.PacketLength; i += 20 {
-                       lsa := LSAheader{
-                               LSAge:       binary.BigEndian.Uint16(data[i : i+2]),
-                               LSType:      binary.BigEndian.Uint16(data[i+2 : i+4]),
-                               LinkStateID: binary.BigEndian.Uint32(data[i+4 : i+8]),
-                               AdvRouter:   binary.BigEndian.Uint32(data[i+8 : i+12]),
-                               LSSeqNumber: binary.BigEndian.Uint32(data[i+12 : i+16]),
-                               LSChecksum:  binary.BigEndian.Uint16(data[i+16 : i+18]),
-                               Length:      binary.BigEndian.Uint16(data[i+18 : i+20]),
-                       }
-                       lsas = append(lsas, lsa)
-               }
-               ospf.Content = DbDescPkg{
-                       Options:      binary.BigEndian.Uint32(data[16:20]) & 0x00FFFFFF,
-                       InterfaceMTU: binary.BigEndian.Uint16(data[20:22]),
-                       Flags:        binary.BigEndian.Uint16(data[22:24]),
-                       DDSeqNumber:  binary.BigEndian.Uint32(data[24:28]),
-                       LSAinfo:      lsas,
-               }
-       case OSPFLinkStateRequest:
-               var lsrs []LSReq
-               for i := 16; uint16(i+12) <= ospf.PacketLength; i += 12 {
-                       lsr := LSReq{
-                               LSType:    binary.BigEndian.Uint16(data[i+2 : i+4]),
-                               LSID:      binary.BigEndian.Uint32(data[i+4 : i+8]),
-                               AdvRouter: binary.BigEndian.Uint32(data[i+8 : i+12]),
-                       }
-                       lsrs = append(lsrs, lsr)
-               }
-               ospf.Content = lsrs
-       case OSPFLinkStateUpdate:
-               num := binary.BigEndian.Uint32(data[16:20])
-               lsas, err := getLSAs(num, data[20:])
-               if err != nil {
-                       return fmt.Errorf("Cannot parse Link State Update packet: %v", err)
-               }
-               ospf.Content = LSUpdate{
-                       NumOfLSAs: num,
-                       LSAs:      lsas,
-               }
-
-       case OSPFLinkStateAcknowledgment:
-               var lsas []LSAheader
-               for i := 16; uint16(i+20) <= ospf.PacketLength; i += 20 {
-                       lsa := LSAheader{
-                               LSAge:       binary.BigEndian.Uint16(data[i : i+2]),
-                               LSType:      binary.BigEndian.Uint16(data[i+2 : i+4]),
-                               LinkStateID: binary.BigEndian.Uint32(data[i+4 : i+8]),
-                               AdvRouter:   binary.BigEndian.Uint32(data[i+8 : i+12]),
-                               LSSeqNumber: binary.BigEndian.Uint32(data[i+12 : i+16]),
-                               LSChecksum:  binary.BigEndian.Uint16(data[i+16 : i+18]),
-                               Length:      binary.BigEndian.Uint16(data[i+18 : i+20]),
-                       }
-                       lsas = append(lsas, lsa)
-               }
-               ospf.Content = lsas
-       default:
-       }
-
-       return nil
-}
-
-// LayerType returns LayerTypeOSPF
-func (ospf *OSPFv2) LayerType() gopacket.LayerType {
-       return LayerTypeOSPF
-}
-func (ospf *OSPFv3) LayerType() gopacket.LayerType {
-       return LayerTypeOSPF
-}
-
-// NextLayerType returns the layer type contained by this DecodingLayer.
-func (ospf *OSPFv2) NextLayerType() gopacket.LayerType {
-       return gopacket.LayerTypeZero
-}
-func (ospf *OSPFv3) NextLayerType() gopacket.LayerType {
-       return gopacket.LayerTypeZero
-}
-
-// CanDecode returns the set of layer types that this DecodingLayer can decode.
-func (ospf *OSPFv2) CanDecode() gopacket.LayerClass {
-       return LayerTypeOSPF
-}
-func (ospf *OSPFv3) CanDecode() gopacket.LayerClass {
-       return LayerTypeOSPF
-}
-
-func decodeOSPF(data []byte, p gopacket.PacketBuilder) error {
-       if len(data) < 14 {
-               return fmt.Errorf("Packet too smal for OSPF")
-       }
-
-       switch uint8(data[0]) {
-       case 2:
-               ospf := &OSPFv2{}
-               return decodingLayerDecoder(ospf, data, p)
-       case 3:
-               ospf := &OSPFv3{}
-               return decodingLayerDecoder(ospf, data, p)
-       default:
-       }
-
-       return fmt.Errorf("Unable to determine OSPF type.")
-}
diff --git a/vendor/github.com/google/gopacket/layers/pflog.go b/vendor/github.com/google/gopacket/layers/pflog.go
deleted file mode 100644 (file)
index 853882f..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "errors"
-
-       "github.com/google/gopacket"
-)
-
-type PFDirection uint8
-
-const (
-       PFDirectionInOut PFDirection = 0
-       PFDirectionIn    PFDirection = 1
-       PFDirectionOut   PFDirection = 2
-)
-
-// PFLog provides the layer for 'pf' packet-filter logging, as described at
-// http://www.freebsd.org/cgi/man.cgi?query=pflog&sektion=4
-type PFLog struct {
-       BaseLayer
-       Length              uint8
-       Family              ProtocolFamily
-       Action, Reason      uint8
-       IFName, Ruleset     []byte
-       RuleNum, SubruleNum uint32
-       UID                 uint32
-       PID                 int32
-       RuleUID             uint32
-       RulePID             int32
-       Direction           PFDirection
-       // The remainder is padding
-}
-
-func (pf *PFLog) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       pf.Length = data[0]
-       pf.Family = ProtocolFamily(data[1])
-       pf.Action = data[2]
-       pf.Reason = data[3]
-       pf.IFName = data[4:20]
-       pf.Ruleset = data[20:36]
-       pf.RuleNum = binary.BigEndian.Uint32(data[36:40])
-       pf.SubruleNum = binary.BigEndian.Uint32(data[40:44])
-       pf.UID = binary.BigEndian.Uint32(data[44:48])
-       pf.PID = int32(binary.BigEndian.Uint32(data[48:52]))
-       pf.RuleUID = binary.BigEndian.Uint32(data[52:56])
-       pf.RulePID = int32(binary.BigEndian.Uint32(data[56:60]))
-       pf.Direction = PFDirection(data[60])
-       if pf.Length%4 != 1 {
-               return errors.New("PFLog header length should be 3 less than multiple of 4")
-       }
-       actualLength := int(pf.Length) + 3
-       pf.Contents = data[:actualLength]
-       pf.Payload = data[actualLength:]
-       return nil
-}
-
-// LayerType returns layers.LayerTypePFLog
-func (pf *PFLog) LayerType() gopacket.LayerType { return LayerTypePFLog }
-
-func (pf *PFLog) CanDecode() gopacket.LayerClass { return LayerTypePFLog }
-
-func (pf *PFLog) NextLayerType() gopacket.LayerType {
-       return pf.Family.LayerType()
-}
-
-func decodePFLog(data []byte, p gopacket.PacketBuilder) error {
-       pf := &PFLog{}
-       return decodingLayerDecoder(pf, data, p)
-}
diff --git a/vendor/github.com/google/gopacket/layers/ports.go b/vendor/github.com/google/gopacket/layers/ports.go
deleted file mode 100644 (file)
index 431358c..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "fmt"
-       "strconv"
-
-       "github.com/google/gopacket"
-)
-
-// TCPPort is a port in a TCP layer.
-type TCPPort uint16
-
-// UDPPort is a port in a UDP layer.
-type UDPPort uint16
-
-// RUDPPort is a port in a RUDP layer.
-type RUDPPort uint8
-
-// SCTPPort is a port in a SCTP layer.
-type SCTPPort uint16
-
-// UDPLitePort is a port in a UDPLite layer.
-type UDPLitePort uint16
-
-// RUDPPortNames contains the string names for all RUDP ports.
-var RUDPPortNames = map[RUDPPort]string{}
-
-// UDPLitePortNames contains the string names for all UDPLite ports.
-var UDPLitePortNames = map[UDPLitePort]string{}
-
-// {TCP,UDP,SCTP}PortNames can be found in iana_ports.go
-
-// String returns the port as "number(name)" if there's a well-known port name,
-// or just "number" if there isn't.  Well-known names are stored in
-// TCPPortNames.
-func (a TCPPort) String() string {
-       if name, ok := TCPPortNames[a]; ok {
-               return fmt.Sprintf("%d(%s)", a, name)
-       }
-       return strconv.Itoa(int(a))
-}
-
-// LayerType returns a LayerType that would be able to decode the
-// application payload. It uses some well-known ports such as 53 for
-// DNS.
-//
-// Returns gopacket.LayerTypePayload for unknown/unsupported port numbers.
-func (a TCPPort) LayerType() gopacket.LayerType {
-       lt := tcpPortLayerType[uint16(a)]
-       if lt != 0 {
-               return lt
-       }
-       return gopacket.LayerTypePayload
-}
-
-var tcpPortLayerType = [65536]gopacket.LayerType{
-       53: LayerTypeDNS,
-}
-
-// RegisterTCPPortLayerType creates a new mapping between a TCPPort
-// and an underlaying LayerType.
-func RegisterTCPPortLayerType(port TCPPort, layerType gopacket.LayerType) {
-       tcpPortLayerType[port] = layerType
-}
-
-// String returns the port as "number(name)" if there's a well-known port name,
-// or just "number" if there isn't.  Well-known names are stored in
-// UDPPortNames.
-func (a UDPPort) String() string {
-       if name, ok := UDPPortNames[a]; ok {
-               return fmt.Sprintf("%d(%s)", a, name)
-       }
-       return strconv.Itoa(int(a))
-}
-
-// LayerType returns a LayerType that would be able to decode the
-// application payload. It uses some well-known ports such as 53 for
-// DNS.
-//
-// Returns gopacket.LayerTypePayload for unknown/unsupported port numbers.
-func (a UDPPort) LayerType() gopacket.LayerType {
-       lt := udpPortLayerType[uint16(a)]
-       if lt != 0 {
-               return lt
-       }
-       return gopacket.LayerTypePayload
-}
-
-var udpPortLayerType = [65536]gopacket.LayerType{
-       53:   LayerTypeDNS,
-       123:  LayerTypeNTP,
-       4789: LayerTypeVXLAN,
-       67:   LayerTypeDHCPv4,
-       68:   LayerTypeDHCPv4,
-       6343: LayerTypeSFlow,
-       6081: LayerTypeGeneve,
-       3784: LayerTypeBFD,
-}
-
-// RegisterUDPPortLayerType creates a new mapping between a UDPPort
-// and an underlaying LayerType.
-func RegisterUDPPortLayerType(port UDPPort, layerType gopacket.LayerType) {
-       udpPortLayerType[port] = layerType
-}
-
-// String returns the port as "number(name)" if there's a well-known port name,
-// or just "number" if there isn't.  Well-known names are stored in
-// RUDPPortNames.
-func (a RUDPPort) String() string {
-       if name, ok := RUDPPortNames[a]; ok {
-               return fmt.Sprintf("%d(%s)", a, name)
-       }
-       return strconv.Itoa(int(a))
-}
-
-// String returns the port as "number(name)" if there's a well-known port name,
-// or just "number" if there isn't.  Well-known names are stored in
-// SCTPPortNames.
-func (a SCTPPort) String() string {
-       if name, ok := SCTPPortNames[a]; ok {
-               return fmt.Sprintf("%d(%s)", a, name)
-       }
-       return strconv.Itoa(int(a))
-}
-
-// String returns the port as "number(name)" if there's a well-known port name,
-// or just "number" if there isn't.  Well-known names are stored in
-// UDPLitePortNames.
-func (a UDPLitePort) String() string {
-       if name, ok := UDPLitePortNames[a]; ok {
-               return fmt.Sprintf("%d(%s)", a, name)
-       }
-       return strconv.Itoa(int(a))
-}
diff --git a/vendor/github.com/google/gopacket/layers/ppp.go b/vendor/github.com/google/gopacket/layers/ppp.go
deleted file mode 100644 (file)
index 1d2e7b8..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "errors"
-       "github.com/google/gopacket"
-)
-
-// PPP is the layer for PPP encapsulation headers.
-type PPP struct {
-       BaseLayer
-       PPPType PPPType
-}
-
-// PPPEndpoint is a singleton endpoint for PPP.  Since there is no actual
-// addressing for the two ends of a PPP connection, we use a singleton value
-// named 'point' for each endpoint.
-var PPPEndpoint = gopacket.NewEndpoint(EndpointPPP, nil)
-
-// PPPFlow is a singleton flow for PPP.  Since there is no actual addressing for
-// the two ends of a PPP connection, we use a singleton value to represent the
-// flow for all PPP connections.
-var PPPFlow = gopacket.NewFlow(EndpointPPP, nil, nil)
-
-// LayerType returns LayerTypePPP
-func (p *PPP) LayerType() gopacket.LayerType { return LayerTypePPP }
-
-// LinkFlow returns PPPFlow.
-func (p *PPP) LinkFlow() gopacket.Flow { return PPPFlow }
-
-func decodePPP(data []byte, p gopacket.PacketBuilder) error {
-       ppp := &PPP{}
-       if data[0]&0x1 == 0 {
-               if data[1]&0x1 == 0 {
-                       return errors.New("PPP has invalid type")
-               }
-               ppp.PPPType = PPPType(binary.BigEndian.Uint16(data[:2]))
-               ppp.Contents = data[:2]
-               ppp.Payload = data[2:]
-       } else {
-               ppp.PPPType = PPPType(data[0])
-               ppp.Contents = data[:1]
-               ppp.Payload = data[1:]
-       }
-       p.AddLayer(ppp)
-       p.SetLinkLayer(ppp)
-       return p.NextDecoder(ppp.PPPType)
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-// See the docs for gopacket.SerializableLayer for more info.
-func (p *PPP) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       if p.PPPType&0x100 == 0 {
-               bytes, err := b.PrependBytes(2)
-               if err != nil {
-                       return err
-               }
-               binary.BigEndian.PutUint16(bytes, uint16(p.PPPType))
-       } else {
-               bytes, err := b.PrependBytes(1)
-               if err != nil {
-                       return err
-               }
-               bytes[0] = uint8(p.PPPType)
-       }
-       return nil
-}
diff --git a/vendor/github.com/google/gopacket/layers/pppoe.go b/vendor/github.com/google/gopacket/layers/pppoe.go
deleted file mode 100644 (file)
index 14cd63a..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "github.com/google/gopacket"
-)
-
-// PPPoE is the layer for PPPoE encapsulation headers.
-type PPPoE struct {
-       BaseLayer
-       Version   uint8
-       Type      uint8
-       Code      PPPoECode
-       SessionId uint16
-       Length    uint16
-}
-
-// LayerType returns gopacket.LayerTypePPPoE.
-func (p *PPPoE) LayerType() gopacket.LayerType {
-       return LayerTypePPPoE
-}
-
-// decodePPPoE decodes the PPPoE header (see http://tools.ietf.org/html/rfc2516).
-func decodePPPoE(data []byte, p gopacket.PacketBuilder) error {
-       pppoe := &PPPoE{
-               Version:   data[0] >> 4,
-               Type:      data[0] & 0x0F,
-               Code:      PPPoECode(data[1]),
-               SessionId: binary.BigEndian.Uint16(data[2:4]),
-               Length:    binary.BigEndian.Uint16(data[4:6]),
-       }
-       pppoe.BaseLayer = BaseLayer{data[:6], data[6 : 6+pppoe.Length]}
-       p.AddLayer(pppoe)
-       return p.NextDecoder(pppoe.Code)
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-// See the docs for gopacket.SerializableLayer for more info.
-func (p *PPPoE) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       payload := b.Bytes()
-       bytes, err := b.PrependBytes(6)
-       if err != nil {
-               return err
-       }
-       bytes[0] = (p.Version << 4) | p.Type
-       bytes[1] = byte(p.Code)
-       binary.BigEndian.PutUint16(bytes[2:], p.SessionId)
-       if opts.FixLengths {
-               p.Length = uint16(len(payload))
-       }
-       binary.BigEndian.PutUint16(bytes[4:], p.Length)
-       return nil
-}
diff --git a/vendor/github.com/google/gopacket/layers/prism.go b/vendor/github.com/google/gopacket/layers/prism.go
deleted file mode 100644 (file)
index e1711e7..0000000
+++ /dev/null
@@ -1,146 +0,0 @@
-// Copyright 2015 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-// http://www.tcpdump.org/linktypes/LINKTYPE_IEEE802_11_PRISM.html
-
-package layers
-
-import (
-       "encoding/binary"
-       "errors"
-
-       "github.com/google/gopacket"
-)
-
-func decodePrismValue(data []byte, pv *PrismValue) {
-       pv.DID = PrismDID(binary.LittleEndian.Uint32(data[0:4]))
-       pv.Status = binary.LittleEndian.Uint16(data[4:6])
-       pv.Length = binary.LittleEndian.Uint16(data[6:8])
-       pv.Data = data[8 : 8+pv.Length]
-}
-
-type PrismDID uint32
-
-const (
-       PrismDIDType1HostTime                  PrismDID = 0x10044
-       PrismDIDType2HostTime                  PrismDID = 0x01041
-       PrismDIDType1MACTime                   PrismDID = 0x20044
-       PrismDIDType2MACTime                   PrismDID = 0x02041
-       PrismDIDType1Channel                   PrismDID = 0x30044
-       PrismDIDType2Channel                   PrismDID = 0x03041
-       PrismDIDType1RSSI                      PrismDID = 0x40044
-       PrismDIDType2RSSI                      PrismDID = 0x04041
-       PrismDIDType1SignalQuality             PrismDID = 0x50044
-       PrismDIDType2SignalQuality             PrismDID = 0x05041
-       PrismDIDType1Signal                    PrismDID = 0x60044
-       PrismDIDType2Signal                    PrismDID = 0x06041
-       PrismDIDType1Noise                     PrismDID = 0x70044
-       PrismDIDType2Noise                     PrismDID = 0x07041
-       PrismDIDType1Rate                      PrismDID = 0x80044
-       PrismDIDType2Rate                      PrismDID = 0x08041
-       PrismDIDType1TransmittedFrameIndicator PrismDID = 0x90044
-       PrismDIDType2TransmittedFrameIndicator PrismDID = 0x09041
-       PrismDIDType1FrameLength               PrismDID = 0xA0044
-       PrismDIDType2FrameLength               PrismDID = 0x0A041
-)
-
-const (
-       PrismType1MessageCode uint16 = 0x00000044
-       PrismType2MessageCode uint16 = 0x00000041
-)
-
-func (p PrismDID) String() string {
-       dids := map[PrismDID]string{
-               PrismDIDType1HostTime:                  "Host Time",
-               PrismDIDType2HostTime:                  "Host Time",
-               PrismDIDType1MACTime:                   "MAC Time",
-               PrismDIDType2MACTime:                   "MAC Time",
-               PrismDIDType1Channel:                   "Channel",
-               PrismDIDType2Channel:                   "Channel",
-               PrismDIDType1RSSI:                      "RSSI",
-               PrismDIDType2RSSI:                      "RSSI",
-               PrismDIDType1SignalQuality:             "Signal Quality",
-               PrismDIDType2SignalQuality:             "Signal Quality",
-               PrismDIDType1Signal:                    "Signal",
-               PrismDIDType2Signal:                    "Signal",
-               PrismDIDType1Noise:                     "Noise",
-               PrismDIDType2Noise:                     "Noise",
-               PrismDIDType1Rate:                      "Rate",
-               PrismDIDType2Rate:                      "Rate",
-               PrismDIDType1TransmittedFrameIndicator: "Transmitted Frame Indicator",
-               PrismDIDType2TransmittedFrameIndicator: "Transmitted Frame Indicator",
-               PrismDIDType1FrameLength:               "Frame Length",
-               PrismDIDType2FrameLength:               "Frame Length",
-       }
-
-       if str, ok := dids[p]; ok {
-               return str
-       }
-
-       return "Unknown DID"
-}
-
-type PrismValue struct {
-       DID    PrismDID
-       Status uint16
-       Length uint16
-       Data   []byte
-}
-
-func (pv *PrismValue) IsSupplied() bool {
-       return pv.Status == 1
-}
-
-var ErrPrismExpectedMoreData = errors.New("Expected more data.")
-var ErrPrismInvalidCode = errors.New("Invalid header code.")
-
-func decodePrismHeader(data []byte, p gopacket.PacketBuilder) error {
-       d := &PrismHeader{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-type PrismHeader struct {
-       BaseLayer
-       Code       uint16
-       Length     uint16
-       DeviceName string
-       Values     []PrismValue
-}
-
-func (m *PrismHeader) LayerType() gopacket.LayerType { return LayerTypePrismHeader }
-
-func (m *PrismHeader) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       m.Code = binary.LittleEndian.Uint16(data[0:4])
-       m.Length = binary.LittleEndian.Uint16(data[4:8])
-       m.DeviceName = string(data[8:24])
-       m.BaseLayer = BaseLayer{Contents: data[:m.Length], Payload: data[m.Length:len(data)]}
-
-       switch m.Code {
-       case PrismType1MessageCode:
-               fallthrough
-       case PrismType2MessageCode:
-               // valid message code
-       default:
-               return ErrPrismInvalidCode
-       }
-
-       offset := uint16(24)
-
-       m.Values = make([]PrismValue, (m.Length-offset)/12)
-       for i := 0; i < len(m.Values); i++ {
-               decodePrismValue(data[offset:offset+12], &m.Values[i])
-               offset += 12
-       }
-
-       if offset != m.Length {
-               return ErrPrismExpectedMoreData
-       }
-
-       return nil
-}
-
-func (m *PrismHeader) CanDecode() gopacket.LayerClass    { return LayerTypePrismHeader }
-func (m *PrismHeader) NextLayerType() gopacket.LayerType { return LayerTypeDot11 }
diff --git a/vendor/github.com/google/gopacket/layers/radiotap.go b/vendor/github.com/google/gopacket/layers/radiotap.go
deleted file mode 100644 (file)
index 4304e75..0000000
+++ /dev/null
@@ -1,1045 +0,0 @@
-// Copyright 2014 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "bytes"
-       "encoding/binary"
-       "fmt"
-       "hash/crc32"
-       "strings"
-
-       "github.com/google/gopacket"
-)
-
-// align calculates the number of bytes needed to align with the width
-// on the offset, returning the number of bytes we need to skip to
-// align to the offset (width).
-func align(offset uint16, width uint16) uint16 {
-       return ((((offset) + ((width) - 1)) & (^((width) - 1))) - offset)
-}
-
-type RadioTapPresent uint32
-
-const (
-       RadioTapPresentTSFT RadioTapPresent = 1 << iota
-       RadioTapPresentFlags
-       RadioTapPresentRate
-       RadioTapPresentChannel
-       RadioTapPresentFHSS
-       RadioTapPresentDBMAntennaSignal
-       RadioTapPresentDBMAntennaNoise
-       RadioTapPresentLockQuality
-       RadioTapPresentTxAttenuation
-       RadioTapPresentDBTxAttenuation
-       RadioTapPresentDBMTxPower
-       RadioTapPresentAntenna
-       RadioTapPresentDBAntennaSignal
-       RadioTapPresentDBAntennaNoise
-       RadioTapPresentRxFlags
-       RadioTapPresentTxFlags
-       RadioTapPresentRtsRetries
-       RadioTapPresentDataRetries
-       _
-       RadioTapPresentMCS
-       RadioTapPresentAMPDUStatus
-       RadioTapPresentVHT
-       RadioTapPresentEXT RadioTapPresent = 1 << 31
-)
-
-func (r RadioTapPresent) TSFT() bool {
-       return r&RadioTapPresentTSFT != 0
-}
-func (r RadioTapPresent) Flags() bool {
-       return r&RadioTapPresentFlags != 0
-}
-func (r RadioTapPresent) Rate() bool {
-       return r&RadioTapPresentRate != 0
-}
-func (r RadioTapPresent) Channel() bool {
-       return r&RadioTapPresentChannel != 0
-}
-func (r RadioTapPresent) FHSS() bool {
-       return r&RadioTapPresentFHSS != 0
-}
-func (r RadioTapPresent) DBMAntennaSignal() bool {
-       return r&RadioTapPresentDBMAntennaSignal != 0
-}
-func (r RadioTapPresent) DBMAntennaNoise() bool {
-       return r&RadioTapPresentDBMAntennaNoise != 0
-}
-func (r RadioTapPresent) LockQuality() bool {
-       return r&RadioTapPresentLockQuality != 0
-}
-func (r RadioTapPresent) TxAttenuation() bool {
-       return r&RadioTapPresentTxAttenuation != 0
-}
-func (r RadioTapPresent) DBTxAttenuation() bool {
-       return r&RadioTapPresentDBTxAttenuation != 0
-}
-func (r RadioTapPresent) DBMTxPower() bool {
-       return r&RadioTapPresentDBMTxPower != 0
-}
-func (r RadioTapPresent) Antenna() bool {
-       return r&RadioTapPresentAntenna != 0
-}
-func (r RadioTapPresent) DBAntennaSignal() bool {
-       return r&RadioTapPresentDBAntennaSignal != 0
-}
-func (r RadioTapPresent) DBAntennaNoise() bool {
-       return r&RadioTapPresentDBAntennaNoise != 0
-}
-func (r RadioTapPresent) RxFlags() bool {
-       return r&RadioTapPresentRxFlags != 0
-}
-func (r RadioTapPresent) TxFlags() bool {
-       return r&RadioTapPresentTxFlags != 0
-}
-func (r RadioTapPresent) RtsRetries() bool {
-       return r&RadioTapPresentRtsRetries != 0
-}
-func (r RadioTapPresent) DataRetries() bool {
-       return r&RadioTapPresentDataRetries != 0
-}
-func (r RadioTapPresent) MCS() bool {
-       return r&RadioTapPresentMCS != 0
-}
-func (r RadioTapPresent) AMPDUStatus() bool {
-       return r&RadioTapPresentAMPDUStatus != 0
-}
-func (r RadioTapPresent) VHT() bool {
-       return r&RadioTapPresentVHT != 0
-}
-func (r RadioTapPresent) EXT() bool {
-       return r&RadioTapPresentEXT != 0
-}
-
-type RadioTapChannelFlags uint16
-
-const (
-       RadioTapChannelFlagsTurbo   RadioTapChannelFlags = 0x0010 // Turbo channel
-       RadioTapChannelFlagsCCK     RadioTapChannelFlags = 0x0020 // CCK channel
-       RadioTapChannelFlagsOFDM    RadioTapChannelFlags = 0x0040 // OFDM channel
-       RadioTapChannelFlagsGhz2    RadioTapChannelFlags = 0x0080 // 2 GHz spectrum channel.
-       RadioTapChannelFlagsGhz5    RadioTapChannelFlags = 0x0100 // 5 GHz spectrum channel
-       RadioTapChannelFlagsPassive RadioTapChannelFlags = 0x0200 // Only passive scan allowed
-       RadioTapChannelFlagsDynamic RadioTapChannelFlags = 0x0400 // Dynamic CCK-OFDM channel
-       RadioTapChannelFlagsGFSK    RadioTapChannelFlags = 0x0800 // GFSK channel (FHSS PHY)
-)
-
-func (r RadioTapChannelFlags) Turbo() bool {
-       return r&RadioTapChannelFlagsTurbo != 0
-}
-func (r RadioTapChannelFlags) CCK() bool {
-       return r&RadioTapChannelFlagsCCK != 0
-}
-func (r RadioTapChannelFlags) OFDM() bool {
-       return r&RadioTapChannelFlagsOFDM != 0
-}
-func (r RadioTapChannelFlags) Ghz2() bool {
-       return r&RadioTapChannelFlagsGhz2 != 0
-}
-func (r RadioTapChannelFlags) Ghz5() bool {
-       return r&RadioTapChannelFlagsGhz5 != 0
-}
-func (r RadioTapChannelFlags) Passive() bool {
-       return r&RadioTapChannelFlagsPassive != 0
-}
-func (r RadioTapChannelFlags) Dynamic() bool {
-       return r&RadioTapChannelFlagsDynamic != 0
-}
-func (r RadioTapChannelFlags) GFSK() bool {
-       return r&RadioTapChannelFlagsGFSK != 0
-}
-
-// String provides a human readable string for RadioTapChannelFlags.
-// This string is possibly subject to change over time; if you're storing this
-// persistently, you should probably store the RadioTapChannelFlags value, not its string.
-func (a RadioTapChannelFlags) String() string {
-       var out bytes.Buffer
-       if a.Turbo() {
-               out.WriteString("Turbo,")
-       }
-       if a.CCK() {
-               out.WriteString("CCK,")
-       }
-       if a.OFDM() {
-               out.WriteString("OFDM,")
-       }
-       if a.Ghz2() {
-               out.WriteString("Ghz2,")
-       }
-       if a.Ghz5() {
-               out.WriteString("Ghz5,")
-       }
-       if a.Passive() {
-               out.WriteString("Passive,")
-       }
-       if a.Dynamic() {
-               out.WriteString("Dynamic,")
-       }
-       if a.GFSK() {
-               out.WriteString("GFSK,")
-       }
-
-       if length := out.Len(); length > 0 {
-               return string(out.Bytes()[:length-1]) // strip final comma
-       }
-       return ""
-}
-
-type RadioTapFlags uint8
-
-const (
-       RadioTapFlagsCFP           RadioTapFlags = 1 << iota // sent/received during CFP
-       RadioTapFlagsShortPreamble                           // sent/received * with short * preamble
-       RadioTapFlagsWEP                                     // sent/received * with WEP encryption
-       RadioTapFlagsFrag                                    // sent/received * with fragmentation
-       RadioTapFlagsFCS                                     // frame includes FCS
-       RadioTapFlagsDatapad                                 // frame has padding between * 802.11 header and payload * (to 32-bit boundary)
-       RadioTapFlagsBadFCS                                  // does not pass FCS check
-       RadioTapFlagsShortGI                                 // HT short GI
-)
-
-func (r RadioTapFlags) CFP() bool {
-       return r&RadioTapFlagsCFP != 0
-}
-func (r RadioTapFlags) ShortPreamble() bool {
-       return r&RadioTapFlagsShortPreamble != 0
-}
-func (r RadioTapFlags) WEP() bool {
-       return r&RadioTapFlagsWEP != 0
-}
-func (r RadioTapFlags) Frag() bool {
-       return r&RadioTapFlagsFrag != 0
-}
-func (r RadioTapFlags) FCS() bool {
-       return r&RadioTapFlagsFCS != 0
-}
-func (r RadioTapFlags) Datapad() bool {
-       return r&RadioTapFlagsDatapad != 0
-}
-func (r RadioTapFlags) BadFCS() bool {
-       return r&RadioTapFlagsBadFCS != 0
-}
-func (r RadioTapFlags) ShortGI() bool {
-       return r&RadioTapFlagsShortGI != 0
-}
-
-// String provides a human readable string for RadioTapFlags.
-// This string is possibly subject to change over time; if you're storing this
-// persistently, you should probably store the RadioTapFlags value, not its string.
-func (a RadioTapFlags) String() string {
-       var out bytes.Buffer
-       if a.CFP() {
-               out.WriteString("CFP,")
-       }
-       if a.ShortPreamble() {
-               out.WriteString("SHORT-PREAMBLE,")
-       }
-       if a.WEP() {
-               out.WriteString("WEP,")
-       }
-       if a.Frag() {
-               out.WriteString("FRAG,")
-       }
-       if a.FCS() {
-               out.WriteString("FCS,")
-       }
-       if a.Datapad() {
-               out.WriteString("DATAPAD,")
-       }
-       if a.ShortGI() {
-               out.WriteString("SHORT-GI,")
-       }
-
-       if length := out.Len(); length > 0 {
-               return string(out.Bytes()[:length-1]) // strip final comma
-       }
-       return ""
-}
-
-type RadioTapRate uint8
-
-func (a RadioTapRate) String() string {
-       return fmt.Sprintf("%v Mb/s", 0.5*float32(a))
-}
-
-type RadioTapChannelFrequency uint16
-
-func (a RadioTapChannelFrequency) String() string {
-       return fmt.Sprintf("%d MHz", a)
-}
-
-type RadioTapRxFlags uint16
-
-const (
-       RadioTapRxFlagsBadPlcp RadioTapRxFlags = 0x0002
-)
-
-func (self RadioTapRxFlags) BadPlcp() bool {
-       return self&RadioTapRxFlagsBadPlcp != 0
-}
-
-func (self RadioTapRxFlags) String() string {
-       if self.BadPlcp() {
-               return "BADPLCP"
-       }
-       return ""
-}
-
-type RadioTapTxFlags uint16
-
-const (
-       RadioTapTxFlagsFail RadioTapTxFlags = 1 << iota
-       RadioTapTxFlagsCTS
-       RadioTapTxFlagsRTS
-       RadioTapTxFlagsNoACK
-)
-
-func (self RadioTapTxFlags) Fail() bool  { return self&RadioTapTxFlagsFail != 0 }
-func (self RadioTapTxFlags) CTS() bool   { return self&RadioTapTxFlagsCTS != 0 }
-func (self RadioTapTxFlags) RTS() bool   { return self&RadioTapTxFlagsRTS != 0 }
-func (self RadioTapTxFlags) NoACK() bool { return self&RadioTapTxFlagsNoACK != 0 }
-
-func (self RadioTapTxFlags) String() string {
-       var tokens []string
-       if self.Fail() {
-               tokens = append(tokens, "Fail")
-       }
-       if self.CTS() {
-               tokens = append(tokens, "CTS")
-       }
-       if self.RTS() {
-               tokens = append(tokens, "RTS")
-       }
-       if self.NoACK() {
-               tokens = append(tokens, "NoACK")
-       }
-       return strings.Join(tokens, ",")
-}
-
-type RadioTapMCS struct {
-       Known RadioTapMCSKnown
-       Flags RadioTapMCSFlags
-       MCS   uint8
-}
-
-func (self RadioTapMCS) String() string {
-       var tokens []string
-       if self.Known.Bandwidth() {
-               token := "?"
-               switch self.Flags.Bandwidth() {
-               case 0:
-                       token = "20"
-               case 1:
-                       token = "40"
-               case 2:
-                       token = "40(20L)"
-               case 3:
-                       token = "40(20U)"
-               }
-               tokens = append(tokens, token)
-       }
-       if self.Known.MCSIndex() {
-               tokens = append(tokens, fmt.Sprintf("MCSIndex#%d", self.MCS))
-       }
-       if self.Known.GuardInterval() {
-               if self.Flags.ShortGI() {
-                       tokens = append(tokens, fmt.Sprintf("shortGI"))
-               } else {
-                       tokens = append(tokens, fmt.Sprintf("longGI"))
-               }
-       }
-       if self.Known.HTFormat() {
-               if self.Flags.Greenfield() {
-                       tokens = append(tokens, fmt.Sprintf("HT-greenfield"))
-               } else {
-                       tokens = append(tokens, fmt.Sprintf("HT-mixed"))
-               }
-       }
-       if self.Known.FECType() {
-               if self.Flags.FECLDPC() {
-                       tokens = append(tokens, fmt.Sprintf("LDPC"))
-               } else {
-                       tokens = append(tokens, fmt.Sprintf("BCC"))
-               }
-       }
-       if self.Known.STBC() {
-               tokens = append(tokens, fmt.Sprintf("STBC#%d", self.Flags.STBC()))
-       }
-       if self.Known.NESS() {
-               num := 0
-               if self.Known.NESS1() {
-                       num |= 0x02
-               }
-               if self.Flags.NESS0() {
-                       num |= 0x01
-               }
-               tokens = append(tokens, fmt.Sprintf("num-of-ESS#%d", num))
-       }
-       return strings.Join(tokens, ",")
-}
-
-type RadioTapMCSKnown uint8
-
-const (
-       RadioTapMCSKnownBandwidth RadioTapMCSKnown = 1 << iota
-       RadioTapMCSKnownMCSIndex
-       RadioTapMCSKnownGuardInterval
-       RadioTapMCSKnownHTFormat
-       RadioTapMCSKnownFECType
-       RadioTapMCSKnownSTBC
-       RadioTapMCSKnownNESS
-       RadioTapMCSKnownNESS1
-)
-
-func (self RadioTapMCSKnown) Bandwidth() bool     { return self&RadioTapMCSKnownBandwidth != 0 }
-func (self RadioTapMCSKnown) MCSIndex() bool      { return self&RadioTapMCSKnownMCSIndex != 0 }
-func (self RadioTapMCSKnown) GuardInterval() bool { return self&RadioTapMCSKnownGuardInterval != 0 }
-func (self RadioTapMCSKnown) HTFormat() bool      { return self&RadioTapMCSKnownHTFormat != 0 }
-func (self RadioTapMCSKnown) FECType() bool       { return self&RadioTapMCSKnownFECType != 0 }
-func (self RadioTapMCSKnown) STBC() bool          { return self&RadioTapMCSKnownSTBC != 0 }
-func (self RadioTapMCSKnown) NESS() bool          { return self&RadioTapMCSKnownNESS != 0 }
-func (self RadioTapMCSKnown) NESS1() bool         { return self&RadioTapMCSKnownNESS1 != 0 }
-
-type RadioTapMCSFlags uint8
-
-const (
-       RadioTapMCSFlagsBandwidthMask RadioTapMCSFlags = 0x03
-       RadioTapMCSFlagsShortGI                        = 0x04
-       RadioTapMCSFlagsGreenfield                     = 0x08
-       RadioTapMCSFlagsFECLDPC                        = 0x10
-       RadioTapMCSFlagsSTBCMask                       = 0x60
-       RadioTapMCSFlagsNESS0                          = 0x80
-)
-
-func (self RadioTapMCSFlags) Bandwidth() int {
-       return int(self & RadioTapMCSFlagsBandwidthMask)
-}
-func (self RadioTapMCSFlags) ShortGI() bool    { return self&RadioTapMCSFlagsShortGI != 0 }
-func (self RadioTapMCSFlags) Greenfield() bool { return self&RadioTapMCSFlagsGreenfield != 0 }
-func (self RadioTapMCSFlags) FECLDPC() bool    { return self&RadioTapMCSFlagsFECLDPC != 0 }
-func (self RadioTapMCSFlags) STBC() int {
-       return int(self&RadioTapMCSFlagsSTBCMask) >> 5
-}
-func (self RadioTapMCSFlags) NESS0() bool { return self&RadioTapMCSFlagsNESS0 != 0 }
-
-type RadioTapAMPDUStatus struct {
-       Reference uint32
-       Flags     RadioTapAMPDUStatusFlags
-       CRC       uint8
-}
-
-func (self RadioTapAMPDUStatus) String() string {
-       tokens := []string{
-               fmt.Sprintf("ref#%x", self.Reference),
-       }
-       if self.Flags.ReportZerolen() && self.Flags.IsZerolen() {
-               tokens = append(tokens, fmt.Sprintf("zero-length"))
-       }
-       if self.Flags.LastKnown() && self.Flags.IsLast() {
-               tokens = append(tokens, "last")
-       }
-       if self.Flags.DelimCRCErr() {
-               tokens = append(tokens, "delimiter CRC error")
-       }
-       if self.Flags.DelimCRCKnown() {
-               tokens = append(tokens, fmt.Sprintf("delimiter-CRC=%02x", self.CRC))
-       }
-       return strings.Join(tokens, ",")
-}
-
-type RadioTapAMPDUStatusFlags uint16
-
-const (
-       RadioTapAMPDUStatusFlagsReportZerolen RadioTapAMPDUStatusFlags = 1 << iota
-       RadioTapAMPDUIsZerolen
-       RadioTapAMPDULastKnown
-       RadioTapAMPDUIsLast
-       RadioTapAMPDUDelimCRCErr
-       RadioTapAMPDUDelimCRCKnown
-)
-
-func (self RadioTapAMPDUStatusFlags) ReportZerolen() bool {
-       return self&RadioTapAMPDUStatusFlagsReportZerolen != 0
-}
-func (self RadioTapAMPDUStatusFlags) IsZerolen() bool     { return self&RadioTapAMPDUIsZerolen != 0 }
-func (self RadioTapAMPDUStatusFlags) LastKnown() bool     { return self&RadioTapAMPDULastKnown != 0 }
-func (self RadioTapAMPDUStatusFlags) IsLast() bool        { return self&RadioTapAMPDUIsLast != 0 }
-func (self RadioTapAMPDUStatusFlags) DelimCRCErr() bool   { return self&RadioTapAMPDUDelimCRCErr != 0 }
-func (self RadioTapAMPDUStatusFlags) DelimCRCKnown() bool { return self&RadioTapAMPDUDelimCRCKnown != 0 }
-
-type RadioTapVHT struct {
-       Known      RadioTapVHTKnown
-       Flags      RadioTapVHTFlags
-       Bandwidth  uint8
-       MCSNSS     [4]RadioTapVHTMCSNSS
-       Coding     uint8
-       GroupId    uint8
-       PartialAID uint16
-}
-
-func (self RadioTapVHT) String() string {
-       var tokens []string
-       if self.Known.STBC() {
-               if self.Flags.STBC() {
-                       tokens = append(tokens, "STBC")
-               } else {
-                       tokens = append(tokens, "no STBC")
-               }
-       }
-       if self.Known.TXOPPSNotAllowed() {
-               if self.Flags.TXOPPSNotAllowed() {
-                       tokens = append(tokens, "TXOP doze not allowed")
-               } else {
-                       tokens = append(tokens, "TXOP doze allowed")
-               }
-       }
-       if self.Known.GI() {
-               if self.Flags.SGI() {
-                       tokens = append(tokens, "short GI")
-               } else {
-                       tokens = append(tokens, "long GI")
-               }
-       }
-       if self.Known.SGINSYMDisambiguation() {
-               if self.Flags.SGINSYMMod() {
-                       tokens = append(tokens, "NSYM mod 10=9")
-               } else {
-                       tokens = append(tokens, "NSYM mod 10!=9 or no short GI")
-               }
-       }
-       if self.Known.LDPCExtraOFDMSymbol() {
-               if self.Flags.LDPCExtraOFDMSymbol() {
-                       tokens = append(tokens, "LDPC extra OFDM symbols")
-               } else {
-                       tokens = append(tokens, "no LDPC extra OFDM symbols")
-               }
-       }
-       if self.Known.Beamformed() {
-               if self.Flags.Beamformed() {
-                       tokens = append(tokens, "beamformed")
-               } else {
-                       tokens = append(tokens, "no beamformed")
-               }
-       }
-       if self.Known.Bandwidth() {
-               token := "?"
-               switch self.Bandwidth & 0x1f {
-               case 0:
-                       token = "20"
-               case 1:
-                       token = "40"
-               case 2:
-                       token = "40(20L)"
-               case 3:
-                       token = "40(20U)"
-               case 4:
-                       token = "80"
-               case 5:
-                       token = "80(40L)"
-               case 6:
-                       token = "80(40U)"
-               case 7:
-                       token = "80(20LL)"
-               case 8:
-                       token = "80(20LU)"
-               case 9:
-                       token = "80(20UL)"
-               case 10:
-                       token = "80(20UU)"
-               case 11:
-                       token = "160"
-               case 12:
-                       token = "160(80L)"
-               case 13:
-                       token = "160(80U)"
-               case 14:
-                       token = "160(40LL)"
-               case 15:
-                       token = "160(40LU)"
-               case 16:
-                       token = "160(40UL)"
-               case 17:
-                       token = "160(40UU)"
-               case 18:
-                       token = "160(20LLL)"
-               case 19:
-                       token = "160(20LLU)"
-               case 20:
-                       token = "160(20LUL)"
-               case 21:
-                       token = "160(20LUU)"
-               case 22:
-                       token = "160(20ULL)"
-               case 23:
-                       token = "160(20ULU)"
-               case 24:
-                       token = "160(20UUL)"
-               case 25:
-                       token = "160(20UUU)"
-               }
-               tokens = append(tokens, token)
-       }
-       for i, MCSNSS := range self.MCSNSS {
-               if MCSNSS.Present() {
-                       fec := "?"
-                       switch self.Coding & (1 << uint8(i)) {
-                       case 0:
-                               fec = "BCC"
-                       case 1:
-                               fec = "LDPC"
-                       }
-                       tokens = append(tokens, fmt.Sprintf("user%d(%s,%s)", i, MCSNSS.String(), fec))
-               }
-       }
-       if self.Known.GroupId() {
-               tokens = append(tokens,
-                       fmt.Sprintf("group=%d", self.GroupId))
-       }
-       if self.Known.PartialAID() {
-               tokens = append(tokens,
-                       fmt.Sprintf("partial-AID=%d", self.PartialAID))
-       }
-       return strings.Join(tokens, ",")
-}
-
-type RadioTapVHTKnown uint16
-
-const (
-       RadioTapVHTKnownSTBC RadioTapVHTKnown = 1 << iota
-       RadioTapVHTKnownTXOPPSNotAllowed
-       RadioTapVHTKnownGI
-       RadioTapVHTKnownSGINSYMDisambiguation
-       RadioTapVHTKnownLDPCExtraOFDMSymbol
-       RadioTapVHTKnownBeamformed
-       RadioTapVHTKnownBandwidth
-       RadioTapVHTKnownGroupId
-       RadioTapVHTKnownPartialAID
-)
-
-func (self RadioTapVHTKnown) STBC() bool { return self&RadioTapVHTKnownSTBC != 0 }
-func (self RadioTapVHTKnown) TXOPPSNotAllowed() bool {
-       return self&RadioTapVHTKnownTXOPPSNotAllowed != 0
-}
-func (self RadioTapVHTKnown) GI() bool { return self&RadioTapVHTKnownGI != 0 }
-func (self RadioTapVHTKnown) SGINSYMDisambiguation() bool {
-       return self&RadioTapVHTKnownSGINSYMDisambiguation != 0
-}
-func (self RadioTapVHTKnown) LDPCExtraOFDMSymbol() bool {
-       return self&RadioTapVHTKnownLDPCExtraOFDMSymbol != 0
-}
-func (self RadioTapVHTKnown) Beamformed() bool { return self&RadioTapVHTKnownBeamformed != 0 }
-func (self RadioTapVHTKnown) Bandwidth() bool  { return self&RadioTapVHTKnownBandwidth != 0 }
-func (self RadioTapVHTKnown) GroupId() bool    { return self&RadioTapVHTKnownGroupId != 0 }
-func (self RadioTapVHTKnown) PartialAID() bool { return self&RadioTapVHTKnownPartialAID != 0 }
-
-type RadioTapVHTFlags uint8
-
-const (
-       RadioTapVHTFlagsSTBC RadioTapVHTFlags = 1 << iota
-       RadioTapVHTFlagsTXOPPSNotAllowed
-       RadioTapVHTFlagsSGI
-       RadioTapVHTFlagsSGINSYMMod
-       RadioTapVHTFlagsLDPCExtraOFDMSymbol
-       RadioTapVHTFlagsBeamformed
-)
-
-func (self RadioTapVHTFlags) STBC() bool { return self&RadioTapVHTFlagsSTBC != 0 }
-func (self RadioTapVHTFlags) TXOPPSNotAllowed() bool {
-       return self&RadioTapVHTFlagsTXOPPSNotAllowed != 0
-}
-func (self RadioTapVHTFlags) SGI() bool        { return self&RadioTapVHTFlagsSGI != 0 }
-func (self RadioTapVHTFlags) SGINSYMMod() bool { return self&RadioTapVHTFlagsSGINSYMMod != 0 }
-func (self RadioTapVHTFlags) LDPCExtraOFDMSymbol() bool {
-       return self&RadioTapVHTFlagsLDPCExtraOFDMSymbol != 0
-}
-func (self RadioTapVHTFlags) Beamformed() bool { return self&RadioTapVHTFlagsBeamformed != 0 }
-
-type RadioTapVHTMCSNSS uint8
-
-func (self RadioTapVHTMCSNSS) Present() bool {
-       return self&0x0F != 0
-}
-
-func (self RadioTapVHTMCSNSS) String() string {
-       return fmt.Sprintf("NSS#%dMCS#%d", uint32(self&0xf), uint32(self>>4))
-}
-
-func decodeRadioTap(data []byte, p gopacket.PacketBuilder) error {
-       d := &RadioTap{}
-       // TODO: Should we set LinkLayer here? And implement LinkFlow
-       return decodingLayerDecoder(d, data, p)
-}
-
-type RadioTap struct {
-       BaseLayer
-
-       // Version 0. Only increases for drastic changes, introduction of compatible new fields does not count.
-       Version uint8
-       // Length of the whole header in bytes, including it_version, it_pad, it_len, and data fields.
-       Length uint16
-       // Present is a bitmap telling which fields are present. Set bit 31 (0x80000000) to extend the bitmap by another 32 bits. Additional extensions are made by setting bit 31.
-       Present RadioTapPresent
-       // TSFT: value in microseconds of the MAC's 64-bit 802.11 Time Synchronization Function timer when the first bit of the MPDU arrived at the MAC. For received frames, only.
-       TSFT  uint64
-       Flags RadioTapFlags
-       // Rate Tx/Rx data rate
-       Rate RadioTapRate
-       // ChannelFrequency Tx/Rx frequency in MHz, followed by flags
-       ChannelFrequency RadioTapChannelFrequency
-       ChannelFlags     RadioTapChannelFlags
-       // FHSS For frequency-hopping radios, the hop set (first byte) and pattern (second byte).
-       FHSS uint16
-       // DBMAntennaSignal RF signal power at the antenna, decibel difference from one milliwatt.
-       DBMAntennaSignal int8
-       // DBMAntennaNoise RF noise power at the antenna, decibel difference from one milliwatt.
-       DBMAntennaNoise int8
-       // LockQuality Quality of Barker code lock. Unitless. Monotonically nondecreasing with "better" lock strength. Called "Signal Quality" in datasheets.
-       LockQuality uint16
-       // TxAttenuation Transmit power expressed as unitless distance from max power set at factory calibration.  0 is max power. Monotonically nondecreasing with lower power levels.
-       TxAttenuation uint16
-       // DBTxAttenuation Transmit power expressed as decibel distance from max power set at factory calibration.  0 is max power.  Monotonically nondecreasing with lower power levels.
-       DBTxAttenuation uint16
-       // DBMTxPower Transmit power expressed as dBm (decibels from a 1 milliwatt reference). This is the absolute power level measured at the antenna port.
-       DBMTxPower int8
-       // Antenna Unitless indication of the Rx/Tx antenna for this packet. The first antenna is antenna 0.
-       Antenna uint8
-       // DBAntennaSignal RF signal power at the antenna, decibel difference from an arbitrary, fixed reference.
-       DBAntennaSignal uint8
-       // DBAntennaNoise RF noise power at the antenna, decibel difference from an arbitrary, fixed reference point.
-       DBAntennaNoise uint8
-       //
-       RxFlags     RadioTapRxFlags
-       TxFlags     RadioTapTxFlags
-       RtsRetries  uint8
-       DataRetries uint8
-       MCS         RadioTapMCS
-       AMPDUStatus RadioTapAMPDUStatus
-       VHT         RadioTapVHT
-}
-
-func (m *RadioTap) LayerType() gopacket.LayerType { return LayerTypeRadioTap }
-
-func (m *RadioTap) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       m.Version = uint8(data[0])
-       m.Length = binary.LittleEndian.Uint16(data[2:4])
-       m.Present = RadioTapPresent(binary.LittleEndian.Uint32(data[4:8]))
-
-       offset := uint16(4)
-
-       for (binary.LittleEndian.Uint32(data[offset:offset+4]) & 0x80000000) != 0 {
-               // This parser only handles standard radiotap namespace,
-               // and expects all fields are packed in the first it_present.
-               // Extended bitmap will be just ignored.
-               offset += 4
-       }
-       offset += 4 // skip the bitmap
-
-       if m.Present.TSFT() {
-               offset += align(offset, 8)
-               m.TSFT = binary.LittleEndian.Uint64(data[offset : offset+8])
-               offset += 8
-       }
-       if m.Present.Flags() {
-               m.Flags = RadioTapFlags(data[offset])
-               offset++
-       }
-       if m.Present.Rate() {
-               m.Rate = RadioTapRate(data[offset])
-               offset++
-       }
-       if m.Present.Channel() {
-               offset += align(offset, 2)
-               m.ChannelFrequency = RadioTapChannelFrequency(binary.LittleEndian.Uint16(data[offset : offset+2]))
-               offset += 2
-               m.ChannelFlags = RadioTapChannelFlags(binary.LittleEndian.Uint16(data[offset : offset+2]))
-               offset += 2
-       }
-       if m.Present.FHSS() {
-               m.FHSS = binary.LittleEndian.Uint16(data[offset : offset+2])
-               offset += 2
-       }
-       if m.Present.DBMAntennaSignal() {
-               m.DBMAntennaSignal = int8(data[offset])
-               offset++
-       }
-       if m.Present.DBMAntennaNoise() {
-               m.DBMAntennaNoise = int8(data[offset])
-               offset++
-       }
-       if m.Present.LockQuality() {
-               offset += align(offset, 2)
-               m.LockQuality = binary.LittleEndian.Uint16(data[offset : offset+2])
-               offset += 2
-       }
-       if m.Present.TxAttenuation() {
-               offset += align(offset, 2)
-               m.TxAttenuation = binary.LittleEndian.Uint16(data[offset : offset+2])
-               offset += 2
-       }
-       if m.Present.DBTxAttenuation() {
-               offset += align(offset, 2)
-               m.DBTxAttenuation = binary.LittleEndian.Uint16(data[offset : offset+2])
-               offset += 2
-       }
-       if m.Present.DBMTxPower() {
-               m.DBMTxPower = int8(data[offset])
-               offset++
-       }
-       if m.Present.Antenna() {
-               m.Antenna = uint8(data[offset])
-               offset++
-       }
-       if m.Present.DBAntennaSignal() {
-               m.DBAntennaSignal = uint8(data[offset])
-               offset++
-       }
-       if m.Present.DBAntennaNoise() {
-               m.DBAntennaNoise = uint8(data[offset])
-               offset++
-       }
-       if m.Present.RxFlags() {
-               offset += align(offset, 2)
-               m.RxFlags = RadioTapRxFlags(binary.LittleEndian.Uint16(data[offset:]))
-               offset += 2
-       }
-       if m.Present.TxFlags() {
-               offset += align(offset, 2)
-               m.TxFlags = RadioTapTxFlags(binary.LittleEndian.Uint16(data[offset:]))
-               offset += 2
-       }
-       if m.Present.RtsRetries() {
-               m.RtsRetries = uint8(data[offset])
-               offset++
-       }
-       if m.Present.DataRetries() {
-               m.DataRetries = uint8(data[offset])
-               offset++
-       }
-       if m.Present.MCS() {
-               m.MCS = RadioTapMCS{
-                       RadioTapMCSKnown(data[offset]),
-                       RadioTapMCSFlags(data[offset+1]),
-                       uint8(data[offset+2]),
-               }
-               offset += 3
-       }
-       if m.Present.AMPDUStatus() {
-               offset += align(offset, 4)
-               m.AMPDUStatus = RadioTapAMPDUStatus{
-                       Reference: binary.LittleEndian.Uint32(data[offset:]),
-                       Flags:     RadioTapAMPDUStatusFlags(binary.LittleEndian.Uint16(data[offset+4:])),
-                       CRC:       uint8(data[offset+6]),
-               }
-               offset += 8
-       }
-       if m.Present.VHT() {
-               offset += align(offset, 2)
-               m.VHT = RadioTapVHT{
-                       Known:     RadioTapVHTKnown(binary.LittleEndian.Uint16(data[offset:])),
-                       Flags:     RadioTapVHTFlags(data[offset+2]),
-                       Bandwidth: uint8(data[offset+3]),
-                       MCSNSS: [4]RadioTapVHTMCSNSS{
-                               RadioTapVHTMCSNSS(data[offset+4]),
-                               RadioTapVHTMCSNSS(data[offset+5]),
-                               RadioTapVHTMCSNSS(data[offset+6]),
-                               RadioTapVHTMCSNSS(data[offset+7]),
-                       },
-                       Coding:     uint8(data[offset+8]),
-                       GroupId:    uint8(data[offset+9]),
-                       PartialAID: binary.LittleEndian.Uint16(data[offset+10:]),
-               }
-               offset += 12
-       }
-
-       payload := data[m.Length:]
-       if !m.Flags.FCS() { // Dot11.DecodeFromBytes() expects FCS present
-               fcs := make([]byte, 4)
-               h := crc32.NewIEEE()
-               h.Write(payload)
-               binary.LittleEndian.PutUint32(fcs, h.Sum32())
-               payload = append(payload, fcs...)
-       }
-       m.BaseLayer = BaseLayer{Contents: data[:m.Length], Payload: payload}
-
-       return nil
-}
-
-func (m RadioTap) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       buf := make([]byte, 1024)
-
-       buf[0] = m.Version
-       buf[1] = 0
-
-       binary.LittleEndian.PutUint32(buf[4:8], uint32(m.Present))
-
-       offset := uint16(4)
-
-       for (binary.LittleEndian.Uint32(buf[offset:offset+4]) & 0x80000000) != 0 {
-               offset += 4
-       }
-
-       offset += 4
-
-       if m.Present.TSFT() {
-               offset += align(offset, 8)
-               binary.LittleEndian.PutUint64(buf[offset:offset+8], m.TSFT)
-               offset += 8
-       }
-
-       if m.Present.Flags() {
-               buf[offset] = uint8(m.Flags)
-               offset++
-       }
-
-       if m.Present.Rate() {
-               buf[offset] = uint8(m.Rate)
-               offset++
-       }
-
-       if m.Present.Channel() {
-               offset += align(offset, 2)
-               binary.LittleEndian.PutUint16(buf[offset:offset+2], uint16(m.ChannelFrequency))
-               offset += 2
-               binary.LittleEndian.PutUint16(buf[offset:offset+2], uint16(m.ChannelFlags))
-               offset += 2
-       }
-
-       if m.Present.FHSS() {
-               binary.LittleEndian.PutUint16(buf[offset:offset+2], m.FHSS)
-               offset += 2
-       }
-
-       if m.Present.DBMAntennaSignal() {
-               buf[offset] = byte(m.DBMAntennaSignal)
-               offset++
-       }
-
-       if m.Present.DBMAntennaNoise() {
-               buf[offset] = byte(m.DBMAntennaNoise)
-               offset++
-       }
-
-       if m.Present.LockQuality() {
-               offset += align(offset, 2)
-               binary.LittleEndian.PutUint16(buf[offset:offset+2], m.LockQuality)
-               offset += 2
-       }
-
-       if m.Present.TxAttenuation() {
-               offset += align(offset, 2)
-               binary.LittleEndian.PutUint16(buf[offset:offset+2], m.TxAttenuation)
-               offset += 2
-       }
-
-       if m.Present.DBTxAttenuation() {
-               offset += align(offset, 2)
-               binary.LittleEndian.PutUint16(buf[offset:offset+2], m.DBTxAttenuation)
-               offset += 2
-       }
-
-       if m.Present.DBMTxPower() {
-               buf[offset] = byte(m.DBMTxPower)
-               offset++
-       }
-
-       if m.Present.Antenna() {
-               buf[offset] = uint8(m.Antenna)
-               offset++
-       }
-
-       if m.Present.DBAntennaSignal() {
-               buf[offset] = uint8(m.DBAntennaSignal)
-               offset++
-       }
-
-       if m.Present.DBAntennaNoise() {
-               buf[offset] = uint8(m.DBAntennaNoise)
-               offset++
-       }
-
-       if m.Present.RxFlags() {
-               offset += align(offset, 2)
-               binary.LittleEndian.PutUint16(buf[offset:offset+2], uint16(m.RxFlags))
-               offset += 2
-       }
-
-       if m.Present.TxFlags() {
-               offset += align(offset, 2)
-               binary.LittleEndian.PutUint16(buf[offset:offset+2], uint16(m.TxFlags))
-               offset += 2
-       }
-
-       if m.Present.RtsRetries() {
-               buf[offset] = m.RtsRetries
-               offset++
-       }
-
-       if m.Present.DataRetries() {
-               buf[offset] = m.DataRetries
-               offset++
-       }
-
-       if m.Present.MCS() {
-               buf[offset] = uint8(m.MCS.Known)
-               buf[offset+1] = uint8(m.MCS.Flags)
-               buf[offset+2] = uint8(m.MCS.MCS)
-
-               offset += 3
-       }
-
-       if m.Present.AMPDUStatus() {
-               offset += align(offset, 4)
-
-               binary.LittleEndian.PutUint32(buf[offset:offset+4], m.AMPDUStatus.Reference)
-               binary.LittleEndian.PutUint16(buf[offset+4:offset+6], uint16(m.AMPDUStatus.Flags))
-
-               buf[offset+6] = m.AMPDUStatus.CRC
-
-               offset += 8
-       }
-
-       if m.Present.VHT() {
-               offset += align(offset, 2)
-
-               binary.LittleEndian.PutUint16(buf[offset:], uint16(m.VHT.Known))
-
-               buf[offset+2] = uint8(m.VHT.Flags)
-               buf[offset+3] = uint8(m.VHT.Bandwidth)
-               buf[offset+4] = uint8(m.VHT.MCSNSS[0])
-               buf[offset+5] = uint8(m.VHT.MCSNSS[1])
-               buf[offset+6] = uint8(m.VHT.MCSNSS[2])
-               buf[offset+7] = uint8(m.VHT.MCSNSS[3])
-               buf[offset+8] = uint8(m.VHT.Coding)
-               buf[offset+9] = uint8(m.VHT.GroupId)
-
-               binary.LittleEndian.PutUint16(buf[offset+10:offset+12], m.VHT.PartialAID)
-
-               offset += 12
-       }
-
-       packetBuf, err := b.PrependBytes(int(offset))
-
-       if err != nil {
-               return err
-       }
-
-       if opts.FixLengths {
-               m.Length = offset
-       }
-
-       binary.LittleEndian.PutUint16(buf[2:4], m.Length)
-
-       copy(packetBuf, buf)
-
-       return nil
-}
-
-func (m *RadioTap) CanDecode() gopacket.LayerClass    { return LayerTypeRadioTap }
-func (m *RadioTap) NextLayerType() gopacket.LayerType { return LayerTypeDot11 }
diff --git a/vendor/github.com/google/gopacket/layers/rudp.go b/vendor/github.com/google/gopacket/layers/rudp.go
deleted file mode 100644 (file)
index 8435129..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "fmt"
-       "github.com/google/gopacket"
-)
-
-type RUDP struct {
-       BaseLayer
-       SYN, ACK, EACK, RST, NUL bool
-       Version                  uint8
-       HeaderLength             uint8
-       SrcPort, DstPort         RUDPPort
-       DataLength               uint16
-       Seq, Ack, Checksum       uint32
-       VariableHeaderArea       []byte
-       // RUDPHeaderSyn contains SYN information for the RUDP packet,
-       // if the SYN flag is set
-       *RUDPHeaderSYN
-       // RUDPHeaderEack contains EACK information for the RUDP packet,
-       // if the EACK flag is set.
-       *RUDPHeaderEACK
-}
-
-type RUDPHeaderSYN struct {
-       MaxOutstandingSegments, MaxSegmentSize, OptionFlags uint16
-}
-
-type RUDPHeaderEACK struct {
-       SeqsReceivedOK []uint32
-}
-
-// LayerType returns gopacket.LayerTypeRUDP.
-func (r *RUDP) LayerType() gopacket.LayerType { return LayerTypeRUDP }
-
-func decodeRUDP(data []byte, p gopacket.PacketBuilder) error {
-       r := &RUDP{
-               SYN:          data[0]&0x80 != 0,
-               ACK:          data[0]&0x40 != 0,
-               EACK:         data[0]&0x20 != 0,
-               RST:          data[0]&0x10 != 0,
-               NUL:          data[0]&0x08 != 0,
-               Version:      data[0] & 0x3,
-               HeaderLength: data[1],
-               SrcPort:      RUDPPort(data[2]),
-               DstPort:      RUDPPort(data[3]),
-               DataLength:   binary.BigEndian.Uint16(data[4:6]),
-               Seq:          binary.BigEndian.Uint32(data[6:10]),
-               Ack:          binary.BigEndian.Uint32(data[10:14]),
-               Checksum:     binary.BigEndian.Uint32(data[14:18]),
-       }
-       if r.HeaderLength < 9 {
-               return fmt.Errorf("RUDP packet with too-short header length %d", r.HeaderLength)
-       }
-       hlen := int(r.HeaderLength) * 2
-       r.Contents = data[:hlen]
-       r.Payload = data[hlen : hlen+int(r.DataLength)]
-       r.VariableHeaderArea = data[18:hlen]
-       headerData := r.VariableHeaderArea
-       switch {
-       case r.SYN:
-               if len(headerData) != 6 {
-                       return fmt.Errorf("RUDP packet invalid SYN header length: %d", len(headerData))
-               }
-               r.RUDPHeaderSYN = &RUDPHeaderSYN{
-                       MaxOutstandingSegments: binary.BigEndian.Uint16(headerData[:2]),
-                       MaxSegmentSize:         binary.BigEndian.Uint16(headerData[2:4]),
-                       OptionFlags:            binary.BigEndian.Uint16(headerData[4:6]),
-               }
-       case r.EACK:
-               if len(headerData)%4 != 0 {
-                       return fmt.Errorf("RUDP packet invalid EACK header length: %d", len(headerData))
-               }
-               r.RUDPHeaderEACK = &RUDPHeaderEACK{make([]uint32, len(headerData)/4)}
-               for i := 0; i < len(headerData); i += 4 {
-                       r.SeqsReceivedOK[i/4] = binary.BigEndian.Uint32(headerData[i : i+4])
-               }
-       }
-       p.AddLayer(r)
-       p.SetTransportLayer(r)
-       return p.NextDecoder(gopacket.LayerTypePayload)
-}
-
-func (r *RUDP) TransportFlow() gopacket.Flow {
-       return gopacket.NewFlow(EndpointRUDPPort, []byte{byte(r.SrcPort)}, []byte{byte(r.DstPort)})
-}
diff --git a/vendor/github.com/google/gopacket/layers/sctp.go b/vendor/github.com/google/gopacket/layers/sctp.go
deleted file mode 100644 (file)
index 511176e..0000000
+++ /dev/null
@@ -1,746 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "errors"
-       "fmt"
-       "hash/crc32"
-
-       "github.com/google/gopacket"
-)
-
-// SCTP contains information on the top level of an SCTP packet.
-type SCTP struct {
-       BaseLayer
-       SrcPort, DstPort SCTPPort
-       VerificationTag  uint32
-       Checksum         uint32
-       sPort, dPort     []byte
-}
-
-// LayerType returns gopacket.LayerTypeSCTP
-func (s *SCTP) LayerType() gopacket.LayerType { return LayerTypeSCTP }
-
-func decodeSCTP(data []byte, p gopacket.PacketBuilder) error {
-       sctp := &SCTP{}
-       err := sctp.DecodeFromBytes(data, p)
-       p.AddLayer(sctp)
-       p.SetTransportLayer(sctp)
-       if err != nil {
-               return err
-       }
-       return p.NextDecoder(sctpChunkTypePrefixDecoder)
-}
-
-var sctpChunkTypePrefixDecoder = gopacket.DecodeFunc(decodeWithSCTPChunkTypePrefix)
-
-// TransportFlow returns a flow based on the source and destination SCTP port.
-func (s *SCTP) TransportFlow() gopacket.Flow {
-       return gopacket.NewFlow(EndpointSCTPPort, s.sPort, s.dPort)
-}
-
-func decodeWithSCTPChunkTypePrefix(data []byte, p gopacket.PacketBuilder) error {
-       chunkType := SCTPChunkType(data[0])
-       return chunkType.Decode(data, p)
-}
-
-// SerializeTo is for gopacket.SerializableLayer.
-func (s SCTP) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       bytes, err := b.PrependBytes(12)
-       if err != nil {
-               return err
-       }
-       binary.BigEndian.PutUint16(bytes[0:2], uint16(s.SrcPort))
-       binary.BigEndian.PutUint16(bytes[2:4], uint16(s.DstPort))
-       binary.BigEndian.PutUint32(bytes[4:8], s.VerificationTag)
-       if opts.ComputeChecksums {
-               // Note:  MakeTable(Castagnoli) actually only creates the table once, then
-               // passes back a singleton on every other call, so this shouldn't cause
-               // excessive memory allocation.
-               binary.LittleEndian.PutUint32(bytes[8:12], crc32.Checksum(b.Bytes(), crc32.MakeTable(crc32.Castagnoli)))
-       }
-       return nil
-}
-
-func (sctp *SCTP) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       if len(data) < 12 {
-               return errors.New("Invalid SCTP common header length")
-       }
-       sctp.SrcPort = SCTPPort(binary.BigEndian.Uint16(data[:2]))
-       sctp.sPort = data[:2]
-       sctp.DstPort = SCTPPort(binary.BigEndian.Uint16(data[2:4]))
-       sctp.dPort = data[2:4]
-       sctp.VerificationTag = binary.BigEndian.Uint32(data[4:8])
-       sctp.Checksum = binary.BigEndian.Uint32(data[8:12])
-       sctp.BaseLayer = BaseLayer{data[:12], data[12:]}
-
-       return nil
-}
-
-func (t *SCTP) CanDecode() gopacket.LayerClass {
-       return LayerTypeSCTP
-}
-
-func (t *SCTP) NextLayerType() gopacket.LayerType {
-       return gopacket.LayerTypePayload
-}
-
-// SCTPChunk contains the common fields in all SCTP chunks.
-type SCTPChunk struct {
-       BaseLayer
-       Type   SCTPChunkType
-       Flags  uint8
-       Length uint16
-       // ActualLength is the total length of an SCTP chunk, including padding.
-       // SCTP chunks start and end on 4-byte boundaries.  So if a chunk has a length
-       // of 18, it means that it has data up to and including byte 18, then padding
-       // up to the next 4-byte boundary, 20.  In this case, Length would be 18, and
-       // ActualLength would be 20.
-       ActualLength int
-}
-
-func roundUpToNearest4(i int) int {
-       if i%4 == 0 {
-               return i
-       }
-       return i + 4 - (i % 4)
-}
-
-func decodeSCTPChunk(data []byte) (SCTPChunk, error) {
-       length := binary.BigEndian.Uint16(data[2:4])
-       if length < 4 {
-               return SCTPChunk{}, errors.New("invalid SCTP chunk length")
-       }
-       actual := roundUpToNearest4(int(length))
-       ct := SCTPChunkType(data[0])
-
-       // For SCTP Data, use a separate layer for the payload
-       delta := 0
-       if ct == SCTPChunkTypeData {
-               delta = int(actual) - int(length)
-               actual = 16
-       }
-
-       return SCTPChunk{
-               Type:         ct,
-               Flags:        data[1],
-               Length:       length,
-               ActualLength: actual,
-               BaseLayer:    BaseLayer{data[:actual], data[actual : len(data)-delta]},
-       }, nil
-}
-
-// SCTPParameter is a TLV parameter inside a SCTPChunk.
-type SCTPParameter struct {
-       Type         uint16
-       Length       uint16
-       ActualLength int
-       Value        []byte
-}
-
-func decodeSCTPParameter(data []byte) SCTPParameter {
-       length := binary.BigEndian.Uint16(data[2:4])
-       return SCTPParameter{
-               Type:         binary.BigEndian.Uint16(data[0:2]),
-               Length:       length,
-               Value:        data[4:length],
-               ActualLength: roundUpToNearest4(int(length)),
-       }
-}
-
-func (p SCTPParameter) Bytes() []byte {
-       length := 4 + len(p.Value)
-       data := make([]byte, roundUpToNearest4(length))
-       binary.BigEndian.PutUint16(data[0:2], p.Type)
-       binary.BigEndian.PutUint16(data[2:4], uint16(length))
-       copy(data[4:], p.Value)
-       return data
-}
-
-// SCTPUnknownChunkType is the layer type returned when we don't recognize the
-// chunk type.  Since there's a length in a known location, we can skip over
-// it even if we don't know what it is, and continue parsing the rest of the
-// chunks.  This chunk is stored as an ErrorLayer in the packet.
-type SCTPUnknownChunkType struct {
-       SCTPChunk
-       bytes []byte
-}
-
-func decodeSCTPChunkTypeUnknown(data []byte, p gopacket.PacketBuilder) error {
-       chunk, err := decodeSCTPChunk(data)
-       if err != nil {
-               return err
-       }
-       sc := &SCTPUnknownChunkType{SCTPChunk: chunk}
-       sc.bytes = data[:sc.ActualLength]
-       p.AddLayer(sc)
-       p.SetErrorLayer(sc)
-       return p.NextDecoder(gopacket.DecodeFunc(decodeWithSCTPChunkTypePrefix))
-}
-
-// SerializeTo is for gopacket.SerializableLayer.
-func (s SCTPUnknownChunkType) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       bytes, err := b.PrependBytes(s.ActualLength)
-       if err != nil {
-               return err
-       }
-       copy(bytes, s.bytes)
-       return nil
-}
-
-// LayerType returns gopacket.LayerTypeSCTPUnknownChunkType.
-func (s *SCTPUnknownChunkType) LayerType() gopacket.LayerType { return LayerTypeSCTPUnknownChunkType }
-
-// Payload returns all bytes in this header, including the decoded Type, Length,
-// and Flags.
-func (s *SCTPUnknownChunkType) Payload() []byte { return s.bytes }
-
-// Error implements ErrorLayer.
-func (s *SCTPUnknownChunkType) Error() error {
-       return fmt.Errorf("No decode method available for SCTP chunk type %s", s.Type)
-}
-
-// SCTPData is the SCTP Data chunk layer.
-type SCTPData struct {
-       SCTPChunk
-       Unordered, BeginFragment, EndFragment bool
-       TSN                                   uint32
-       StreamId                              uint16
-       StreamSequence                        uint16
-       PayloadProtocol                       SCTPPayloadProtocol
-}
-
-// LayerType returns gopacket.LayerTypeSCTPData.
-func (s *SCTPData) LayerType() gopacket.LayerType { return LayerTypeSCTPData }
-
-// SCTPPayloadProtocol represents a payload protocol
-type SCTPPayloadProtocol uint32
-
-// SCTPPayloadProtocol constonts from http://www.iana.org/assignments/sctp-parameters/sctp-parameters.xhtml
-const (
-       SCTPProtocolReserved  SCTPPayloadProtocol = 0
-       SCTPPayloadUIA                            = 1
-       SCTPPayloadM2UA                           = 2
-       SCTPPayloadM3UA                           = 3
-       SCTPPayloadSUA                            = 4
-       SCTPPayloadM2PA                           = 5
-       SCTPPayloadV5UA                           = 6
-       SCTPPayloadH248                           = 7
-       SCTPPayloadBICC                           = 8
-       SCTPPayloadTALI                           = 9
-       SCTPPayloadDUA                            = 10
-       SCTPPayloadASAP                           = 11
-       SCTPPayloadENRP                           = 12
-       SCTPPayloadH323                           = 13
-       SCTPPayloadQIPC                           = 14
-       SCTPPayloadSIMCO                          = 15
-       SCTPPayloadDDPSegment                     = 16
-       SCTPPayloadDDPStream                      = 17
-       SCTPPayloadS1AP                           = 18
-)
-
-func (p SCTPPayloadProtocol) String() string {
-       switch p {
-       case SCTPProtocolReserved:
-               return "Reserved"
-       case SCTPPayloadUIA:
-               return "UIA"
-       case SCTPPayloadM2UA:
-               return "M2UA"
-       case SCTPPayloadM3UA:
-               return "M3UA"
-       case SCTPPayloadSUA:
-               return "SUA"
-       case SCTPPayloadM2PA:
-               return "M2PA"
-       case SCTPPayloadV5UA:
-               return "V5UA"
-       case SCTPPayloadH248:
-               return "H.248"
-       case SCTPPayloadBICC:
-               return "BICC"
-       case SCTPPayloadTALI:
-               return "TALI"
-       case SCTPPayloadDUA:
-               return "DUA"
-       case SCTPPayloadASAP:
-               return "ASAP"
-       case SCTPPayloadENRP:
-               return "ENRP"
-       case SCTPPayloadH323:
-               return "H.323"
-       case SCTPPayloadQIPC:
-               return "QIPC"
-       case SCTPPayloadSIMCO:
-               return "SIMCO"
-       case SCTPPayloadDDPSegment:
-               return "DDPSegment"
-       case SCTPPayloadDDPStream:
-               return "DDPStream"
-       case SCTPPayloadS1AP:
-               return "S1AP"
-       }
-       return fmt.Sprintf("Unknown(%d)", p)
-}
-
-func decodeSCTPData(data []byte, p gopacket.PacketBuilder) error {
-       chunk, err := decodeSCTPChunk(data)
-       if err != nil {
-               return err
-       }
-       sc := &SCTPData{
-               SCTPChunk:       chunk,
-               Unordered:       data[1]&0x4 != 0,
-               BeginFragment:   data[1]&0x2 != 0,
-               EndFragment:     data[1]&0x1 != 0,
-               TSN:             binary.BigEndian.Uint32(data[4:8]),
-               StreamId:        binary.BigEndian.Uint16(data[8:10]),
-               StreamSequence:  binary.BigEndian.Uint16(data[10:12]),
-               PayloadProtocol: SCTPPayloadProtocol(binary.BigEndian.Uint32(data[12:16])),
-       }
-       // Length is the length in bytes of the data, INCLUDING the 16-byte header.
-       p.AddLayer(sc)
-       return p.NextDecoder(gopacket.LayerTypePayload)
-}
-
-// SerializeTo is for gopacket.SerializableLayer.
-func (sc SCTPData) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       payload := b.Bytes()
-       // Pad the payload to a 32 bit boundary
-       if rem := len(payload) % 4; rem != 0 {
-               b.AppendBytes(4 - rem)
-       }
-       length := 16
-       bytes, err := b.PrependBytes(length)
-       if err != nil {
-               return err
-       }
-       bytes[0] = uint8(sc.Type)
-       flags := uint8(0)
-       if sc.Unordered {
-               flags |= 0x4
-       }
-       if sc.BeginFragment {
-               flags |= 0x2
-       }
-       if sc.EndFragment {
-               flags |= 0x1
-       }
-       bytes[1] = flags
-       binary.BigEndian.PutUint16(bytes[2:4], uint16(length+len(payload)))
-       binary.BigEndian.PutUint32(bytes[4:8], sc.TSN)
-       binary.BigEndian.PutUint16(bytes[8:10], sc.StreamId)
-       binary.BigEndian.PutUint16(bytes[10:12], sc.StreamSequence)
-       binary.BigEndian.PutUint32(bytes[12:16], uint32(sc.PayloadProtocol))
-       return nil
-}
-
-// SCTPInitParameter is a parameter for an SCTP Init or InitAck packet.
-type SCTPInitParameter SCTPParameter
-
-// SCTPInit is used as the return value for both SCTPInit and SCTPInitAck
-// messages.
-type SCTPInit struct {
-       SCTPChunk
-       InitiateTag                     uint32
-       AdvertisedReceiverWindowCredit  uint32
-       OutboundStreams, InboundStreams uint16
-       InitialTSN                      uint32
-       Parameters                      []SCTPInitParameter
-}
-
-// LayerType returns either gopacket.LayerTypeSCTPInit or gopacket.LayerTypeSCTPInitAck.
-func (sc *SCTPInit) LayerType() gopacket.LayerType {
-       if sc.Type == SCTPChunkTypeInitAck {
-               return LayerTypeSCTPInitAck
-       }
-       // sc.Type == SCTPChunkTypeInit
-       return LayerTypeSCTPInit
-}
-
-func decodeSCTPInit(data []byte, p gopacket.PacketBuilder) error {
-       chunk, err := decodeSCTPChunk(data)
-       if err != nil {
-               return err
-       }
-       sc := &SCTPInit{
-               SCTPChunk:                      chunk,
-               InitiateTag:                    binary.BigEndian.Uint32(data[4:8]),
-               AdvertisedReceiverWindowCredit: binary.BigEndian.Uint32(data[8:12]),
-               OutboundStreams:                binary.BigEndian.Uint16(data[12:14]),
-               InboundStreams:                 binary.BigEndian.Uint16(data[14:16]),
-               InitialTSN:                     binary.BigEndian.Uint32(data[16:20]),
-       }
-       paramData := data[20:sc.ActualLength]
-       for len(paramData) > 0 {
-               p := SCTPInitParameter(decodeSCTPParameter(paramData))
-               paramData = paramData[p.ActualLength:]
-               sc.Parameters = append(sc.Parameters, p)
-       }
-       p.AddLayer(sc)
-       return p.NextDecoder(gopacket.DecodeFunc(decodeWithSCTPChunkTypePrefix))
-}
-
-// SerializeTo is for gopacket.SerializableLayer.
-func (sc SCTPInit) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       var payload []byte
-       for _, param := range sc.Parameters {
-               payload = append(payload, SCTPParameter(param).Bytes()...)
-       }
-       length := 20 + len(payload)
-       bytes, err := b.PrependBytes(roundUpToNearest4(length))
-       if err != nil {
-               return err
-       }
-       bytes[0] = uint8(sc.Type)
-       bytes[1] = sc.Flags
-       binary.BigEndian.PutUint16(bytes[2:4], uint16(length))
-       binary.BigEndian.PutUint32(bytes[4:8], sc.InitiateTag)
-       binary.BigEndian.PutUint32(bytes[8:12], sc.AdvertisedReceiverWindowCredit)
-       binary.BigEndian.PutUint16(bytes[12:14], sc.OutboundStreams)
-       binary.BigEndian.PutUint16(bytes[14:16], sc.InboundStreams)
-       binary.BigEndian.PutUint32(bytes[16:20], sc.InitialTSN)
-       copy(bytes[20:], payload)
-       return nil
-}
-
-// SCTPSack is the SCTP Selective ACK chunk layer.
-type SCTPSack struct {
-       SCTPChunk
-       CumulativeTSNAck               uint32
-       AdvertisedReceiverWindowCredit uint32
-       NumGapACKs, NumDuplicateTSNs   uint16
-       GapACKs                        []uint16
-       DuplicateTSNs                  []uint32
-}
-
-// LayerType return LayerTypeSCTPSack
-func (sc *SCTPSack) LayerType() gopacket.LayerType {
-       return LayerTypeSCTPSack
-}
-
-func decodeSCTPSack(data []byte, p gopacket.PacketBuilder) error {
-       chunk, err := decodeSCTPChunk(data)
-       if err != nil {
-               return err
-       }
-       sc := &SCTPSack{
-               SCTPChunk:                      chunk,
-               CumulativeTSNAck:               binary.BigEndian.Uint32(data[4:8]),
-               AdvertisedReceiverWindowCredit: binary.BigEndian.Uint32(data[8:12]),
-               NumGapACKs:                     binary.BigEndian.Uint16(data[12:14]),
-               NumDuplicateTSNs:               binary.BigEndian.Uint16(data[14:16]),
-       }
-       // We maximize gapAcks and dupTSNs here so we're not allocating tons
-       // of memory based on a user-controlable field.  Our maximums are not exact,
-       // but should give us sane defaults... we'll still hit slice boundaries and
-       // fail if the user-supplied values are too high (in the for loops below), but
-       // the amount of memory we'll have allocated because of that should be small
-       // (< sc.ActualLength)
-       gapAcks := sc.SCTPChunk.ActualLength / 2
-       dupTSNs := (sc.SCTPChunk.ActualLength - gapAcks*2) / 4
-       if gapAcks > int(sc.NumGapACKs) {
-               gapAcks = int(sc.NumGapACKs)
-       }
-       if dupTSNs > int(sc.NumDuplicateTSNs) {
-               dupTSNs = int(sc.NumDuplicateTSNs)
-       }
-       sc.GapACKs = make([]uint16, 0, gapAcks)
-       sc.DuplicateTSNs = make([]uint32, 0, dupTSNs)
-       bytesRemaining := data[16:]
-       for i := 0; i < int(sc.NumGapACKs); i++ {
-               sc.GapACKs = append(sc.GapACKs, binary.BigEndian.Uint16(bytesRemaining[:2]))
-               bytesRemaining = bytesRemaining[2:]
-       }
-       for i := 0; i < int(sc.NumDuplicateTSNs); i++ {
-               sc.DuplicateTSNs = append(sc.DuplicateTSNs, binary.BigEndian.Uint32(bytesRemaining[:4]))
-               bytesRemaining = bytesRemaining[4:]
-       }
-       p.AddLayer(sc)
-       return p.NextDecoder(gopacket.DecodeFunc(decodeWithSCTPChunkTypePrefix))
-}
-
-// SerializeTo is for gopacket.SerializableLayer.
-func (sc SCTPSack) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       length := 16 + 2*len(sc.GapACKs) + 4*len(sc.DuplicateTSNs)
-       bytes, err := b.PrependBytes(roundUpToNearest4(length))
-       if err != nil {
-               return err
-       }
-       bytes[0] = uint8(sc.Type)
-       bytes[1] = sc.Flags
-       binary.BigEndian.PutUint16(bytes[2:4], uint16(length))
-       binary.BigEndian.PutUint32(bytes[4:8], sc.CumulativeTSNAck)
-       binary.BigEndian.PutUint32(bytes[8:12], sc.AdvertisedReceiverWindowCredit)
-       binary.BigEndian.PutUint16(bytes[12:14], uint16(len(sc.GapACKs)))
-       binary.BigEndian.PutUint16(bytes[14:16], uint16(len(sc.DuplicateTSNs)))
-       for i, v := range sc.GapACKs {
-               binary.BigEndian.PutUint16(bytes[16+i*2:], v)
-       }
-       offset := 16 + 2*len(sc.GapACKs)
-       for i, v := range sc.DuplicateTSNs {
-               binary.BigEndian.PutUint32(bytes[offset+i*4:], v)
-       }
-       return nil
-}
-
-// SCTPHeartbeatParameter is the parameter type used by SCTP heartbeat and
-// heartbeat ack layers.
-type SCTPHeartbeatParameter SCTPParameter
-
-// SCTPHeartbeat is the SCTP heartbeat layer, also used for heatbeat ack.
-type SCTPHeartbeat struct {
-       SCTPChunk
-       Parameters []SCTPHeartbeatParameter
-}
-
-// LayerType returns gopacket.LayerTypeSCTPHeartbeat.
-func (sc *SCTPHeartbeat) LayerType() gopacket.LayerType {
-       if sc.Type == SCTPChunkTypeHeartbeatAck {
-               return LayerTypeSCTPHeartbeatAck
-       }
-       // sc.Type == SCTPChunkTypeHeartbeat
-       return LayerTypeSCTPHeartbeat
-}
-
-func decodeSCTPHeartbeat(data []byte, p gopacket.PacketBuilder) error {
-       chunk, err := decodeSCTPChunk(data)
-       if err != nil {
-               return err
-       }
-       sc := &SCTPHeartbeat{
-               SCTPChunk: chunk,
-       }
-       paramData := data[4:sc.Length]
-       for len(paramData) > 0 {
-               p := SCTPHeartbeatParameter(decodeSCTPParameter(paramData))
-               paramData = paramData[p.ActualLength:]
-               sc.Parameters = append(sc.Parameters, p)
-       }
-       p.AddLayer(sc)
-       return p.NextDecoder(gopacket.DecodeFunc(decodeWithSCTPChunkTypePrefix))
-}
-
-// SerializeTo is for gopacket.SerializableLayer.
-func (sc SCTPHeartbeat) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       var payload []byte
-       for _, param := range sc.Parameters {
-               payload = append(payload, SCTPParameter(param).Bytes()...)
-       }
-       length := 4 + len(payload)
-
-       bytes, err := b.PrependBytes(roundUpToNearest4(length))
-       if err != nil {
-               return err
-       }
-       bytes[0] = uint8(sc.Type)
-       bytes[1] = sc.Flags
-       binary.BigEndian.PutUint16(bytes[2:4], uint16(length))
-       copy(bytes[4:], payload)
-       return nil
-}
-
-// SCTPErrorParameter is the parameter type used by SCTP Abort and Error layers.
-type SCTPErrorParameter SCTPParameter
-
-// SCTPError is the SCTP error layer, also used for SCTP aborts.
-type SCTPError struct {
-       SCTPChunk
-       Parameters []SCTPErrorParameter
-}
-
-// LayerType returns LayerTypeSCTPAbort or LayerTypeSCTPError.
-func (sc *SCTPError) LayerType() gopacket.LayerType {
-       if sc.Type == SCTPChunkTypeAbort {
-               return LayerTypeSCTPAbort
-       }
-       // sc.Type == SCTPChunkTypeError
-       return LayerTypeSCTPError
-}
-
-func decodeSCTPError(data []byte, p gopacket.PacketBuilder) error {
-       // remarkably similar to decodeSCTPHeartbeat ;)
-       chunk, err := decodeSCTPChunk(data)
-       if err != nil {
-               return err
-       }
-       sc := &SCTPError{
-               SCTPChunk: chunk,
-       }
-       paramData := data[4:sc.Length]
-       for len(paramData) > 0 {
-               p := SCTPErrorParameter(decodeSCTPParameter(paramData))
-               paramData = paramData[p.ActualLength:]
-               sc.Parameters = append(sc.Parameters, p)
-       }
-       p.AddLayer(sc)
-       return p.NextDecoder(gopacket.DecodeFunc(decodeWithSCTPChunkTypePrefix))
-}
-
-// SerializeTo is for gopacket.SerializableLayer.
-func (sc SCTPError) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       var payload []byte
-       for _, param := range sc.Parameters {
-               payload = append(payload, SCTPParameter(param).Bytes()...)
-       }
-       length := 4 + len(payload)
-
-       bytes, err := b.PrependBytes(roundUpToNearest4(length))
-       if err != nil {
-               return err
-       }
-       bytes[0] = uint8(sc.Type)
-       bytes[1] = sc.Flags
-       binary.BigEndian.PutUint16(bytes[2:4], uint16(length))
-       copy(bytes[4:], payload)
-       return nil
-}
-
-// SCTPShutdown is the SCTP shutdown layer.
-type SCTPShutdown struct {
-       SCTPChunk
-       CumulativeTSNAck uint32
-}
-
-// LayerType returns gopacket.LayerTypeSCTPShutdown.
-func (sc *SCTPShutdown) LayerType() gopacket.LayerType { return LayerTypeSCTPShutdown }
-
-func decodeSCTPShutdown(data []byte, p gopacket.PacketBuilder) error {
-       chunk, err := decodeSCTPChunk(data)
-       if err != nil {
-               return err
-       }
-       sc := &SCTPShutdown{
-               SCTPChunk:        chunk,
-               CumulativeTSNAck: binary.BigEndian.Uint32(data[4:8]),
-       }
-       p.AddLayer(sc)
-       return p.NextDecoder(gopacket.DecodeFunc(decodeWithSCTPChunkTypePrefix))
-}
-
-// SerializeTo is for gopacket.SerializableLayer.
-func (sc SCTPShutdown) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       bytes, err := b.PrependBytes(8)
-       if err != nil {
-               return err
-       }
-       bytes[0] = uint8(sc.Type)
-       bytes[1] = sc.Flags
-       binary.BigEndian.PutUint16(bytes[2:4], 8)
-       binary.BigEndian.PutUint32(bytes[4:8], sc.CumulativeTSNAck)
-       return nil
-}
-
-// SCTPShutdownAck is the SCTP shutdown layer.
-type SCTPShutdownAck struct {
-       SCTPChunk
-}
-
-// LayerType returns gopacket.LayerTypeSCTPShutdownAck.
-func (sc *SCTPShutdownAck) LayerType() gopacket.LayerType { return LayerTypeSCTPShutdownAck }
-
-func decodeSCTPShutdownAck(data []byte, p gopacket.PacketBuilder) error {
-       chunk, err := decodeSCTPChunk(data)
-       if err != nil {
-               return err
-       }
-       sc := &SCTPShutdownAck{
-               SCTPChunk: chunk,
-       }
-       p.AddLayer(sc)
-       return p.NextDecoder(gopacket.DecodeFunc(decodeWithSCTPChunkTypePrefix))
-}
-
-// SerializeTo is for gopacket.SerializableLayer.
-func (sc SCTPShutdownAck) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       bytes, err := b.PrependBytes(4)
-       if err != nil {
-               return err
-       }
-       bytes[0] = uint8(sc.Type)
-       bytes[1] = sc.Flags
-       binary.BigEndian.PutUint16(bytes[2:4], 4)
-       return nil
-}
-
-// SCTPCookieEcho is the SCTP Cookie Echo layer.
-type SCTPCookieEcho struct {
-       SCTPChunk
-       Cookie []byte
-}
-
-// LayerType returns gopacket.LayerTypeSCTPCookieEcho.
-func (sc *SCTPCookieEcho) LayerType() gopacket.LayerType { return LayerTypeSCTPCookieEcho }
-
-func decodeSCTPCookieEcho(data []byte, p gopacket.PacketBuilder) error {
-       chunk, err := decodeSCTPChunk(data)
-       if err != nil {
-               return err
-       }
-       sc := &SCTPCookieEcho{
-               SCTPChunk: chunk,
-       }
-       sc.Cookie = data[4:sc.Length]
-       p.AddLayer(sc)
-       return p.NextDecoder(gopacket.DecodeFunc(decodeWithSCTPChunkTypePrefix))
-}
-
-// SerializeTo is for gopacket.SerializableLayer.
-func (sc SCTPCookieEcho) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       length := 4 + len(sc.Cookie)
-       bytes, err := b.PrependBytes(roundUpToNearest4(length))
-       if err != nil {
-               return err
-       }
-       bytes[0] = uint8(sc.Type)
-       bytes[1] = sc.Flags
-       binary.BigEndian.PutUint16(bytes[2:4], uint16(length))
-       copy(bytes[4:], sc.Cookie)
-       return nil
-}
-
-// This struct is used by all empty SCTP chunks (currently CookieAck and
-// ShutdownComplete).
-type SCTPEmptyLayer struct {
-       SCTPChunk
-}
-
-// LayerType returns either gopacket.LayerTypeSCTPShutdownComplete or
-// LayerTypeSCTPCookieAck.
-func (sc *SCTPEmptyLayer) LayerType() gopacket.LayerType {
-       if sc.Type == SCTPChunkTypeShutdownComplete {
-               return LayerTypeSCTPShutdownComplete
-       }
-       // sc.Type == SCTPChunkTypeCookieAck
-       return LayerTypeSCTPCookieAck
-}
-
-func decodeSCTPEmptyLayer(data []byte, p gopacket.PacketBuilder) error {
-       chunk, err := decodeSCTPChunk(data)
-       if err != nil {
-               return err
-       }
-       sc := &SCTPEmptyLayer{
-               SCTPChunk: chunk,
-       }
-       p.AddLayer(sc)
-       return p.NextDecoder(gopacket.DecodeFunc(decodeWithSCTPChunkTypePrefix))
-}
-
-// SerializeTo is for gopacket.SerializableLayer.
-func (sc SCTPEmptyLayer) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       bytes, err := b.PrependBytes(4)
-       if err != nil {
-               return err
-       }
-       bytes[0] = uint8(sc.Type)
-       bytes[1] = sc.Flags
-       binary.BigEndian.PutUint16(bytes[2:4], 4)
-       return nil
-}
diff --git a/vendor/github.com/google/gopacket/layers/sflow.go b/vendor/github.com/google/gopacket/layers/sflow.go
deleted file mode 100644 (file)
index 55ce31e..0000000
+++ /dev/null
@@ -1,2187 +0,0 @@
-// Copyright 2014 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-/*
-This layer decodes SFlow version 5 datagrams.
-
-The specification can be found here: http://sflow.org/sflow_version_5.txt
-
-Additional developer information about sflow can be found at:
-http://sflow.org/developers/specifications.php
-
-And SFlow in general:
-http://sflow.org/index.php
-
-Two forms of sample data are defined: compact and expanded. The
-Specification has this to say:
-
-    Compact and expand forms of counter and flow samples are defined.
-    An agent must not mix compact/expanded encodings.  If an agent
-    will never use ifIndex numbers >= 2^24 then it must use compact
-    encodings for all interfaces.  Otherwise the expanded formats must
-    be used for all interfaces.
-
-This decoder only supports the compact form, because that is the only
-one for which data was avaialble.
-
-The datagram is composed of one or more samples of type flow or counter,
-and each sample is composed of one or more records describing the sample.
-A sample is a single instance of sampled inforamtion, and each record in
-the sample gives additional / supplimentary information about the sample.
-
-The following sample record types are supported:
-
-       Raw Packet Header
-       opaque = flow_data; enterprise = 0; format = 1
-
-       Extended Switch Data
-       opaque = flow_data; enterprise = 0; format = 1001
-
-       Extended Router Data
-       opaque = flow_data; enterprise = 0; format = 1002
-
-       Extended Gateway Data
-       opaque = flow_data; enterprise = 0; format = 1003
-
-       Extended User Data
-       opaque = flow_data; enterprise = 0; format = 1004
-
-       Extended URL Data
-       opaque = flow_data; enterprise = 0; format = 1005
-
-The following types of counter records are supported:
-
-       Generic Interface Counters - see RFC 2233
-       opaque = counter_data; enterprise = 0; format = 1
-
-       Ethernet Interface Counters - see RFC 2358
-       opaque = counter_data; enterprise = 0; format = 2
-
-SFlow is encoded using XDR (RFC4506). There are a few places
-where the standard 4-byte fields are partitioned into two
-bitfields of different lengths. I'm not sure why the designers
-chose to pack together two values like this in some places, and
-in others they use the entire 4-byte value to store a number that
-will never be more than a few bits. In any case, there are a couple
-of types defined to handle the decoding of these bitfields, and
-that's why they're there. */
-
-package layers
-
-import (
-       "encoding/binary"
-       "errors"
-       "fmt"
-       "net"
-
-       "github.com/google/gopacket"
-)
-
-// SFlowRecord holds both flow sample records and counter sample records.
-// A Record is the structure that actually holds the sampled data
-// and / or counters.
-type SFlowRecord interface {
-}
-
-// SFlowDataSource encodes a 2-bit SFlowSourceFormat in its most significant
-// 2 bits, and an SFlowSourceValue in its least significant 30 bits.
-// These types and values define the meaning of the inteface information
-// presented in the sample metadata.
-type SFlowDataSource int32
-
-func (sdc SFlowDataSource) decode() (SFlowSourceFormat, SFlowSourceValue) {
-       leftField := sdc >> 30
-       rightField := uint32(0x3FFFFFFF) & uint32(sdc)
-       return SFlowSourceFormat(leftField), SFlowSourceValue(rightField)
-}
-
-type SFlowDataSourceExpanded struct {
-       SourceIDClass SFlowSourceFormat
-       SourceIDIndex SFlowSourceValue
-}
-
-func (sdce SFlowDataSourceExpanded) decode() (SFlowSourceFormat, SFlowSourceValue) {
-       leftField := sdce.SourceIDClass >> 30
-       rightField := uint32(0x3FFFFFFF) & uint32(sdce.SourceIDIndex)
-       return SFlowSourceFormat(leftField), SFlowSourceValue(rightField)
-}
-
-type SFlowSourceFormat uint32
-
-type SFlowSourceValue uint32
-
-const (
-       SFlowTypeSingleInterface      SFlowSourceFormat = 0
-       SFlowTypePacketDiscarded      SFlowSourceFormat = 1
-       SFlowTypeMultipleDestinations SFlowSourceFormat = 2
-)
-
-func (sdf SFlowSourceFormat) String() string {
-       switch sdf {
-       case SFlowTypeSingleInterface:
-               return "Single Interface"
-       case SFlowTypePacketDiscarded:
-               return "Packet Discarded"
-       case SFlowTypeMultipleDestinations:
-               return "Multiple Destinations"
-       default:
-               return "UNKNOWN"
-       }
-}
-
-func decodeSFlow(data []byte, p gopacket.PacketBuilder) error {
-       s := &SFlowDatagram{}
-       err := s.DecodeFromBytes(data, p)
-       if err != nil {
-               return err
-       }
-       p.AddLayer(s)
-       p.SetApplicationLayer(s)
-       return nil
-}
-
-// SFlowDatagram is the outermost container which holds some basic information
-// about the reporting agent, and holds at least one sample record
-type SFlowDatagram struct {
-       BaseLayer
-
-       DatagramVersion uint32
-       AgentAddress    net.IP
-       SubAgentID      uint32
-       SequenceNumber  uint32
-       AgentUptime     uint32
-       SampleCount     uint32
-       FlowSamples     []SFlowFlowSample
-       CounterSamples  []SFlowCounterSample
-}
-
-// An SFlow  datagram's outer container has the following
-// structure:
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |           int sFlow version (2|4|5)           |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |   int IP version of the Agent (1=v4|2=v6)     |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  /    Agent IP address (v4=4byte|v6=16byte)      /
-//  /                                               /
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |               int sub agent id                |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |         int datagram sequence number          |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |            int switch uptime in ms            |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |          int n samples in datagram            |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  /                  n samples                    /
-//  /                                               /
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-
-// SFlowDataFormat encodes the EnterpriseID in the most
-// significant 12 bits, and the SampleType in the least significant
-// 20 bits.
-type SFlowDataFormat uint32
-
-func (sdf SFlowDataFormat) decode() (SFlowEnterpriseID, SFlowSampleType) {
-       leftField := sdf >> 12
-       rightField := uint32(0xFFF) & uint32(sdf)
-       return SFlowEnterpriseID(leftField), SFlowSampleType(rightField)
-}
-
-// SFlowEnterpriseID is used to differentiate between the
-// official SFlow standard, and other, vendor-specific
-// types of flow data. (Similiar to SNMP's enterprise MIB
-// OIDs) Only the office SFlow Enterprise ID is decoded
-// here.
-type SFlowEnterpriseID uint32
-
-const (
-       SFlowStandard SFlowEnterpriseID = 0
-)
-
-func (eid SFlowEnterpriseID) String() string {
-       switch eid {
-       case SFlowStandard:
-               return "Standard SFlow"
-       default:
-               return ""
-       }
-}
-
-func (eid SFlowEnterpriseID) GetType() SFlowEnterpriseID {
-       return SFlowStandard
-}
-
-// SFlowSampleType specifies the type of sample. Only flow samples
-// and counter samples are supported
-type SFlowSampleType uint32
-
-const (
-       SFlowTypeFlowSample            SFlowSampleType = 1
-       SFlowTypeCounterSample         SFlowSampleType = 2
-       SFlowTypeExpandedFlowSample    SFlowSampleType = 3
-       SFlowTypeExpandedCounterSample SFlowSampleType = 4
-)
-
-func (st SFlowSampleType) GetType() SFlowSampleType {
-       switch st {
-       case SFlowTypeFlowSample:
-               return SFlowTypeFlowSample
-       case SFlowTypeCounterSample:
-               return SFlowTypeCounterSample
-       case SFlowTypeExpandedFlowSample:
-               return SFlowTypeExpandedFlowSample
-       case SFlowTypeExpandedCounterSample:
-               return SFlowTypeExpandedCounterSample
-       default:
-               panic("Invalid Sample Type")
-       }
-}
-
-func (st SFlowSampleType) String() string {
-       switch st {
-       case SFlowTypeFlowSample:
-               return "Flow Sample"
-       case SFlowTypeCounterSample:
-               return "Counter Sample"
-       case SFlowTypeExpandedFlowSample:
-               return "Expanded Flow Sample"
-       case SFlowTypeExpandedCounterSample:
-               return "Expanded Counter Sample"
-       default:
-               return ""
-       }
-}
-
-func (s *SFlowDatagram) LayerType() gopacket.LayerType { return LayerTypeSFlow }
-
-func (d *SFlowDatagram) Payload() []byte { return nil }
-
-func (d *SFlowDatagram) CanDecode() gopacket.LayerClass { return LayerTypeSFlow }
-
-func (d *SFlowDatagram) NextLayerType() gopacket.LayerType { return gopacket.LayerTypePayload }
-
-// SFlowIPType determines what form the IP address being decoded will
-// take. This is an XDR union type allowing for both IPv4 and IPv6
-type SFlowIPType uint32
-
-const (
-       SFlowIPv4 SFlowIPType = 1
-       SFlowIPv6 SFlowIPType = 2
-)
-
-func (s SFlowIPType) String() string {
-       switch s {
-       case SFlowIPv4:
-               return "IPv4"
-       case SFlowIPv6:
-               return "IPv6"
-       default:
-               return ""
-       }
-}
-
-func (s SFlowIPType) Length() int {
-       switch s {
-       case SFlowIPv4:
-               return 4
-       case SFlowIPv6:
-               return 16
-       default:
-               return 0
-       }
-}
-
-func (s *SFlowDatagram) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       var agentAddressType SFlowIPType
-
-       data, s.DatagramVersion = data[4:], binary.BigEndian.Uint32(data[:4])
-       data, agentAddressType = data[4:], SFlowIPType(binary.BigEndian.Uint32(data[:4]))
-       data, s.AgentAddress = data[agentAddressType.Length():], data[:agentAddressType.Length()]
-       data, s.SubAgentID = data[4:], binary.BigEndian.Uint32(data[:4])
-       data, s.SequenceNumber = data[4:], binary.BigEndian.Uint32(data[:4])
-       data, s.AgentUptime = data[4:], binary.BigEndian.Uint32(data[:4])
-       data, s.SampleCount = data[4:], binary.BigEndian.Uint32(data[:4])
-
-       if s.SampleCount < 1 {
-               return fmt.Errorf("SFlow Datagram has invalid sample length: %d", s.SampleCount)
-       }
-       for i := uint32(0); i < s.SampleCount; i++ {
-               sdf := SFlowDataFormat(binary.BigEndian.Uint32(data[:4]))
-               _, sampleType := sdf.decode()
-               switch sampleType {
-               case SFlowTypeFlowSample:
-                       if flowSample, err := decodeFlowSample(&data, false); err == nil {
-                               s.FlowSamples = append(s.FlowSamples, flowSample)
-                       } else {
-                               return err
-                       }
-               case SFlowTypeCounterSample:
-                       if counterSample, err := decodeCounterSample(&data, false); err == nil {
-                               s.CounterSamples = append(s.CounterSamples, counterSample)
-                       } else {
-                               return err
-                       }
-               case SFlowTypeExpandedFlowSample:
-                       if flowSample, err := decodeFlowSample(&data, true); err == nil {
-                               s.FlowSamples = append(s.FlowSamples, flowSample)
-                       } else {
-                               return err
-                       }
-               case SFlowTypeExpandedCounterSample:
-                       if counterSample, err := decodeCounterSample(&data, true); err == nil {
-                               s.CounterSamples = append(s.CounterSamples, counterSample)
-                       } else {
-                               return err
-                       }
-
-               default:
-                       return fmt.Errorf("Unsupported SFlow sample type %d", sampleType)
-               }
-       }
-       return nil
-}
-
-// SFlowFlowSample represents a sampled packet and contains
-// one or more records describing the packet
-type SFlowFlowSample struct {
-       EnterpriseID          SFlowEnterpriseID
-       Format                SFlowSampleType
-       SampleLength          uint32
-       SequenceNumber        uint32
-       SourceIDClass         SFlowSourceFormat
-       SourceIDIndex         SFlowSourceValue
-       SamplingRate          uint32
-       SamplePool            uint32
-       Dropped               uint32
-       InputInterfaceFormat  uint32
-       InputInterface        uint32
-       OutputInterfaceFormat uint32
-       OutputInterface       uint32
-       RecordCount           uint32
-       Records               []SFlowRecord
-}
-
-// Flow samples have the following structure. Note
-// the bit fields to encode the Enterprise ID and the
-// Flow record format: type 1
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |      20 bit Interprise (0)     |12 bit format |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  sample length                |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |          int sample sequence number           |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |id type |       src id index value             |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |               int sampling rate               |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                int sample pool                |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                    int drops                  |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                 int input ifIndex             |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                int output ifIndex             |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |               int number of records           |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  /                   flow records                /
-//  /                                               /
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-
-// Flow samples have the following structure.
-// Flow record format: type 3
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |      20 bit Interprise (0)     |12 bit format |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  sample length                |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |          int sample sequence number           |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |               int src id type                 |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |             int src id index value            |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |               int sampling rate               |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                int sample pool                |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                    int drops                  |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |           int input interface format          |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |           int input interface value           |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |           int output interface format         |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |           int output interface value          |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |               int number of records           |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  /                   flow records                /
-//  /                                               /
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-
-type SFlowFlowDataFormat uint32
-
-func (fdf SFlowFlowDataFormat) decode() (SFlowEnterpriseID, SFlowFlowRecordType) {
-       leftField := fdf >> 12
-       rightField := uint32(0xFFF) & uint32(fdf)
-       return SFlowEnterpriseID(leftField), SFlowFlowRecordType(rightField)
-}
-
-func (fs SFlowFlowSample) GetRecords() []SFlowRecord {
-       return fs.Records
-}
-
-func (fs SFlowFlowSample) GetType() SFlowSampleType {
-       return SFlowTypeFlowSample
-}
-
-func skipRecord(data *[]byte) {
-       recordLength := int(binary.BigEndian.Uint32((*data)[4:]))
-       *data = (*data)[(recordLength+((4-recordLength)%4))+8:]
-}
-
-func decodeFlowSample(data *[]byte, expanded bool) (SFlowFlowSample, error) {
-       s := SFlowFlowSample{}
-       var sdf SFlowDataFormat
-       *data, sdf = (*data)[4:], SFlowDataFormat(binary.BigEndian.Uint32((*data)[:4]))
-       var sdc SFlowDataSource
-
-       s.EnterpriseID, s.Format = sdf.decode()
-       *data, s.SampleLength = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, s.SequenceNumber = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       if expanded {
-               *data, s.SourceIDClass = (*data)[4:], SFlowSourceFormat(binary.BigEndian.Uint32((*data)[:4]))
-               *data, s.SourceIDIndex = (*data)[4:], SFlowSourceValue(binary.BigEndian.Uint32((*data)[:4]))
-       } else {
-               *data, sdc = (*data)[4:], SFlowDataSource(binary.BigEndian.Uint32((*data)[:4]))
-               s.SourceIDClass, s.SourceIDIndex = sdc.decode()
-       }
-       *data, s.SamplingRate = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, s.SamplePool = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, s.Dropped = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-
-       if expanded {
-               *data, s.InputInterfaceFormat = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-               *data, s.InputInterface = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-               *data, s.OutputInterfaceFormat = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-               *data, s.OutputInterface = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       } else {
-               *data, s.InputInterface = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-               *data, s.OutputInterface = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       }
-       *data, s.RecordCount = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-
-       for i := uint32(0); i < s.RecordCount; i++ {
-               rdf := SFlowFlowDataFormat(binary.BigEndian.Uint32((*data)[:4]))
-               _, flowRecordType := rdf.decode()
-
-               switch flowRecordType {
-               case SFlowTypeRawPacketFlow:
-                       if record, err := decodeRawPacketFlowRecord(data); err == nil {
-                               s.Records = append(s.Records, record)
-                       } else {
-                               return s, err
-                       }
-               case SFlowTypeExtendedUserFlow:
-                       if record, err := decodeExtendedUserFlow(data); err == nil {
-                               s.Records = append(s.Records, record)
-                       } else {
-                               return s, err
-                       }
-               case SFlowTypeExtendedUrlFlow:
-                       if record, err := decodeExtendedURLRecord(data); err == nil {
-                               s.Records = append(s.Records, record)
-                       } else {
-                               return s, err
-                       }
-               case SFlowTypeExtendedSwitchFlow:
-                       if record, err := decodeExtendedSwitchFlowRecord(data); err == nil {
-                               s.Records = append(s.Records, record)
-                       } else {
-                               return s, err
-                       }
-               case SFlowTypeExtendedRouterFlow:
-                       if record, err := decodeExtendedRouterFlowRecord(data); err == nil {
-                               s.Records = append(s.Records, record)
-                       } else {
-                               return s, err
-                       }
-               case SFlowTypeExtendedGatewayFlow:
-                       if record, err := decodeExtendedGatewayFlowRecord(data); err == nil {
-                               s.Records = append(s.Records, record)
-                       } else {
-                               return s, err
-                       }
-               case SFlowTypeEthernetFrameFlow:
-                       // TODO
-                       skipRecord(data)
-                       return s, errors.New("skipping TypeEthernetFrameFlow")
-               case SFlowTypeIpv4Flow:
-                       if record, err := decodeSFlowIpv4Record(data); err == nil {
-                               s.Records = append(s.Records, record)
-                       } else {
-                               return s, err
-                       }
-               case SFlowTypeIpv6Flow:
-                       if record, err := decodeSFlowIpv6Record(data); err == nil {
-                               s.Records = append(s.Records, record)
-                       } else {
-                               return s, err
-                       }
-               case SFlowTypeExtendedMlpsFlow:
-                       // TODO
-                       skipRecord(data)
-                       return s, errors.New("skipping TypeExtendedMlpsFlow")
-               case SFlowTypeExtendedNatFlow:
-                       // TODO
-                       skipRecord(data)
-                       return s, errors.New("skipping TypeExtendedNatFlow")
-               case SFlowTypeExtendedMlpsTunnelFlow:
-                       // TODO
-                       skipRecord(data)
-                       return s, errors.New("skipping TypeExtendedMlpsTunnelFlow")
-               case SFlowTypeExtendedMlpsVcFlow:
-                       // TODO
-                       skipRecord(data)
-                       return s, errors.New("skipping TypeExtendedMlpsVcFlow")
-               case SFlowTypeExtendedMlpsFecFlow:
-                       // TODO
-                       skipRecord(data)
-                       return s, errors.New("skipping TypeExtendedMlpsFecFlow")
-               case SFlowTypeExtendedMlpsLvpFecFlow:
-                       // TODO
-                       skipRecord(data)
-                       return s, errors.New("skipping TypeExtendedMlpsLvpFecFlow")
-               case SFlowTypeExtendedVlanFlow:
-                       // TODO
-                       skipRecord(data)
-                       return s, errors.New("skipping TypeExtendedVlanFlow")
-               case SFlowTypeExtendedIpv4TunnelEgressFlow:
-                       if record, err := decodeExtendedIpv4TunnelEgress(data); err == nil {
-                               s.Records = append(s.Records, record)
-                       } else {
-                               return s, err
-                       }
-               case SFlowTypeExtendedIpv4TunnelIngressFlow:
-                       if record, err := decodeExtendedIpv4TunnelIngress(data); err == nil {
-                               s.Records = append(s.Records, record)
-                       } else {
-                               return s, err
-                       }
-               case SFlowTypeExtendedIpv6TunnelEgressFlow:
-                       if record, err := decodeExtendedIpv6TunnelEgress(data); err == nil {
-                               s.Records = append(s.Records, record)
-                       } else {
-                               return s, err
-                       }
-               case SFlowTypeExtendedIpv6TunnelIngressFlow:
-                       if record, err := decodeExtendedIpv6TunnelIngress(data); err == nil {
-                               s.Records = append(s.Records, record)
-                       } else {
-                               return s, err
-                       }
-               case SFlowTypeExtendedDecapsulateEgressFlow:
-                       if record, err := decodeExtendedDecapsulateEgress(data); err == nil {
-                               s.Records = append(s.Records, record)
-                       } else {
-                               return s, err
-                       }
-               case SFlowTypeExtendedDecapsulateIngressFlow:
-                       if record, err := decodeExtendedDecapsulateIngress(data); err == nil {
-                               s.Records = append(s.Records, record)
-                       } else {
-                               return s, err
-                       }
-               case SFlowTypeExtendedVniEgressFlow:
-                       if record, err := decodeExtendedVniEgress(data); err == nil {
-                               s.Records = append(s.Records, record)
-                       } else {
-                               return s, err
-                       }
-               case SFlowTypeExtendedVniIngressFlow:
-                       if record, err := decodeExtendedVniIngress(data); err == nil {
-                               s.Records = append(s.Records, record)
-                       } else {
-                               return s, err
-                       }
-               default:
-                       return s, fmt.Errorf("Unsupported flow record type: %d", flowRecordType)
-               }
-       }
-       return s, nil
-}
-
-// Counter samples report information about various counter
-// objects. Typically these are items like IfInOctets, or
-// CPU / Memory stats, etc. SFlow will report these at regular
-// intervals as configured on the agent. If one were sufficiently
-// industrious, this could be used to replace the typical
-// SNMP polling used for such things.
-type SFlowCounterSample struct {
-       EnterpriseID   SFlowEnterpriseID
-       Format         SFlowSampleType
-       SampleLength   uint32
-       SequenceNumber uint32
-       SourceIDClass  SFlowSourceFormat
-       SourceIDIndex  SFlowSourceValue
-       RecordCount    uint32
-       Records        []SFlowRecord
-}
-
-// Counter samples have the following structure:
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |          int sample sequence number           |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |id type |       src id index value             |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |               int number of records           |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  /                counter records                /
-//  /                                               /
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-
-type SFlowCounterDataFormat uint32
-
-func (cdf SFlowCounterDataFormat) decode() (SFlowEnterpriseID, SFlowCounterRecordType) {
-       leftField := cdf >> 12
-       rightField := uint32(0xFFF) & uint32(cdf)
-       return SFlowEnterpriseID(leftField), SFlowCounterRecordType(rightField)
-}
-
-// GetRecords will return a slice of interface types
-// representing records. A type switch can be used to
-// get at the underlying SFlowCounterRecordType.
-func (cs SFlowCounterSample) GetRecords() []SFlowRecord {
-       return cs.Records
-}
-
-// GetType will report the type of sample. Only the
-// compact form of counter samples is supported
-func (cs SFlowCounterSample) GetType() SFlowSampleType {
-       return SFlowTypeCounterSample
-}
-
-type SFlowCounterRecordType uint32
-
-const (
-       SFlowTypeGenericInterfaceCounters   SFlowCounterRecordType = 1
-       SFlowTypeEthernetInterfaceCounters  SFlowCounterRecordType = 2
-       SFlowTypeTokenRingInterfaceCounters SFlowCounterRecordType = 3
-       SFlowType100BaseVGInterfaceCounters SFlowCounterRecordType = 4
-       SFlowTypeVLANCounters               SFlowCounterRecordType = 5
-       SFlowTypeProcessorCounters          SFlowCounterRecordType = 1001
-)
-
-func (cr SFlowCounterRecordType) String() string {
-       switch cr {
-       case SFlowTypeGenericInterfaceCounters:
-               return "Generic Interface Counters"
-       case SFlowTypeEthernetInterfaceCounters:
-               return "Ethernet Interface Counters"
-       case SFlowTypeTokenRingInterfaceCounters:
-               return "Token Ring Interface Counters"
-       case SFlowType100BaseVGInterfaceCounters:
-               return "100BaseVG Interface Counters"
-       case SFlowTypeVLANCounters:
-               return "VLAN Counters"
-       case SFlowTypeProcessorCounters:
-               return "Processor Counters"
-       default:
-               return ""
-
-       }
-}
-
-func decodeCounterSample(data *[]byte, expanded bool) (SFlowCounterSample, error) {
-       s := SFlowCounterSample{}
-       var sdc SFlowDataSource
-       var sdce SFlowDataSourceExpanded
-       var sdf SFlowDataFormat
-
-       *data, sdf = (*data)[4:], SFlowDataFormat(binary.BigEndian.Uint32((*data)[:4]))
-       s.EnterpriseID, s.Format = sdf.decode()
-       *data, s.SampleLength = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, s.SequenceNumber = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       if expanded {
-               *data, sdce = (*data)[8:], SFlowDataSourceExpanded{SFlowSourceFormat(binary.BigEndian.Uint32((*data)[:4])), SFlowSourceValue(binary.BigEndian.Uint32((*data)[4:8]))}
-               s.SourceIDClass, s.SourceIDIndex = sdce.decode()
-       } else {
-               *data, sdc = (*data)[4:], SFlowDataSource(binary.BigEndian.Uint32((*data)[:4]))
-               s.SourceIDClass, s.SourceIDIndex = sdc.decode()
-       }
-       *data, s.RecordCount = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-
-       for i := uint32(0); i < s.RecordCount; i++ {
-               cdf := SFlowCounterDataFormat(binary.BigEndian.Uint32((*data)[:4]))
-               _, counterRecordType := cdf.decode()
-               switch counterRecordType {
-               case SFlowTypeGenericInterfaceCounters:
-                       if record, err := decodeGenericInterfaceCounters(data); err == nil {
-                               s.Records = append(s.Records, record)
-                       } else {
-                               return s, err
-                       }
-               case SFlowTypeEthernetInterfaceCounters:
-                       if record, err := decodeEthernetCounters(data); err == nil {
-                               s.Records = append(s.Records, record)
-                       } else {
-                               return s, err
-                       }
-               case SFlowTypeTokenRingInterfaceCounters:
-                       skipRecord(data)
-                       return s, errors.New("skipping TypeTokenRingInterfaceCounters")
-               case SFlowType100BaseVGInterfaceCounters:
-                       skipRecord(data)
-                       return s, errors.New("skipping Type100BaseVGInterfaceCounters")
-               case SFlowTypeVLANCounters:
-                       skipRecord(data)
-                       return s, errors.New("skipping TypeVLANCounters")
-               case SFlowTypeProcessorCounters:
-                       if record, err := decodeProcessorCounters(data); err == nil {
-                               s.Records = append(s.Records, record)
-                       } else {
-                               return s, err
-                       }
-               default:
-                       return s, fmt.Errorf("Invalid counter record type: %d", counterRecordType)
-               }
-       }
-       return s, nil
-}
-
-// SFlowBaseFlowRecord holds the fields common to all records
-// of type SFlowFlowRecordType
-type SFlowBaseFlowRecord struct {
-       EnterpriseID   SFlowEnterpriseID
-       Format         SFlowFlowRecordType
-       FlowDataLength uint32
-}
-
-func (bfr SFlowBaseFlowRecord) GetType() SFlowFlowRecordType {
-       return bfr.Format
-}
-
-// SFlowFlowRecordType denotes what kind of Flow Record is
-// represented. See RFC 3176
-type SFlowFlowRecordType uint32
-
-const (
-       SFlowTypeRawPacketFlow                  SFlowFlowRecordType = 1
-       SFlowTypeEthernetFrameFlow              SFlowFlowRecordType = 2
-       SFlowTypeIpv4Flow                       SFlowFlowRecordType = 3
-       SFlowTypeIpv6Flow                       SFlowFlowRecordType = 4
-       SFlowTypeExtendedSwitchFlow             SFlowFlowRecordType = 1001
-       SFlowTypeExtendedRouterFlow             SFlowFlowRecordType = 1002
-       SFlowTypeExtendedGatewayFlow            SFlowFlowRecordType = 1003
-       SFlowTypeExtendedUserFlow               SFlowFlowRecordType = 1004
-       SFlowTypeExtendedUrlFlow                SFlowFlowRecordType = 1005
-       SFlowTypeExtendedMlpsFlow               SFlowFlowRecordType = 1006
-       SFlowTypeExtendedNatFlow                SFlowFlowRecordType = 1007
-       SFlowTypeExtendedMlpsTunnelFlow         SFlowFlowRecordType = 1008
-       SFlowTypeExtendedMlpsVcFlow             SFlowFlowRecordType = 1009
-       SFlowTypeExtendedMlpsFecFlow            SFlowFlowRecordType = 1010
-       SFlowTypeExtendedMlpsLvpFecFlow         SFlowFlowRecordType = 1011
-       SFlowTypeExtendedVlanFlow               SFlowFlowRecordType = 1012
-       SFlowTypeExtendedIpv4TunnelEgressFlow   SFlowFlowRecordType = 1023
-       SFlowTypeExtendedIpv4TunnelIngressFlow  SFlowFlowRecordType = 1024
-       SFlowTypeExtendedIpv6TunnelEgressFlow   SFlowFlowRecordType = 1025
-       SFlowTypeExtendedIpv6TunnelIngressFlow  SFlowFlowRecordType = 1026
-       SFlowTypeExtendedDecapsulateEgressFlow  SFlowFlowRecordType = 1027
-       SFlowTypeExtendedDecapsulateIngressFlow SFlowFlowRecordType = 1028
-       SFlowTypeExtendedVniEgressFlow          SFlowFlowRecordType = 1029
-       SFlowTypeExtendedVniIngressFlow         SFlowFlowRecordType = 1030
-)
-
-func (rt SFlowFlowRecordType) String() string {
-       switch rt {
-       case SFlowTypeRawPacketFlow:
-               return "Raw Packet Flow Record"
-       case SFlowTypeEthernetFrameFlow:
-               return "Ethernet Frame Flow Record"
-       case SFlowTypeIpv4Flow:
-               return "IPv4 Flow Record"
-       case SFlowTypeIpv6Flow:
-               return "IPv6 Flow Record"
-       case SFlowTypeExtendedSwitchFlow:
-               return "Extended Switch Flow Record"
-       case SFlowTypeExtendedRouterFlow:
-               return "Extended Router Flow Record"
-       case SFlowTypeExtendedGatewayFlow:
-               return "Extended Gateway Flow Record"
-       case SFlowTypeExtendedUserFlow:
-               return "Extended User Flow Record"
-       case SFlowTypeExtendedUrlFlow:
-               return "Extended URL Flow Record"
-       case SFlowTypeExtendedMlpsFlow:
-               return "Extended MPLS Flow Record"
-       case SFlowTypeExtendedNatFlow:
-               return "Extended NAT Flow Record"
-       case SFlowTypeExtendedMlpsTunnelFlow:
-               return "Extended MPLS Tunnel Flow Record"
-       case SFlowTypeExtendedMlpsVcFlow:
-               return "Extended MPLS VC Flow Record"
-       case SFlowTypeExtendedMlpsFecFlow:
-               return "Extended MPLS FEC Flow Record"
-       case SFlowTypeExtendedMlpsLvpFecFlow:
-               return "Extended MPLS LVP FEC Flow Record"
-       case SFlowTypeExtendedVlanFlow:
-               return "Extended VLAN Flow Record"
-       case SFlowTypeExtendedIpv4TunnelEgressFlow:
-               return "Extended IPv4 Tunnel Egress Record"
-       case SFlowTypeExtendedIpv4TunnelIngressFlow:
-               return "Extended IPv4 Tunnel Ingress Record"
-       case SFlowTypeExtendedIpv6TunnelEgressFlow:
-               return "Extended IPv6 Tunnel Egress Record"
-       case SFlowTypeExtendedIpv6TunnelIngressFlow:
-               return "Extended IPv6 Tunnel Ingress Record"
-       case SFlowTypeExtendedDecapsulateEgressFlow:
-               return "Extended Decapsulate Egress Record"
-       case SFlowTypeExtendedDecapsulateIngressFlow:
-               return "Extended Decapsulate Ingress Record"
-       case SFlowTypeExtendedVniEgressFlow:
-               return "Extended VNI Ingress Record"
-       case SFlowTypeExtendedVniIngressFlow:
-               return "Extended VNI Ingress Record"
-       default:
-               return ""
-       }
-}
-
-// SFlowRawPacketFlowRecords hold information about a sampled
-// packet grabbed as it transited the agent. This is
-// perhaps the most useful and interesting record type,
-// as it holds the headers of the sampled packet and
-// can be used to build up a complete picture of the
-// traffic patterns on a network.
-//
-// The raw packet header is sent back into gopacket for
-// decoding, and the resulting gopackt.Packet is stored
-// in the Header member
-type SFlowRawPacketFlowRecord struct {
-       SFlowBaseFlowRecord
-       HeaderProtocol SFlowRawHeaderProtocol
-       FrameLength    uint32
-       PayloadRemoved uint32
-       HeaderLength   uint32
-       Header         gopacket.Packet
-}
-
-// Raw packet record types have the following structure:
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |      20 bit Interprise (0)     |12 bit format |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  record length                |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                 Header Protocol               |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                 Frame Length                  |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                 Payload Removed               |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                 Header Length                 |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  \                     Header                    \
-//  \                                               \
-//  \                                               \
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-
-type SFlowRawHeaderProtocol uint32
-
-const (
-       SFlowProtoEthernet   SFlowRawHeaderProtocol = 1
-       SFlowProtoISO88024   SFlowRawHeaderProtocol = 2
-       SFlowProtoISO88025   SFlowRawHeaderProtocol = 3
-       SFlowProtoFDDI       SFlowRawHeaderProtocol = 4
-       SFlowProtoFrameRelay SFlowRawHeaderProtocol = 5
-       SFlowProtoX25        SFlowRawHeaderProtocol = 6
-       SFlowProtoPPP        SFlowRawHeaderProtocol = 7
-       SFlowProtoSMDS       SFlowRawHeaderProtocol = 8
-       SFlowProtoAAL5       SFlowRawHeaderProtocol = 9
-       SFlowProtoAAL5_IP    SFlowRawHeaderProtocol = 10 /* e.g. Cisco AAL5 mux */
-       SFlowProtoIPv4       SFlowRawHeaderProtocol = 11
-       SFlowProtoIPv6       SFlowRawHeaderProtocol = 12
-       SFlowProtoMPLS       SFlowRawHeaderProtocol = 13
-       SFlowProtoPOS        SFlowRawHeaderProtocol = 14 /* RFC 1662, 2615 */
-)
-
-func (sfhp SFlowRawHeaderProtocol) String() string {
-       switch sfhp {
-       case SFlowProtoEthernet:
-               return "ETHERNET-ISO88023"
-       case SFlowProtoISO88024:
-               return "ISO88024-TOKENBUS"
-       case SFlowProtoISO88025:
-               return "ISO88025-TOKENRING"
-       case SFlowProtoFDDI:
-               return "FDDI"
-       case SFlowProtoFrameRelay:
-               return "FRAME-RELAY"
-       case SFlowProtoX25:
-               return "X25"
-       case SFlowProtoPPP:
-               return "PPP"
-       case SFlowProtoSMDS:
-               return "SMDS"
-       case SFlowProtoAAL5:
-               return "AAL5"
-       case SFlowProtoAAL5_IP:
-               return "AAL5-IP"
-       case SFlowProtoIPv4:
-               return "IPv4"
-       case SFlowProtoIPv6:
-               return "IPv6"
-       case SFlowProtoMPLS:
-               return "MPLS"
-       case SFlowProtoPOS:
-               return "POS"
-       }
-       return "UNKNOWN"
-}
-
-func decodeRawPacketFlowRecord(data *[]byte) (SFlowRawPacketFlowRecord, error) {
-       rec := SFlowRawPacketFlowRecord{}
-       header := []byte{}
-       var fdf SFlowFlowDataFormat
-
-       *data, fdf = (*data)[4:], SFlowFlowDataFormat(binary.BigEndian.Uint32((*data)[:4]))
-       rec.EnterpriseID, rec.Format = fdf.decode()
-       *data, rec.FlowDataLength = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, rec.HeaderProtocol = (*data)[4:], SFlowRawHeaderProtocol(binary.BigEndian.Uint32((*data)[:4]))
-       *data, rec.FrameLength = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, rec.PayloadRemoved = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, rec.HeaderLength = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       headerLenWithPadding := int(rec.HeaderLength + ((4 - rec.HeaderLength) % 4))
-       *data, header = (*data)[headerLenWithPadding:], (*data)[:headerLenWithPadding]
-       rec.Header = gopacket.NewPacket(header, LayerTypeEthernet, gopacket.Default)
-       return rec, nil
-}
-
-// SFlowExtendedSwitchFlowRecord give additional information
-// about the sampled packet if it's available. It's mainly
-// useful for getting at the incoming and outgoing VLANs
-// An agent may or may not provide this information.
-type SFlowExtendedSwitchFlowRecord struct {
-       SFlowBaseFlowRecord
-       IncomingVLAN         uint32
-       IncomingVLANPriority uint32
-       OutgoingVLAN         uint32
-       OutgoingVLANPriority uint32
-}
-
-// Extended switch records have the following structure:
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |      20 bit Interprise (0)     |12 bit format |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  record length                |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                   Incoming VLAN               |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                Incoming VLAN Priority         |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                   Outgoing VLAN               |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                Outgoing VLAN Priority         |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-
-func decodeExtendedSwitchFlowRecord(data *[]byte) (SFlowExtendedSwitchFlowRecord, error) {
-       es := SFlowExtendedSwitchFlowRecord{}
-       var fdf SFlowFlowDataFormat
-
-       *data, fdf = (*data)[4:], SFlowFlowDataFormat(binary.BigEndian.Uint32((*data)[:4]))
-       es.EnterpriseID, es.Format = fdf.decode()
-       *data, es.FlowDataLength = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, es.IncomingVLAN = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, es.IncomingVLANPriority = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, es.OutgoingVLAN = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, es.OutgoingVLANPriority = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       return es, nil
-}
-
-// SFlowExtendedRouterFlowRecord gives additional information
-// about the layer 3 routing information used to forward
-// the packet
-type SFlowExtendedRouterFlowRecord struct {
-       SFlowBaseFlowRecord
-       NextHop                net.IP
-       NextHopSourceMask      uint32
-       NextHopDestinationMask uint32
-}
-
-// Extended router records have the following structure:
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |      20 bit Interprise (0)     |12 bit format |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  record length                |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |   IP version of next hop router (1=v4|2=v6)   |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  /     Next Hop address (v4=4byte|v6=16byte)     /
-//  /                                               /
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |              Next Hop Source Mask             |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |              Next Hop Destination Mask        |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-
-func decodeExtendedRouterFlowRecord(data *[]byte) (SFlowExtendedRouterFlowRecord, error) {
-       er := SFlowExtendedRouterFlowRecord{}
-       var fdf SFlowFlowDataFormat
-       var extendedRouterAddressType SFlowIPType
-
-       *data, fdf = (*data)[4:], SFlowFlowDataFormat(binary.BigEndian.Uint32((*data)[:4]))
-       er.EnterpriseID, er.Format = fdf.decode()
-       *data, er.FlowDataLength = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, extendedRouterAddressType = (*data)[4:], SFlowIPType(binary.BigEndian.Uint32((*data)[:4]))
-       *data, er.NextHop = (*data)[extendedRouterAddressType.Length():], (*data)[:extendedRouterAddressType.Length()]
-       *data, er.NextHopSourceMask = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, er.NextHopDestinationMask = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       return er, nil
-}
-
-// SFlowExtendedGatewayFlowRecord describes information treasured by
-// nework engineers everywhere: AS path information listing which
-// BGP peer sent the packet, and various other BGP related info.
-// This information is vital because it gives a picture of how much
-// traffic is being sent from / received by various BGP peers.
-
-// Extended gateway records have the following structure:
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |      20 bit Interprise (0)     |12 bit format |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  record length                |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |   IP version of next hop router (1=v4|2=v6)   |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  /     Next Hop address (v4=4byte|v6=16byte)     /
-//  /                                               /
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                       AS                      |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  Source AS                    |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                    Peer AS                    |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  AS Path Count                |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  /                AS Path / Sequence             /
-//  /                                               /
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  /                   Communities                 /
-//  /                                               /
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                    Local Pref                 |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-
-// AS Path / Sequence:
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |     AS Source Type (Path=1 / Sequence=2)      |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |              Path / Sequence length           |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  /              Path / Sequence Members          /
-//  /                                               /
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-
-// Communities:
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                communitiy length              |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  /              communitiy Members               /
-//  /                                               /
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-
-type SFlowExtendedGatewayFlowRecord struct {
-       SFlowBaseFlowRecord
-       NextHop     net.IP
-       AS          uint32
-       SourceAS    uint32
-       PeerAS      uint32
-       ASPathCount uint32
-       ASPath      []SFlowASDestination
-       Communities []uint32
-       LocalPref   uint32
-}
-
-type SFlowASPathType uint32
-
-const (
-       SFlowASSet      SFlowASPathType = 1
-       SFlowASSequence SFlowASPathType = 2
-)
-
-func (apt SFlowASPathType) String() string {
-       switch apt {
-       case SFlowASSet:
-               return "AS Set"
-       case SFlowASSequence:
-               return "AS Sequence"
-       default:
-               return ""
-       }
-}
-
-type SFlowASDestination struct {
-       Type    SFlowASPathType
-       Count   uint32
-       Members []uint32
-}
-
-func (asd SFlowASDestination) String() string {
-       switch asd.Type {
-       case SFlowASSet:
-               return fmt.Sprint("AS Set:", asd.Members)
-       case SFlowASSequence:
-               return fmt.Sprint("AS Sequence:", asd.Members)
-       default:
-               return ""
-       }
-}
-
-func (ad *SFlowASDestination) decodePath(data *[]byte) {
-       *data, ad.Type = (*data)[4:], SFlowASPathType(binary.BigEndian.Uint32((*data)[:4]))
-       *data, ad.Count = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       ad.Members = make([]uint32, ad.Count)
-       for i := uint32(0); i < ad.Count; i++ {
-               var member uint32
-               *data, member = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-               ad.Members[i] = member
-       }
-}
-
-func decodeExtendedGatewayFlowRecord(data *[]byte) (SFlowExtendedGatewayFlowRecord, error) {
-       eg := SFlowExtendedGatewayFlowRecord{}
-       var fdf SFlowFlowDataFormat
-       var extendedGatewayAddressType SFlowIPType
-       var communitiesLength uint32
-       var community uint32
-
-       *data, fdf = (*data)[4:], SFlowFlowDataFormat(binary.BigEndian.Uint32((*data)[:4]))
-       eg.EnterpriseID, eg.Format = fdf.decode()
-       *data, eg.FlowDataLength = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, extendedGatewayAddressType = (*data)[4:], SFlowIPType(binary.BigEndian.Uint32((*data)[:4]))
-       *data, eg.NextHop = (*data)[extendedGatewayAddressType.Length():], (*data)[:extendedGatewayAddressType.Length()]
-       *data, eg.AS = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, eg.SourceAS = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, eg.PeerAS = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, eg.ASPathCount = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       for i := uint32(0); i < eg.ASPathCount; i++ {
-               asPath := SFlowASDestination{}
-               asPath.decodePath(data)
-               eg.ASPath = append(eg.ASPath, asPath)
-       }
-       *data, communitiesLength = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       eg.Communities = make([]uint32, communitiesLength)
-       for j := uint32(0); j < communitiesLength; j++ {
-               *data, community = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-               eg.Communities[j] = community
-       }
-       *data, eg.LocalPref = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       return eg, nil
-}
-
-// **************************************************
-//  Extended URL Flow Record
-// **************************************************
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |      20 bit Interprise (0)     |12 bit format |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  record length                |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                   direction                   |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                      URL                      |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                      Host                     |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-
-type SFlowURLDirection uint32
-
-const (
-       SFlowURLsrc SFlowURLDirection = 1
-       SFlowURLdst SFlowURLDirection = 2
-)
-
-func (urld SFlowURLDirection) String() string {
-       switch urld {
-       case SFlowURLsrc:
-               return "Source address is the server"
-       case SFlowURLdst:
-               return "Destination address is the server"
-       default:
-               return ""
-       }
-}
-
-type SFlowExtendedURLRecord struct {
-       SFlowBaseFlowRecord
-       Direction SFlowURLDirection
-       URL       string
-       Host      string
-}
-
-func decodeExtendedURLRecord(data *[]byte) (SFlowExtendedURLRecord, error) {
-       eur := SFlowExtendedURLRecord{}
-       var fdf SFlowFlowDataFormat
-       var urlLen uint32
-       var urlLenWithPad int
-       var hostLen uint32
-       var hostLenWithPad int
-       var urlBytes []byte
-       var hostBytes []byte
-
-       *data, fdf = (*data)[4:], SFlowFlowDataFormat(binary.BigEndian.Uint32((*data)[:4]))
-       eur.EnterpriseID, eur.Format = fdf.decode()
-       *data, eur.FlowDataLength = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, eur.Direction = (*data)[4:], SFlowURLDirection(binary.BigEndian.Uint32((*data)[:4]))
-       *data, urlLen = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       urlLenWithPad = int(urlLen + ((4 - urlLen) % 4))
-       *data, urlBytes = (*data)[urlLenWithPad:], (*data)[:urlLenWithPad]
-       eur.URL = string(urlBytes[:urlLen])
-       *data, hostLen = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       hostLenWithPad = int(hostLen + ((4 - hostLen) % 4))
-       *data, hostBytes = (*data)[hostLenWithPad:], (*data)[:hostLenWithPad]
-       eur.Host = string(hostBytes[:hostLen])
-       return eur, nil
-}
-
-// **************************************************
-//  Extended User Flow Record
-// **************************************************
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |      20 bit Interprise (0)     |12 bit format |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  record length                |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                Source Character Set           |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                 Source User Id                |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |              Destination Character Set        |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |               Destination User ID             |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-
-type SFlowExtendedUserFlow struct {
-       SFlowBaseFlowRecord
-       SourceCharSet      SFlowCharSet
-       SourceUserID       string
-       DestinationCharSet SFlowCharSet
-       DestinationUserID  string
-}
-
-type SFlowCharSet uint32
-
-const (
-       SFlowCSunknown                 SFlowCharSet = 2
-       SFlowCSASCII                   SFlowCharSet = 3
-       SFlowCSISOLatin1               SFlowCharSet = 4
-       SFlowCSISOLatin2               SFlowCharSet = 5
-       SFlowCSISOLatin3               SFlowCharSet = 6
-       SFlowCSISOLatin4               SFlowCharSet = 7
-       SFlowCSISOLatinCyrillic        SFlowCharSet = 8
-       SFlowCSISOLatinArabic          SFlowCharSet = 9
-       SFlowCSISOLatinGreek           SFlowCharSet = 10
-       SFlowCSISOLatinHebrew          SFlowCharSet = 11
-       SFlowCSISOLatin5               SFlowCharSet = 12
-       SFlowCSISOLatin6               SFlowCharSet = 13
-       SFlowCSISOTextComm             SFlowCharSet = 14
-       SFlowCSHalfWidthKatakana       SFlowCharSet = 15
-       SFlowCSJISEncoding             SFlowCharSet = 16
-       SFlowCSShiftJIS                SFlowCharSet = 17
-       SFlowCSEUCPkdFmtJapanese       SFlowCharSet = 18
-       SFlowCSEUCFixWidJapanese       SFlowCharSet = 19
-       SFlowCSISO4UnitedKingdom       SFlowCharSet = 20
-       SFlowCSISO11SwedishForNames    SFlowCharSet = 21
-       SFlowCSISO15Italian            SFlowCharSet = 22
-       SFlowCSISO17Spanish            SFlowCharSet = 23
-       SFlowCSISO21German             SFlowCharSet = 24
-       SFlowCSISO60DanishNorwegian    SFlowCharSet = 25
-       SFlowCSISO69French             SFlowCharSet = 26
-       SFlowCSISO10646UTF1            SFlowCharSet = 27
-       SFlowCSISO646basic1983         SFlowCharSet = 28
-       SFlowCSINVARIANT               SFlowCharSet = 29
-       SFlowCSISO2IntlRefVersion      SFlowCharSet = 30
-       SFlowCSNATSSEFI                SFlowCharSet = 31
-       SFlowCSNATSSEFIADD             SFlowCharSet = 32
-       SFlowCSNATSDANO                SFlowCharSet = 33
-       SFlowCSNATSDANOADD             SFlowCharSet = 34
-       SFlowCSISO10Swedish            SFlowCharSet = 35
-       SFlowCSKSC56011987             SFlowCharSet = 36
-       SFlowCSISO2022KR               SFlowCharSet = 37
-       SFlowCSEUCKR                   SFlowCharSet = 38
-       SFlowCSISO2022JP               SFlowCharSet = 39
-       SFlowCSISO2022JP2              SFlowCharSet = 40
-       SFlowCSISO13JISC6220jp         SFlowCharSet = 41
-       SFlowCSISO14JISC6220ro         SFlowCharSet = 42
-       SFlowCSISO16Portuguese         SFlowCharSet = 43
-       SFlowCSISO18Greek7Old          SFlowCharSet = 44
-       SFlowCSISO19LatinGreek         SFlowCharSet = 45
-       SFlowCSISO25French             SFlowCharSet = 46
-       SFlowCSISO27LatinGreek1        SFlowCharSet = 47
-       SFlowCSISO5427Cyrillic         SFlowCharSet = 48
-       SFlowCSISO42JISC62261978       SFlowCharSet = 49
-       SFlowCSISO47BSViewdata         SFlowCharSet = 50
-       SFlowCSISO49INIS               SFlowCharSet = 51
-       SFlowCSISO50INIS8              SFlowCharSet = 52
-       SFlowCSISO51INISCyrillic       SFlowCharSet = 53
-       SFlowCSISO54271981             SFlowCharSet = 54
-       SFlowCSISO5428Greek            SFlowCharSet = 55
-       SFlowCSISO57GB1988             SFlowCharSet = 56
-       SFlowCSISO58GB231280           SFlowCharSet = 57
-       SFlowCSISO61Norwegian2         SFlowCharSet = 58
-       SFlowCSISO70VideotexSupp1      SFlowCharSet = 59
-       SFlowCSISO84Portuguese2        SFlowCharSet = 60
-       SFlowCSISO85Spanish2           SFlowCharSet = 61
-       SFlowCSISO86Hungarian          SFlowCharSet = 62
-       SFlowCSISO87JISX0208           SFlowCharSet = 63
-       SFlowCSISO88Greek7             SFlowCharSet = 64
-       SFlowCSISO89ASMO449            SFlowCharSet = 65
-       SFlowCSISO90                   SFlowCharSet = 66
-       SFlowCSISO91JISC62291984a      SFlowCharSet = 67
-       SFlowCSISO92JISC62991984b      SFlowCharSet = 68
-       SFlowCSISO93JIS62291984badd    SFlowCharSet = 69
-       SFlowCSISO94JIS62291984hand    SFlowCharSet = 70
-       SFlowCSISO95JIS62291984handadd SFlowCharSet = 71
-       SFlowCSISO96JISC62291984kana   SFlowCharSet = 72
-       SFlowCSISO2033                 SFlowCharSet = 73
-       SFlowCSISO99NAPLPS             SFlowCharSet = 74
-       SFlowCSISO102T617bit           SFlowCharSet = 75
-       SFlowCSISO103T618bit           SFlowCharSet = 76
-       SFlowCSISO111ECMACyrillic      SFlowCharSet = 77
-       SFlowCSa71                     SFlowCharSet = 78
-       SFlowCSa72                     SFlowCharSet = 79
-       SFlowCSISO123CSAZ24341985gr    SFlowCharSet = 80
-       SFlowCSISO88596E               SFlowCharSet = 81
-       SFlowCSISO88596I               SFlowCharSet = 82
-       SFlowCSISO128T101G2            SFlowCharSet = 83
-       SFlowCSISO88598E               SFlowCharSet = 84
-       SFlowCSISO88598I               SFlowCharSet = 85
-       SFlowCSISO139CSN369103         SFlowCharSet = 86
-       SFlowCSISO141JUSIB1002         SFlowCharSet = 87
-       SFlowCSISO143IECP271           SFlowCharSet = 88
-       SFlowCSISO146Serbian           SFlowCharSet = 89
-       SFlowCSISO147Macedonian        SFlowCharSet = 90
-       SFlowCSISO150                  SFlowCharSet = 91
-       SFlowCSISO151Cuba              SFlowCharSet = 92
-       SFlowCSISO6937Add              SFlowCharSet = 93
-       SFlowCSISO153GOST1976874       SFlowCharSet = 94
-       SFlowCSISO8859Supp             SFlowCharSet = 95
-       SFlowCSISO10367Box             SFlowCharSet = 96
-       SFlowCSISO158Lap               SFlowCharSet = 97
-       SFlowCSISO159JISX02121990      SFlowCharSet = 98
-       SFlowCSISO646Danish            SFlowCharSet = 99
-       SFlowCSUSDK                    SFlowCharSet = 100
-       SFlowCSDKUS                    SFlowCharSet = 101
-       SFlowCSKSC5636                 SFlowCharSet = 102
-       SFlowCSUnicode11UTF7           SFlowCharSet = 103
-       SFlowCSISO2022CN               SFlowCharSet = 104
-       SFlowCSISO2022CNEXT            SFlowCharSet = 105
-       SFlowCSUTF8                    SFlowCharSet = 106
-       SFlowCSISO885913               SFlowCharSet = 109
-       SFlowCSISO885914               SFlowCharSet = 110
-       SFlowCSISO885915               SFlowCharSet = 111
-       SFlowCSISO885916               SFlowCharSet = 112
-       SFlowCSGBK                     SFlowCharSet = 113
-       SFlowCSGB18030                 SFlowCharSet = 114
-       SFlowCSOSDEBCDICDF0415         SFlowCharSet = 115
-       SFlowCSOSDEBCDICDF03IRV        SFlowCharSet = 116
-       SFlowCSOSDEBCDICDF041          SFlowCharSet = 117
-       SFlowCSISO115481               SFlowCharSet = 118
-       SFlowCSKZ1048                  SFlowCharSet = 119
-       SFlowCSUnicode                 SFlowCharSet = 1000
-       SFlowCSUCS4                    SFlowCharSet = 1001
-       SFlowCSUnicodeASCII            SFlowCharSet = 1002
-       SFlowCSUnicodeLatin1           SFlowCharSet = 1003
-       SFlowCSUnicodeJapanese         SFlowCharSet = 1004
-       SFlowCSUnicodeIBM1261          SFlowCharSet = 1005
-       SFlowCSUnicodeIBM1268          SFlowCharSet = 1006
-       SFlowCSUnicodeIBM1276          SFlowCharSet = 1007
-       SFlowCSUnicodeIBM1264          SFlowCharSet = 1008
-       SFlowCSUnicodeIBM1265          SFlowCharSet = 1009
-       SFlowCSUnicode11               SFlowCharSet = 1010
-       SFlowCSSCSU                    SFlowCharSet = 1011
-       SFlowCSUTF7                    SFlowCharSet = 1012
-       SFlowCSUTF16BE                 SFlowCharSet = 1013
-       SFlowCSUTF16LE                 SFlowCharSet = 1014
-       SFlowCSUTF16                   SFlowCharSet = 1015
-       SFlowCSCESU8                   SFlowCharSet = 1016
-       SFlowCSUTF32                   SFlowCharSet = 1017
-       SFlowCSUTF32BE                 SFlowCharSet = 1018
-       SFlowCSUTF32LE                 SFlowCharSet = 1019
-       SFlowCSBOCU1                   SFlowCharSet = 1020
-       SFlowCSWindows30Latin1         SFlowCharSet = 2000
-       SFlowCSWindows31Latin1         SFlowCharSet = 2001
-       SFlowCSWindows31Latin2         SFlowCharSet = 2002
-       SFlowCSWindows31Latin5         SFlowCharSet = 2003
-       SFlowCSHPRoman8                SFlowCharSet = 2004
-       SFlowCSAdobeStandardEncoding   SFlowCharSet = 2005
-       SFlowCSVenturaUS               SFlowCharSet = 2006
-       SFlowCSVenturaInternational    SFlowCharSet = 2007
-       SFlowCSDECMCS                  SFlowCharSet = 2008
-       SFlowCSPC850Multilingual       SFlowCharSet = 2009
-       SFlowCSPCp852                  SFlowCharSet = 2010
-       SFlowCSPC8CodePage437          SFlowCharSet = 2011
-       SFlowCSPC8DanishNorwegian      SFlowCharSet = 2012
-       SFlowCSPC862LatinHebrew        SFlowCharSet = 2013
-       SFlowCSPC8Turkish              SFlowCharSet = 2014
-       SFlowCSIBMSymbols              SFlowCharSet = 2015
-       SFlowCSIBMThai                 SFlowCharSet = 2016
-       SFlowCSHPLegal                 SFlowCharSet = 2017
-       SFlowCSHPPiFont                SFlowCharSet = 2018
-       SFlowCSHPMath8                 SFlowCharSet = 2019
-       SFlowCSHPPSMath                SFlowCharSet = 2020
-       SFlowCSHPDesktop               SFlowCharSet = 2021
-       SFlowCSVenturaMath             SFlowCharSet = 2022
-       SFlowCSMicrosoftPublishing     SFlowCharSet = 2023
-       SFlowCSWindows31J              SFlowCharSet = 2024
-       SFlowCSGB2312                  SFlowCharSet = 2025
-       SFlowCSBig5                    SFlowCharSet = 2026
-       SFlowCSMacintosh               SFlowCharSet = 2027
-       SFlowCSIBM037                  SFlowCharSet = 2028
-       SFlowCSIBM038                  SFlowCharSet = 2029
-       SFlowCSIBM273                  SFlowCharSet = 2030
-       SFlowCSIBM274                  SFlowCharSet = 2031
-       SFlowCSIBM275                  SFlowCharSet = 2032
-       SFlowCSIBM277                  SFlowCharSet = 2033
-       SFlowCSIBM278                  SFlowCharSet = 2034
-       SFlowCSIBM280                  SFlowCharSet = 2035
-       SFlowCSIBM281                  SFlowCharSet = 2036
-       SFlowCSIBM284                  SFlowCharSet = 2037
-       SFlowCSIBM285                  SFlowCharSet = 2038
-       SFlowCSIBM290                  SFlowCharSet = 2039
-       SFlowCSIBM297                  SFlowCharSet = 2040
-       SFlowCSIBM420                  SFlowCharSet = 2041
-       SFlowCSIBM423                  SFlowCharSet = 2042
-       SFlowCSIBM424                  SFlowCharSet = 2043
-       SFlowCSIBM500                  SFlowCharSet = 2044
-       SFlowCSIBM851                  SFlowCharSet = 2045
-       SFlowCSIBM855                  SFlowCharSet = 2046
-       SFlowCSIBM857                  SFlowCharSet = 2047
-       SFlowCSIBM860                  SFlowCharSet = 2048
-       SFlowCSIBM861                  SFlowCharSet = 2049
-       SFlowCSIBM863                  SFlowCharSet = 2050
-       SFlowCSIBM864                  SFlowCharSet = 2051
-       SFlowCSIBM865                  SFlowCharSet = 2052
-       SFlowCSIBM868                  SFlowCharSet = 2053
-       SFlowCSIBM869                  SFlowCharSet = 2054
-       SFlowCSIBM870                  SFlowCharSet = 2055
-       SFlowCSIBM871                  SFlowCharSet = 2056
-       SFlowCSIBM880                  SFlowCharSet = 2057
-       SFlowCSIBM891                  SFlowCharSet = 2058
-       SFlowCSIBM903                  SFlowCharSet = 2059
-       SFlowCSIBBM904                 SFlowCharSet = 2060
-       SFlowCSIBM905                  SFlowCharSet = 2061
-       SFlowCSIBM918                  SFlowCharSet = 2062
-       SFlowCSIBM1026                 SFlowCharSet = 2063
-       SFlowCSIBMEBCDICATDE           SFlowCharSet = 2064
-       SFlowCSEBCDICATDEA             SFlowCharSet = 2065
-       SFlowCSEBCDICCAFR              SFlowCharSet = 2066
-       SFlowCSEBCDICDKNO              SFlowCharSet = 2067
-       SFlowCSEBCDICDKNOA             SFlowCharSet = 2068
-       SFlowCSEBCDICFISE              SFlowCharSet = 2069
-       SFlowCSEBCDICFISEA             SFlowCharSet = 2070
-       SFlowCSEBCDICFR                SFlowCharSet = 2071
-       SFlowCSEBCDICIT                SFlowCharSet = 2072
-       SFlowCSEBCDICPT                SFlowCharSet = 2073
-       SFlowCSEBCDICES                SFlowCharSet = 2074
-       SFlowCSEBCDICESA               SFlowCharSet = 2075
-       SFlowCSEBCDICESS               SFlowCharSet = 2076
-       SFlowCSEBCDICUK                SFlowCharSet = 2077
-       SFlowCSEBCDICUS                SFlowCharSet = 2078
-       SFlowCSUnknown8BiT             SFlowCharSet = 2079
-       SFlowCSMnemonic                SFlowCharSet = 2080
-       SFlowCSMnem                    SFlowCharSet = 2081
-       SFlowCSVISCII                  SFlowCharSet = 2082
-       SFlowCSVIQR                    SFlowCharSet = 2083
-       SFlowCSKOI8R                   SFlowCharSet = 2084
-       SFlowCSHZGB2312                SFlowCharSet = 2085
-       SFlowCSIBM866                  SFlowCharSet = 2086
-       SFlowCSPC775Baltic             SFlowCharSet = 2087
-       SFlowCSKOI8U                   SFlowCharSet = 2088
-       SFlowCSIBM00858                SFlowCharSet = 2089
-       SFlowCSIBM00924                SFlowCharSet = 2090
-       SFlowCSIBM01140                SFlowCharSet = 2091
-       SFlowCSIBM01141                SFlowCharSet = 2092
-       SFlowCSIBM01142                SFlowCharSet = 2093
-       SFlowCSIBM01143                SFlowCharSet = 2094
-       SFlowCSIBM01144                SFlowCharSet = 2095
-       SFlowCSIBM01145                SFlowCharSet = 2096
-       SFlowCSIBM01146                SFlowCharSet = 2097
-       SFlowCSIBM01147                SFlowCharSet = 2098
-       SFlowCSIBM01148                SFlowCharSet = 2099
-       SFlowCSIBM01149                SFlowCharSet = 2100
-       SFlowCSBig5HKSCS               SFlowCharSet = 2101
-       SFlowCSIBM1047                 SFlowCharSet = 2102
-       SFlowCSPTCP154                 SFlowCharSet = 2103
-       SFlowCSAmiga1251               SFlowCharSet = 2104
-       SFlowCSKOI7switched            SFlowCharSet = 2105
-       SFlowCSBRF                     SFlowCharSet = 2106
-       SFlowCSTSCII                   SFlowCharSet = 2107
-       SFlowCSCP51932                 SFlowCharSet = 2108
-       SFlowCSWindows874              SFlowCharSet = 2109
-       SFlowCSWindows1250             SFlowCharSet = 2250
-       SFlowCSWindows1251             SFlowCharSet = 2251
-       SFlowCSWindows1252             SFlowCharSet = 2252
-       SFlowCSWindows1253             SFlowCharSet = 2253
-       SFlowCSWindows1254             SFlowCharSet = 2254
-       SFlowCSWindows1255             SFlowCharSet = 2255
-       SFlowCSWindows1256             SFlowCharSet = 2256
-       SFlowCSWindows1257             SFlowCharSet = 2257
-       SFlowCSWindows1258             SFlowCharSet = 2258
-       SFlowCSTIS620                  SFlowCharSet = 2259
-       SFlowCS50220                   SFlowCharSet = 2260
-       SFlowCSreserved                SFlowCharSet = 3000
-)
-
-func decodeExtendedUserFlow(data *[]byte) (SFlowExtendedUserFlow, error) {
-       eu := SFlowExtendedUserFlow{}
-       var fdf SFlowFlowDataFormat
-       var srcUserLen uint32
-       var srcUserLenWithPad int
-       var srcUserBytes []byte
-       var dstUserLen uint32
-       var dstUserLenWithPad int
-       var dstUserBytes []byte
-
-       *data, fdf = (*data)[4:], SFlowFlowDataFormat(binary.BigEndian.Uint32((*data)[:4]))
-       eu.EnterpriseID, eu.Format = fdf.decode()
-       *data, eu.FlowDataLength = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, eu.SourceCharSet = (*data)[4:], SFlowCharSet(binary.BigEndian.Uint32((*data)[:4]))
-       *data, srcUserLen = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       srcUserLenWithPad = int(srcUserLen + ((4 - srcUserLen) % 4))
-       *data, srcUserBytes = (*data)[srcUserLenWithPad:], (*data)[:srcUserLenWithPad]
-       eu.SourceUserID = string(srcUserBytes[:srcUserLen])
-       *data, eu.DestinationCharSet = (*data)[4:], SFlowCharSet(binary.BigEndian.Uint32((*data)[:4]))
-       *data, dstUserLen = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       dstUserLenWithPad = int(dstUserLen + ((4 - dstUserLen) % 4))
-       *data, dstUserBytes = (*data)[dstUserLenWithPad:], (*data)[:dstUserLenWithPad]
-       eu.DestinationUserID = string(dstUserBytes[:dstUserLen])
-       return eu, nil
-}
-
-// **************************************************
-//  Packet IP version 4 Record
-// **************************************************
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                     Length                    |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                    Protocol                   |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  Source IPv4                  |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                Destination IPv4               |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                   Source Port                 |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                Destionation Port              |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                   TCP Flags                   |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                      TOS                      |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-type SFlowIpv4Record struct {
-       // The length of the IP packet excluding ower layer encapsulations
-       Length uint32
-       // IP Protocol type (for example, TCP = 6, UDP = 17)
-       Protocol uint32
-       // Source IP Address
-       IPSrc net.IP
-       // Destination IP Address
-       IPDst net.IP
-       // TCP/UDP source port number or equivalent
-       PortSrc uint32
-       // TCP/UDP destination port number or equivalent
-       PortDst uint32
-       // TCP flags
-       TCPFlags uint32
-       // IP type of service
-       TOS uint32
-}
-
-func decodeSFlowIpv4Record(data *[]byte) (SFlowIpv4Record, error) {
-       si := SFlowIpv4Record{}
-
-       *data, si.Length = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, si.Protocol = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, si.IPSrc = (*data)[4:], net.IP((*data)[:4])
-       *data, si.IPDst = (*data)[4:], net.IP((*data)[:4])
-       *data, si.PortSrc = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, si.PortDst = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, si.TCPFlags = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, si.TOS = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-
-       return si, nil
-}
-
-// **************************************************
-//  Packet IP version 6 Record
-// **************************************************
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                     Length                    |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                    Protocol                   |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  Source IPv4                  |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                Destination IPv4               |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                   Source Port                 |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                Destionation Port              |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                   TCP Flags                   |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                    Priority                   |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-type SFlowIpv6Record struct {
-       // The length of the IP packet excluding ower layer encapsulations
-       Length uint32
-       // IP Protocol type (for example, TCP = 6, UDP = 17)
-       Protocol uint32
-       // Source IP Address
-       IPSrc net.IP
-       // Destination IP Address
-       IPDst net.IP
-       // TCP/UDP source port number or equivalent
-       PortSrc uint32
-       // TCP/UDP destination port number or equivalent
-       PortDst uint32
-       // TCP flags
-       TCPFlags uint32
-       // IP priority
-       Priority uint32
-}
-
-func decodeSFlowIpv6Record(data *[]byte) (SFlowIpv6Record, error) {
-       si := SFlowIpv6Record{}
-
-       *data, si.Length = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, si.Protocol = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, si.IPSrc = (*data)[16:], net.IP((*data)[:16])
-       *data, si.IPDst = (*data)[16:], net.IP((*data)[:16])
-       *data, si.PortSrc = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, si.PortDst = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, si.TCPFlags = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, si.Priority = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-
-       return si, nil
-}
-
-// **************************************************
-//  Extended IPv4 Tunnel Egress
-// **************************************************
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |      20 bit Interprise (0)     |12 bit format |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  record length                |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  /           Packet IP version 4 Record          /
-//  /                                               /
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-type SFlowExtendedIpv4TunnelEgressRecord struct {
-       SFlowBaseFlowRecord
-       SFlowIpv4Record SFlowIpv4Record
-}
-
-func decodeExtendedIpv4TunnelEgress(data *[]byte) (SFlowExtendedIpv4TunnelEgressRecord, error) {
-       rec := SFlowExtendedIpv4TunnelEgressRecord{}
-       var fdf SFlowFlowDataFormat
-
-       *data, fdf = (*data)[4:], SFlowFlowDataFormat(binary.BigEndian.Uint32((*data)[:4]))
-       rec.EnterpriseID, rec.Format = fdf.decode()
-       *data, rec.FlowDataLength = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       rec.SFlowIpv4Record, _ = decodeSFlowIpv4Record(data)
-
-       return rec, nil
-}
-
-// **************************************************
-//  Extended IPv4 Tunnel Ingress
-// **************************************************
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |      20 bit Interprise (0)     |12 bit format |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  record length                |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  /           Packet IP version 4 Record          /
-//  /                                               /
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-type SFlowExtendedIpv4TunnelIngressRecord struct {
-       SFlowBaseFlowRecord
-       SFlowIpv4Record SFlowIpv4Record
-}
-
-func decodeExtendedIpv4TunnelIngress(data *[]byte) (SFlowExtendedIpv4TunnelIngressRecord, error) {
-       rec := SFlowExtendedIpv4TunnelIngressRecord{}
-       var fdf SFlowFlowDataFormat
-
-       *data, fdf = (*data)[4:], SFlowFlowDataFormat(binary.BigEndian.Uint32((*data)[:4]))
-       rec.EnterpriseID, rec.Format = fdf.decode()
-       *data, rec.FlowDataLength = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       rec.SFlowIpv4Record, _ = decodeSFlowIpv4Record(data)
-
-       return rec, nil
-}
-
-// **************************************************
-//  Extended IPv6 Tunnel Egress
-// **************************************************
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |      20 bit Interprise (0)     |12 bit format |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  record length                |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  /           Packet IP version 6 Record          /
-//  /                                               /
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-type SFlowExtendedIpv6TunnelEgressRecord struct {
-       SFlowBaseFlowRecord
-       SFlowIpv6Record
-}
-
-func decodeExtendedIpv6TunnelEgress(data *[]byte) (SFlowExtendedIpv6TunnelEgressRecord, error) {
-       rec := SFlowExtendedIpv6TunnelEgressRecord{}
-       var fdf SFlowFlowDataFormat
-
-       *data, fdf = (*data)[4:], SFlowFlowDataFormat(binary.BigEndian.Uint32((*data)[:4]))
-       rec.EnterpriseID, rec.Format = fdf.decode()
-       *data, rec.FlowDataLength = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       rec.SFlowIpv6Record, _ = decodeSFlowIpv6Record(data)
-
-       return rec, nil
-}
-
-// **************************************************
-//  Extended IPv6 Tunnel Ingress
-// **************************************************
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |      20 bit Interprise (0)     |12 bit format |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  record length                |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  /           Packet IP version 6 Record          /
-//  /                                               /
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-type SFlowExtendedIpv6TunnelIngressRecord struct {
-       SFlowBaseFlowRecord
-       SFlowIpv6Record
-}
-
-func decodeExtendedIpv6TunnelIngress(data *[]byte) (SFlowExtendedIpv6TunnelIngressRecord, error) {
-       rec := SFlowExtendedIpv6TunnelIngressRecord{}
-       var fdf SFlowFlowDataFormat
-
-       *data, fdf = (*data)[4:], SFlowFlowDataFormat(binary.BigEndian.Uint32((*data)[:4]))
-       rec.EnterpriseID, rec.Format = fdf.decode()
-       *data, rec.FlowDataLength = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       rec.SFlowIpv6Record, _ = decodeSFlowIpv6Record(data)
-
-       return rec, nil
-}
-
-// **************************************************
-//  Extended Decapsulate Egress
-// **************************************************
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |      20 bit Interprise (0)     |12 bit format |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  record length                |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |               Inner Header Offset             |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-type SFlowExtendedDecapsulateEgressRecord struct {
-       SFlowBaseFlowRecord
-       InnerHeaderOffset uint32
-}
-
-func decodeExtendedDecapsulateEgress(data *[]byte) (SFlowExtendedDecapsulateEgressRecord, error) {
-       rec := SFlowExtendedDecapsulateEgressRecord{}
-       var fdf SFlowFlowDataFormat
-
-       *data, fdf = (*data)[4:], SFlowFlowDataFormat(binary.BigEndian.Uint32((*data)[:4]))
-       rec.EnterpriseID, rec.Format = fdf.decode()
-       *data, rec.FlowDataLength = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, rec.InnerHeaderOffset = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-
-       return rec, nil
-}
-
-// **************************************************
-//  Extended Decapsulate Ingress
-// **************************************************
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |      20 bit Interprise (0)     |12 bit format |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  record length                |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |               Inner Header Offset             |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-type SFlowExtendedDecapsulateIngressRecord struct {
-       SFlowBaseFlowRecord
-       InnerHeaderOffset uint32
-}
-
-func decodeExtendedDecapsulateIngress(data *[]byte) (SFlowExtendedDecapsulateIngressRecord, error) {
-       rec := SFlowExtendedDecapsulateIngressRecord{}
-       var fdf SFlowFlowDataFormat
-
-       *data, fdf = (*data)[4:], SFlowFlowDataFormat(binary.BigEndian.Uint32((*data)[:4]))
-       rec.EnterpriseID, rec.Format = fdf.decode()
-       *data, rec.FlowDataLength = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, rec.InnerHeaderOffset = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-
-       return rec, nil
-}
-
-// **************************************************
-//  Extended VNI Egress
-// **************************************************
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |      20 bit Interprise (0)     |12 bit format |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  record length                |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                       VNI                     |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-type SFlowExtendedVniEgressRecord struct {
-       SFlowBaseFlowRecord
-       VNI uint32
-}
-
-func decodeExtendedVniEgress(data *[]byte) (SFlowExtendedVniEgressRecord, error) {
-       rec := SFlowExtendedVniEgressRecord{}
-       var fdf SFlowFlowDataFormat
-
-       *data, fdf = (*data)[4:], SFlowFlowDataFormat(binary.BigEndian.Uint32((*data)[:4]))
-       rec.EnterpriseID, rec.Format = fdf.decode()
-       *data, rec.FlowDataLength = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, rec.VNI = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-
-       return rec, nil
-}
-
-// **************************************************
-//  Extended VNI Ingress
-// **************************************************
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |      20 bit Interprise (0)     |12 bit format |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  record length                |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                       VNI                     |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-type SFlowExtendedVniIngressRecord struct {
-       SFlowBaseFlowRecord
-       VNI uint32
-}
-
-func decodeExtendedVniIngress(data *[]byte) (SFlowExtendedVniIngressRecord, error) {
-       rec := SFlowExtendedVniIngressRecord{}
-       var fdf SFlowFlowDataFormat
-
-       *data, fdf = (*data)[4:], SFlowFlowDataFormat(binary.BigEndian.Uint32((*data)[:4]))
-       rec.EnterpriseID, rec.Format = fdf.decode()
-       *data, rec.FlowDataLength = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, rec.VNI = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-
-       return rec, nil
-}
-
-// **************************************************
-//  Counter Record
-// **************************************************
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |      20 bit Interprise (0)     |12 bit format |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  counter length               |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  /                   counter data                /
-//  /                                               /
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-
-type SFlowBaseCounterRecord struct {
-       EnterpriseID   SFlowEnterpriseID
-       Format         SFlowCounterRecordType
-       FlowDataLength uint32
-}
-
-func (bcr SFlowBaseCounterRecord) GetType() SFlowCounterRecordType {
-       switch bcr.Format {
-       case SFlowTypeGenericInterfaceCounters:
-               return SFlowTypeGenericInterfaceCounters
-       case SFlowTypeEthernetInterfaceCounters:
-               return SFlowTypeEthernetInterfaceCounters
-       case SFlowTypeTokenRingInterfaceCounters:
-               return SFlowTypeTokenRingInterfaceCounters
-       case SFlowType100BaseVGInterfaceCounters:
-               return SFlowType100BaseVGInterfaceCounters
-       case SFlowTypeVLANCounters:
-               return SFlowTypeVLANCounters
-       case SFlowTypeProcessorCounters:
-               return SFlowTypeProcessorCounters
-
-       }
-       unrecognized := fmt.Sprint("Unrecognized counter record type:", bcr.Format)
-       panic(unrecognized)
-}
-
-// **************************************************
-//  Counter Record
-// **************************************************
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |      20 bit Interprise (0)     |12 bit format |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  counter length               |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                    IfIndex                    |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                    IfType                     |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                   IfSpeed                     |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                   IfDirection                 |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                    IfStatus                   |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                   IFInOctets                  |
-//  |                                               |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                   IfInUcastPkts               |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  IfInMulticastPkts            |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  IfInBroadcastPkts            |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                    IfInDiscards               |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                    InInErrors                 |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  IfInUnknownProtos            |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                   IfOutOctets                 |
-//  |                                               |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                   IfOutUcastPkts              |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  IfOutMulticastPkts           |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  IfOutBroadcastPkts           |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                   IfOutDiscards               |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                    IfOUtErrors                |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                 IfPromiscouousMode            |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-
-type SFlowGenericInterfaceCounters struct {
-       SFlowBaseCounterRecord
-       IfIndex            uint32
-       IfType             uint32
-       IfSpeed            uint64
-       IfDirection        uint32
-       IfStatus           uint32
-       IfInOctets         uint64
-       IfInUcastPkts      uint32
-       IfInMulticastPkts  uint32
-       IfInBroadcastPkts  uint32
-       IfInDiscards       uint32
-       IfInErrors         uint32
-       IfInUnknownProtos  uint32
-       IfOutOctets        uint64
-       IfOutUcastPkts     uint32
-       IfOutMulticastPkts uint32
-       IfOutBroadcastPkts uint32
-       IfOutDiscards      uint32
-       IfOutErrors        uint32
-       IfPromiscuousMode  uint32
-}
-
-func decodeGenericInterfaceCounters(data *[]byte) (SFlowGenericInterfaceCounters, error) {
-       gic := SFlowGenericInterfaceCounters{}
-       var cdf SFlowCounterDataFormat
-
-       *data, cdf = (*data)[4:], SFlowCounterDataFormat(binary.BigEndian.Uint32((*data)[:4]))
-       gic.EnterpriseID, gic.Format = cdf.decode()
-       *data, gic.FlowDataLength = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, gic.IfIndex = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, gic.IfType = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, gic.IfSpeed = (*data)[8:], binary.BigEndian.Uint64((*data)[:8])
-       *data, gic.IfDirection = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, gic.IfStatus = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, gic.IfInOctets = (*data)[8:], binary.BigEndian.Uint64((*data)[:8])
-       *data, gic.IfInUcastPkts = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, gic.IfInMulticastPkts = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, gic.IfInBroadcastPkts = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, gic.IfInDiscards = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, gic.IfInErrors = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, gic.IfInUnknownProtos = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, gic.IfOutOctets = (*data)[8:], binary.BigEndian.Uint64((*data)[:8])
-       *data, gic.IfOutUcastPkts = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, gic.IfOutMulticastPkts = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, gic.IfOutBroadcastPkts = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, gic.IfOutDiscards = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, gic.IfOutErrors = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, gic.IfPromiscuousMode = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       return gic, nil
-}
-
-// **************************************************
-//  Counter Record
-// **************************************************
-
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |      20 bit Interprise (0)     |12 bit format |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  counter length               |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  /                   counter data                /
-//  /                                               /
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-
-type SFlowEthernetCounters struct {
-       SFlowBaseCounterRecord
-       AlignmentErrors           uint32
-       FCSErrors                 uint32
-       SingleCollisionFrames     uint32
-       MultipleCollisionFrames   uint32
-       SQETestErrors             uint32
-       DeferredTransmissions     uint32
-       LateCollisions            uint32
-       ExcessiveCollisions       uint32
-       InternalMacTransmitErrors uint32
-       CarrierSenseErrors        uint32
-       FrameTooLongs             uint32
-       InternalMacReceiveErrors  uint32
-       SymbolErrors              uint32
-}
-
-func decodeEthernetCounters(data *[]byte) (SFlowEthernetCounters, error) {
-       ec := SFlowEthernetCounters{}
-       var cdf SFlowCounterDataFormat
-
-       *data, cdf = (*data)[4:], SFlowCounterDataFormat(binary.BigEndian.Uint32((*data)[:4]))
-       ec.EnterpriseID, ec.Format = cdf.decode()
-       *data, ec.FlowDataLength = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, ec.AlignmentErrors = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, ec.FCSErrors = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, ec.SingleCollisionFrames = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, ec.MultipleCollisionFrames = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, ec.SQETestErrors = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, ec.DeferredTransmissions = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, ec.LateCollisions = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, ec.ExcessiveCollisions = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, ec.InternalMacTransmitErrors = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, ec.CarrierSenseErrors = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, ec.FrameTooLongs = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, ec.InternalMacReceiveErrors = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, ec.SymbolErrors = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       return ec, nil
-}
-
-// **************************************************
-//  Processor Counter Record
-// **************************************************
-//  0                      15                      31
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |      20 bit Interprise (0)     |12 bit format |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                  counter length               |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                    FiveSecCpu                 |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                    OneMinCpu                  |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                    GiveMinCpu                 |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                   TotalMemory                 |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-//  |                    FreeMemory                 |
-//  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
-
-type SFlowProcessorCounters struct {
-       SFlowBaseCounterRecord
-       FiveSecCpu  uint32 // 5 second average CPU utilization
-       OneMinCpu   uint32 // 1 minute average CPU utilization
-       FiveMinCpu  uint32 // 5 minute average CPU utilization
-       TotalMemory uint64 // total memory (in bytes)
-       FreeMemory  uint64 // free memory (in bytes)
-}
-
-func decodeProcessorCounters(data *[]byte) (SFlowProcessorCounters, error) {
-       pc := SFlowProcessorCounters{}
-       var cdf SFlowCounterDataFormat
-       var high32, low32 uint32
-
-       *data, cdf = (*data)[4:], SFlowCounterDataFormat(binary.BigEndian.Uint32((*data)[:4]))
-       pc.EnterpriseID, pc.Format = cdf.decode()
-       *data, pc.FlowDataLength = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-
-       *data, pc.FiveSecCpu = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, pc.OneMinCpu = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, pc.FiveMinCpu = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, high32 = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, low32 = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       pc.TotalMemory = (uint64(high32) << 32) + uint64(low32)
-       *data, high32 = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       *data, low32 = (*data)[4:], binary.BigEndian.Uint32((*data)[:4])
-       pc.FreeMemory = (uint64(high32)) + uint64(low32)
-
-       return pc, nil
-}
diff --git a/vendor/github.com/google/gopacket/layers/stp.go b/vendor/github.com/google/gopacket/layers/stp.go
deleted file mode 100644 (file)
index bde7d7c..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2017 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "github.com/google/gopacket"
-)
-
-// STP decode spanning tree protocol packets to transport BPDU (bridge protocol data unit) message.
-type STP struct {
-       BaseLayer
-}
-
-// LayerType returns gopacket.LayerTypeSTP.
-func (s *STP) LayerType() gopacket.LayerType { return LayerTypeSTP }
-
-func decodeSTP(data []byte, p gopacket.PacketBuilder) error {
-       stp := &STP{}
-       stp.Contents = data[:]
-       // TODO:  parse the STP protocol into actual subfields.
-       p.AddLayer(stp)
-       return nil
-}
diff --git a/vendor/github.com/google/gopacket/layers/tcp.go b/vendor/github.com/google/gopacket/layers/tcp.go
deleted file mode 100644 (file)
index fb731da..0000000
+++ /dev/null
@@ -1,327 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-// Copyright 2009-2011 Andreas Krennmair. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "encoding/hex"
-       "errors"
-       "fmt"
-
-       "github.com/google/gopacket"
-)
-
-// TCP is the layer for TCP headers.
-type TCP struct {
-       BaseLayer
-       SrcPort, DstPort                           TCPPort
-       Seq                                        uint32
-       Ack                                        uint32
-       DataOffset                                 uint8
-       FIN, SYN, RST, PSH, ACK, URG, ECE, CWR, NS bool
-       Window                                     uint16
-       Checksum                                   uint16
-       Urgent                                     uint16
-       sPort, dPort                               []byte
-       Options                                    []TCPOption
-       Padding                                    []byte
-       opts                                       [4]TCPOption
-       tcpipchecksum
-}
-
-// TCPOptionKind represents a TCP option code.
-type TCPOptionKind uint8
-
-const (
-       TCPOptionKindEndList                         = 0
-       TCPOptionKindNop                             = 1
-       TCPOptionKindMSS                             = 2  // len = 4
-       TCPOptionKindWindowScale                     = 3  // len = 3
-       TCPOptionKindSACKPermitted                   = 4  // len = 2
-       TCPOptionKindSACK                            = 5  // len = n
-       TCPOptionKindEcho                            = 6  // len = 6, obsolete
-       TCPOptionKindEchoReply                       = 7  // len = 6, obsolete
-       TCPOptionKindTimestamps                      = 8  // len = 10
-       TCPOptionKindPartialOrderConnectionPermitted = 9  // len = 2, obsolete
-       TCPOptionKindPartialOrderServiceProfile      = 10 // len = 3, obsolete
-       TCPOptionKindCC                              = 11 // obsolete
-       TCPOptionKindCCNew                           = 12 // obsolete
-       TCPOptionKindCCEcho                          = 13 // obsolete
-       TCPOptionKindAltChecksum                     = 14 // len = 3, obsolete
-       TCPOptionKindAltChecksumData                 = 15 // len = n, obsolete
-)
-
-func (k TCPOptionKind) String() string {
-       switch k {
-       case TCPOptionKindEndList:
-               return "EndList"
-       case TCPOptionKindNop:
-               return "NOP"
-       case TCPOptionKindMSS:
-               return "MSS"
-       case TCPOptionKindWindowScale:
-               return "WindowScale"
-       case TCPOptionKindSACKPermitted:
-               return "SACKPermitted"
-       case TCPOptionKindSACK:
-               return "SACK"
-       case TCPOptionKindEcho:
-               return "Echo"
-       case TCPOptionKindEchoReply:
-               return "EchoReply"
-       case TCPOptionKindTimestamps:
-               return "Timestamps"
-       case TCPOptionKindPartialOrderConnectionPermitted:
-               return "PartialOrderConnectionPermitted"
-       case TCPOptionKindPartialOrderServiceProfile:
-               return "PartialOrderServiceProfile"
-       case TCPOptionKindCC:
-               return "CC"
-       case TCPOptionKindCCNew:
-               return "CCNew"
-       case TCPOptionKindCCEcho:
-               return "CCEcho"
-       case TCPOptionKindAltChecksum:
-               return "AltChecksum"
-       case TCPOptionKindAltChecksumData:
-               return "AltChecksumData"
-       default:
-               return fmt.Sprintf("Unknown(%d)", k)
-       }
-}
-
-type TCPOption struct {
-       OptionType   TCPOptionKind
-       OptionLength uint8
-       OptionData   []byte
-}
-
-func (t TCPOption) String() string {
-       hd := hex.EncodeToString(t.OptionData)
-       if len(hd) > 0 {
-               hd = " 0x" + hd
-       }
-       switch t.OptionType {
-       case TCPOptionKindMSS:
-               return fmt.Sprintf("TCPOption(%s:%v%s)",
-                       t.OptionType,
-                       binary.BigEndian.Uint16(t.OptionData),
-                       hd)
-
-       case TCPOptionKindTimestamps:
-               if len(t.OptionData) == 8 {
-                       return fmt.Sprintf("TCPOption(%s:%v/%v%s)",
-                               t.OptionType,
-                               binary.BigEndian.Uint32(t.OptionData[:4]),
-                               binary.BigEndian.Uint32(t.OptionData[4:8]),
-                               hd)
-               }
-       }
-       return fmt.Sprintf("TCPOption(%s:%s)", t.OptionType, hd)
-}
-
-// LayerType returns gopacket.LayerTypeTCP
-func (t *TCP) LayerType() gopacket.LayerType { return LayerTypeTCP }
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-// See the docs for gopacket.SerializableLayer for more info.
-func (t *TCP) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       var optionLength int
-       for _, o := range t.Options {
-               switch o.OptionType {
-               case 0, 1:
-                       optionLength += 1
-               default:
-                       optionLength += 2 + len(o.OptionData)
-               }
-       }
-       if opts.FixLengths {
-               if rem := optionLength % 4; rem != 0 {
-                       t.Padding = lotsOfZeros[:4-rem]
-               }
-               t.DataOffset = uint8((len(t.Padding) + optionLength + 20) / 4)
-       }
-       bytes, err := b.PrependBytes(20 + optionLength + len(t.Padding))
-       if err != nil {
-               return err
-       }
-       binary.BigEndian.PutUint16(bytes, uint16(t.SrcPort))
-       binary.BigEndian.PutUint16(bytes[2:], uint16(t.DstPort))
-       binary.BigEndian.PutUint32(bytes[4:], t.Seq)
-       binary.BigEndian.PutUint32(bytes[8:], t.Ack)
-       binary.BigEndian.PutUint16(bytes[12:], t.flagsAndOffset())
-       binary.BigEndian.PutUint16(bytes[14:], t.Window)
-       binary.BigEndian.PutUint16(bytes[18:], t.Urgent)
-       start := 20
-       for _, o := range t.Options {
-               bytes[start] = byte(o.OptionType)
-               switch o.OptionType {
-               case 0, 1:
-                       start++
-               default:
-                       if opts.FixLengths {
-                               o.OptionLength = uint8(len(o.OptionData) + 2)
-                       }
-                       bytes[start+1] = o.OptionLength
-                       copy(bytes[start+2:start+len(o.OptionData)+2], o.OptionData)
-                       start += int(o.OptionLength)
-               }
-       }
-       copy(bytes[start:], t.Padding)
-       if opts.ComputeChecksums {
-               // zero out checksum bytes in current serialization.
-               bytes[16] = 0
-               bytes[17] = 0
-               csum, err := t.computeChecksum(b.Bytes(), IPProtocolTCP)
-               if err != nil {
-                       return err
-               }
-               t.Checksum = csum
-       }
-       binary.BigEndian.PutUint16(bytes[16:], t.Checksum)
-       return nil
-}
-
-func (t *TCP) ComputeChecksum() (uint16, error) {
-       return t.computeChecksum(append(t.Contents, t.Payload...), IPProtocolTCP)
-}
-
-func (t *TCP) flagsAndOffset() uint16 {
-       f := uint16(t.DataOffset) << 12
-       if t.FIN {
-               f |= 0x0001
-       }
-       if t.SYN {
-               f |= 0x0002
-       }
-       if t.RST {
-               f |= 0x0004
-       }
-       if t.PSH {
-               f |= 0x0008
-       }
-       if t.ACK {
-               f |= 0x0010
-       }
-       if t.URG {
-               f |= 0x0020
-       }
-       if t.ECE {
-               f |= 0x0040
-       }
-       if t.CWR {
-               f |= 0x0080
-       }
-       if t.NS {
-               f |= 0x0100
-       }
-       return f
-}
-
-func (tcp *TCP) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       tcp.SrcPort = TCPPort(binary.BigEndian.Uint16(data[0:2]))
-       tcp.sPort = data[0:2]
-       tcp.DstPort = TCPPort(binary.BigEndian.Uint16(data[2:4]))
-       tcp.dPort = data[2:4]
-       tcp.Seq = binary.BigEndian.Uint32(data[4:8])
-       tcp.Ack = binary.BigEndian.Uint32(data[8:12])
-       tcp.DataOffset = data[12] >> 4
-       tcp.FIN = data[13]&0x01 != 0
-       tcp.SYN = data[13]&0x02 != 0
-       tcp.RST = data[13]&0x04 != 0
-       tcp.PSH = data[13]&0x08 != 0
-       tcp.ACK = data[13]&0x10 != 0
-       tcp.URG = data[13]&0x20 != 0
-       tcp.ECE = data[13]&0x40 != 0
-       tcp.CWR = data[13]&0x80 != 0
-       tcp.NS = data[12]&0x01 != 0
-       tcp.Window = binary.BigEndian.Uint16(data[14:16])
-       tcp.Checksum = binary.BigEndian.Uint16(data[16:18])
-       tcp.Urgent = binary.BigEndian.Uint16(data[18:20])
-       tcp.Options = tcp.opts[:0]
-       if tcp.DataOffset < 5 {
-               return fmt.Errorf("Invalid TCP data offset %d < 5", tcp.DataOffset)
-       }
-       dataStart := int(tcp.DataOffset) * 4
-       if dataStart > len(data) {
-               df.SetTruncated()
-               tcp.Payload = nil
-               tcp.Contents = data
-               return errors.New("TCP data offset greater than packet length")
-       }
-       tcp.Contents = data[:dataStart]
-       tcp.Payload = data[dataStart:]
-       // From here on, data points just to the header options.
-       data = data[20:dataStart]
-       for len(data) > 0 {
-               if tcp.Options == nil {
-                       // Pre-allocate to avoid allocating a slice.
-                       tcp.Options = tcp.opts[:0]
-               }
-               tcp.Options = append(tcp.Options, TCPOption{OptionType: TCPOptionKind(data[0])})
-               opt := &tcp.Options[len(tcp.Options)-1]
-               switch opt.OptionType {
-               case TCPOptionKindEndList: // End of options
-                       opt.OptionLength = 1
-                       tcp.Padding = data[1:]
-                       break
-               case TCPOptionKindNop: // 1 byte padding
-                       opt.OptionLength = 1
-               default:
-                       opt.OptionLength = data[1]
-                       if opt.OptionLength < 2 {
-                               return fmt.Errorf("Invalid TCP option length %d < 2", opt.OptionLength)
-                       } else if int(opt.OptionLength) > len(data) {
-                               return fmt.Errorf("Invalid TCP option length %d exceeds remaining %d bytes", opt.OptionLength, len(data))
-                       }
-                       opt.OptionData = data[2:opt.OptionLength]
-               }
-               data = data[opt.OptionLength:]
-       }
-       return nil
-}
-
-func (t *TCP) CanDecode() gopacket.LayerClass {
-       return LayerTypeTCP
-}
-
-func (t *TCP) NextLayerType() gopacket.LayerType {
-       lt := t.DstPort.LayerType()
-       if lt == gopacket.LayerTypePayload {
-               lt = t.SrcPort.LayerType()
-       }
-       return lt
-}
-
-func decodeTCP(data []byte, p gopacket.PacketBuilder) error {
-       tcp := &TCP{}
-       err := tcp.DecodeFromBytes(data, p)
-       p.AddLayer(tcp)
-       p.SetTransportLayer(tcp)
-       if err != nil {
-               return err
-       }
-       if p.DecodeOptions().DecodeStreamsAsDatagrams {
-               return p.NextDecoder(tcp.NextLayerType())
-       } else {
-               return p.NextDecoder(gopacket.LayerTypePayload)
-       }
-}
-
-func (t *TCP) TransportFlow() gopacket.Flow {
-       return gopacket.NewFlow(EndpointTCPPort, t.sPort, t.dPort)
-}
-
-// For testing only
-func (t *TCP) SetInternalPortsForTesting() {
-       t.sPort = make([]byte, 2)
-       t.dPort = make([]byte, 2)
-       binary.BigEndian.PutUint16(t.sPort, uint16(t.SrcPort))
-       binary.BigEndian.PutUint16(t.dPort, uint16(t.DstPort))
-}
diff --git a/vendor/github.com/google/gopacket/layers/tcpip.go b/vendor/github.com/google/gopacket/layers/tcpip.go
deleted file mode 100644 (file)
index 64ba51c..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-// Copyright 2009-2011 Andreas Krennmair. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "errors"
-       "fmt"
-
-       "github.com/google/gopacket"
-)
-
-// Checksum computation for TCP/UDP.
-type tcpipchecksum struct {
-       pseudoheader tcpipPseudoHeader
-}
-
-type tcpipPseudoHeader interface {
-       pseudoheaderChecksum() (uint32, error)
-}
-
-func (ip *IPv4) pseudoheaderChecksum() (csum uint32, err error) {
-       if err := ip.AddressTo4(); err != nil {
-               return 0, err
-       }
-       csum += (uint32(ip.SrcIP[0]) + uint32(ip.SrcIP[2])) << 8
-       csum += uint32(ip.SrcIP[1]) + uint32(ip.SrcIP[3])
-       csum += (uint32(ip.DstIP[0]) + uint32(ip.DstIP[2])) << 8
-       csum += uint32(ip.DstIP[1]) + uint32(ip.DstIP[3])
-       return csum, nil
-}
-
-func (ip *IPv6) pseudoheaderChecksum() (csum uint32, err error) {
-       if err := ip.AddressTo16(); err != nil {
-               return 0, err
-       }
-       for i := 0; i < 16; i += 2 {
-               csum += uint32(ip.SrcIP[i]) << 8
-               csum += uint32(ip.SrcIP[i+1])
-               csum += uint32(ip.DstIP[i]) << 8
-               csum += uint32(ip.DstIP[i+1])
-       }
-       return csum, nil
-}
-
-// Calculate the TCP/IP checksum defined in rfc1071.  The passed-in csum is any
-// initial checksum data that's already been computed.
-func tcpipChecksum(data []byte, csum uint32) uint16 {
-       // to handle odd lengths, we loop to length - 1, incrementing by 2, then
-       // handle the last byte specifically by checking against the original
-       // length.
-       length := len(data) - 1
-       for i := 0; i < length; i += 2 {
-               // For our test packet, doing this manually is about 25% faster
-               // (740 ns vs. 1000ns) than doing it by calling binary.BigEndian.Uint16.
-               csum += uint32(data[i]) << 8
-               csum += uint32(data[i+1])
-       }
-       if len(data)%2 == 1 {
-               csum += uint32(data[length]) << 8
-       }
-       for csum > 0xffff {
-               csum = (csum >> 16) + (csum & 0xffff)
-       }
-       return ^uint16(csum)
-}
-
-// computeChecksum computes a TCP or UDP checksum.  headerAndPayload is the
-// serialized TCP or UDP header plus its payload, with the checksum zero'd
-// out. headerProtocol is the IP protocol number of the upper-layer header.
-func (c *tcpipchecksum) computeChecksum(headerAndPayload []byte, headerProtocol IPProtocol) (uint16, error) {
-       if c.pseudoheader == nil {
-               return 0, errors.New("TCP/IP layer 4 checksum cannot be computed without network layer... call SetNetworkLayerForChecksum to set which layer to use")
-       }
-       length := uint32(len(headerAndPayload))
-       csum, err := c.pseudoheader.pseudoheaderChecksum()
-       if err != nil {
-               return 0, err
-       }
-       csum += uint32(headerProtocol)
-       csum += length & 0xffff
-       csum += length >> 16
-       return tcpipChecksum(headerAndPayload, csum), nil
-}
-
-// SetNetworkLayerForChecksum tells this layer which network layer is wrapping it.
-// This is needed for computing the checksum when serializing, since TCP/IP transport
-// layer checksums depends on fields in the IPv4 or IPv6 layer that contains it.
-// The passed in layer must be an *IPv4 or *IPv6.
-func (i *tcpipchecksum) SetNetworkLayerForChecksum(l gopacket.NetworkLayer) error {
-       switch v := l.(type) {
-       case *IPv4:
-               i.pseudoheader = v
-       case *IPv6:
-               i.pseudoheader = v
-       default:
-               return fmt.Errorf("cannot use layer type %v for tcp checksum network layer", l.LayerType())
-       }
-       return nil
-}
diff --git a/vendor/github.com/google/gopacket/layers/test_creator.py b/vendor/github.com/google/gopacket/layers/test_creator.py
deleted file mode 100755 (executable)
index c92d276..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/usr/bin/python
-# Copyright 2012 Google, Inc. All rights reserved.
-
-"""TestCreator creates test templates from pcap files."""
-
-import argparse
-import base64
-import glob
-import re
-import string
-import subprocess
-import sys
-
-
-class Packet(object):
-  """Helper class encapsulating packet from a pcap file."""
-
-  def __init__(self, packet_lines):
-    self.packet_lines = packet_lines
-    self.data = self._DecodeText(packet_lines)
-
-  @classmethod
-  def _DecodeText(cls, packet_lines):
-    packet_bytes = []
-    # First line is timestamp and stuff, skip it.
-    # Format: 0x0010:  0000 0020 3aff 3ffe 0000 0000 0000 0000  ....:.?.........
-
-    for line in packet_lines[1:]:
-      m = re.match(r'\s+0x[a-f\d]+:\s+((?:[\da-f]{2,4}\s)*)', line, re.IGNORECASE)
-      if m is None: continue
-      for hexpart in m.group(1).split():
-        packet_bytes.append(base64.b16decode(hexpart.upper()))
-    return ''.join(packet_bytes)
-
-  def Test(self, name, link_type):
-    """Yields a test using this packet, as a set of lines."""
-    yield '// testPacket%s is the packet:' % name
-    for line in self.packet_lines:
-      yield '//   ' + line
-    yield 'var testPacket%s = []byte{' % name
-    data = list(self.data)
-    while data:
-      linebytes, data = data[:16], data[16:]
-      yield ''.join(['\t'] + ['0x%02x, ' % ord(c) for c in linebytes])
-    yield '}'
-    yield 'func TestPacket%s(t *testing.T) {' % name
-    yield '\tp := gopacket.NewPacket(testPacket%s, LinkType%s, gopacket.Default)' % (name, link_type)
-    yield '\tif p.ErrorLayer() != nil {'
-    yield '\t\tt.Error("Failed to decode packet:", p.ErrorLayer().Error())'
-    yield '\t}'
-    yield '\tcheckLayers(p, []gopacket.LayerType{LayerType%s, FILL_ME_IN_WITH_ACTUAL_LAYERS}, t)' % link_type
-    yield '}'
-    yield 'func BenchmarkDecodePacket%s(b *testing.B) {' % name
-    yield '\tfor i := 0; i < b.N; i++ {'
-    yield '\t\tgopacket.NewPacket(testPacket%s, LinkType%s, gopacket.NoCopy)' % (name, link_type)
-    yield '\t}'
-    yield '}'
-
-
-
-def GetTcpdumpOutput(filename):
-  """Runs tcpdump on the given file, returning output as string."""
-  return subprocess.check_output(
-      ['tcpdump', '-XX', '-s', '0', '-n', '-r', filename])
-
-
-def TcpdumpOutputToPackets(output):
-  """Reads a pcap file with TCPDump, yielding Packet objects."""
-  pdata = []
-  for line in output.splitlines():
-    if line[0] not in string.whitespace and pdata:
-      yield Packet(pdata)
-      pdata = []
-    pdata.append(line)
-  if pdata:
-    yield Packet(pdata)
-
-
-def main():
-  class CustomHelpFormatter(argparse.ArgumentDefaultsHelpFormatter):
-    def _format_usage(self, usage, actions, groups, prefix=None):
-      header =('TestCreator creates gopacket tests using a pcap file.\n\n'
-               'Tests are written to standard out... they can then be \n'
-               'copied into the file of your choice and modified as \n'
-               'you see.\n\n')
-      return header + argparse.ArgumentDefaultsHelpFormatter._format_usage(
-        self, usage, actions, groups, prefix)
-
-  parser = argparse.ArgumentParser(formatter_class=CustomHelpFormatter)
-  parser.add_argument('--link_type', default='Ethernet', help='the link type (default: %(default)s)')
-  parser.add_argument('--name', default='Packet%d', help='the layer type, must have "%d" inside it')
-  parser.add_argument('files', metavar='file.pcap', type=str, nargs='+', help='the files to process')
-
-  args = parser.parse_args()
-
-  for arg in args.files:
-    for path in glob.glob(arg):
-      for i, packet in enumerate(TcpdumpOutputToPackets(GetTcpdumpOutput(path))):
-        print '\n'.join(packet.Test(
-          args.name % i, args.link_type))
-
-if __name__ == '__main__':
-    main()
diff --git a/vendor/github.com/google/gopacket/layers/udp.go b/vendor/github.com/google/gopacket/layers/udp.go
deleted file mode 100644 (file)
index 20f8c50..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-// Copyright 2009-2011 Andreas Krennmair. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "fmt"
-       "github.com/google/gopacket"
-)
-
-// UDP is the layer for UDP headers.
-type UDP struct {
-       BaseLayer
-       SrcPort, DstPort UDPPort
-       Length           uint16
-       Checksum         uint16
-       sPort, dPort     []byte
-       tcpipchecksum
-}
-
-// LayerType returns gopacket.LayerTypeUDP
-func (u *UDP) LayerType() gopacket.LayerType { return LayerTypeUDP }
-
-func (udp *UDP) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       udp.SrcPort = UDPPort(binary.BigEndian.Uint16(data[0:2]))
-       udp.sPort = data[0:2]
-       udp.DstPort = UDPPort(binary.BigEndian.Uint16(data[2:4]))
-       udp.dPort = data[2:4]
-       udp.Length = binary.BigEndian.Uint16(data[4:6])
-       udp.Checksum = binary.BigEndian.Uint16(data[6:8])
-       udp.BaseLayer = BaseLayer{Contents: data[:8]}
-       switch {
-       case udp.Length >= 8:
-               hlen := int(udp.Length)
-               if hlen > len(data) {
-                       df.SetTruncated()
-                       hlen = len(data)
-               }
-               udp.Payload = data[8:hlen]
-       case udp.Length == 0: // Jumbogram, use entire rest of data
-               udp.Payload = data[8:]
-       default:
-               return fmt.Errorf("UDP packet too small: %d bytes", udp.Length)
-       }
-       return nil
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-// See the docs for gopacket.SerializableLayer for more info.
-func (u *UDP) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       var jumbo bool
-
-       payload := b.Bytes()
-       if _, ok := u.pseudoheader.(*IPv6); ok {
-               if len(payload)+8 > 65535 {
-                       jumbo = true
-               }
-       }
-       bytes, err := b.PrependBytes(8)
-       if err != nil {
-               return err
-       }
-       binary.BigEndian.PutUint16(bytes, uint16(u.SrcPort))
-       binary.BigEndian.PutUint16(bytes[2:], uint16(u.DstPort))
-       if opts.FixLengths {
-               if jumbo {
-                       u.Length = 0
-               } else {
-                       u.Length = uint16(len(payload)) + 8
-               }
-       }
-       binary.BigEndian.PutUint16(bytes[4:], u.Length)
-       if opts.ComputeChecksums {
-               // zero out checksum bytes
-               bytes[6] = 0
-               bytes[7] = 0
-               csum, err := u.computeChecksum(b.Bytes(), IPProtocolUDP)
-               if err != nil {
-                       return err
-               }
-               u.Checksum = csum
-       }
-       binary.BigEndian.PutUint16(bytes[6:], u.Checksum)
-       return nil
-}
-
-func (u *UDP) CanDecode() gopacket.LayerClass {
-       return LayerTypeUDP
-}
-
-// NextLayerType use the destination port to select the
-// right next decoder. It tries first to decode via the
-// destination port, then the source port.
-func (u *UDP) NextLayerType() gopacket.LayerType {
-       if lt := u.DstPort.LayerType(); lt != gopacket.LayerTypePayload {
-               return lt
-       }
-       return u.SrcPort.LayerType()
-}
-
-func decodeUDP(data []byte, p gopacket.PacketBuilder) error {
-       udp := &UDP{}
-       err := udp.DecodeFromBytes(data, p)
-       p.AddLayer(udp)
-       p.SetTransportLayer(udp)
-       if err != nil {
-               return err
-       }
-       return p.NextDecoder(udp.NextLayerType())
-}
-
-func (u *UDP) TransportFlow() gopacket.Flow {
-       return gopacket.NewFlow(EndpointUDPPort, u.sPort, u.dPort)
-}
diff --git a/vendor/github.com/google/gopacket/layers/udplite.go b/vendor/github.com/google/gopacket/layers/udplite.go
deleted file mode 100644 (file)
index 7d84c51..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-// Copyright 2009-2011 Andreas Krennmair. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "github.com/google/gopacket"
-)
-
-// UDPLite is the layer for UDP-Lite headers (rfc 3828).
-type UDPLite struct {
-       BaseLayer
-       SrcPort, DstPort UDPLitePort
-       ChecksumCoverage uint16
-       Checksum         uint16
-       sPort, dPort     []byte
-}
-
-// LayerType returns gopacket.LayerTypeUDPLite
-func (u *UDPLite) LayerType() gopacket.LayerType { return LayerTypeUDPLite }
-
-func decodeUDPLite(data []byte, p gopacket.PacketBuilder) error {
-       udp := &UDPLite{
-               SrcPort:          UDPLitePort(binary.BigEndian.Uint16(data[0:2])),
-               sPort:            data[0:2],
-               DstPort:          UDPLitePort(binary.BigEndian.Uint16(data[2:4])),
-               dPort:            data[2:4],
-               ChecksumCoverage: binary.BigEndian.Uint16(data[4:6]),
-               Checksum:         binary.BigEndian.Uint16(data[6:8]),
-               BaseLayer:        BaseLayer{data[:8], data[8:]},
-       }
-       p.AddLayer(udp)
-       p.SetTransportLayer(udp)
-       return p.NextDecoder(gopacket.LayerTypePayload)
-}
-
-func (u *UDPLite) TransportFlow() gopacket.Flow {
-       return gopacket.NewFlow(EndpointUDPLitePort, u.sPort, u.dPort)
-}
diff --git a/vendor/github.com/google/gopacket/layers/usb.go b/vendor/github.com/google/gopacket/layers/usb.go
deleted file mode 100644 (file)
index d4f483c..0000000
+++ /dev/null
@@ -1,308 +0,0 @@
-// Copyright 2014 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "github.com/google/gopacket"
-)
-
-type USBEventType uint8
-
-const (
-       USBEventTypeSubmit   USBEventType = 'S'
-       USBEventTypeComplete USBEventType = 'C'
-       USBEventTypeError    USBEventType = 'E'
-)
-
-func (a USBEventType) String() string {
-       switch a {
-       case USBEventTypeSubmit:
-               return "SUBMIT"
-       case USBEventTypeComplete:
-               return "COMPLETE"
-       case USBEventTypeError:
-               return "ERROR"
-       default:
-               return "Unknown event type"
-       }
-}
-
-type USBRequestBlockSetupRequest uint8
-
-const (
-       USBRequestBlockSetupRequestGetStatus        USBRequestBlockSetupRequest = 0x00
-       USBRequestBlockSetupRequestClearFeature     USBRequestBlockSetupRequest = 0x01
-       USBRequestBlockSetupRequestSetFeature       USBRequestBlockSetupRequest = 0x03
-       USBRequestBlockSetupRequestSetAddress       USBRequestBlockSetupRequest = 0x05
-       USBRequestBlockSetupRequestGetDescriptor    USBRequestBlockSetupRequest = 0x06
-       USBRequestBlockSetupRequestSetDescriptor    USBRequestBlockSetupRequest = 0x07
-       USBRequestBlockSetupRequestGetConfiguration USBRequestBlockSetupRequest = 0x08
-       USBRequestBlockSetupRequestSetConfiguration USBRequestBlockSetupRequest = 0x09
-       USBRequestBlockSetupRequestSetIdle          USBRequestBlockSetupRequest = 0x0a
-)
-
-func (a USBRequestBlockSetupRequest) String() string {
-       switch a {
-       case USBRequestBlockSetupRequestGetStatus:
-               return "GET_STATUS"
-       case USBRequestBlockSetupRequestClearFeature:
-               return "CLEAR_FEATURE"
-       case USBRequestBlockSetupRequestSetFeature:
-               return "SET_FEATURE"
-       case USBRequestBlockSetupRequestSetAddress:
-               return "SET_ADDRESS"
-       case USBRequestBlockSetupRequestGetDescriptor:
-               return "GET_DESCRIPTOR"
-       case USBRequestBlockSetupRequestSetDescriptor:
-               return "SET_DESCRIPTOR"
-       case USBRequestBlockSetupRequestGetConfiguration:
-               return "GET_CONFIGURATION"
-       case USBRequestBlockSetupRequestSetConfiguration:
-               return "SET_CONFIGURATION"
-       case USBRequestBlockSetupRequestSetIdle:
-               return "SET_IDLE"
-       default:
-               return "UNKNOWN"
-       }
-}
-
-type USBTransportType uint8
-
-const (
-       USBTransportTypeTransferIn  USBTransportType = 0x80 // Indicates send or receive
-       USBTransportTypeIsochronous USBTransportType = 0x00 // Isochronous transfers occur continuously and periodically. They typically contain time sensitive information, such as an audio or video stream.
-       USBTransportTypeInterrupt   USBTransportType = 0x01 // Interrupt transfers are typically non-periodic, small device "initiated" communication requiring bounded latency, such as pointing devices or keyboards.
-       USBTransportTypeControl     USBTransportType = 0x02 // Control transfers are typically used for command and status operations.
-       USBTransportTypeBulk        USBTransportType = 0x03 // Bulk transfers can be used for large bursty data, using all remaining available bandwidth, no guarantees on bandwidth or latency, such as file transfers.
-)
-
-func (a USBTransportType) LayerType() gopacket.LayerType {
-       return USBTypeMetadata[a].LayerType
-}
-
-func (a USBTransportType) String() string {
-       switch a {
-       case USBTransportTypeTransferIn:
-               return "Transfer In"
-       case USBTransportTypeIsochronous:
-               return "Isochronous"
-       case USBTransportTypeInterrupt:
-               return "Interrupt"
-       case USBTransportTypeControl:
-               return "Control"
-       case USBTransportTypeBulk:
-               return "Bulk"
-       default:
-               return "Unknown transport type"
-       }
-}
-
-type USBDirectionType uint8
-
-const (
-       USBDirectionTypeUnknown USBDirectionType = iota
-       USBDirectionTypeIn
-       USBDirectionTypeOut
-)
-
-func (a USBDirectionType) String() string {
-       switch a {
-       case USBDirectionTypeIn:
-               return "In"
-       case USBDirectionTypeOut:
-               return "Out"
-       default:
-               return "Unknown direction type"
-       }
-}
-
-// The reference at http://www.beyondlogic.org/usbnutshell/usb1.shtml contains more information about the protocol.
-type USB struct {
-       BaseLayer
-       ID             uint64
-       EventType      USBEventType
-       TransferType   USBTransportType
-       Direction      USBDirectionType
-       EndpointNumber uint8
-       DeviceAddress  uint8
-       BusID          uint16
-       TimestampSec   int64
-       TimestampUsec  int32
-       Setup          bool
-       Data           bool
-       Status         int32
-       UrbLength      uint32
-       UrbDataLength  uint32
-
-       UrbInterval            uint32
-       UrbStartFrame          uint32
-       UrbCopyOfTransferFlags uint32
-       IsoNumDesc             uint32
-}
-
-func (u *USB) LayerType() gopacket.LayerType { return LayerTypeUSB }
-
-func (m *USB) NextLayerType() gopacket.LayerType {
-       if m.Setup {
-               return LayerTypeUSBRequestBlockSetup
-       } else if m.Data {
-       }
-
-       return m.TransferType.LayerType()
-}
-
-func decodeUSB(data []byte, p gopacket.PacketBuilder) error {
-       d := &USB{}
-
-       return decodingLayerDecoder(d, data, p)
-}
-
-func (m *USB) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       m.ID = binary.LittleEndian.Uint64(data[0:8])
-       m.EventType = USBEventType(data[8])
-       m.TransferType = USBTransportType(data[9])
-
-       m.EndpointNumber = data[10] & 0x7f
-       if data[10]&uint8(USBTransportTypeTransferIn) > 0 {
-               m.Direction = USBDirectionTypeIn
-       } else {
-               m.Direction = USBDirectionTypeOut
-       }
-
-       m.DeviceAddress = data[11]
-       m.BusID = binary.LittleEndian.Uint16(data[12:14])
-
-       if uint(data[14]) == 0 {
-               m.Setup = true
-       }
-
-       if uint(data[15]) == 0 {
-               m.Data = true
-       }
-
-       m.TimestampSec = int64(binary.LittleEndian.Uint64(data[16:24]))
-       m.TimestampUsec = int32(binary.LittleEndian.Uint32(data[24:28]))
-       m.Status = int32(binary.LittleEndian.Uint32(data[28:32]))
-       m.UrbLength = binary.LittleEndian.Uint32(data[32:36])
-       m.UrbDataLength = binary.LittleEndian.Uint32(data[36:40])
-
-       m.Contents = data[:40]
-       m.Payload = data[40:]
-
-       if m.Setup {
-               m.Payload = data[40:]
-       } else if m.Data {
-               m.Payload = data[uint32(len(data))-m.UrbDataLength:]
-       }
-
-       // if 64 bit, dissect_linux_usb_pseudo_header_ext
-       if false {
-               m.UrbInterval = binary.LittleEndian.Uint32(data[40:44])
-               m.UrbStartFrame = binary.LittleEndian.Uint32(data[44:48])
-               m.UrbDataLength = binary.LittleEndian.Uint32(data[48:52])
-               m.IsoNumDesc = binary.LittleEndian.Uint32(data[52:56])
-               m.Contents = data[:56]
-               m.Payload = data[56:]
-       }
-
-       // crc5 or crc16
-       // eop (end of packet)
-
-       return nil
-}
-
-type USBRequestBlockSetup struct {
-       BaseLayer
-       RequestType uint8
-       Request     USBRequestBlockSetupRequest
-       Value       uint16
-       Index       uint16
-       Length      uint16
-}
-
-func (u *USBRequestBlockSetup) LayerType() gopacket.LayerType { return LayerTypeUSBRequestBlockSetup }
-
-func (m *USBRequestBlockSetup) NextLayerType() gopacket.LayerType {
-       return gopacket.LayerTypePayload
-}
-
-func (m *USBRequestBlockSetup) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       m.RequestType = data[0]
-       m.Request = USBRequestBlockSetupRequest(data[1])
-       m.Value = binary.LittleEndian.Uint16(data[2:4])
-       m.Index = binary.LittleEndian.Uint16(data[4:6])
-       m.Length = binary.LittleEndian.Uint16(data[6:8])
-       m.Contents = data[:8]
-       m.Payload = data[8:]
-       return nil
-}
-
-func decodeUSBRequestBlockSetup(data []byte, p gopacket.PacketBuilder) error {
-       d := &USBRequestBlockSetup{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-type USBControl struct {
-       BaseLayer
-}
-
-func (u *USBControl) LayerType() gopacket.LayerType { return LayerTypeUSBControl }
-
-func (m *USBControl) NextLayerType() gopacket.LayerType {
-       return gopacket.LayerTypePayload
-}
-
-func (m *USBControl) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       m.Contents = data
-       return nil
-}
-
-func decodeUSBControl(data []byte, p gopacket.PacketBuilder) error {
-       d := &USBControl{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-type USBInterrupt struct {
-       BaseLayer
-}
-
-func (u *USBInterrupt) LayerType() gopacket.LayerType { return LayerTypeUSBInterrupt }
-
-func (m *USBInterrupt) NextLayerType() gopacket.LayerType {
-       return gopacket.LayerTypePayload
-}
-
-func (m *USBInterrupt) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       m.Contents = data
-       return nil
-}
-
-func decodeUSBInterrupt(data []byte, p gopacket.PacketBuilder) error {
-       d := &USBInterrupt{}
-       return decodingLayerDecoder(d, data, p)
-}
-
-type USBBulk struct {
-       BaseLayer
-}
-
-func (u *USBBulk) LayerType() gopacket.LayerType { return LayerTypeUSBBulk }
-
-func (m *USBBulk) NextLayerType() gopacket.LayerType {
-       return gopacket.LayerTypePayload
-}
-
-func (m *USBBulk) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-       m.Contents = data
-       return nil
-}
-
-func decodeUSBBulk(data []byte, p gopacket.PacketBuilder) error {
-       d := &USBBulk{}
-       return decodingLayerDecoder(d, data, p)
-}
diff --git a/vendor/github.com/google/gopacket/layers/vrrp.go b/vendor/github.com/google/gopacket/layers/vrrp.go
deleted file mode 100644 (file)
index ffaafe6..0000000
+++ /dev/null
@@ -1,156 +0,0 @@
-// Copyright 2016 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "errors"
-       "net"
-
-       "github.com/google/gopacket"
-)
-
-/*
-       This layer provides decoding for Virtual Router Redundancy Protocol (VRRP) v2.
-       https://tools.ietf.org/html/rfc3768#section-5
-    0                   1                   2                   3
-    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
-   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-   |Version| Type  | Virtual Rtr ID|   Priority    | Count IP Addrs|
-   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-   |   Auth Type   |   Adver Int   |          Checksum             |
-   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-   |                         IP Address (1)                        |
-   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-   |                            .                                  |
-   |                            .                                  |
-   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-   |                         IP Address (n)                        |
-   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-   |                     Authentication Data (1)                   |
-   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-   |                     Authentication Data (2)                   |
-   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-*/
-
-type VRRPv2Type uint8
-type VRRPv2AuthType uint8
-
-const (
-       VRRPv2Advertisement VRRPv2Type = 0x01 // router advertisement
-)
-
-// String conversions for VRRP message types
-func (v VRRPv2Type) String() string {
-       switch v {
-       case VRRPv2Advertisement:
-               return "VRRPv2 Advertisement"
-       default:
-               return ""
-       }
-}
-
-const (
-       VRRPv2AuthNoAuth    VRRPv2AuthType = 0x00 // No Authentication
-       VRRPv2AuthReserved1 VRRPv2AuthType = 0x01 // Reserved field 1
-       VRRPv2AuthReserved2 VRRPv2AuthType = 0x02 // Reserved field 2
-)
-
-func (v VRRPv2AuthType) String() string {
-       switch v {
-       case VRRPv2AuthNoAuth:
-               return "No Authentication"
-       case VRRPv2AuthReserved1:
-               return "Reserved"
-       case VRRPv2AuthReserved2:
-               return "Reserved"
-       default:
-               return ""
-       }
-}
-
-// VRRPv2 represents an VRRP v2 message.
-type VRRPv2 struct {
-       BaseLayer
-       Version      uint8          // The version field specifies the VRRP protocol version of this packet (v2)
-       Type         VRRPv2Type     // The type field specifies the type of this VRRP packet.  The only type defined in v2 is ADVERTISEMENT
-       VirtualRtrID uint8          // identifies the virtual router this packet is reporting status for
-       Priority     uint8          // specifies the sending VRRP router's priority for the virtual router (100 = default)
-       CountIPAddr  uint8          // The number of IP addresses contained in this VRRP advertisement.
-       AuthType     VRRPv2AuthType // identifies the authentication method being utilized
-       AdverInt     uint8          // The Advertisement interval indicates the time interval (in seconds) between ADVERTISEMENTS.  The default is 1 second
-       Checksum     uint16         // used to detect data corruption in the VRRP message.
-       IPAddress    []net.IP       // one or more IP addresses associated with the virtual router. Specified in the CountIPAddr field.
-}
-
-// LayerType returns LayerTypeVRRP for VRRP v2 message.
-func (v *VRRPv2) LayerType() gopacket.LayerType { return LayerTypeVRRP }
-
-func (v *VRRPv2) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error {
-
-       v.BaseLayer = BaseLayer{Contents: data[:len(data)]}
-       v.Version = data[0] >> 4 // high nibble == VRRP version. We're expecting v2
-
-       v.Type = VRRPv2Type(data[0] & 0x0F) // low nibble == VRRP type. Expecting 1 (advertisement)
-       if v.Type != 1 {
-               // rfc3768: A packet with unknown type MUST be discarded.
-               return errors.New("Unrecognized VRRPv2 type field.")
-       }
-
-       v.VirtualRtrID = data[1]
-       v.Priority = data[2]
-
-       v.CountIPAddr = data[3]
-       if v.CountIPAddr < 1 {
-               return errors.New("VRRPv2 number of IP addresses is not valid.")
-       }
-
-       v.AuthType = VRRPv2AuthType(data[4])
-       v.AdverInt = uint8(data[5])
-       v.Checksum = binary.BigEndian.Uint16(data[6:8])
-
-       // populate the IPAddress field. The number of addresses is specified in the v.CountIPAddr field
-       // offset references the starting byte containing the list of ip addresses
-       offset := 8
-       for i := uint8(0); i < v.CountIPAddr; i++ {
-               v.IPAddress = append(v.IPAddress, data[offset:offset+4])
-               offset += 4
-       }
-
-       //      any trailing packets here may be authentication data and *should* be ignored in v2 as per RFC
-       //
-       //                      5.3.10.  Authentication Data
-       //
-       //                      The authentication string is currently only used to maintain
-       //                      backwards compatibility with RFC 2338.  It SHOULD be set to zero on
-       //                      transmission and ignored on reception.
-       return nil
-}
-
-// CanDecode specifies the layer type in which we are attempting to unwrap.
-func (v *VRRPv2) CanDecode() gopacket.LayerClass {
-       return LayerTypeVRRP
-}
-
-// NextLayerType specifies the next layer that should be decoded. VRRP does not contain any further payload, so we set to 0
-func (v *VRRPv2) NextLayerType() gopacket.LayerType {
-       return gopacket.LayerTypeZero
-}
-
-// The VRRP packet does not include payload data. Setting byte slice to nil
-func (v *VRRPv2) Payload() []byte {
-       return nil
-}
-
-// decodeVRRP will parse VRRP v2
-func decodeVRRP(data []byte, p gopacket.PacketBuilder) error {
-       if len(data) < 8 {
-               return errors.New("Not a valid VRRP packet. Packet length is too small.")
-       }
-       v := &VRRPv2{}
-       return decodingLayerDecoder(v, data, p)
-}
diff --git a/vendor/github.com/google/gopacket/layers/vxlan.go b/vendor/github.com/google/gopacket/layers/vxlan.go
deleted file mode 100644 (file)
index 08f1ecb..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-// Copyright 2016 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package layers
-
-import (
-       "encoding/binary"
-       "fmt"
-       "github.com/google/gopacket"
-)
-
-//  VXLAN is specifed in RFC 7348 https://tools.ietf.org/html/rfc7348
-//  G, D, A, Group Policy ID from https://tools.ietf.org/html/draft-smith-vxlan-group-policy-00
-//  0                   1                   2                   3
-//  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
-//  0             8               16              24              32
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-// |G|R|R|R|I|R|R|R|R|D|R|R|A|R|R|R|       Group Policy ID         |
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-// |     24 bit VXLAN Network Identifier           |   Reserved    |
-// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-
-// VXLAN is a VXLAN packet header
-type VXLAN struct {
-       BaseLayer
-       ValidIDFlag      bool   // 'I' bit per RFC 7348
-       VNI              uint32 // 'VXLAN Network Identifier' 24 bits per RFC 7348
-       GBPExtension     bool   // 'G' bit per Group Policy https://tools.ietf.org/html/draft-smith-vxlan-group-policy-00
-       GBPDontLearn     bool   // 'D' bit per Group Policy
-       GBPApplied       bool   // 'A' bit per Group Policy
-       GBPGroupPolicyID uint16 // 'Group Policy ID' 16 bits per Group Policy
-}
-
-// LayerType returns LayerTypeVXLAN
-func (vx *VXLAN) LayerType() gopacket.LayerType { return LayerTypeVXLAN }
-
-func decodeVXLAN(data []byte, p gopacket.PacketBuilder) error {
-       vx := &VXLAN{}
-
-       // VNI is a 24bit number, Uint32 requires 32 bits
-       var buf [4]byte
-       copy(buf[1:], data[4:7])
-
-       // RFC 7348 https://tools.ietf.org/html/rfc7348
-       vx.ValidIDFlag = data[0]&0x08 > 0        // 'I' bit per RFC7348
-       vx.VNI = binary.BigEndian.Uint32(buf[:]) // VXLAN Network Identifier per RFC7348
-
-       // Group Based Policy https://tools.ietf.org/html/draft-smith-vxlan-group-policy-00
-       vx.GBPExtension = data[0]&0x80 > 0                       // 'G' bit per the group policy draft
-       vx.GBPDontLearn = data[1]&0x40 > 0                       // 'D' bit - the egress VTEP MUST NOT learn the source address of the encapsulated frame.
-       vx.GBPApplied = data[1]&0x80 > 0                         // 'A' bit - indicates that the group policy has already been applied to this packet.
-       vx.GBPGroupPolicyID = binary.BigEndian.Uint16(data[2:4]) // Policy ID as per the group policy draft
-
-       // Layer information
-       const vxlanLength = 8
-       vx.Contents = data[:vxlanLength]
-       vx.Payload = data[vxlanLength:]
-
-       p.AddLayer(vx)
-       return p.NextDecoder(LinkTypeEthernet)
-}
-
-// SerializeTo writes the serialized form of this layer into the
-// SerializationBuffer, implementing gopacket.SerializableLayer.
-// See the docs for gopacket.SerializableLayer for more info.
-func (vx *VXLAN) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error {
-       bytes, err := b.PrependBytes(8)
-       if err != nil {
-               return err
-       }
-
-       if vx.ValidIDFlag {
-               bytes[0] |= 0x08
-       }
-       if vx.GBPExtension {
-               bytes[0] |= 0x80
-       }
-       if vx.GBPDontLearn {
-               bytes[1] |= 0x40
-       }
-       if vx.GBPApplied {
-               bytes[1] |= 0x80
-       }
-
-       binary.BigEndian.PutUint16(bytes[2:4], vx.GBPGroupPolicyID)
-       if vx.VNI >= 1<<24 {
-               return fmt.Errorf("Virtual Network Identifier = %x exceeds max for 24-bit uint", vx.VNI)
-       }
-       binary.BigEndian.PutUint32(bytes[4:8], vx.VNI<<8)
-       return nil
-}
diff --git a/vendor/github.com/google/gopacket/layertype.go b/vendor/github.com/google/gopacket/layertype.go
deleted file mode 100644 (file)
index 3abfee1..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package gopacket
-
-import (
-       "fmt"
-       "strconv"
-)
-
-// LayerType is a unique identifier for each type of layer.  This enumeration
-// does not match with any externally available numbering scheme... it's solely
-// usable/useful within this library as a means for requesting layer types
-// (see Packet.Layer) and determining which types of layers have been decoded.
-//
-// New LayerTypes may be created by calling gopacket.RegisterLayerType.
-type LayerType int64
-
-// LayerTypeMetadata contains metadata associated with each LayerType.
-type LayerTypeMetadata struct {
-       // Name is the string returned by each layer type's String method.
-       Name string
-       // Decoder is the decoder to use when the layer type is passed in as a
-       // Decoder.
-       Decoder Decoder
-}
-
-type layerTypeMetadata struct {
-       inUse bool
-       LayerTypeMetadata
-}
-
-// DecodersByLayerName maps layer names to decoders for those layers.
-// This allows users to specify decoders by name to a program and have that
-// program pick the correct decoder accordingly.
-var DecodersByLayerName = map[string]Decoder{}
-
-const maxLayerType = 2000
-
-var ltMeta [maxLayerType]layerTypeMetadata
-var ltMetaMap = map[LayerType]layerTypeMetadata{}
-
-// RegisterLayerType creates a new layer type and registers it globally.
-// The number passed in must be unique, or a runtime panic will occur.  Numbers
-// 0-999 are reserved for the gopacket library.  Numbers 1000-1999 should be
-// used for common application-specific types, and are very fast.  Any other
-// number (negative or >= 2000) may be used for uncommon application-specific
-// types, and are somewhat slower (they require a map lookup over an array
-// index).
-func RegisterLayerType(num int, meta LayerTypeMetadata) LayerType {
-       if 0 <= num && num < maxLayerType {
-               if ltMeta[num].inUse {
-                       panic("Layer type already exists")
-               }
-       } else {
-               if ltMetaMap[LayerType(num)].inUse {
-                       panic("Layer type already exists")
-               }
-       }
-       return OverrideLayerType(num, meta)
-}
-
-// OverrideLayerType acts like RegisterLayerType, except that if the layer type
-// has already been registered, it overrides the metadata with the passed-in
-// metadata intead of panicing.
-func OverrideLayerType(num int, meta LayerTypeMetadata) LayerType {
-       if 0 <= num && num < maxLayerType {
-               ltMeta[num] = layerTypeMetadata{
-                       inUse:             true,
-                       LayerTypeMetadata: meta,
-               }
-       } else {
-               ltMetaMap[LayerType(num)] = layerTypeMetadata{
-                       inUse:             true,
-                       LayerTypeMetadata: meta,
-               }
-       }
-       DecodersByLayerName[meta.Name] = meta.Decoder
-       return LayerType(num)
-}
-
-// Decode decodes the given data using the decoder registered with the layer
-// type.
-func (t LayerType) Decode(data []byte, c PacketBuilder) error {
-       var d Decoder
-       if 0 <= int(t) && int(t) < maxLayerType {
-               d = ltMeta[int(t)].Decoder
-       } else {
-               d = ltMetaMap[t].Decoder
-       }
-       if d != nil {
-               return d.Decode(data, c)
-       }
-       return fmt.Errorf("Layer type %v has no associated decoder", t)
-}
-
-// String returns the string associated with this layer type.
-func (t LayerType) String() (s string) {
-       if 0 <= int(t) && int(t) < maxLayerType {
-               s = ltMeta[int(t)].Name
-       } else {
-               s = ltMetaMap[t].Name
-       }
-       if s == "" {
-               s = strconv.Itoa(int(t))
-       }
-       return
-}
diff --git a/vendor/github.com/google/gopacket/packet.go b/vendor/github.com/google/gopacket/packet.go
deleted file mode 100644 (file)
index 76b62d8..0000000
+++ /dev/null
@@ -1,838 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package gopacket
-
-import (
-       "bytes"
-       "encoding/hex"
-       "errors"
-       "fmt"
-       "io"
-       "os"
-       "reflect"
-       "runtime/debug"
-       "strings"
-       "time"
-)
-
-// CaptureInfo provides standardized information about a packet captured off
-// the wire or read from a file.
-type CaptureInfo struct {
-       // Timestamp is the time the packet was captured, if that is known.
-       Timestamp time.Time
-       // CaptureLength is the total number of bytes read off of the wire.
-       CaptureLength int
-       // Length is the size of the original packet.  Should always be >=
-       // CaptureLength.
-       Length int
-       // InterfaceIndex
-       InterfaceIndex int
-}
-
-// PacketMetadata contains metadata for a packet.
-type PacketMetadata struct {
-       CaptureInfo
-       // Truncated is true if packet decoding logic detects that there are fewer
-       // bytes in the packet than are detailed in various headers (for example, if
-       // the number of bytes in the IPv4 contents/payload is less than IPv4.Length).
-       // This is also set automatically for packets captured off the wire if
-       // CaptureInfo.CaptureLength < CaptureInfo.Length.
-       Truncated bool
-}
-
-// Packet is the primary object used by gopacket.  Packets are created by a
-// Decoder's Decode call.  A packet is made up of a set of Data, which
-// is broken into a number of Layers as it is decoded.
-type Packet interface {
-       //// Functions for outputting the packet as a human-readable string:
-       //// ------------------------------------------------------------------
-       // String returns a human-readable string representation of the packet.
-       // It uses LayerString on each layer to output the layer.
-       String() string
-       // Dump returns a verbose human-readable string representation of the packet,
-       // including a hex dump of all layers.  It uses LayerDump on each layer to
-       // output the layer.
-       Dump() string
-
-       //// Functions for accessing arbitrary packet layers:
-       //// ------------------------------------------------------------------
-       // Layers returns all layers in this packet, computing them as necessary
-       Layers() []Layer
-       // Layer returns the first layer in this packet of the given type, or nil
-       Layer(LayerType) Layer
-       // LayerClass returns the first layer in this packet of the given class,
-       // or nil.
-       LayerClass(LayerClass) Layer
-
-       //// Functions for accessing specific types of packet layers.  These functions
-       //// return the first layer of each type found within the packet.
-       //// ------------------------------------------------------------------
-       // LinkLayer returns the first link layer in the packet
-       LinkLayer() LinkLayer
-       // NetworkLayer returns the first network layer in the packet
-       NetworkLayer() NetworkLayer
-       // TransportLayer returns the first transport layer in the packet
-       TransportLayer() TransportLayer
-       // ApplicationLayer returns the first application layer in the packet
-       ApplicationLayer() ApplicationLayer
-       // ErrorLayer is particularly useful, since it returns nil if the packet
-       // was fully decoded successfully, and non-nil if an error was encountered
-       // in decoding and the packet was only partially decoded.  Thus, its output
-       // can be used to determine if the entire packet was able to be decoded.
-       ErrorLayer() ErrorLayer
-
-       //// Functions for accessing data specific to the packet:
-       //// ------------------------------------------------------------------
-       // Data returns the set of bytes that make up this entire packet.
-       Data() []byte
-       // Metadata returns packet metadata associated with this packet.
-       Metadata() *PacketMetadata
-}
-
-// packet contains all the information we need to fulfill the Packet interface,
-// and its two "subclasses" (yes, no such thing in Go, bear with me),
-// eagerPacket and lazyPacket, provide eager and lazy decoding logic around the
-// various functions needed to access this information.
-type packet struct {
-       // data contains the entire packet data for a packet
-       data []byte
-       // initialLayers is space for an initial set of layers already created inside
-       // the packet.
-       initialLayers [6]Layer
-       // layers contains each layer we've already decoded
-       layers []Layer
-       // last is the last layer added to the packet
-       last Layer
-       // metadata is the PacketMetadata for this packet
-       metadata PacketMetadata
-
-       decodeOptions DecodeOptions
-
-       // Pointers to the various important layers
-       link        LinkLayer
-       network     NetworkLayer
-       transport   TransportLayer
-       application ApplicationLayer
-       failure     ErrorLayer
-}
-
-func (p *packet) SetTruncated() {
-       p.metadata.Truncated = true
-}
-
-func (p *packet) SetLinkLayer(l LinkLayer) {
-       if p.link == nil {
-               p.link = l
-       }
-}
-
-func (p *packet) SetNetworkLayer(l NetworkLayer) {
-       if p.network == nil {
-               p.network = l
-       }
-}
-
-func (p *packet) SetTransportLayer(l TransportLayer) {
-       if p.transport == nil {
-               p.transport = l
-       }
-}
-
-func (p *packet) SetApplicationLayer(l ApplicationLayer) {
-       if p.application == nil {
-               p.application = l
-       }
-}
-
-func (p *packet) SetErrorLayer(l ErrorLayer) {
-       if p.failure == nil {
-               p.failure = l
-       }
-}
-
-func (p *packet) AddLayer(l Layer) {
-       p.layers = append(p.layers, l)
-       p.last = l
-}
-
-func (p *packet) DumpPacketData() {
-       fmt.Fprint(os.Stderr, p.packetDump())
-       os.Stderr.Sync()
-}
-
-func (p *packet) Metadata() *PacketMetadata {
-       return &p.metadata
-}
-
-func (p *packet) Data() []byte {
-       return p.data
-}
-
-func (p *packet) DecodeOptions() *DecodeOptions {
-       return &p.decodeOptions
-}
-
-func (p *packet) addFinalDecodeError(err error, stack []byte) {
-       fail := &DecodeFailure{err: err, stack: stack}
-       if p.last == nil {
-               fail.data = p.data
-       } else {
-               fail.data = p.last.LayerPayload()
-       }
-       p.AddLayer(fail)
-       p.SetErrorLayer(fail)
-}
-
-func (p *packet) recoverDecodeError() {
-       if !p.decodeOptions.SkipDecodeRecovery {
-               if r := recover(); r != nil {
-                       p.addFinalDecodeError(fmt.Errorf("%v", r), debug.Stack())
-               }
-       }
-}
-
-// LayerString outputs an individual layer as a string.  The layer is output
-// in a single line, with no trailing newline.  This function is specifically
-// designed to do the right thing for most layers... it follows the following
-// rules:
-//  * If the Layer has a String function, just output that.
-//  * Otherwise, output all exported fields in the layer, recursing into
-//    exported slices and structs.
-// NOTE:  This is NOT THE SAME AS fmt's "%#v".  %#v will output both exported
-// and unexported fields... many times packet layers contain unexported stuff
-// that would just mess up the output of the layer, see for example the
-// Payload layer and it's internal 'data' field, which contains a large byte
-// array that would really mess up formatting.
-func LayerString(l Layer) string {
-       return fmt.Sprintf("%v\t%s", l.LayerType(), layerString(reflect.ValueOf(l), false, false))
-}
-
-// Dumper dumps verbose information on a value.  If a layer type implements
-// Dumper, then its LayerDump() string will include the results in its output.
-type Dumper interface {
-       Dump() string
-}
-
-// LayerDump outputs a very verbose string representation of a layer.  Its
-// output is a concatenation of LayerString(l) and hex.Dump(l.LayerContents()).
-// It contains newlines and ends with a newline.
-func LayerDump(l Layer) string {
-       var b bytes.Buffer
-       b.WriteString(LayerString(l))
-       b.WriteByte('\n')
-       if d, ok := l.(Dumper); ok {
-               dump := d.Dump()
-               if dump != "" {
-                       b.WriteString(dump)
-                       if dump[len(dump)-1] != '\n' {
-                               b.WriteByte('\n')
-                       }
-               }
-       }
-       b.WriteString(hex.Dump(l.LayerContents()))
-       return b.String()
-}
-
-// layerString outputs, recursively, a layer in a "smart" way.  See docs for
-// LayerString for more details.
-//
-// Params:
-//   i - value to write out
-//   anonymous:  if we're currently recursing an anonymous member of a struct
-//   writeSpace:  if we've already written a value in a struct, and need to
-//     write a space before writing more.  This happens when we write various
-//     anonymous values, and need to keep writing more.
-func layerString(v reflect.Value, anonymous bool, writeSpace bool) string {
-       // Let String() functions take precedence.
-       if v.CanInterface() {
-               if s, ok := v.Interface().(fmt.Stringer); ok {
-                       return s.String()
-               }
-       }
-       // Reflect, and spit out all the exported fields as key=value.
-       switch v.Type().Kind() {
-       case reflect.Interface, reflect.Ptr:
-               if v.IsNil() {
-                       return "nil"
-               }
-               r := v.Elem()
-               return layerString(r, anonymous, writeSpace)
-       case reflect.Struct:
-               var b bytes.Buffer
-               typ := v.Type()
-               if !anonymous {
-                       b.WriteByte('{')
-               }
-               for i := 0; i < v.NumField(); i++ {
-                       // Check if this is upper-case.
-                       ftype := typ.Field(i)
-                       f := v.Field(i)
-                       if ftype.Anonymous {
-                               anonStr := layerString(f, true, writeSpace)
-                               writeSpace = writeSpace || anonStr != ""
-                               b.WriteString(anonStr)
-                       } else if ftype.PkgPath == "" { // exported
-                               if writeSpace {
-                                       b.WriteByte(' ')
-                               }
-                               writeSpace = true
-                               fmt.Fprintf(&b, "%s=%s", typ.Field(i).Name, layerString(f, false, writeSpace))
-                       }
-               }
-               if !anonymous {
-                       b.WriteByte('}')
-               }
-               return b.String()
-       case reflect.Slice:
-               var b bytes.Buffer
-               b.WriteByte('[')
-               if v.Len() > 4 {
-                       fmt.Fprintf(&b, "..%d..", v.Len())
-               } else {
-                       for j := 0; j < v.Len(); j++ {
-                               if j != 0 {
-                                       b.WriteString(", ")
-                               }
-                               b.WriteString(layerString(v.Index(j), false, false))
-                       }
-               }
-               b.WriteByte(']')
-               return b.String()
-       }
-       return fmt.Sprintf("%v", v.Interface())
-}
-
-const (
-       longBytesLength = 128
-)
-
-// LongBytesGoString returns a string representation of the byte slice shortened
-// using the format '<type>{<truncated slice> ... (<n> bytes)}' if it
-// exceeds a predetermined length. Can be used to avoid filling the display with
-// very long byte strings.
-func LongBytesGoString(buf []byte) string {
-       if len(buf) < longBytesLength {
-               return fmt.Sprintf("%#v", buf)
-       }
-       s := fmt.Sprintf("%#v", buf[:longBytesLength-1])
-       s = strings.TrimSuffix(s, "}")
-       return fmt.Sprintf("%s ... (%d bytes)}", s, len(buf))
-}
-
-func baseLayerString(value reflect.Value) string {
-       t := value.Type()
-       content := value.Field(0)
-       c := make([]byte, content.Len())
-       for i := range c {
-               c[i] = byte(content.Index(i).Uint())
-       }
-       payload := value.Field(1)
-       p := make([]byte, payload.Len())
-       for i := range p {
-               p[i] = byte(payload.Index(i).Uint())
-       }
-       return fmt.Sprintf("%s{Contents:%s, Payload:%s}", t.String(),
-               LongBytesGoString(c),
-               LongBytesGoString(p))
-}
-
-func layerGoString(i interface{}, b *bytes.Buffer) {
-       if s, ok := i.(fmt.GoStringer); ok {
-               b.WriteString(s.GoString())
-               return
-       }
-
-       var v reflect.Value
-       var ok bool
-       if v, ok = i.(reflect.Value); !ok {
-               v = reflect.ValueOf(i)
-       }
-       switch v.Kind() {
-       case reflect.Ptr, reflect.Interface:
-               if v.Kind() == reflect.Ptr {
-                       b.WriteByte('&')
-               }
-               layerGoString(v.Elem().Interface(), b)
-       case reflect.Struct:
-               t := v.Type()
-               b.WriteString(t.String())
-               b.WriteByte('{')
-               for i := 0; i < v.NumField(); i++ {
-                       if i > 0 {
-                               b.WriteString(", ")
-                       }
-                       if t.Field(i).Name == "BaseLayer" {
-                               fmt.Fprintf(b, "BaseLayer:%s", baseLayerString(v.Field(i)))
-                       } else if v.Field(i).Kind() == reflect.Struct {
-                               fmt.Fprintf(b, "%s:", t.Field(i).Name)
-                               layerGoString(v.Field(i), b)
-                       } else if v.Field(i).Kind() == reflect.Ptr {
-                               b.WriteByte('&')
-                               layerGoString(v.Field(i), b)
-                       } else {
-                               fmt.Fprintf(b, "%s:%#v", t.Field(i).Name, v.Field(i))
-                       }
-               }
-               b.WriteByte('}')
-       default:
-               fmt.Fprintf(b, "%#v", i)
-       }
-}
-
-// LayerGoString returns a representation of the layer in Go syntax,
-// taking care to shorten "very long" BaseLayer byte slices
-func LayerGoString(l Layer) string {
-       b := new(bytes.Buffer)
-       layerGoString(l, b)
-       return b.String()
-}
-
-func (p *packet) packetString() string {
-       var b bytes.Buffer
-       fmt.Fprintf(&b, "PACKET: %d bytes", len(p.Data()))
-       if p.metadata.Truncated {
-               b.WriteString(", truncated")
-       }
-       if p.metadata.Length > 0 {
-               fmt.Fprintf(&b, ", wire length %d cap length %d", p.metadata.Length, p.metadata.CaptureLength)
-       }
-       if !p.metadata.Timestamp.IsZero() {
-               fmt.Fprintf(&b, " @ %v", p.metadata.Timestamp)
-       }
-       b.WriteByte('\n')
-       for i, l := range p.layers {
-               fmt.Fprintf(&b, "- Layer %d (%02d bytes) = %s\n", i+1, len(l.LayerContents()), LayerString(l))
-       }
-       return b.String()
-}
-
-func (p *packet) packetDump() string {
-       var b bytes.Buffer
-       fmt.Fprintf(&b, "-- FULL PACKET DATA (%d bytes) ------------------------------------\n%s", len(p.data), hex.Dump(p.data))
-       for i, l := range p.layers {
-               fmt.Fprintf(&b, "--- Layer %d ---\n%s", i+1, LayerDump(l))
-       }
-       return b.String()
-}
-
-// eagerPacket is a packet implementation that does eager decoding.  Upon
-// initial construction, it decodes all the layers it can from packet data.
-// eagerPacket implements Packet and PacketBuilder.
-type eagerPacket struct {
-       packet
-}
-
-var errNilDecoder = errors.New("NextDecoder passed nil decoder, probably an unsupported decode type")
-
-func (p *eagerPacket) NextDecoder(next Decoder) error {
-       if next == nil {
-               return errNilDecoder
-       }
-       if p.last == nil {
-               return errors.New("NextDecoder called, but no layers added yet")
-       }
-       d := p.last.LayerPayload()
-       if len(d) == 0 {
-               return nil
-       }
-       // Since we're eager, immediately call the next decoder.
-       return next.Decode(d, p)
-}
-func (p *eagerPacket) initialDecode(dec Decoder) {
-       defer p.recoverDecodeError()
-       err := dec.Decode(p.data, p)
-       if err != nil {
-               p.addFinalDecodeError(err, nil)
-       }
-}
-func (p *eagerPacket) LinkLayer() LinkLayer {
-       return p.link
-}
-func (p *eagerPacket) NetworkLayer() NetworkLayer {
-       return p.network
-}
-func (p *eagerPacket) TransportLayer() TransportLayer {
-       return p.transport
-}
-func (p *eagerPacket) ApplicationLayer() ApplicationLayer {
-       return p.application
-}
-func (p *eagerPacket) ErrorLayer() ErrorLayer {
-       return p.failure
-}
-func (p *eagerPacket) Layers() []Layer {
-       return p.layers
-}
-func (p *eagerPacket) Layer(t LayerType) Layer {
-       for _, l := range p.layers {
-               if l.LayerType() == t {
-                       return l
-               }
-       }
-       return nil
-}
-func (p *eagerPacket) LayerClass(lc LayerClass) Layer {
-       for _, l := range p.layers {
-               if lc.Contains(l.LayerType()) {
-                       return l
-               }
-       }
-       return nil
-}
-func (p *eagerPacket) String() string { return p.packetString() }
-func (p *eagerPacket) Dump() string   { return p.packetDump() }
-
-// lazyPacket does lazy decoding on its packet data.  On construction it does
-// no initial decoding.  For each function call, it decodes only as many layers
-// as are necessary to compute the return value for that function.
-// lazyPacket implements Packet and PacketBuilder.
-type lazyPacket struct {
-       packet
-       next Decoder
-}
-
-func (p *lazyPacket) NextDecoder(next Decoder) error {
-       if next == nil {
-               return errNilDecoder
-       }
-       p.next = next
-       return nil
-}
-func (p *lazyPacket) decodeNextLayer() {
-       if p.next == nil {
-               return
-       }
-       d := p.data
-       if p.last != nil {
-               d = p.last.LayerPayload()
-       }
-       next := p.next
-       p.next = nil
-       // We've just set p.next to nil, so if we see we have no data, this should be
-       // the final call we get to decodeNextLayer if we return here.
-       if len(d) == 0 {
-               return
-       }
-       defer p.recoverDecodeError()
-       err := next.Decode(d, p)
-       if err != nil {
-               p.addFinalDecodeError(err, nil)
-       }
-}
-func (p *lazyPacket) LinkLayer() LinkLayer {
-       for p.link == nil && p.next != nil {
-               p.decodeNextLayer()
-       }
-       return p.link
-}
-func (p *lazyPacket) NetworkLayer() NetworkLayer {
-       for p.network == nil && p.next != nil {
-               p.decodeNextLayer()
-       }
-       return p.network
-}
-func (p *lazyPacket) TransportLayer() TransportLayer {
-       for p.transport == nil && p.next != nil {
-               p.decodeNextLayer()
-       }
-       return p.transport
-}
-func (p *lazyPacket) ApplicationLayer() ApplicationLayer {
-       for p.application == nil && p.next != nil {
-               p.decodeNextLayer()
-       }
-       return p.application
-}
-func (p *lazyPacket) ErrorLayer() ErrorLayer {
-       for p.failure == nil && p.next != nil {
-               p.decodeNextLayer()
-       }
-       return p.failure
-}
-func (p *lazyPacket) Layers() []Layer {
-       for p.next != nil {
-               p.decodeNextLayer()
-       }
-       return p.layers
-}
-func (p *lazyPacket) Layer(t LayerType) Layer {
-       for _, l := range p.layers {
-               if l.LayerType() == t {
-                       return l
-               }
-       }
-       numLayers := len(p.layers)
-       for p.next != nil {
-               p.decodeNextLayer()
-               for _, l := range p.layers[numLayers:] {
-                       if l.LayerType() == t {
-                               return l
-                       }
-               }
-               numLayers = len(p.layers)
-       }
-       return nil
-}
-func (p *lazyPacket) LayerClass(lc LayerClass) Layer {
-       for _, l := range p.layers {
-               if lc.Contains(l.LayerType()) {
-                       return l
-               }
-       }
-       numLayers := len(p.layers)
-       for p.next != nil {
-               p.decodeNextLayer()
-               for _, l := range p.layers[numLayers:] {
-                       if lc.Contains(l.LayerType()) {
-                               return l
-                       }
-               }
-               numLayers = len(p.layers)
-       }
-       return nil
-}
-func (p *lazyPacket) String() string { p.Layers(); return p.packetString() }
-func (p *lazyPacket) Dump() string   { p.Layers(); return p.packetDump() }
-
-// DecodeOptions tells gopacket how to decode a packet.
-type DecodeOptions struct {
-       // Lazy decoding decodes the minimum number of layers needed to return data
-       // for a packet at each function call.  Be careful using this with concurrent
-       // packet processors, as each call to packet.* could mutate the packet, and
-       // two concurrent function calls could interact poorly.
-       Lazy bool
-       // NoCopy decoding doesn't copy its input buffer into storage that's owned by
-       // the packet.  If you can guarantee that the bytes underlying the slice
-       // passed into NewPacket aren't going to be modified, this can be faster.  If
-       // there's any chance that those bytes WILL be changed, this will invalidate
-       // your packets.
-       NoCopy bool
-       // SkipDecodeRecovery skips over panic recovery during packet decoding.
-       // Normally, when packets decode, if a panic occurs, that panic is captured
-       // by a recover(), and a DecodeFailure layer is added to the packet detailing
-       // the issue.  If this flag is set, panics are instead allowed to continue up
-       // the stack.
-       SkipDecodeRecovery bool
-       // DecodeStreamsAsDatagrams enables routing of application-level layers in the TCP
-       // decoder. If true, we should try to decode layers after TCP in single packets.
-       // This is disabled by default because the reassembly package drives the decoding
-       // of TCP payload data after reassembly.
-       DecodeStreamsAsDatagrams bool
-}
-
-// Default decoding provides the safest (but slowest) method for decoding
-// packets.  It eagerly processes all layers (so it's concurrency-safe) and it
-// copies its input buffer upon creation of the packet (so the packet remains
-// valid if the underlying slice is modified.  Both of these take time,
-// though, so beware.  If you can guarantee that the packet will only be used
-// by one goroutine at a time, set Lazy decoding.  If you can guarantee that
-// the underlying slice won't change, set NoCopy decoding.
-var Default = DecodeOptions{}
-
-// Lazy is a DecodeOptions with just Lazy set.
-var Lazy = DecodeOptions{Lazy: true}
-
-// NoCopy is a DecodeOptions with just NoCopy set.
-var NoCopy = DecodeOptions{NoCopy: true}
-
-// DecodeStreamsAsDatagrams is a DecodeOptions with just DecodeStreamsAsDatagrams set.
-var DecodeStreamsAsDatagrams = DecodeOptions{DecodeStreamsAsDatagrams: true}
-
-// NewPacket creates a new Packet object from a set of bytes.  The
-// firstLayerDecoder tells it how to interpret the first layer from the bytes,
-// future layers will be generated from that first layer automatically.
-func NewPacket(data []byte, firstLayerDecoder Decoder, options DecodeOptions) Packet {
-       if !options.NoCopy {
-               dataCopy := make([]byte, len(data))
-               copy(dataCopy, data)
-               data = dataCopy
-       }
-       if options.Lazy {
-               p := &lazyPacket{
-                       packet: packet{data: data, decodeOptions: options},
-                       next:   firstLayerDecoder,
-               }
-               p.layers = p.initialLayers[:0]
-               // Crazy craziness:
-               // If the following return statemet is REMOVED, and Lazy is FALSE, then
-               // eager packet processing becomes 17% FASTER.  No, there is no logical
-               // explanation for this.  However, it's such a hacky micro-optimization that
-               // we really can't rely on it.  It appears to have to do with the size the
-               // compiler guesses for this function's stack space, since one symptom is
-               // that with the return statement in place, we more than double calls to
-               // runtime.morestack/runtime.lessstack.  We'll hope the compiler gets better
-               // over time and we get this optimization for free.  Until then, we'll have
-               // to live with slower packet processing.
-               return p
-       }
-       p := &eagerPacket{
-               packet: packet{data: data, decodeOptions: options},
-       }
-       p.layers = p.initialLayers[:0]
-       p.initialDecode(firstLayerDecoder)
-       return p
-}
-
-// PacketDataSource is an interface for some source of packet data.  Users may
-// create their own implementations, or use the existing implementations in
-// gopacket/pcap (libpcap, allows reading from live interfaces or from
-// pcap files) or gopacket/pfring (PF_RING, allows reading from live
-// interfaces).
-type PacketDataSource interface {
-       // ReadPacketData returns the next packet available from this data source.
-       // It returns:
-       //  data:  The bytes of an individual packet.
-       //  ci:  Metadata about the capture
-       //  err:  An error encountered while reading packet data.  If err != nil,
-       //    then data/ci will be ignored.
-       ReadPacketData() (data []byte, ci CaptureInfo, err error)
-}
-
-// ConcatFinitePacketDataSources returns a PacketDataSource that wraps a set
-// of internal PacketDataSources, each of which will stop with io.EOF after
-// reading a finite number of packets.  The returned PacketDataSource will
-// return all packets from the first finite source, followed by all packets from
-// the second, etc.  Once all finite sources have returned io.EOF, the returned
-// source will as well.
-func ConcatFinitePacketDataSources(pds ...PacketDataSource) PacketDataSource {
-       c := concat(pds)
-       return &c
-}
-
-type concat []PacketDataSource
-
-func (c *concat) ReadPacketData() (data []byte, ci CaptureInfo, err error) {
-       for len(*c) > 0 {
-               data, ci, err = (*c)[0].ReadPacketData()
-               if err == io.EOF {
-                       *c = (*c)[1:]
-                       continue
-               }
-               return
-       }
-       return nil, CaptureInfo{}, io.EOF
-}
-
-// ZeroCopyPacketDataSource is an interface to pull packet data from sources
-// that allow data to be returned without copying to a user-controlled buffer.
-// It's very similar to PacketDataSource, except that the caller must be more
-// careful in how the returned buffer is handled.
-type ZeroCopyPacketDataSource interface {
-       // ZeroCopyReadPacketData returns the next packet available from this data source.
-       // It returns:
-       //  data:  The bytes of an individual packet.  Unlike with
-       //    PacketDataSource's ReadPacketData, the slice returned here points
-       //    to a buffer owned by the data source.  In particular, the bytes in
-       //    this buffer may be changed by future calls to
-       //    ZeroCopyReadPacketData.  Do not use the returned buffer after
-       //    subsequent ZeroCopyReadPacketData calls.
-       //  ci:  Metadata about the capture
-       //  err:  An error encountered while reading packet data.  If err != nil,
-       //    then data/ci will be ignored.
-       ZeroCopyReadPacketData() (data []byte, ci CaptureInfo, err error)
-}
-
-// PacketSource reads in packets from a PacketDataSource, decodes them, and
-// returns them.
-//
-// There are currently two different methods for reading packets in through
-// a PacketSource:
-//
-// Reading With Packets Function
-//
-// This method is the most convenient and easiest to code, but lacks
-// flexibility.  Packets returns a 'chan Packet', then asynchronously writes
-// packets into that channel.  Packets uses a blocking channel, and closes
-// it if an io.EOF is returned by the underlying PacketDataSource.  All other
-// PacketDataSource errors are ignored and discarded.
-//  for packet := range packetSource.Packets() {
-//    ...
-//  }
-//
-// Reading With NextPacket Function
-//
-// This method is the most flexible, and exposes errors that may be
-// encountered by the underlying PacketDataSource.  It's also the fastest
-// in a tight loop, since it doesn't have the overhead of a channel
-// read/write.  However, it requires the user to handle errors, most
-// importantly the io.EOF error in cases where packets are being read from
-// a file.
-//  for {
-//    packet, err := packetSource.NextPacket()
-//    if err == io.EOF {
-//      break
-//    } else if err != nil {
-//      log.Println("Error:", err)
-//      continue
-//    }
-//    handlePacket(packet)  // Do something with each packet.
-//  }
-type PacketSource struct {
-       source  PacketDataSource
-       decoder Decoder
-       // DecodeOptions is the set of options to use for decoding each piece
-       // of packet data.  This can/should be changed by the user to reflect the
-       // way packets should be decoded.
-       DecodeOptions
-       c chan Packet
-}
-
-// NewPacketSource creates a packet data source.
-func NewPacketSource(source PacketDataSource, decoder Decoder) *PacketSource {
-       return &PacketSource{
-               source:  source,
-               decoder: decoder,
-       }
-}
-
-// NextPacket returns the next decoded packet from the PacketSource.  On error,
-// it returns a nil packet and a non-nil error.
-func (p *PacketSource) NextPacket() (Packet, error) {
-       data, ci, err := p.source.ReadPacketData()
-       if err != nil {
-               return nil, err
-       }
-       packet := NewPacket(data, p.decoder, p.DecodeOptions)
-       m := packet.Metadata()
-       m.CaptureInfo = ci
-       m.Truncated = m.Truncated || ci.CaptureLength < ci.Length
-       return packet, nil
-}
-
-// packetsToChannel reads in all packets from the packet source and sends them
-// to the given channel.  When it receives an error, it ignores it.  When it
-// receives an io.EOF, it closes the channel.
-func (p *PacketSource) packetsToChannel() {
-       defer close(p.c)
-       for {
-               packet, err := p.NextPacket()
-               if err == io.EOF {
-                       return
-               } else if err == nil {
-                       p.c <- packet
-               }
-       }
-}
-
-// Packets returns a channel of packets, allowing easy iterating over
-// packets.  Packets will be asynchronously read in from the underlying
-// PacketDataSource and written to the returned channel.  If the underlying
-// PacketDataSource returns an io.EOF error, the channel will be closed.
-// If any other error is encountered, it is ignored.
-//
-//  for packet := range packetSource.Packets() {
-//    handlePacket(packet)  // Do something with each packet.
-//  }
-//
-// If called more than once, returns the same channel.
-func (p *PacketSource) Packets() chan Packet {
-       if p.c == nil {
-               p.c = make(chan Packet, 1000)
-               go p.packetsToChannel()
-       }
-       return p.c
-}
diff --git a/vendor/github.com/google/gopacket/parser.go b/vendor/github.com/google/gopacket/parser.go
deleted file mode 100644 (file)
index f786834..0000000
+++ /dev/null
@@ -1,198 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package gopacket
-
-import (
-       "fmt"
-)
-
-// DecodingLayer is an interface for packet layers that can decode themselves.
-//
-// The important part of DecodingLayer is that they decode themselves in-place.
-// Calling DecodeFromBytes on a DecodingLayer totally resets the entire layer to
-// the new state defined by the data passed in.  A returned error leaves the
-// DecodingLayer in an unknown intermediate state, thus its fields should not be
-// trusted.
-//
-// Because the DecodingLayer is resetting its own fields, a call to
-// DecodeFromBytes should normally not require any memory allocation.
-type DecodingLayer interface {
-       // DecodeFromBytes resets the internal state of this layer to the state
-       // defined by the passed-in bytes.  Slices in the DecodingLayer may
-       // reference the passed-in data, so care should be taken to copy it
-       // first should later modification of data be required before the
-       // DecodingLayer is discarded.
-       DecodeFromBytes(data []byte, df DecodeFeedback) error
-       // CanDecode returns the set of LayerTypes this DecodingLayer can
-       // decode.  For Layers that are also DecodingLayers, this will most
-       // often be that Layer's LayerType().
-       CanDecode() LayerClass
-       // NextLayerType returns the LayerType which should be used to decode
-       // the LayerPayload.
-       NextLayerType() LayerType
-       // LayerPayload is the set of bytes remaining to decode after a call to
-       // DecodeFromBytes.
-       LayerPayload() []byte
-}
-
-// DecodingLayerParser parses a given set of layer types.  See DecodeLayers for
-// more information on how DecodingLayerParser should be used.
-type DecodingLayerParser struct {
-       // DecodingLayerParserOptions is the set of options available to the
-       // user to define the parser's behavior.
-       DecodingLayerParserOptions
-       first    LayerType
-       decoders map[LayerType]DecodingLayer
-       df       DecodeFeedback
-       // Truncated is set when a decode layer detects that the packet has been
-       // truncated.
-       Truncated bool
-}
-
-// AddDecodingLayer adds a decoding layer to the parser.  This adds support for
-// the decoding layer's CanDecode layers to the parser... should they be
-// encountered, they'll be parsed.
-func (l *DecodingLayerParser) AddDecodingLayer(d DecodingLayer) {
-       for _, typ := range d.CanDecode().LayerTypes() {
-               l.decoders[typ] = d
-       }
-}
-
-// SetTruncated is used by DecodingLayers to set the Truncated boolean in the
-// DecodingLayerParser.  Users should simply read Truncated after calling
-// DecodeLayers.
-func (l *DecodingLayerParser) SetTruncated() {
-       l.Truncated = true
-}
-
-// NewDecodingLayerParser creates a new DecodingLayerParser and adds in all
-// of the given DecodingLayers with AddDecodingLayer.
-//
-// Each call to DecodeLayers will attempt to decode the given bytes first by
-// treating them as a 'first'-type layer, then by using NextLayerType on
-// subsequently decoded layers to find the next relevant decoder.  Should a
-// deoder not be available for the layer type returned by NextLayerType,
-// decoding will stop.
-func NewDecodingLayerParser(first LayerType, decoders ...DecodingLayer) *DecodingLayerParser {
-       dlp := &DecodingLayerParser{
-               decoders: make(map[LayerType]DecodingLayer),
-               first:    first,
-       }
-       dlp.df = dlp // Cast this once to the interface
-       for _, d := range decoders {
-               dlp.AddDecodingLayer(d)
-       }
-       return dlp
-}
-
-// DecodeLayers decodes as many layers as possible from the given data.  It
-// initially treats the data as layer type 'typ', then uses NextLayerType on
-// each subsequent decoded layer until it gets to a layer type it doesn't know
-// how to parse.
-//
-// For each layer successfully decoded, DecodeLayers appends the layer type to
-// the decoded slice.  DecodeLayers truncates the 'decoded' slice initially, so
-// there's no need to empty it yourself.
-//
-// This decoding method is about an order of magnitude faster than packet
-// decoding, because it only decodes known layers that have already been
-// allocated.  This means it doesn't need to allocate each layer it returns...
-// instead it overwrites the layers that already exist.
-//
-// Example usage:
-//    func main() {
-//      var eth layers.Ethernet
-//      var ip4 layers.IPv4
-//      var ip6 layers.IPv6
-//      var tcp layers.TCP
-//      var udp layers.UDP
-//      var payload gopacket.Payload
-//      parser := gopacket.NewDecodingLayerParser(layers.LayerTypeEthernet, &eth, &ip4, &ip6, &tcp, &udp, &payload)
-//      var source gopacket.PacketDataSource = getMyDataSource()
-//      decodedLayers := make([]gopacket.LayerType, 0, 10)
-//      for {
-//        data, _, err := source.ReadPacketData()
-//        if err == nil {
-//          fmt.Println("Error reading packet data: ", err)
-//          continue
-//        }
-//        fmt.Println("Decoding packet")
-//        err = parser.DecodeLayers(data, &decodedLayers)
-//        for _, typ := range decodedLayers {
-//          fmt.Println("  Successfully decoded layer type", typ)
-//          switch typ {
-//            case layers.LayerTypeEthernet:
-//              fmt.Println("    Eth ", eth.SrcMAC, eth.DstMAC)
-//            case layers.LayerTypeIPv4:
-//              fmt.Println("    IP4 ", ip4.SrcIP, ip4.DstIP)
-//            case layers.LayerTypeIPv6:
-//              fmt.Println("    IP6 ", ip6.SrcIP, ip6.DstIP)
-//            case layers.LayerTypeTCP:
-//              fmt.Println("    TCP ", tcp.SrcPort, tcp.DstPort)
-//            case layers.LayerTypeUDP:
-//              fmt.Println("    UDP ", udp.SrcPort, udp.DstPort)
-//          }
-//        }
-//        if decodedLayers.Truncated {
-//          fmt.Println("  Packet has been truncated")
-//        }
-//        if err != nil {
-//          fmt.Println("  Error encountered:", err)
-//        }
-//      }
-//    }
-//
-// If DecodeLayers is unable to decode the next layer type, it will return the
-// error UnsupportedLayerType.
-func (l *DecodingLayerParser) DecodeLayers(data []byte, decoded *[]LayerType) (err error) {
-       l.Truncated = false
-       if !l.IgnorePanic {
-               defer panicToError(&err)
-       }
-       typ := l.first
-       *decoded = (*decoded)[:0] // Truncated decoded layers.
-       for len(data) > 0 {
-               decoder, ok := l.decoders[typ]
-               if !ok {
-                       return UnsupportedLayerType(typ)
-               } else if err = decoder.DecodeFromBytes(data, l.df); err != nil {
-                       return err
-               }
-               *decoded = append(*decoded, typ)
-               typ = decoder.NextLayerType()
-               data = decoder.LayerPayload()
-       }
-       return nil
-}
-
-// UnsupportedLayerType is returned by DecodingLayerParser if DecodeLayers
-// encounters a layer type that the DecodingLayerParser has no decoder for.
-type UnsupportedLayerType LayerType
-
-// Error implements the error interface, returning a string to say that the
-// given layer type is unsupported.
-func (e UnsupportedLayerType) Error() string {
-       return fmt.Sprintf("No decoder for layer type %v", LayerType(e))
-}
-
-func panicToError(e *error) {
-       if r := recover(); r != nil {
-               *e = fmt.Errorf("panic: %v", r)
-       }
-}
-
-// DecodingLayerParserOptions provides options to affect the behavior of a given
-// DecodingLayerParser.
-type DecodingLayerParserOptions struct {
-       // IgnorePanic determines whether a DecodingLayerParser should stop
-       // panics on its own (by returning them as an error from DecodeLayers)
-       // or should allow them to raise up the stack.  Handling errors does add
-       // latency to the process of decoding layers, but is much safer for
-       // callers.  IgnorePanic defaults to false, thus if the caller does
-       // nothing decode panics will be returned as errors.
-       IgnorePanic bool
-}
diff --git a/vendor/github.com/google/gopacket/writer.go b/vendor/github.com/google/gopacket/writer.go
deleted file mode 100644 (file)
index 9e85a92..0000000
+++ /dev/null
@@ -1,213 +0,0 @@
-// Copyright 2012 Google, Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style license
-// that can be found in the LICENSE file in the root of the source
-// tree.
-
-package gopacket
-
-import (
-       "fmt"
-)
-
-// SerializableLayer allows its implementations to be written out as a set of bytes,
-// so those bytes may be sent on the wire or otherwise used by the caller.
-// SerializableLayer is implemented by certain Layer types, and can be encoded to
-// bytes using the LayerWriter object.
-type SerializableLayer interface {
-       // SerializeTo writes this layer to a slice, growing that slice if necessary
-       // to make it fit the layer's data.
-       //  Args:
-       //   b:  SerializeBuffer to write this layer on to.  When called, b.Bytes()
-       //     is the payload this layer should wrap, if any.  Note that this
-       //     layer can either prepend itself (common), append itself
-       //     (uncommon), or both (sometimes padding or footers are required at
-       //     the end of packet data). It's also possible (though probably very
-       //     rarely needed) to overwrite any bytes in the current payload.
-       //     After this call, b.Bytes() should return the byte encoding of
-       //     this layer wrapping the original b.Bytes() payload.
-       //   opts:  options to use while writing out data.
-       //  Returns:
-       //   error if a problem was encountered during encoding.  If an error is
-       //   returned, the bytes in data should be considered invalidated, and
-       //   not used.
-       //
-       // SerializeTo calls SHOULD entirely ignore LayerContents and
-       // LayerPayload.  It just serializes based on struct fields, neither
-       // modifying nor using contents/payload.
-       SerializeTo(b SerializeBuffer, opts SerializeOptions) error
-}
-
-// SerializeOptions provides options for behaviors that SerializableLayers may want to
-// implement.
-type SerializeOptions struct {
-       // FixLengths determines whether, during serialization, layers should fix
-       // the values for any length field that depends on the payload.
-       FixLengths bool
-       // ComputeChecksums determines whether, during serialization, layers
-       // should recompute checksums based on their payloads.
-       ComputeChecksums bool
-}
-
-// SerializeBuffer is a helper used by gopacket for writing out packet layers.
-// SerializeBuffer starts off as an empty []byte.  Subsequent calls to PrependBytes
-// return byte slices before the current Bytes(), AppendBytes returns byte
-// slices after.
-//
-// Byte slices returned by PrependBytes/AppendBytes are NOT zero'd out, so if
-// you want to make sure they're all zeros, set them as such.
-//
-// SerializeBuffer is specifically designed to handle packet writing, where unlike
-// with normal writes it's easier to start writing at the inner-most layer and
-// work out, meaning that we often need to prepend bytes.  This runs counter to
-// typical writes to byte slices using append(), where we only write at the end
-// of the buffer.
-//
-// It can be reused via Clear.  Note, however, that a Clear call will invalidate the
-// byte slices returned by any previous Bytes() call (the same buffer is
-// reused).
-//
-//  1) Reusing a write buffer is generally much faster than creating a new one,
-//     and with the default implementation it avoids additional memory allocations.
-//  2) If a byte slice from a previous Bytes() call will continue to be used,
-//     it's better to create a new SerializeBuffer.
-//
-// The Clear method is specifically designed to minimize memory allocations for
-// similar later workloads on the SerializeBuffer.  IE: if you make a set of
-// Prepend/Append calls, then clear, then make the same calls with the same
-// sizes, the second round (and all future similar rounds) shouldn't allocate
-// any new memory.
-type SerializeBuffer interface {
-       // Bytes returns the contiguous set of bytes collected so far by Prepend/Append
-       // calls.  The slice returned by Bytes will be modified by future Clear calls,
-       // so if you're planning on clearing this SerializeBuffer, you may want to copy
-       // Bytes somewhere safe first.
-       Bytes() []byte
-       // PrependBytes returns a set of bytes which prepends the current bytes in this
-       // buffer.  These bytes start in an indeterminate state, so they should be
-       // overwritten by the caller.  The caller must only call PrependBytes if they
-       // know they're going to immediately overwrite all bytes returned.
-       PrependBytes(num int) ([]byte, error)
-       // AppendBytes returns a set of bytes which appends the current bytes in this
-       // buffer.  These bytes start in an indeterminate state, so they should be
-       // overwritten by the caller.  The caller must only call AppendBytes if they
-       // know they're going to immediately overwrite all bytes returned.
-       AppendBytes(num int) ([]byte, error)
-       // Clear resets the SerializeBuffer to a new, empty buffer.  After a call to clear,
-       // the byte slice returned by any previous call to Bytes() for this buffer
-       // should be considered invalidated.
-       Clear() error
-}
-
-type serializeBuffer struct {
-       data                []byte
-       start               int
-       prepended, appended int
-}
-
-// NewSerializeBuffer creates a new instance of the default implementation of
-// the SerializeBuffer interface.
-func NewSerializeBuffer() SerializeBuffer {
-       return &serializeBuffer{}
-}
-
-// NewSerializeBufferExpectedSize creates a new buffer for serialization, optimized for an
-// expected number of bytes prepended/appended.  This tends to decrease the
-// number of memory allocations made by the buffer during writes.
-func NewSerializeBufferExpectedSize(expectedPrependLength, expectedAppendLength int) SerializeBuffer {
-       return &serializeBuffer{
-               data:      make([]byte, expectedPrependLength, expectedPrependLength+expectedAppendLength),
-               start:     expectedPrependLength,
-               prepended: expectedPrependLength,
-               appended:  expectedAppendLength,
-       }
-}
-
-func (w *serializeBuffer) Bytes() []byte {
-       return w.data[w.start:]
-}
-
-func (w *serializeBuffer) PrependBytes(num int) ([]byte, error) {
-       if num < 0 {
-               panic("num < 0")
-       }
-       if w.start < num {
-               toPrepend := w.prepended
-               if toPrepend < num {
-                       toPrepend = num
-               }
-               w.prepended += toPrepend
-               length := cap(w.data) + toPrepend
-               newData := make([]byte, length)
-               newStart := w.start + toPrepend
-               copy(newData[newStart:], w.data[w.start:])
-               w.start = newStart
-               w.data = newData[:toPrepend+len(w.data)]
-       }
-       w.start -= num
-       return w.data[w.start : w.start+num], nil
-}
-
-func (w *serializeBuffer) AppendBytes(num int) ([]byte, error) {
-       if num < 0 {
-               panic("num < 0")
-       }
-       initialLength := len(w.data)
-       if cap(w.data)-initialLength < num {
-               toAppend := w.appended
-               if toAppend < num {
-                       toAppend = num
-               }
-               w.appended += toAppend
-               newData := make([]byte, cap(w.data)+toAppend)
-               copy(newData[w.start:], w.data[w.start:])
-               w.data = newData[:initialLength]
-       }
-       // Grow the buffer.  We know it'll be under capacity given above.
-       w.data = w.data[:initialLength+num]
-       return w.data[initialLength:], nil
-}
-
-func (w *serializeBuffer) Clear() error {
-       w.start = w.prepended
-       w.data = w.data[:w.start]
-       return nil
-}
-
-// SerializeLayers clears the given write buffer, then writes all layers into it so
-// they correctly wrap each other.  Note that by clearing the buffer, it
-// invalidates all slices previously returned by w.Bytes()
-//
-// Example:
-//   buf := gopacket.NewSerializeBuffer()
-//   opts := gopacket.SerializeOptions{}
-//   gopacket.SerializeLayers(buf, opts, a, b, c)
-//   firstPayload := buf.Bytes()  // contains byte representation of a(b(c))
-//   gopacket.SerializeLayers(buf, opts, d, e, f)
-//   secondPayload := buf.Bytes()  // contains byte representation of d(e(f)). firstPayload is now invalidated, since the SerializeLayers call Clears buf.
-func SerializeLayers(w SerializeBuffer, opts SerializeOptions, layers ...SerializableLayer) error {
-       w.Clear()
-       for i := len(layers) - 1; i >= 0; i-- {
-               layer := layers[i]
-               err := layer.SerializeTo(w, opts)
-               if err != nil {
-                       return err
-               }
-       }
-       return nil
-}
-
-// SerializePacket is a convenience function that calls SerializeLayers
-// on packet's Layers().
-// It returns an error if one of the packet layers is not a SerializebleLayer.
-func SerializePacket(buf SerializeBuffer, opts SerializeOptions, packet Packet) error {
-       sls := []SerializableLayer{}
-       for _, layer := range packet.Layers() {
-               sl, ok := layer.(SerializableLayer)
-               if !ok {
-                       return fmt.Errorf("layer %s is not serializable", layer.LayerType().String())
-               }
-               sls = append(sls, sl)
-       }
-       return SerializeLayers(buf, opts, sls...)
-}
diff --git a/vendor/github.com/lunixbochs/struc/.travis.yml b/vendor/github.com/lunixbochs/struc/.travis.yml
deleted file mode 100644 (file)
index 8316e89..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-language: go
-sudo: false
-
-script: go test -v
-
-go:
-  - 1.2
-  - 1.3
-  - 1.4
-  - tip
diff --git a/vendor/github.com/lunixbochs/struc/LICENSE b/vendor/github.com/lunixbochs/struc/LICENSE
deleted file mode 100644 (file)
index 42e8263..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2015 Ryan Hileman
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/vendor/github.com/lunixbochs/struc/README.md b/vendor/github.com/lunixbochs/struc/README.md
deleted file mode 100644 (file)
index c813497..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-[![Build Status](https://travis-ci.org/lunixbochs/struc.svg?branch=master)](https://travis-ci.org/lunixbochs/struc)
-
-struc
-====
-
-Struc exists to pack and unpack C-style structures from bytes, which is useful for binary files and network protocols. It could be considered an alternative to `encoding/binary`, which requires massive boilerplate for some similar operations.
-
-Take a look at an [example comparing `struc` and `encoding/binary`](https://bochs.info/p/cxvm9)
-
-Struc considers usability first. That said, it does cache reflection data and aims to be competitive with `encoding/binary` struct packing in every way, including performance.
-
-Example struct
-----
-
-```Go
-type Example struct {
-    Var   int `struc:"int32,sizeof=Str"`
-    Str   string
-    Weird []byte `struc:"[8]int64"`
-    Var   []int `struc:"[]int32,little"`
-}
-```
-
-Struct tag format
-----
-
- - ```Var []int `struc:"[]int32,little,sizeof=StringField"` ``` will pack Var as a slice of little-endian int32, and link it as the size of `StringField`.
- - `sizeof=`: Indicates this field is a number used to track the length of a another field. `sizeof` fields are automatically updated on `Pack()` based on the current length of the tracked field, and are used to size the target field during `Unpack()`.
- - Bare values will be parsed as type and endianness.
-
-Endian formats
-----
-
- - `big` (default)
- - `little`
-
-Recognized types
-----
-
- - `pad` - this type ignores field contents and is backed by a `[length]byte` containing nulls
- - `bool`
- - `byte`
- - `int8`, `uint8`
- - `int16`, `uint16`
- - `int32`, `uint32`
- - `int64`, `uint64`
- - `float32`
- - `float64`
-
-Types can be indicated as arrays/slices using `[]` syntax. Example: `[]int64`, `[8]int32`.
-
-Bare slice types (those with no `[size]`) must have a linked `Sizeof` field.
-
-Private fields are ignored when packing and unpacking.
-
-Example code
-----
-
-```Go
-package main
-
-import (
-    "bytes"
-    "github.com/lunixbochs/struc"
-)
-
-type Example struct {
-    A int `struc:"big"`
-
-    // B will be encoded/decoded as a 16-bit int (a "short")
-    // but is stored as a native int in the struct
-    B int `struc:"int16"`
-
-    // the sizeof key links a buffer's size to any int field
-    Size int `struc:"int8,little,sizeof=Str"`
-    Str  string
-
-    // you can get freaky if you want
-    Str2 string `struc:"[5]int64"`
-}
-
-func main() {
-    var buf bytes.Buffer
-    t := &Example{1, 2, 0, "test", "test2"}
-    err := struc.Pack(&buf, t)
-    o := &Example{}
-    err = struc.Unpack(&buf, o)
-}
-```
-
-Benchmark
-----
-
-`BenchmarkEncode` uses struc. `Stdlib` benchmarks use equivalent `encoding/binary` code. `Manual` encodes without any reflection, and should be considered an upper bound on performance (which generated code based on struc definitions should be able to achieve).
-
-```
-BenchmarkEncode        1000000   1265 ns/op
-BenchmarkStdlibEncode  1000000   1855 ns/op
-BenchmarkManualEncode  5000000    284 ns/op
-BenchmarkDecode        1000000   1259 ns/op
-BenchmarkStdlibDecode  1000000   1656 ns/op
-BenchmarkManualDecode  20000000  89.0 ns/op
-```
diff --git a/vendor/github.com/lunixbochs/struc/binary.go b/vendor/github.com/lunixbochs/struc/binary.go
deleted file mode 100644 (file)
index 4899d08..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-package struc
-
-import (
-       "encoding/binary"
-       "io"
-       "reflect"
-)
-
-type byteWriter struct {
-       buf []byte
-       pos int
-}
-
-func (b byteWriter) Write(p []byte) (int, error) {
-       capacity := len(b.buf) - b.pos
-       if capacity < len(p) {
-               p = p[:capacity]
-       }
-       if len(p) > 0 {
-               copy(b.buf[b.pos:], p)
-               b.pos += len(p)
-       }
-       return len(p), nil
-}
-
-type binaryFallback reflect.Value
-
-func (b binaryFallback) String() string {
-       return b.String()
-}
-
-func (b binaryFallback) Sizeof(val reflect.Value, options *Options) int {
-       return binary.Size(val.Interface())
-}
-
-func (b binaryFallback) Pack(buf []byte, val reflect.Value, options *Options) (int, error) {
-       tmp := byteWriter{buf: buf}
-       var order binary.ByteOrder = binary.BigEndian
-       if options.Order != nil {
-               order = options.Order
-       }
-       err := binary.Write(tmp, order, val.Interface())
-       return tmp.pos, err
-}
-
-func (b binaryFallback) Unpack(r io.Reader, val reflect.Value, options *Options) error {
-       var order binary.ByteOrder = binary.BigEndian
-       if options.Order != nil {
-               order = options.Order
-       }
-       return binary.Read(r, order, val.Interface())
-}
diff --git a/vendor/github.com/lunixbochs/struc/custom.go b/vendor/github.com/lunixbochs/struc/custom.go
deleted file mode 100644 (file)
index c468dce..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-package struc
-
-import (
-       "io"
-       "reflect"
-)
-
-type Custom interface {
-       Pack(p []byte, opt *Options) (int, error)
-       Unpack(r io.Reader, length int, opt *Options) error
-       Size(opt *Options) int
-       String() string
-}
-
-type customFallback struct {
-       custom Custom
-}
-
-func (c customFallback) Pack(p []byte, val reflect.Value, opt *Options) (int, error) {
-       return c.custom.Pack(p, opt)
-}
-
-func (c customFallback) Unpack(r io.Reader, val reflect.Value, opt *Options) error {
-       return c.custom.Unpack(r, 1, opt)
-}
-
-func (c customFallback) Sizeof(val reflect.Value, opt *Options) int {
-       return c.custom.Size(opt)
-}
-
-func (c customFallback) String() string {
-       return c.custom.String()
-}
diff --git a/vendor/github.com/lunixbochs/struc/custom_float16.go b/vendor/github.com/lunixbochs/struc/custom_float16.go
deleted file mode 100644 (file)
index 722be76..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-package struc
-
-import (
-       "encoding/binary"
-       "io"
-       "math"
-       "strconv"
-)
-
-type Float16 float64
-
-func (f *Float16) Pack(p []byte, opt *Options) (int, error) {
-       order := opt.Order
-       if order == nil {
-               order = binary.BigEndian
-       }
-       sign := uint16(0)
-       if *f < 0 {
-               sign = 1
-       }
-       var frac, exp uint16
-       if math.IsInf(float64(*f), 0) {
-               exp = 0x1f
-               frac = 0
-       } else if math.IsNaN(float64(*f)) {
-               exp = 0x1f
-               frac = 1
-       } else {
-               bits := math.Float64bits(float64(*f))
-               exp64 := (bits >> 52) & 0x7ff
-               if exp64 != 0 {
-                       exp = uint16((exp64 - 1023 + 15) & 0x1f)
-               }
-               frac = uint16((bits >> 42) & 0x3ff)
-       }
-       var out uint16
-       out |= sign << 15
-       out |= exp << 10
-       out |= frac & 0x3ff
-       order.PutUint16(p, out)
-       return 2, nil
-}
-func (f *Float16) Unpack(r io.Reader, length int, opt *Options) error {
-       order := opt.Order
-       if order == nil {
-               order = binary.BigEndian
-       }
-       var tmp [2]byte
-       if _, err := r.Read(tmp[:]); err != nil {
-               return err
-       }
-       val := order.Uint16(tmp[:2])
-       sign := (val >> 15) & 1
-       exp := int16((val >> 10) & 0x1f)
-       frac := val & 0x3ff
-       if exp == 0x1f {
-               if frac != 0 {
-                       *f = Float16(math.NaN())
-               } else {
-                       *f = Float16(math.Inf(int(sign)*-2 + 1))
-               }
-       } else {
-               var bits uint64
-               bits |= uint64(sign) << 63
-               bits |= uint64(frac) << 42
-               if exp > 0 {
-                       bits |= uint64(exp-15+1023) << 52
-               }
-               *f = Float16(math.Float64frombits(bits))
-       }
-       return nil
-}
-func (f *Float16) Size(opt *Options) int {
-       return 2
-}
-func (f *Float16) String() string {
-       return strconv.FormatFloat(float64(*f), 'g', -1, 32)
-}
diff --git a/vendor/github.com/lunixbochs/struc/field.go b/vendor/github.com/lunixbochs/struc/field.go
deleted file mode 100644 (file)
index 6e59c2a..0000000
+++ /dev/null
@@ -1,288 +0,0 @@
-package struc
-
-import (
-       "bytes"
-       "encoding/binary"
-       "fmt"
-       "math"
-       "reflect"
-)
-
-type Field struct {
-       Name     string
-       Ptr      bool
-       Index    int
-       Type     Type
-       defType  Type
-       Array    bool
-       Slice    bool
-       Len      int
-       Order    binary.ByteOrder
-       Sizeof   []int
-       Sizefrom []int
-       Fields   Fields
-       kind     reflect.Kind
-}
-
-func (f *Field) String() string {
-       var out string
-       if f.Type == Pad {
-               return fmt.Sprintf("{type: Pad, len: %d}", f.Len)
-       } else {
-               out = fmt.Sprintf("type: %s, order: %v", f.Type.String(), f.Order)
-       }
-       if f.Sizefrom != nil {
-               out += fmt.Sprintf(", sizefrom: %v", f.Sizefrom)
-       } else if f.Len > 0 {
-               out += fmt.Sprintf(", len: %d", f.Len)
-       }
-       if f.Sizeof != nil {
-               out += fmt.Sprintf(", sizeof: %v", f.Sizeof)
-       }
-       return "{" + out + "}"
-}
-
-func (f *Field) Size(val reflect.Value, options *Options) int {
-       typ := f.Type.Resolve(options)
-       size := 0
-       if typ == Struct {
-               vals := []reflect.Value{val}
-               if f.Slice {
-                       vals = make([]reflect.Value, val.Len())
-                       for i := 0; i < val.Len(); i++ {
-                               vals[i] = val.Index(i)
-                       }
-               }
-               for _, val := range vals {
-                       size += f.Fields.Sizeof(val, options)
-               }
-       } else if typ == Pad {
-               size = f.Len
-       } else if f.Slice || f.kind == reflect.String {
-               length := val.Len()
-               if f.Len > 1 {
-                       length = f.Len
-               }
-               size = length * typ.Size()
-       } else if typ == CustomType {
-               return val.Addr().Interface().(Custom).Size(options)
-       } else {
-               size = typ.Size()
-       }
-       align := options.ByteAlign
-       if align > 0 && size < align {
-               size = align
-       }
-       return size
-}
-
-func (f *Field) packVal(buf []byte, val reflect.Value, length int, options *Options) (size int, err error) {
-       order := f.Order
-       if options.Order != nil {
-               order = options.Order
-       }
-       if f.Ptr {
-               val = val.Elem()
-       }
-       typ := f.Type.Resolve(options)
-       switch typ {
-       case Struct:
-               return f.Fields.Pack(buf, val, options)
-       case Bool, Int8, Int16, Int32, Int64, Uint8, Uint16, Uint32, Uint64:
-               size = typ.Size()
-               var n uint64
-               switch f.kind {
-               case reflect.Bool:
-                       if val.Bool() {
-                               n = 1
-                       } else {
-                               n = 0
-                       }
-               case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
-                       n = uint64(val.Int())
-               default:
-                       n = val.Uint()
-               }
-               switch typ {
-               case Bool:
-                       if n != 0 {
-                               buf[0] = 1
-                       } else {
-                               buf[0] = 0
-                       }
-               case Int8, Uint8:
-                       buf[0] = byte(n)
-               case Int16, Uint16:
-                       order.PutUint16(buf, uint16(n))
-               case Int32, Uint32:
-                       order.PutUint32(buf, uint32(n))
-               case Int64, Uint64:
-                       order.PutUint64(buf, uint64(n))
-               }
-       case Float32, Float64:
-               size = typ.Size()
-               n := val.Float()
-               switch typ {
-               case Float32:
-                       order.PutUint32(buf, math.Float32bits(float32(n)))
-               case Float64:
-                       order.PutUint64(buf, math.Float64bits(n))
-               }
-       case String:
-               switch f.kind {
-               case reflect.String:
-                       size = val.Len()
-                       copy(buf, []byte(val.String()))
-               default:
-                       // TODO: handle kind != bytes here
-                       size = val.Len()
-                       copy(buf, val.Bytes())
-               }
-       case CustomType:
-               return val.Addr().Interface().(Custom).Pack(buf, options)
-       default:
-               panic(fmt.Sprintf("no pack handler for type: %s", typ))
-       }
-       return
-}
-
-func (f *Field) Pack(buf []byte, val reflect.Value, length int, options *Options) (int, error) {
-       typ := f.Type.Resolve(options)
-       if typ == Pad {
-               for i := 0; i < length; i++ {
-                       buf[i] = 0
-               }
-               return length, nil
-       }
-       if f.Slice {
-               // special case strings and byte slices for performance
-               end := val.Len()
-               if !f.Array && typ == Uint8 && (f.defType == Uint8 || f.kind == reflect.String) {
-                       var tmp []byte
-                       if f.kind == reflect.String {
-                               tmp = []byte(val.String())
-                       } else {
-                               tmp = val.Bytes()
-                       }
-                       copy(buf, tmp)
-                       if end < length {
-                               // TODO: allow configuring pad byte?
-                               rep := bytes.Repeat([]byte{0}, length-end)
-                               copy(buf[end:], rep)
-                               return length, nil
-                       }
-                       return val.Len(), nil
-               }
-               pos := 0
-               var zero reflect.Value
-               if end < length {
-                       zero = reflect.Zero(val.Type().Elem())
-               }
-               for i := 0; i < length; i++ {
-                       cur := zero
-                       if i < end {
-                               cur = val.Index(i)
-                       }
-                       if n, err := f.packVal(buf[pos:], cur, 1, options); err != nil {
-                               return pos, err
-                       } else {
-                               pos += n
-                       }
-               }
-               return pos, nil
-       } else {
-               return f.packVal(buf, val, length, options)
-       }
-}
-
-func (f *Field) unpackVal(buf []byte, val reflect.Value, length int, options *Options) error {
-       order := f.Order
-       if options.Order != nil {
-               order = options.Order
-       }
-       if f.Ptr {
-               val = val.Elem()
-       }
-       typ := f.Type.Resolve(options)
-       switch typ {
-       case Float32, Float64:
-               var n float64
-               switch typ {
-               case Float32:
-                       n = float64(math.Float32frombits(order.Uint32(buf)))
-               case Float64:
-                       n = math.Float64frombits(order.Uint64(buf))
-               }
-               switch f.kind {
-               case reflect.Float32, reflect.Float64:
-                       val.SetFloat(n)
-               default:
-                       return fmt.Errorf("struc: refusing to unpack float into field %s of type %s", f.Name, f.kind.String())
-               }
-       case Bool, Int8, Int16, Int32, Int64, Uint8, Uint16, Uint32, Uint64:
-               var n uint64
-               switch typ {
-               case Int8:
-                       n = uint64(int64(int8(buf[0])))
-               case Int16:
-                       n = uint64(int64(int16(order.Uint16(buf))))
-               case Int32:
-                       n = uint64(int64(int32(order.Uint32(buf))))
-               case Int64:
-                       n = uint64(int64(order.Uint64(buf)))
-               case Bool, Uint8:
-                       n = uint64(buf[0])
-               case Uint16:
-                       n = uint64(order.Uint16(buf))
-               case Uint32:
-                       n = uint64(order.Uint32(buf))
-               case Uint64:
-                       n = uint64(order.Uint64(buf))
-               }
-               switch f.kind {
-               case reflect.Bool:
-                       val.SetBool(n != 0)
-               case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
-                       val.SetInt(int64(n))
-               default:
-                       val.SetUint(n)
-               }
-       default:
-               panic(fmt.Sprintf("no unpack handler for type: %s", typ))
-       }
-       return nil
-}
-
-func (f *Field) Unpack(buf []byte, val reflect.Value, length int, options *Options) error {
-       typ := f.Type.Resolve(options)
-       if typ == Pad || f.kind == reflect.String {
-               if typ == Pad {
-                       return nil
-               } else {
-                       val.SetString(string(buf))
-                       return nil
-               }
-       } else if f.Slice {
-               if val.Cap() < length {
-                       val.Set(reflect.MakeSlice(val.Type(), length, length))
-               } else if val.Len() < length {
-                       val.Set(val.Slice(0, length))
-               }
-               // special case byte slices for performance
-               if !f.Array && typ == Uint8 && f.defType == Uint8 {
-                       copy(val.Bytes(), buf[:length])
-                       return nil
-               }
-               pos := 0
-               size := typ.Size()
-               for i := 0; i < length; i++ {
-                       if err := f.unpackVal(buf[pos:pos+size], val.Index(i), 1, options); err != nil {
-                               return err
-                       }
-                       pos += size
-               }
-               return nil
-       } else {
-               return f.unpackVal(buf, val, length, options)
-       }
-}
diff --git a/vendor/github.com/lunixbochs/struc/fields.go b/vendor/github.com/lunixbochs/struc/fields.go
deleted file mode 100644 (file)
index 5d591bf..0000000
+++ /dev/null
@@ -1,172 +0,0 @@
-package struc
-
-import (
-       "encoding/binary"
-       "fmt"
-       "io"
-       "reflect"
-       "strings"
-)
-
-type Fields []*Field
-
-func (f Fields) SetByteOrder(order binary.ByteOrder) {
-       for _, field := range f {
-               if field != nil {
-                       field.Order = order
-               }
-       }
-}
-
-func (f Fields) String() string {
-       fields := make([]string, len(f))
-       for i, field := range f {
-               if field != nil {
-                       fields[i] = field.String()
-               }
-       }
-       return "{" + strings.Join(fields, ", ") + "}"
-}
-
-func (f Fields) Sizeof(val reflect.Value, options *Options) int {
-       for val.Kind() == reflect.Ptr {
-               val = val.Elem()
-       }
-       size := 0
-       for i, field := range f {
-               if field != nil {
-                       size += field.Size(val.Field(i), options)
-               }
-       }
-       return size
-}
-
-func (f Fields) sizefrom(val reflect.Value, index []int) int {
-       field := val.FieldByIndex(index)
-       switch field.Kind() {
-       case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
-               return int(field.Int())
-       case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64:
-               n := int(field.Uint())
-               // all the builtin array length types are native int
-               // so this guards against weird truncation
-               if n < 0 {
-                       return 0
-               }
-               return n
-       default:
-               name := val.Type().FieldByIndex(index).Name
-               panic(fmt.Sprintf("sizeof field %T.%s not an integer type", val.Interface(), name))
-       }
-}
-
-func (f Fields) Pack(buf []byte, val reflect.Value, options *Options) (int, error) {
-       for val.Kind() == reflect.Ptr {
-               val = val.Elem()
-       }
-       pos := 0
-       for i, field := range f {
-               if field == nil {
-                       continue
-               }
-               v := val.Field(i)
-               length := field.Len
-               if field.Sizefrom != nil {
-                       length = f.sizefrom(val, field.Sizefrom)
-               }
-               if length <= 0 && field.Slice {
-                       length = v.Len()
-               }
-               if field.Sizeof != nil {
-                       length := val.FieldByIndex(field.Sizeof).Len()
-                       switch field.kind {
-                       case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
-                               // allocating a new int here has fewer side effects (doesn't update the original struct)
-                               // but it's a wasteful allocation
-                               // the old method might work if we just cast the temporary int/uint to the target type
-                               v = reflect.New(v.Type()).Elem()
-                               v.SetInt(int64(length))
-                       case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64:
-                               v = reflect.New(v.Type()).Elem()
-                               v.SetUint(uint64(length))
-                       default:
-                               panic(fmt.Sprintf("sizeof field is not int or uint type: %s, %s", field.Name, v.Type()))
-                       }
-               }
-               if n, err := field.Pack(buf[pos:], v, length, options); err != nil {
-                       return n, err
-               } else {
-                       pos += n
-               }
-       }
-       return pos, nil
-}
-
-func (f Fields) Unpack(r io.Reader, val reflect.Value, options *Options) error {
-       for val.Kind() == reflect.Ptr {
-               val = val.Elem()
-       }
-       var tmp [8]byte
-       var buf []byte
-       for i, field := range f {
-               if field == nil {
-                       continue
-               }
-               v := val.Field(i)
-               length := field.Len
-               if field.Sizefrom != nil {
-                       length = f.sizefrom(val, field.Sizefrom)
-               }
-               if v.Kind() == reflect.Ptr && !v.Elem().IsValid() {
-                       v.Set(reflect.New(v.Type().Elem()))
-               }
-               if field.Type == Struct {
-                       if field.Slice {
-                               vals := reflect.MakeSlice(v.Type(), length, length)
-                               for i := 0; i < length; i++ {
-                                       v := vals.Index(i)
-                                       fields, err := parseFields(v)
-                                       if err != nil {
-                                               return err
-                                       }
-                                       if err := fields.Unpack(r, v, options); err != nil {
-                                               return err
-                                       }
-                               }
-                               v.Set(vals)
-                       } else {
-                               // TODO: DRY (we repeat the inner loop above)
-                               fields, err := parseFields(v)
-                               if err != nil {
-                                       return err
-                               }
-                               if err := fields.Unpack(r, v, options); err != nil {
-                                       return err
-                               }
-                       }
-                       continue
-               } else {
-                       typ := field.Type.Resolve(options)
-                       if typ == CustomType {
-                               if err := v.Addr().Interface().(Custom).Unpack(r, length, options); err != nil {
-                                       return err
-                               }
-                       } else {
-                               size := length * field.Type.Resolve(options).Size()
-                               if size < 8 {
-                                       buf = tmp[:size]
-                               } else {
-                                       buf = make([]byte, size)
-                               }
-                               if _, err := io.ReadFull(r, buf); err != nil {
-                                       return err
-                               }
-                               err := field.Unpack(buf[:size], v, length, options)
-                               if err != nil {
-                                       return err
-                               }
-                       }
-               }
-       }
-       return nil
-}
diff --git a/vendor/github.com/lunixbochs/struc/legacy.go b/vendor/github.com/lunixbochs/struc/legacy.go
deleted file mode 100644 (file)
index 5baf70d..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-package struc
-
-import (
-       "encoding/binary"
-       "io"
-)
-
-// Deprecated. Use PackWithOptions.
-func PackWithOrder(w io.Writer, data interface{}, order binary.ByteOrder) error {
-       return PackWithOptions(w, data, &Options{Order: order})
-}
-
-// Deprecated. Use UnpackWithOptions.
-func UnpackWithOrder(r io.Reader, data interface{}, order binary.ByteOrder) error {
-       return UnpackWithOptions(r, data, &Options{Order: order})
-}
diff --git a/vendor/github.com/lunixbochs/struc/packer.go b/vendor/github.com/lunixbochs/struc/packer.go
deleted file mode 100644 (file)
index a3a91a2..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-package struc
-
-import (
-       "io"
-       "reflect"
-)
-
-type Packer interface {
-       Pack(buf []byte, val reflect.Value, options *Options) (int, error)
-       Unpack(r io.Reader, val reflect.Value, options *Options) error
-       Sizeof(val reflect.Value, options *Options) int
-       String() string
-}
diff --git a/vendor/github.com/lunixbochs/struc/parse.go b/vendor/github.com/lunixbochs/struc/parse.go
deleted file mode 100644 (file)
index 43c5875..0000000
+++ /dev/null
@@ -1,230 +0,0 @@
-package struc
-
-import (
-       "encoding/binary"
-       "errors"
-       "fmt"
-       "reflect"
-       "regexp"
-       "strconv"
-       "strings"
-       "sync"
-)
-
-// struc:"int32,big,sizeof=Data,skip,sizefrom=Len"
-
-type strucTag struct {
-       Type     string
-       Order    binary.ByteOrder
-       Sizeof   string
-       Skip     bool
-       Sizefrom string
-}
-
-func parseStrucTag(tag reflect.StructTag) *strucTag {
-       t := &strucTag{
-               Order: binary.BigEndian,
-       }
-       tagStr := tag.Get("struc")
-       if tagStr == "" {
-               // someone's going to typo this (I already did once)
-               // sorry if you made a module actually using this tag
-               // and you're mad at me now
-               tagStr = tag.Get("struct")
-       }
-       for _, s := range strings.Split(tagStr, ",") {
-               if strings.HasPrefix(s, "sizeof=") {
-                       tmp := strings.SplitN(s, "=", 2)
-                       t.Sizeof = tmp[1]
-               } else if strings.HasPrefix(s, "sizefrom=") {
-                       tmp := strings.SplitN(s, "=", 2)
-                       t.Sizefrom = tmp[1]
-               } else if s == "big" {
-                       t.Order = binary.BigEndian
-               } else if s == "little" {
-                       t.Order = binary.LittleEndian
-               } else if s == "skip" {
-                       t.Skip = true
-               } else {
-                       t.Type = s
-               }
-       }
-       return t
-}
-
-var typeLenRe = regexp.MustCompile(`^\[(\d*)\]`)
-
-func parseField(f reflect.StructField) (fd *Field, tag *strucTag, err error) {
-       tag = parseStrucTag(f.Tag)
-       var ok bool
-       fd = &Field{
-               Name:  f.Name,
-               Len:   1,
-               Order: tag.Order,
-               Slice: false,
-               kind:  f.Type.Kind(),
-       }
-       switch fd.kind {
-       case reflect.Array:
-               fd.Slice = true
-               fd.Array = true
-               fd.Len = f.Type.Len()
-               fd.kind = f.Type.Elem().Kind()
-       case reflect.Slice:
-               fd.Slice = true
-               fd.Len = -1
-               fd.kind = f.Type.Elem().Kind()
-       case reflect.Ptr:
-               fd.Ptr = true
-               fd.kind = f.Type.Elem().Kind()
-       }
-       // check for custom types
-       tmp := reflect.New(f.Type)
-       if _, ok := tmp.Interface().(Custom); ok {
-               fd.Type = CustomType
-               return
-       }
-       var defTypeOk bool
-       fd.defType, defTypeOk = reflectTypeMap[fd.kind]
-       // find a type in the struct tag
-       pureType := typeLenRe.ReplaceAllLiteralString(tag.Type, "")
-       if fd.Type, ok = typeLookup[pureType]; ok {
-               fd.Len = 1
-               match := typeLenRe.FindAllStringSubmatch(tag.Type, -1)
-               if len(match) > 0 && len(match[0]) > 1 {
-                       fd.Slice = true
-                       first := match[0][1]
-                       // Field.Len = -1 indicates a []slice
-                       if first == "" {
-                               fd.Len = -1
-                       } else {
-                               fd.Len, err = strconv.Atoi(first)
-                       }
-               }
-               return
-       }
-       // the user didn't specify a type
-       switch f.Type {
-       case reflect.TypeOf(Size_t(0)):
-               fd.Type = SizeType
-       case reflect.TypeOf(Off_t(0)):
-               fd.Type = OffType
-       default:
-               if defTypeOk {
-                       fd.Type = fd.defType
-               } else {
-                       err = errors.New("struc: Could not find field type.")
-               }
-       }
-       return
-}
-
-func parseFieldsLocked(v reflect.Value) (Fields, error) {
-       // we need to repeat this logic because parseFields() below can't be recursively called due to locking
-       for v.Kind() == reflect.Ptr {
-               v = v.Elem()
-       }
-       t := v.Type()
-       if v.NumField() < 1 {
-               return nil, errors.New("struc: Struct has no fields.")
-       }
-       sizeofMap := make(map[string][]int)
-       fields := make(Fields, v.NumField())
-       for i := 0; i < t.NumField(); i++ {
-               field := t.Field(i)
-               f, tag, err := parseField(field)
-               if tag.Skip {
-                       continue
-               }
-               if err != nil {
-                       return nil, err
-               }
-               if !v.Field(i).CanSet() {
-                       continue
-               }
-               f.Index = i
-               if tag.Sizeof != "" {
-                       target, ok := t.FieldByName(tag.Sizeof)
-                       if !ok {
-                               return nil, fmt.Errorf("struc: `sizeof=%s` field does not exist", tag.Sizeof)
-                       }
-                       f.Sizeof = target.Index
-                       sizeofMap[tag.Sizeof] = field.Index
-               }
-               if sizefrom, ok := sizeofMap[field.Name]; ok {
-                       f.Sizefrom = sizefrom
-               }
-               if tag.Sizefrom != "" {
-                       source, ok := t.FieldByName(tag.Sizefrom)
-                       if !ok {
-                               return nil, fmt.Errorf("struc: `sizefrom=%s` field does not exist", tag.Sizefrom)
-                       }
-                       f.Sizefrom = source.Index
-               }
-               if f.Len == -1 && f.Sizefrom == nil {
-                       return nil, fmt.Errorf("struc: field `%s` is a slice with no length or sizeof field", field.Name)
-               }
-               // recurse into nested structs
-               // TODO: handle loops (probably by indirecting the []Field and putting pointer in cache)
-               if f.Type == Struct {
-                       typ := field.Type
-                       if f.Ptr {
-                               typ = typ.Elem()
-                       }
-                       if f.Slice {
-                               typ = typ.Elem()
-                       }
-                       f.Fields, err = parseFieldsLocked(reflect.New(typ))
-                       if err != nil {
-                               return nil, err
-                       }
-               }
-               fields[i] = f
-       }
-       return fields, nil
-}
-
-var fieldCache = make(map[reflect.Type]Fields)
-var fieldCacheLock sync.RWMutex
-var parseLock sync.Mutex
-
-func fieldCacheLookup(t reflect.Type) Fields {
-       fieldCacheLock.RLock()
-       defer fieldCacheLock.RUnlock()
-       if cached, ok := fieldCache[t]; ok {
-               return cached
-       }
-       return nil
-}
-
-func parseFields(v reflect.Value) (Fields, error) {
-       for v.Kind() == reflect.Ptr {
-               v = v.Elem()
-       }
-       t := v.Type()
-
-       // fast path: hopefully the field parsing is already cached
-       if cached := fieldCacheLookup(t); cached != nil {
-               return cached, nil
-       }
-
-       // hold a global lock so multiple goroutines can't parse (the same) fields at once
-       parseLock.Lock()
-       defer parseLock.Unlock()
-
-       // check cache a second time, in case parseLock was just released by
-       // another thread who filled the cache for us
-       if cached := fieldCacheLookup(t); cached != nil {
-               return cached, nil
-       }
-
-       // no luck, time to parse and fill the cache ourselves
-       fields, err := parseFieldsLocked(v)
-       if err != nil {
-               return nil, err
-       }
-       fieldCacheLock.Lock()
-       fieldCache[t] = fields
-       fieldCacheLock.Unlock()
-       return fields, nil
-}
diff --git a/vendor/github.com/lunixbochs/struc/struc.go b/vendor/github.com/lunixbochs/struc/struc.go
deleted file mode 100644 (file)
index 3d85fe3..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-package struc
-
-import (
-       "encoding/binary"
-       "fmt"
-       "io"
-       "reflect"
-)
-
-type Options struct {
-       ByteAlign int
-       PtrSize   int
-       Order     binary.ByteOrder
-}
-
-func (o *Options) Validate() error {
-       if o.PtrSize == 0 {
-               o.PtrSize = 32
-       } else {
-               switch o.PtrSize {
-               case 8, 16, 32, 64:
-               default:
-                       return fmt.Errorf("Invalid Options.PtrSize: %d. Must be in (8, 16, 32, 64)", o.PtrSize)
-               }
-       }
-       return nil
-}
-
-var emptyOptions = &Options{}
-
-func prep(data interface{}) (reflect.Value, Packer, error) {
-       value := reflect.ValueOf(data)
-       for value.Kind() == reflect.Ptr {
-               next := value.Elem().Kind()
-               if next == reflect.Struct || next == reflect.Ptr {
-                       value = value.Elem()
-               } else {
-                       break
-               }
-       }
-       switch value.Kind() {
-       case reflect.Struct:
-               fields, err := parseFields(value)
-               return value, fields, err
-       default:
-               if !value.IsValid() {
-                       return reflect.Value{}, nil, fmt.Errorf("Invalid reflect.Value for %+v", data)
-               }
-               if c, ok := data.(Custom); ok {
-                       return value, customFallback{c}, nil
-               }
-               return value, binaryFallback(value), nil
-       }
-}
-
-func Pack(w io.Writer, data interface{}) error {
-       return PackWithOptions(w, data, nil)
-}
-
-func PackWithOptions(w io.Writer, data interface{}, options *Options) error {
-       if options == nil {
-               options = emptyOptions
-       }
-       if err := options.Validate(); err != nil {
-               return err
-       }
-       val, packer, err := prep(data)
-       if err != nil {
-               return err
-       }
-       if val.Type().Kind() == reflect.String {
-               val = val.Convert(reflect.TypeOf([]byte{}))
-       }
-       size := packer.Sizeof(val, options)
-       buf := make([]byte, size)
-       if _, err := packer.Pack(buf, val, options); err != nil {
-               return err
-       }
-       _, err = w.Write(buf)
-       return err
-}
-
-func Unpack(r io.Reader, data interface{}) error {
-       return UnpackWithOptions(r, data, nil)
-}
-
-func UnpackWithOptions(r io.Reader, data interface{}, options *Options) error {
-       if options == nil {
-               options = emptyOptions
-       }
-       if err := options.Validate(); err != nil {
-               return err
-       }
-       val, packer, err := prep(data)
-       if err != nil {
-               return err
-       }
-       return packer.Unpack(r, val, options)
-}
-
-func Sizeof(data interface{}) (int, error) {
-       return SizeofWithOptions(data, nil)
-}
-
-func SizeofWithOptions(data interface{}, options *Options) (int, error) {
-       if options == nil {
-               options = emptyOptions
-       }
-       if err := options.Validate(); err != nil {
-               return 0, err
-       }
-       val, packer, err := prep(data)
-       if err != nil {
-               return 0, err
-       }
-       return packer.Sizeof(val, options), nil
-}
diff --git a/vendor/github.com/lunixbochs/struc/types.go b/vendor/github.com/lunixbochs/struc/types.go
deleted file mode 100644 (file)
index 6ca97f4..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-package struc
-
-import (
-       "fmt"
-       "reflect"
-)
-
-type Type int
-
-const (
-       Invalid Type = iota
-       Pad
-       Bool
-       Int
-       Int8
-       Uint8
-       Int16
-       Uint16
-       Int32
-       Uint32
-       Int64
-       Uint64
-       Float32
-       Float64
-       String
-       Struct
-       Ptr
-
-       SizeType
-       OffType
-       CustomType
-)
-
-func (t Type) Resolve(options *Options) Type {
-       switch t {
-       case OffType:
-               switch options.PtrSize {
-               case 8:
-                       return Int8
-               case 16:
-                       return Int16
-               case 32:
-                       return Int32
-               case 64:
-                       return Int64
-               default:
-                       panic(fmt.Sprintf("unsupported ptr bits: %d", options.PtrSize))
-               }
-       case SizeType:
-               switch options.PtrSize {
-               case 8:
-                       return Uint8
-               case 16:
-                       return Uint16
-               case 32:
-                       return Uint32
-               case 64:
-                       return Uint64
-               default:
-                       panic(fmt.Sprintf("unsupported ptr bits: %d", options.PtrSize))
-               }
-       }
-       return t
-}
-
-func (t Type) String() string {
-       return typeNames[t]
-}
-
-func (t Type) Size() int {
-       switch t {
-       case SizeType, OffType:
-               panic("Size_t/Off_t types must be converted to another type using options.PtrSize")
-       case Pad, String, Int8, Uint8, Bool:
-               return 1
-       case Int16, Uint16:
-               return 2
-       case Int32, Uint32, Float32:
-               return 4
-       case Int64, Uint64, Float64:
-               return 8
-       default:
-               panic("Cannot resolve size of type:" + t.String())
-       }
-}
-
-var typeLookup = map[string]Type{
-       "pad":     Pad,
-       "bool":    Bool,
-       "byte":    Uint8,
-       "int8":    Int8,
-       "uint8":   Uint8,
-       "int16":   Int16,
-       "uint16":  Uint16,
-       "int32":   Int32,
-       "uint32":  Uint32,
-       "int64":   Int64,
-       "uint64":  Uint64,
-       "float32": Float32,
-       "float64": Float64,
-
-       "size_t": SizeType,
-       "off_t":  OffType,
-}
-
-var typeNames = map[Type]string{
-       CustomType: "Custom",
-}
-
-func init() {
-       for name, enum := range typeLookup {
-               typeNames[enum] = name
-       }
-}
-
-type Size_t uint64
-type Off_t int64
-
-var reflectTypeMap = map[reflect.Kind]Type{
-       reflect.Bool:    Bool,
-       reflect.Int8:    Int8,
-       reflect.Int16:   Int16,
-       reflect.Int:     Int32,
-       reflect.Int32:   Int32,
-       reflect.Int64:   Int64,
-       reflect.Uint8:   Uint8,
-       reflect.Uint16:  Uint16,
-       reflect.Uint:    Uint32,
-       reflect.Uint32:  Uint32,
-       reflect.Uint64:  Uint64,
-       reflect.Float32: Float32,
-       reflect.Float64: Float64,
-       reflect.String:  String,
-       reflect.Struct:  Struct,
-       reflect.Ptr:     Ptr,
-}
diff --git a/vendor/github.com/onsi/gomega/.gitignore b/vendor/github.com/onsi/gomega/.gitignore
deleted file mode 100644 (file)
index 720c13c..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-.DS_Store
-*.test
-.
-.idea
-gomega.iml
diff --git a/vendor/github.com/onsi/gomega/.travis.yml b/vendor/github.com/onsi/gomega/.travis.yml
deleted file mode 100644 (file)
index 9bc3fd0..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-language: go
-go:
-  - 1.6
-  - 1.7
-
-install:
-  - go get -v ./...
-  - go get github.com/onsi/ginkgo
-  - go install github.com/onsi/ginkgo/ginkgo
-
-script: $HOME/gopath/bin/ginkgo -r --randomizeAllSpecs --failOnPending --randomizeSuites --race
diff --git a/vendor/github.com/onsi/gomega/CHANGELOG.md b/vendor/github.com/onsi/gomega/CHANGELOG.md
deleted file mode 100644 (file)
index 0c5ede5..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-## HEAD
-
-Improvements:
-
-- Added `BeSent` which attempts to send a value down a channel and fails if the attempt blocks.  Can be paired with `Eventually` to safely send a value down a channel with a timeout.
-- `Ω`, `Expect`, `Eventually`, and `Consistently` now immediately `panic` if there is no registered fail handler.  This is always a mistake that can hide failing tests.
-- `Receive()` no longer errors when passed a closed channel, it's perfectly fine to attempt to read from a closed channel so Ω(c).Should(Receive()) always fails and Ω(c).ShoudlNot(Receive()) always passes with a closed channel.
-- Added `HavePrefix` and `HaveSuffix` matchers.
-- `ghttp` can now handle concurrent requests.
-- Added `Succeed` which allows one to write `Ω(MyFunction()).Should(Succeed())`.
-- Improved `ghttp`'s behavior around failing assertions and panics:
-    - If a registered handler makes a failing assertion `ghttp` will return `500`.
-    - If a registered handler panics, `ghttp` will return `500` *and* fail the test.  This is new behavior that may cause existing code to break.  This code is almost certainly incorrect and creating a false positive.
-- `ghttp` servers can take an `io.Writer`.  `ghttp` will write a line to the writer when each request arrives.
-- Added `WithTransform` matcher to allow munging input data before feeding into the relevant matcher
-- Added boolean `And`, `Or`, and `Not` matchers to allow creating composite matchers
-
-Bug Fixes:
-- gexec: `session.Wait` now uses `EventuallyWithOffset` to get the right line number in the failure.
-- `ContainElement` no longer bails if a passed-in matcher errors.
-
-## 1.0 (8/2/2014)
-
-No changes. Dropping "beta" from the version number.
-
-## 1.0.0-beta (7/8/2014)
-Breaking Changes:
-
-- Changed OmegaMatcher interface.  Instead of having `Match` return failure messages, two new methods `FailureMessage` and `NegatedFailureMessage` are called instead.
-- Moved and renamed OmegaFailHandler to types.GomegaFailHandler and OmegaMatcher to types.GomegaMatcher.  Any references to OmegaMatcher in any custom matchers will need to be changed to point to types.GomegaMatcher
-
-New Test-Support Features:
-
-- `ghttp`: supports testing http clients
-    - Provides a flexible fake http server
-    - Provides a collection of chainable http handlers that perform assertions.
-- `gbytes`: supports making ordered assertions against streams of data
-    - Provides a `gbytes.Buffer`
-    - Provides a `Say` matcher to perform ordered assertions against output data
-- `gexec`: supports testing external processes
-    - Provides support for building Go binaries
-    - Wraps and starts `exec.Cmd` commands
-    - Makes it easy to assert against stdout and stderr
-    - Makes it easy to send signals and wait for processes to exit
-    - Provides an `Exit` matcher to assert against exit code.
-
-DSL Changes:
-
-- `Eventually` and `Consistently` can accept `time.Duration` interval and polling inputs.
-- The default timeouts for `Eventually` and `Consistently` are now configurable.
-
-New Matchers:
-
-- `ConsistOf`: order-independent assertion against the elements of an array/slice or keys of a map.
-- `BeTemporally`: like `BeNumerically` but for `time.Time`
-- `HaveKeyWithValue`: asserts a map has a given key with the given value.
-
-Updated Matchers:
-
-- `Receive` matcher can take a matcher as an argument and passes only if the channel under test receives an objet that satisfies the passed-in matcher.
-- Matchers that implement `MatchMayChangeInTheFuture(actual interface{}) bool` can inform `Eventually` and/or `Consistently` when a match has no chance of changing status in the future.  For example, `Receive` returns `false` when a channel is closed.
-
-Misc:
-
-- Start using semantic versioning
-- Start maintaining changelog
-
-Major refactor:
-
-- Pull out Gomega's internal to `internal`
diff --git a/vendor/github.com/onsi/gomega/LICENSE b/vendor/github.com/onsi/gomega/LICENSE
deleted file mode 100644 (file)
index 9415ee7..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-Copyright (c) 2013-2014 Onsi Fakhouri
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/vendor/github.com/onsi/gomega/README.md b/vendor/github.com/onsi/gomega/README.md
deleted file mode 100644 (file)
index 9714f67..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-![Gomega: Ginkgo's Preferred Matcher Library](http://onsi.github.io/gomega/images/gomega.png)
-
-[![Build Status](https://travis-ci.org/onsi/gomega.svg)](https://travis-ci.org/onsi/gomega)
-
-Jump straight to the [docs](http://onsi.github.io/gomega/) to learn about Gomega, including a list of [all available matchers](http://onsi.github.io/gomega/#provided-matchers).
-
-To discuss Gomega and get updates, join the [google group](https://groups.google.com/d/forum/ginkgo-and-gomega).
-
-## [Ginkgo](http://github.com/onsi/ginkgo): a BDD Testing Framework for Golang
-
-Learn more about Ginkgo [here](http://onsi.github.io/ginkgo/)
-
-## Community Matchers
-
-A collection of community matchers is available on the [wiki](https://github.com/onsi/gomega/wiki).
-
-## License
-
-Gomega is MIT-Licensed
-
-The `ConsistOf` matcher uses [goraph](https://github.com/amitkgupta/goraph) which is embedded in the source to simplify distribution.  goraph has an MIT license.
diff --git a/vendor/github.com/onsi/gomega/format/format.go b/vendor/github.com/onsi/gomega/format/format.go
deleted file mode 100644 (file)
index a9d2651..0000000
+++ /dev/null
@@ -1,384 +0,0 @@
-/*
-Gomega's format package pretty-prints objects.  It explores input objects recursively and generates formatted, indented output with type information.
-*/
-package format
-
-import (
-       "fmt"
-       "reflect"
-       "strconv"
-       "strings"
-       "time"
-)
-
-// Use MaxDepth to set the maximum recursion depth when printing deeply nested objects
-var MaxDepth = uint(10)
-
-/*
-By default, all objects (even those that implement fmt.Stringer and fmt.GoStringer) are recursively inspected to generate output.
-
-Set UseStringerRepresentation = true to use GoString (for fmt.GoStringers) or String (for fmt.Stringer) instead.
-
-Note that GoString and String don't always have all the information you need to understand why a test failed!
-*/
-var UseStringerRepresentation = false
-
-/*
-Print the content of context objects. By default it will be suppressed.
-
-Set PrintContextObjects = true to enable printing of the context internals.
-*/
-var PrintContextObjects = false
-
-// Ctx interface defined here to keep backwards compatability with go < 1.7
-// It matches the context.Context interface
-type Ctx interface {
-       Deadline() (deadline time.Time, ok bool)
-       Done() <-chan struct{}
-       Err() error
-       Value(key interface{}) interface{}
-}
-
-var contextType = reflect.TypeOf((*Ctx)(nil)).Elem()
-var timeType = reflect.TypeOf(time.Time{})
-
-//The default indentation string emitted by the format package
-var Indent = "    "
-
-var longFormThreshold = 20
-
-/*
-Generates a formatted matcher success/failure message of the form:
-
-       Expected
-               <pretty printed actual>
-       <message>
-               <pretty printed expected>
-
-If expected is omited, then the message looks like:
-
-       Expected
-               <pretty printed actual>
-       <message>
-*/
-func Message(actual interface{}, message string, expected ...interface{}) string {
-       if len(expected) == 0 {
-               return fmt.Sprintf("Expected\n%s\n%s", Object(actual, 1), message)
-       } else {
-               return fmt.Sprintf("Expected\n%s\n%s\n%s", Object(actual, 1), message, Object(expected[0], 1))
-       }
-}
-
-/*
-
-Generates a nicely formatted matcher success / failure message
-
-Much like Message(...), but it attempts to pretty print diffs in strings
-
-Expected
-    <string>: "...aaaaabaaaaa..."
-to equal               |
-    <string>: "...aaaaazaaaaa..."
-
-*/
-
-func MessageWithDiff(actual, message, expected string) string {
-       if len(actual) >= truncateThreshold && len(expected) >= truncateThreshold {
-               diffPoint := findFirstMismatch(actual, expected)
-               formattedActual := truncateAndFormat(actual, diffPoint)
-               formattedExpected := truncateAndFormat(expected, diffPoint)
-
-               spacesBeforeFormattedMismatch := findFirstMismatch(formattedActual, formattedExpected)
-
-               tabLength := 4
-               spaceFromMessageToActual := tabLength + len("<string>: ") - len(message)
-               padding := strings.Repeat(" ", spaceFromMessageToActual+spacesBeforeFormattedMismatch) + "|"
-               return Message(formattedActual, message+padding, formattedExpected)
-       }
-       return Message(actual, message, expected)
-}
-
-func truncateAndFormat(str string, index int) string {
-       leftPadding := `...`
-       rightPadding := `...`
-
-       start := index - charactersAroundMismatchToInclude
-       if start < 0 {
-               start = 0
-               leftPadding = ""
-       }
-
-       // slice index must include the mis-matched character
-       lengthOfMismatchedCharacter := 1
-       end := index + charactersAroundMismatchToInclude + lengthOfMismatchedCharacter
-       if end > len(str) {
-               end = len(str)
-               rightPadding = ""
-
-       }
-       return fmt.Sprintf("\"%s\"", leftPadding+str[start:end]+rightPadding)
-}
-
-func findFirstMismatch(a, b string) int {
-       aSlice := strings.Split(a, "")
-       bSlice := strings.Split(b, "")
-
-       for index, str := range aSlice {
-               if index > len(b) - 1 {
-                       return index
-               }
-               if str != bSlice[index] {
-                       return index
-               }
-       }
-
-       if len(b) > len(a) {
-               return len(a) + 1
-       }
-
-       return 0
-}
-
-const (
-       truncateThreshold                 = 50
-       charactersAroundMismatchToInclude = 5
-)
-
-/*
-Pretty prints the passed in object at the passed in indentation level.
-
-Object recurses into deeply nested objects emitting pretty-printed representations of their components.
-
-Modify format.MaxDepth to control how deep the recursion is allowed to go
-Set format.UseStringerRepresentation to true to return object.GoString() or object.String() when available instead of
-recursing into the object.
-
-Set PrintContextObjects to true to print the content of objects implementing context.Context
-*/
-func Object(object interface{}, indentation uint) string {
-       indent := strings.Repeat(Indent, int(indentation))
-       value := reflect.ValueOf(object)
-       return fmt.Sprintf("%s<%s>: %s", indent, formatType(object), formatValue(value, indentation))
-}
-
-/*
-IndentString takes a string and indents each line by the specified amount.
-*/
-func IndentString(s string, indentation uint) string {
-       components := strings.Split(s, "\n")
-       result := ""
-       indent := strings.Repeat(Indent, int(indentation))
-       for i, component := range components {
-               result += indent + component
-               if i < len(components)-1 {
-                       result += "\n"
-               }
-       }
-
-       return result
-}
-
-func formatType(object interface{}) string {
-       t := reflect.TypeOf(object)
-       if t == nil {
-               return "nil"
-       }
-       switch t.Kind() {
-       case reflect.Chan:
-               v := reflect.ValueOf(object)
-               return fmt.Sprintf("%T | len:%d, cap:%d", object, v.Len(), v.Cap())
-       case reflect.Ptr:
-               return fmt.Sprintf("%T | %p", object, object)
-       case reflect.Slice:
-               v := reflect.ValueOf(object)
-               return fmt.Sprintf("%T | len:%d, cap:%d", object, v.Len(), v.Cap())
-       case reflect.Map:
-               v := reflect.ValueOf(object)
-               return fmt.Sprintf("%T | len:%d", object, v.Len())
-       default:
-               return fmt.Sprintf("%T", object)
-       }
-}
-
-func formatValue(value reflect.Value, indentation uint) string {
-       if indentation > MaxDepth {
-               return "..."
-       }
-
-       if isNilValue(value) {
-               return "nil"
-       }
-
-       if UseStringerRepresentation {
-               if value.CanInterface() {
-                       obj := value.Interface()
-                       switch x := obj.(type) {
-                       case fmt.GoStringer:
-                               return x.GoString()
-                       case fmt.Stringer:
-                               return x.String()
-                       }
-               }
-       }
-
-       if !PrintContextObjects {
-               if value.Type().Implements(contextType) && indentation > 1 {
-                       return "<suppressed context>"
-               }
-       }
-
-       switch value.Kind() {
-       case reflect.Bool:
-               return fmt.Sprintf("%v", value.Bool())
-       case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
-               return fmt.Sprintf("%v", value.Int())
-       case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64:
-               return fmt.Sprintf("%v", value.Uint())
-       case reflect.Uintptr:
-               return fmt.Sprintf("0x%x", value.Uint())
-       case reflect.Float32, reflect.Float64:
-               return fmt.Sprintf("%v", value.Float())
-       case reflect.Complex64, reflect.Complex128:
-               return fmt.Sprintf("%v", value.Complex())
-       case reflect.Chan:
-               return fmt.Sprintf("0x%x", value.Pointer())
-       case reflect.Func:
-               return fmt.Sprintf("0x%x", value.Pointer())
-       case reflect.Ptr:
-               return formatValue(value.Elem(), indentation)
-       case reflect.Slice:
-               return formatSlice(value, indentation)
-       case reflect.String:
-               return formatString(value.String(), indentation)
-       case reflect.Array:
-               return formatSlice(value, indentation)
-       case reflect.Map:
-               return formatMap(value, indentation)
-       case reflect.Struct:
-               if value.Type() == timeType && value.CanInterface() {
-                       t, _ := value.Interface().(time.Time)
-                       return t.Format(time.RFC3339Nano)
-               }
-               return formatStruct(value, indentation)
-       case reflect.Interface:
-               return formatValue(value.Elem(), indentation)
-       default:
-               if value.CanInterface() {
-                       return fmt.Sprintf("%#v", value.Interface())
-               } else {
-                       return fmt.Sprintf("%#v", value)
-               }
-       }
-}
-
-func formatString(object interface{}, indentation uint) string {
-       if indentation == 1 {
-               s := fmt.Sprintf("%s", object)
-               components := strings.Split(s, "\n")
-               result := ""
-               for i, component := range components {
-                       if i == 0 {
-                               result += component
-                       } else {
-                               result += Indent + component
-                       }
-                       if i < len(components)-1 {
-                               result += "\n"
-                       }
-               }
-
-               return fmt.Sprintf("%s", result)
-       } else {
-               return fmt.Sprintf("%q", object)
-       }
-}
-
-func formatSlice(v reflect.Value, indentation uint) string {
-       if v.Kind() == reflect.Slice && v.Type().Elem().Kind() == reflect.Uint8 && isPrintableString(string(v.Bytes())) {
-               return formatString(v.Bytes(), indentation)
-       }
-
-       l := v.Len()
-       result := make([]string, l)
-       longest := 0
-       for i := 0; i < l; i++ {
-               result[i] = formatValue(v.Index(i), indentation+1)
-               if len(result[i]) > longest {
-                       longest = len(result[i])
-               }
-       }
-
-       if longest > longFormThreshold {
-               indenter := strings.Repeat(Indent, int(indentation))
-               return fmt.Sprintf("[\n%s%s,\n%s]", indenter+Indent, strings.Join(result, ",\n"+indenter+Indent), indenter)
-       } else {
-               return fmt.Sprintf("[%s]", strings.Join(result, ", "))
-       }
-}
-
-func formatMap(v reflect.Value, indentation uint) string {
-       l := v.Len()
-       result := make([]string, l)
-
-       longest := 0
-       for i, key := range v.MapKeys() {
-               value := v.MapIndex(key)
-               result[i] = fmt.Sprintf("%s: %s", formatValue(key, indentation+1), formatValue(value, indentation+1))
-               if len(result[i]) > longest {
-                       longest = len(result[i])
-               }
-       }
-
-       if longest > longFormThreshold {
-               indenter := strings.Repeat(Indent, int(indentation))
-               return fmt.Sprintf("{\n%s%s,\n%s}", indenter+Indent, strings.Join(result, ",\n"+indenter+Indent), indenter)
-       } else {
-               return fmt.Sprintf("{%s}", strings.Join(result, ", "))
-       }
-}
-
-func formatStruct(v reflect.Value, indentation uint) string {
-       t := v.Type()
-
-       l := v.NumField()
-       result := []string{}
-       longest := 0
-       for i := 0; i < l; i++ {
-               structField := t.Field(i)
-               fieldEntry := v.Field(i)
-               representation := fmt.Sprintf("%s: %s", structField.Name, formatValue(fieldEntry, indentation+1))
-               result = append(result, representation)
-               if len(representation) > longest {
-                       longest = len(representation)
-               }
-       }
-       if longest > longFormThreshold {
-               indenter := strings.Repeat(Indent, int(indentation))
-               return fmt.Sprintf("{\n%s%s,\n%s}", indenter+Indent, strings.Join(result, ",\n"+indenter+Indent), indenter)
-       } else {
-               return fmt.Sprintf("{%s}", strings.Join(result, ", "))
-       }
-}
-
-func isNilValue(a reflect.Value) bool {
-       switch a.Kind() {
-       case reflect.Invalid:
-               return true
-       case reflect.Chan, reflect.Func, reflect.Interface, reflect.Map, reflect.Ptr, reflect.Slice:
-               return a.IsNil()
-       }
-
-       return false
-}
-
-/*
-Returns true when the string is entirely made of printable runes, false otherwise.
-*/
-func isPrintableString(str string) bool {
-       for _, runeValue := range str {
-               if !strconv.IsPrint(runeValue) {
-                       return false
-               }
-       }
-       return true
-}
diff --git a/vendor/github.com/onsi/gomega/gomega_dsl.go b/vendor/github.com/onsi/gomega/gomega_dsl.go
deleted file mode 100644 (file)
index 78bd188..0000000
+++ /dev/null
@@ -1,335 +0,0 @@
-/*
-Gomega is the Ginkgo BDD-style testing framework's preferred matcher library.
-
-The godoc documentation describes Gomega's API.  More comprehensive documentation (with examples!) is available at http://onsi.github.io/gomega/
-
-Gomega on Github: http://github.com/onsi/gomega
-
-Learn more about Ginkgo online: http://onsi.github.io/ginkgo
-
-Ginkgo on Github: http://github.com/onsi/ginkgo
-
-Gomega is MIT-Licensed
-*/
-package gomega
-
-import (
-       "fmt"
-       "reflect"
-       "time"
-
-       "github.com/onsi/gomega/internal/assertion"
-       "github.com/onsi/gomega/internal/asyncassertion"
-       "github.com/onsi/gomega/internal/testingtsupport"
-       "github.com/onsi/gomega/types"
-)
-
-const GOMEGA_VERSION = "1.0"
-
-const nilFailHandlerPanic = `You are trying to make an assertion, but Gomega's fail handler is nil.
-If you're using Ginkgo then you probably forgot to put your assertion in an It().
-Alternatively, you may have forgotten to register a fail handler with RegisterFailHandler() or RegisterTestingT().
-`
-
-var globalFailHandler types.GomegaFailHandler
-
-var defaultEventuallyTimeout = time.Second
-var defaultEventuallyPollingInterval = 10 * time.Millisecond
-var defaultConsistentlyDuration = 100 * time.Millisecond
-var defaultConsistentlyPollingInterval = 10 * time.Millisecond
-
-//RegisterFailHandler connects Ginkgo to Gomega.  When a matcher fails
-//the fail handler passed into RegisterFailHandler is called.
-func RegisterFailHandler(handler types.GomegaFailHandler) {
-       globalFailHandler = handler
-}
-
-//RegisterTestingT connects Gomega to Golang's XUnit style
-//Testing.T tests.  You'll need to call this at the top of each XUnit style test:
-//
-// func TestFarmHasCow(t *testing.T) {
-//     RegisterTestingT(t)
-//
-//        f := farm.New([]string{"Cow", "Horse"})
-//     Expect(f.HasCow()).To(BeTrue(), "Farm should have cow")
-// }
-//
-// Note that this *testing.T is registered *globally* by Gomega (this is why you don't have to
-// pass `t` down to the matcher itself).  This means that you cannot run the XUnit style tests
-// in parallel as the global fail handler cannot point to more than one testing.T at a time.
-//
-// (As an aside: Ginkgo gets around this limitation by running parallel tests in different *processes*).
-func RegisterTestingT(t types.GomegaTestingT) {
-       RegisterFailHandler(testingtsupport.BuildTestingTGomegaFailHandler(t))
-}
-
-//InterceptGomegaHandlers runs a given callback and returns an array of
-//failure messages generated by any Gomega assertions within the callback.
-//
-//This is accomplished by temporarily replacing the *global* fail handler
-//with a fail handler that simply annotates failures.  The original fail handler
-//is reset when InterceptGomegaFailures returns.
-//
-//This is most useful when testing custom matchers, but can also be used to check
-//on a value using a Gomega assertion without causing a test failure.
-func InterceptGomegaFailures(f func()) []string {
-       originalHandler := globalFailHandler
-       failures := []string{}
-       RegisterFailHandler(func(message string, callerSkip ...int) {
-               failures = append(failures, message)
-       })
-       f()
-       RegisterFailHandler(originalHandler)
-       return failures
-}
-
-//Ω wraps an actual value allowing assertions to be made on it:
-//     Ω("foo").Should(Equal("foo"))
-//
-//If Ω is passed more than one argument it will pass the *first* argument to the matcher.
-//All subsequent arguments will be required to be nil/zero.
-//
-//This is convenient if you want to make an assertion on a method/function that returns
-//a value and an error - a common patter in Go.
-//
-//For example, given a function with signature:
-//  func MyAmazingThing() (int, error)
-//
-//Then:
-//    Ω(MyAmazingThing()).Should(Equal(3))
-//Will succeed only if `MyAmazingThing()` returns `(3, nil)`
-//
-//Ω and Expect are identical
-func Ω(actual interface{}, extra ...interface{}) GomegaAssertion {
-       return ExpectWithOffset(0, actual, extra...)
-}
-
-//Expect wraps an actual value allowing assertions to be made on it:
-//     Expect("foo").To(Equal("foo"))
-//
-//If Expect is passed more than one argument it will pass the *first* argument to the matcher.
-//All subsequent arguments will be required to be nil/zero.
-//
-//This is convenient if you want to make an assertion on a method/function that returns
-//a value and an error - a common patter in Go.
-//
-//For example, given a function with signature:
-//  func MyAmazingThing() (int, error)
-//
-//Then:
-//    Expect(MyAmazingThing()).Should(Equal(3))
-//Will succeed only if `MyAmazingThing()` returns `(3, nil)`
-//
-//Expect and Ω are identical
-func Expect(actual interface{}, extra ...interface{}) GomegaAssertion {
-       return ExpectWithOffset(0, actual, extra...)
-}
-
-//ExpectWithOffset wraps an actual value allowing assertions to be made on it:
-//    ExpectWithOffset(1, "foo").To(Equal("foo"))
-//
-//Unlike `Expect` and `Ω`, `ExpectWithOffset` takes an additional integer argument
-//this is used to modify the call-stack offset when computing line numbers.
-//
-//This is most useful in helper functions that make assertions.  If you want Gomega's
-//error message to refer to the calling line in the test (as opposed to the line in the helper function)
-//set the first argument of `ExpectWithOffset` appropriately.
-func ExpectWithOffset(offset int, actual interface{}, extra ...interface{}) GomegaAssertion {
-       if globalFailHandler == nil {
-               panic(nilFailHandlerPanic)
-       }
-       return assertion.New(actual, globalFailHandler, offset, extra...)
-}
-
-//Eventually wraps an actual value allowing assertions to be made on it.
-//The assertion is tried periodically until it passes or a timeout occurs.
-//
-//Both the timeout and polling interval are configurable as optional arguments:
-//The first optional argument is the timeout
-//The second optional argument is the polling interval
-//
-//Both intervals can either be specified as time.Duration, parsable duration strings or as floats/integers.  In the
-//last case they are interpreted as seconds.
-//
-//If Eventually is passed an actual that is a function taking no arguments and returning at least one value,
-//then Eventually will call the function periodically and try the matcher against the function's first return value.
-//
-//Example:
-//
-//    Eventually(func() int {
-//        return thingImPolling.Count()
-//    }).Should(BeNumerically(">=", 17))
-//
-//Note that this example could be rewritten:
-//
-//    Eventually(thingImPolling.Count).Should(BeNumerically(">=", 17))
-//
-//If the function returns more than one value, then Eventually will pass the first value to the matcher and
-//assert that all other values are nil/zero.
-//This allows you to pass Eventually a function that returns a value and an error - a common pattern in Go.
-//
-//For example, consider a method that returns a value and an error:
-//    func FetchFromDB() (string, error)
-//
-//Then
-//    Eventually(FetchFromDB).Should(Equal("hasselhoff"))
-//
-//Will pass only if the the returned error is nil and the returned string passes the matcher.
-//
-//Eventually's default timeout is 1 second, and its default polling interval is 10ms
-func Eventually(actual interface{}, intervals ...interface{}) GomegaAsyncAssertion {
-       return EventuallyWithOffset(0, actual, intervals...)
-}
-
-//EventuallyWithOffset operates like Eventually but takes an additional
-//initial argument to indicate an offset in the call stack.  This is useful when building helper
-//functions that contain matchers.  To learn more, read about `ExpectWithOffset`.
-func EventuallyWithOffset(offset int, actual interface{}, intervals ...interface{}) GomegaAsyncAssertion {
-       if globalFailHandler == nil {
-               panic(nilFailHandlerPanic)
-       }
-       timeoutInterval := defaultEventuallyTimeout
-       pollingInterval := defaultEventuallyPollingInterval
-       if len(intervals) > 0 {
-               timeoutInterval = toDuration(intervals[0])
-       }
-       if len(intervals) > 1 {
-               pollingInterval = toDuration(intervals[1])
-       }
-       return asyncassertion.New(asyncassertion.AsyncAssertionTypeEventually, actual, globalFailHandler, timeoutInterval, pollingInterval, offset)
-}
-
-//Consistently wraps an actual value allowing assertions to be made on it.
-//The assertion is tried periodically and is required to pass for a period of time.
-//
-//Both the total time and polling interval are configurable as optional arguments:
-//The first optional argument is the duration that Consistently will run for
-//The second optional argument is the polling interval
-//
-//Both intervals can either be specified as time.Duration, parsable duration strings or as floats/integers.  In the
-//last case they are interpreted as seconds.
-//
-//If Consistently is passed an actual that is a function taking no arguments and returning at least one value,
-//then Consistently will call the function periodically and try the matcher against the function's first return value.
-//
-//If the function returns more than one value, then Consistently will pass the first value to the matcher and
-//assert that all other values are nil/zero.
-//This allows you to pass Consistently a function that returns a value and an error - a common pattern in Go.
-//
-//Consistently is useful in cases where you want to assert that something *does not happen* over a period of tiem.
-//For example, you want to assert that a goroutine does *not* send data down a channel.  In this case, you could:
-//
-//  Consistently(channel).ShouldNot(Receive())
-//
-//Consistently's default duration is 100ms, and its default polling interval is 10ms
-func Consistently(actual interface{}, intervals ...interface{}) GomegaAsyncAssertion {
-       return ConsistentlyWithOffset(0, actual, intervals...)
-}
-
-//ConsistentlyWithOffset operates like Consistnetly but takes an additional
-//initial argument to indicate an offset in the call stack.  This is useful when building helper
-//functions that contain matchers.  To learn more, read about `ExpectWithOffset`.
-func ConsistentlyWithOffset(offset int, actual interface{}, intervals ...interface{}) GomegaAsyncAssertion {
-       if globalFailHandler == nil {
-               panic(nilFailHandlerPanic)
-       }
-       timeoutInterval := defaultConsistentlyDuration
-       pollingInterval := defaultConsistentlyPollingInterval
-       if len(intervals) > 0 {
-               timeoutInterval = toDuration(intervals[0])
-       }
-       if len(intervals) > 1 {
-               pollingInterval = toDuration(intervals[1])
-       }
-       return asyncassertion.New(asyncassertion.AsyncAssertionTypeConsistently, actual, globalFailHandler, timeoutInterval, pollingInterval, offset)
-}
-
-//Set the default timeout duration for Eventually.  Eventually will repeatedly poll your condition until it succeeds, or until this timeout elapses.
-func SetDefaultEventuallyTimeout(t time.Duration) {
-       defaultEventuallyTimeout = t
-}
-
-//Set the default polling interval for Eventually.
-func SetDefaultEventuallyPollingInterval(t time.Duration) {
-       defaultEventuallyPollingInterval = t
-}
-
-//Set the default duration for Consistently.  Consistently will verify that your condition is satsified for this long.
-func SetDefaultConsistentlyDuration(t time.Duration) {
-       defaultConsistentlyDuration = t
-}
-
-//Set the default polling interval for Consistently.
-func SetDefaultConsistentlyPollingInterval(t time.Duration) {
-       defaultConsistentlyPollingInterval = t
-}
-
-//GomegaAsyncAssertion is returned by Eventually and Consistently and polls the actual value passed into Eventually against
-//the matcher passed to the Should and ShouldNot methods.
-//
-//Both Should and ShouldNot take a variadic optionalDescription argument.  This is passed on to
-//fmt.Sprintf() and is used to annotate failure messages.  This allows you to make your failure messages more
-//descriptive
-//
-//Both Should and ShouldNot return a boolean that is true if the assertion passed and false if it failed.
-//
-//Example:
-//
-//  Eventually(myChannel).Should(Receive(), "Something should have come down the pipe.")
-//  Consistently(myChannel).ShouldNot(Receive(), "Nothing should have come down the pipe.")
-type GomegaAsyncAssertion interface {
-       Should(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
-       ShouldNot(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
-}
-
-//GomegaAssertion is returned by Ω and Expect and compares the actual value to the matcher
-//passed to the Should/ShouldNot and To/ToNot/NotTo methods.
-//
-//Typically Should/ShouldNot are used with Ω and To/ToNot/NotTo are used with Expect
-//though this is not enforced.
-//
-//All methods take a variadic optionalDescription argument.  This is passed on to fmt.Sprintf()
-//and is used to annotate failure messages.
-//
-//All methods return a bool that is true if hte assertion passed and false if it failed.
-//
-//Example:
-//
-//   Ω(farm.HasCow()).Should(BeTrue(), "Farm %v should have a cow", farm)
-type GomegaAssertion interface {
-       Should(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
-       ShouldNot(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
-
-       To(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
-       ToNot(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
-       NotTo(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
-}
-
-//OmegaMatcher is deprecated in favor of the better-named and better-organized types.GomegaMatcher but sticks around to support existing code that uses it
-type OmegaMatcher types.GomegaMatcher
-
-func toDuration(input interface{}) time.Duration {
-       duration, ok := input.(time.Duration)
-       if ok {
-               return duration
-       }
-
-       value := reflect.ValueOf(input)
-       kind := reflect.TypeOf(input).Kind()
-
-       if reflect.Int <= kind && kind <= reflect.Int64 {
-               return time.Duration(value.Int()) * time.Second
-       } else if reflect.Uint <= kind && kind <= reflect.Uint64 {
-               return time.Duration(value.Uint()) * time.Second
-       } else if reflect.Float32 <= kind && kind <= reflect.Float64 {
-               return time.Duration(value.Float() * float64(time.Second))
-       } else if reflect.String == kind {
-               duration, err := time.ParseDuration(value.String())
-               if err != nil {
-                       panic(fmt.Sprintf("%#v is not a valid parsable duration string.", input))
-               }
-               return duration
-       }
-
-       panic(fmt.Sprintf("%v is not a valid interval.  Must be time.Duration, parsable duration string or a number.", input))
-}
diff --git a/vendor/github.com/onsi/gomega/internal/assertion/assertion.go b/vendor/github.com/onsi/gomega/internal/assertion/assertion.go
deleted file mode 100644 (file)
index b73673f..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-package assertion
-
-import (
-       "fmt"
-       "reflect"
-
-       "github.com/onsi/gomega/types"
-)
-
-type Assertion struct {
-       actualInput interface{}
-       fail        types.GomegaFailHandler
-       offset      int
-       extra       []interface{}
-}
-
-func New(actualInput interface{}, fail types.GomegaFailHandler, offset int, extra ...interface{}) *Assertion {
-       return &Assertion{
-               actualInput: actualInput,
-               fail:        fail,
-               offset:      offset,
-               extra:       extra,
-       }
-}
-
-func (assertion *Assertion) Should(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool {
-       return assertion.vetExtras(optionalDescription...) && assertion.match(matcher, true, optionalDescription...)
-}
-
-func (assertion *Assertion) ShouldNot(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool {
-       return assertion.vetExtras(optionalDescription...) && assertion.match(matcher, false, optionalDescription...)
-}
-
-func (assertion *Assertion) To(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool {
-       return assertion.vetExtras(optionalDescription...) && assertion.match(matcher, true, optionalDescription...)
-}
-
-func (assertion *Assertion) ToNot(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool {
-       return assertion.vetExtras(optionalDescription...) && assertion.match(matcher, false, optionalDescription...)
-}
-
-func (assertion *Assertion) NotTo(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool {
-       return assertion.vetExtras(optionalDescription...) && assertion.match(matcher, false, optionalDescription...)
-}
-
-func (assertion *Assertion) buildDescription(optionalDescription ...interface{}) string {
-       switch len(optionalDescription) {
-       case 0:
-               return ""
-       default:
-               return fmt.Sprintf(optionalDescription[0].(string), optionalDescription[1:]...) + "\n"
-       }
-}
-
-func (assertion *Assertion) match(matcher types.GomegaMatcher, desiredMatch bool, optionalDescription ...interface{}) bool {
-       matches, err := matcher.Match(assertion.actualInput)
-       description := assertion.buildDescription(optionalDescription...)
-       if err != nil {
-               assertion.fail(description+err.Error(), 2+assertion.offset)
-               return false
-       }
-       if matches != desiredMatch {
-               var message string
-               if desiredMatch {
-                       message = matcher.FailureMessage(assertion.actualInput)
-               } else {
-                       message = matcher.NegatedFailureMessage(assertion.actualInput)
-               }
-               assertion.fail(description+message, 2+assertion.offset)
-               return false
-       }
-
-       return true
-}
-
-func (assertion *Assertion) vetExtras(optionalDescription ...interface{}) bool {
-       success, message := vetExtras(assertion.extra)
-       if success {
-               return true
-       }
-
-       description := assertion.buildDescription(optionalDescription...)
-       assertion.fail(description+message, 2+assertion.offset)
-       return false
-}
-
-func vetExtras(extras []interface{}) (bool, string) {
-       for i, extra := range extras {
-               if extra != nil {
-                       zeroValue := reflect.Zero(reflect.TypeOf(extra)).Interface()
-                       if !reflect.DeepEqual(zeroValue, extra) {
-                               message := fmt.Sprintf("Unexpected non-nil/non-zero extra argument at index %d:\n\t<%T>: %#v", i+1, extra, extra)
-                               return false, message
-                       }
-               }
-       }
-       return true, ""
-}
diff --git a/vendor/github.com/onsi/gomega/internal/asyncassertion/async_assertion.go b/vendor/github.com/onsi/gomega/internal/asyncassertion/async_assertion.go
deleted file mode 100644 (file)
index bce0853..0000000
+++ /dev/null
@@ -1,189 +0,0 @@
-package asyncassertion
-
-import (
-       "errors"
-       "fmt"
-       "reflect"
-       "time"
-
-       "github.com/onsi/gomega/internal/oraclematcher"
-       "github.com/onsi/gomega/types"
-)
-
-type AsyncAssertionType uint
-
-const (
-       AsyncAssertionTypeEventually AsyncAssertionType = iota
-       AsyncAssertionTypeConsistently
-)
-
-type AsyncAssertion struct {
-       asyncType       AsyncAssertionType
-       actualInput     interface{}
-       timeoutInterval time.Duration
-       pollingInterval time.Duration
-       fail            types.GomegaFailHandler
-       offset          int
-}
-
-func New(asyncType AsyncAssertionType, actualInput interface{}, fail types.GomegaFailHandler, timeoutInterval time.Duration, pollingInterval time.Duration, offset int) *AsyncAssertion {
-       actualType := reflect.TypeOf(actualInput)
-       if actualType.Kind() == reflect.Func {
-               if actualType.NumIn() != 0 || actualType.NumOut() == 0 {
-                       panic("Expected a function with no arguments and one or more return values.")
-               }
-       }
-
-       return &AsyncAssertion{
-               asyncType:       asyncType,
-               actualInput:     actualInput,
-               fail:            fail,
-               timeoutInterval: timeoutInterval,
-               pollingInterval: pollingInterval,
-               offset:          offset,
-       }
-}
-
-func (assertion *AsyncAssertion) Should(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool {
-       return assertion.match(matcher, true, optionalDescription...)
-}
-
-func (assertion *AsyncAssertion) ShouldNot(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool {
-       return assertion.match(matcher, false, optionalDescription...)
-}
-
-func (assertion *AsyncAssertion) buildDescription(optionalDescription ...interface{}) string {
-       switch len(optionalDescription) {
-       case 0:
-               return ""
-       default:
-               return fmt.Sprintf(optionalDescription[0].(string), optionalDescription[1:]...) + "\n"
-       }
-}
-
-func (assertion *AsyncAssertion) actualInputIsAFunction() bool {
-       actualType := reflect.TypeOf(assertion.actualInput)
-       return actualType.Kind() == reflect.Func && actualType.NumIn() == 0 && actualType.NumOut() > 0
-}
-
-func (assertion *AsyncAssertion) pollActual() (interface{}, error) {
-       if assertion.actualInputIsAFunction() {
-               values := reflect.ValueOf(assertion.actualInput).Call([]reflect.Value{})
-
-               extras := []interface{}{}
-               for _, value := range values[1:] {
-                       extras = append(extras, value.Interface())
-               }
-
-               success, message := vetExtras(extras)
-
-               if !success {
-                       return nil, errors.New(message)
-               }
-
-               return values[0].Interface(), nil
-       }
-
-       return assertion.actualInput, nil
-}
-
-func (assertion *AsyncAssertion) matcherMayChange(matcher types.GomegaMatcher, value interface{}) bool {
-       if assertion.actualInputIsAFunction() {
-               return true
-       }
-
-       return oraclematcher.MatchMayChangeInTheFuture(matcher, value)
-}
-
-func (assertion *AsyncAssertion) match(matcher types.GomegaMatcher, desiredMatch bool, optionalDescription ...interface{}) bool {
-       timer := time.Now()
-       timeout := time.After(assertion.timeoutInterval)
-
-       description := assertion.buildDescription(optionalDescription...)
-
-       var matches bool
-       var err error
-       mayChange := true
-       value, err := assertion.pollActual()
-       if err == nil {
-               mayChange = assertion.matcherMayChange(matcher, value)
-               matches, err = matcher.Match(value)
-       }
-
-       fail := func(preamble string) {
-               errMsg := ""
-               message := ""
-               if err != nil {
-                       errMsg = "Error: " + err.Error()
-               } else {
-                       if desiredMatch {
-                               message = matcher.FailureMessage(value)
-                       } else {
-                               message = matcher.NegatedFailureMessage(value)
-                       }
-               }
-               assertion.fail(fmt.Sprintf("%s after %.3fs.\n%s%s%s", preamble, time.Since(timer).Seconds(), description, message, errMsg), 3+assertion.offset)
-       }
-
-       if assertion.asyncType == AsyncAssertionTypeEventually {
-               for {
-                       if err == nil && matches == desiredMatch {
-                               return true
-                       }
-
-                       if !mayChange {
-                               fail("No future change is possible.  Bailing out early")
-                               return false
-                       }
-
-                       select {
-                       case <-time.After(assertion.pollingInterval):
-                               value, err = assertion.pollActual()
-                               if err == nil {
-                                       mayChange = assertion.matcherMayChange(matcher, value)
-                                       matches, err = matcher.Match(value)
-                               }
-                       case <-timeout:
-                               fail("Timed out")
-                               return false
-                       }
-               }
-       } else if assertion.asyncType == AsyncAssertionTypeConsistently {
-               for {
-                       if !(err == nil && matches == desiredMatch) {
-                               fail("Failed")
-                               return false
-                       }
-
-                       if !mayChange {
-                               return true
-                       }
-
-                       select {
-                       case <-time.After(assertion.pollingInterval):
-                               value, err = assertion.pollActual()
-                               if err == nil {
-                                       mayChange = assertion.matcherMayChange(matcher, value)
-                                       matches, err = matcher.Match(value)
-                               }
-                       case <-timeout:
-                               return true
-                       }
-               }
-       }
-
-       return false
-}
-
-func vetExtras(extras []interface{}) (bool, string) {
-       for i, extra := range extras {
-               if extra != nil {
-                       zeroValue := reflect.Zero(reflect.TypeOf(extra)).Interface()
-                       if !reflect.DeepEqual(zeroValue, extra) {
-                               message := fmt.Sprintf("Unexpected non-nil/non-zero extra argument at index %d:\n\t<%T>: %#v", i+1, extra, extra)
-                               return false, message
-                       }
-               }
-       }
-       return true, ""
-}
diff --git a/vendor/github.com/onsi/gomega/internal/oraclematcher/oracle_matcher.go b/vendor/github.com/onsi/gomega/internal/oraclematcher/oracle_matcher.go
deleted file mode 100644 (file)
index 66cad88..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-package oraclematcher
-
-import "github.com/onsi/gomega/types"
-
-/*
-GomegaMatchers that also match the OracleMatcher interface can convey information about
-whether or not their result will change upon future attempts.
-
-This allows `Eventually` and `Consistently` to short circuit if success becomes impossible.
-
-For example, a process' exit code can never change.  So, gexec's Exit matcher returns `true`
-for `MatchMayChangeInTheFuture` until the process exits, at which point it returns `false` forevermore.
-*/
-type OracleMatcher interface {
-       MatchMayChangeInTheFuture(actual interface{}) bool
-}
-
-func MatchMayChangeInTheFuture(matcher types.GomegaMatcher, value interface{}) bool {
-       oracleMatcher, ok := matcher.(OracleMatcher)
-       if !ok {
-               return true
-       }
-
-       return oracleMatcher.MatchMayChangeInTheFuture(value)
-}
diff --git a/vendor/github.com/onsi/gomega/internal/testingtsupport/testing_t_support.go b/vendor/github.com/onsi/gomega/internal/testingtsupport/testing_t_support.go
deleted file mode 100644 (file)
index 7871fd4..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-package testingtsupport
-
-import (
-       "regexp"
-       "runtime/debug"
-       "strings"
-
-       "github.com/onsi/gomega/types"
-)
-
-type gomegaTestingT interface {
-       Errorf(format string, args ...interface{})
-}
-
-func BuildTestingTGomegaFailHandler(t gomegaTestingT) types.GomegaFailHandler {
-       return func(message string, callerSkip ...int) {
-               skip := 1
-               if len(callerSkip) > 0 {
-                       skip = callerSkip[0]
-               }
-               stackTrace := pruneStack(string(debug.Stack()), skip)
-               t.Errorf("\n%s\n%s", stackTrace, message)
-       }
-}
-
-func pruneStack(fullStackTrace string, skip int) string {
-       stack := strings.Split(fullStackTrace, "\n")
-       if len(stack) > 2*(skip+1) {
-               stack = stack[2*(skip+1):]
-       }
-       prunedStack := []string{}
-       re := regexp.MustCompile(`\/ginkgo\/|\/pkg\/testing\/|\/pkg\/runtime\/`)
-       for i := 0; i < len(stack)/2; i++ {
-               if !re.Match([]byte(stack[i*2])) {
-                       prunedStack = append(prunedStack, stack[i*2])
-                       prunedStack = append(prunedStack, stack[i*2+1])
-               }
-       }
-       return strings.Join(prunedStack, "\n")
-}
diff --git a/vendor/github.com/onsi/gomega/matchers.go b/vendor/github.com/onsi/gomega/matchers.go
deleted file mode 100644 (file)
index ad04ab6..0000000
+++ /dev/null
@@ -1,418 +0,0 @@
-package gomega
-
-import (
-       "time"
-
-       "github.com/onsi/gomega/matchers"
-       "github.com/onsi/gomega/types"
-)
-
-//Equal uses reflect.DeepEqual to compare actual with expected.  Equal is strict about
-//types when performing comparisons.
-//It is an error for both actual and expected to be nil.  Use BeNil() instead.
-func Equal(expected interface{}) types.GomegaMatcher {
-       return &matchers.EqualMatcher{
-               Expected: expected,
-       }
-}
-
-//BeEquivalentTo is more lax than Equal, allowing equality between different types.
-//This is done by converting actual to have the type of expected before
-//attempting equality with reflect.DeepEqual.
-//It is an error for actual and expected to be nil.  Use BeNil() instead.
-func BeEquivalentTo(expected interface{}) types.GomegaMatcher {
-       return &matchers.BeEquivalentToMatcher{
-               Expected: expected,
-       }
-}
-
-//BeIdenticalTo uses the == operator to compare actual with expected.
-//BeIdenticalTo is strict about types when performing comparisons.
-//It is an error for both actual and expected to be nil.  Use BeNil() instead.
-func BeIdenticalTo(expected interface{}) types.GomegaMatcher {
-       return &matchers.BeIdenticalToMatcher{
-               Expected: expected,
-       }
-}
-
-//BeNil succeeds if actual is nil
-func BeNil() types.GomegaMatcher {
-       return &matchers.BeNilMatcher{}
-}
-
-//BeTrue succeeds if actual is true
-func BeTrue() types.GomegaMatcher {
-       return &matchers.BeTrueMatcher{}
-}
-
-//BeFalse succeeds if actual is false
-func BeFalse() types.GomegaMatcher {
-       return &matchers.BeFalseMatcher{}
-}
-
-//HaveOccurred succeeds if actual is a non-nil error
-//The typical Go error checking pattern looks like:
-//    err := SomethingThatMightFail()
-//    Ω(err).ShouldNot(HaveOccurred())
-func HaveOccurred() types.GomegaMatcher {
-       return &matchers.HaveOccurredMatcher{}
-}
-
-//Succeed passes if actual is a nil error
-//Succeed is intended to be used with functions that return a single error value. Instead of
-//    err := SomethingThatMightFail()
-//    Ω(err).ShouldNot(HaveOccurred())
-//
-//You can write:
-//    Ω(SomethingThatMightFail()).Should(Succeed())
-//
-//It is a mistake to use Succeed with a function that has multiple return values.  Gomega's Ω and Expect
-//functions automatically trigger failure if any return values after the first return value are non-zero/non-nil.
-//This means that Ω(MultiReturnFunc()).ShouldNot(Succeed()) can never pass.
-func Succeed() types.GomegaMatcher {
-       return &matchers.SucceedMatcher{}
-}
-
-//MatchError succeeds if actual is a non-nil error that matches the passed in string/error.
-//
-//These are valid use-cases:
-//  Ω(err).Should(MatchError("an error")) //asserts that err.Error() == "an error"
-//  Ω(err).Should(MatchError(SomeError)) //asserts that err == SomeError (via reflect.DeepEqual)
-//
-//It is an error for err to be nil or an object that does not implement the Error interface
-func MatchError(expected interface{}) types.GomegaMatcher {
-       return &matchers.MatchErrorMatcher{
-               Expected: expected,
-       }
-}
-
-//BeClosed succeeds if actual is a closed channel.
-//It is an error to pass a non-channel to BeClosed, it is also an error to pass nil
-//
-//In order to check whether or not the channel is closed, Gomega must try to read from the channel
-//(even in the `ShouldNot(BeClosed())` case).  You should keep this in mind if you wish to make subsequent assertions about
-//values coming down the channel.
-//
-//Also, if you are testing that a *buffered* channel is closed you must first read all values out of the channel before
-//asserting that it is closed (it is not possible to detect that a buffered-channel has been closed until all its buffered values are read).
-//
-//Finally, as a corollary: it is an error to check whether or not a send-only channel is closed.
-func BeClosed() types.GomegaMatcher {
-       return &matchers.BeClosedMatcher{}
-}
-
-//Receive succeeds if there is a value to be received on actual.
-//Actual must be a channel (and cannot be a send-only channel) -- anything else is an error.
-//
-//Receive returns immediately and never blocks:
-//
-//- If there is nothing on the channel `c` then Ω(c).Should(Receive()) will fail and Ω(c).ShouldNot(Receive()) will pass.
-//
-//- If the channel `c` is closed then Ω(c).Should(Receive()) will fail and Ω(c).ShouldNot(Receive()) will pass.
-//
-//- If there is something on the channel `c` ready to be read, then Ω(c).Should(Receive()) will pass and Ω(c).ShouldNot(Receive()) will fail.
-//
-//If you have a go-routine running in the background that will write to channel `c` you can:
-//    Eventually(c).Should(Receive())
-//
-//This will timeout if nothing gets sent to `c` (you can modify the timeout interval as you normally do with `Eventually`)
-//
-//A similar use-case is to assert that no go-routine writes to a channel (for a period of time).  You can do this with `Consistently`:
-//    Consistently(c).ShouldNot(Receive())
-//
-//You can pass `Receive` a matcher.  If you do so, it will match the received object against the matcher.  For example:
-//    Ω(c).Should(Receive(Equal("foo")))
-//
-//When given a matcher, `Receive` will always fail if there is nothing to be received on the channel.
-//
-//Passing Receive a matcher is especially useful when paired with Eventually:
-//
-//    Eventually(c).Should(Receive(ContainSubstring("bar")))
-//
-//will repeatedly attempt to pull values out of `c` until a value matching "bar" is received.
-//
-//Finally, if you want to have a reference to the value *sent* to the channel you can pass the `Receive` matcher a pointer to a variable of the appropriate type:
-//    var myThing thing
-//    Eventually(thingChan).Should(Receive(&myThing))
-//    Ω(myThing.Sprocket).Should(Equal("foo"))
-//    Ω(myThing.IsValid()).Should(BeTrue())
-func Receive(args ...interface{}) types.GomegaMatcher {
-       var arg interface{}
-       if len(args) > 0 {
-               arg = args[0]
-       }
-
-       return &matchers.ReceiveMatcher{
-               Arg: arg,
-       }
-}
-
-//BeSent succeeds if a value can be sent to actual.
-//Actual must be a channel (and cannot be a receive-only channel) that can sent the type of the value passed into BeSent -- anything else is an error.
-//In addition, actual must not be closed.
-//
-//BeSent never blocks:
-//
-//- If the channel `c` is not ready to receive then Ω(c).Should(BeSent("foo")) will fail immediately
-//- If the channel `c` is eventually ready to receive then Eventually(c).Should(BeSent("foo")) will succeed.. presuming the channel becomes ready to receive  before Eventually's timeout
-//- If the channel `c` is closed then Ω(c).Should(BeSent("foo")) and Ω(c).ShouldNot(BeSent("foo")) will both fail immediately
-//
-//Of course, the value is actually sent to the channel.  The point of `BeSent` is less to make an assertion about the availability of the channel (which is typically an implementation detail that your test should not be concerned with).
-//Rather, the point of `BeSent` is to make it possible to easily and expressively write tests that can timeout on blocked channel sends.
-func BeSent(arg interface{}) types.GomegaMatcher {
-       return &matchers.BeSentMatcher{
-               Arg: arg,
-       }
-}
-
-//MatchRegexp succeeds if actual is a string or stringer that matches the
-//passed-in regexp.  Optional arguments can be provided to construct a regexp
-//via fmt.Sprintf().
-func MatchRegexp(regexp string, args ...interface{}) types.GomegaMatcher {
-       return &matchers.MatchRegexpMatcher{
-               Regexp: regexp,
-               Args:   args,
-       }
-}
-
-//ContainSubstring succeeds if actual is a string or stringer that contains the
-//passed-in substring.  Optional arguments can be provided to construct the substring
-//via fmt.Sprintf().
-func ContainSubstring(substr string, args ...interface{}) types.GomegaMatcher {
-       return &matchers.ContainSubstringMatcher{
-               Substr: substr,
-               Args:   args,
-       }
-}
-
-//HavePrefix succeeds if actual is a string or stringer that contains the
-//passed-in string as a prefix.  Optional arguments can be provided to construct
-//via fmt.Sprintf().
-func HavePrefix(prefix string, args ...interface{}) types.GomegaMatcher {
-       return &matchers.HavePrefixMatcher{
-               Prefix: prefix,
-               Args:   args,
-       }
-}
-
-//HaveSuffix succeeds if actual is a string or stringer that contains the
-//passed-in string as a suffix.  Optional arguments can be provided to construct
-//via fmt.Sprintf().
-func HaveSuffix(suffix string, args ...interface{}) types.GomegaMatcher {
-       return &matchers.HaveSuffixMatcher{
-               Suffix: suffix,
-               Args:   args,
-       }
-}
-
-//MatchJSON succeeds if actual is a string or stringer of JSON that matches
-//the expected JSON.  The JSONs are decoded and the resulting objects are compared via
-//reflect.DeepEqual so things like key-ordering and whitespace shouldn't matter.
-func MatchJSON(json interface{}) types.GomegaMatcher {
-       return &matchers.MatchJSONMatcher{
-               JSONToMatch: json,
-       }
-}
-
-//MatchYAML succeeds if actual is a string or stringer of YAML that matches
-//the expected YAML.  The YAML's are decoded and the resulting objects are compared via
-//reflect.DeepEqual so things like key-ordering and whitespace shouldn't matter.
-func MatchYAML(yaml interface{}) types.GomegaMatcher {
-       return &matchers.MatchYAMLMatcher{
-               YAMLToMatch: yaml,
-       }
-}
-
-//BeEmpty succeeds if actual is empty.  Actual must be of type string, array, map, chan, or slice.
-func BeEmpty() types.GomegaMatcher {
-       return &matchers.BeEmptyMatcher{}
-}
-
-//HaveLen succeeds if actual has the passed-in length.  Actual must be of type string, array, map, chan, or slice.
-func HaveLen(count int) types.GomegaMatcher {
-       return &matchers.HaveLenMatcher{
-               Count: count,
-       }
-}
-
-//HaveCap succeeds if actual has the passed-in capacity.  Actual must be of type array, chan, or slice.
-func HaveCap(count int) types.GomegaMatcher {
-       return &matchers.HaveCapMatcher{
-               Count: count,
-       }
-}
-
-//BeZero succeeds if actual is the zero value for its type or if actual is nil.
-func BeZero() types.GomegaMatcher {
-       return &matchers.BeZeroMatcher{}
-}
-
-//ContainElement succeeds if actual contains the passed in element.
-//By default ContainElement() uses Equal() to perform the match, however a
-//matcher can be passed in instead:
-//    Ω([]string{"Foo", "FooBar"}).Should(ContainElement(ContainSubstring("Bar")))
-//
-//Actual must be an array, slice or map.
-//For maps, ContainElement searches through the map's values.
-func ContainElement(element interface{}) types.GomegaMatcher {
-       return &matchers.ContainElementMatcher{
-               Element: element,
-       }
-}
-
-//ConsistOf succeeds if actual contains preciely the elements passed into the matcher.  The ordering of the elements does not matter.
-//By default ConsistOf() uses Equal() to match the elements, however custom matchers can be passed in instead.  Here are some examples:
-//
-//    Ω([]string{"Foo", "FooBar"}).Should(ConsistOf("FooBar", "Foo"))
-//    Ω([]string{"Foo", "FooBar"}).Should(ConsistOf(ContainSubstring("Bar"), "Foo"))
-//    Ω([]string{"Foo", "FooBar"}).Should(ConsistOf(ContainSubstring("Foo"), ContainSubstring("Foo")))
-//
-//Actual must be an array, slice or map.  For maps, ConsistOf matches against the map's values.
-//
-//You typically pass variadic arguments to ConsistOf (as in the examples above).  However, if you need to pass in a slice you can provided that it
-//is the only element passed in to ConsistOf:
-//
-//    Ω([]string{"Foo", "FooBar"}).Should(ConsistOf([]string{"FooBar", "Foo"}))
-//
-//Note that Go's type system does not allow you to write this as ConsistOf([]string{"FooBar", "Foo"}...) as []string and []interface{} are different types - hence the need for this special rule.
-func ConsistOf(elements ...interface{}) types.GomegaMatcher {
-       return &matchers.ConsistOfMatcher{
-               Elements: elements,
-       }
-}
-
-//HaveKey succeeds if actual is a map with the passed in key.
-//By default HaveKey uses Equal() to perform the match, however a
-//matcher can be passed in instead:
-//    Ω(map[string]string{"Foo": "Bar", "BazFoo": "Duck"}).Should(HaveKey(MatchRegexp(`.+Foo$`)))
-func HaveKey(key interface{}) types.GomegaMatcher {
-       return &matchers.HaveKeyMatcher{
-               Key: key,
-       }
-}
-
-//HaveKeyWithValue succeeds if actual is a map with the passed in key and value.
-//By default HaveKeyWithValue uses Equal() to perform the match, however a
-//matcher can be passed in instead:
-//    Ω(map[string]string{"Foo": "Bar", "BazFoo": "Duck"}).Should(HaveKeyWithValue("Foo", "Bar"))
-//    Ω(map[string]string{"Foo": "Bar", "BazFoo": "Duck"}).Should(HaveKeyWithValue(MatchRegexp(`.+Foo$`), "Bar"))
-func HaveKeyWithValue(key interface{}, value interface{}) types.GomegaMatcher {
-       return &matchers.HaveKeyWithValueMatcher{
-               Key:   key,
-               Value: value,
-       }
-}
-
-//BeNumerically performs numerical assertions in a type-agnostic way.
-//Actual and expected should be numbers, though the specific type of
-//number is irrelevant (floa32, float64, uint8, etc...).
-//
-//There are six, self-explanatory, supported comparators:
-//    Ω(1.0).Should(BeNumerically("==", 1))
-//    Ω(1.0).Should(BeNumerically("~", 0.999, 0.01))
-//    Ω(1.0).Should(BeNumerically(">", 0.9))
-//    Ω(1.0).Should(BeNumerically(">=", 1.0))
-//    Ω(1.0).Should(BeNumerically("<", 3))
-//    Ω(1.0).Should(BeNumerically("<=", 1.0))
-func BeNumerically(comparator string, compareTo ...interface{}) types.GomegaMatcher {
-       return &matchers.BeNumericallyMatcher{
-               Comparator: comparator,
-               CompareTo:  compareTo,
-       }
-}
-
-//BeTemporally compares time.Time's like BeNumerically
-//Actual and expected must be time.Time. The comparators are the same as for BeNumerically
-//    Ω(time.Now()).Should(BeTemporally(">", time.Time{}))
-//    Ω(time.Now()).Should(BeTemporally("~", time.Now(), time.Second))
-func BeTemporally(comparator string, compareTo time.Time, threshold ...time.Duration) types.GomegaMatcher {
-       return &matchers.BeTemporallyMatcher{
-               Comparator: comparator,
-               CompareTo:  compareTo,
-               Threshold:  threshold,
-       }
-}
-
-//BeAssignableToTypeOf succeeds if actual is assignable to the type of expected.
-//It will return an error when one of the values is nil.
-//       Ω(0).Should(BeAssignableToTypeOf(0))         // Same values
-//       Ω(5).Should(BeAssignableToTypeOf(-1))        // different values same type
-//       Ω("foo").Should(BeAssignableToTypeOf("bar")) // different values same type
-//    Ω(struct{ Foo string }{}).Should(BeAssignableToTypeOf(struct{ Foo string }{}))
-func BeAssignableToTypeOf(expected interface{}) types.GomegaMatcher {
-       return &matchers.AssignableToTypeOfMatcher{
-               Expected: expected,
-       }
-}
-
-//Panic succeeds if actual is a function that, when invoked, panics.
-//Actual must be a function that takes no arguments and returns no results.
-func Panic() types.GomegaMatcher {
-       return &matchers.PanicMatcher{}
-}
-
-//BeAnExistingFile succeeds if a file exists.
-//Actual must be a string representing the abs path to the file being checked.
-func BeAnExistingFile() types.GomegaMatcher {
-       return &matchers.BeAnExistingFileMatcher{}
-}
-
-//BeARegularFile succeeds iff a file exists and is a regular file.
-//Actual must be a string representing the abs path to the file being checked.
-func BeARegularFile() types.GomegaMatcher {
-       return &matchers.BeARegularFileMatcher{}
-}
-
-//BeADirectory succeeds iff a file exists and is a directory.
-//Actual must be a string representing the abs path to the file being checked.
-func BeADirectory() types.GomegaMatcher {
-       return &matchers.BeADirectoryMatcher{}
-}
-
-//And succeeds only if all of the given matchers succeed.
-//The matchers are tried in order, and will fail-fast if one doesn't succeed.
-//  Expect("hi").To(And(HaveLen(2), Equal("hi"))
-//
-//And(), Or(), Not() and WithTransform() allow matchers to be composed into complex expressions.
-func And(ms ...types.GomegaMatcher) types.GomegaMatcher {
-       return &matchers.AndMatcher{Matchers: ms}
-}
-
-//SatisfyAll is an alias for And().
-//  Ω("hi").Should(SatisfyAll(HaveLen(2), Equal("hi")))
-func SatisfyAll(matchers ...types.GomegaMatcher) types.GomegaMatcher {
-       return And(matchers...)
-}
-
-//Or succeeds if any of the given matchers succeed.
-//The matchers are tried in order and will return immediately upon the first successful match.
-//  Expect("hi").To(Or(HaveLen(3), HaveLen(2))
-//
-//And(), Or(), Not() and WithTransform() allow matchers to be composed into complex expressions.
-func Or(ms ...types.GomegaMatcher) types.GomegaMatcher {
-       return &matchers.OrMatcher{Matchers: ms}
-}
-
-//SatisfyAny is an alias for Or().
-//  Expect("hi").SatisfyAny(Or(HaveLen(3), HaveLen(2))
-func SatisfyAny(matchers ...types.GomegaMatcher) types.GomegaMatcher {
-       return Or(matchers...)
-}
-
-//Not negates the given matcher; it succeeds if the given matcher fails.
-//  Expect(1).To(Not(Equal(2))
-//
-//And(), Or(), Not() and WithTransform() allow matchers to be composed into complex expressions.
-func Not(matcher types.GomegaMatcher) types.GomegaMatcher {
-       return &matchers.NotMatcher{Matcher: matcher}
-}
-
-//WithTransform applies the `transform` to the actual value and matches it against `matcher`.
-//The given transform must be a function of one parameter that returns one value.
-//  var plus1 = func(i int) int { return i + 1 }
-//  Expect(1).To(WithTransform(plus1, Equal(2))
-//
-//And(), Or(), Not() and WithTransform() allow matchers to be composed into complex expressions.
-func WithTransform(transform interface{}, matcher types.GomegaMatcher) types.GomegaMatcher {
-       return matchers.NewWithTransformMatcher(transform, matcher)
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/and.go b/vendor/github.com/onsi/gomega/matchers/and.go
deleted file mode 100644 (file)
index 94c42a7..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-
-       "github.com/onsi/gomega/format"
-       "github.com/onsi/gomega/internal/oraclematcher"
-       "github.com/onsi/gomega/types"
-)
-
-type AndMatcher struct {
-       Matchers []types.GomegaMatcher
-
-       // state
-       firstFailedMatcher types.GomegaMatcher
-}
-
-func (m *AndMatcher) Match(actual interface{}) (success bool, err error) {
-       m.firstFailedMatcher = nil
-       for _, matcher := range m.Matchers {
-               success, err := matcher.Match(actual)
-               if !success || err != nil {
-                       m.firstFailedMatcher = matcher
-                       return false, err
-               }
-       }
-       return true, nil
-}
-
-func (m *AndMatcher) FailureMessage(actual interface{}) (message string) {
-       return m.firstFailedMatcher.FailureMessage(actual)
-}
-
-func (m *AndMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       // not the most beautiful list of matchers, but not bad either...
-       return format.Message(actual, fmt.Sprintf("To not satisfy all of these matchers: %s", m.Matchers))
-}
-
-func (m *AndMatcher) MatchMayChangeInTheFuture(actual interface{}) bool {
-       /*
-               Example with 3 matchers: A, B, C
-
-               Match evaluates them: T, F, <?>  => F
-               So match is currently F, what should MatchMayChangeInTheFuture() return?
-               Seems like it only depends on B, since currently B MUST change to allow the result to become T
-
-               Match eval: T, T, T  => T
-               So match is currently T, what should MatchMayChangeInTheFuture() return?
-               Seems to depend on ANY of them being able to change to F.
-       */
-
-       if m.firstFailedMatcher == nil {
-               // so all matchers succeeded.. Any one of them changing would change the result.
-               for _, matcher := range m.Matchers {
-                       if oraclematcher.MatchMayChangeInTheFuture(matcher, actual) {
-                               return true
-                       }
-               }
-               return false // none of were going to change
-       } else {
-               // one of the matchers failed.. it must be able to change in order to affect the result
-               return oraclematcher.MatchMayChangeInTheFuture(m.firstFailedMatcher, actual)
-       }
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/assignable_to_type_of_matcher.go b/vendor/github.com/onsi/gomega/matchers/assignable_to_type_of_matcher.go
deleted file mode 100644 (file)
index 89a1fc2..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "reflect"
-
-       "github.com/onsi/gomega/format"
-)
-
-type AssignableToTypeOfMatcher struct {
-       Expected interface{}
-}
-
-func (matcher *AssignableToTypeOfMatcher) Match(actual interface{}) (success bool, err error) {
-       if actual == nil || matcher.Expected == nil {
-               return false, fmt.Errorf("Refusing to compare <nil> to <nil>.\nBe explicit and use BeNil() instead.  This is to avoid mistakes where both sides of an assertion are erroneously uninitialized.")
-       }
-
-       actualType := reflect.TypeOf(actual)
-       expectedType := reflect.TypeOf(matcher.Expected)
-
-       return actualType.AssignableTo(expectedType), nil
-}
-
-func (matcher *AssignableToTypeOfMatcher) FailureMessage(actual interface{}) string {
-       return format.Message(actual, fmt.Sprintf("to be assignable to the type: %T", matcher.Expected))
-}
-
-func (matcher *AssignableToTypeOfMatcher) NegatedFailureMessage(actual interface{}) string {
-       return format.Message(actual, fmt.Sprintf("not to be assignable to the type: %T", matcher.Expected))
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/be_a_directory.go b/vendor/github.com/onsi/gomega/matchers/be_a_directory.go
deleted file mode 100644 (file)
index 7b6975e..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "os"
-
-       "github.com/onsi/gomega/format"
-)
-
-type notADirectoryError struct {
-       os.FileInfo
-}
-
-func (t notADirectoryError) Error() string {
-       fileInfo := os.FileInfo(t)
-       switch {
-       case fileInfo.Mode().IsRegular():
-               return "file is a regular file"
-       default:
-               return fmt.Sprintf("file mode is: %s", fileInfo.Mode().String())
-       }
-}
-
-type BeADirectoryMatcher struct {
-       expected interface{}
-       err      error
-}
-
-func (matcher *BeADirectoryMatcher) Match(actual interface{}) (success bool, err error) {
-       actualFilename, ok := actual.(string)
-       if !ok {
-               return false, fmt.Errorf("BeADirectoryMatcher matcher expects a file path")
-       }
-
-       fileInfo, err := os.Stat(actualFilename)
-       if err != nil {
-               matcher.err = err
-               return false, nil
-       }
-
-       if !fileInfo.Mode().IsDir() {
-               matcher.err = notADirectoryError{fileInfo}
-               return false, nil
-       }
-       return true, nil
-}
-
-func (matcher *BeADirectoryMatcher) FailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, fmt.Sprintf("to be a directory: %s", matcher.err))
-}
-
-func (matcher *BeADirectoryMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, fmt.Sprintf("not be a directory"))
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/be_a_regular_file.go b/vendor/github.com/onsi/gomega/matchers/be_a_regular_file.go
deleted file mode 100644 (file)
index e239131..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "os"
-
-       "github.com/onsi/gomega/format"
-)
-
-type notARegularFileError struct {
-       os.FileInfo
-}
-
-func (t notARegularFileError) Error() string {
-       fileInfo := os.FileInfo(t)
-       switch {
-       case fileInfo.IsDir():
-               return "file is a directory"
-       default:
-               return fmt.Sprintf("file mode is: %s", fileInfo.Mode().String())
-       }
-}
-
-type BeARegularFileMatcher struct {
-       expected interface{}
-       err      error
-}
-
-func (matcher *BeARegularFileMatcher) Match(actual interface{}) (success bool, err error) {
-       actualFilename, ok := actual.(string)
-       if !ok {
-               return false, fmt.Errorf("BeARegularFileMatcher matcher expects a file path")
-       }
-
-       fileInfo, err := os.Stat(actualFilename)
-       if err != nil {
-               matcher.err = err
-               return false, nil
-       }
-
-       if !fileInfo.Mode().IsRegular() {
-               matcher.err = notARegularFileError{fileInfo}
-               return false, nil
-       }
-       return true, nil
-}
-
-func (matcher *BeARegularFileMatcher) FailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, fmt.Sprintf("to be a regular file: %s", matcher.err))
-}
-
-func (matcher *BeARegularFileMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, fmt.Sprintf("not be a regular file"))
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/be_an_existing_file.go b/vendor/github.com/onsi/gomega/matchers/be_an_existing_file.go
deleted file mode 100644 (file)
index d42eba2..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "os"
-
-       "github.com/onsi/gomega/format"
-)
-
-type BeAnExistingFileMatcher struct {
-       expected interface{}
-}
-
-func (matcher *BeAnExistingFileMatcher) Match(actual interface{}) (success bool, err error) {
-       actualFilename, ok := actual.(string)
-       if !ok {
-               return false, fmt.Errorf("BeAnExistingFileMatcher matcher expects a file path")
-       }
-
-       if _, err = os.Stat(actualFilename); err != nil {
-               switch {
-               case os.IsNotExist(err):
-                       return false, nil
-               default:
-                       return false, err
-               }
-       }
-
-       return true, nil
-}
-
-func (matcher *BeAnExistingFileMatcher) FailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, fmt.Sprintf("to exist"))
-}
-
-func (matcher *BeAnExistingFileMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, fmt.Sprintf("not to exist"))
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/be_closed_matcher.go b/vendor/github.com/onsi/gomega/matchers/be_closed_matcher.go
deleted file mode 100644 (file)
index c1b4995..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "github.com/onsi/gomega/format"
-       "reflect"
-)
-
-type BeClosedMatcher struct {
-}
-
-func (matcher *BeClosedMatcher) Match(actual interface{}) (success bool, err error) {
-       if !isChan(actual) {
-               return false, fmt.Errorf("BeClosed matcher expects a channel.  Got:\n%s", format.Object(actual, 1))
-       }
-
-       channelType := reflect.TypeOf(actual)
-       channelValue := reflect.ValueOf(actual)
-
-       if channelType.ChanDir() == reflect.SendDir {
-               return false, fmt.Errorf("BeClosed matcher cannot determine if a send-only channel is closed or open.  Got:\n%s", format.Object(actual, 1))
-       }
-
-       winnerIndex, _, open := reflect.Select([]reflect.SelectCase{
-               reflect.SelectCase{Dir: reflect.SelectRecv, Chan: channelValue},
-               reflect.SelectCase{Dir: reflect.SelectDefault},
-       })
-
-       var closed bool
-       if winnerIndex == 0 {
-               closed = !open
-       } else if winnerIndex == 1 {
-               closed = false
-       }
-
-       return closed, nil
-}
-
-func (matcher *BeClosedMatcher) FailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "to be closed")
-}
-
-func (matcher *BeClosedMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "to be open")
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/be_empty_matcher.go b/vendor/github.com/onsi/gomega/matchers/be_empty_matcher.go
deleted file mode 100644 (file)
index 55bdd7d..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "github.com/onsi/gomega/format"
-)
-
-type BeEmptyMatcher struct {
-}
-
-func (matcher *BeEmptyMatcher) Match(actual interface{}) (success bool, err error) {
-       length, ok := lengthOf(actual)
-       if !ok {
-               return false, fmt.Errorf("BeEmpty matcher expects a string/array/map/channel/slice.  Got:\n%s", format.Object(actual, 1))
-       }
-
-       return length == 0, nil
-}
-
-func (matcher *BeEmptyMatcher) FailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "to be empty")
-}
-
-func (matcher *BeEmptyMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "not to be empty")
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/be_equivalent_to_matcher.go b/vendor/github.com/onsi/gomega/matchers/be_equivalent_to_matcher.go
deleted file mode 100644 (file)
index 32a0c31..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "github.com/onsi/gomega/format"
-       "reflect"
-)
-
-type BeEquivalentToMatcher struct {
-       Expected interface{}
-}
-
-func (matcher *BeEquivalentToMatcher) Match(actual interface{}) (success bool, err error) {
-       if actual == nil && matcher.Expected == nil {
-               return false, fmt.Errorf("Both actual and expected must not be nil.")
-       }
-
-       convertedActual := actual
-
-       if actual != nil && matcher.Expected != nil && reflect.TypeOf(actual).ConvertibleTo(reflect.TypeOf(matcher.Expected)) {
-               convertedActual = reflect.ValueOf(actual).Convert(reflect.TypeOf(matcher.Expected)).Interface()
-       }
-
-       return reflect.DeepEqual(convertedActual, matcher.Expected), nil
-}
-
-func (matcher *BeEquivalentToMatcher) FailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "to be equivalent to", matcher.Expected)
-}
-
-func (matcher *BeEquivalentToMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "not to be equivalent to", matcher.Expected)
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/be_false_matcher.go b/vendor/github.com/onsi/gomega/matchers/be_false_matcher.go
deleted file mode 100644 (file)
index 0b224cb..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "github.com/onsi/gomega/format"
-)
-
-type BeFalseMatcher struct {
-}
-
-func (matcher *BeFalseMatcher) Match(actual interface{}) (success bool, err error) {
-       if !isBool(actual) {
-               return false, fmt.Errorf("Expected a boolean.  Got:\n%s", format.Object(actual, 1))
-       }
-
-       return actual == false, nil
-}
-
-func (matcher *BeFalseMatcher) FailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "to be false")
-}
-
-func (matcher *BeFalseMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "not to be false")
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/be_identical_to.go b/vendor/github.com/onsi/gomega/matchers/be_identical_to.go
deleted file mode 100644 (file)
index fdcda4d..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "runtime"
-
-       "github.com/onsi/gomega/format"
-)
-
-type BeIdenticalToMatcher struct {
-       Expected interface{}
-}
-
-func (matcher *BeIdenticalToMatcher) Match(actual interface{}) (success bool, matchErr error) {
-       if actual == nil && matcher.Expected == nil {
-               return false, fmt.Errorf("Refusing to compare <nil> to <nil>.\nBe explicit and use BeNil() instead.  This is to avoid mistakes where both sides of an assertion are erroneously uninitialized.")
-       }
-
-       defer func() {
-               if r := recover(); r != nil {
-                       if _, ok := r.(runtime.Error); ok {
-                               success = false
-                               matchErr = nil
-                       }
-               }
-       }()
-
-       return actual == matcher.Expected, nil
-}
-
-func (matcher *BeIdenticalToMatcher) FailureMessage(actual interface{}) string {
-       return format.Message(actual, "to be identical to", matcher.Expected)
-}
-
-func (matcher *BeIdenticalToMatcher) NegatedFailureMessage(actual interface{}) string {
-       return format.Message(actual, "not to be identical to", matcher.Expected)
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/be_nil_matcher.go b/vendor/github.com/onsi/gomega/matchers/be_nil_matcher.go
deleted file mode 100644 (file)
index 7ee84fe..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-package matchers
-
-import "github.com/onsi/gomega/format"
-
-type BeNilMatcher struct {
-}
-
-func (matcher *BeNilMatcher) Match(actual interface{}) (success bool, err error) {
-       return isNil(actual), nil
-}
-
-func (matcher *BeNilMatcher) FailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "to be nil")
-}
-
-func (matcher *BeNilMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "not to be nil")
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/be_numerically_matcher.go b/vendor/github.com/onsi/gomega/matchers/be_numerically_matcher.go
deleted file mode 100644 (file)
index 0c157f6..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "math"
-
-       "github.com/onsi/gomega/format"
-)
-
-type BeNumericallyMatcher struct {
-       Comparator string
-       CompareTo  []interface{}
-}
-
-func (matcher *BeNumericallyMatcher) FailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, fmt.Sprintf("to be %s", matcher.Comparator), matcher.CompareTo[0])
-}
-
-func (matcher *BeNumericallyMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, fmt.Sprintf("not to be %s", matcher.Comparator), matcher.CompareTo[0])
-}
-
-func (matcher *BeNumericallyMatcher) Match(actual interface{}) (success bool, err error) {
-       if len(matcher.CompareTo) == 0 || len(matcher.CompareTo) > 2 {
-               return false, fmt.Errorf("BeNumerically requires 1 or 2 CompareTo arguments.  Got:\n%s", format.Object(matcher.CompareTo, 1))
-       }
-       if !isNumber(actual) {
-               return false, fmt.Errorf("Expected a number.  Got:\n%s", format.Object(actual, 1))
-       }
-       if !isNumber(matcher.CompareTo[0]) {
-               return false, fmt.Errorf("Expected a number.  Got:\n%s", format.Object(matcher.CompareTo[0], 1))
-       }
-       if len(matcher.CompareTo) == 2 && !isNumber(matcher.CompareTo[1]) {
-               return false, fmt.Errorf("Expected a number.  Got:\n%s", format.Object(matcher.CompareTo[0], 1))
-       }
-
-       switch matcher.Comparator {
-       case "==", "~", ">", ">=", "<", "<=":
-       default:
-               return false, fmt.Errorf("Unknown comparator: %s", matcher.Comparator)
-       }
-
-       if isFloat(actual) || isFloat(matcher.CompareTo[0]) {
-               var secondOperand float64 = 1e-8
-               if len(matcher.CompareTo) == 2 {
-                       secondOperand = toFloat(matcher.CompareTo[1])
-               }
-               success = matcher.matchFloats(toFloat(actual), toFloat(matcher.CompareTo[0]), secondOperand)
-       } else if isInteger(actual) {
-               var secondOperand int64 = 0
-               if len(matcher.CompareTo) == 2 {
-                       secondOperand = toInteger(matcher.CompareTo[1])
-               }
-               success = matcher.matchIntegers(toInteger(actual), toInteger(matcher.CompareTo[0]), secondOperand)
-       } else if isUnsignedInteger(actual) {
-               var secondOperand uint64 = 0
-               if len(matcher.CompareTo) == 2 {
-                       secondOperand = toUnsignedInteger(matcher.CompareTo[1])
-               }
-               success = matcher.matchUnsignedIntegers(toUnsignedInteger(actual), toUnsignedInteger(matcher.CompareTo[0]), secondOperand)
-       } else {
-               return false, fmt.Errorf("Failed to compare:\n%s\n%s:\n%s", format.Object(actual, 1), matcher.Comparator, format.Object(matcher.CompareTo[0], 1))
-       }
-
-       return success, nil
-}
-
-func (matcher *BeNumericallyMatcher) matchIntegers(actual, compareTo, threshold int64) (success bool) {
-       switch matcher.Comparator {
-       case "==", "~":
-               diff := actual - compareTo
-               return -threshold <= diff && diff <= threshold
-       case ">":
-               return (actual > compareTo)
-       case ">=":
-               return (actual >= compareTo)
-       case "<":
-               return (actual < compareTo)
-       case "<=":
-               return (actual <= compareTo)
-       }
-       return false
-}
-
-func (matcher *BeNumericallyMatcher) matchUnsignedIntegers(actual, compareTo, threshold uint64) (success bool) {
-       switch matcher.Comparator {
-       case "==", "~":
-               if actual < compareTo {
-                       actual, compareTo = compareTo, actual
-               }
-               return actual-compareTo <= threshold
-       case ">":
-               return (actual > compareTo)
-       case ">=":
-               return (actual >= compareTo)
-       case "<":
-               return (actual < compareTo)
-       case "<=":
-               return (actual <= compareTo)
-       }
-       return false
-}
-
-func (matcher *BeNumericallyMatcher) matchFloats(actual, compareTo, threshold float64) (success bool) {
-       switch matcher.Comparator {
-       case "~":
-               return math.Abs(actual-compareTo) <= threshold
-       case "==":
-               return (actual == compareTo)
-       case ">":
-               return (actual > compareTo)
-       case ">=":
-               return (actual >= compareTo)
-       case "<":
-               return (actual < compareTo)
-       case "<=":
-               return (actual <= compareTo)
-       }
-       return false
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/be_sent_matcher.go b/vendor/github.com/onsi/gomega/matchers/be_sent_matcher.go
deleted file mode 100644 (file)
index d7c3223..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "reflect"
-
-       "github.com/onsi/gomega/format"
-)
-
-type BeSentMatcher struct {
-       Arg           interface{}
-       channelClosed bool
-}
-
-func (matcher *BeSentMatcher) Match(actual interface{}) (success bool, err error) {
-       if !isChan(actual) {
-               return false, fmt.Errorf("BeSent expects a channel.  Got:\n%s", format.Object(actual, 1))
-       }
-
-       channelType := reflect.TypeOf(actual)
-       channelValue := reflect.ValueOf(actual)
-
-       if channelType.ChanDir() == reflect.RecvDir {
-               return false, fmt.Errorf("BeSent matcher cannot be passed a receive-only channel.  Got:\n%s", format.Object(actual, 1))
-       }
-
-       argType := reflect.TypeOf(matcher.Arg)
-       assignable := argType.AssignableTo(channelType.Elem())
-
-       if !assignable {
-               return false, fmt.Errorf("Cannot pass:\n%s to the channel:\n%s\nThe types don't match.", format.Object(matcher.Arg, 1), format.Object(actual, 1))
-       }
-
-       argValue := reflect.ValueOf(matcher.Arg)
-
-       defer func() {
-               if e := recover(); e != nil {
-                       success = false
-                       err = fmt.Errorf("Cannot send to a closed channel")
-                       matcher.channelClosed = true
-               }
-       }()
-
-       winnerIndex, _, _ := reflect.Select([]reflect.SelectCase{
-               reflect.SelectCase{Dir: reflect.SelectSend, Chan: channelValue, Send: argValue},
-               reflect.SelectCase{Dir: reflect.SelectDefault},
-       })
-
-       var didSend bool
-       if winnerIndex == 0 {
-               didSend = true
-       }
-
-       return didSend, nil
-}
-
-func (matcher *BeSentMatcher) FailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "to send:", matcher.Arg)
-}
-
-func (matcher *BeSentMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "not to send:", matcher.Arg)
-}
-
-func (matcher *BeSentMatcher) MatchMayChangeInTheFuture(actual interface{}) bool {
-       if !isChan(actual) {
-               return false
-       }
-
-       return !matcher.channelClosed
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/be_temporally_matcher.go b/vendor/github.com/onsi/gomega/matchers/be_temporally_matcher.go
deleted file mode 100644 (file)
index abda4eb..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "github.com/onsi/gomega/format"
-       "time"
-)
-
-type BeTemporallyMatcher struct {
-       Comparator string
-       CompareTo  time.Time
-       Threshold  []time.Duration
-}
-
-func (matcher *BeTemporallyMatcher) FailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, fmt.Sprintf("to be %s", matcher.Comparator), matcher.CompareTo)
-}
-
-func (matcher *BeTemporallyMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, fmt.Sprintf("not to be %s", matcher.Comparator), matcher.CompareTo)
-}
-
-func (matcher *BeTemporallyMatcher) Match(actual interface{}) (bool, error) {
-       // predicate to test for time.Time type
-       isTime := func(t interface{}) bool {
-               _, ok := t.(time.Time)
-               return ok
-       }
-
-       if !isTime(actual) {
-               return false, fmt.Errorf("Expected a time.Time.  Got:\n%s", format.Object(actual, 1))
-       }
-
-       switch matcher.Comparator {
-       case "==", "~", ">", ">=", "<", "<=":
-       default:
-               return false, fmt.Errorf("Unknown comparator: %s", matcher.Comparator)
-       }
-
-       var threshold = time.Millisecond
-       if len(matcher.Threshold) == 1 {
-               threshold = matcher.Threshold[0]
-       }
-
-       return matcher.matchTimes(actual.(time.Time), matcher.CompareTo, threshold), nil
-}
-
-func (matcher *BeTemporallyMatcher) matchTimes(actual, compareTo time.Time, threshold time.Duration) (success bool) {
-       switch matcher.Comparator {
-       case "==":
-               return actual.Equal(compareTo)
-       case "~":
-               diff := actual.Sub(compareTo)
-               return -threshold <= diff && diff <= threshold
-       case ">":
-               return actual.After(compareTo)
-       case ">=":
-               return !actual.Before(compareTo)
-       case "<":
-               return actual.Before(compareTo)
-       case "<=":
-               return !actual.After(compareTo)
-       }
-       return false
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/be_true_matcher.go b/vendor/github.com/onsi/gomega/matchers/be_true_matcher.go
deleted file mode 100644 (file)
index 1275e5f..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "github.com/onsi/gomega/format"
-)
-
-type BeTrueMatcher struct {
-}
-
-func (matcher *BeTrueMatcher) Match(actual interface{}) (success bool, err error) {
-       if !isBool(actual) {
-               return false, fmt.Errorf("Expected a boolean.  Got:\n%s", format.Object(actual, 1))
-       }
-
-       return actual.(bool), nil
-}
-
-func (matcher *BeTrueMatcher) FailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "to be true")
-}
-
-func (matcher *BeTrueMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "not to be true")
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/be_zero_matcher.go b/vendor/github.com/onsi/gomega/matchers/be_zero_matcher.go
deleted file mode 100644 (file)
index b39c914..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-package matchers
-
-import (
-       "github.com/onsi/gomega/format"
-       "reflect"
-)
-
-type BeZeroMatcher struct {
-}
-
-func (matcher *BeZeroMatcher) Match(actual interface{}) (success bool, err error) {
-       if actual == nil {
-               return true, nil
-       }
-       zeroValue := reflect.Zero(reflect.TypeOf(actual)).Interface()
-
-       return reflect.DeepEqual(zeroValue, actual), nil
-
-}
-
-func (matcher *BeZeroMatcher) FailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "to be zero-valued")
-}
-
-func (matcher *BeZeroMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "not to be zero-valued")
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/consist_of.go b/vendor/github.com/onsi/gomega/matchers/consist_of.go
deleted file mode 100644 (file)
index 7b0e088..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "reflect"
-
-       "github.com/onsi/gomega/format"
-       "github.com/onsi/gomega/matchers/support/goraph/bipartitegraph"
-)
-
-type ConsistOfMatcher struct {
-       Elements []interface{}
-}
-
-func (matcher *ConsistOfMatcher) Match(actual interface{}) (success bool, err error) {
-       if !isArrayOrSlice(actual) && !isMap(actual) {
-               return false, fmt.Errorf("ConsistOf matcher expects an array/slice/map.  Got:\n%s", format.Object(actual, 1))
-       }
-
-       elements := matcher.Elements
-       if len(matcher.Elements) == 1 && isArrayOrSlice(matcher.Elements[0]) {
-               elements = []interface{}{}
-               value := reflect.ValueOf(matcher.Elements[0])
-               for i := 0; i < value.Len(); i++ {
-                       elements = append(elements, value.Index(i).Interface())
-               }
-       }
-
-       matchers := []interface{}{}
-       for _, element := range elements {
-               matcher, isMatcher := element.(omegaMatcher)
-               if !isMatcher {
-                       matcher = &EqualMatcher{Expected: element}
-               }
-               matchers = append(matchers, matcher)
-       }
-
-       values := matcher.valuesOf(actual)
-
-       if len(values) != len(matchers) {
-               return false, nil
-       }
-
-       neighbours := func(v, m interface{}) (bool, error) {
-               match, err := m.(omegaMatcher).Match(v)
-               return match && err == nil, nil
-       }
-
-       bipartiteGraph, err := bipartitegraph.NewBipartiteGraph(values, matchers, neighbours)
-       if err != nil {
-               return false, err
-       }
-
-       return len(bipartiteGraph.LargestMatching()) == len(values), nil
-}
-
-func (matcher *ConsistOfMatcher) valuesOf(actual interface{}) []interface{} {
-       value := reflect.ValueOf(actual)
-       values := []interface{}{}
-       if isMap(actual) {
-               keys := value.MapKeys()
-               for i := 0; i < value.Len(); i++ {
-                       values = append(values, value.MapIndex(keys[i]).Interface())
-               }
-       } else {
-               for i := 0; i < value.Len(); i++ {
-                       values = append(values, value.Index(i).Interface())
-               }
-       }
-
-       return values
-}
-
-func (matcher *ConsistOfMatcher) FailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "to consist of", matcher.Elements)
-}
-
-func (matcher *ConsistOfMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "not to consist of", matcher.Elements)
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/contain_element_matcher.go b/vendor/github.com/onsi/gomega/matchers/contain_element_matcher.go
deleted file mode 100644 (file)
index 4159335..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "reflect"
-
-       "github.com/onsi/gomega/format"
-)
-
-type ContainElementMatcher struct {
-       Element interface{}
-}
-
-func (matcher *ContainElementMatcher) Match(actual interface{}) (success bool, err error) {
-       if !isArrayOrSlice(actual) && !isMap(actual) {
-               return false, fmt.Errorf("ContainElement matcher expects an array/slice/map.  Got:\n%s", format.Object(actual, 1))
-       }
-
-       elemMatcher, elementIsMatcher := matcher.Element.(omegaMatcher)
-       if !elementIsMatcher {
-               elemMatcher = &EqualMatcher{Expected: matcher.Element}
-       }
-
-       value := reflect.ValueOf(actual)
-       var keys []reflect.Value
-       if isMap(actual) {
-               keys = value.MapKeys()
-       }
-       var lastError error
-       for i := 0; i < value.Len(); i++ {
-               var success bool
-               var err error
-               if isMap(actual) {
-                       success, err = elemMatcher.Match(value.MapIndex(keys[i]).Interface())
-               } else {
-                       success, err = elemMatcher.Match(value.Index(i).Interface())
-               }
-               if err != nil {
-                       lastError = err
-                       continue
-               }
-               if success {
-                       return true, nil
-               }
-       }
-
-       return false, lastError
-}
-
-func (matcher *ContainElementMatcher) FailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "to contain element matching", matcher.Element)
-}
-
-func (matcher *ContainElementMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "not to contain element matching", matcher.Element)
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/contain_substring_matcher.go b/vendor/github.com/onsi/gomega/matchers/contain_substring_matcher.go
deleted file mode 100644 (file)
index 2e76089..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "github.com/onsi/gomega/format"
-       "strings"
-)
-
-type ContainSubstringMatcher struct {
-       Substr string
-       Args   []interface{}
-}
-
-func (matcher *ContainSubstringMatcher) Match(actual interface{}) (success bool, err error) {
-       actualString, ok := toString(actual)
-       if !ok {
-               return false, fmt.Errorf("ContainSubstring matcher requires a string or stringer.  Got:\n%s", format.Object(actual, 1))
-       }
-
-       return strings.Contains(actualString, matcher.stringToMatch()), nil
-}
-
-func (matcher *ContainSubstringMatcher) stringToMatch() string {
-       stringToMatch := matcher.Substr
-       if len(matcher.Args) > 0 {
-               stringToMatch = fmt.Sprintf(matcher.Substr, matcher.Args...)
-       }
-       return stringToMatch
-}
-
-func (matcher *ContainSubstringMatcher) FailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "to contain substring", matcher.stringToMatch())
-}
-
-func (matcher *ContainSubstringMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "not to contain substring", matcher.stringToMatch())
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/equal_matcher.go b/vendor/github.com/onsi/gomega/matchers/equal_matcher.go
deleted file mode 100644 (file)
index 874e6a6..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "reflect"
-
-       "github.com/onsi/gomega/format"
-)
-
-type EqualMatcher struct {
-       Expected interface{}
-}
-
-func (matcher *EqualMatcher) Match(actual interface{}) (success bool, err error) {
-       if actual == nil && matcher.Expected == nil {
-               return false, fmt.Errorf("Refusing to compare <nil> to <nil>.\nBe explicit and use BeNil() instead.  This is to avoid mistakes where both sides of an assertion are erroneously uninitialized.")
-       }
-       return reflect.DeepEqual(actual, matcher.Expected), nil
-}
-
-func (matcher *EqualMatcher) FailureMessage(actual interface{}) (message string) {
-       actualString, actualOK := actual.(string)
-       expectedString, expectedOK := matcher.Expected.(string)
-       if actualOK && expectedOK {
-               return format.MessageWithDiff(actualString, "to equal", expectedString)
-       }
-
-       return format.Message(actual, "to equal", matcher.Expected)
-}
-
-func (matcher *EqualMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "not to equal", matcher.Expected)
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/have_cap_matcher.go b/vendor/github.com/onsi/gomega/matchers/have_cap_matcher.go
deleted file mode 100644 (file)
index 7ace93d..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-
-       "github.com/onsi/gomega/format"
-)
-
-type HaveCapMatcher struct {
-       Count int
-}
-
-func (matcher *HaveCapMatcher) Match(actual interface{}) (success bool, err error) {
-       length, ok := capOf(actual)
-       if !ok {
-               return false, fmt.Errorf("HaveCap matcher expects a array/channel/slice.  Got:\n%s", format.Object(actual, 1))
-       }
-
-       return length == matcher.Count, nil
-}
-
-func (matcher *HaveCapMatcher) FailureMessage(actual interface{}) (message string) {
-       return fmt.Sprintf("Expected\n%s\nto have capacity %d", format.Object(actual, 1), matcher.Count)
-}
-
-func (matcher *HaveCapMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return fmt.Sprintf("Expected\n%s\nnot to have capacity %d", format.Object(actual, 1), matcher.Count)
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/have_key_matcher.go b/vendor/github.com/onsi/gomega/matchers/have_key_matcher.go
deleted file mode 100644 (file)
index 5701ba6..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "github.com/onsi/gomega/format"
-       "reflect"
-)
-
-type HaveKeyMatcher struct {
-       Key interface{}
-}
-
-func (matcher *HaveKeyMatcher) Match(actual interface{}) (success bool, err error) {
-       if !isMap(actual) {
-               return false, fmt.Errorf("HaveKey matcher expects a map.  Got:%s", format.Object(actual, 1))
-       }
-
-       keyMatcher, keyIsMatcher := matcher.Key.(omegaMatcher)
-       if !keyIsMatcher {
-               keyMatcher = &EqualMatcher{Expected: matcher.Key}
-       }
-
-       keys := reflect.ValueOf(actual).MapKeys()
-       for i := 0; i < len(keys); i++ {
-               success, err := keyMatcher.Match(keys[i].Interface())
-               if err != nil {
-                       return false, fmt.Errorf("HaveKey's key matcher failed with:\n%s%s", format.Indent, err.Error())
-               }
-               if success {
-                       return true, nil
-               }
-       }
-
-       return false, nil
-}
-
-func (matcher *HaveKeyMatcher) FailureMessage(actual interface{}) (message string) {
-       switch matcher.Key.(type) {
-       case omegaMatcher:
-               return format.Message(actual, "to have key matching", matcher.Key)
-       default:
-               return format.Message(actual, "to have key", matcher.Key)
-       }
-}
-
-func (matcher *HaveKeyMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       switch matcher.Key.(type) {
-       case omegaMatcher:
-               return format.Message(actual, "not to have key matching", matcher.Key)
-       default:
-               return format.Message(actual, "not to have key", matcher.Key)
-       }
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/have_key_with_value_matcher.go b/vendor/github.com/onsi/gomega/matchers/have_key_with_value_matcher.go
deleted file mode 100644 (file)
index 464ac18..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "github.com/onsi/gomega/format"
-       "reflect"
-)
-
-type HaveKeyWithValueMatcher struct {
-       Key   interface{}
-       Value interface{}
-}
-
-func (matcher *HaveKeyWithValueMatcher) Match(actual interface{}) (success bool, err error) {
-       if !isMap(actual) {
-               return false, fmt.Errorf("HaveKeyWithValue matcher expects a map.  Got:%s", format.Object(actual, 1))
-       }
-
-       keyMatcher, keyIsMatcher := matcher.Key.(omegaMatcher)
-       if !keyIsMatcher {
-               keyMatcher = &EqualMatcher{Expected: matcher.Key}
-       }
-
-       valueMatcher, valueIsMatcher := matcher.Value.(omegaMatcher)
-       if !valueIsMatcher {
-               valueMatcher = &EqualMatcher{Expected: matcher.Value}
-       }
-
-       keys := reflect.ValueOf(actual).MapKeys()
-       for i := 0; i < len(keys); i++ {
-               success, err := keyMatcher.Match(keys[i].Interface())
-               if err != nil {
-                       return false, fmt.Errorf("HaveKeyWithValue's key matcher failed with:\n%s%s", format.Indent, err.Error())
-               }
-               if success {
-                       actualValue := reflect.ValueOf(actual).MapIndex(keys[i])
-                       success, err := valueMatcher.Match(actualValue.Interface())
-                       if err != nil {
-                               return false, fmt.Errorf("HaveKeyWithValue's value matcher failed with:\n%s%s", format.Indent, err.Error())
-                       }
-                       return success, nil
-               }
-       }
-
-       return false, nil
-}
-
-func (matcher *HaveKeyWithValueMatcher) FailureMessage(actual interface{}) (message string) {
-       str := "to have {key: value}"
-       if _, ok := matcher.Key.(omegaMatcher); ok {
-               str += " matching"
-       } else if _, ok := matcher.Value.(omegaMatcher); ok {
-               str += " matching"
-       }
-
-       expect := make(map[interface{}]interface{}, 1)
-       expect[matcher.Key] = matcher.Value
-       return format.Message(actual, str, expect)
-}
-
-func (matcher *HaveKeyWithValueMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       kStr := "not to have key"
-       if _, ok := matcher.Key.(omegaMatcher); ok {
-               kStr = "not to have key matching"
-       }
-
-       vStr := "or that key's value not be"
-       if _, ok := matcher.Value.(omegaMatcher); ok {
-               vStr = "or to have that key's value not matching"
-       }
-
-       return format.Message(actual, kStr, matcher.Key, vStr, matcher.Value)
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/have_len_matcher.go b/vendor/github.com/onsi/gomega/matchers/have_len_matcher.go
deleted file mode 100644 (file)
index a183775..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "github.com/onsi/gomega/format"
-)
-
-type HaveLenMatcher struct {
-       Count int
-}
-
-func (matcher *HaveLenMatcher) Match(actual interface{}) (success bool, err error) {
-       length, ok := lengthOf(actual)
-       if !ok {
-               return false, fmt.Errorf("HaveLen matcher expects a string/array/map/channel/slice.  Got:\n%s", format.Object(actual, 1))
-       }
-
-       return length == matcher.Count, nil
-}
-
-func (matcher *HaveLenMatcher) FailureMessage(actual interface{}) (message string) {
-       return fmt.Sprintf("Expected\n%s\nto have length %d", format.Object(actual, 1), matcher.Count)
-}
-
-func (matcher *HaveLenMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return fmt.Sprintf("Expected\n%s\nnot to have length %d", format.Object(actual, 1), matcher.Count)
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/have_occurred_matcher.go b/vendor/github.com/onsi/gomega/matchers/have_occurred_matcher.go
deleted file mode 100644 (file)
index ebdd717..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-
-       "github.com/onsi/gomega/format"
-)
-
-type HaveOccurredMatcher struct {
-}
-
-func (matcher *HaveOccurredMatcher) Match(actual interface{}) (success bool, err error) {
-       // is purely nil?
-       if actual == nil {
-               return false, nil
-       }
-
-       // must be an 'error' type
-       if !isError(actual) {
-               return false, fmt.Errorf("Expected an error-type.  Got:\n%s", format.Object(actual, 1))
-       }
-
-       // must be non-nil (or a pointer to a non-nil)
-       return !isNil(actual), nil
-}
-
-func (matcher *HaveOccurredMatcher) FailureMessage(actual interface{}) (message string) {
-       return fmt.Sprintf("Expected an error to have occurred.  Got:\n%s", format.Object(actual, 1))
-}
-
-func (matcher *HaveOccurredMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return fmt.Sprintf("Expected error:\n%s\n%s\n%s", format.Object(actual, 1), format.IndentString(actual.(error).Error(), 1), "not to have occurred")
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/have_prefix_matcher.go b/vendor/github.com/onsi/gomega/matchers/have_prefix_matcher.go
deleted file mode 100644 (file)
index 8b63a89..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "github.com/onsi/gomega/format"
-)
-
-type HavePrefixMatcher struct {
-       Prefix string
-       Args   []interface{}
-}
-
-func (matcher *HavePrefixMatcher) Match(actual interface{}) (success bool, err error) {
-       actualString, ok := toString(actual)
-       if !ok {
-               return false, fmt.Errorf("HavePrefix matcher requires a string or stringer.  Got:\n%s", format.Object(actual, 1))
-       }
-       prefix := matcher.prefix()
-       return len(actualString) >= len(prefix) && actualString[0:len(prefix)] == prefix, nil
-}
-
-func (matcher *HavePrefixMatcher) prefix() string {
-       if len(matcher.Args) > 0 {
-               return fmt.Sprintf(matcher.Prefix, matcher.Args...)
-       }
-       return matcher.Prefix
-}
-
-func (matcher *HavePrefixMatcher) FailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "to have prefix", matcher.prefix())
-}
-
-func (matcher *HavePrefixMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "not to have prefix", matcher.prefix())
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/have_suffix_matcher.go b/vendor/github.com/onsi/gomega/matchers/have_suffix_matcher.go
deleted file mode 100644 (file)
index afc78fc..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "github.com/onsi/gomega/format"
-)
-
-type HaveSuffixMatcher struct {
-       Suffix string
-       Args   []interface{}
-}
-
-func (matcher *HaveSuffixMatcher) Match(actual interface{}) (success bool, err error) {
-       actualString, ok := toString(actual)
-       if !ok {
-               return false, fmt.Errorf("HaveSuffix matcher requires a string or stringer.  Got:\n%s", format.Object(actual, 1))
-       }
-       suffix := matcher.suffix()
-       return len(actualString) >= len(suffix) && actualString[len(actualString)-len(suffix):] == suffix, nil
-}
-
-func (matcher *HaveSuffixMatcher) suffix() string {
-       if len(matcher.Args) > 0 {
-               return fmt.Sprintf(matcher.Suffix, matcher.Args...)
-       }
-       return matcher.Suffix
-}
-
-func (matcher *HaveSuffixMatcher) FailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "to have suffix", matcher.suffix())
-}
-
-func (matcher *HaveSuffixMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "not to have suffix", matcher.suffix())
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/match_error_matcher.go b/vendor/github.com/onsi/gomega/matchers/match_error_matcher.go
deleted file mode 100644 (file)
index 03cdf04..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "github.com/onsi/gomega/format"
-       "reflect"
-)
-
-type MatchErrorMatcher struct {
-       Expected interface{}
-}
-
-func (matcher *MatchErrorMatcher) Match(actual interface{}) (success bool, err error) {
-       if isNil(actual) {
-               return false, fmt.Errorf("Expected an error, got nil")
-       }
-
-       if !isError(actual) {
-               return false, fmt.Errorf("Expected an error.  Got:\n%s", format.Object(actual, 1))
-       }
-
-       actualErr := actual.(error)
-
-       if isString(matcher.Expected) {
-               return reflect.DeepEqual(actualErr.Error(), matcher.Expected), nil
-       }
-
-       if isError(matcher.Expected) {
-               return reflect.DeepEqual(actualErr, matcher.Expected), nil
-       }
-
-       var subMatcher omegaMatcher
-       var hasSubMatcher bool
-       if matcher.Expected != nil {
-               subMatcher, hasSubMatcher = (matcher.Expected).(omegaMatcher)
-               if hasSubMatcher {
-                       return subMatcher.Match(actualErr.Error())
-               }
-       }
-
-       return false, fmt.Errorf("MatchError must be passed an error, string, or Matcher that can match on strings.  Got:\n%s", format.Object(matcher.Expected, 1))
-}
-
-func (matcher *MatchErrorMatcher) FailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "to match error", matcher.Expected)
-}
-
-func (matcher *MatchErrorMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "not to match error", matcher.Expected)
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/match_json_matcher.go b/vendor/github.com/onsi/gomega/matchers/match_json_matcher.go
deleted file mode 100644 (file)
index e61978a..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-package matchers
-
-import (
-       "bytes"
-       "encoding/json"
-       "fmt"
-       "reflect"
-
-       "github.com/onsi/gomega/format"
-)
-
-type MatchJSONMatcher struct {
-       JSONToMatch interface{}
-}
-
-func (matcher *MatchJSONMatcher) Match(actual interface{}) (success bool, err error) {
-       actualString, expectedString, err := matcher.prettyPrint(actual)
-       if err != nil {
-               return false, err
-       }
-
-       var aval interface{}
-       var eval interface{}
-
-       // this is guarded by prettyPrint
-       json.Unmarshal([]byte(actualString), &aval)
-       json.Unmarshal([]byte(expectedString), &eval)
-
-       return reflect.DeepEqual(aval, eval), nil
-}
-
-func (matcher *MatchJSONMatcher) FailureMessage(actual interface{}) (message string) {
-       actualString, expectedString, _ := matcher.prettyPrint(actual)
-       return format.Message(actualString, "to match JSON of", expectedString)
-}
-
-func (matcher *MatchJSONMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       actualString, expectedString, _ := matcher.prettyPrint(actual)
-       return format.Message(actualString, "not to match JSON of", expectedString)
-}
-
-func (matcher *MatchJSONMatcher) prettyPrint(actual interface{}) (actualFormatted, expectedFormatted string, err error) {
-       actualString, ok := toString(actual)
-       if !ok {
-               return "", "", fmt.Errorf("MatchJSONMatcher matcher requires a string, stringer, or []byte.  Got actual:\n%s", format.Object(actual, 1))
-       }
-       expectedString, ok := toString(matcher.JSONToMatch)
-       if !ok {
-               return "", "", fmt.Errorf("MatchJSONMatcher matcher requires a string, stringer, or []byte.  Got expected:\n%s", format.Object(matcher.JSONToMatch, 1))
-       }
-
-       abuf := new(bytes.Buffer)
-       ebuf := new(bytes.Buffer)
-
-       if err := json.Indent(abuf, []byte(actualString), "", "  "); err != nil {
-               return "", "", fmt.Errorf("Actual '%s' should be valid JSON, but it is not.\nUnderlying error:%s", actualString, err)
-       }
-
-       if err := json.Indent(ebuf, []byte(expectedString), "", "  "); err != nil {
-               return "", "", fmt.Errorf("Expected '%s' should be valid JSON, but it is not.\nUnderlying error:%s", expectedString, err)
-       }
-
-       return abuf.String(), ebuf.String(), nil
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/match_regexp_matcher.go b/vendor/github.com/onsi/gomega/matchers/match_regexp_matcher.go
deleted file mode 100644 (file)
index 7ca79a1..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "github.com/onsi/gomega/format"
-       "regexp"
-)
-
-type MatchRegexpMatcher struct {
-       Regexp string
-       Args   []interface{}
-}
-
-func (matcher *MatchRegexpMatcher) Match(actual interface{}) (success bool, err error) {
-       actualString, ok := toString(actual)
-       if !ok {
-               return false, fmt.Errorf("RegExp matcher requires a string or stringer.\nGot:%s", format.Object(actual, 1))
-       }
-
-       match, err := regexp.Match(matcher.regexp(), []byte(actualString))
-       if err != nil {
-               return false, fmt.Errorf("RegExp match failed to compile with error:\n\t%s", err.Error())
-       }
-
-       return match, nil
-}
-
-func (matcher *MatchRegexpMatcher) FailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "to match regular expression", matcher.regexp())
-}
-
-func (matcher *MatchRegexpMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "not to match regular expression", matcher.regexp())
-}
-
-func (matcher *MatchRegexpMatcher) regexp() string {
-       re := matcher.Regexp
-       if len(matcher.Args) > 0 {
-               re = fmt.Sprintf(matcher.Regexp, matcher.Args...)
-       }
-       return re
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/match_yaml_matcher.go b/vendor/github.com/onsi/gomega/matchers/match_yaml_matcher.go
deleted file mode 100644 (file)
index 69fb51a..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "reflect"
-       "strings"
-
-       "github.com/onsi/gomega/format"
-       "gopkg.in/yaml.v2"
-)
-
-type MatchYAMLMatcher struct {
-       YAMLToMatch interface{}
-}
-
-func (matcher *MatchYAMLMatcher) Match(actual interface{}) (success bool, err error) {
-       actualString, expectedString, err := matcher.toStrings(actual)
-       if err != nil {
-               return false, err
-       }
-
-       var aval interface{}
-       var eval interface{}
-
-       if err := yaml.Unmarshal([]byte(actualString), &aval); err != nil {
-               return false, fmt.Errorf("Actual '%s' should be valid YAML, but it is not.\nUnderlying error:%s", actualString, err)
-       }
-       if err := yaml.Unmarshal([]byte(expectedString), &eval); err != nil {
-               return false, fmt.Errorf("Expected '%s' should be valid YAML, but it is not.\nUnderlying error:%s", expectedString, err)
-       }
-
-       return reflect.DeepEqual(aval, eval), nil
-}
-
-func (matcher *MatchYAMLMatcher) FailureMessage(actual interface{}) (message string) {
-       actualString, expectedString, _ := matcher.toNormalisedStrings(actual)
-       return format.Message(actualString, "to match YAML of", expectedString)
-}
-
-func (matcher *MatchYAMLMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       actualString, expectedString, _ := matcher.toNormalisedStrings(actual)
-       return format.Message(actualString, "not to match YAML of", expectedString)
-}
-
-func (matcher *MatchYAMLMatcher) toNormalisedStrings(actual interface{}) (actualFormatted, expectedFormatted string, err error) {
-       actualString, expectedString, err := matcher.toStrings(actual)
-       return normalise(actualString), normalise(expectedString), err
-}
-
-func normalise(input string) string {
-       var val interface{}
-       err := yaml.Unmarshal([]byte(input), &val)
-       if err != nil {
-               panic(err) // guarded by Match
-       }
-       output, err := yaml.Marshal(val)
-       if err != nil {
-               panic(err) // guarded by Unmarshal
-       }
-       return strings.TrimSpace(string(output))
-}
-
-func (matcher *MatchYAMLMatcher) toStrings(actual interface{}) (actualFormatted, expectedFormatted string, err error) {
-       actualString, ok := toString(actual)
-       if !ok {
-               return "", "", fmt.Errorf("MatchYAMLMatcher matcher requires a string, stringer, or []byte.  Got actual:\n%s", format.Object(actual, 1))
-       }
-       expectedString, ok := toString(matcher.YAMLToMatch)
-       if !ok {
-               return "", "", fmt.Errorf("MatchYAMLMatcher matcher requires a string, stringer, or []byte.  Got expected:\n%s", format.Object(matcher.YAMLToMatch, 1))
-       }
-
-       return actualString, expectedString, nil
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/not.go b/vendor/github.com/onsi/gomega/matchers/not.go
deleted file mode 100644 (file)
index 2c91670..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-package matchers
-
-import (
-       "github.com/onsi/gomega/internal/oraclematcher"
-       "github.com/onsi/gomega/types"
-)
-
-type NotMatcher struct {
-       Matcher types.GomegaMatcher
-}
-
-func (m *NotMatcher) Match(actual interface{}) (bool, error) {
-       success, err := m.Matcher.Match(actual)
-       if err != nil {
-               return false, err
-       }
-       return !success, nil
-}
-
-func (m *NotMatcher) FailureMessage(actual interface{}) (message string) {
-       return m.Matcher.NegatedFailureMessage(actual) // works beautifully
-}
-
-func (m *NotMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return m.Matcher.FailureMessage(actual) // works beautifully
-}
-
-func (m *NotMatcher) MatchMayChangeInTheFuture(actual interface{}) bool {
-       return oraclematcher.MatchMayChangeInTheFuture(m.Matcher, actual) // just return m.Matcher's value
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/or.go b/vendor/github.com/onsi/gomega/matchers/or.go
deleted file mode 100644 (file)
index 3bf7998..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-
-       "github.com/onsi/gomega/format"
-       "github.com/onsi/gomega/internal/oraclematcher"
-       "github.com/onsi/gomega/types"
-)
-
-type OrMatcher struct {
-       Matchers []types.GomegaMatcher
-
-       // state
-       firstSuccessfulMatcher types.GomegaMatcher
-}
-
-func (m *OrMatcher) Match(actual interface{}) (success bool, err error) {
-       m.firstSuccessfulMatcher = nil
-       for _, matcher := range m.Matchers {
-               success, err := matcher.Match(actual)
-               if err != nil {
-                       return false, err
-               }
-               if success {
-                       m.firstSuccessfulMatcher = matcher
-                       return true, nil
-               }
-       }
-       return false, nil
-}
-
-func (m *OrMatcher) FailureMessage(actual interface{}) (message string) {
-       // not the most beautiful list of matchers, but not bad either...
-       return format.Message(actual, fmt.Sprintf("To satisfy at least one of these matchers: %s", m.Matchers))
-}
-
-func (m *OrMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return m.firstSuccessfulMatcher.NegatedFailureMessage(actual)
-}
-
-func (m *OrMatcher) MatchMayChangeInTheFuture(actual interface{}) bool {
-       /*
-               Example with 3 matchers: A, B, C
-
-               Match evaluates them: F, T, <?>  => T
-               So match is currently T, what should MatchMayChangeInTheFuture() return?
-               Seems like it only depends on B, since currently B MUST change to allow the result to become F
-
-               Match eval: F, F, F  => F
-               So match is currently F, what should MatchMayChangeInTheFuture() return?
-               Seems to depend on ANY of them being able to change to T.
-       */
-
-       if m.firstSuccessfulMatcher != nil {
-               // one of the matchers succeeded.. it must be able to change in order to affect the result
-               return oraclematcher.MatchMayChangeInTheFuture(m.firstSuccessfulMatcher, actual)
-       } else {
-               // so all matchers failed.. Any one of them changing would change the result.
-               for _, matcher := range m.Matchers {
-                       if oraclematcher.MatchMayChangeInTheFuture(matcher, actual) {
-                               return true
-                       }
-               }
-               return false // none of were going to change
-       }
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/panic_matcher.go b/vendor/github.com/onsi/gomega/matchers/panic_matcher.go
deleted file mode 100644 (file)
index 640f4db..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "reflect"
-
-       "github.com/onsi/gomega/format"
-)
-
-type PanicMatcher struct {
-       object interface{}
-}
-
-func (matcher *PanicMatcher) Match(actual interface{}) (success bool, err error) {
-       if actual == nil {
-               return false, fmt.Errorf("PanicMatcher expects a non-nil actual.")
-       }
-
-       actualType := reflect.TypeOf(actual)
-       if actualType.Kind() != reflect.Func {
-               return false, fmt.Errorf("PanicMatcher expects a function.  Got:\n%s", format.Object(actual, 1))
-       }
-       if !(actualType.NumIn() == 0 && actualType.NumOut() == 0) {
-               return false, fmt.Errorf("PanicMatcher expects a function with no arguments and no return value.  Got:\n%s", format.Object(actual, 1))
-       }
-
-       success = false
-       defer func() {
-               if e := recover(); e != nil {
-                       matcher.object = e
-                       success = true
-               }
-       }()
-
-       reflect.ValueOf(actual).Call([]reflect.Value{})
-
-       return
-}
-
-func (matcher *PanicMatcher) FailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, "to panic")
-}
-
-func (matcher *PanicMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return format.Message(actual, fmt.Sprintf("not to panic, but panicked with\n%s", format.Object(matcher.object, 1)))
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/receive_matcher.go b/vendor/github.com/onsi/gomega/matchers/receive_matcher.go
deleted file mode 100644 (file)
index 7a8c2cd..0000000
+++ /dev/null
@@ -1,126 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "reflect"
-
-       "github.com/onsi/gomega/format"
-)
-
-type ReceiveMatcher struct {
-       Arg           interface{}
-       receivedValue reflect.Value
-       channelClosed bool
-}
-
-func (matcher *ReceiveMatcher) Match(actual interface{}) (success bool, err error) {
-       if !isChan(actual) {
-               return false, fmt.Errorf("ReceiveMatcher expects a channel.  Got:\n%s", format.Object(actual, 1))
-       }
-
-       channelType := reflect.TypeOf(actual)
-       channelValue := reflect.ValueOf(actual)
-
-       if channelType.ChanDir() == reflect.SendDir {
-               return false, fmt.Errorf("ReceiveMatcher matcher cannot be passed a send-only channel.  Got:\n%s", format.Object(actual, 1))
-       }
-
-       var subMatcher omegaMatcher
-       var hasSubMatcher bool
-
-       if matcher.Arg != nil {
-               subMatcher, hasSubMatcher = (matcher.Arg).(omegaMatcher)
-               if !hasSubMatcher {
-                       argType := reflect.TypeOf(matcher.Arg)
-                       if argType.Kind() != reflect.Ptr {
-                               return false, fmt.Errorf("Cannot assign a value from the channel:\n%s\nTo:\n%s\nYou need to pass a pointer!", format.Object(actual, 1), format.Object(matcher.Arg, 1))
-                       }
-
-                       assignable := channelType.Elem().AssignableTo(argType.Elem())
-                       if !assignable {
-                               return false, fmt.Errorf("Cannot assign a value from the channel:\n%s\nTo:\n%s", format.Object(actual, 1), format.Object(matcher.Arg, 1))
-                       }
-               }
-       }
-
-       winnerIndex, value, open := reflect.Select([]reflect.SelectCase{
-               reflect.SelectCase{Dir: reflect.SelectRecv, Chan: channelValue},
-               reflect.SelectCase{Dir: reflect.SelectDefault},
-       })
-
-       var closed bool
-       var didReceive bool
-       if winnerIndex == 0 {
-               closed = !open
-               didReceive = open
-       }
-       matcher.channelClosed = closed
-
-       if closed {
-               return false, nil
-       }
-
-       if hasSubMatcher {
-               if didReceive {
-                       matcher.receivedValue = value
-                       return subMatcher.Match(matcher.receivedValue.Interface())
-               } else {
-                       return false, nil
-               }
-       }
-
-       if didReceive {
-               if matcher.Arg != nil {
-                       outValue := reflect.ValueOf(matcher.Arg)
-                       reflect.Indirect(outValue).Set(value)
-               }
-
-               return true, nil
-       } else {
-               return false, nil
-       }
-}
-
-func (matcher *ReceiveMatcher) FailureMessage(actual interface{}) (message string) {
-       subMatcher, hasSubMatcher := (matcher.Arg).(omegaMatcher)
-
-       closedAddendum := ""
-       if matcher.channelClosed {
-               closedAddendum = " The channel is closed."
-       }
-
-       if hasSubMatcher {
-               if matcher.receivedValue.IsValid() {
-                       return subMatcher.FailureMessage(matcher.receivedValue.Interface())
-               }
-               return "When passed a matcher, ReceiveMatcher's channel *must* receive something."
-       } else {
-               return format.Message(actual, "to receive something."+closedAddendum)
-       }
-}
-
-func (matcher *ReceiveMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       subMatcher, hasSubMatcher := (matcher.Arg).(omegaMatcher)
-
-       closedAddendum := ""
-       if matcher.channelClosed {
-               closedAddendum = " The channel is closed."
-       }
-
-       if hasSubMatcher {
-               if matcher.receivedValue.IsValid() {
-                       return subMatcher.NegatedFailureMessage(matcher.receivedValue.Interface())
-               }
-               return "When passed a matcher, ReceiveMatcher's channel *must* receive something."
-       } else {
-               return format.Message(actual, "not to receive anything."+closedAddendum)
-       }
-}
-
-func (matcher *ReceiveMatcher) MatchMayChangeInTheFuture(actual interface{}) bool {
-       if !isChan(actual) {
-               return false
-       }
-
-       return !matcher.channelClosed
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/succeed_matcher.go b/vendor/github.com/onsi/gomega/matchers/succeed_matcher.go
deleted file mode 100644 (file)
index 721ed55..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-
-       "github.com/onsi/gomega/format"
-)
-
-type SucceedMatcher struct {
-}
-
-func (matcher *SucceedMatcher) Match(actual interface{}) (success bool, err error) {
-       // is purely nil?
-       if actual == nil {
-               return true, nil
-       }
-
-       // must be an 'error' type
-       if !isError(actual) {
-               return false, fmt.Errorf("Expected an error-type.  Got:\n%s", format.Object(actual, 1))
-       }
-
-       // must be nil (or a pointer to a nil)
-       return isNil(actual), nil
-}
-
-func (matcher *SucceedMatcher) FailureMessage(actual interface{}) (message string) {
-       return fmt.Sprintf("Expected success, but got an error:\n%s\n%s", format.Object(actual, 1), format.IndentString(actual.(error).Error(), 1))
-}
-
-func (matcher *SucceedMatcher) NegatedFailureMessage(actual interface{}) (message string) {
-       return "Expected failure, but got no error."
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/support/goraph/bipartitegraph/bipartitegraph.go b/vendor/github.com/onsi/gomega/matchers/support/goraph/bipartitegraph/bipartitegraph.go
deleted file mode 100644 (file)
index 119d21e..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-package bipartitegraph
-
-import "errors"
-import "fmt"
-
-import . "github.com/onsi/gomega/matchers/support/goraph/node"
-import . "github.com/onsi/gomega/matchers/support/goraph/edge"
-
-type BipartiteGraph struct {
-       Left  NodeOrderedSet
-       Right NodeOrderedSet
-       Edges EdgeSet
-}
-
-func NewBipartiteGraph(leftValues, rightValues []interface{}, neighbours func(interface{}, interface{}) (bool, error)) (*BipartiteGraph, error) {
-       left := NodeOrderedSet{}
-       for i, _ := range leftValues {
-               left = append(left, Node{i})
-       }
-
-       right := NodeOrderedSet{}
-       for j, _ := range rightValues {
-               right = append(right, Node{j + len(left)})
-       }
-
-       edges := EdgeSet{}
-       for i, leftValue := range leftValues {
-               for j, rightValue := range rightValues {
-                       neighbours, err := neighbours(leftValue, rightValue)
-                       if err != nil {
-                               return nil, errors.New(fmt.Sprintf("error determining adjacency for %v and %v: %s", leftValue, rightValue, err.Error()))
-                       }
-
-                       if neighbours {
-                               edges = append(edges, Edge{left[i], right[j]})
-                       }
-               }
-       }
-
-       return &BipartiteGraph{left, right, edges}, nil
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/support/goraph/bipartitegraph/bipartitegraphmatching.go b/vendor/github.com/onsi/gomega/matchers/support/goraph/bipartitegraph/bipartitegraphmatching.go
deleted file mode 100644 (file)
index 32529c5..0000000
+++ /dev/null
@@ -1,161 +0,0 @@
-package bipartitegraph
-
-import . "github.com/onsi/gomega/matchers/support/goraph/node"
-import . "github.com/onsi/gomega/matchers/support/goraph/edge"
-import "github.com/onsi/gomega/matchers/support/goraph/util"
-
-func (bg *BipartiteGraph) LargestMatching() (matching EdgeSet) {
-       paths := bg.maximalDisjointSLAPCollection(matching)
-
-       for len(paths) > 0 {
-               for _, path := range paths {
-                       matching = matching.SymmetricDifference(path)
-               }
-               paths = bg.maximalDisjointSLAPCollection(matching)
-       }
-
-       return
-}
-
-func (bg *BipartiteGraph) maximalDisjointSLAPCollection(matching EdgeSet) (result []EdgeSet) {
-       guideLayers := bg.createSLAPGuideLayers(matching)
-       if len(guideLayers) == 0 {
-               return
-       }
-
-       used := make(map[Node]bool)
-
-       for _, u := range guideLayers[len(guideLayers)-1] {
-               slap, found := bg.findDisjointSLAP(u, matching, guideLayers, used)
-               if found {
-                       for _, edge := range slap {
-                               used[edge.Node1] = true
-                               used[edge.Node2] = true
-                       }
-                       result = append(result, slap)
-               }
-       }
-
-       return
-}
-
-func (bg *BipartiteGraph) findDisjointSLAP(
-       start Node,
-       matching EdgeSet,
-       guideLayers []NodeOrderedSet,
-       used map[Node]bool,
-) ([]Edge, bool) {
-       return bg.findDisjointSLAPHelper(start, EdgeSet{}, len(guideLayers)-1, matching, guideLayers, used)
-}
-
-func (bg *BipartiteGraph) findDisjointSLAPHelper(
-       currentNode Node,
-       currentSLAP EdgeSet,
-       currentLevel int,
-       matching EdgeSet,
-       guideLayers []NodeOrderedSet,
-       used map[Node]bool,
-) (EdgeSet, bool) {
-       used[currentNode] = true
-
-       if currentLevel == 0 {
-               return currentSLAP, true
-       }
-
-       for _, nextNode := range guideLayers[currentLevel-1] {
-               if used[nextNode] {
-                       continue
-               }
-
-               edge, found := bg.Edges.FindByNodes(currentNode, nextNode)
-               if !found {
-                       continue
-               }
-
-               if matching.Contains(edge) == util.Odd(currentLevel) {
-                       continue
-               }
-
-               currentSLAP = append(currentSLAP, edge)
-               slap, found := bg.findDisjointSLAPHelper(nextNode, currentSLAP, currentLevel-1, matching, guideLayers, used)
-               if found {
-                       return slap, true
-               }
-               currentSLAP = currentSLAP[:len(currentSLAP)-1]
-       }
-
-       used[currentNode] = false
-       return nil, false
-}
-
-func (bg *BipartiteGraph) createSLAPGuideLayers(matching EdgeSet) (guideLayers []NodeOrderedSet) {
-       used := make(map[Node]bool)
-       currentLayer := NodeOrderedSet{}
-
-       for _, node := range bg.Left {
-               if matching.Free(node) {
-                       used[node] = true
-                       currentLayer = append(currentLayer, node)
-               }
-       }
-
-       if len(currentLayer) == 0 {
-               return []NodeOrderedSet{}
-       } else {
-               guideLayers = append(guideLayers, currentLayer)
-       }
-
-       done := false
-
-       for !done {
-               lastLayer := currentLayer
-               currentLayer = NodeOrderedSet{}
-
-               if util.Odd(len(guideLayers)) {
-                       for _, leftNode := range lastLayer {
-                               for _, rightNode := range bg.Right {
-                                       if used[rightNode] {
-                                               continue
-                                       }
-
-                                       edge, found := bg.Edges.FindByNodes(leftNode, rightNode)
-                                       if !found || matching.Contains(edge) {
-                                               continue
-                                       }
-
-                                       currentLayer = append(currentLayer, rightNode)
-                                       used[rightNode] = true
-
-                                       if matching.Free(rightNode) {
-                                               done = true
-                                       }
-                               }
-                       }
-               } else {
-                       for _, rightNode := range lastLayer {
-                               for _, leftNode := range bg.Left {
-                                       if used[leftNode] {
-                                               continue
-                                       }
-
-                                       edge, found := bg.Edges.FindByNodes(leftNode, rightNode)
-                                       if !found || !matching.Contains(edge) {
-                                               continue
-                                       }
-
-                                       currentLayer = append(currentLayer, leftNode)
-                                       used[leftNode] = true
-                               }
-                       }
-
-               }
-
-               if len(currentLayer) == 0 {
-                       return []NodeOrderedSet{}
-               } else {
-                       guideLayers = append(guideLayers, currentLayer)
-               }
-       }
-
-       return
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/support/goraph/edge/edge.go b/vendor/github.com/onsi/gomega/matchers/support/goraph/edge/edge.go
deleted file mode 100644 (file)
index 4fd15cc..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-package edge
-
-import . "github.com/onsi/gomega/matchers/support/goraph/node"
-
-type Edge struct {
-       Node1 Node
-       Node2 Node
-}
-
-type EdgeSet []Edge
-
-func (ec EdgeSet) Free(node Node) bool {
-       for _, e := range ec {
-               if e.Node1 == node || e.Node2 == node {
-                       return false
-               }
-       }
-
-       return true
-}
-
-func (ec EdgeSet) Contains(edge Edge) bool {
-       for _, e := range ec {
-               if e == edge {
-                       return true
-               }
-       }
-
-       return false
-}
-
-func (ec EdgeSet) FindByNodes(node1, node2 Node) (Edge, bool) {
-       for _, e := range ec {
-               if (e.Node1 == node1 && e.Node2 == node2) || (e.Node1 == node2 && e.Node2 == node1) {
-                       return e, true
-               }
-       }
-
-       return Edge{}, false
-}
-
-func (ec EdgeSet) SymmetricDifference(ec2 EdgeSet) EdgeSet {
-       edgesToInclude := make(map[Edge]bool)
-
-       for _, e := range ec {
-               edgesToInclude[e] = true
-       }
-
-       for _, e := range ec2 {
-               edgesToInclude[e] = !edgesToInclude[e]
-       }
-
-       result := EdgeSet{}
-       for e, include := range edgesToInclude {
-               if include {
-                       result = append(result, e)
-               }
-       }
-
-       return result
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/support/goraph/node/node.go b/vendor/github.com/onsi/gomega/matchers/support/goraph/node/node.go
deleted file mode 100644 (file)
index 800c2ea..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-package node
-
-type Node struct {
-       Id int
-}
-
-type NodeOrderedSet []Node
diff --git a/vendor/github.com/onsi/gomega/matchers/support/goraph/util/util.go b/vendor/github.com/onsi/gomega/matchers/support/goraph/util/util.go
deleted file mode 100644 (file)
index d76a1ee..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-package util
-
-import "math"
-
-func Odd(n int) bool {
-       return math.Mod(float64(n), 2.0) == 1.0
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/type_support.go b/vendor/github.com/onsi/gomega/matchers/type_support.go
deleted file mode 100644 (file)
index 04020f0..0000000
+++ /dev/null
@@ -1,176 +0,0 @@
-/*
-Gomega matchers
-
-This package implements the Gomega matchers and does not typically need to be imported.
-See the docs for Gomega for documentation on the matchers
-
-http://onsi.github.io/gomega/
-*/
-package matchers
-
-import (
-       "fmt"
-       "reflect"
-)
-
-type omegaMatcher interface {
-       Match(actual interface{}) (success bool, err error)
-       FailureMessage(actual interface{}) (message string)
-       NegatedFailureMessage(actual interface{}) (message string)
-}
-
-func isBool(a interface{}) bool {
-       return reflect.TypeOf(a).Kind() == reflect.Bool
-}
-
-func isNumber(a interface{}) bool {
-       if a == nil {
-               return false
-       }
-       kind := reflect.TypeOf(a).Kind()
-       return reflect.Int <= kind && kind <= reflect.Float64
-}
-
-func isInteger(a interface{}) bool {
-       kind := reflect.TypeOf(a).Kind()
-       return reflect.Int <= kind && kind <= reflect.Int64
-}
-
-func isUnsignedInteger(a interface{}) bool {
-       kind := reflect.TypeOf(a).Kind()
-       return reflect.Uint <= kind && kind <= reflect.Uint64
-}
-
-func isFloat(a interface{}) bool {
-       kind := reflect.TypeOf(a).Kind()
-       return reflect.Float32 <= kind && kind <= reflect.Float64
-}
-
-func toInteger(a interface{}) int64 {
-       if isInteger(a) {
-               return reflect.ValueOf(a).Int()
-       } else if isUnsignedInteger(a) {
-               return int64(reflect.ValueOf(a).Uint())
-       } else if isFloat(a) {
-               return int64(reflect.ValueOf(a).Float())
-       } else {
-               panic(fmt.Sprintf("Expected a number!  Got <%T> %#v", a, a))
-       }
-}
-
-func toUnsignedInteger(a interface{}) uint64 {
-       if isInteger(a) {
-               return uint64(reflect.ValueOf(a).Int())
-       } else if isUnsignedInteger(a) {
-               return reflect.ValueOf(a).Uint()
-       } else if isFloat(a) {
-               return uint64(reflect.ValueOf(a).Float())
-       } else {
-               panic(fmt.Sprintf("Expected a number!  Got <%T> %#v", a, a))
-       }
-}
-
-func toFloat(a interface{}) float64 {
-       if isInteger(a) {
-               return float64(reflect.ValueOf(a).Int())
-       } else if isUnsignedInteger(a) {
-               return float64(reflect.ValueOf(a).Uint())
-       } else if isFloat(a) {
-               return reflect.ValueOf(a).Float()
-       } else {
-               panic(fmt.Sprintf("Expected a number!  Got <%T> %#v", a, a))
-       }
-}
-
-func isError(a interface{}) bool {
-       _, ok := a.(error)
-       return ok
-}
-
-func isChan(a interface{}) bool {
-       if isNil(a) {
-               return false
-       }
-       return reflect.TypeOf(a).Kind() == reflect.Chan
-}
-
-func isMap(a interface{}) bool {
-       if a == nil {
-               return false
-       }
-       return reflect.TypeOf(a).Kind() == reflect.Map
-}
-
-func isArrayOrSlice(a interface{}) bool {
-       if a == nil {
-               return false
-       }
-       switch reflect.TypeOf(a).Kind() {
-       case reflect.Array, reflect.Slice:
-               return true
-       default:
-               return false
-       }
-}
-
-func isString(a interface{}) bool {
-       if a == nil {
-               return false
-       }
-       return reflect.TypeOf(a).Kind() == reflect.String
-}
-
-func toString(a interface{}) (string, bool) {
-       aString, isString := a.(string)
-       if isString {
-               return aString, true
-       }
-
-       aBytes, isBytes := a.([]byte)
-       if isBytes {
-               return string(aBytes), true
-       }
-
-       aStringer, isStringer := a.(fmt.Stringer)
-       if isStringer {
-               return aStringer.String(), true
-       }
-
-       return "", false
-}
-
-func lengthOf(a interface{}) (int, bool) {
-       if a == nil {
-               return 0, false
-       }
-       switch reflect.TypeOf(a).Kind() {
-       case reflect.Map, reflect.Array, reflect.String, reflect.Chan, reflect.Slice:
-               return reflect.ValueOf(a).Len(), true
-       default:
-               return 0, false
-       }
-}
-func capOf(a interface{}) (int, bool) {
-       if a == nil {
-               return 0, false
-       }
-       switch reflect.TypeOf(a).Kind() {
-       case reflect.Array, reflect.Chan, reflect.Slice:
-               return reflect.ValueOf(a).Cap(), true
-       default:
-               return 0, false
-       }
-}
-
-func isNil(a interface{}) bool {
-       if a == nil {
-               return true
-       }
-
-       switch reflect.TypeOf(a).Kind() {
-       case reflect.Chan, reflect.Func, reflect.Interface, reflect.Map, reflect.Ptr, reflect.Slice:
-               return reflect.ValueOf(a).IsNil()
-       }
-
-       return false
-}
diff --git a/vendor/github.com/onsi/gomega/matchers/with_transform.go b/vendor/github.com/onsi/gomega/matchers/with_transform.go
deleted file mode 100644 (file)
index 8e58d8a..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-package matchers
-
-import (
-       "fmt"
-       "reflect"
-
-       "github.com/onsi/gomega/internal/oraclematcher"
-       "github.com/onsi/gomega/types"
-)
-
-type WithTransformMatcher struct {
-       // input
-       Transform interface{} // must be a function of one parameter that returns one value
-       Matcher   types.GomegaMatcher
-
-       // cached value
-       transformArgType reflect.Type
-
-       // state
-       transformedValue interface{}
-}
-
-func NewWithTransformMatcher(transform interface{}, matcher types.GomegaMatcher) *WithTransformMatcher {
-       if transform == nil {
-               panic("transform function cannot be nil")
-       }
-       txType := reflect.TypeOf(transform)
-       if txType.NumIn() != 1 {
-               panic("transform function must have 1 argument")
-       }
-       if txType.NumOut() != 1 {
-               panic("transform function must have 1 return value")
-       }
-
-       return &WithTransformMatcher{
-               Transform:        transform,
-               Matcher:          matcher,
-               transformArgType: reflect.TypeOf(transform).In(0),
-       }
-}
-
-func (m *WithTransformMatcher) Match(actual interface{}) (bool, error) {
-       // return error if actual's type is incompatible with Transform function's argument type
-       actualType := reflect.TypeOf(actual)
-       if !actualType.AssignableTo(m.transformArgType) {
-               return false, fmt.Errorf("Transform function expects '%s' but we have '%s'", m.transformArgType, actualType)
-       }
-
-       // call the Transform function with `actual`
-       fn := reflect.ValueOf(m.Transform)
-       result := fn.Call([]reflect.Value{reflect.ValueOf(actual)})
-       m.transformedValue = result[0].Interface() // expect exactly one value
-
-       return m.Matcher.Match(m.transformedValue)
-}
-
-func (m *WithTransformMatcher) FailureMessage(_ interface{}) (message string) {
-       return m.Matcher.FailureMessage(m.transformedValue)
-}
-
-func (m *WithTransformMatcher) NegatedFailureMessage(_ interface{}) (message string) {
-       return m.Matcher.NegatedFailureMessage(m.transformedValue)
-}
-
-func (m *WithTransformMatcher) MatchMayChangeInTheFuture(_ interface{}) bool {
-       // TODO: Maybe this should always just return true? (Only an issue for non-deterministic transformers.)
-       //
-       // Querying the next matcher is fine if the transformer always will return the same value.
-       // But if the transformer is non-deterministic and returns a different value each time, then there
-       // is no point in querying the next matcher, since it can only comment on the last transformed value.
-       return oraclematcher.MatchMayChangeInTheFuture(m.Matcher, m.transformedValue)
-}
diff --git a/vendor/github.com/onsi/gomega/types/types.go b/vendor/github.com/onsi/gomega/types/types.go
deleted file mode 100644 (file)
index 1c632ad..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-package types
-
-type GomegaFailHandler func(message string, callerSkip ...int)
-
-//A simple *testing.T interface wrapper
-type GomegaTestingT interface {
-       Errorf(format string, args ...interface{})
-}
-
-//All Gomega matchers must implement the GomegaMatcher interface
-//
-//For details on writing custom matchers, check out: http://onsi.github.io/gomega/#adding_your_own_matchers
-type GomegaMatcher interface {
-       Match(actual interface{}) (success bool, err error)
-       FailureMessage(actual interface{}) (message string)
-       NegatedFailureMessage(actual interface{}) (message string)
-}
diff --git a/vendor/github.com/pkg/profile/.travis.yml b/vendor/github.com/pkg/profile/.travis.yml
deleted file mode 100644 (file)
index 192c5c2..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-language: go
-go_import_path: github.com/pkg/profile
-go:
-  - 1.4.3
-  - 1.5.2
-  - 1.6.3
-  - tip
-
-script:
-  - go test github.com/pkg/profile
-  - go test -race github.com/pkg/profile
diff --git a/vendor/github.com/pkg/profile/AUTHORS b/vendor/github.com/pkg/profile/AUTHORS
deleted file mode 100644 (file)
index 00441d3..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Dave Cheney <dave@cheney.net>
diff --git a/vendor/github.com/pkg/profile/LICENSE b/vendor/github.com/pkg/profile/LICENSE
deleted file mode 100644 (file)
index f747a84..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-Copyright (c) 2013 Dave Cheney. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
-   * Redistributions of source code must retain the above copyright
-notice, this list of conditions and the following disclaimer.
-   * Redistributions in binary form must reproduce the above
-copyright notice, this list of conditions and the following disclaimer
-in the documentation and/or other materials provided with the
-distribution.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/vendor/github.com/pkg/profile/README.md b/vendor/github.com/pkg/profile/README.md
deleted file mode 100644 (file)
index 37bfa58..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-profile
-=======
-
-Simple profiling support package for Go
-
-[![Build Status](https://travis-ci.org/pkg/profile.svg?branch=master)](https://travis-ci.org/pkg/profile) [![GoDoc](http://godoc.org/github.com/pkg/profile?status.svg)](http://godoc.org/github.com/pkg/profile)
-
-
-installation
-------------
-
-    go get github.com/pkg/profile
-
-usage
------
-
-Enabling profiling in your application is as simple as one line at the top of your main function
-
-```go
-import "github.com/pkg/profile"
-
-func main() {
-    defer profile.Start().Stop()
-    ...
-}
-```
-
-options
--------
-
-What to profile is controlled by config value passed to profile.Start. 
-By default CPU profiling is enabled.
-
-```go
-import "github.com/pkg/profile"
-
-func main() {
-    // p.Stop() must be called before the program exits to
-    // ensure profiling information is written to disk.
-    p := profile.Start(profile.MemProfile, profile.ProfilePath("."), profile.NoShutdownHook)
-    ...
-}
-```
-
-Several convenience package level values are provided for cpu, memory, and block (contention) profiling.
-
-For more complex options, consult the [documentation](http://godoc.org/github.com/pkg/profile).
-
-contributing
-------------
-
-We welcome pull requests, bug fixes and issue reports.
-
-Before proposing a change, please discuss it first by raising an issue.
diff --git a/vendor/github.com/pkg/profile/mutex.go b/vendor/github.com/pkg/profile/mutex.go
deleted file mode 100644 (file)
index e69c5b4..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// +build go1.8
-
-package profile
-
-import "runtime"
-
-func enableMutexProfile() {
-       runtime.SetMutexProfileFraction(1)
-}
-
-func disableMutexProfile() {
-       runtime.SetMutexProfileFraction(0)
-}
diff --git a/vendor/github.com/pkg/profile/mutex17.go b/vendor/github.com/pkg/profile/mutex17.go
deleted file mode 100644 (file)
index b004c21..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-// +build !go1.8
-
-package profile
-
-// mock mutex support for Go 1.7 and earlier.
-
-func enableMutexProfile() {}
-
-func disableMutexProfile() {}
diff --git a/vendor/github.com/pkg/profile/profile.go b/vendor/github.com/pkg/profile/profile.go
deleted file mode 100644 (file)
index c44913a..0000000
+++ /dev/null
@@ -1,244 +0,0 @@
-// Package profile provides a simple way to manage runtime/pprof
-// profiling of your Go application.
-package profile
-
-import (
-       "io/ioutil"
-       "log"
-       "os"
-       "os/signal"
-       "path/filepath"
-       "runtime"
-       "runtime/pprof"
-       "sync/atomic"
-)
-
-const (
-       cpuMode = iota
-       memMode
-       mutexMode
-       blockMode
-       traceMode
-)
-
-// Profile represents an active profiling session.
-type Profile struct {
-       // quiet suppresses informational messages during profiling.
-       quiet bool
-
-       // noShutdownHook controls whether the profiling package should
-       // hook SIGINT to write profiles cleanly.
-       noShutdownHook bool
-
-       // mode holds the type of profiling that will be made
-       mode int
-
-       // path holds the base path where various profiling files are  written.
-       // If blank, the base path will be generated by ioutil.TempDir.
-       path string
-
-       // memProfileRate holds the rate for the memory profile.
-       memProfileRate int
-
-       // closer holds a cleanup function that run after each profile
-       closer func()
-
-       // stopped records if a call to profile.Stop has been made
-       stopped uint32
-}
-
-// NoShutdownHook controls whether the profiling package should
-// hook SIGINT to write profiles cleanly.
-// Programs with more sophisticated signal handling should set
-// this to true and ensure the Stop() function returned from Start()
-// is called during shutdown.
-func NoShutdownHook(p *Profile) { p.noShutdownHook = true }
-
-// Quiet suppresses informational messages during profiling.
-func Quiet(p *Profile) { p.quiet = true }
-
-// CPUProfile enables cpu profiling.
-// It disables any previous profiling settings.
-func CPUProfile(p *Profile) { p.mode = cpuMode }
-
-// DefaultMemProfileRate is the default memory profiling rate.
-// See also http://golang.org/pkg/runtime/#pkg-variables
-const DefaultMemProfileRate = 4096
-
-// MemProfile enables memory profiling.
-// It disables any previous profiling settings.
-func MemProfile(p *Profile) {
-       p.memProfileRate = DefaultMemProfileRate
-       p.mode = memMode
-}
-
-// MemProfileRate enables memory profiling at the preferred rate.
-// It disables any previous profiling settings.
-func MemProfileRate(rate int) func(*Profile) {
-       return func(p *Profile) {
-               p.memProfileRate = rate
-               p.mode = memMode
-       }
-}
-
-// MutexProfile enables mutex profiling.
-// It disables any previous profiling settings.
-//
-// Mutex profiling is a no-op before go1.8.
-func MutexProfile(p *Profile) { p.mode = mutexMode }
-
-// BlockProfile enables block (contention) profiling.
-// It disables any previous profiling settings.
-func BlockProfile(p *Profile) { p.mode = blockMode }
-
-// Trace profile controls if execution tracing will be enabled. It disables any previous profiling settings.
-func TraceProfile(p *Profile) { p.mode = traceMode }
-
-// ProfilePath controls the base path where various profiling
-// files are written. If blank, the base path will be generated
-// by ioutil.TempDir.
-func ProfilePath(path string) func(*Profile) {
-       return func(p *Profile) {
-               p.path = path
-       }
-}
-
-// Stop stops the profile and flushes any unwritten data.
-func (p *Profile) Stop() {
-       if !atomic.CompareAndSwapUint32(&p.stopped, 0, 1) {
-               // someone has already called close
-               return
-       }
-       p.closer()
-       atomic.StoreUint32(&started, 0)
-}
-
-// started is non zero if a profile is running.
-var started uint32
-
-// Start starts a new profiling session.
-// The caller should call the Stop method on the value returned
-// to cleanly stop profiling.
-func Start(options ...func(*Profile)) interface {
-       Stop()
-} {
-       if !atomic.CompareAndSwapUint32(&started, 0, 1) {
-               log.Fatal("profile: Start() already called")
-       }
-
-       var prof Profile
-       for _, option := range options {
-               option(&prof)
-       }
-
-       path, err := func() (string, error) {
-               if p := prof.path; p != "" {
-                       return p, os.MkdirAll(p, 0777)
-               }
-               return ioutil.TempDir("", "profile")
-       }()
-
-       if err != nil {
-               log.Fatalf("profile: could not create initial output directory: %v", err)
-       }
-
-       logf := func(format string, args ...interface{}) {
-               if !prof.quiet {
-                       log.Printf(format, args...)
-               }
-       }
-
-       switch prof.mode {
-       case cpuMode:
-               fn := filepath.Join(path, "cpu.pprof")
-               f, err := os.Create(fn)
-               if err != nil {
-                       log.Fatalf("profile: could not create cpu profile %q: %v", fn, err)
-               }
-               logf("profile: cpu profiling enabled, %s", fn)
-               pprof.StartCPUProfile(f)
-               prof.closer = func() {
-                       pprof.StopCPUProfile()
-                       f.Close()
-                       logf("profile: cpu profiling disabled, %s", fn)
-               }
-
-       case memMode:
-               fn := filepath.Join(path, "mem.pprof")
-               f, err := os.Create(fn)
-               if err != nil {
-                       log.Fatalf("profile: could not create memory profile %q: %v", fn, err)
-               }
-               old := runtime.MemProfileRate
-               runtime.MemProfileRate = prof.memProfileRate
-               logf("profile: memory profiling enabled (rate %d), %s", runtime.MemProfileRate, fn)
-               prof.closer = func() {
-                       pprof.Lookup("heap").WriteTo(f, 0)
-                       f.Close()
-                       runtime.MemProfileRate = old
-                       logf("profile: memory profiling disabled, %s", fn)
-               }
-
-       case mutexMode:
-               fn := filepath.Join(path, "mutex.pprof")
-               f, err := os.Create(fn)
-               if err != nil {
-                       log.Fatalf("profile: could not create mutex profile %q: %v", fn, err)
-               }
-               enableMutexProfile()
-               logf("profile: mutex profiling enabled, %s", fn)
-               prof.closer = func() {
-                       if mp := pprof.Lookup("mutex"); mp != nil {
-                               mp.WriteTo(f, 0)
-                       }
-                       f.Close()
-                       disableMutexProfile()
-                       logf("profile: mutex profiling disabled, %s", fn)
-               }
-
-       case blockMode:
-               fn := filepath.Join(path, "block.pprof")
-               f, err := os.Create(fn)
-               if err != nil {
-                       log.Fatalf("profile: could not create block profile %q: %v", fn, err)
-               }
-               runtime.SetBlockProfileRate(1)
-               logf("profile: block profiling enabled, %s", fn)
-               prof.closer = func() {
-                       pprof.Lookup("block").WriteTo(f, 0)
-                       f.Close()
-                       runtime.SetBlockProfileRate(0)
-                       logf("profile: block profiling disabled, %s", fn)
-               }
-
-       case traceMode:
-               fn := filepath.Join(path, "trace.out")
-               f, err := os.Create(fn)
-               if err != nil {
-                       log.Fatalf("profile: could not create trace output file %q: %v", fn, err)
-               }
-               if err := startTrace(f); err != nil {
-                       log.Fatalf("profile: could not start trace: %v", err)
-               }
-               logf("profile: trace enabled, %s", fn)
-               prof.closer = func() {
-                       stopTrace()
-                       logf("profile: trace disabled, %s", fn)
-               }
-       }
-
-       if !prof.noShutdownHook {
-               go func() {
-                       c := make(chan os.Signal, 1)
-                       signal.Notify(c, os.Interrupt)
-                       <-c
-
-                       log.Println("profile: caught interrupt, stopping profiles")
-                       prof.Stop()
-
-                       os.Exit(0)
-               }()
-       }
-
-       return &prof
-}
diff --git a/vendor/github.com/pkg/profile/trace.go b/vendor/github.com/pkg/profile/trace.go
deleted file mode 100644 (file)
index b349ed8..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-// +build go1.7
-
-package profile
-
-import "runtime/trace"
-
-var startTrace = trace.Start
-var stopTrace = trace.Stop
diff --git a/vendor/github.com/pkg/profile/trace16.go b/vendor/github.com/pkg/profile/trace16.go
deleted file mode 100644 (file)
index 6aa6566..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-// +build !go1.7
-
-package profile
-
-import "io"
-
-// mock trace support for Go 1.6 and earlier.
-
-func startTrace(w io.Writer) error { return nil }
-func stopTrace()                   {}
diff --git a/vendor/github.com/sirupsen/logrus/.gitignore b/vendor/github.com/sirupsen/logrus/.gitignore
deleted file mode 100644 (file)
index 66be63a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-logrus
diff --git a/vendor/github.com/sirupsen/logrus/.travis.yml b/vendor/github.com/sirupsen/logrus/.travis.yml
deleted file mode 100644 (file)
index 924f3c4..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-language: go
-go:
-  - 1.6.x
-  - 1.7.x
-  - 1.8.x
-  - tip
-env:
-  - GOMAXPROCS=4 GORACE=halt_on_error=1
-install:
-  - go get github.com/stretchr/testify/assert
-script:
-  - go test -race -v .
-  - cd hooks/null && go test -race -v .
diff --git a/vendor/github.com/sirupsen/logrus/CHANGELOG.md b/vendor/github.com/sirupsen/logrus/CHANGELOG.md
deleted file mode 100644 (file)
index 63d415e..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-# 1.0.0
-
-* Officially changed name to lower-case
-* bug: colors on Windows 10 (#541)
-* bug: fix race in accessing level (#512)
-
-# 0.11.5
-
-* feature: add writer and writerlevel to entry (#372)
-
-# 0.11.4
-
-* bug: fix undefined variable on solaris (#493)
-
-# 0.11.3
-
-* formatter: configure quoting of empty values (#484)
-* formatter: configure quoting character (default is `"`) (#484)
-* bug: fix not importing io correctly in non-linux environments (#481)
-
-# 0.11.2
-
-* bug: fix windows terminal detection (#476)
-
-# 0.11.1
-
-* bug: fix tty detection with custom out (#471)
-
-# 0.11.0
-
-* performance: Use bufferpool to allocate (#370)
-* terminal: terminal detection for app-engine (#343)
-* feature: exit handler (#375)
-
-# 0.10.0
-
-* feature: Add a test hook (#180)
-* feature: `ParseLevel` is now case-insensitive (#326)
-* feature: `FieldLogger` interface that generalizes `Logger` and `Entry` (#308)
-* performance: avoid re-allocations on `WithFields` (#335)
-
-# 0.9.0
-
-* logrus/text_formatter: don't emit empty msg
-* logrus/hooks/airbrake: move out of main repository
-* logrus/hooks/sentry: move out of main repository
-* logrus/hooks/papertrail: move out of main repository
-* logrus/hooks/bugsnag: move out of main repository
-* logrus/core: run tests with `-race`
-* logrus/core: detect TTY based on `stderr`
-* logrus/core: support `WithError` on logger
-* logrus/core: Solaris support
-
-# 0.8.7
-
-* logrus/core: fix possible race (#216)
-* logrus/doc: small typo fixes and doc improvements
-
-
-# 0.8.6
-
-* hooks/raven: allow passing an initialized client
-
-# 0.8.5
-
-* logrus/core: revert #208
-
-# 0.8.4
-
-* formatter/text: fix data race (#218)
-
-# 0.8.3
-
-* logrus/core: fix entry log level (#208)
-* logrus/core: improve performance of text formatter by 40%
-* logrus/core: expose `LevelHooks` type
-* logrus/core: add support for DragonflyBSD and NetBSD
-* formatter/text: print structs more verbosely
-
-# 0.8.2
-
-* logrus: fix more Fatal family functions
-
-# 0.8.1
-
-* logrus: fix not exiting on `Fatalf` and `Fatalln`
-
-# 0.8.0
-
-* logrus: defaults to stderr instead of stdout
-* hooks/sentry: add special field for `*http.Request`
-* formatter/text: ignore Windows for colors
-
-# 0.7.3
-
-* formatter/\*: allow configuration of timestamp layout
-
-# 0.7.2
-
-* formatter/text: Add configuration option for time format (#158)
diff --git a/vendor/github.com/sirupsen/logrus/LICENSE b/vendor/github.com/sirupsen/logrus/LICENSE
deleted file mode 100644 (file)
index f090cb4..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2014 Simon Eskildsen
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/vendor/github.com/sirupsen/logrus/README.md b/vendor/github.com/sirupsen/logrus/README.md
deleted file mode 100644 (file)
index cbe8b69..0000000
+++ /dev/null
@@ -1,501 +0,0 @@
-# Logrus <img src="http://i.imgur.com/hTeVwmJ.png" width="40" height="40" alt=":walrus:" class="emoji" title=":walrus:"/>&nbsp;[![Build Status](https://travis-ci.org/sirupsen/logrus.svg?branch=master)](https://travis-ci.org/sirupsen/logrus)&nbsp;[![GoDoc](https://godoc.org/github.com/sirupsen/logrus?status.svg)](https://godoc.org/github.com/sirupsen/logrus)
-
-Logrus is a structured logger for Go (golang), completely API compatible with
-the standard library logger. [Godoc][godoc]. **Please note the Logrus API is not
-yet stable (pre 1.0). Logrus itself is completely stable and has been used in
-many large deployments. The core API is unlikely to change much but please
-version control your Logrus to make sure you aren't fetching latest `master` on
-every build.**
-
-**Seeing weird case-sensitive problems?** Unfortunately, the author failed to
-realize the consequences of renaming to lower-case. Due to the Go package
-environment, this caused issues. Regretfully, there's no turning back now.
-Everything using `logrus` will need to use the lower-case:
-`github.com/sirupsen/logrus`. Any package that isn't, should be changed.
-
-I am terribly sorry for this inconvenience. Logrus strives hard for backwards
-compatibility, and the author failed to realize the cascading consequences of
-such a name-change. To fix Glide, see [these
-comments](https://github.com/sirupsen/logrus/issues/553#issuecomment-306591437).
-
-Nicely color-coded in development (when a TTY is attached, otherwise just
-plain text):
-
-![Colored](http://i.imgur.com/PY7qMwd.png)
-
-With `log.SetFormatter(&log.JSONFormatter{})`, for easy parsing by logstash
-or Splunk:
-
-```json
-{"animal":"walrus","level":"info","msg":"A group of walrus emerges from the
-ocean","size":10,"time":"2014-03-10 19:57:38.562264131 -0400 EDT"}
-
-{"level":"warning","msg":"The group's number increased tremendously!",
-"number":122,"omg":true,"time":"2014-03-10 19:57:38.562471297 -0400 EDT"}
-
-{"animal":"walrus","level":"info","msg":"A giant walrus appears!",
-"size":10,"time":"2014-03-10 19:57:38.562500591 -0400 EDT"}
-
-{"animal":"walrus","level":"info","msg":"Tremendously sized cow enters the ocean.",
-"size":9,"time":"2014-03-10 19:57:38.562527896 -0400 EDT"}
-
-{"level":"fatal","msg":"The ice breaks!","number":100,"omg":true,
-"time":"2014-03-10 19:57:38.562543128 -0400 EDT"}
-```
-
-With the default `log.SetFormatter(&log.TextFormatter{})` when a TTY is not
-attached, the output is compatible with the
-[logfmt](http://godoc.org/github.com/kr/logfmt) format:
-
-```text
-time="2015-03-26T01:27:38-04:00" level=debug msg="Started observing beach" animal=walrus number=8
-time="2015-03-26T01:27:38-04:00" level=info msg="A group of walrus emerges from the ocean" animal=walrus size=10
-time="2015-03-26T01:27:38-04:00" level=warning msg="The group's number increased tremendously!" number=122 omg=true
-time="2015-03-26T01:27:38-04:00" level=debug msg="Temperature changes" temperature=-4
-time="2015-03-26T01:27:38-04:00" level=panic msg="It's over 9000!" animal=orca size=9009
-time="2015-03-26T01:27:38-04:00" level=fatal msg="The ice breaks!" err=&{0x2082280c0 map[animal:orca size:9009] 2015-03-26 01:27:38.441574009 -0400 EDT panic It's over 9000!} number=100 omg=true
-exit status 1
-```
-
-#### Case-sensitivity
-
-The organization's name was changed to lower-case--and this will not be changed
-back. If you are getting import conflicts due to case sensitivity, please use
-the lower-case import: `github.com/sirupsen/logrus`.
-
-#### Example
-
-The simplest way to use Logrus is simply the package-level exported logger:
-
-```go
-package main
-
-import (
-  log "github.com/sirupsen/logrus"
-)
-
-func main() {
-  log.WithFields(log.Fields{
-    "animal": "walrus",
-  }).Info("A walrus appears")
-}
-```
-
-Note that it's completely api-compatible with the stdlib logger, so you can
-replace your `log` imports everywhere with `log "github.com/sirupsen/logrus"`
-and you'll now have the flexibility of Logrus. You can customize it all you
-want:
-
-```go
-package main
-
-import (
-  "os"
-  log "github.com/sirupsen/logrus"
-)
-
-func init() {
-  // Log as JSON instead of the default ASCII formatter.
-  log.SetFormatter(&log.JSONFormatter{})
-
-  // Output to stdout instead of the default stderr
-  // Can be any io.Writer, see below for File example
-  log.SetOutput(os.Stdout)
-
-  // Only log the warning severity or above.
-  log.SetLevel(log.WarnLevel)
-}
-
-func main() {
-  log.WithFields(log.Fields{
-    "animal": "walrus",
-    "size":   10,
-  }).Info("A group of walrus emerges from the ocean")
-
-  log.WithFields(log.Fields{
-    "omg":    true,
-    "number": 122,
-  }).Warn("The group's number increased tremendously!")
-
-  log.WithFields(log.Fields{
-    "omg":    true,
-    "number": 100,
-  }).Fatal("The ice breaks!")
-
-  // A common pattern is to re-use fields between logging statements by re-using
-  // the logrus.Entry returned from WithFields()
-  contextLogger := log.WithFields(log.Fields{
-    "common": "this is a common field",
-    "other": "I also should be logged always",
-  })
-
-  contextLogger.Info("I'll be logged with common and other field")
-  contextLogger.Info("Me too")
-}
-```
-
-For more advanced usage such as logging to multiple locations from the same
-application, you can also create an instance of the `logrus` Logger:
-
-```go
-package main
-
-import (
-  "os"
-  "github.com/sirupsen/logrus"
-)
-
-// Create a new instance of the logger. You can have any number of instances.
-var log = logrus.New()
-
-func main() {
-  // The API for setting attributes is a little different than the package level
-  // exported logger. See Godoc.
-  log.Out = os.Stdout
-
-  // You could set this to any `io.Writer` such as a file
-  // file, err := os.OpenFile("logrus.log", os.O_CREATE|os.O_WRONLY, 0666)
-  // if err == nil {
-  //  log.Out = file
-  // } else {
-  //  log.Info("Failed to log to file, using default stderr")
-  // }
-
-  log.WithFields(logrus.Fields{
-    "animal": "walrus",
-    "size":   10,
-  }).Info("A group of walrus emerges from the ocean")
-}
-```
-
-#### Fields
-
-Logrus encourages careful, structured logging through logging fields instead of
-long, unparseable error messages. For example, instead of: `log.Fatalf("Failed
-to send event %s to topic %s with key %d")`, you should log the much more
-discoverable:
-
-```go
-log.WithFields(log.Fields{
-  "event": event,
-  "topic": topic,
-  "key": key,
-}).Fatal("Failed to send event")
-```
-
-We've found this API forces you to think about logging in a way that produces
-much more useful logging messages. We've been in countless situations where just
-a single added field to a log statement that was already there would've saved us
-hours. The `WithFields` call is optional.
-
-In general, with Logrus using any of the `printf`-family functions should be
-seen as a hint you should add a field, however, you can still use the
-`printf`-family functions with Logrus.
-
-#### Default Fields
-
-Often it's helpful to have fields _always_ attached to log statements in an
-application or parts of one. For example, you may want to always log the
-`request_id` and `user_ip` in the context of a request. Instead of writing
-`log.WithFields(log.Fields{"request_id": request_id, "user_ip": user_ip})` on
-every line, you can create a `logrus.Entry` to pass around instead:
-
-```go
-requestLogger := log.WithFields(log.Fields{"request_id": request_id, "user_ip": user_ip})
-requestLogger.Info("something happened on that request") # will log request_id and user_ip
-requestLogger.Warn("something not great happened")
-```
-
-#### Hooks
-
-You can add hooks for logging levels. For example to send errors to an exception
-tracking service on `Error`, `Fatal` and `Panic`, info to StatsD or log to
-multiple places simultaneously, e.g. syslog.
-
-Logrus comes with [built-in hooks](hooks/). Add those, or your custom hook, in
-`init`:
-
-```go
-import (
-  log "github.com/sirupsen/logrus"
-  "gopkg.in/gemnasium/logrus-airbrake-hook.v2" // the package is named "aibrake"
-  logrus_syslog "github.com/sirupsen/logrus/hooks/syslog"
-  "log/syslog"
-)
-
-func init() {
-
-  // Use the Airbrake hook to report errors that have Error severity or above to
-  // an exception tracker. You can create custom hooks, see the Hooks section.
-  log.AddHook(airbrake.NewHook(123, "xyz", "production"))
-
-  hook, err := logrus_syslog.NewSyslogHook("udp", "localhost:514", syslog.LOG_INFO, "")
-  if err != nil {
-    log.Error("Unable to connect to local syslog daemon")
-  } else {
-    log.AddHook(hook)
-  }
-}
-```
-Note: Syslog hook also support connecting to local syslog (Ex. "/dev/log" or "/var/run/syslog" or "/var/run/log"). For the detail, please check the [syslog hook README](hooks/syslog/README.md).
-
-| Hook  | Description |
-| ----- | ----------- |
-| [Airbrake "legacy"](https://github.com/gemnasium/logrus-airbrake-legacy-hook) | Send errors to an exception tracking service compatible with the Airbrake API V2. Uses [`airbrake-go`](https://github.com/tobi/airbrake-go) behind the scenes. |
-| [Airbrake](https://github.com/gemnasium/logrus-airbrake-hook) | Send errors to the Airbrake API V3. Uses the official [`gobrake`](https://github.com/airbrake/gobrake) behind the scenes. |
-| [Amazon Kinesis](https://github.com/evalphobia/logrus_kinesis) | Hook for logging to [Amazon Kinesis](https://aws.amazon.com/kinesis/) |
-| [Amqp-Hook](https://github.com/vladoatanasov/logrus_amqp) | Hook for logging to Amqp broker (Like RabbitMQ) |
-| [Bugsnag](https://github.com/Shopify/logrus-bugsnag/blob/master/bugsnag.go) | Send errors to the Bugsnag exception tracking service. |
-| [DeferPanic](https://github.com/deferpanic/dp-logrus) | Hook for logging to DeferPanic |
-| [Discordrus](https://github.com/kz/discordrus) | Hook for logging to [Discord](https://discordapp.com/) |
-| [ElasticSearch](https://github.com/sohlich/elogrus) | Hook for logging to ElasticSearch|
-| [Firehose](https://github.com/beaubrewer/logrus_firehose) | Hook for logging to [Amazon Firehose](https://aws.amazon.com/kinesis/firehose/)
-| [Fluentd](https://github.com/evalphobia/logrus_fluent) | Hook for logging to fluentd |
-| [Go-Slack](https://github.com/multiplay/go-slack) | Hook for logging to [Slack](https://slack.com) |
-| [Graylog](https://github.com/gemnasium/logrus-graylog-hook) | Hook for logging to [Graylog](http://graylog2.org/) |
-| [Hiprus](https://github.com/nubo/hiprus) | Send errors to a channel in hipchat. |
-| [Honeybadger](https://github.com/agonzalezro/logrus_honeybadger) | Hook for sending exceptions to Honeybadger |
-| [InfluxDB](https://github.com/Abramovic/logrus_influxdb) | Hook for logging to influxdb |
-| [Influxus](http://github.com/vlad-doru/influxus) | Hook for concurrently logging to [InfluxDB](http://influxdata.com/) |
-| [Journalhook](https://github.com/wercker/journalhook) | Hook for logging to `systemd-journald` |
-| [KafkaLogrus](https://github.com/goibibo/KafkaLogrus) | Hook for logging to kafka |
-| [LFShook](https://github.com/rifflock/lfshook) | Hook for logging to the local filesystem |
-| [Logentries](https://github.com/jcftang/logentriesrus) | Hook for logging to [Logentries](https://logentries.com/) |
-| [Logentrus](https://github.com/puddingfactory/logentrus) | Hook for logging to [Logentries](https://logentries.com/) |
-| [Logmatic.io](https://github.com/logmatic/logmatic-go) | Hook for logging to [Logmatic.io](http://logmatic.io/) |
-| [Logrusly](https://github.com/sebest/logrusly) | Send logs to [Loggly](https://www.loggly.com/) |
-| [Logstash](https://github.com/bshuster-repo/logrus-logstash-hook) | Hook for logging to [Logstash](https://www.elastic.co/products/logstash) |
-| [Mail](https://github.com/zbindenren/logrus_mail) | Hook for sending exceptions via mail |
-| [Mongodb](https://github.com/weekface/mgorus) | Hook for logging to mongodb |
-| [NATS-Hook](https://github.com/rybit/nats_logrus_hook) | Hook for logging to [NATS](https://nats.io) |
-| [Octokit](https://github.com/dorajistyle/logrus-octokit-hook) | Hook for logging to github via octokit |
-| [Papertrail](https://github.com/polds/logrus-papertrail-hook) | Send errors to the [Papertrail](https://papertrailapp.com) hosted logging service via UDP. |
-| [PostgreSQL](https://github.com/gemnasium/logrus-postgresql-hook) | Send logs to [PostgreSQL](http://postgresql.org) |
-| [Pushover](https://github.com/toorop/logrus_pushover) | Send error via [Pushover](https://pushover.net) |
-| [Raygun](https://github.com/squirkle/logrus-raygun-hook) | Hook for logging to [Raygun.io](http://raygun.io/) |
-| [Redis-Hook](https://github.com/rogierlommers/logrus-redis-hook) | Hook for logging to a ELK stack (through Redis) |
-| [Rollrus](https://github.com/heroku/rollrus) | Hook for sending errors to rollbar |
-| [Scribe](https://github.com/sagar8192/logrus-scribe-hook) | Hook for logging to [Scribe](https://github.com/facebookarchive/scribe)|
-| [Sentry](https://github.com/evalphobia/logrus_sentry) | Send errors to the Sentry error logging and aggregation service. |
-| [Slackrus](https://github.com/johntdyer/slackrus) | Hook for Slack chat. |
-| [Stackdriver](https://github.com/knq/sdhook) | Hook for logging to [Google Stackdriver](https://cloud.google.com/logging/) |
-| [Sumorus](https://github.com/doublefree/sumorus) | Hook for logging to [SumoLogic](https://www.sumologic.com/)|
-| [Syslog](https://github.com/Sirupsen/logrus/blob/master/hooks/syslog/syslog.go) | Send errors to remote syslog server. Uses standard library `log/syslog` behind the scenes. |
-| [Syslog TLS](https://github.com/shinji62/logrus-syslog-ng) | Send errors to remote syslog server with TLS support. |
-| [TraceView](https://github.com/evalphobia/logrus_appneta) | Hook for logging to [AppNeta TraceView](https://www.appneta.com/products/traceview/) |
-| [Typetalk](https://github.com/dragon3/logrus-typetalk-hook) | Hook for logging to [Typetalk](https://www.typetalk.in/) |
-| [logz.io](https://github.com/ripcurld00d/logrus-logzio-hook) | Hook for logging to [logz.io](https://logz.io), a Log as a Service using Logstash |
-| [SQS-Hook](https://github.com/tsarpaul/logrus_sqs) | Hook for logging to [Amazon Simple Queue Service (SQS)](https://aws.amazon.com/sqs/) |
-
-#### Level logging
-
-Logrus has six logging levels: Debug, Info, Warning, Error, Fatal and Panic.
-
-```go
-log.Debug("Useful debugging information.")
-log.Info("Something noteworthy happened!")
-log.Warn("You should probably take a look at this.")
-log.Error("Something failed but I'm not quitting.")
-// Calls os.Exit(1) after logging
-log.Fatal("Bye.")
-// Calls panic() after logging
-log.Panic("I'm bailing.")
-```
-
-You can set the logging level on a `Logger`, then it will only log entries with
-that severity or anything above it:
-
-```go
-// Will log anything that is info or above (warn, error, fatal, panic). Default.
-log.SetLevel(log.InfoLevel)
-```
-
-It may be useful to set `log.Level = logrus.DebugLevel` in a debug or verbose
-environment if your application has that.
-
-#### Entries
-
-Besides the fields added with `WithField` or `WithFields` some fields are
-automatically added to all logging events:
-
-1. `time`. The timestamp when the entry was created.
-2. `msg`. The logging message passed to `{Info,Warn,Error,Fatal,Panic}` after
-   the `AddFields` call. E.g. `Failed to send event.`
-3. `level`. The logging level. E.g. `info`.
-
-#### Environments
-
-Logrus has no notion of environment.
-
-If you wish for hooks and formatters to only be used in specific environments,
-you should handle that yourself. For example, if your application has a global
-variable `Environment`, which is a string representation of the environment you
-could do:
-
-```go
-import (
-  log "github.com/sirupsen/logrus"
-)
-
-init() {
-  // do something here to set environment depending on an environment variable
-  // or command-line flag
-  if Environment == "production" {
-    log.SetFormatter(&log.JSONFormatter{})
-  } else {
-    // The TextFormatter is default, you don't actually have to do this.
-    log.SetFormatter(&log.TextFormatter{})
-  }
-}
-```
-
-This configuration is how `logrus` was intended to be used, but JSON in
-production is mostly only useful if you do log aggregation with tools like
-Splunk or Logstash.
-
-#### Formatters
-
-The built-in logging formatters are:
-
-* `logrus.TextFormatter`. Logs the event in colors if stdout is a tty, otherwise
-  without colors.
-  * *Note:* to force colored output when there is no TTY, set the `ForceColors`
-    field to `true`.  To force no colored output even if there is a TTY  set the
-    `DisableColors` field to `true`. For Windows, see
-    [github.com/mattn/go-colorable](https://github.com/mattn/go-colorable).
-  * All options are listed in the [generated docs](https://godoc.org/github.com/sirupsen/logrus#TextFormatter).
-* `logrus.JSONFormatter`. Logs fields as JSON.
-  * All options are listed in the [generated docs](https://godoc.org/github.com/sirupsen/logrus#JSONFormatter).
-
-Third party logging formatters:
-
-* [`logstash`](https://github.com/bshuster-repo/logrus-logstash-hook). Logs fields as [Logstash](http://logstash.net) Events.
-* [`prefixed`](https://github.com/x-cray/logrus-prefixed-formatter). Displays log entry source along with alternative layout.
-* [`zalgo`](https://github.com/aybabtme/logzalgo). Invoking the P͉̫o̳̼̊w̖͈̰͎e̬͔̭͂r͚̼̹̲ ̫͓͉̳͈ō̠͕͖̚f̝͍̠ ͕̲̞͖͑Z̖̫̤̫ͪa͉̬͈̗l͖͎g̳̥o̰̥̅!̣͔̲̻͊̄ ̙̘̦̹̦.
-
-You can define your formatter by implementing the `Formatter` interface,
-requiring a `Format` method. `Format` takes an `*Entry`. `entry.Data` is a
-`Fields` type (`map[string]interface{}`) with all your fields as well as the
-default ones (see Entries section above):
-
-```go
-type MyJSONFormatter struct {
-}
-
-log.SetFormatter(new(MyJSONFormatter))
-
-func (f *MyJSONFormatter) Format(entry *Entry) ([]byte, error) {
-  // Note this doesn't include Time, Level and Message which are available on
-  // the Entry. Consult `godoc` on information about those fields or read the
-  // source of the official loggers.
-  serialized, err := json.Marshal(entry.Data)
-    if err != nil {
-      return nil, fmt.Errorf("Failed to marshal fields to JSON, %v", err)
-    }
-  return append(serialized, '\n'), nil
-}
-```
-
-#### Logger as an `io.Writer`
-
-Logrus can be transformed into an `io.Writer`. That writer is the end of an `io.Pipe` and it is your responsibility to close it.
-
-```go
-w := logger.Writer()
-defer w.Close()
-
-srv := http.Server{
-    // create a stdlib log.Logger that writes to
-    // logrus.Logger.
-    ErrorLog: log.New(w, "", 0),
-}
-```
-
-Each line written to that writer will be printed the usual way, using formatters
-and hooks. The level for those entries is `info`.
-
-This means that we can override the standard library logger easily:
-
-```go
-logger := logrus.New()
-logger.Formatter = &logrus.JSONFormatter{}
-
-// Use logrus for standard log output
-// Note that `log` here references stdlib's log
-// Not logrus imported under the name `log`.
-log.SetOutput(logger.Writer())
-```
-
-#### Rotation
-
-Log rotation is not provided with Logrus. Log rotation should be done by an
-external program (like `logrotate(8)`) that can compress and delete old log
-entries. It should not be a feature of the application-level logger.
-
-#### Tools
-
-| Tool | Description |
-| ---- | ----------- |
-|[Logrus Mate](https://github.com/gogap/logrus_mate)|Logrus mate is a tool for Logrus to manage loggers, you can initial logger's level, hook and formatter by config file, the logger will generated with different config at different environment.|
-|[Logrus Viper Helper](https://github.com/heirko/go-contrib/tree/master/logrusHelper)|An Helper around Logrus to wrap with spf13/Viper to load configuration with fangs! And to simplify Logrus configuration use some behavior of [Logrus Mate](https://github.com/gogap/logrus_mate). [sample](https://github.com/heirko/iris-contrib/blob/master/middleware/logrus-logger/example) |
-
-#### Testing
-
-Logrus has a built in facility for asserting the presence of log messages. This is implemented through the `test` hook and provides:
-
-* decorators for existing logger (`test.NewLocal` and `test.NewGlobal`) which basically just add the `test` hook
-* a test logger (`test.NewNullLogger`) that just records log messages (and does not output any):
-
-```go
-import(
-  "github.com/sirupsen/logrus"
-  "github.com/sirupsen/logrus/hooks/null"
-  "github.com/stretchr/testify/assert"
-  "testing"
-)
-
-func TestSomething(t*testing.T){
-  logger, hook := null.NewNullLogger()
-  logger.Error("Helloerror")
-
-  assert.Equal(t, 1, len(hook.Entries))
-  assert.Equal(t, logrus.ErrorLevel, hook.LastEntry().Level)
-  assert.Equal(t, "Helloerror", hook.LastEntry().Message)
-
-  hook.Reset()
-  assert.Nil(t, hook.LastEntry())
-}
-```
-
-#### Fatal handlers
-
-Logrus can register one or more functions that will be called when any `fatal`
-level message is logged. The registered handlers will be executed before
-logrus performs a `os.Exit(1)`. This behavior may be helpful if callers need
-to gracefully shutdown. Unlike a `panic("Something went wrong...")` call which can be intercepted with a deferred `recover` a call to `os.Exit(1)` can not be intercepted.
-
-```
-...
-handler := func() {
-  // gracefully shutdown something...
-}
-logrus.RegisterExitHandler(handler)
-...
-```
-
-#### Thread safety
-
-By default Logger is protected by mutex for concurrent writes, this mutex is invoked when calling hooks and writing logs.
-If you are sure such locking is not needed, you can call logger.SetNoLock() to disable the locking.
-
-Situation when locking is not needed includes:
-
-* You have no hooks registered, or hooks calling is already thread-safe.
-
-* Writing to logger.Out is already thread-safe, for example:
-
-  1) logger.Out is protected by locks.
-
-  2) logger.Out is a os.File handler opened with `O_APPEND` flag, and every write is smaller than 4k. (This allow multi-thread/multi-process writing)
-
-     (Refer to http://www.notthewizard.com/2014/06/17/are-files-appends-really-atomic/)
diff --git a/vendor/github.com/sirupsen/logrus/alt_exit.go b/vendor/github.com/sirupsen/logrus/alt_exit.go
deleted file mode 100644 (file)
index 8af9063..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-package logrus
-
-// The following code was sourced and modified from the
-// https://github.com/tebeka/atexit package governed by the following license:
-//
-// Copyright (c) 2012 Miki Tebeka <miki.tebeka@gmail.com>.
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy of
-// this software and associated documentation files (the "Software"), to deal in
-// the Software without restriction, including without limitation the rights to
-// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-// the Software, and to permit persons to whom the Software is furnished to do so,
-// subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-import (
-       "fmt"
-       "os"
-)
-
-var handlers = []func(){}
-
-func runHandler(handler func()) {
-       defer func() {
-               if err := recover(); err != nil {
-                       fmt.Fprintln(os.Stderr, "Error: Logrus exit handler error:", err)
-               }
-       }()
-
-       handler()
-}
-
-func runHandlers() {
-       for _, handler := range handlers {
-               runHandler(handler)
-       }
-}
-
-// Exit runs all the Logrus atexit handlers and then terminates the program using os.Exit(code)
-func Exit(code int) {
-       runHandlers()
-       os.Exit(code)
-}
-
-// RegisterExitHandler adds a Logrus Exit handler, call logrus.Exit to invoke
-// all handlers. The handlers will also be invoked when any Fatal log entry is
-// made.
-//
-// This method is useful when a caller wishes to use logrus to log a fatal
-// message but also needs to gracefully shutdown. An example usecase could be
-// closing database connections, or sending a alert that the application is
-// closing.
-func RegisterExitHandler(handler func()) {
-       handlers = append(handlers, handler)
-}
diff --git a/vendor/github.com/sirupsen/logrus/doc.go b/vendor/github.com/sirupsen/logrus/doc.go
deleted file mode 100644 (file)
index da67aba..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-Package logrus is a structured logger for Go, completely API compatible with the standard library logger.
-
-
-The simplest way to use Logrus is simply the package-level exported logger:
-
-  package main
-
-  import (
-    log "github.com/sirupsen/logrus"
-  )
-
-  func main() {
-    log.WithFields(log.Fields{
-      "animal": "walrus",
-      "number": 1,
-      "size":   10,
-    }).Info("A walrus appears")
-  }
-
-Output:
-  time="2015-09-07T08:48:33Z" level=info msg="A walrus appears" animal=walrus number=1 size=10
-
-For a full guide visit https://github.com/sirupsen/logrus
-*/
-package logrus
diff --git a/vendor/github.com/sirupsen/logrus/entry.go b/vendor/github.com/sirupsen/logrus/entry.go
deleted file mode 100644 (file)
index 320e5d5..0000000
+++ /dev/null
@@ -1,275 +0,0 @@
-package logrus
-
-import (
-       "bytes"
-       "fmt"
-       "os"
-       "sync"
-       "time"
-)
-
-var bufferPool *sync.Pool
-
-func init() {
-       bufferPool = &sync.Pool{
-               New: func() interface{} {
-                       return new(bytes.Buffer)
-               },
-       }
-}
-
-// Defines the key when adding errors using WithError.
-var ErrorKey = "error"
-
-// An entry is the final or intermediate Logrus logging entry. It contains all
-// the fields passed with WithField{,s}. It's finally logged when Debug, Info,
-// Warn, Error, Fatal or Panic is called on it. These objects can be reused and
-// passed around as much as you wish to avoid field duplication.
-type Entry struct {
-       Logger *Logger
-
-       // Contains all the fields set by the user.
-       Data Fields
-
-       // Time at which the log entry was created
-       Time time.Time
-
-       // Level the log entry was logged at: Debug, Info, Warn, Error, Fatal or Panic
-       Level Level
-
-       // Message passed to Debug, Info, Warn, Error, Fatal or Panic
-       Message string
-
-       // When formatter is called in entry.log(), an Buffer may be set to entry
-       Buffer *bytes.Buffer
-}
-
-func NewEntry(logger *Logger) *Entry {
-       return &Entry{
-               Logger: logger,
-               // Default is three fields, give a little extra room
-               Data: make(Fields, 5),
-       }
-}
-
-// Returns the string representation from the reader and ultimately the
-// formatter.
-func (entry *Entry) String() (string, error) {
-       serialized, err := entry.Logger.Formatter.Format(entry)
-       if err != nil {
-               return "", err
-       }
-       str := string(serialized)
-       return str, nil
-}
-
-// Add an error as single field (using the key defined in ErrorKey) to the Entry.
-func (entry *Entry) WithError(err error) *Entry {
-       return entry.WithField(ErrorKey, err)
-}
-
-// Add a single field to the Entry.
-func (entry *Entry) WithField(key string, value interface{}) *Entry {
-       return entry.WithFields(Fields{key: value})
-}
-
-// Add a map of fields to the Entry.
-func (entry *Entry) WithFields(fields Fields) *Entry {
-       data := make(Fields, len(entry.Data)+len(fields))
-       for k, v := range entry.Data {
-               data[k] = v
-       }
-       for k, v := range fields {
-               data[k] = v
-       }
-       return &Entry{Logger: entry.Logger, Data: data}
-}
-
-// This function is not declared with a pointer value because otherwise
-// race conditions will occur when using multiple goroutines
-func (entry Entry) log(level Level, msg string) {
-       var buffer *bytes.Buffer
-       entry.Time = time.Now()
-       entry.Level = level
-       entry.Message = msg
-
-       if err := entry.Logger.Hooks.Fire(level, &entry); err != nil {
-               entry.Logger.mu.Lock()
-               fmt.Fprintf(os.Stderr, "Failed to fire hook: %v\n", err)
-               entry.Logger.mu.Unlock()
-       }
-       buffer = bufferPool.Get().(*bytes.Buffer)
-       buffer.Reset()
-       defer bufferPool.Put(buffer)
-       entry.Buffer = buffer
-       serialized, err := entry.Logger.Formatter.Format(&entry)
-       entry.Buffer = nil
-       if err != nil {
-               entry.Logger.mu.Lock()
-               fmt.Fprintf(os.Stderr, "Failed to obtain reader, %v\n", err)
-               entry.Logger.mu.Unlock()
-       } else {
-               entry.Logger.mu.Lock()
-               _, err = entry.Logger.Out.Write(serialized)
-               if err != nil {
-                       fmt.Fprintf(os.Stderr, "Failed to write to log, %v\n", err)
-               }
-               entry.Logger.mu.Unlock()
-       }
-
-       // To avoid Entry#log() returning a value that only would make sense for
-       // panic() to use in Entry#Panic(), we avoid the allocation by checking
-       // directly here.
-       if level <= PanicLevel {
-               panic(&entry)
-       }
-}
-
-func (entry *Entry) Debug(args ...interface{}) {
-       if entry.Logger.level() >= DebugLevel {
-               entry.log(DebugLevel, fmt.Sprint(args...))
-       }
-}
-
-func (entry *Entry) Print(args ...interface{}) {
-       entry.Info(args...)
-}
-
-func (entry *Entry) Info(args ...interface{}) {
-       if entry.Logger.level() >= InfoLevel {
-               entry.log(InfoLevel, fmt.Sprint(args...))
-       }
-}
-
-func (entry *Entry) Warn(args ...interface{}) {
-       if entry.Logger.level() >= WarnLevel {
-               entry.log(WarnLevel, fmt.Sprint(args...))
-       }
-}
-
-func (entry *Entry) Warning(args ...interface{}) {
-       entry.Warn(args...)
-}
-
-func (entry *Entry) Error(args ...interface{}) {
-       if entry.Logger.level() >= ErrorLevel {
-               entry.log(ErrorLevel, fmt.Sprint(args...))
-       }
-}
-
-func (entry *Entry) Fatal(args ...interface{}) {
-       if entry.Logger.level() >= FatalLevel {
-               entry.log(FatalLevel, fmt.Sprint(args...))
-       }
-       Exit(1)
-}
-
-func (entry *Entry) Panic(args ...interface{}) {
-       if entry.Logger.level() >= PanicLevel {
-               entry.log(PanicLevel, fmt.Sprint(args...))
-       }
-       panic(fmt.Sprint(args...))
-}
-
-// Entry Printf family functions
-
-func (entry *Entry) Debugf(format string, args ...interface{}) {
-       if entry.Logger.level() >= DebugLevel {
-               entry.Debug(fmt.Sprintf(format, args...))
-       }
-}
-
-func (entry *Entry) Infof(format string, args ...interface{}) {
-       if entry.Logger.level() >= InfoLevel {
-               entry.Info(fmt.Sprintf(format, args...))
-       }
-}
-
-func (entry *Entry) Printf(format string, args ...interface{}) {
-       entry.Infof(format, args...)
-}
-
-func (entry *Entry) Warnf(format string, args ...interface{}) {
-       if entry.Logger.level() >= WarnLevel {
-               entry.Warn(fmt.Sprintf(format, args...))
-       }
-}
-
-func (entry *Entry) Warningf(format string, args ...interface{}) {
-       entry.Warnf(format, args...)
-}
-
-func (entry *Entry) Errorf(format string, args ...interface{}) {
-       if entry.Logger.level() >= ErrorLevel {
-               entry.Error(fmt.Sprintf(format, args...))
-       }
-}
-
-func (entry *Entry) Fatalf(format string, args ...interface{}) {
-       if entry.Logger.level() >= FatalLevel {
-               entry.Fatal(fmt.Sprintf(format, args...))
-       }
-       Exit(1)
-}
-
-func (entry *Entry) Panicf(format string, args ...interface{}) {
-       if entry.Logger.level() >= PanicLevel {
-               entry.Panic(fmt.Sprintf(format, args...))
-       }
-}
-
-// Entry Println family functions
-
-func (entry *Entry) Debugln(args ...interface{}) {
-       if entry.Logger.level() >= DebugLevel {
-               entry.Debug(entry.sprintlnn(args...))
-       }
-}
-
-func (entry *Entry) Infoln(args ...interface{}) {
-       if entry.Logger.level() >= InfoLevel {
-               entry.Info(entry.sprintlnn(args...))
-       }
-}
-
-func (entry *Entry) Println(args ...interface{}) {
-       entry.Infoln(args...)
-}
-
-func (entry *Entry) Warnln(args ...interface{}) {
-       if entry.Logger.level() >= WarnLevel {
-               entry.Warn(entry.sprintlnn(args...))
-       }
-}
-
-func (entry *Entry) Warningln(args ...interface{}) {
-       entry.Warnln(args...)
-}
-
-func (entry *Entry) Errorln(args ...interface{}) {
-       if entry.Logger.level() >= ErrorLevel {
-               entry.Error(entry.sprintlnn(args...))
-       }
-}
-
-func (entry *Entry) Fatalln(args ...interface{}) {
-       if entry.Logger.level() >= FatalLevel {
-               entry.Fatal(entry.sprintlnn(args...))
-       }
-       Exit(1)
-}
-
-func (entry *Entry) Panicln(args ...interface{}) {
-       if entry.Logger.level() >= PanicLevel {
-               entry.Panic(entry.sprintlnn(args...))
-       }
-}
-
-// Sprintlnn => Sprint no newline. This is to get the behavior of how
-// fmt.Sprintln where spaces are always added between operands, regardless of
-// their type. Instead of vendoring the Sprintln implementation to spare a
-// string allocation, we do the simplest thing.
-func (entry *Entry) sprintlnn(args ...interface{}) string {
-       msg := fmt.Sprintln(args...)
-       return msg[:len(msg)-1]
-}
diff --git a/vendor/github.com/sirupsen/logrus/exported.go b/vendor/github.com/sirupsen/logrus/exported.go
deleted file mode 100644 (file)
index 1aeaa90..0000000
+++ /dev/null
@@ -1,193 +0,0 @@
-package logrus
-
-import (
-       "io"
-)
-
-var (
-       // std is the name of the standard logger in stdlib `log`
-       std = New()
-)
-
-func StandardLogger() *Logger {
-       return std
-}
-
-// SetOutput sets the standard logger output.
-func SetOutput(out io.Writer) {
-       std.mu.Lock()
-       defer std.mu.Unlock()
-       std.Out = out
-}
-
-// SetFormatter sets the standard logger formatter.
-func SetFormatter(formatter Formatter) {
-       std.mu.Lock()
-       defer std.mu.Unlock()
-       std.Formatter = formatter
-}
-
-// SetLevel sets the standard logger level.
-func SetLevel(level Level) {
-       std.mu.Lock()
-       defer std.mu.Unlock()
-       std.setLevel(level)
-}
-
-// GetLevel returns the standard logger level.
-func GetLevel() Level {
-       std.mu.Lock()
-       defer std.mu.Unlock()
-       return std.level()
-}
-
-// AddHook adds a hook to the standard logger hooks.
-func AddHook(hook Hook) {
-       std.mu.Lock()
-       defer std.mu.Unlock()
-       std.Hooks.Add(hook)
-}
-
-// WithError creates an entry from the standard logger and adds an error to it, using the value defined in ErrorKey as key.
-func WithError(err error) *Entry {
-       return std.WithField(ErrorKey, err)
-}
-
-// WithField creates an entry from the standard logger and adds a field to
-// it. If you want multiple fields, use `WithFields`.
-//
-// Note that it doesn't log until you call Debug, Print, Info, Warn, Fatal
-// or Panic on the Entry it returns.
-func WithField(key string, value interface{}) *Entry {
-       return std.WithField(key, value)
-}
-
-// WithFields creates an entry from the standard logger and adds multiple
-// fields to it. This is simply a helper for `WithField`, invoking it
-// once for each field.
-//
-// Note that it doesn't log until you call Debug, Print, Info, Warn, Fatal
-// or Panic on the Entry it returns.
-func WithFields(fields Fields) *Entry {
-       return std.WithFields(fields)
-}
-
-// Debug logs a message at level Debug on the standard logger.
-func Debug(args ...interface{}) {
-       std.Debug(args...)
-}
-
-// Print logs a message at level Info on the standard logger.
-func Print(args ...interface{}) {
-       std.Print(args...)
-}
-
-// Info logs a message at level Info on the standard logger.
-func Info(args ...interface{}) {
-       std.Info(args...)
-}
-
-// Warn logs a message at level Warn on the standard logger.
-func Warn(args ...interface{}) {
-       std.Warn(args...)
-}
-
-// Warning logs a message at level Warn on the standard logger.
-func Warning(args ...interface{}) {
-       std.Warning(args...)
-}
-
-// Error logs a message at level Error on the standard logger.
-func Error(args ...interface{}) {
-       std.Error(args...)
-}
-
-// Panic logs a message at level Panic on the standard logger.
-func Panic(args ...interface{}) {
-       std.Panic(args...)
-}
-
-// Fatal logs a message at level Fatal on the standard logger.
-func Fatal(args ...interface{}) {
-       std.Fatal(args...)
-}
-
-// Debugf logs a message at level Debug on the standard logger.
-func Debugf(format string, args ...interface{}) {
-       std.Debugf(format, args...)
-}
-
-// Printf logs a message at level Info on the standard logger.
-func Printf(format string, args ...interface{}) {
-       std.Printf(format, args...)
-}
-
-// Infof logs a message at level Info on the standard logger.
-func Infof(format string, args ...interface{}) {
-       std.Infof(format, args...)
-}
-
-// Warnf logs a message at level Warn on the standard logger.
-func Warnf(format string, args ...interface{}) {
-       std.Warnf(format, args...)
-}
-
-// Warningf logs a message at level Warn on the standard logger.
-func Warningf(format string, args ...interface{}) {
-       std.Warningf(format, args...)
-}
-
-// Errorf logs a message at level Error on the standard logger.
-func Errorf(format string, args ...interface{}) {
-       std.Errorf(format, args...)
-}
-
-// Panicf logs a message at level Panic on the standard logger.
-func Panicf(format string, args ...interface{}) {
-       std.Panicf(format, args...)
-}
-
-// Fatalf logs a message at level Fatal on the standard logger.
-func Fatalf(format string, args ...interface{}) {
-       std.Fatalf(format, args...)
-}
-
-// Debugln logs a message at level Debug on the standard logger.
-func Debugln(args ...interface{}) {
-       std.Debugln(args...)
-}
-
-// Println logs a message at level Info on the standard logger.
-func Println(args ...interface{}) {
-       std.Println(args...)
-}
-
-// Infoln logs a message at level Info on the standard logger.
-func Infoln(args ...interface{}) {
-       std.Infoln(args...)
-}
-
-// Warnln logs a message at level Warn on the standard logger.
-func Warnln(args ...interface{}) {
-       std.Warnln(args...)
-}
-
-// Warningln logs a message at level Warn on the standard logger.
-func Warningln(args ...interface{}) {
-       std.Warningln(args...)
-}
-
-// Errorln logs a message at level Error on the standard logger.
-func Errorln(args ...interface{}) {
-       std.Errorln(args...)
-}
-
-// Panicln logs a message at level Panic on the standard logger.
-func Panicln(args ...interface{}) {
-       std.Panicln(args...)
-}
-
-// Fatalln logs a message at level Fatal on the standard logger.
-func Fatalln(args ...interface{}) {
-       std.Fatalln(args...)
-}
diff --git a/vendor/github.com/sirupsen/logrus/formatter.go b/vendor/github.com/sirupsen/logrus/formatter.go
deleted file mode 100644 (file)
index b5fbe93..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-package logrus
-
-import "time"
-
-const DefaultTimestampFormat = time.RFC3339
-
-// The Formatter interface is used to implement a custom Formatter. It takes an
-// `Entry`. It exposes all the fields, including the default ones:
-//
-// * `entry.Data["msg"]`. The message passed from Info, Warn, Error ..
-// * `entry.Data["time"]`. The timestamp.
-// * `entry.Data["level"]. The level the entry was logged at.
-//
-// Any additional fields added with `WithField` or `WithFields` are also in
-// `entry.Data`. Format is expected to return an array of bytes which are then
-// logged to `logger.Out`.
-type Formatter interface {
-       Format(*Entry) ([]byte, error)
-}
-
-// This is to not silently overwrite `time`, `msg` and `level` fields when
-// dumping it. If this code wasn't there doing:
-//
-//  logrus.WithField("level", 1).Info("hello")
-//
-// Would just silently drop the user provided level. Instead with this code
-// it'll logged as:
-//
-//  {"level": "info", "fields.level": 1, "msg": "hello", "time": "..."}
-//
-// It's not exported because it's still using Data in an opinionated way. It's to
-// avoid code duplication between the two default formatters.
-func prefixFieldClashes(data Fields) {
-       if t, ok := data["time"]; ok {
-               data["fields.time"] = t
-       }
-
-       if m, ok := data["msg"]; ok {
-               data["fields.msg"] = m
-       }
-
-       if l, ok := data["level"]; ok {
-               data["fields.level"] = l
-       }
-}
diff --git a/vendor/github.com/sirupsen/logrus/hooks.go b/vendor/github.com/sirupsen/logrus/hooks.go
deleted file mode 100644 (file)
index 3f151cd..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-package logrus
-
-// A hook to be fired when logging on the logging levels returned from
-// `Levels()` on your implementation of the interface. Note that this is not
-// fired in a goroutine or a channel with workers, you should handle such
-// functionality yourself if your call is non-blocking and you don't wish for
-// the logging calls for levels returned from `Levels()` to block.
-type Hook interface {
-       Levels() []Level
-       Fire(*Entry) error
-}
-
-// Internal type for storing the hooks on a logger instance.
-type LevelHooks map[Level][]Hook
-
-// Add a hook to an instance of logger. This is called with
-// `log.Hooks.Add(new(MyHook))` where `MyHook` implements the `Hook` interface.
-func (hooks LevelHooks) Add(hook Hook) {
-       for _, level := range hook.Levels() {
-               hooks[level] = append(hooks[level], hook)
-       }
-}
-
-// Fire all the hooks for the passed level. Used by `entry.log` to fire
-// appropriate hooks for a log entry.
-func (hooks LevelHooks) Fire(level Level, entry *Entry) error {
-       for _, hook := range hooks[level] {
-               if err := hook.Fire(entry); err != nil {
-                       return err
-               }
-       }
-
-       return nil
-}
diff --git a/vendor/github.com/sirupsen/logrus/json_formatter.go b/vendor/github.com/sirupsen/logrus/json_formatter.go
deleted file mode 100644 (file)
index e787ea1..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-package logrus
-
-import (
-       "encoding/json"
-       "fmt"
-)
-
-type fieldKey string
-type FieldMap map[fieldKey]string
-
-const (
-       FieldKeyMsg   = "msg"
-       FieldKeyLevel = "level"
-       FieldKeyTime  = "time"
-)
-
-func (f FieldMap) resolve(key fieldKey) string {
-       if k, ok := f[key]; ok {
-               return k
-       }
-
-       return string(key)
-}
-
-type JSONFormatter struct {
-       // TimestampFormat sets the format used for marshaling timestamps.
-       TimestampFormat string
-
-       // DisableTimestamp allows disabling automatic timestamps in output
-       DisableTimestamp bool
-
-       // FieldMap allows users to customize the names of keys for various fields.
-       // As an example:
-       // formatter := &JSONFormatter{
-       //      FieldMap: FieldMap{
-       //               FieldKeyTime: "@timestamp",
-       //               FieldKeyLevel: "@level",
-       //               FieldKeyMsg: "@message",
-       //    },
-       // }
-       FieldMap FieldMap
-}
-
-func (f *JSONFormatter) Format(entry *Entry) ([]byte, error) {
-       data := make(Fields, len(entry.Data)+3)
-       for k, v := range entry.Data {
-               switch v := v.(type) {
-               case error:
-                       // Otherwise errors are ignored by `encoding/json`
-                       // https://github.com/sirupsen/logrus/issues/137
-                       data[k] = v.Error()
-               default:
-                       data[k] = v
-               }
-       }
-       prefixFieldClashes(data)
-
-       timestampFormat := f.TimestampFormat
-       if timestampFormat == "" {
-               timestampFormat = DefaultTimestampFormat
-       }
-
-       if !f.DisableTimestamp {
-               data[f.FieldMap.resolve(FieldKeyTime)] = entry.Time.Format(timestampFormat)
-       }
-       data[f.FieldMap.resolve(FieldKeyMsg)] = entry.Message
-       data[f.FieldMap.resolve(FieldKeyLevel)] = entry.Level.String()
-
-       serialized, err := json.Marshal(data)
-       if err != nil {
-               return nil, fmt.Errorf("Failed to marshal fields to JSON, %v", err)
-       }
-       return append(serialized, '\n'), nil
-}
diff --git a/vendor/github.com/sirupsen/logrus/logger.go b/vendor/github.com/sirupsen/logrus/logger.go
deleted file mode 100644 (file)
index 370fff5..0000000
+++ /dev/null
@@ -1,317 +0,0 @@
-package logrus
-
-import (
-       "io"
-       "os"
-       "sync"
-       "sync/atomic"
-)
-
-type Logger struct {
-       // The logs are `io.Copy`'d to this in a mutex. It's common to set this to a
-       // file, or leave it default which is `os.Stderr`. You can also set this to
-       // something more adventorous, such as logging to Kafka.
-       Out io.Writer
-       // Hooks for the logger instance. These allow firing events based on logging
-       // levels and log entries. For example, to send errors to an error tracking
-       // service, log to StatsD or dump the core on fatal errors.
-       Hooks LevelHooks
-       // All log entries pass through the formatter before logged to Out. The
-       // included formatters are `TextFormatter` and `JSONFormatter` for which
-       // TextFormatter is the default. In development (when a TTY is attached) it
-       // logs with colors, but to a file it wouldn't. You can easily implement your
-       // own that implements the `Formatter` interface, see the `README` or included
-       // formatters for examples.
-       Formatter Formatter
-       // The logging level the logger should log at. This is typically (and defaults
-       // to) `logrus.Info`, which allows Info(), Warn(), Error() and Fatal() to be
-       // logged. `logrus.Debug` is useful in
-       Level Level
-       // Used to sync writing to the log. Locking is enabled by Default
-       mu MutexWrap
-       // Reusable empty entry
-       entryPool sync.Pool
-}
-
-type MutexWrap struct {
-       lock     sync.Mutex
-       disabled bool
-}
-
-func (mw *MutexWrap) Lock() {
-       if !mw.disabled {
-               mw.lock.Lock()
-       }
-}
-
-func (mw *MutexWrap) Unlock() {
-       if !mw.disabled {
-               mw.lock.Unlock()
-       }
-}
-
-func (mw *MutexWrap) Disable() {
-       mw.disabled = true
-}
-
-// Creates a new logger. Configuration should be set by changing `Formatter`,
-// `Out` and `Hooks` directly on the default logger instance. You can also just
-// instantiate your own:
-//
-//    var log = &Logger{
-//      Out: os.Stderr,
-//      Formatter: new(JSONFormatter),
-//      Hooks: make(LevelHooks),
-//      Level: logrus.DebugLevel,
-//    }
-//
-// It's recommended to make this a global instance called `log`.
-func New() *Logger {
-       return &Logger{
-               Out:       os.Stderr,
-               Formatter: new(TextFormatter),
-               Hooks:     make(LevelHooks),
-               Level:     InfoLevel,
-       }
-}
-
-func (logger *Logger) newEntry() *Entry {
-       entry, ok := logger.entryPool.Get().(*Entry)
-       if ok {
-               return entry
-       }
-       return NewEntry(logger)
-}
-
-func (logger *Logger) releaseEntry(entry *Entry) {
-       logger.entryPool.Put(entry)
-}
-
-// Adds a field to the log entry, note that it doesn't log until you call
-// Debug, Print, Info, Warn, Fatal or Panic. It only creates a log entry.
-// If you want multiple fields, use `WithFields`.
-func (logger *Logger) WithField(key string, value interface{}) *Entry {
-       entry := logger.newEntry()
-       defer logger.releaseEntry(entry)
-       return entry.WithField(key, value)
-}
-
-// Adds a struct of fields to the log entry. All it does is call `WithField` for
-// each `Field`.
-func (logger *Logger) WithFields(fields Fields) *Entry {
-       entry := logger.newEntry()
-       defer logger.releaseEntry(entry)
-       return entry.WithFields(fields)
-}
-
-// Add an error as single field to the log entry.  All it does is call
-// `WithError` for the given `error`.
-func (logger *Logger) WithError(err error) *Entry {
-       entry := logger.newEntry()
-       defer logger.releaseEntry(entry)
-       return entry.WithError(err)
-}
-
-func (logger *Logger) Debugf(format string, args ...interface{}) {
-       if logger.level() >= DebugLevel {
-               entry := logger.newEntry()
-               entry.Debugf(format, args...)
-               logger.releaseEntry(entry)
-       }
-}
-
-func (logger *Logger) Infof(format string, args ...interface{}) {
-       if logger.level() >= InfoLevel {
-               entry := logger.newEntry()
-               entry.Infof(format, args...)
-               logger.releaseEntry(entry)
-       }
-}
-
-func (logger *Logger) Printf(format string, args ...interface{}) {
-       entry := logger.newEntry()
-       entry.Printf(format, args...)
-       logger.releaseEntry(entry)
-}
-
-func (logger *Logger) Warnf(format string, args ...interface{}) {
-       if logger.level() >= WarnLevel {
-               entry := logger.newEntry()
-               entry.Warnf(format, args...)
-               logger.releaseEntry(entry)
-       }
-}
-
-func (logger *Logger) Warningf(format string, args ...interface{}) {
-       if logger.level() >= WarnLevel {
-               entry := logger.newEntry()
-               entry.Warnf(format, args...)
-               logger.releaseEntry(entry)
-       }
-}
-
-func (logger *Logger) Errorf(format string, args ...interface{}) {
-       if logger.level() >= ErrorLevel {
-               entry := logger.newEntry()
-               entry.Errorf(format, args...)
-               logger.releaseEntry(entry)
-       }
-}
-
-func (logger *Logger) Fatalf(format string, args ...interface{}) {
-       if logger.level() >= FatalLevel {
-               entry := logger.newEntry()
-               entry.Fatalf(format, args...)
-               logger.releaseEntry(entry)
-       }
-       Exit(1)
-}
-
-func (logger *Logger) Panicf(format string, args ...interface{}) {
-       if logger.level() >= PanicLevel {
-               entry := logger.newEntry()
-               entry.Panicf(format, args...)
-               logger.releaseEntry(entry)
-       }
-}
-
-func (logger *Logger) Debug(args ...interface{}) {
-       if logger.level() >= DebugLevel {
-               entry := logger.newEntry()
-               entry.Debug(args...)
-               logger.releaseEntry(entry)
-       }
-}
-
-func (logger *Logger) Info(args ...interface{}) {
-       if logger.level() >= InfoLevel {
-               entry := logger.newEntry()
-               entry.Info(args...)
-               logger.releaseEntry(entry)
-       }
-}
-
-func (logger *Logger) Print(args ...interface{}) {
-       entry := logger.newEntry()
-       entry.Info(args...)
-       logger.releaseEntry(entry)
-}
-
-func (logger *Logger) Warn(args ...interface{}) {
-       if logger.level() >= WarnLevel {
-               entry := logger.newEntry()
-               entry.Warn(args...)
-               logger.releaseEntry(entry)
-       }
-}
-
-func (logger *Logger) Warning(args ...interface{}) {
-       if logger.level() >= WarnLevel {
-               entry := logger.newEntry()
-               entry.Warn(args...)
-               logger.releaseEntry(entry)
-       }
-}
-
-func (logger *Logger) Error(args ...interface{}) {
-       if logger.level() >= ErrorLevel {
-               entry := logger.newEntry()
-               entry.Error(args...)
-               logger.releaseEntry(entry)
-       }
-}
-
-func (logger *Logger) Fatal(args ...interface{}) {
-       if logger.level() >= FatalLevel {
-               entry := logger.newEntry()
-               entry.Fatal(args...)
-               logger.releaseEntry(entry)
-       }
-       Exit(1)
-}
-
-func (logger *Logger) Panic(args ...interface{}) {
-       if logger.level() >= PanicLevel {
-               entry := logger.newEntry()
-               entry.Panic(args...)
-               logger.releaseEntry(entry)
-       }
-}
-
-func (logger *Logger) Debugln(args ...interface{}) {
-       if logger.level() >= DebugLevel {
-               entry := logger.newEntry()
-               entry.Debugln(args...)
-               logger.releaseEntry(entry)
-       }
-}
-
-func (logger *Logger) Infoln(args ...interface{}) {
-       if logger.level() >= InfoLevel {
-               entry := logger.newEntry()
-               entry.Infoln(args...)
-               logger.releaseEntry(entry)
-       }
-}
-
-func (logger *Logger) Println(args ...interface{}) {
-       entry := logger.newEntry()
-       entry.Println(args...)
-       logger.releaseEntry(entry)
-}
-
-func (logger *Logger) Warnln(args ...interface{}) {
-       if logger.level() >= WarnLevel {
-               entry := logger.newEntry()
-               entry.Warnln(args...)
-               logger.releaseEntry(entry)
-       }
-}
-
-func (logger *Logger) Warningln(args ...interface{}) {
-       if logger.level() >= WarnLevel {
-               entry := logger.newEntry()
-               entry.Warnln(args...)
-               logger.releaseEntry(entry)
-       }
-}
-
-func (logger *Logger) Errorln(args ...interface{}) {
-       if logger.level() >= ErrorLevel {
-               entry := logger.newEntry()
-               entry.Errorln(args...)
-               logger.releaseEntry(entry)
-       }
-}
-
-func (logger *Logger) Fatalln(args ...interface{}) {
-       if logger.level() >= FatalLevel {
-               entry := logger.newEntry()
-               entry.Fatalln(args...)
-               logger.releaseEntry(entry)
-       }
-       Exit(1)
-}
-
-func (logger *Logger) Panicln(args ...interface{}) {
-       if logger.level() >= PanicLevel {
-               entry := logger.newEntry()
-               entry.Panicln(args...)
-               logger.releaseEntry(entry)
-       }
-}
-
-//When file is opened with appending mode, it's safe to
-//write concurrently to a file (within 4k message on Linux).
-//In these cases user can choose to disable the lock.
-func (logger *Logger) SetNoLock() {
-       logger.mu.Disable()
-}
-
-func (logger *Logger) level() Level {
-       return Level(atomic.LoadUint32((*uint32)(&logger.Level)))
-}
-
-func (logger *Logger) setLevel(level Level) {
-       atomic.StoreUint32((*uint32)(&logger.Level), uint32(level))
-}
diff --git a/vendor/github.com/sirupsen/logrus/logrus.go b/vendor/github.com/sirupsen/logrus/logrus.go
deleted file mode 100644 (file)
index dd38999..0000000
+++ /dev/null
@@ -1,143 +0,0 @@
-package logrus
-
-import (
-       "fmt"
-       "log"
-       "strings"
-)
-
-// Fields type, used to pass to `WithFields`.
-type Fields map[string]interface{}
-
-// Level type
-type Level uint32
-
-// Convert the Level to a string. E.g. PanicLevel becomes "panic".
-func (level Level) String() string {
-       switch level {
-       case DebugLevel:
-               return "debug"
-       case InfoLevel:
-               return "info"
-       case WarnLevel:
-               return "warning"
-       case ErrorLevel:
-               return "error"
-       case FatalLevel:
-               return "fatal"
-       case PanicLevel:
-               return "panic"
-       }
-
-       return "unknown"
-}
-
-// ParseLevel takes a string level and returns the Logrus log level constant.
-func ParseLevel(lvl string) (Level, error) {
-       switch strings.ToLower(lvl) {
-       case "panic":
-               return PanicLevel, nil
-       case "fatal":
-               return FatalLevel, nil
-       case "error":
-               return ErrorLevel, nil
-       case "warn", "warning":
-               return WarnLevel, nil
-       case "info":
-               return InfoLevel, nil
-       case "debug":
-               return DebugLevel, nil
-       }
-
-       var l Level
-       return l, fmt.Errorf("not a valid logrus Level: %q", lvl)
-}
-
-// A constant exposing all logging levels
-var AllLevels = []Level{
-       PanicLevel,
-       FatalLevel,
-       ErrorLevel,
-       WarnLevel,
-       InfoLevel,
-       DebugLevel,
-}
-
-// These are the different logging levels. You can set the logging level to log
-// on your instance of logger, obtained with `logrus.New()`.
-const (
-       // PanicLevel level, highest level of severity. Logs and then calls panic with the
-       // message passed to Debug, Info, ...
-       PanicLevel Level = iota
-       // FatalLevel level. Logs and then calls `os.Exit(1)`. It will exit even if the
-       // logging level is set to Panic.
-       FatalLevel
-       // ErrorLevel level. Logs. Used for errors that should definitely be noted.
-       // Commonly used for hooks to send errors to an error tracking service.
-       ErrorLevel
-       // WarnLevel level. Non-critical entries that deserve eyes.
-       WarnLevel
-       // InfoLevel level. General operational entries about what's going on inside the
-       // application.
-       InfoLevel
-       // DebugLevel level. Usually only enabled when debugging. Very verbose logging.
-       DebugLevel
-)
-
-// Won't compile if StdLogger can't be realized by a log.Logger
-var (
-       _ StdLogger = &log.Logger{}
-       _ StdLogger = &Entry{}
-       _ StdLogger = &Logger{}
-)
-
-// StdLogger is what your logrus-enabled library should take, that way
-// it'll accept a stdlib logger and a logrus logger. There's no standard
-// interface, this is the closest we get, unfortunately.
-type StdLogger interface {
-       Print(...interface{})
-       Printf(string, ...interface{})
-       Println(...interface{})
-
-       Fatal(...interface{})
-       Fatalf(string, ...interface{})
-       Fatalln(...interface{})
-
-       Panic(...interface{})
-       Panicf(string, ...interface{})
-       Panicln(...interface{})
-}
-
-// The FieldLogger interface generalizes the Entry and Logger types
-type FieldLogger interface {
-       WithField(key string, value interface{}) *Entry
-       WithFields(fields Fields) *Entry
-       WithError(err error) *Entry
-
-       Debugf(format string, args ...interface{})
-       Infof(format string, args ...interface{})
-       Printf(format string, args ...interface{})
-       Warnf(format string, args ...interface{})
-       Warningf(format string, args ...interface{})
-       Errorf(format string, args ...interface{})
-       Fatalf(format string, args ...interface{})
-       Panicf(format string, args ...interface{})
-
-       Debug(args ...interface{})
-       Info(args ...interface{})
-       Print(args ...interface{})
-       Warn(args ...interface{})
-       Warning(args ...interface{})
-       Error(args ...interface{})
-       Fatal(args ...interface{})
-       Panic(args ...interface{})
-
-       Debugln(args ...interface{})
-       Infoln(args ...interface{})
-       Println(args ...interface{})
-       Warnln(args ...interface{})
-       Warningln(args ...interface{})
-       Errorln(args ...interface{})
-       Fatalln(args ...interface{})
-       Panicln(args ...interface{})
-}
diff --git a/vendor/github.com/sirupsen/logrus/terminal_appengine.go b/vendor/github.com/sirupsen/logrus/terminal_appengine.go
deleted file mode 100644 (file)
index e011a86..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-// +build appengine
-
-package logrus
-
-import "io"
-
-// IsTerminal returns true if stderr's file descriptor is a terminal.
-func IsTerminal(f io.Writer) bool {
-       return true
-}
diff --git a/vendor/github.com/sirupsen/logrus/terminal_bsd.go b/vendor/github.com/sirupsen/logrus/terminal_bsd.go
deleted file mode 100644 (file)
index 5f6be4d..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-// +build darwin freebsd openbsd netbsd dragonfly
-// +build !appengine
-
-package logrus
-
-import "syscall"
-
-const ioctlReadTermios = syscall.TIOCGETA
-
-type Termios syscall.Termios
diff --git a/vendor/github.com/sirupsen/logrus/terminal_linux.go b/vendor/github.com/sirupsen/logrus/terminal_linux.go
deleted file mode 100644 (file)
index 308160c..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-// Based on ssh/terminal:
-// Copyright 2013 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !appengine
-
-package logrus
-
-import "syscall"
-
-const ioctlReadTermios = syscall.TCGETS
-
-type Termios syscall.Termios
diff --git a/vendor/github.com/sirupsen/logrus/terminal_notwindows.go b/vendor/github.com/sirupsen/logrus/terminal_notwindows.go
deleted file mode 100644 (file)
index 190297a..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-// Based on ssh/terminal:
-// Copyright 2011 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build linux darwin freebsd openbsd netbsd dragonfly
-// +build !appengine
-
-package logrus
-
-import (
-       "io"
-       "os"
-       "syscall"
-       "unsafe"
-)
-
-// IsTerminal returns true if stderr's file descriptor is a terminal.
-func IsTerminal(f io.Writer) bool {
-       var termios Termios
-       switch v := f.(type) {
-       case *os.File:
-               _, _, err := syscall.Syscall6(syscall.SYS_IOCTL, uintptr(v.Fd()), ioctlReadTermios, uintptr(unsafe.Pointer(&termios)), 0, 0, 0)
-               return err == 0
-       default:
-               return false
-       }
-}
diff --git a/vendor/github.com/sirupsen/logrus/terminal_solaris.go b/vendor/github.com/sirupsen/logrus/terminal_solaris.go
deleted file mode 100644 (file)
index 3c86b1a..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// +build solaris,!appengine
-
-package logrus
-
-import (
-       "io"
-       "os"
-
-       "golang.org/x/sys/unix"
-)
-
-// IsTerminal returns true if the given file descriptor is a terminal.
-func IsTerminal(f io.Writer) bool {
-       switch v := f.(type) {
-       case *os.File:
-               _, err := unix.IoctlGetTermios(int(v.Fd()), unix.TCGETA)
-               return err == nil
-       default:
-               return false
-       }
-}
diff --git a/vendor/github.com/sirupsen/logrus/terminal_windows.go b/vendor/github.com/sirupsen/logrus/terminal_windows.go
deleted file mode 100644 (file)
index 7a33630..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-// Based on ssh/terminal:
-// Copyright 2011 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build windows,!appengine
-
-package logrus
-
-import (
-       "bytes"
-       "errors"
-       "io"
-       "os"
-       "os/exec"
-       "strconv"
-       "strings"
-       "syscall"
-       "unsafe"
-)
-
-var kernel32 = syscall.NewLazyDLL("kernel32.dll")
-
-var (
-       procGetConsoleMode = kernel32.NewProc("GetConsoleMode")
-       procSetConsoleMode = kernel32.NewProc("SetConsoleMode")
-)
-
-const (
-       enableProcessedOutput           = 0x0001
-       enableWrapAtEolOutput           = 0x0002
-       enableVirtualTerminalProcessing = 0x0004
-)
-
-func getVersion() (float64, error) {
-       stdout, stderr := &bytes.Buffer{}, &bytes.Buffer{}
-       cmd := exec.Command("cmd", "ver")
-       cmd.Stdout = stdout
-       cmd.Stderr = stderr
-       err := cmd.Run()
-       if err != nil {
-               return -1, err
-       }
-       
-       // The output should be like "Microsoft Windows [Version XX.X.XXXXXX]"
-       version := strings.Replace(stdout.String(), "\n", "", -1)
-       version = strings.Replace(version, "\r\n", "", -1)
-
-       x1 := strings.Index(version, "[Version")
-
-       if x1 == -1 || strings.Index(version, "]") == -1 {
-               return -1, errors.New("Can't determine Windows version")
-       }
-
-       return strconv.ParseFloat(version[x1+9:x1+13], 64)
-}
-
-func init() {
-       ver, err := getVersion()
-       if err != nil {
-               return
-       }
-
-       // Activate Virtual Processing for Windows CMD
-       // Info: https://msdn.microsoft.com/en-us/library/windows/desktop/ms686033(v=vs.85).aspx
-       if ver >= 10 {
-               handle := syscall.Handle(os.Stderr.Fd())
-               procSetConsoleMode.Call(uintptr(handle), enableProcessedOutput|enableWrapAtEolOutput|enableVirtualTerminalProcessing)
-       }
-}
-
-// IsTerminal returns true if stderr's file descriptor is a terminal.
-func IsTerminal(f io.Writer) bool {
-       switch v := f.(type) {
-       case *os.File:
-               var st uint32
-               r, _, e := syscall.Syscall(procGetConsoleMode.Addr(), 2, uintptr(v.Fd()), uintptr(unsafe.Pointer(&st)), 0)
-               return r != 0 && e == 0
-       default:
-               return false
-       }
-}
diff --git a/vendor/github.com/sirupsen/logrus/text_formatter.go b/vendor/github.com/sirupsen/logrus/text_formatter.go
deleted file mode 100644 (file)
index ba88854..0000000
+++ /dev/null
@@ -1,189 +0,0 @@
-package logrus
-
-import (
-       "bytes"
-       "fmt"
-       "sort"
-       "strings"
-       "sync"
-       "time"
-)
-
-const (
-       nocolor = 0
-       red     = 31
-       green   = 32
-       yellow  = 33
-       blue    = 34
-       gray    = 37
-)
-
-var (
-       baseTimestamp time.Time
-)
-
-func init() {
-       baseTimestamp = time.Now()
-}
-
-type TextFormatter struct {
-       // Set to true to bypass checking for a TTY before outputting colors.
-       ForceColors bool
-
-       // Force disabling colors.
-       DisableColors bool
-
-       // Disable timestamp logging. useful when output is redirected to logging
-       // system that already adds timestamps.
-       DisableTimestamp bool
-
-       // Enable logging the full timestamp when a TTY is attached instead of just
-       // the time passed since beginning of execution.
-       FullTimestamp bool
-
-       // TimestampFormat to use for display when a full timestamp is printed
-       TimestampFormat string
-
-       // The fields are sorted by default for a consistent output. For applications
-       // that log extremely frequently and don't use the JSON formatter this may not
-       // be desired.
-       DisableSorting bool
-
-       // QuoteEmptyFields will wrap empty fields in quotes if true
-       QuoteEmptyFields bool
-
-       // QuoteCharacter can be set to the override the default quoting character "
-       // with something else. For example: ', or `.
-       QuoteCharacter string
-
-       // Whether the logger's out is to a terminal
-       isTerminal bool
-
-       sync.Once
-}
-
-func (f *TextFormatter) init(entry *Entry) {
-       if len(f.QuoteCharacter) == 0 {
-               f.QuoteCharacter = "\""
-       }
-       if entry.Logger != nil {
-               f.isTerminal = IsTerminal(entry.Logger.Out)
-       }
-}
-
-func (f *TextFormatter) Format(entry *Entry) ([]byte, error) {
-       var b *bytes.Buffer
-       keys := make([]string, 0, len(entry.Data))
-       for k := range entry.Data {
-               keys = append(keys, k)
-       }
-
-       if !f.DisableSorting {
-               sort.Strings(keys)
-       }
-       if entry.Buffer != nil {
-               b = entry.Buffer
-       } else {
-               b = &bytes.Buffer{}
-       }
-
-       prefixFieldClashes(entry.Data)
-
-       f.Do(func() { f.init(entry) })
-
-       isColored := (f.ForceColors || f.isTerminal) && !f.DisableColors
-
-       timestampFormat := f.TimestampFormat
-       if timestampFormat == "" {
-               timestampFormat = DefaultTimestampFormat
-       }
-       if isColored {
-               f.printColored(b, entry, keys, timestampFormat)
-       } else {
-               if !f.DisableTimestamp {
-                       f.appendKeyValue(b, "time", entry.Time.Format(timestampFormat))
-               }
-               f.appendKeyValue(b, "level", entry.Level.String())
-               if entry.Message != "" {
-                       f.appendKeyValue(b, "msg", entry.Message)
-               }
-               for _, key := range keys {
-                       f.appendKeyValue(b, key, entry.Data[key])
-               }
-       }
-
-       b.WriteByte('\n')
-       return b.Bytes(), nil
-}
-
-func (f *TextFormatter) printColored(b *bytes.Buffer, entry *Entry, keys []string, timestampFormat string) {
-       var levelColor int
-       switch entry.Level {
-       case DebugLevel:
-               levelColor = gray
-       case WarnLevel:
-               levelColor = yellow
-       case ErrorLevel, FatalLevel, PanicLevel:
-               levelColor = red
-       default:
-               levelColor = blue
-       }
-
-       levelText := strings.ToUpper(entry.Level.String())[0:4]
-
-       if f.DisableTimestamp {
-               fmt.Fprintf(b, "\x1b[%dm%s\x1b[0m %-44s ", levelColor, levelText, entry.Message)
-       } else if !f.FullTimestamp {
-               fmt.Fprintf(b, "\x1b[%dm%s\x1b[0m[%04d] %-44s ", levelColor, levelText, int(entry.Time.Sub(baseTimestamp)/time.Second), entry.Message)
-       } else {
-               fmt.Fprintf(b, "\x1b[%dm%s\x1b[0m[%s] %-44s ", levelColor, levelText, entry.Time.Format(timestampFormat), entry.Message)
-       }
-       for _, k := range keys {
-               v := entry.Data[k]
-               fmt.Fprintf(b, " \x1b[%dm%s\x1b[0m=", levelColor, k)
-               f.appendValue(b, v)
-       }
-}
-
-func (f *TextFormatter) needsQuoting(text string) bool {
-       if f.QuoteEmptyFields && len(text) == 0 {
-               return true
-       }
-       for _, ch := range text {
-               if !((ch >= 'a' && ch <= 'z') ||
-                       (ch >= 'A' && ch <= 'Z') ||
-                       (ch >= '0' && ch <= '9') ||
-                       ch == '-' || ch == '.') {
-                       return true
-               }
-       }
-       return false
-}
-
-func (f *TextFormatter) appendKeyValue(b *bytes.Buffer, key string, value interface{}) {
-
-       b.WriteString(key)
-       b.WriteByte('=')
-       f.appendValue(b, value)
-       b.WriteByte(' ')
-}
-
-func (f *TextFormatter) appendValue(b *bytes.Buffer, value interface{}) {
-       switch value := value.(type) {
-       case string:
-               if !f.needsQuoting(value) {
-                       b.WriteString(value)
-               } else {
-                       fmt.Fprintf(b, "%s%v%s", f.QuoteCharacter, value, f.QuoteCharacter)
-               }
-       case error:
-               errmsg := value.Error()
-               if !f.needsQuoting(errmsg) {
-                       b.WriteString(errmsg)
-               } else {
-                       fmt.Fprintf(b, "%s%v%s", f.QuoteCharacter, errmsg, f.QuoteCharacter)
-               }
-       default:
-               fmt.Fprint(b, value)
-       }
-}
diff --git a/vendor/github.com/sirupsen/logrus/writer.go b/vendor/github.com/sirupsen/logrus/writer.go
deleted file mode 100644 (file)
index 7bdebed..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-package logrus
-
-import (
-       "bufio"
-       "io"
-       "runtime"
-)
-
-func (logger *Logger) Writer() *io.PipeWriter {
-       return logger.WriterLevel(InfoLevel)
-}
-
-func (logger *Logger) WriterLevel(level Level) *io.PipeWriter {
-       return NewEntry(logger).WriterLevel(level)
-}
-
-func (entry *Entry) Writer() *io.PipeWriter {
-       return entry.WriterLevel(InfoLevel)
-}
-
-func (entry *Entry) WriterLevel(level Level) *io.PipeWriter {
-       reader, writer := io.Pipe()
-
-       var printFunc func(args ...interface{})
-
-       switch level {
-       case DebugLevel:
-               printFunc = entry.Debug
-       case InfoLevel:
-               printFunc = entry.Info
-       case WarnLevel:
-               printFunc = entry.Warn
-       case ErrorLevel:
-               printFunc = entry.Error
-       case FatalLevel:
-               printFunc = entry.Fatal
-       case PanicLevel:
-               printFunc = entry.Panic
-       default:
-               printFunc = entry.Print
-       }
-
-       go entry.writerScanner(reader, printFunc)
-       runtime.SetFinalizer(writer, writerFinalizer)
-
-       return writer
-}
-
-func (entry *Entry) writerScanner(reader *io.PipeReader, printFunc func(args ...interface{})) {
-       scanner := bufio.NewScanner(reader)
-       for scanner.Scan() {
-               printFunc(scanner.Text())
-       }
-       if err := scanner.Err(); err != nil {
-               entry.Errorf("Error while reading from Writer: %s", err)
-       }
-       reader.Close()
-}
-
-func writerFinalizer(writer *io.PipeWriter) {
-       writer.Close()
-}
diff --git a/vendor/golang.org/x/sys/AUTHORS b/vendor/golang.org/x/sys/AUTHORS
deleted file mode 100644 (file)
index 15167cd..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# This source code refers to The Go Authors for copyright purposes.
-# The master list of authors is in the main Go distribution,
-# visible at http://tip.golang.org/AUTHORS.
diff --git a/vendor/golang.org/x/sys/CONTRIBUTORS b/vendor/golang.org/x/sys/CONTRIBUTORS
deleted file mode 100644 (file)
index 1c4577e..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# This source code was written by the Go contributors.
-# The master list of contributors is in the main Go distribution,
-# visible at http://tip.golang.org/CONTRIBUTORS.
diff --git a/vendor/golang.org/x/sys/LICENSE b/vendor/golang.org/x/sys/LICENSE
deleted file mode 100644 (file)
index 6a66aea..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-Copyright (c) 2009 The Go Authors. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
-   * Redistributions of source code must retain the above copyright
-notice, this list of conditions and the following disclaimer.
-   * Redistributions in binary form must reproduce the above
-copyright notice, this list of conditions and the following disclaimer
-in the documentation and/or other materials provided with the
-distribution.
-   * Neither the name of Google Inc. nor the names of its
-contributors may be used to endorse or promote products derived from
-this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/vendor/golang.org/x/sys/PATENTS b/vendor/golang.org/x/sys/PATENTS
deleted file mode 100644 (file)
index 7330990..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-Additional IP Rights Grant (Patents)
-
-"This implementation" means the copyrightable works distributed by
-Google as part of the Go project.
-
-Google hereby grants to You a perpetual, worldwide, non-exclusive,
-no-charge, royalty-free, irrevocable (except as stated in this section)
-patent license to make, have made, use, offer to sell, sell, import,
-transfer and otherwise run, modify and propagate the contents of this
-implementation of Go, where such license applies only to those patent
-claims, both currently owned or controlled by Google and acquired in
-the future, licensable by Google that are necessarily infringed by this
-implementation of Go.  This grant does not include claims that would be
-infringed only as a consequence of further modification of this
-implementation.  If you or your agent or exclusive licensee institute or
-order or agree to the institution of patent litigation against any
-entity (including a cross-claim or counterclaim in a lawsuit) alleging
-that this implementation of Go or any code incorporated within this
-implementation of Go constitutes direct or contributory patent
-infringement, or inducement of patent infringement, then any patent
-rights granted to you under this License for this implementation of Go
-shall terminate as of the date such litigation is filed.
diff --git a/vendor/golang.org/x/sys/unix/.gitignore b/vendor/golang.org/x/sys/unix/.gitignore
deleted file mode 100644 (file)
index e482715..0000000
+++ /dev/null
@@ -1 +0,0 @@
-_obj/
diff --git a/vendor/golang.org/x/sys/unix/README.md b/vendor/golang.org/x/sys/unix/README.md
deleted file mode 100644 (file)
index bc6f603..0000000
+++ /dev/null
@@ -1,173 +0,0 @@
-# Building `sys/unix`
-
-The sys/unix package provides access to the raw system call interface of the
-underlying operating system. See: https://godoc.org/golang.org/x/sys/unix
-
-Porting Go to a new architecture/OS combination or adding syscalls, types, or
-constants to an existing architecture/OS pair requires some manual effort;
-however, there are tools that automate much of the process.
-
-## Build Systems
-
-There are currently two ways we generate the necessary files. We are currently
-migrating the build system to use containers so the builds are reproducible.
-This is being done on an OS-by-OS basis. Please update this documentation as
-components of the build system change.
-
-### Old Build System (currently for `GOOS != "Linux" || GOARCH == "sparc64"`)
-
-The old build system generates the Go files based on the C header files
-present on your system. This means that files
-for a given GOOS/GOARCH pair must be generated on a system with that OS and
-architecture. This also means that the generated code can differ from system
-to system, based on differences in the header files.
-
-To avoid this, if you are using the old build system, only generate the Go
-files on an installation with unmodified header files. It is also important to
-keep track of which version of the OS the files were generated from (ex.
-Darwin 14 vs Darwin 15). This makes it easier to track the progress of changes
-and have each OS upgrade correspond to a single change.
-
-To build the files for your current OS and architecture, make sure GOOS and
-GOARCH are set correctly and run `mkall.sh`. This will generate the files for
-your specific system. Running `mkall.sh -n` shows the commands that will be run.
-
-Requirements: bash, perl, go
-
-### New Build System (currently for `GOOS == "Linux" && GOARCH != "sparc64"`)
-
-The new build system uses a Docker container to generate the go files directly
-from source checkouts of the kernel and various system libraries. This means
-that on any platform that supports Docker, all the files using the new build
-system can be generated at once, and generated files will not change based on
-what the person running the scripts has installed on their computer.
-
-The OS specific files for the new build system are located in the `${GOOS}`
-directory, and the build is coordinated by the `${GOOS}/mkall.go` program. When
-the kernel or system library updates, modify the Dockerfile at
-`${GOOS}/Dockerfile` to checkout the new release of the source.
-
-To build all the files under the new build system, you must be on an amd64/Linux
-system and have your GOOS and GOARCH set accordingly. Running `mkall.sh` will
-then generate all of the files for all of the GOOS/GOARCH pairs in the new build
-system. Running `mkall.sh -n` shows the commands that will be run.
-
-Requirements: bash, perl, go, docker
-
-## Component files
-
-This section describes the various files used in the code generation process.
-It also contains instructions on how to modify these files to add a new
-architecture/OS or to add additional syscalls, types, or constants. Note that
-if you are using the new build system, the scripts cannot be called normally.
-They must be called from within the docker container.
-
-### asm files
-
-The hand-written assembly file at `asm_${GOOS}_${GOARCH}.s` implements system
-call dispatch. There are three entry points:
-```
-  func Syscall(trap, a1, a2, a3 uintptr) (r1, r2, err uintptr)
-  func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, err uintptr)
-  func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2, err uintptr)
-```
-The first and second are the standard ones; they differ only in how many
-arguments can be passed to the kernel. The third is for low-level use by the
-ForkExec wrapper. Unlike the first two, it does not call into the scheduler to
-let it know that a system call is running.
-
-When porting Go to an new architecture/OS, this file must be implemented for
-each GOOS/GOARCH pair.
-
-### mksysnum
-
-Mksysnum is a script located at `${GOOS}/mksysnum.pl` (or `mksysnum_${GOOS}.pl`
-for the old system). This script takes in a list of header files containing the
-syscall number declarations and parses them to produce the corresponding list of
-Go numeric constants. See `zsysnum_${GOOS}_${GOARCH}.go` for the generated
-constants.
-
-Adding new syscall numbers is mostly done by running the build on a sufficiently
-new installation of the target OS (or updating the source checkouts for the
-new build system). However, depending on the OS, you make need to update the
-parsing in mksysnum.
-
-### mksyscall.pl
-
-The `syscall.go`, `syscall_${GOOS}.go`, `syscall_${GOOS}_${GOARCH}.go` are
-hand-written Go files which implement system calls (for unix, the specific OS,
-or the specific OS/Architecture pair respectively) that need special handling
-and list `//sys` comments giving prototypes for ones that can be generated.
-
-The mksyscall.pl script takes the `//sys` and `//sysnb` comments and converts
-them into syscalls. This requires the name of the prototype in the comment to
-match a syscall number in the `zsysnum_${GOOS}_${GOARCH}.go` file. The function
-prototype can be exported (capitalized) or not.
-
-Adding a new syscall often just requires adding a new `//sys` function prototype
-with the desired arguments and a capitalized name so it is exported. However, if
-you want the interface to the syscall to be different, often one will make an
-unexported `//sys` prototype, an then write a custom wrapper in
-`syscall_${GOOS}.go`.
-
-### types files
-
-For each OS, there is a hand-written Go file at `${GOOS}/types.go` (or
-`types_${GOOS}.go` on the old system). This file includes standard C headers and
-creates Go type aliases to the corresponding C types. The file is then fed
-through godef to get the Go compatible definitions. Finally, the generated code
-is fed though mkpost.go to format the code correctly and remove any hidden or
-private identifiers. This cleaned-up code is written to
-`ztypes_${GOOS}_${GOARCH}.go`.
-
-The hardest part about preparing this file is figuring out which headers to
-include and which symbols need to be `#define`d to get the actual data
-structures that pass through to the kernel system calls. Some C libraries
-preset alternate versions for binary compatibility and translate them on the
-way in and out of system calls, but there is almost always a `#define` that can
-get the real ones.
-See `types_darwin.go` and `linux/types.go` for examples.
-
-To add a new type, add in the necessary include statement at the top of the
-file (if it is not already there) and add in a type alias line. Note that if
-your type is significantly different on different architectures, you may need
-some `#if/#elif` macros in your include statements.
-
-### mkerrors.sh
-
-This script is used to generate the system's various constants. This doesn't
-just include the error numbers and error strings, but also the signal numbers
-an a wide variety of miscellaneous constants. The constants come from the list
-of include files in the `includes_${uname}` variable. A regex then picks out
-the desired `#define` statements, and generates the corresponding Go constants.
-The error numbers and strings are generated from `#include <errno.h>`, and the
-signal numbers and strings are generated from `#include <signal.h>`. All of
-these constants are written to `zerrors_${GOOS}_${GOARCH}.go` via a C program,
-`_errors.c`, which prints out all the constants.
-
-To add a constant, add the header that includes it to the appropriate variable.
-Then, edit the regex (if necessary) to match the desired constant. Avoid making
-the regex too broad to avoid matching unintended constants.
-
-
-## Generated files
-
-### `zerror_${GOOS}_${GOARCH}.go`
-
-A file containing all of the system's generated error numbers, error strings,
-signal numbers, and constants. Generated by `mkerrors.sh` (see above).
-
-### `zsyscall_${GOOS}_${GOARCH}.go`
-
-A file containing all the generated syscalls for a specific GOOS and GOARCH.
-Generated by `mksyscall.pl` (see above).
-
-### `zsysnum_${GOOS}_${GOARCH}.go`
-
-A list of numeric constants for all the syscall number of the specific GOOS
-and GOARCH. Generated by mksysnum (see above).
-
-### `ztypes_${GOOS}_${GOARCH}.go`
-
-A file containing Go types for passing into (or returning from) syscalls.
-Generated by godefs and the types file (see above).
diff --git a/vendor/golang.org/x/sys/unix/asm_darwin_386.s b/vendor/golang.org/x/sys/unix/asm_darwin_386.s
deleted file mode 100644 (file)
index 8a72783..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System call support for 386, Darwin
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   ·Syscall(SB),NOSPLIT,$0-28
-       JMP     syscall·Syscall(SB)
-
-TEXT   ·Syscall6(SB),NOSPLIT,$0-40
-       JMP     syscall·Syscall6(SB)
-
-TEXT   ·Syscall9(SB),NOSPLIT,$0-52
-       JMP     syscall·Syscall9(SB)
-
-TEXT ·RawSyscall(SB),NOSPLIT,$0-28
-       JMP     syscall·RawSyscall(SB)
-
-TEXT   ·RawSyscall6(SB),NOSPLIT,$0-40
-       JMP     syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_darwin_amd64.s b/vendor/golang.org/x/sys/unix/asm_darwin_amd64.s
deleted file mode 100644 (file)
index 6321421..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System call support for AMD64, Darwin
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   ·Syscall(SB),NOSPLIT,$0-56
-       JMP     syscall·Syscall(SB)
-
-TEXT   ·Syscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·Syscall6(SB)
-
-TEXT   ·Syscall9(SB),NOSPLIT,$0-104
-       JMP     syscall·Syscall9(SB)
-
-TEXT   ·RawSyscall(SB),NOSPLIT,$0-56
-       JMP     syscall·RawSyscall(SB)
-
-TEXT   ·RawSyscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_darwin_arm.s b/vendor/golang.org/x/sys/unix/asm_darwin_arm.s
deleted file mode 100644 (file)
index 333242d..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2015 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-// +build arm,darwin
-
-#include "textflag.h"
-
-//
-// System call support for ARM, Darwin
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   ·Syscall(SB),NOSPLIT,$0-28
-       B       syscall·Syscall(SB)
-
-TEXT   ·Syscall6(SB),NOSPLIT,$0-40
-       B       syscall·Syscall6(SB)
-
-TEXT   ·Syscall9(SB),NOSPLIT,$0-52
-       B       syscall·Syscall9(SB)
-
-TEXT   ·RawSyscall(SB),NOSPLIT,$0-28
-       B       syscall·RawSyscall(SB)
-
-TEXT   ·RawSyscall6(SB),NOSPLIT,$0-40
-       B       syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_darwin_arm64.s b/vendor/golang.org/x/sys/unix/asm_darwin_arm64.s
deleted file mode 100644 (file)
index 97e0174..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2015 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-// +build arm64,darwin
-
-#include "textflag.h"
-
-//
-// System call support for AMD64, Darwin
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   ·Syscall(SB),NOSPLIT,$0-56
-       B       syscall·Syscall(SB)
-
-TEXT   ·Syscall6(SB),NOSPLIT,$0-80
-       B       syscall·Syscall6(SB)
-
-TEXT   ·Syscall9(SB),NOSPLIT,$0-104
-       B       syscall·Syscall9(SB)
-
-TEXT   ·RawSyscall(SB),NOSPLIT,$0-56
-       B       syscall·RawSyscall(SB)
-
-TEXT   ·RawSyscall6(SB),NOSPLIT,$0-80
-       B       syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s b/vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s
deleted file mode 100644 (file)
index d5ed672..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System call support for AMD64, DragonFly
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   ·Syscall(SB),NOSPLIT,$0-64
-       JMP     syscall·Syscall(SB)
-
-TEXT   ·Syscall6(SB),NOSPLIT,$0-88
-       JMP     syscall·Syscall6(SB)
-
-TEXT   ·Syscall9(SB),NOSPLIT,$0-112
-       JMP     syscall·Syscall9(SB)
-
-TEXT ·RawSyscall(SB),NOSPLIT,$0-64
-       JMP     syscall·RawSyscall(SB)
-
-TEXT   ·RawSyscall6(SB),NOSPLIT,$0-88
-       JMP     syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_freebsd_386.s b/vendor/golang.org/x/sys/unix/asm_freebsd_386.s
deleted file mode 100644 (file)
index c9a0a26..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System call support for 386, FreeBSD
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   ·Syscall(SB),NOSPLIT,$0-28
-       JMP     syscall·Syscall(SB)
-
-TEXT   ·Syscall6(SB),NOSPLIT,$0-40
-       JMP     syscall·Syscall6(SB)
-
-TEXT   ·Syscall9(SB),NOSPLIT,$0-52
-       JMP     syscall·Syscall9(SB)
-
-TEXT ·RawSyscall(SB),NOSPLIT,$0-28
-       JMP     syscall·RawSyscall(SB)
-
-TEXT   ·RawSyscall6(SB),NOSPLIT,$0-40
-       JMP     syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_freebsd_amd64.s b/vendor/golang.org/x/sys/unix/asm_freebsd_amd64.s
deleted file mode 100644 (file)
index 3517247..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System call support for AMD64, FreeBSD
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   ·Syscall(SB),NOSPLIT,$0-56
-       JMP     syscall·Syscall(SB)
-
-TEXT   ·Syscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·Syscall6(SB)
-
-TEXT   ·Syscall9(SB),NOSPLIT,$0-104
-       JMP     syscall·Syscall9(SB)
-
-TEXT ·RawSyscall(SB),NOSPLIT,$0-56
-       JMP     syscall·RawSyscall(SB)
-
-TEXT   ·RawSyscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_freebsd_arm.s b/vendor/golang.org/x/sys/unix/asm_freebsd_arm.s
deleted file mode 100644 (file)
index 9227c87..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2012 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System call support for ARM, FreeBSD
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   ·Syscall(SB),NOSPLIT,$0-28
-       B       syscall·Syscall(SB)
-
-TEXT   ·Syscall6(SB),NOSPLIT,$0-40
-       B       syscall·Syscall6(SB)
-
-TEXT   ·Syscall9(SB),NOSPLIT,$0-52
-       B       syscall·Syscall9(SB)
-
-TEXT   ·RawSyscall(SB),NOSPLIT,$0-28
-       B       syscall·RawSyscall(SB)
-
-TEXT   ·RawSyscall6(SB),NOSPLIT,$0-40
-       B       syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_linux_386.s b/vendor/golang.org/x/sys/unix/asm_linux_386.s
deleted file mode 100644 (file)
index 4db2909..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System calls for 386, Linux
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   ·Syscall(SB),NOSPLIT,$0-28
-       JMP     syscall·Syscall(SB)
-
-TEXT   ·Syscall6(SB),NOSPLIT,$0-40
-       JMP     syscall·Syscall6(SB)
-
-TEXT ·RawSyscall(SB),NOSPLIT,$0-28
-       JMP     syscall·RawSyscall(SB)
-
-TEXT   ·RawSyscall6(SB),NOSPLIT,$0-40
-       JMP     syscall·RawSyscall6(SB)
-
-TEXT ·socketcall(SB),NOSPLIT,$0-36
-       JMP     syscall·socketcall(SB)
-
-TEXT ·rawsocketcall(SB),NOSPLIT,$0-36
-       JMP     syscall·rawsocketcall(SB)
-
-TEXT ·seek(SB),NOSPLIT,$0-28
-       JMP     syscall·seek(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_linux_amd64.s b/vendor/golang.org/x/sys/unix/asm_linux_amd64.s
deleted file mode 100644 (file)
index 44e25c6..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System calls for AMD64, Linux
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   ·Syscall(SB),NOSPLIT,$0-56
-       JMP     syscall·Syscall(SB)
-
-TEXT ·Syscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·Syscall6(SB)
-
-TEXT ·RawSyscall(SB),NOSPLIT,$0-56
-       JMP     syscall·RawSyscall(SB)
-
-TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·RawSyscall6(SB)
-
-TEXT ·gettimeofday(SB),NOSPLIT,$0-16
-       JMP     syscall·gettimeofday(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_linux_arm.s b/vendor/golang.org/x/sys/unix/asm_linux_arm.s
deleted file mode 100644 (file)
index cf0b574..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System calls for arm, Linux
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   ·Syscall(SB),NOSPLIT,$0-28
-       B       syscall·Syscall(SB)
-
-TEXT   ·Syscall6(SB),NOSPLIT,$0-40
-       B       syscall·Syscall6(SB)
-
-TEXT ·RawSyscall(SB),NOSPLIT,$0-28
-       B       syscall·RawSyscall(SB)
-
-TEXT   ·RawSyscall6(SB),NOSPLIT,$0-40
-       B       syscall·RawSyscall6(SB)
-
-TEXT ·seek(SB),NOSPLIT,$0-32
-       B       syscall·seek(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_linux_arm64.s b/vendor/golang.org/x/sys/unix/asm_linux_arm64.s
deleted file mode 100644 (file)
index 4be9bfe..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2015 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build linux
-// +build arm64
-// +build !gccgo
-
-#include "textflag.h"
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   ·Syscall(SB),NOSPLIT,$0-56
-       B       syscall·Syscall(SB)
-
-TEXT ·Syscall6(SB),NOSPLIT,$0-80
-       B       syscall·Syscall6(SB)
-
-TEXT ·RawSyscall(SB),NOSPLIT,$0-56
-       B       syscall·RawSyscall(SB)
-
-TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
-       B       syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s b/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s
deleted file mode 100644 (file)
index 724e580..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2015 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build linux
-// +build mips64 mips64le
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System calls for mips64, Linux
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   ·Syscall(SB),NOSPLIT,$0-56
-       JMP     syscall·Syscall(SB)
-
-TEXT   ·Syscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·Syscall6(SB)
-
-TEXT   ·RawSyscall(SB),NOSPLIT,$0-56
-       JMP     syscall·RawSyscall(SB)
-
-TEXT   ·RawSyscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_linux_mipsx.s b/vendor/golang.org/x/sys/unix/asm_linux_mipsx.s
deleted file mode 100644 (file)
index 2ea4257..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2016 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build linux
-// +build mips mipsle
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System calls for mips, Linux
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   ·Syscall(SB),NOSPLIT,$0-28
-       JMP syscall·Syscall(SB)
-
-TEXT   ·Syscall6(SB),NOSPLIT,$0-40
-       JMP syscall·Syscall6(SB)
-
-TEXT   ·Syscall9(SB),NOSPLIT,$0-52
-       JMP syscall·Syscall9(SB)
-
-TEXT   ·RawSyscall(SB),NOSPLIT,$0-28
-       JMP syscall·RawSyscall(SB)
-
-TEXT   ·RawSyscall6(SB),NOSPLIT,$0-40
-       JMP syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s b/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s
deleted file mode 100644 (file)
index 8d231fe..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2014 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build linux
-// +build ppc64 ppc64le
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System calls for ppc64, Linux
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   ·Syscall(SB),NOSPLIT,$0-56
-       BR      syscall·Syscall(SB)
-
-TEXT ·Syscall6(SB),NOSPLIT,$0-80
-       BR      syscall·Syscall6(SB)
-
-TEXT ·RawSyscall(SB),NOSPLIT,$0-56
-       BR      syscall·RawSyscall(SB)
-
-TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
-       BR      syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_linux_s390x.s b/vendor/golang.org/x/sys/unix/asm_linux_s390x.s
deleted file mode 100644 (file)
index 1188985..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2016 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build s390x
-// +build linux
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System calls for s390x, Linux
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT ·Syscall(SB),NOSPLIT,$0-56
-       BR      syscall·Syscall(SB)
-
-TEXT ·Syscall6(SB),NOSPLIT,$0-80
-       BR      syscall·Syscall6(SB)
-
-TEXT ·RawSyscall(SB),NOSPLIT,$0-56
-       BR      syscall·RawSyscall(SB)
-
-TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
-       BR      syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_netbsd_386.s b/vendor/golang.org/x/sys/unix/asm_netbsd_386.s
deleted file mode 100644 (file)
index 48bdcd7..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System call support for 386, NetBSD
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   ·Syscall(SB),NOSPLIT,$0-28
-       JMP     syscall·Syscall(SB)
-
-TEXT   ·Syscall6(SB),NOSPLIT,$0-40
-       JMP     syscall·Syscall6(SB)
-
-TEXT   ·Syscall9(SB),NOSPLIT,$0-52
-       JMP     syscall·Syscall9(SB)
-
-TEXT ·RawSyscall(SB),NOSPLIT,$0-28
-       JMP     syscall·RawSyscall(SB)
-
-TEXT   ·RawSyscall6(SB),NOSPLIT,$0-40
-       JMP     syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_netbsd_amd64.s b/vendor/golang.org/x/sys/unix/asm_netbsd_amd64.s
deleted file mode 100644 (file)
index 2ede05c..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System call support for AMD64, NetBSD
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   ·Syscall(SB),NOSPLIT,$0-56
-       JMP     syscall·Syscall(SB)
-
-TEXT   ·Syscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·Syscall6(SB)
-
-TEXT   ·Syscall9(SB),NOSPLIT,$0-104
-       JMP     syscall·Syscall9(SB)
-
-TEXT   ·RawSyscall(SB),NOSPLIT,$0-56
-       JMP     syscall·RawSyscall(SB)
-
-TEXT   ·RawSyscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_netbsd_arm.s b/vendor/golang.org/x/sys/unix/asm_netbsd_arm.s
deleted file mode 100644 (file)
index e892857..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2013 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System call support for ARM, NetBSD
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   ·Syscall(SB),NOSPLIT,$0-28
-       B       syscall·Syscall(SB)
-
-TEXT   ·Syscall6(SB),NOSPLIT,$0-40
-       B       syscall·Syscall6(SB)
-
-TEXT   ·Syscall9(SB),NOSPLIT,$0-52
-       B       syscall·Syscall9(SB)
-
-TEXT   ·RawSyscall(SB),NOSPLIT,$0-28
-       B       syscall·RawSyscall(SB)
-
-TEXT   ·RawSyscall6(SB),NOSPLIT,$0-40
-       B       syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_openbsd_386.s b/vendor/golang.org/x/sys/unix/asm_openbsd_386.s
deleted file mode 100644 (file)
index 00576f3..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System call support for 386, OpenBSD
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   ·Syscall(SB),NOSPLIT,$0-28
-       JMP     syscall·Syscall(SB)
-
-TEXT   ·Syscall6(SB),NOSPLIT,$0-40
-       JMP     syscall·Syscall6(SB)
-
-TEXT   ·Syscall9(SB),NOSPLIT,$0-52
-       JMP     syscall·Syscall9(SB)
-
-TEXT ·RawSyscall(SB),NOSPLIT,$0-28
-       JMP     syscall·RawSyscall(SB)
-
-TEXT   ·RawSyscall6(SB),NOSPLIT,$0-40
-       JMP     syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_openbsd_amd64.s b/vendor/golang.org/x/sys/unix/asm_openbsd_amd64.s
deleted file mode 100644 (file)
index 790ef77..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System call support for AMD64, OpenBSD
-//
-
-// Just jump to package syscall's implementation for all these functions.
-// The runtime may know about them.
-
-TEXT   ·Syscall(SB),NOSPLIT,$0-56
-       JMP     syscall·Syscall(SB)
-
-TEXT   ·Syscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·Syscall6(SB)
-
-TEXT   ·Syscall9(SB),NOSPLIT,$0-104
-       JMP     syscall·Syscall9(SB)
-
-TEXT   ·RawSyscall(SB),NOSPLIT,$0-56
-       JMP     syscall·RawSyscall(SB)
-
-TEXT   ·RawSyscall6(SB),NOSPLIT,$0-80
-       JMP     syscall·RawSyscall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/asm_solaris_amd64.s b/vendor/golang.org/x/sys/unix/asm_solaris_amd64.s
deleted file mode 100644 (file)
index 43ed17a..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright 2014 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build !gccgo
-
-#include "textflag.h"
-
-//
-// System calls for amd64, Solaris are implemented in runtime/syscall_solaris.go
-//
-
-TEXT ·sysvicall6(SB),NOSPLIT,$0-64
-       JMP     syscall·sysvicall6(SB)
-
-TEXT ·rawSysvicall6(SB),NOSPLIT,$0-64
-       JMP     syscall·rawSysvicall6(SB)
diff --git a/vendor/golang.org/x/sys/unix/bluetooth_linux.go b/vendor/golang.org/x/sys/unix/bluetooth_linux.go
deleted file mode 100644 (file)
index 6e32296..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2016 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Bluetooth sockets and messages
-
-package unix
-
-// Bluetooth Protocols
-const (
-       BTPROTO_L2CAP  = 0
-       BTPROTO_HCI    = 1
-       BTPROTO_SCO    = 2
-       BTPROTO_RFCOMM = 3
-       BTPROTO_BNEP   = 4
-       BTPROTO_CMTP   = 5
-       BTPROTO_HIDP   = 6
-       BTPROTO_AVDTP  = 7
-)
-
-const (
-       HCI_CHANNEL_RAW     = 0
-       HCI_CHANNEL_USER    = 1
-       HCI_CHANNEL_MONITOR = 2
-       HCI_CHANNEL_CONTROL = 3
-)
-
-// Socketoption Level
-const (
-       SOL_BLUETOOTH = 0x112
-       SOL_HCI       = 0x0
-       SOL_L2CAP     = 0x6
-       SOL_RFCOMM    = 0x12
-       SOL_SCO       = 0x11
-)
diff --git a/vendor/golang.org/x/sys/unix/constants.go b/vendor/golang.org/x/sys/unix/constants.go
deleted file mode 100644 (file)
index a96f0eb..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// Copyright 2015 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
-
-package unix
-
-const (
-       R_OK = 0x4
-       W_OK = 0x2
-       X_OK = 0x1
-)
diff --git a/vendor/golang.org/x/sys/unix/dirent.go b/vendor/golang.org/x/sys/unix/dirent.go
deleted file mode 100644 (file)
index bd47581..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build darwin dragonfly freebsd linux nacl netbsd openbsd solaris
-
-package unix
-
-import "unsafe"
-
-// readInt returns the size-bytes unsigned integer in native byte order at offset off.
-func readInt(b []byte, off, size uintptr) (u uint64, ok bool) {
-       if len(b) < int(off+size) {
-               return 0, false
-       }
-       if isBigEndian {
-               return readIntBE(b[off:], size), true
-       }
-       return readIntLE(b[off:], size), true
-}
-
-func readIntBE(b []byte, size uintptr) uint64 {
-       switch size {
-       case 1:
-               return uint64(b[0])
-       case 2:
-               _ = b[1] // bounds check hint to compiler; see golang.org/issue/14808
-               return uint64(b[1]) | uint64(b[0])<<8
-       case 4:
-               _ = b[3] // bounds check hint to compiler; see golang.org/issue/14808
-               return uint64(b[3]) | uint64(b[2])<<8 | uint64(b[1])<<16 | uint64(b[0])<<24
-       case 8:
-               _ = b[7] // bounds check hint to compiler; see golang.org/issue/14808
-               return uint64(b[7]) | uint64(b[6])<<8 | uint64(b[5])<<16 | uint64(b[4])<<24 |
-                       uint64(b[3])<<32 | uint64(b[2])<<40 | uint64(b[1])<<48 | uint64(b[0])<<56
-       default:
-               panic("syscall: readInt with unsupported size")
-       }
-}
-
-func readIntLE(b []byte, size uintptr) uint64 {
-       switch size {
-       case 1:
-               return uint64(b[0])
-       case 2:
-               _ = b[1] // bounds check hint to compiler; see golang.org/issue/14808
-               return uint64(b[0]) | uint64(b[1])<<8
-       case 4:
-               _ = b[3] // bounds check hint to compiler; see golang.org/issue/14808
-               return uint64(b[0]) | uint64(b[1])<<8 | uint64(b[2])<<16 | uint64(b[3])<<24
-       case 8:
-               _ = b[7] // bounds check hint to compiler; see golang.org/issue/14808
-               return uint64(b[0]) | uint64(b[1])<<8 | uint64(b[2])<<16 | uint64(b[3])<<24 |
-                       uint64(b[4])<<32 | uint64(b[5])<<40 | uint64(b[6])<<48 | uint64(b[7])<<56
-       default:
-               panic("syscall: readInt with unsupported size")
-       }
-}
-
-// ParseDirent parses up to max directory entries in buf,
-// appending the names to names. It returns the number of
-// bytes consumed from buf, the number of entries added
-// to names, and the new names slice.
-func ParseDirent(buf []byte, max int, names []string) (consumed int, count int, newnames []string) {
-       origlen := len(buf)
-       count = 0
-       for max != 0 && len(buf) > 0 {
-               reclen, ok := direntReclen(buf)
-               if !ok || reclen > uint64(len(buf)) {
-                       return origlen, count, names
-               }
-               rec := buf[:reclen]
-               buf = buf[reclen:]
-               ino, ok := direntIno(rec)
-               if !ok {
-                       break
-               }
-               if ino == 0 { // File absent in directory.
-                       continue
-               }
-               const namoff = uint64(unsafe.Offsetof(Dirent{}.Name))
-               namlen, ok := direntNamlen(rec)
-               if !ok || namoff+namlen > uint64(len(rec)) {
-                       break
-               }
-               name := rec[namoff : namoff+namlen]
-               for i, c := range name {
-                       if c == 0 {
-                               name = name[:i]
-                               break
-                       }
-               }
-               // Check for useless names before allocating a string.
-               if string(name) == "." || string(name) == ".." {
-                       continue
-               }
-               max--
-               count++
-               names = append(names, string(name))
-       }
-       return origlen - len(buf), count, names
-}
diff --git a/vendor/golang.org/x/sys/unix/endian_big.go b/vendor/golang.org/x/sys/unix/endian_big.go
deleted file mode 100644 (file)
index 5e92690..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-// Copyright 2016 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-//
-// +build ppc64 s390x mips mips64
-
-package unix
-
-const isBigEndian = true
diff --git a/vendor/golang.org/x/sys/unix/endian_little.go b/vendor/golang.org/x/sys/unix/endian_little.go
deleted file mode 100644 (file)
index 085df2d..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-// Copyright 2016 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-//
-// +build 386 amd64 amd64p32 arm arm64 ppc64le mipsle mips64le
-
-package unix
-
-const isBigEndian = false
diff --git a/vendor/golang.org/x/sys/unix/env_unix.go b/vendor/golang.org/x/sys/unix/env_unix.go
deleted file mode 100644 (file)
index 45e281a..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2010 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
-
-// Unix environment variables.
-
-package unix
-
-import "syscall"
-
-func Getenv(key string) (value string, found bool) {
-       return syscall.Getenv(key)
-}
-
-func Setenv(key, value string) error {
-       return syscall.Setenv(key, value)
-}
-
-func Clearenv() {
-       syscall.Clearenv()
-}
-
-func Environ() []string {
-       return syscall.Environ()
-}
diff --git a/vendor/golang.org/x/sys/unix/env_unset.go b/vendor/golang.org/x/sys/unix/env_unset.go
deleted file mode 100644 (file)
index 9222262..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-// Copyright 2014 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build go1.4
-
-package unix
-
-import "syscall"
-
-func Unsetenv(key string) error {
-       // This was added in Go 1.4.
-       return syscall.Unsetenv(key)
-}
diff --git a/vendor/golang.org/x/sys/unix/flock.go b/vendor/golang.org/x/sys/unix/flock.go
deleted file mode 100644 (file)
index ce67a59..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-// +build linux darwin freebsd openbsd netbsd dragonfly
-
-// Copyright 2014 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build darwin dragonfly freebsd linux netbsd openbsd
-
-package unix
-
-import "unsafe"
-
-// fcntl64Syscall is usually SYS_FCNTL, but is overridden on 32-bit Linux
-// systems by flock_linux_32bit.go to be SYS_FCNTL64.
-var fcntl64Syscall uintptr = SYS_FCNTL
-
-// FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
-func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
-       _, _, errno := Syscall(fcntl64Syscall, fd, uintptr(cmd), uintptr(unsafe.Pointer(lk)))
-       if errno == 0 {
-               return nil
-       }
-       return errno
-}
diff --git a/vendor/golang.org/x/sys/unix/flock_linux_32bit.go b/vendor/golang.org/x/sys/unix/flock_linux_32bit.go
deleted file mode 100644 (file)
index fc0e50e..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// +build linux,386 linux,arm linux,mips linux,mipsle
-
-// Copyright 2014 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package unix
-
-func init() {
-       // On 32-bit Linux systems, the fcntl syscall that matches Go's
-       // Flock_t type is SYS_FCNTL64, not SYS_FCNTL.
-       fcntl64Syscall = SYS_FCNTL64
-}
diff --git a/vendor/golang.org/x/sys/unix/gccgo.go b/vendor/golang.org/x/sys/unix/gccgo.go
deleted file mode 100644 (file)
index 94c8232..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2015 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build gccgo
-
-package unix
-
-import "syscall"
-
-// We can't use the gc-syntax .s files for gccgo.  On the plus side
-// much of the functionality can be written directly in Go.
-
-//extern gccgoRealSyscall
-func realSyscall(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r, errno uintptr)
-
-func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) {
-       syscall.Entersyscall()
-       r, errno := realSyscall(trap, a1, a2, a3, 0, 0, 0, 0, 0, 0)
-       syscall.Exitsyscall()
-       return r, 0, syscall.Errno(errno)
-}
-
-func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) {
-       syscall.Entersyscall()
-       r, errno := realSyscall(trap, a1, a2, a3, a4, a5, a6, 0, 0, 0)
-       syscall.Exitsyscall()
-       return r, 0, syscall.Errno(errno)
-}
-
-func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) {
-       syscall.Entersyscall()
-       r, errno := realSyscall(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9)
-       syscall.Exitsyscall()
-       return r, 0, syscall.Errno(errno)
-}
-
-func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) {
-       r, errno := realSyscall(trap, a1, a2, a3, 0, 0, 0, 0, 0, 0)
-       return r, 0, syscall.Errno(errno)
-}
-
-func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) {
-       r, errno := realSyscall(trap, a1, a2, a3, a4, a5, a6, 0, 0, 0)
-       return r, 0, syscall.Errno(errno)
-}
diff --git a/vendor/golang.org/x/sys/unix/gccgo_c.c b/vendor/golang.org/x/sys/unix/gccgo_c.c
deleted file mode 100644 (file)
index 07f6be0..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2015 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build gccgo
-
-#include <errno.h>
-#include <stdint.h>
-#include <unistd.h>
-
-#define _STRINGIFY2_(x) #x
-#define _STRINGIFY_(x) _STRINGIFY2_(x)
-#define GOSYM_PREFIX _STRINGIFY_(__USER_LABEL_PREFIX__)
-
-// Call syscall from C code because the gccgo support for calling from
-// Go to C does not support varargs functions.
-
-struct ret {
-       uintptr_t r;
-       uintptr_t err;
-};
-
-struct ret
-gccgoRealSyscall(uintptr_t trap, uintptr_t a1, uintptr_t a2, uintptr_t a3, uintptr_t a4, uintptr_t a5, uintptr_t a6, uintptr_t a7, uintptr_t a8, uintptr_t a9)
-{
-       struct ret r;
-
-       errno = 0;
-       r.r = syscall(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9);
-       r.err = errno;
-       return r;
-}
-
-// Define the use function in C so that it is not inlined.
-
-extern void use(void *) __asm__ (GOSYM_PREFIX GOPKGPATH ".use") __attribute__((noinline));
-
-void
-use(void *p __attribute__ ((unused)))
-{
-}
diff --git a/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go b/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
deleted file mode 100644 (file)
index bffe1a7..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2015 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build gccgo,linux,amd64
-
-package unix
-
-import "syscall"
-
-//extern gettimeofday
-func realGettimeofday(*Timeval, *byte) int32
-
-func gettimeofday(tv *Timeval) (err syscall.Errno) {
-       r := realGettimeofday(tv, nil)
-       if r < 0 {
-               return syscall.GetErrno()
-       }
-       return 0
-}
diff --git a/vendor/golang.org/x/sys/unix/gccgo_linux_sparc64.go b/vendor/golang.org/x/sys/unix/gccgo_linux_sparc64.go
deleted file mode 100644 (file)
index 5633269..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2016 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build gccgo,linux,sparc64
-
-package unix
-
-import "syscall"
-
-//extern sysconf
-func realSysconf(name int) int64
-
-func sysconf(name int) (n int64, err syscall.Errno) {
-       r := realSysconf(name)
-       if r < 0 {
-               return 0, syscall.GetErrno()
-       }
-       return r, 0
-}
diff --git a/vendor/golang.org/x/sys/unix/mkall.sh b/vendor/golang.org/x/sys/unix/mkall.sh
deleted file mode 100755 (executable)
index f0d6566..0000000
+++ /dev/null
@@ -1,179 +0,0 @@
-#!/usr/bin/env bash
-# Copyright 2009 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-
-# This script runs or (given -n) prints suggested commands to generate files for
-# the Architecture/OS specified by the GOARCH and GOOS environment variables.
-# See README.md for more information about how the build system works.
-
-GOOSARCH="${GOOS}_${GOARCH}"
-
-# defaults
-mksyscall="./mksyscall.pl"
-mkerrors="./mkerrors.sh"
-zerrors="zerrors_$GOOSARCH.go"
-mksysctl=""
-zsysctl="zsysctl_$GOOSARCH.go"
-mksysnum=
-mktypes=
-run="sh"
-cmd=""
-
-case "$1" in
--syscalls)
-       for i in zsyscall*go
-       do
-               # Run the command line that appears in the first line
-               # of the generated file to regenerate it.
-               sed 1q $i | sed 's;^// ;;' | sh > _$i && gofmt < _$i > $i
-               rm _$i
-       done
-       exit 0
-       ;;
--n)
-       run="cat"
-       cmd="echo"
-       shift
-esac
-
-case "$#" in
-0)
-       ;;
-*)
-       echo 'usage: mkall.sh [-n]' 1>&2
-       exit 2
-esac
-
-if [[ "$GOOS" = "linux" ]] && [[ "$GOARCH" != "sparc64" ]]; then
-       # Use then new build system
-       # Files generated through docker (use $cmd so you can Ctl-C the build or run)
-       $cmd docker build --tag generate:$GOOS $GOOS
-       $cmd docker run --interactive --tty --volume $(dirname "$(readlink -f "$0")"):/build generate:$GOOS
-       exit
-fi
-
-GOOSARCH_in=syscall_$GOOSARCH.go
-case "$GOOSARCH" in
-_* | *_ | _)
-       echo 'undefined $GOOS_$GOARCH:' "$GOOSARCH" 1>&2
-       exit 1
-       ;;
-darwin_386)
-       mkerrors="$mkerrors -m32"
-       mksyscall="./mksyscall.pl -l32"
-       mksysnum="./mksysnum_darwin.pl $(xcrun --show-sdk-path --sdk macosx)/usr/include/sys/syscall.h"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-darwin_amd64)
-       mkerrors="$mkerrors -m64"
-       mksysnum="./mksysnum_darwin.pl $(xcrun --show-sdk-path --sdk macosx)/usr/include/sys/syscall.h"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-darwin_arm)
-       mkerrors="$mkerrors"
-       mksysnum="./mksysnum_darwin.pl /usr/include/sys/syscall.h"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-darwin_arm64)
-       mkerrors="$mkerrors -m64"
-       mksysnum="./mksysnum_darwin.pl $(xcrun --show-sdk-path --sdk iphoneos)/usr/include/sys/syscall.h"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-dragonfly_386)
-       mkerrors="$mkerrors -m32"
-       mksyscall="./mksyscall.pl -l32 -dragonfly"
-       mksysnum="curl -s 'http://gitweb.dragonflybsd.org/dragonfly.git/blob_plain/HEAD:/sys/kern/syscalls.master' | ./mksysnum_dragonfly.pl"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-dragonfly_amd64)
-       mkerrors="$mkerrors -m64"
-       mksyscall="./mksyscall.pl -dragonfly"
-       mksysnum="curl -s 'http://gitweb.dragonflybsd.org/dragonfly.git/blob_plain/HEAD:/sys/kern/syscalls.master' | ./mksysnum_dragonfly.pl"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-freebsd_386)
-       mkerrors="$mkerrors -m32"
-       mksyscall="./mksyscall.pl -l32"
-       mksysnum="curl -s 'http://svn.freebsd.org/base/stable/10/sys/kern/syscalls.master' | ./mksysnum_freebsd.pl"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-freebsd_amd64)
-       mkerrors="$mkerrors -m64"
-       mksysnum="curl -s 'http://svn.freebsd.org/base/stable/10/sys/kern/syscalls.master' | ./mksysnum_freebsd.pl"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-freebsd_arm)
-       mkerrors="$mkerrors"
-       mksyscall="./mksyscall.pl -l32 -arm"
-       mksysnum="curl -s 'http://svn.freebsd.org/base/stable/10/sys/kern/syscalls.master' | ./mksysnum_freebsd.pl"
-       # Let the type of C char be signed for making the bare syscall
-       # API consistent across over platforms.
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char"
-       ;;
-linux_sparc64)
-       GOOSARCH_in=syscall_linux_sparc64.go
-       unistd_h=/usr/include/sparc64-linux-gnu/asm/unistd.h
-       mkerrors="$mkerrors -m64"
-       mksysnum="./mksysnum_linux.pl $unistd_h"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-netbsd_386)
-       mkerrors="$mkerrors -m32"
-       mksyscall="./mksyscall.pl -l32 -netbsd"
-       mksysnum="curl -s 'http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master' | ./mksysnum_netbsd.pl"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-netbsd_amd64)
-       mkerrors="$mkerrors -m64"
-       mksyscall="./mksyscall.pl -netbsd"
-       mksysnum="curl -s 'http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master' | ./mksysnum_netbsd.pl"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-openbsd_386)
-       mkerrors="$mkerrors -m32"
-       mksyscall="./mksyscall.pl -l32 -openbsd"
-       mksysctl="./mksysctl_openbsd.pl"
-       zsysctl="zsysctl_openbsd.go"
-       mksysnum="curl -s 'http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master' | ./mksysnum_openbsd.pl"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-openbsd_amd64)
-       mkerrors="$mkerrors -m64"
-       mksyscall="./mksyscall.pl -openbsd"
-       mksysctl="./mksysctl_openbsd.pl"
-       zsysctl="zsysctl_openbsd.go"
-       mksysnum="curl -s 'http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master' | ./mksysnum_openbsd.pl"
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-solaris_amd64)
-       mksyscall="./mksyscall_solaris.pl"
-       mkerrors="$mkerrors -m64"
-       mksysnum=
-       mktypes="GOARCH=$GOARCH go tool cgo -godefs"
-       ;;
-*)
-       echo 'unrecognized $GOOS_$GOARCH: ' "$GOOSARCH" 1>&2
-       exit 1
-       ;;
-esac
-
-(
-       if [ -n "$mkerrors" ]; then echo "$mkerrors |gofmt >$zerrors"; fi
-       case "$GOOS" in
-       *)
-               syscall_goos="syscall_$GOOS.go"
-               case "$GOOS" in
-               darwin | dragonfly | freebsd | netbsd | openbsd)
-                       syscall_goos="syscall_bsd.go $syscall_goos"
-                       ;;
-               esac
-               if [ -n "$mksyscall" ]; then echo "$mksyscall -tags $GOOS,$GOARCH $syscall_goos $GOOSARCH_in |gofmt >zsyscall_$GOOSARCH.go"; fi
-               ;;
-       esac
-       if [ -n "$mksysctl" ]; then echo "$mksysctl |gofmt >$zsysctl"; fi
-       if [ -n "$mksysnum" ]; then echo "$mksysnum |gofmt >zsysnum_$GOOSARCH.go"; fi
-       if [ -n "$mktypes" ]; then
-               echo "$mktypes types_$GOOS.go | go run mkpost.go > ztypes_$GOOSARCH.go";
-       fi
-) | $run
diff --git a/vendor/golang.org/x/sys/unix/mkerrors.sh b/vendor/golang.org/x/sys/unix/mkerrors.sh
deleted file mode 100755 (executable)
index 1bd1c9e..0000000
+++ /dev/null
@@ -1,545 +0,0 @@
-#!/usr/bin/env bash
-# Copyright 2009 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-
-# Generate Go code listing errors and other #defined constant
-# values (ENAMETOOLONG etc.), by asking the preprocessor
-# about the definitions.
-
-unset LANG
-export LC_ALL=C
-export LC_CTYPE=C
-
-if test -z "$GOARCH" -o -z "$GOOS"; then
-       echo 1>&2 "GOARCH or GOOS not defined in environment"
-       exit 1
-fi
-
-# Check that we are using the new build system if we should
-if [[ "$GOOS" -eq "linux" ]] && [[ "$GOARCH" != "sparc64" ]]; then
-       if [[ "$GOLANG_SYS_BUILD" -ne "docker" ]]; then
-               echo 1>&2 "In the new build system, mkerrors should not be called directly."
-               echo 1>&2 "See README.md"
-               exit 1
-       fi
-fi
-
-CC=${CC:-cc}
-
-if [[ "$GOOS" -eq "solaris" ]]; then
-       # Assumes GNU versions of utilities in PATH.
-       export PATH=/usr/gnu/bin:$PATH
-fi
-
-uname=$(uname)
-
-includes_Darwin='
-#define _DARWIN_C_SOURCE
-#define KERNEL
-#define _DARWIN_USE_64_BIT_INODE
-#include <sys/types.h>
-#include <sys/event.h>
-#include <sys/ptrace.h>
-#include <sys/socket.h>
-#include <sys/sockio.h>
-#include <sys/sysctl.h>
-#include <sys/mman.h>
-#include <sys/wait.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_types.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <netinet/ip.h>
-#include <termios.h>
-'
-
-includes_DragonFly='
-#include <sys/types.h>
-#include <sys/event.h>
-#include <sys/socket.h>
-#include <sys/sockio.h>
-#include <sys/sysctl.h>
-#include <sys/mman.h>
-#include <sys/wait.h>
-#include <sys/ioctl.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_types.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <termios.h>
-#include <netinet/ip.h>
-#include <net/ip_mroute/ip_mroute.h>
-'
-
-includes_FreeBSD='
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/event.h>
-#include <sys/socket.h>
-#include <sys/sockio.h>
-#include <sys/sysctl.h>
-#include <sys/mman.h>
-#include <sys/wait.h>
-#include <sys/ioctl.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_types.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <termios.h>
-#include <netinet/ip.h>
-#include <netinet/ip_mroute.h>
-#include <sys/extattr.h>
-
-#if __FreeBSD__ >= 10
-#define IFT_CARP       0xf8    // IFT_CARP is deprecated in FreeBSD 10
-#undef SIOCAIFADDR
-#define SIOCAIFADDR    _IOW(105, 26, struct oifaliasreq)       // ifaliasreq contains if_data
-#undef SIOCSIFPHYADDR
-#define SIOCSIFPHYADDR _IOW(105, 70, struct oifaliasreq)       // ifaliasreq contains if_data
-#endif
-'
-
-includes_Linux='
-#define _LARGEFILE_SOURCE
-#define _LARGEFILE64_SOURCE
-#ifndef __LP64__
-#define _FILE_OFFSET_BITS 64
-#endif
-#define _GNU_SOURCE
-
-// <sys/ioctl.h> is broken on powerpc64, as it fails to include definitions of
-// these structures. We just include them copied from <bits/termios.h>.
-#if defined(__powerpc__)
-struct sgttyb {
-        char    sg_ispeed;
-        char    sg_ospeed;
-        char    sg_erase;
-        char    sg_kill;
-        short   sg_flags;
-};
-
-struct tchars {
-        char    t_intrc;
-        char    t_quitc;
-        char    t_startc;
-        char    t_stopc;
-        char    t_eofc;
-        char    t_brkc;
-};
-
-struct ltchars {
-        char    t_suspc;
-        char    t_dsuspc;
-        char    t_rprntc;
-        char    t_flushc;
-        char    t_werasc;
-        char    t_lnextc;
-};
-#endif
-
-#include <bits/sockaddr.h>
-#include <sys/epoll.h>
-#include <sys/inotify.h>
-#include <sys/ioctl.h>
-#include <sys/mman.h>
-#include <sys/mount.h>
-#include <sys/prctl.h>
-#include <sys/stat.h>
-#include <sys/types.h>
-#include <sys/time.h>
-#include <sys/socket.h>
-#include <linux/if.h>
-#include <linux/if_alg.h>
-#include <linux/if_arp.h>
-#include <linux/if_ether.h>
-#include <linux/if_tun.h>
-#include <linux/if_packet.h>
-#include <linux/if_addr.h>
-#include <linux/falloc.h>
-#include <linux/filter.h>
-#include <linux/fs.h>
-#include <linux/netlink.h>
-#include <linux/random.h>
-#include <linux/reboot.h>
-#include <linux/rtnetlink.h>
-#include <linux/ptrace.h>
-#include <linux/sched.h>
-#include <linux/wait.h>
-#include <linux/icmpv6.h>
-#include <linux/serial.h>
-#include <linux/can.h>
-#include <linux/vm_sockets.h>
-#include <net/route.h>
-#include <asm/termbits.h>
-
-#ifndef MSG_FASTOPEN
-#define MSG_FASTOPEN    0x20000000
-#endif
-
-#ifndef PTRACE_GETREGS
-#define PTRACE_GETREGS 0xc
-#endif
-
-#ifndef PTRACE_SETREGS
-#define PTRACE_SETREGS 0xd
-#endif
-
-#ifndef SOL_NETLINK
-#define SOL_NETLINK    270
-#endif
-
-#ifdef SOL_BLUETOOTH
-// SPARC includes this in /usr/include/sparc64-linux-gnu/bits/socket.h
-// but it is already in bluetooth_linux.go
-#undef SOL_BLUETOOTH
-#endif
-
-// Certain constants are missing from the fs/crypto UAPI
-#define FS_KEY_DESC_PREFIX              "fscrypt:"
-#define FS_KEY_DESC_PREFIX_SIZE         8
-#define FS_MAX_KEY_SIZE                 64
-'
-
-includes_NetBSD='
-#include <sys/types.h>
-#include <sys/param.h>
-#include <sys/event.h>
-#include <sys/mman.h>
-#include <sys/socket.h>
-#include <sys/sockio.h>
-#include <sys/sysctl.h>
-#include <sys/termios.h>
-#include <sys/ttycom.h>
-#include <sys/wait.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_types.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <netinet/in_systm.h>
-#include <netinet/ip.h>
-#include <netinet/ip_mroute.h>
-#include <netinet/if_ether.h>
-
-// Needed since <sys/param.h> refers to it...
-#define schedppq 1
-'
-
-includes_OpenBSD='
-#include <sys/types.h>
-#include <sys/param.h>
-#include <sys/event.h>
-#include <sys/mman.h>
-#include <sys/socket.h>
-#include <sys/sockio.h>
-#include <sys/sysctl.h>
-#include <sys/termios.h>
-#include <sys/ttycom.h>
-#include <sys/wait.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_types.h>
-#include <net/if_var.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <netinet/in_systm.h>
-#include <netinet/ip.h>
-#include <netinet/ip_mroute.h>
-#include <netinet/if_ether.h>
-#include <net/if_bridge.h>
-
-// We keep some constants not supported in OpenBSD 5.5 and beyond for
-// the promise of compatibility.
-#define EMUL_ENABLED           0x1
-#define EMUL_NATIVE            0x2
-#define IPV6_FAITH             0x1d
-#define IPV6_OPTIONS           0x1
-#define IPV6_RTHDR_STRICT      0x1
-#define IPV6_SOCKOPT_RESERVED1 0x3
-#define SIOCGIFGENERIC         0xc020693a
-#define SIOCSIFGENERIC         0x80206939
-#define WALTSIG                        0x4
-'
-
-includes_SunOS='
-#include <limits.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <sys/sockio.h>
-#include <sys/mman.h>
-#include <sys/wait.h>
-#include <sys/ioctl.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_arp.h>
-#include <net/if_types.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <termios.h>
-#include <netinet/ip.h>
-#include <netinet/ip_mroute.h>
-'
-
-
-includes='
-#include <sys/types.h>
-#include <sys/file.h>
-#include <fcntl.h>
-#include <dirent.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <netinet/ip.h>
-#include <netinet/ip6.h>
-#include <netinet/tcp.h>
-#include <errno.h>
-#include <sys/signal.h>
-#include <signal.h>
-#include <sys/resource.h>
-#include <time.h>
-'
-ccflags="$@"
-
-# Write go tool cgo -godefs input.
-(
-       echo package unix
-       echo
-       echo '/*'
-       indirect="includes_$(uname)"
-       echo "${!indirect} $includes"
-       echo '*/'
-       echo 'import "C"'
-       echo 'import "syscall"'
-       echo
-       echo 'const ('
-
-       # The gcc command line prints all the #defines
-       # it encounters while processing the input
-       echo "${!indirect} $includes" | $CC -x c - -E -dM $ccflags |
-       awk '
-               $1 != "#define" || $2 ~ /\(/ || $3 == "" {next}
-
-               $2 ~ /^E([ABCD]X|[BIS]P|[SD]I|S|FL)$/ {next}  # 386 registers
-               $2 ~ /^(SIGEV_|SIGSTKSZ|SIGRT(MIN|MAX))/ {next}
-               $2 ~ /^(SCM_SRCRT)$/ {next}
-               $2 ~ /^(MAP_FAILED)$/ {next}
-               $2 ~ /^ELF_.*$/ {next}# <asm/elf.h> contains ELF_ARCH, etc.
-
-               $2 ~ /^EXTATTR_NAMESPACE_NAMES/ ||
-               $2 ~ /^EXTATTR_NAMESPACE_[A-Z]+_STRING/ {next}
-
-               $2 !~ /^ETH_/ &&
-               $2 !~ /^EPROC_/ &&
-               $2 !~ /^EQUIV_/ &&
-               $2 !~ /^EXPR_/ &&
-               $2 ~ /^E[A-Z0-9_]+$/ ||
-               $2 ~ /^B[0-9_]+$/ ||
-               $2 == "BOTHER" ||
-               $2 ~ /^CI?BAUD(EX)?$/ ||
-               $2 == "IBSHIFT" ||
-               $2 ~ /^V[A-Z0-9]+$/ ||
-               $2 ~ /^CS[A-Z0-9]/ ||
-               $2 ~ /^I(SIG|CANON|CRNL|UCLC|EXTEN|MAXBEL|STRIP|UTF8)$/ ||
-               $2 ~ /^IGN/ ||
-               $2 ~ /^IX(ON|ANY|OFF)$/ ||
-               $2 ~ /^IN(LCR|PCK)$/ ||
-               $2 ~ /(^FLU?SH)|(FLU?SH$)/ ||
-               $2 ~ /^C(LOCAL|READ|MSPAR|RTSCTS)$/ ||
-               $2 == "BRKINT" ||
-               $2 == "HUPCL" ||
-               $2 == "PENDIN" ||
-               $2 == "TOSTOP" ||
-               $2 == "XCASE" ||
-               $2 == "ALTWERASE" ||
-               $2 == "NOKERNINFO" ||
-               $2 ~ /^PAR/ ||
-               $2 ~ /^SIG[^_]/ ||
-               $2 ~ /^O[CNPFPL][A-Z]+[^_][A-Z]+$/ ||
-               $2 ~ /^(NL|CR|TAB|BS|VT|FF)DLY$/ ||
-               $2 ~ /^(NL|CR|TAB|BS|VT|FF)[0-9]$/ ||
-               $2 ~ /^O?XTABS$/ ||
-               $2 ~ /^TC[IO](ON|OFF)$/ ||
-               $2 ~ /^IN_/ ||
-               $2 ~ /^LOCK_(SH|EX|NB|UN)$/ ||
-               $2 ~ /^(AF|SOCK|SO|SOL|IPPROTO|IP|IPV6|ICMP6|TCP|EVFILT|NOTE|EV|SHUT|PROT|MAP|PACKET|MSG|SCM|MCL|DT|MADV|PR)_/ ||
-               $2 ~ /^FALLOC_/ ||
-               $2 == "ICMPV6_FILTER" ||
-               $2 == "SOMAXCONN" ||
-               $2 == "NAME_MAX" ||
-               $2 == "IFNAMSIZ" ||
-               $2 ~ /^CTL_(MAXNAME|NET|QUERY)$/ ||
-               $2 ~ /^SYSCTL_VERS/ ||
-               $2 ~ /^(MS|MNT)_/ ||
-               $2 ~ /^TUN(SET|GET|ATTACH|DETACH)/ ||
-               $2 ~ /^(O|F|FD|NAME|S|PTRACE|PT)_/ ||
-               $2 ~ /^LINUX_REBOOT_CMD_/ ||
-               $2 ~ /^LINUX_REBOOT_MAGIC[12]$/ ||
-               $2 !~ "NLA_TYPE_MASK" &&
-               $2 ~ /^(NETLINK|NLM|NLMSG|NLA|IFA|IFAN|RT|RTCF|RTN|RTPROT|RTNH|ARPHRD|ETH_P)_/ ||
-               $2 ~ /^SIOC/ ||
-               $2 ~ /^TIOC/ ||
-               $2 ~ /^TCGET/ ||
-               $2 ~ /^TCSET/ ||
-               $2 ~ /^TC(FLSH|SBRKP?|XONC)$/ ||
-               $2 !~ "RTF_BITS" &&
-               $2 ~ /^(IFF|IFT|NET_RT|RTM|RTF|RTV|RTA|RTAX)_/ ||
-               $2 ~ /^BIOC/ ||
-               $2 ~ /^RUSAGE_(SELF|CHILDREN|THREAD)/ ||
-               $2 ~ /^RLIMIT_(AS|CORE|CPU|DATA|FSIZE|NOFILE|STACK)|RLIM_INFINITY/ ||
-               $2 ~ /^PRIO_(PROCESS|PGRP|USER)/ ||
-               $2 ~ /^CLONE_[A-Z_]+/ ||
-               $2 !~ /^(BPF_TIMEVAL)$/ &&
-               $2 ~ /^(BPF|DLT)_/ ||
-               $2 ~ /^CLOCK_/ ||
-               $2 ~ /^CAN_/ ||
-               $2 ~ /^ALG_/ ||
-               $2 ~ /^FS_(POLICY_FLAGS|KEY_DESC|ENCRYPTION_MODE|[A-Z0-9_]+_KEY_SIZE|IOC_(GET|SET)_ENCRYPTION)/ ||
-               $2 ~ /^GRND_/ ||
-               $2 ~ /^SPLICE_/ ||
-               $2 ~ /^(VM|VMADDR)_/ ||
-               $2 !~ "WMESGLEN" &&
-               $2 ~ /^W[A-Z0-9]+$/ ||
-               $2 ~ /^BLK[A-Z]*(GET$|SET$|BUF$|PART$|SIZE)/ {printf("\t%s = C.%s\n", $2, $2)}
-               $2 ~ /^__WCOREFLAG$/ {next}
-               $2 ~ /^__W[A-Z0-9]+$/ {printf("\t%s = C.%s\n", substr($2,3), $2)}
-
-               {next}
-       ' | sort
-
-       echo ')'
-) >_const.go
-
-# Pull out the error names for later.
-errors=$(
-       echo '#include <errno.h>' | $CC -x c - -E -dM $ccflags |
-       awk '$1=="#define" && $2 ~ /^E[A-Z0-9_]+$/ { print $2 }' |
-       sort
-)
-
-# Pull out the signal names for later.
-signals=$(
-       echo '#include <signal.h>' | $CC -x c - -E -dM $ccflags |
-       awk '$1=="#define" && $2 ~ /^SIG[A-Z0-9]+$/ { print $2 }' |
-       egrep -v '(SIGSTKSIZE|SIGSTKSZ|SIGRT)' |
-       sort
-)
-
-# Again, writing regexps to a file.
-echo '#include <errno.h>' | $CC -x c - -E -dM $ccflags |
-       awk '$1=="#define" && $2 ~ /^E[A-Z0-9_]+$/ { print "^\t" $2 "[ \t]*=" }' |
-       sort >_error.grep
-echo '#include <signal.h>' | $CC -x c - -E -dM $ccflags |
-       awk '$1=="#define" && $2 ~ /^SIG[A-Z0-9]+$/ { print "^\t" $2 "[ \t]*=" }' |
-       egrep -v '(SIGSTKSIZE|SIGSTKSZ|SIGRT)' |
-       sort >_signal.grep
-
-echo '// mkerrors.sh' "$@"
-echo '// Code generated by the command above; see README.md. DO NOT EDIT.'
-echo
-echo "// +build ${GOARCH},${GOOS}"
-echo
-go tool cgo -godefs -- "$@" _const.go >_error.out
-cat _error.out | grep -vf _error.grep | grep -vf _signal.grep
-echo
-echo '// Errors'
-echo 'const ('
-cat _error.out | grep -f _error.grep | sed 's/=\(.*\)/= syscall.Errno(\1)/'
-echo ')'
-
-echo
-echo '// Signals'
-echo 'const ('
-cat _error.out | grep -f _signal.grep | sed 's/=\(.*\)/= syscall.Signal(\1)/'
-echo ')'
-
-# Run C program to print error and syscall strings.
-(
-       echo -E "
-#include <stdio.h>
-#include <stdlib.h>
-#include <errno.h>
-#include <ctype.h>
-#include <string.h>
-#include <signal.h>
-
-#define nelem(x) (sizeof(x)/sizeof((x)[0]))
-
-enum { A = 'A', Z = 'Z', a = 'a', z = 'z' }; // avoid need for single quotes below
-
-int errors[] = {
-"
-       for i in $errors
-       do
-               echo -E '       '$i,
-       done
-
-       echo -E "
-};
-
-int signals[] = {
-"
-       for i in $signals
-       do
-               echo -E '       '$i,
-       done
-
-       # Use -E because on some systems bash builtin interprets \n itself.
-       echo -E '
-};
-
-static int
-intcmp(const void *a, const void *b)
-{
-       return *(int*)a - *(int*)b;
-}
-
-int
-main(void)
-{
-       int i, e;
-       char buf[1024], *p;
-
-       printf("\n\n// Error table\n");
-       printf("var errors = [...]string {\n");
-       qsort(errors, nelem(errors), sizeof errors[0], intcmp);
-       for(i=0; i<nelem(errors); i++) {
-               e = errors[i];
-               if(i > 0 && errors[i-1] == e)
-                       continue;
-               strcpy(buf, strerror(e));
-               // lowercase first letter: Bad -> bad, but STREAM -> STREAM.
-               if(A <= buf[0] && buf[0] <= Z && a <= buf[1] && buf[1] <= z)
-                       buf[0] += a - A;
-               printf("\t%d: \"%s\",\n", e, buf);
-       }
-       printf("}\n\n");
-
-       printf("\n\n// Signal table\n");
-       printf("var signals = [...]string {\n");
-       qsort(signals, nelem(signals), sizeof signals[0], intcmp);
-       for(i=0; i<nelem(signals); i++) {
-               e = signals[i];
-               if(i > 0 && signals[i-1] == e)
-                       continue;
-               strcpy(buf, strsignal(e));
-               // lowercase first letter: Bad -> bad, but STREAM -> STREAM.
-               if(A <= buf[0] && buf[0] <= Z && a <= buf[1] && buf[1] <= z)
-                       buf[0] += a - A;
-               // cut trailing : number.
-               p = strrchr(buf, ":"[0]);
-               if(p)
-                       *p = '\0';
-               printf("\t%d: \"%s\",\n", e, buf);
-       }
-       printf("}\n\n");
-
-       return 0;
-}
-
-'
-) >_errors.c
-
-$CC $ccflags -o _errors _errors.c && $GORUN ./_errors && rm -f _errors.c _errors _const.go _error.grep _signal.grep _error.out
diff --git a/vendor/golang.org/x/sys/unix/mkpost.go b/vendor/golang.org/x/sys/unix/mkpost.go
deleted file mode 100644 (file)
index d3ff659..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-// Copyright 2016 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build ignore
-
-// mkpost processes the output of cgo -godefs to
-// modify the generated types. It is used to clean up
-// the sys API in an architecture specific manner.
-//
-// mkpost is run after cgo -godefs; see README.md.
-package main
-
-import (
-       "bytes"
-       "fmt"
-       "go/format"
-       "io/ioutil"
-       "log"
-       "os"
-       "regexp"
-)
-
-func main() {
-       // Get the OS and architecture (using GOARCH_TARGET if it exists)
-       goos := os.Getenv("GOOS")
-       goarch := os.Getenv("GOARCH_TARGET")
-       if goarch == "" {
-               goarch = os.Getenv("GOARCH")
-       }
-       // Check that we are using the new build system if we should be.
-       if goos == "linux" && goarch != "sparc64" {
-               if os.Getenv("GOLANG_SYS_BUILD") != "docker" {
-                       os.Stderr.WriteString("In the new build system, mkpost should not be called directly.\n")
-                       os.Stderr.WriteString("See README.md\n")
-                       os.Exit(1)
-               }
-       }
-
-       b, err := ioutil.ReadAll(os.Stdin)
-       if err != nil {
-               log.Fatal(err)
-       }
-
-       // If we have empty Ptrace structs, we should delete them. Only s390x emits
-       // nonempty Ptrace structs.
-       ptraceRexexp := regexp.MustCompile(`type Ptrace((Psw|Fpregs|Per) struct {\s*})`)
-       b = ptraceRexexp.ReplaceAll(b, nil)
-
-       // Replace the control_regs union with a blank identifier for now.
-       controlRegsRegex := regexp.MustCompile(`(Control_regs)\s+\[0\]uint64`)
-       b = controlRegsRegex.ReplaceAll(b, []byte("_ [0]uint64"))
-
-       // Remove fields that are added by glibc
-       // Note that this is unstable as the identifers are private.
-       removeFieldsRegex := regexp.MustCompile(`X__glibc\S*`)
-       b = removeFieldsRegex.ReplaceAll(b, []byte("_"))
-
-       // We refuse to export private fields on s390x
-       if goarch == "s390x" && goos == "linux" {
-               // Remove cgo padding fields
-               removeFieldsRegex := regexp.MustCompile(`Pad_cgo_\d+`)
-               b = removeFieldsRegex.ReplaceAll(b, []byte("_"))
-
-               // Remove padding, hidden, or unused fields
-               removeFieldsRegex = regexp.MustCompile(`X_\S+`)
-               b = removeFieldsRegex.ReplaceAll(b, []byte("_"))
-       }
-
-       // Remove the first line of warning from cgo
-       b = b[bytes.IndexByte(b, '\n')+1:]
-       // Modify the command in the header to include:
-       //  mkpost, our own warning, and a build tag.
-       replacement := fmt.Sprintf(`$1 | go run mkpost.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build %s,%s`, goarch, goos)
-       cgoCommandRegex := regexp.MustCompile(`(cgo -godefs .*)`)
-       b = cgoCommandRegex.ReplaceAll(b, []byte(replacement))
-
-       // gofmt
-       b, err = format.Source(b)
-       if err != nil {
-               log.Fatal(err)
-       }
-
-       os.Stdout.Write(b)
-}
diff --git a/vendor/golang.org/x/sys/unix/mksyscall.pl b/vendor/golang.org/x/sys/unix/mksyscall.pl
deleted file mode 100755 (executable)
index fb929b4..0000000
+++ /dev/null
@@ -1,328 +0,0 @@
-#!/usr/bin/env perl
-# Copyright 2009 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-
-# This program reads a file containing function prototypes
-# (like syscall_darwin.go) and generates system call bodies.
-# The prototypes are marked by lines beginning with "//sys"
-# and read like func declarations if //sys is replaced by func, but:
-#      * The parameter lists must give a name for each argument.
-#        This includes return parameters.
-#      * The parameter lists must give a type for each argument:
-#        the (x, y, z int) shorthand is not allowed.
-#      * If the return parameter is an error number, it must be named errno.
-
-# A line beginning with //sysnb is like //sys, except that the
-# goroutine will not be suspended during the execution of the system
-# call.  This must only be used for system calls which can never
-# block, as otherwise the system call could cause all goroutines to
-# hang.
-
-use strict;
-
-my $cmdline = "mksyscall.pl " . join(' ', @ARGV);
-my $errors = 0;
-my $_32bit = "";
-my $plan9 = 0;
-my $openbsd = 0;
-my $netbsd = 0;
-my $dragonfly = 0;
-my $arm = 0; # 64-bit value should use (even, odd)-pair
-my $tags = "";  # build tags
-
-if($ARGV[0] eq "-b32") {
-       $_32bit = "big-endian";
-       shift;
-} elsif($ARGV[0] eq "-l32") {
-       $_32bit = "little-endian";
-       shift;
-}
-if($ARGV[0] eq "-plan9") {
-       $plan9 = 1;
-       shift;
-}
-if($ARGV[0] eq "-openbsd") {
-       $openbsd = 1;
-       shift;
-}
-if($ARGV[0] eq "-netbsd") {
-       $netbsd = 1;
-       shift;
-}
-if($ARGV[0] eq "-dragonfly") {
-       $dragonfly = 1;
-       shift;
-}
-if($ARGV[0] eq "-arm") {
-       $arm = 1;
-       shift;
-}
-if($ARGV[0] eq "-tags") {
-       shift;
-       $tags = $ARGV[0];
-       shift;
-}
-
-if($ARGV[0] =~ /^-/) {
-       print STDERR "usage: mksyscall.pl [-b32 | -l32] [-tags x,y] [file ...]\n";
-       exit 1;
-}
-
-# Check that we are using the new build system if we should
-if($ENV{'GOOS'} eq "linux" && $ENV{'GOARCH'} ne "sparc64") {
-       if($ENV{'GOLANG_SYS_BUILD'} ne "docker") {
-               print STDERR "In the new build system, mksyscall should not be called directly.\n";
-               print STDERR "See README.md\n";
-               exit 1;
-       }
-}
-
-
-sub parseparamlist($) {
-       my ($list) = @_;
-       $list =~ s/^\s*//;
-       $list =~ s/\s*$//;
-       if($list eq "") {
-               return ();
-       }
-       return split(/\s*,\s*/, $list);
-}
-
-sub parseparam($) {
-       my ($p) = @_;
-       if($p !~ /^(\S*) (\S*)$/) {
-               print STDERR "$ARGV:$.: malformed parameter: $p\n";
-               $errors = 1;
-               return ("xx", "int");
-       }
-       return ($1, $2);
-}
-
-my $text = "";
-while(<>) {
-       chomp;
-       s/\s+/ /g;
-       s/^\s+//;
-       s/\s+$//;
-       my $nonblock = /^\/\/sysnb /;
-       next if !/^\/\/sys / && !$nonblock;
-
-       # Line must be of the form
-       #       func Open(path string, mode int, perm int) (fd int, errno error)
-       # Split into name, in params, out params.
-       if(!/^\/\/sys(nb)? (\w+)\(([^()]*)\)\s*(?:\(([^()]+)\))?\s*(?:=\s*((?i)SYS_[A-Z0-9_]+))?$/) {
-               print STDERR "$ARGV:$.: malformed //sys declaration\n";
-               $errors = 1;
-               next;
-       }
-       my ($func, $in, $out, $sysname) = ($2, $3, $4, $5);
-
-       # Split argument lists on comma.
-       my @in = parseparamlist($in);
-       my @out = parseparamlist($out);
-
-       # Try in vain to keep people from editing this file.
-       # The theory is that they jump into the middle of the file
-       # without reading the header.
-       $text .= "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT\n\n";
-
-       # Go function header.
-       my $out_decl = @out ? sprintf(" (%s)", join(', ', @out)) : "";
-       $text .= sprintf "func %s(%s)%s {\n", $func, join(', ', @in), $out_decl;
-
-       # Check if err return available
-       my $errvar = "";
-       foreach my $p (@out) {
-               my ($name, $type) = parseparam($p);
-               if($type eq "error") {
-                       $errvar = $name;
-                       last;
-               }
-       }
-
-       # Prepare arguments to Syscall.
-       my @args = ();
-       my $n = 0;
-       foreach my $p (@in) {
-               my ($name, $type) = parseparam($p);
-               if($type =~ /^\*/) {
-                       push @args, "uintptr(unsafe.Pointer($name))";
-               } elsif($type eq "string" && $errvar ne "") {
-                       $text .= "\tvar _p$n *byte\n";
-                       $text .= "\t_p$n, $errvar = BytePtrFromString($name)\n";
-                       $text .= "\tif $errvar != nil {\n\t\treturn\n\t}\n";
-                       push @args, "uintptr(unsafe.Pointer(_p$n))";
-                       $n++;
-               } elsif($type eq "string") {
-                       print STDERR "$ARGV:$.: $func uses string arguments, but has no error return\n";
-                       $text .= "\tvar _p$n *byte\n";
-                       $text .= "\t_p$n, _ = BytePtrFromString($name)\n";
-                       push @args, "uintptr(unsafe.Pointer(_p$n))";
-                       $n++;
-               } elsif($type =~ /^\[\](.*)/) {
-                       # Convert slice into pointer, length.
-                       # Have to be careful not to take address of &a[0] if len == 0:
-                       # pass dummy pointer in that case.
-                       # Used to pass nil, but some OSes or simulators reject write(fd, nil, 0).
-                       $text .= "\tvar _p$n unsafe.Pointer\n";
-                       $text .= "\tif len($name) > 0 {\n\t\t_p$n = unsafe.Pointer(\&${name}[0])\n\t}";
-                       $text .= " else {\n\t\t_p$n = unsafe.Pointer(&_zero)\n\t}";
-                       $text .= "\n";
-                       push @args, "uintptr(_p$n)", "uintptr(len($name))";
-                       $n++;
-               } elsif($type eq "int64" && ($openbsd || $netbsd)) {
-                       push @args, "0";
-                       if($_32bit eq "big-endian") {
-                               push @args, "uintptr($name>>32)", "uintptr($name)";
-                       } elsif($_32bit eq "little-endian") {
-                               push @args, "uintptr($name)", "uintptr($name>>32)";
-                       } else {
-                               push @args, "uintptr($name)";
-                       }
-               } elsif($type eq "int64" && $dragonfly) {
-                       if ($func !~ /^extp(read|write)/i) {
-                               push @args, "0";
-                       }
-                       if($_32bit eq "big-endian") {
-                               push @args, "uintptr($name>>32)", "uintptr($name)";
-                       } elsif($_32bit eq "little-endian") {
-                               push @args, "uintptr($name)", "uintptr($name>>32)";
-                       } else {
-                               push @args, "uintptr($name)";
-                       }
-               } elsif($type eq "int64" && $_32bit ne "") {
-                       if(@args % 2 && $arm) {
-                               # arm abi specifies 64-bit argument uses
-                               # (even, odd) pair
-                               push @args, "0"
-                       }
-                       if($_32bit eq "big-endian") {
-                               push @args, "uintptr($name>>32)", "uintptr($name)";
-                       } else {
-                               push @args, "uintptr($name)", "uintptr($name>>32)";
-                       }
-               } else {
-                       push @args, "uintptr($name)";
-               }
-       }
-
-       # Determine which form to use; pad args with zeros.
-       my $asm = "Syscall";
-       if ($nonblock) {
-               $asm = "RawSyscall";
-       }
-       if(@args <= 3) {
-               while(@args < 3) {
-                       push @args, "0";
-               }
-       } elsif(@args <= 6) {
-               $asm .= "6";
-               while(@args < 6) {
-                       push @args, "0";
-               }
-       } elsif(@args <= 9) {
-               $asm .= "9";
-               while(@args < 9) {
-                       push @args, "0";
-               }
-       } else {
-               print STDERR "$ARGV:$.: too many arguments to system call\n";
-       }
-
-       # System call number.
-       if($sysname eq "") {
-               $sysname = "SYS_$func";
-               $sysname =~ s/([a-z])([A-Z])/${1}_$2/g; # turn FooBar into Foo_Bar
-               $sysname =~ y/a-z/A-Z/;
-       }
-
-       # Actual call.
-       my $args = join(', ', @args);
-       my $call = "$asm($sysname, $args)";
-
-       # Assign return values.
-       my $body = "";
-       my @ret = ("_", "_", "_");
-       my $do_errno = 0;
-       for(my $i=0; $i<@out; $i++) {
-               my $p = $out[$i];
-               my ($name, $type) = parseparam($p);
-               my $reg = "";
-               if($name eq "err" && !$plan9) {
-                       $reg = "e1";
-                       $ret[2] = $reg;
-                       $do_errno = 1;
-               } elsif($name eq "err" && $plan9) {
-                       $ret[0] = "r0";
-                       $ret[2] = "e1";
-                       next;
-               } else {
-                       $reg = sprintf("r%d", $i);
-                       $ret[$i] = $reg;
-               }
-               if($type eq "bool") {
-                       $reg = "$reg != 0";
-               }
-               if($type eq "int64" && $_32bit ne "") {
-                       # 64-bit number in r1:r0 or r0:r1.
-                       if($i+2 > @out) {
-                               print STDERR "$ARGV:$.: not enough registers for int64 return\n";
-                       }
-                       if($_32bit eq "big-endian") {
-                               $reg = sprintf("int64(r%d)<<32 | int64(r%d)", $i, $i+1);
-                       } else {
-                               $reg = sprintf("int64(r%d)<<32 | int64(r%d)", $i+1, $i);
-                       }
-                       $ret[$i] = sprintf("r%d", $i);
-                       $ret[$i+1] = sprintf("r%d", $i+1);
-               }
-               if($reg ne "e1" || $plan9) {
-                       $body .= "\t$name = $type($reg)\n";
-               }
-       }
-       if ($ret[0] eq "_" && $ret[1] eq "_" && $ret[2] eq "_") {
-               $text .= "\t$call\n";
-       } else {
-               $text .= "\t$ret[0], $ret[1], $ret[2] := $call\n";
-       }
-       $text .= $body;
-
-       if ($plan9 && $ret[2] eq "e1") {
-               $text .= "\tif int32(r0) == -1 {\n";
-               $text .= "\t\terr = e1\n";
-               $text .= "\t}\n";
-       } elsif ($do_errno) {
-               $text .= "\tif e1 != 0 {\n";
-               $text .= "\t\terr = errnoErr(e1)\n";
-               $text .= "\t}\n";
-       }
-       $text .= "\treturn\n";
-       $text .= "}\n\n";
-}
-
-chomp $text;
-chomp $text;
-
-if($errors) {
-       exit 1;
-}
-
-print <<EOF;
-// $cmdline
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build $tags
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-$text
-EOF
-exit 0;
diff --git a/vendor/golang.org/x/sys/unix/mksyscall_solaris.pl b/vendor/golang.org/x/sys/unix/mksyscall_solaris.pl
deleted file mode 100755 (executable)
index 3e6ed9d..0000000
+++ /dev/null
@@ -1,289 +0,0 @@
-#!/usr/bin/env perl
-# Copyright 2009 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-
-# This program reads a file containing function prototypes
-# (like syscall_solaris.go) and generates system call bodies.
-# The prototypes are marked by lines beginning with "//sys"
-# and read like func declarations if //sys is replaced by func, but:
-#      * The parameter lists must give a name for each argument.
-#        This includes return parameters.
-#      * The parameter lists must give a type for each argument:
-#        the (x, y, z int) shorthand is not allowed.
-#      * If the return parameter is an error number, it must be named err.
-#      * If go func name needs to be different than its libc name,
-#      * or the function is not in libc, name could be specified
-#      * at the end, after "=" sign, like
-#        //sys getsockopt(s int, level int, name int, val uintptr, vallen *_Socklen) (err error) = libsocket.getsockopt
-
-use strict;
-
-my $cmdline = "mksyscall_solaris.pl " . join(' ', @ARGV);
-my $errors = 0;
-my $_32bit = "";
-my $tags = "";  # build tags
-
-binmode STDOUT;
-
-if($ARGV[0] eq "-b32") {
-       $_32bit = "big-endian";
-       shift;
-} elsif($ARGV[0] eq "-l32") {
-       $_32bit = "little-endian";
-       shift;
-}
-if($ARGV[0] eq "-tags") {
-       shift;
-       $tags = $ARGV[0];
-       shift;
-}
-
-if($ARGV[0] =~ /^-/) {
-       print STDERR "usage: mksyscall_solaris.pl [-b32 | -l32] [-tags x,y] [file ...]\n";
-       exit 1;
-}
-
-sub parseparamlist($) {
-       my ($list) = @_;
-       $list =~ s/^\s*//;
-       $list =~ s/\s*$//;
-       if($list eq "") {
-               return ();
-       }
-       return split(/\s*,\s*/, $list);
-}
-
-sub parseparam($) {
-       my ($p) = @_;
-       if($p !~ /^(\S*) (\S*)$/) {
-               print STDERR "$ARGV:$.: malformed parameter: $p\n";
-               $errors = 1;
-               return ("xx", "int");
-       }
-       return ($1, $2);
-}
-
-my $package = "";
-my $text = "";
-my $dynimports = "";
-my $linknames = "";
-my @vars = ();
-while(<>) {
-       chomp;
-       s/\s+/ /g;
-       s/^\s+//;
-       s/\s+$//;
-       $package = $1 if !$package && /^package (\S+)$/;
-       my $nonblock = /^\/\/sysnb /;
-       next if !/^\/\/sys / && !$nonblock;
-
-       # Line must be of the form
-       #       func Open(path string, mode int, perm int) (fd int, err error)
-       # Split into name, in params, out params.
-       if(!/^\/\/sys(nb)? (\w+)\(([^()]*)\)\s*(?:\(([^()]+)\))?\s*(?:=\s*(?:(\w*)\.)?(\w*))?$/) {
-               print STDERR "$ARGV:$.: malformed //sys declaration\n";
-               $errors = 1;
-               next;
-       }
-       my ($nb, $func, $in, $out, $modname, $sysname) = ($1, $2, $3, $4, $5, $6);
-
-       # Split argument lists on comma.
-       my @in = parseparamlist($in);
-       my @out = parseparamlist($out);
-
-       # So file name.
-       if($modname eq "") {
-               $modname = "libc";
-       }
-
-       # System call name.
-       if($sysname eq "") {
-               $sysname = "$func";
-       }
-
-       # System call pointer variable name.
-       my $sysvarname = "proc$sysname";
-
-       my $strconvfunc = "BytePtrFromString";
-       my $strconvtype = "*byte";
-
-       $sysname =~ y/A-Z/a-z/; # All libc functions are lowercase.
-
-       # Runtime import of function to allow cross-platform builds.
-       $dynimports .= "//go:cgo_import_dynamic libc_${sysname} ${sysname} \"$modname.so\"\n";
-       # Link symbol to proc address variable.
-       $linknames .= "//go:linkname ${sysvarname} libc_${sysname}\n";
-       # Library proc address variable.
-       push @vars, $sysvarname;
-
-       # Go function header.
-       $out = join(', ', @out);
-       if($out ne "") {
-               $out = " ($out)";
-       }
-       if($text ne "") {
-               $text .= "\n"
-       }
-       $text .= sprintf "func %s(%s)%s {\n", $func, join(', ', @in), $out;
-
-       # Check if err return available
-       my $errvar = "";
-       foreach my $p (@out) {
-               my ($name, $type) = parseparam($p);
-               if($type eq "error") {
-                       $errvar = $name;
-                       last;
-               }
-       }
-
-       # Prepare arguments to Syscall.
-       my @args = ();
-       my $n = 0;
-       foreach my $p (@in) {
-               my ($name, $type) = parseparam($p);
-               if($type =~ /^\*/) {
-                       push @args, "uintptr(unsafe.Pointer($name))";
-               } elsif($type eq "string" && $errvar ne "") {
-                       $text .= "\tvar _p$n $strconvtype\n";
-                       $text .= "\t_p$n, $errvar = $strconvfunc($name)\n";
-                       $text .= "\tif $errvar != nil {\n\t\treturn\n\t}\n";
-                       push @args, "uintptr(unsafe.Pointer(_p$n))";
-                       $n++;
-               } elsif($type eq "string") {
-                       print STDERR "$ARGV:$.: $func uses string arguments, but has no error return\n";
-                       $text .= "\tvar _p$n $strconvtype\n";
-                       $text .= "\t_p$n, _ = $strconvfunc($name)\n";
-                       push @args, "uintptr(unsafe.Pointer(_p$n))";
-                       $n++;
-               } elsif($type =~ /^\[\](.*)/) {
-                       # Convert slice into pointer, length.
-                       # Have to be careful not to take address of &a[0] if len == 0:
-                       # pass nil in that case.
-                       $text .= "\tvar _p$n *$1\n";
-                       $text .= "\tif len($name) > 0 {\n\t\t_p$n = \&$name\[0]\n\t}\n";
-                       push @args, "uintptr(unsafe.Pointer(_p$n))", "uintptr(len($name))";
-                       $n++;
-               } elsif($type eq "int64" && $_32bit ne "") {
-                       if($_32bit eq "big-endian") {
-                               push @args, "uintptr($name >> 32)", "uintptr($name)";
-                       } else {
-                               push @args, "uintptr($name)", "uintptr($name >> 32)";
-                       }
-               } elsif($type eq "bool") {
-                       $text .= "\tvar _p$n uint32\n";
-                       $text .= "\tif $name {\n\t\t_p$n = 1\n\t} else {\n\t\t_p$n = 0\n\t}\n";
-                       push @args, "uintptr(_p$n)";
-                       $n++;
-               } else {
-                       push @args, "uintptr($name)";
-               }
-       }
-       my $nargs = @args;
-
-       # Determine which form to use; pad args with zeros.
-       my $asm = "sysvicall6";
-       if ($nonblock) {
-               $asm = "rawSysvicall6";
-       }
-       if(@args <= 6) {
-               while(@args < 6) {
-                       push @args, "0";
-               }
-       } else {
-               print STDERR "$ARGV:$.: too many arguments to system call\n";
-       }
-
-       # Actual call.
-       my $args = join(', ', @args);
-       my $call = "$asm(uintptr(unsafe.Pointer(&$sysvarname)), $nargs, $args)";
-
-       # Assign return values.
-       my $body = "";
-       my $failexpr = "";
-       my @ret = ("_", "_", "_");
-       my @pout= ();
-       my $do_errno = 0;
-       for(my $i=0; $i<@out; $i++) {
-               my $p = $out[$i];
-               my ($name, $type) = parseparam($p);
-               my $reg = "";
-               if($name eq "err") {
-                       $reg = "e1";
-                       $ret[2] = $reg;
-                       $do_errno = 1;
-               } else {
-                       $reg = sprintf("r%d", $i);
-                       $ret[$i] = $reg;
-               }
-               if($type eq "bool") {
-                       $reg = "$reg != 0";
-               }
-               if($type eq "int64" && $_32bit ne "") {
-                       # 64-bit number in r1:r0 or r0:r1.
-                       if($i+2 > @out) {
-                               print STDERR "$ARGV:$.: not enough registers for int64 return\n";
-                       }
-                       if($_32bit eq "big-endian") {
-                               $reg = sprintf("int64(r%d)<<32 | int64(r%d)", $i, $i+1);
-                       } else {
-                               $reg = sprintf("int64(r%d)<<32 | int64(r%d)", $i+1, $i);
-                       }
-                       $ret[$i] = sprintf("r%d", $i);
-                       $ret[$i+1] = sprintf("r%d", $i+1);
-               }
-               if($reg ne "e1") {
-                       $body .= "\t$name = $type($reg)\n";
-               }
-       }
-       if ($ret[0] eq "_" && $ret[1] eq "_" && $ret[2] eq "_") {
-               $text .= "\t$call\n";
-       } else {
-               $text .= "\t$ret[0], $ret[1], $ret[2] := $call\n";
-       }
-       $text .= $body;
-
-       if ($do_errno) {
-               $text .= "\tif e1 != 0 {\n";
-               $text .= "\t\terr = e1\n";
-               $text .= "\t}\n";
-       }
-       $text .= "\treturn\n";
-       $text .= "}\n";
-}
-
-if($errors) {
-       exit 1;
-}
-
-print <<EOF;
-// $cmdline
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build $tags
-
-package $package
-
-import (
-       "syscall"
-       "unsafe"
-)
-EOF
-
-print "import \"golang.org/x/sys/unix\"\n" if $package ne "unix";
-
-my $vardecls = "\t" . join(",\n\t", @vars);
-$vardecls .= " syscallFunc";
-
-chomp($_=<<EOF);
-
-$dynimports
-$linknames
-var (
-$vardecls
-)
-
-$text
-EOF
-print $_;
-exit 0;
diff --git a/vendor/golang.org/x/sys/unix/mksysctl_openbsd.pl b/vendor/golang.org/x/sys/unix/mksysctl_openbsd.pl
deleted file mode 100755 (executable)
index be67afa..0000000
+++ /dev/null
@@ -1,264 +0,0 @@
-#!/usr/bin/env perl
-
-# Copyright 2011 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-
-#
-# Parse the header files for OpenBSD and generate a Go usable sysctl MIB.
-#
-# Build a MIB with each entry being an array containing the level, type and
-# a hash that will contain additional entries if the current entry is a node.
-# We then walk this MIB and create a flattened sysctl name to OID hash.
-#
-
-use strict;
-
-if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
-       print STDERR "GOARCH or GOOS not defined in environment\n";
-       exit 1;
-}
-
-my $debug = 0;
-my %ctls = ();
-
-my @headers = qw (
-       sys/sysctl.h
-       sys/socket.h
-       sys/tty.h
-       sys/malloc.h
-       sys/mount.h
-       sys/namei.h
-       sys/sem.h
-       sys/shm.h
-       sys/vmmeter.h
-       uvm/uvm_param.h
-       uvm/uvm_swap_encrypt.h
-       ddb/db_var.h
-       net/if.h
-       net/if_pfsync.h
-       net/pipex.h
-       netinet/in.h
-       netinet/icmp_var.h
-       netinet/igmp_var.h
-       netinet/ip_ah.h
-       netinet/ip_carp.h
-       netinet/ip_divert.h
-       netinet/ip_esp.h
-       netinet/ip_ether.h
-       netinet/ip_gre.h
-       netinet/ip_ipcomp.h
-       netinet/ip_ipip.h
-       netinet/pim_var.h
-       netinet/tcp_var.h
-       netinet/udp_var.h
-       netinet6/in6.h
-       netinet6/ip6_divert.h
-       netinet6/pim6_var.h
-       netinet/icmp6.h
-       netmpls/mpls.h
-);
-
-my @ctls = qw (
-       kern
-       vm
-       fs
-       net
-       #debug                          # Special handling required
-       hw
-       #machdep                        # Arch specific
-       user
-       ddb
-       #vfs                            # Special handling required
-       fs.posix
-       kern.forkstat
-       kern.intrcnt
-       kern.malloc
-       kern.nchstats
-       kern.seminfo
-       kern.shminfo
-       kern.timecounter
-       kern.tty
-       kern.watchdog
-       net.bpf
-       net.ifq
-       net.inet
-       net.inet.ah
-       net.inet.carp
-       net.inet.divert
-       net.inet.esp
-       net.inet.etherip
-       net.inet.gre
-       net.inet.icmp
-       net.inet.igmp
-       net.inet.ip
-       net.inet.ip.ifq
-       net.inet.ipcomp
-       net.inet.ipip
-       net.inet.mobileip
-       net.inet.pfsync
-       net.inet.pim
-       net.inet.tcp
-       net.inet.udp
-       net.inet6
-       net.inet6.divert
-       net.inet6.ip6
-       net.inet6.icmp6
-       net.inet6.pim6
-       net.inet6.tcp6
-       net.inet6.udp6
-       net.mpls
-       net.mpls.ifq
-       net.key
-       net.pflow
-       net.pfsync
-       net.pipex
-       net.rt
-       vm.swapencrypt
-       #vfsgenctl                      # Special handling required
-);
-
-# Node name "fixups"
-my %ctl_map = (
-       "ipproto" => "net.inet",
-       "net.inet.ipproto" => "net.inet",
-       "net.inet6.ipv6proto" => "net.inet6",
-       "net.inet6.ipv6" => "net.inet6.ip6",
-       "net.inet.icmpv6" => "net.inet6.icmp6",
-       "net.inet6.divert6" => "net.inet6.divert",
-       "net.inet6.tcp6" => "net.inet.tcp",
-       "net.inet6.udp6" => "net.inet.udp",
-       "mpls" => "net.mpls",
-       "swpenc" => "vm.swapencrypt"
-);
-
-# Node mappings
-my %node_map = (
-       "net.inet.ip.ifq" => "net.ifq",
-       "net.inet.pfsync" => "net.pfsync",
-       "net.mpls.ifq" => "net.ifq"
-);
-
-my $ctlname;
-my %mib = ();
-my %sysctl = ();
-my $node;
-
-sub debug() {
-       print STDERR "$_[0]\n" if $debug;
-}
-
-# Walk the MIB and build a sysctl name to OID mapping.
-sub build_sysctl() {
-       my ($node, $name, $oid) = @_;
-       my %node = %{$node};
-       my @oid = @{$oid};
-
-       foreach my $key (sort keys %node) {
-               my @node = @{$node{$key}};
-               my $nodename = $name.($name ne '' ? '.' : '').$key;
-               my @nodeoid = (@oid, $node[0]);
-               if ($node[1] eq 'CTLTYPE_NODE') {
-                       if (exists $node_map{$nodename}) {
-                               $node = \%mib;
-                               $ctlname = $node_map{$nodename};
-                               foreach my $part (split /\./, $ctlname) {
-                                       $node = \%{@{$$node{$part}}[2]};
-                               }
-                       } else {
-                               $node = $node[2];
-                       }
-                       &build_sysctl($node, $nodename, \@nodeoid);
-               } elsif ($node[1] ne '') {
-                       $sysctl{$nodename} = \@nodeoid;
-               }
-       }
-}
-
-foreach my $ctl (@ctls) {
-       $ctls{$ctl} = $ctl;
-}
-
-# Build MIB
-foreach my $header (@headers) {
-       &debug("Processing $header...");
-       open HEADER, "/usr/include/$header" ||
-           print STDERR "Failed to open $header\n";
-       while (<HEADER>) {
-               if ($_ =~ /^#define\s+(CTL_NAMES)\s+{/ ||
-                   $_ =~ /^#define\s+(CTL_(.*)_NAMES)\s+{/ ||
-                   $_ =~ /^#define\s+((.*)CTL_NAMES)\s+{/) {
-                       if ($1 eq 'CTL_NAMES') {
-                               # Top level.
-                               $node = \%mib;
-                       } else {
-                               # Node.
-                               my $nodename = lc($2);
-                               if ($header =~ /^netinet\//) {
-                                       $ctlname = "net.inet.$nodename";
-                               } elsif ($header =~ /^netinet6\//) {
-                                       $ctlname = "net.inet6.$nodename";
-                               } elsif ($header =~ /^net\//) {
-                                       $ctlname = "net.$nodename";
-                               } else {
-                                       $ctlname = "$nodename";
-                                       $ctlname =~ s/^(fs|net|kern)_/$1\./;
-                               }
-                               if (exists $ctl_map{$ctlname}) {
-                                       $ctlname = $ctl_map{$ctlname};
-                               }
-                               if (not exists $ctls{$ctlname}) {
-                                       &debug("Ignoring $ctlname...");
-                                       next;
-                               }
-
-                               # Walk down from the top of the MIB.
-                               $node = \%mib;
-                               foreach my $part (split /\./, $ctlname) {
-                                       if (not exists $$node{$part}) {
-                                               &debug("Missing node $part");
-                                               $$node{$part} = [ 0, '', {} ];
-                                       }
-                                       $node = \%{@{$$node{$part}}[2]};
-                               }
-                       }
-
-                       # Populate current node with entries.
-                       my $i = -1;
-                       while (defined($_) && $_ !~ /^}/) {
-                               $_ = <HEADER>;
-                               $i++ if $_ =~ /{.*}/;
-                               next if $_ !~ /{\s+"(\w+)",\s+(CTLTYPE_[A-Z]+)\s+}/;
-                               $$node{$1} = [ $i, $2, {} ];
-                       }
-               }
-       }
-       close HEADER;
-}
-
-&build_sysctl(\%mib, "", []);
-
-print <<EOF;
-// mksysctl_openbsd.pl
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build $ENV{'GOARCH'},$ENV{'GOOS'}
-
-package unix;
-
-type mibentry struct {
-       ctlname string
-       ctloid []_C_int
-}
-
-var sysctlMib = []mibentry {
-EOF
-
-foreach my $name (sort keys %sysctl) {
-       my @oid = @{$sysctl{$name}};
-       print "\t{ \"$name\", []_C_int{ ", join(', ', @oid), " } }, \n";
-}
-
-print <<EOF;
-}
-EOF
diff --git a/vendor/golang.org/x/sys/unix/mksysnum_darwin.pl b/vendor/golang.org/x/sys/unix/mksysnum_darwin.pl
deleted file mode 100755 (executable)
index 5453c53..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/usr/bin/env perl
-# Copyright 2009 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-#
-# Generate system call table for Darwin from sys/syscall.h
-
-use strict;
-
-if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
-       print STDERR "GOARCH or GOOS not defined in environment\n";
-       exit 1;
-}
-
-my $command = "mksysnum_darwin.pl " . join(' ', @ARGV);
-
-print <<EOF;
-// $command
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build $ENV{'GOARCH'},$ENV{'GOOS'}
-
-package unix
-
-const (
-EOF
-
-while(<>){
-       if(/^#define\s+SYS_(\w+)\s+([0-9]+)/){
-               my $name = $1;
-               my $num = $2;
-               $name =~ y/a-z/A-Z/;
-               print " SYS_$name = $num;"
-       }
-}
-
-print <<EOF;
-)
-EOF
diff --git a/vendor/golang.org/x/sys/unix/mksysnum_dragonfly.pl b/vendor/golang.org/x/sys/unix/mksysnum_dragonfly.pl
deleted file mode 100755 (executable)
index 6804f41..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/usr/bin/env perl
-# Copyright 2009 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-#
-# Generate system call table for DragonFly from master list
-# (for example, /usr/src/sys/kern/syscalls.master).
-
-use strict;
-
-if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
-       print STDERR "GOARCH or GOOS not defined in environment\n";
-       exit 1;
-}
-
-my $command = "mksysnum_dragonfly.pl " . join(' ', @ARGV);
-
-print <<EOF;
-// $command
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build $ENV{'GOARCH'},$ENV{'GOOS'}
-
-package unix
-
-const (
-EOF
-
-while(<>){
-       if(/^([0-9]+)\s+STD\s+({ \S+\s+(\w+).*)$/){
-               my $num = $1;
-               my $proto = $2;
-               my $name = "SYS_$3";
-               $name =~ y/a-z/A-Z/;
-
-               # There are multiple entries for enosys and nosys, so comment them out.
-               if($name =~ /^SYS_E?NOSYS$/){
-                       $name = "// $name";
-               }
-               if($name eq 'SYS_SYS_EXIT'){
-                       $name = 'SYS_EXIT';
-               }
-
-               print " $name = $num;  // $proto\n";
-       }
-}
-
-print <<EOF;
-)
-EOF
diff --git a/vendor/golang.org/x/sys/unix/mksysnum_freebsd.pl b/vendor/golang.org/x/sys/unix/mksysnum_freebsd.pl
deleted file mode 100755 (executable)
index c83064f..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/usr/bin/env perl
-# Copyright 2009 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-#
-# Generate system call table for FreeBSD from master list
-# (for example, /usr/src/sys/kern/syscalls.master).
-
-use strict;
-
-if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
-       print STDERR "GOARCH or GOOS not defined in environment\n";
-       exit 1;
-}
-
-my $command = "mksysnum_freebsd.pl " . join(' ', @ARGV);
-
-print <<EOF;
-// $command
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build $ENV{'GOARCH'},$ENV{'GOOS'}
-
-package unix
-
-const (
-EOF
-
-while(<>){
-       if(/^([0-9]+)\s+\S+\s+STD\s+({ \S+\s+(\w+).*)$/){
-               my $num = $1;
-               my $proto = $2;
-               my $name = "SYS_$3";
-               $name =~ y/a-z/A-Z/;
-
-               # There are multiple entries for enosys and nosys, so comment them out.
-               if($name =~ /^SYS_E?NOSYS$/){
-                       $name = "// $name";
-               }
-               if($name eq 'SYS_SYS_EXIT'){
-                       $name = 'SYS_EXIT';
-               }
-               if($name =~ /^SYS_CAP_+/ || $name =~ /^SYS___CAP_+/){
-                       next
-               }
-
-               print " $name = $num;  // $proto\n";
-
-               # We keep Capsicum syscall numbers for FreeBSD
-               # 9-STABLE here because we are not sure whether they
-               # are mature and stable.
-               if($num == 513){
-                       print " SYS_CAP_NEW = 514 // { int cap_new(int fd, uint64_t rights); }\n";
-                       print " SYS_CAP_GETRIGHTS = 515 // { int cap_getrights(int fd, \\\n";
-                       print " SYS_CAP_ENTER = 516 // { int cap_enter(void); }\n";
-                       print " SYS_CAP_GETMODE = 517 // { int cap_getmode(u_int *modep); }\n";
-               }
-       }
-}
-
-print <<EOF;
-)
-EOF
diff --git a/vendor/golang.org/x/sys/unix/mksysnum_netbsd.pl b/vendor/golang.org/x/sys/unix/mksysnum_netbsd.pl
deleted file mode 100755 (executable)
index d31f2c4..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/usr/bin/env perl
-# Copyright 2009 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-#
-# Generate system call table for OpenBSD from master list
-# (for example, /usr/src/sys/kern/syscalls.master).
-
-use strict;
-
-if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
-       print STDERR "GOARCH or GOOS not defined in environment\n";
-       exit 1;
-}
-
-my $command = "mksysnum_netbsd.pl " . join(' ', @ARGV);
-
-print <<EOF;
-// $command
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build $ENV{'GOARCH'},$ENV{'GOOS'}
-
-package unix
-
-const (
-EOF
-
-my $line = '';
-while(<>){
-       if($line =~ /^(.*)\\$/) {
-               # Handle continuation
-               $line = $1;
-               $_ =~ s/^\s+//;
-               $line .= $_;
-       } else {
-               # New line
-               $line = $_;
-       }
-       next if $line =~ /\\$/;
-       if($line =~ /^([0-9]+)\s+((STD)|(NOERR))\s+(RUMP\s+)?({\s+\S+\s*\*?\s*\|(\S+)\|(\S*)\|(\w+).*\s+})(\s+(\S+))?$/) {
-               my $num = $1;
-               my $proto = $6;
-               my $compat = $8;
-               my $name = "$7_$9";
-
-               $name = "$7_$11" if $11 ne '';
-               $name =~ y/a-z/A-Z/;
-
-               if($compat eq '' || $compat eq '30' || $compat eq '50') {
-                       print " $name = $num;  // $proto\n";
-               }
-       }
-}
-
-print <<EOF;
-)
-EOF
diff --git a/vendor/golang.org/x/sys/unix/mksysnum_openbsd.pl b/vendor/golang.org/x/sys/unix/mksysnum_openbsd.pl
deleted file mode 100755 (executable)
index 84edf60..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/usr/bin/env perl
-# Copyright 2009 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-#
-# Generate system call table for OpenBSD from master list
-# (for example, /usr/src/sys/kern/syscalls.master).
-
-use strict;
-
-if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
-       print STDERR "GOARCH or GOOS not defined in environment\n";
-       exit 1;
-}
-
-my $command = "mksysnum_openbsd.pl " . join(' ', @ARGV);
-
-print <<EOF;
-// $command
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build $ENV{'GOARCH'},$ENV{'GOOS'}
-
-package unix
-
-const (
-EOF
-
-while(<>){
-       if(/^([0-9]+)\s+STD\s+(NOLOCK\s+)?({ \S+\s+\*?(\w+).*)$/){
-               my $num = $1;
-               my $proto = $3;
-               my $name = $4;
-               $name =~ y/a-z/A-Z/;
-
-               # There are multiple entries for enosys and nosys, so comment them out.
-               if($name =~ /^SYS_E?NOSYS$/){
-                       $name = "// $name";
-               }
-               if($name eq 'SYS_SYS_EXIT'){
-                       $name = 'SYS_EXIT';
-               }
-
-               print " $name = $num;  // $proto\n";
-       }
-}
-
-print <<EOF;
-)
-EOF
diff --git a/vendor/golang.org/x/sys/unix/openbsd_pledge.go b/vendor/golang.org/x/sys/unix/openbsd_pledge.go
deleted file mode 100644 (file)
index db4f72e..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2016 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build openbsd
-// +build 386 amd64 arm
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-const (
-       SYS_PLEDGE = 108
-)
-
-// Pledge implements the pledge syscall. For more information see pledge(2).
-func Pledge(promises string, paths []string) error {
-       promisesPtr, err := syscall.BytePtrFromString(promises)
-       if err != nil {
-               return err
-       }
-       promisesUnsafe, pathsUnsafe := unsafe.Pointer(promisesPtr), unsafe.Pointer(nil)
-       if paths != nil {
-               var pathsPtr []*byte
-               if pathsPtr, err = syscall.SlicePtrFromStrings(paths); err != nil {
-                       return err
-               }
-               pathsUnsafe = unsafe.Pointer(&pathsPtr[0])
-       }
-       _, _, e := syscall.Syscall(SYS_PLEDGE, uintptr(promisesUnsafe), uintptr(pathsUnsafe), 0)
-       if e != 0 {
-               return e
-       }
-       return nil
-}
diff --git a/vendor/golang.org/x/sys/unix/race.go b/vendor/golang.org/x/sys/unix/race.go
deleted file mode 100644 (file)
index 3c7627e..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2012 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build darwin,race linux,race freebsd,race
-
-package unix
-
-import (
-       "runtime"
-       "unsafe"
-)
-
-const raceenabled = true
-
-func raceAcquire(addr unsafe.Pointer) {
-       runtime.RaceAcquire(addr)
-}
-
-func raceReleaseMerge(addr unsafe.Pointer) {
-       runtime.RaceReleaseMerge(addr)
-}
-
-func raceReadRange(addr unsafe.Pointer, len int) {
-       runtime.RaceReadRange(addr, len)
-}
-
-func raceWriteRange(addr unsafe.Pointer, len int) {
-       runtime.RaceWriteRange(addr, len)
-}
diff --git a/vendor/golang.org/x/sys/unix/race0.go b/vendor/golang.org/x/sys/unix/race0.go
deleted file mode 100644 (file)
index f8678e0..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2012 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build darwin,!race linux,!race freebsd,!race netbsd openbsd solaris dragonfly
-
-package unix
-
-import (
-       "unsafe"
-)
-
-const raceenabled = false
-
-func raceAcquire(addr unsafe.Pointer) {
-}
-
-func raceReleaseMerge(addr unsafe.Pointer) {
-}
-
-func raceReadRange(addr unsafe.Pointer, len int) {
-}
-
-func raceWriteRange(addr unsafe.Pointer, len int) {
-}
diff --git a/vendor/golang.org/x/sys/unix/sockcmsg_linux.go b/vendor/golang.org/x/sys/unix/sockcmsg_linux.go
deleted file mode 100644 (file)
index d9ff473..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2011 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Socket control messages
-
-package unix
-
-import "unsafe"
-
-// UnixCredentials encodes credentials into a socket control message
-// for sending to another process. This can be used for
-// authentication.
-func UnixCredentials(ucred *Ucred) []byte {
-       b := make([]byte, CmsgSpace(SizeofUcred))
-       h := (*Cmsghdr)(unsafe.Pointer(&b[0]))
-       h.Level = SOL_SOCKET
-       h.Type = SCM_CREDENTIALS
-       h.SetLen(CmsgLen(SizeofUcred))
-       *((*Ucred)(cmsgData(h))) = *ucred
-       return b
-}
-
-// ParseUnixCredentials decodes a socket control message that contains
-// credentials in a Ucred structure. To receive such a message, the
-// SO_PASSCRED option must be enabled on the socket.
-func ParseUnixCredentials(m *SocketControlMessage) (*Ucred, error) {
-       if m.Header.Level != SOL_SOCKET {
-               return nil, EINVAL
-       }
-       if m.Header.Type != SCM_CREDENTIALS {
-               return nil, EINVAL
-       }
-       ucred := *(*Ucred)(unsafe.Pointer(&m.Data[0]))
-       return &ucred, nil
-}
diff --git a/vendor/golang.org/x/sys/unix/sockcmsg_unix.go b/vendor/golang.org/x/sys/unix/sockcmsg_unix.go
deleted file mode 100644 (file)
index f1493a3..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-// Copyright 2011 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
-
-// Socket control messages
-
-package unix
-
-import "unsafe"
-
-// Round the length of a raw sockaddr up to align it properly.
-func cmsgAlignOf(salen int) int {
-       salign := sizeofPtr
-       // NOTE: It seems like 64-bit Darwin and DragonFly BSD kernels
-       // still require 32-bit aligned access to network subsystem.
-       if darwin64Bit || dragonfly64Bit {
-               salign = 4
-       }
-       return (salen + salign - 1) & ^(salign - 1)
-}
-
-// CmsgLen returns the value to store in the Len field of the Cmsghdr
-// structure, taking into account any necessary alignment.
-func CmsgLen(datalen int) int {
-       return cmsgAlignOf(SizeofCmsghdr) + datalen
-}
-
-// CmsgSpace returns the number of bytes an ancillary element with
-// payload of the passed data length occupies.
-func CmsgSpace(datalen int) int {
-       return cmsgAlignOf(SizeofCmsghdr) + cmsgAlignOf(datalen)
-}
-
-func cmsgData(h *Cmsghdr) unsafe.Pointer {
-       return unsafe.Pointer(uintptr(unsafe.Pointer(h)) + uintptr(cmsgAlignOf(SizeofCmsghdr)))
-}
-
-// SocketControlMessage represents a socket control message.
-type SocketControlMessage struct {
-       Header Cmsghdr
-       Data   []byte
-}
-
-// ParseSocketControlMessage parses b as an array of socket control
-// messages.
-func ParseSocketControlMessage(b []byte) ([]SocketControlMessage, error) {
-       var msgs []SocketControlMessage
-       i := 0
-       for i+CmsgLen(0) <= len(b) {
-               h, dbuf, err := socketControlMessageHeaderAndData(b[i:])
-               if err != nil {
-                       return nil, err
-               }
-               m := SocketControlMessage{Header: *h, Data: dbuf}
-               msgs = append(msgs, m)
-               i += cmsgAlignOf(int(h.Len))
-       }
-       return msgs, nil
-}
-
-func socketControlMessageHeaderAndData(b []byte) (*Cmsghdr, []byte, error) {
-       h := (*Cmsghdr)(unsafe.Pointer(&b[0]))
-       if h.Len < SizeofCmsghdr || uint64(h.Len) > uint64(len(b)) {
-               return nil, nil, EINVAL
-       }
-       return h, b[cmsgAlignOf(SizeofCmsghdr):h.Len], nil
-}
-
-// UnixRights encodes a set of open file descriptors into a socket
-// control message for sending to another process.
-func UnixRights(fds ...int) []byte {
-       datalen := len(fds) * 4
-       b := make([]byte, CmsgSpace(datalen))
-       h := (*Cmsghdr)(unsafe.Pointer(&b[0]))
-       h.Level = SOL_SOCKET
-       h.Type = SCM_RIGHTS
-       h.SetLen(CmsgLen(datalen))
-       data := cmsgData(h)
-       for _, fd := range fds {
-               *(*int32)(data) = int32(fd)
-               data = unsafe.Pointer(uintptr(data) + 4)
-       }
-       return b
-}
-
-// ParseUnixRights decodes a socket control message that contains an
-// integer array of open file descriptors from another process.
-func ParseUnixRights(m *SocketControlMessage) ([]int, error) {
-       if m.Header.Level != SOL_SOCKET {
-               return nil, EINVAL
-       }
-       if m.Header.Type != SCM_RIGHTS {
-               return nil, EINVAL
-       }
-       fds := make([]int, len(m.Data)>>2)
-       for i, j := 0, 0; i < len(m.Data); i += 4 {
-               fds[j] = int(*(*int32)(unsafe.Pointer(&m.Data[i])))
-               j++
-       }
-       return fds, nil
-}
diff --git a/vendor/golang.org/x/sys/unix/str.go b/vendor/golang.org/x/sys/unix/str.go
deleted file mode 100644 (file)
index 35ed664..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
-
-package unix
-
-func itoa(val int) string { // do it here rather than with fmt to avoid dependency
-       if val < 0 {
-               return "-" + uitoa(uint(-val))
-       }
-       return uitoa(uint(val))
-}
-
-func uitoa(val uint) string {
-       var buf [32]byte // big enough for int64
-       i := len(buf) - 1
-       for val >= 10 {
-               buf[i] = byte(val%10 + '0')
-               i--
-               val /= 10
-       }
-       buf[i] = byte(val + '0')
-       return string(buf[i:])
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall.go b/vendor/golang.org/x/sys/unix/syscall.go
deleted file mode 100644 (file)
index 85e3502..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
-
-// Package unix contains an interface to the low-level operating system
-// primitives.  OS details vary depending on the underlying system, and
-// by default, godoc will display OS-specific documentation for the current
-// system.  If you want godoc to display OS documentation for another
-// system, set $GOOS and $GOARCH to the desired system.  For example, if
-// you want to view documentation for freebsd/arm on linux/amd64, set $GOOS
-// to freebsd and $GOARCH to arm.
-// The primary use of this package is inside other packages that provide a more
-// portable interface to the system, such as "os", "time" and "net".  Use
-// those packages rather than this one if you can.
-// For details of the functions and data types in this package consult
-// the manuals for the appropriate operating system.
-// These calls return err == nil to indicate success; otherwise
-// err represents an operating system error describing the failure and
-// holds a value of type syscall.Errno.
-package unix // import "golang.org/x/sys/unix"
-
-// ByteSliceFromString returns a NUL-terminated slice of bytes
-// containing the text of s. If s contains a NUL byte at any
-// location, it returns (nil, EINVAL).
-func ByteSliceFromString(s string) ([]byte, error) {
-       for i := 0; i < len(s); i++ {
-               if s[i] == 0 {
-                       return nil, EINVAL
-               }
-       }
-       a := make([]byte, len(s)+1)
-       copy(a, s)
-       return a, nil
-}
-
-// BytePtrFromString returns a pointer to a NUL-terminated array of
-// bytes containing the text of s. If s contains a NUL byte at any
-// location, it returns (nil, EINVAL).
-func BytePtrFromString(s string) (*byte, error) {
-       a, err := ByteSliceFromString(s)
-       if err != nil {
-               return nil, err
-       }
-       return &a[0], nil
-}
-
-// Single-word zero for use when we need a valid pointer to 0 bytes.
-// See mkunix.pl.
-var _zero uintptr
-
-func (ts *Timespec) Unix() (sec int64, nsec int64) {
-       return int64(ts.Sec), int64(ts.Nsec)
-}
-
-func (tv *Timeval) Unix() (sec int64, nsec int64) {
-       return int64(tv.Sec), int64(tv.Usec) * 1000
-}
-
-func (ts *Timespec) Nano() int64 {
-       return int64(ts.Sec)*1e9 + int64(ts.Nsec)
-}
-
-func (tv *Timeval) Nano() int64 {
-       return int64(tv.Sec)*1e9 + int64(tv.Usec)*1000
-}
-
-func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
diff --git a/vendor/golang.org/x/sys/unix/syscall_bsd.go b/vendor/golang.org/x/sys/unix/syscall_bsd.go
deleted file mode 100644 (file)
index ccb29c7..0000000
+++ /dev/null
@@ -1,614 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build darwin dragonfly freebsd netbsd openbsd
-
-// BSD system call wrappers shared by *BSD based systems
-// including OS X (Darwin) and FreeBSD.  Like the other
-// syscall_*.go files it is compiled as Go code but also
-// used as input to mksyscall which parses the //sys
-// lines and generates system call stubs.
-
-package unix
-
-import (
-       "runtime"
-       "syscall"
-       "unsafe"
-)
-
-/*
- * Wrapped
- */
-
-//sysnb        getgroups(ngid int, gid *_Gid_t) (n int, err error)
-//sysnb        setgroups(ngid int, gid *_Gid_t) (err error)
-
-func Getgroups() (gids []int, err error) {
-       n, err := getgroups(0, nil)
-       if err != nil {
-               return nil, err
-       }
-       if n == 0 {
-               return nil, nil
-       }
-
-       // Sanity check group count.  Max is 16 on BSD.
-       if n < 0 || n > 1000 {
-               return nil, EINVAL
-       }
-
-       a := make([]_Gid_t, n)
-       n, err = getgroups(n, &a[0])
-       if err != nil {
-               return nil, err
-       }
-       gids = make([]int, n)
-       for i, v := range a[0:n] {
-               gids[i] = int(v)
-       }
-       return
-}
-
-func Setgroups(gids []int) (err error) {
-       if len(gids) == 0 {
-               return setgroups(0, nil)
-       }
-
-       a := make([]_Gid_t, len(gids))
-       for i, v := range gids {
-               a[i] = _Gid_t(v)
-       }
-       return setgroups(len(a), &a[0])
-}
-
-func ReadDirent(fd int, buf []byte) (n int, err error) {
-       // Final argument is (basep *uintptr) and the syscall doesn't take nil.
-       // 64 bits should be enough. (32 bits isn't even on 386). Since the
-       // actual system call is getdirentries64, 64 is a good guess.
-       // TODO(rsc): Can we use a single global basep for all calls?
-       var base = (*uintptr)(unsafe.Pointer(new(uint64)))
-       return Getdirentries(fd, buf, base)
-}
-
-// Wait status is 7 bits at bottom, either 0 (exited),
-// 0x7F (stopped), or a signal number that caused an exit.
-// The 0x80 bit is whether there was a core dump.
-// An extra number (exit code, signal causing a stop)
-// is in the high bits.
-
-type WaitStatus uint32
-
-const (
-       mask  = 0x7F
-       core  = 0x80
-       shift = 8
-
-       exited  = 0
-       stopped = 0x7F
-)
-
-func (w WaitStatus) Exited() bool { return w&mask == exited }
-
-func (w WaitStatus) ExitStatus() int {
-       if w&mask != exited {
-               return -1
-       }
-       return int(w >> shift)
-}
-
-func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != 0 }
-
-func (w WaitStatus) Signal() syscall.Signal {
-       sig := syscall.Signal(w & mask)
-       if sig == stopped || sig == 0 {
-               return -1
-       }
-       return sig
-}
-
-func (w WaitStatus) CoreDump() bool { return w.Signaled() && w&core != 0 }
-
-func (w WaitStatus) Stopped() bool { return w&mask == stopped && syscall.Signal(w>>shift) != SIGSTOP }
-
-func (w WaitStatus) Continued() bool { return w&mask == stopped && syscall.Signal(w>>shift) == SIGSTOP }
-
-func (w WaitStatus) StopSignal() syscall.Signal {
-       if !w.Stopped() {
-               return -1
-       }
-       return syscall.Signal(w>>shift) & 0xFF
-}
-
-func (w WaitStatus) TrapCause() int { return -1 }
-
-//sys  wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error)
-
-func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
-       var status _C_int
-       wpid, err = wait4(pid, &status, options, rusage)
-       if wstatus != nil {
-               *wstatus = WaitStatus(status)
-       }
-       return
-}
-
-//sys  accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
-//sys  bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sysnb        socket(domain int, typ int, proto int) (fd int, err error)
-//sys  getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error)
-//sys  setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error)
-//sysnb        getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sysnb        getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sys  Shutdown(s int, how int) (err error)
-
-func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       if sa.Port < 0 || sa.Port > 0xFFFF {
-               return nil, 0, EINVAL
-       }
-       sa.raw.Len = SizeofSockaddrInet4
-       sa.raw.Family = AF_INET
-       p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
-       p[0] = byte(sa.Port >> 8)
-       p[1] = byte(sa.Port)
-       for i := 0; i < len(sa.Addr); i++ {
-               sa.raw.Addr[i] = sa.Addr[i]
-       }
-       return unsafe.Pointer(&sa.raw), _Socklen(sa.raw.Len), nil
-}
-
-func (sa *SockaddrInet6) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       if sa.Port < 0 || sa.Port > 0xFFFF {
-               return nil, 0, EINVAL
-       }
-       sa.raw.Len = SizeofSockaddrInet6
-       sa.raw.Family = AF_INET6
-       p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
-       p[0] = byte(sa.Port >> 8)
-       p[1] = byte(sa.Port)
-       sa.raw.Scope_id = sa.ZoneId
-       for i := 0; i < len(sa.Addr); i++ {
-               sa.raw.Addr[i] = sa.Addr[i]
-       }
-       return unsafe.Pointer(&sa.raw), _Socklen(sa.raw.Len), nil
-}
-
-func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       name := sa.Name
-       n := len(name)
-       if n >= len(sa.raw.Path) || n == 0 {
-               return nil, 0, EINVAL
-       }
-       sa.raw.Len = byte(3 + n) // 2 for Family, Len; 1 for NUL
-       sa.raw.Family = AF_UNIX
-       for i := 0; i < n; i++ {
-               sa.raw.Path[i] = int8(name[i])
-       }
-       return unsafe.Pointer(&sa.raw), _Socklen(sa.raw.Len), nil
-}
-
-func (sa *SockaddrDatalink) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       if sa.Index == 0 {
-               return nil, 0, EINVAL
-       }
-       sa.raw.Len = sa.Len
-       sa.raw.Family = AF_LINK
-       sa.raw.Index = sa.Index
-       sa.raw.Type = sa.Type
-       sa.raw.Nlen = sa.Nlen
-       sa.raw.Alen = sa.Alen
-       sa.raw.Slen = sa.Slen
-       for i := 0; i < len(sa.raw.Data); i++ {
-               sa.raw.Data[i] = sa.Data[i]
-       }
-       return unsafe.Pointer(&sa.raw), SizeofSockaddrDatalink, nil
-}
-
-func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
-       switch rsa.Addr.Family {
-       case AF_LINK:
-               pp := (*RawSockaddrDatalink)(unsafe.Pointer(rsa))
-               sa := new(SockaddrDatalink)
-               sa.Len = pp.Len
-               sa.Family = pp.Family
-               sa.Index = pp.Index
-               sa.Type = pp.Type
-               sa.Nlen = pp.Nlen
-               sa.Alen = pp.Alen
-               sa.Slen = pp.Slen
-               for i := 0; i < len(sa.Data); i++ {
-                       sa.Data[i] = pp.Data[i]
-               }
-               return sa, nil
-
-       case AF_UNIX:
-               pp := (*RawSockaddrUnix)(unsafe.Pointer(rsa))
-               if pp.Len < 2 || pp.Len > SizeofSockaddrUnix {
-                       return nil, EINVAL
-               }
-               sa := new(SockaddrUnix)
-
-               // Some BSDs include the trailing NUL in the length, whereas
-               // others do not. Work around this by subtracting the leading
-               // family and len. The path is then scanned to see if a NUL
-               // terminator still exists within the length.
-               n := int(pp.Len) - 2 // subtract leading Family, Len
-               for i := 0; i < n; i++ {
-                       if pp.Path[i] == 0 {
-                               // found early NUL; assume Len included the NUL
-                               // or was overestimating.
-                               n = i
-                               break
-                       }
-               }
-               bytes := (*[10000]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
-               sa.Name = string(bytes)
-               return sa, nil
-
-       case AF_INET:
-               pp := (*RawSockaddrInet4)(unsafe.Pointer(rsa))
-               sa := new(SockaddrInet4)
-               p := (*[2]byte)(unsafe.Pointer(&pp.Port))
-               sa.Port = int(p[0])<<8 + int(p[1])
-               for i := 0; i < len(sa.Addr); i++ {
-                       sa.Addr[i] = pp.Addr[i]
-               }
-               return sa, nil
-
-       case AF_INET6:
-               pp := (*RawSockaddrInet6)(unsafe.Pointer(rsa))
-               sa := new(SockaddrInet6)
-               p := (*[2]byte)(unsafe.Pointer(&pp.Port))
-               sa.Port = int(p[0])<<8 + int(p[1])
-               sa.ZoneId = pp.Scope_id
-               for i := 0; i < len(sa.Addr); i++ {
-                       sa.Addr[i] = pp.Addr[i]
-               }
-               return sa, nil
-       }
-       return nil, EAFNOSUPPORT
-}
-
-func Accept(fd int) (nfd int, sa Sockaddr, err error) {
-       var rsa RawSockaddrAny
-       var len _Socklen = SizeofSockaddrAny
-       nfd, err = accept(fd, &rsa, &len)
-       if err != nil {
-               return
-       }
-       if runtime.GOOS == "darwin" && len == 0 {
-               // Accepted socket has no address.
-               // This is likely due to a bug in xnu kernels,
-               // where instead of ECONNABORTED error socket
-               // is accepted, but has no address.
-               Close(nfd)
-               return 0, nil, ECONNABORTED
-       }
-       sa, err = anyToSockaddr(&rsa)
-       if err != nil {
-               Close(nfd)
-               nfd = 0
-       }
-       return
-}
-
-func Getsockname(fd int) (sa Sockaddr, err error) {
-       var rsa RawSockaddrAny
-       var len _Socklen = SizeofSockaddrAny
-       if err = getsockname(fd, &rsa, &len); err != nil {
-               return
-       }
-       // TODO(jsing): DragonFly has a "bug" (see issue 3349), which should be
-       // reported upstream.
-       if runtime.GOOS == "dragonfly" && rsa.Addr.Family == AF_UNSPEC && rsa.Addr.Len == 0 {
-               rsa.Addr.Family = AF_UNIX
-               rsa.Addr.Len = SizeofSockaddrUnix
-       }
-       return anyToSockaddr(&rsa)
-}
-
-//sysnb socketpair(domain int, typ int, proto int, fd *[2]int32) (err error)
-
-func GetsockoptByte(fd, level, opt int) (value byte, err error) {
-       var n byte
-       vallen := _Socklen(1)
-       err = getsockopt(fd, level, opt, unsafe.Pointer(&n), &vallen)
-       return n, err
-}
-
-func GetsockoptInet4Addr(fd, level, opt int) (value [4]byte, err error) {
-       vallen := _Socklen(4)
-       err = getsockopt(fd, level, opt, unsafe.Pointer(&value[0]), &vallen)
-       return value, err
-}
-
-func GetsockoptIPMreq(fd, level, opt int) (*IPMreq, error) {
-       var value IPMreq
-       vallen := _Socklen(SizeofIPMreq)
-       err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-       return &value, err
-}
-
-func GetsockoptIPv6Mreq(fd, level, opt int) (*IPv6Mreq, error) {
-       var value IPv6Mreq
-       vallen := _Socklen(SizeofIPv6Mreq)
-       err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-       return &value, err
-}
-
-func GetsockoptIPv6MTUInfo(fd, level, opt int) (*IPv6MTUInfo, error) {
-       var value IPv6MTUInfo
-       vallen := _Socklen(SizeofIPv6MTUInfo)
-       err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-       return &value, err
-}
-
-func GetsockoptICMPv6Filter(fd, level, opt int) (*ICMPv6Filter, error) {
-       var value ICMPv6Filter
-       vallen := _Socklen(SizeofICMPv6Filter)
-       err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-       return &value, err
-}
-
-//sys   recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
-//sys   sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
-
-func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) {
-       var msg Msghdr
-       var rsa RawSockaddrAny
-       msg.Name = (*byte)(unsafe.Pointer(&rsa))
-       msg.Namelen = uint32(SizeofSockaddrAny)
-       var iov Iovec
-       if len(p) > 0 {
-               iov.Base = (*byte)(unsafe.Pointer(&p[0]))
-               iov.SetLen(len(p))
-       }
-       var dummy byte
-       if len(oob) > 0 {
-               // receive at least one normal byte
-               if len(p) == 0 {
-                       iov.Base = &dummy
-                       iov.SetLen(1)
-               }
-               msg.Control = (*byte)(unsafe.Pointer(&oob[0]))
-               msg.SetControllen(len(oob))
-       }
-       msg.Iov = &iov
-       msg.Iovlen = 1
-       if n, err = recvmsg(fd, &msg, flags); err != nil {
-               return
-       }
-       oobn = int(msg.Controllen)
-       recvflags = int(msg.Flags)
-       // source address is only specified if the socket is unconnected
-       if rsa.Addr.Family != AF_UNSPEC {
-               from, err = anyToSockaddr(&rsa)
-       }
-       return
-}
-
-//sys  sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
-
-func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error) {
-       _, err = SendmsgN(fd, p, oob, to, flags)
-       return
-}
-
-func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) {
-       var ptr unsafe.Pointer
-       var salen _Socklen
-       if to != nil {
-               ptr, salen, err = to.sockaddr()
-               if err != nil {
-                       return 0, err
-               }
-       }
-       var msg Msghdr
-       msg.Name = (*byte)(unsafe.Pointer(ptr))
-       msg.Namelen = uint32(salen)
-       var iov Iovec
-       if len(p) > 0 {
-               iov.Base = (*byte)(unsafe.Pointer(&p[0]))
-               iov.SetLen(len(p))
-       }
-       var dummy byte
-       if len(oob) > 0 {
-               // send at least one normal byte
-               if len(p) == 0 {
-                       iov.Base = &dummy
-                       iov.SetLen(1)
-               }
-               msg.Control = (*byte)(unsafe.Pointer(&oob[0]))
-               msg.SetControllen(len(oob))
-       }
-       msg.Iov = &iov
-       msg.Iovlen = 1
-       if n, err = sendmsg(fd, &msg, flags); err != nil {
-               return 0, err
-       }
-       if len(oob) > 0 && len(p) == 0 {
-               n = 0
-       }
-       return n, nil
-}
-
-//sys  kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error)
-
-func Kevent(kq int, changes, events []Kevent_t, timeout *Timespec) (n int, err error) {
-       var change, event unsafe.Pointer
-       if len(changes) > 0 {
-               change = unsafe.Pointer(&changes[0])
-       }
-       if len(events) > 0 {
-               event = unsafe.Pointer(&events[0])
-       }
-       return kevent(kq, change, len(changes), event, len(events), timeout)
-}
-
-//sys  sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL
-
-// sysctlmib translates name to mib number and appends any additional args.
-func sysctlmib(name string, args ...int) ([]_C_int, error) {
-       // Translate name to mib number.
-       mib, err := nametomib(name)
-       if err != nil {
-               return nil, err
-       }
-
-       for _, a := range args {
-               mib = append(mib, _C_int(a))
-       }
-
-       return mib, nil
-}
-
-func Sysctl(name string) (string, error) {
-       return SysctlArgs(name)
-}
-
-func SysctlArgs(name string, args ...int) (string, error) {
-       buf, err := SysctlRaw(name, args...)
-       if err != nil {
-               return "", err
-       }
-       n := len(buf)
-
-       // Throw away terminating NUL.
-       if n > 0 && buf[n-1] == '\x00' {
-               n--
-       }
-       return string(buf[0:n]), nil
-}
-
-func SysctlUint32(name string) (uint32, error) {
-       return SysctlUint32Args(name)
-}
-
-func SysctlUint32Args(name string, args ...int) (uint32, error) {
-       mib, err := sysctlmib(name, args...)
-       if err != nil {
-               return 0, err
-       }
-
-       n := uintptr(4)
-       buf := make([]byte, 4)
-       if err := sysctl(mib, &buf[0], &n, nil, 0); err != nil {
-               return 0, err
-       }
-       if n != 4 {
-               return 0, EIO
-       }
-       return *(*uint32)(unsafe.Pointer(&buf[0])), nil
-}
-
-func SysctlUint64(name string, args ...int) (uint64, error) {
-       mib, err := sysctlmib(name, args...)
-       if err != nil {
-               return 0, err
-       }
-
-       n := uintptr(8)
-       buf := make([]byte, 8)
-       if err := sysctl(mib, &buf[0], &n, nil, 0); err != nil {
-               return 0, err
-       }
-       if n != 8 {
-               return 0, EIO
-       }
-       return *(*uint64)(unsafe.Pointer(&buf[0])), nil
-}
-
-func SysctlRaw(name string, args ...int) ([]byte, error) {
-       mib, err := sysctlmib(name, args...)
-       if err != nil {
-               return nil, err
-       }
-
-       // Find size.
-       n := uintptr(0)
-       if err := sysctl(mib, nil, &n, nil, 0); err != nil {
-               return nil, err
-       }
-       if n == 0 {
-               return nil, nil
-       }
-
-       // Read into buffer of that size.
-       buf := make([]byte, n)
-       if err := sysctl(mib, &buf[0], &n, nil, 0); err != nil {
-               return nil, err
-       }
-
-       // The actual call may return less than the original reported required
-       // size so ensure we deal with that.
-       return buf[:n], nil
-}
-
-//sys  utimes(path string, timeval *[2]Timeval) (err error)
-
-func Utimes(path string, tv []Timeval) error {
-       if tv == nil {
-               return utimes(path, nil)
-       }
-       if len(tv) != 2 {
-               return EINVAL
-       }
-       return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
-}
-
-func UtimesNano(path string, ts []Timespec) error {
-       if ts == nil {
-               return utimes(path, nil)
-       }
-       // TODO: The BSDs can do utimensat with SYS_UTIMENSAT but it
-       // isn't supported by darwin so this uses utimes instead
-       if len(ts) != 2 {
-               return EINVAL
-       }
-       // Not as efficient as it could be because Timespec and
-       // Timeval have different types in the different OSes
-       tv := [2]Timeval{
-               NsecToTimeval(TimespecToNsec(ts[0])),
-               NsecToTimeval(TimespecToNsec(ts[1])),
-       }
-       return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
-}
-
-//sys  futimes(fd int, timeval *[2]Timeval) (err error)
-
-func Futimes(fd int, tv []Timeval) error {
-       if tv == nil {
-               return futimes(fd, nil)
-       }
-       if len(tv) != 2 {
-               return EINVAL
-       }
-       return futimes(fd, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
-}
-
-//sys  fcntl(fd int, cmd int, arg int) (val int, err error)
-
-// TODO: wrap
-//     Acct(name nil-string) (err error)
-//     Gethostuuid(uuid *byte, timeout *Timespec) (err error)
-//     Madvise(addr *byte, len int, behav int) (err error)
-//     Mprotect(addr *byte, len int, prot int) (err error)
-//     Msync(addr *byte, len int, flags int) (err error)
-//     Ptrace(req int, pid int, addr uintptr, data int) (ret uintptr, err error)
-
-var mapper = &mmapper{
-       active: make(map[*byte][]byte),
-       mmap:   mmap,
-       munmap: munmap,
-}
-
-func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
-       return mapper.Mmap(fd, offset, length, prot, flags)
-}
-
-func Munmap(b []byte) (err error) {
-       return mapper.Munmap(b)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin.go b/vendor/golang.org/x/sys/unix/syscall_darwin.go
deleted file mode 100644 (file)
index 7d91ac0..0000000
+++ /dev/null
@@ -1,493 +0,0 @@
-// Copyright 2009,2010 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Darwin system calls.
-// This file is compiled as ordinary Go code,
-// but it is also input to mksyscall,
-// which parses the //sys lines and generates system call stubs.
-// Note that sometimes we use a lowercase //sys name and wrap
-// it in our own nicer implementation, either here or in
-// syscall_bsd.go or syscall_unix.go.
-
-package unix
-
-import (
-       errorspkg "errors"
-       "syscall"
-       "unsafe"
-)
-
-const ImplementsGetwd = true
-
-func Getwd() (string, error) {
-       buf := make([]byte, 2048)
-       attrs, err := getAttrList(".", attrList{CommonAttr: attrCmnFullpath}, buf, 0)
-       if err == nil && len(attrs) == 1 && len(attrs[0]) >= 2 {
-               wd := string(attrs[0])
-               // Sanity check that it's an absolute path and ends
-               // in a null byte, which we then strip.
-               if wd[0] == '/' && wd[len(wd)-1] == 0 {
-                       return wd[:len(wd)-1], nil
-               }
-       }
-       // If pkg/os/getwd.go gets ENOTSUP, it will fall back to the
-       // slow algorithm.
-       return "", ENOTSUP
-}
-
-type SockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [12]int8
-       raw    RawSockaddrDatalink
-}
-
-// Translate "kern.hostname" to []_C_int{0,1,2,3}.
-func nametomib(name string) (mib []_C_int, err error) {
-       const siz = unsafe.Sizeof(mib[0])
-
-       // NOTE(rsc): It seems strange to set the buffer to have
-       // size CTL_MAXNAME+2 but use only CTL_MAXNAME
-       // as the size.  I don't know why the +2 is here, but the
-       // kernel uses +2 for its own implementation of this function.
-       // I am scared that if we don't include the +2 here, the kernel
-       // will silently write 2 words farther than we specify
-       // and we'll get memory corruption.
-       var buf [CTL_MAXNAME + 2]_C_int
-       n := uintptr(CTL_MAXNAME) * siz
-
-       p := (*byte)(unsafe.Pointer(&buf[0]))
-       bytes, err := ByteSliceFromString(name)
-       if err != nil {
-               return nil, err
-       }
-
-       // Magic sysctl: "setting" 0.3 to a string name
-       // lets you read back the array of integers form.
-       if err = sysctl([]_C_int{0, 3}, p, &n, &bytes[0], uintptr(len(name))); err != nil {
-               return nil, err
-       }
-       return buf[0 : n/siz], nil
-}
-
-func direntIno(buf []byte) (uint64, bool) {
-       return readInt(buf, unsafe.Offsetof(Dirent{}.Ino), unsafe.Sizeof(Dirent{}.Ino))
-}
-
-func direntReclen(buf []byte) (uint64, bool) {
-       return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen))
-}
-
-func direntNamlen(buf []byte) (uint64, bool) {
-       return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen))
-}
-
-//sys   ptrace(request int, pid int, addr uintptr, data uintptr) (err error)
-func PtraceAttach(pid int) (err error) { return ptrace(PT_ATTACH, pid, 0, 0) }
-func PtraceDetach(pid int) (err error) { return ptrace(PT_DETACH, pid, 0, 0) }
-
-const (
-       attrBitMapCount = 5
-       attrCmnFullpath = 0x08000000
-)
-
-type attrList struct {
-       bitmapCount uint16
-       _           uint16
-       CommonAttr  uint32
-       VolAttr     uint32
-       DirAttr     uint32
-       FileAttr    uint32
-       Forkattr    uint32
-}
-
-func getAttrList(path string, attrList attrList, attrBuf []byte, options uint) (attrs [][]byte, err error) {
-       if len(attrBuf) < 4 {
-               return nil, errorspkg.New("attrBuf too small")
-       }
-       attrList.bitmapCount = attrBitMapCount
-
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return nil, err
-       }
-
-       _, _, e1 := Syscall6(
-               SYS_GETATTRLIST,
-               uintptr(unsafe.Pointer(_p0)),
-               uintptr(unsafe.Pointer(&attrList)),
-               uintptr(unsafe.Pointer(&attrBuf[0])),
-               uintptr(len(attrBuf)),
-               uintptr(options),
-               0,
-       )
-       if e1 != 0 {
-               return nil, e1
-       }
-       size := *(*uint32)(unsafe.Pointer(&attrBuf[0]))
-
-       // dat is the section of attrBuf that contains valid data,
-       // without the 4 byte length header. All attribute offsets
-       // are relative to dat.
-       dat := attrBuf
-       if int(size) < len(attrBuf) {
-               dat = dat[:size]
-       }
-       dat = dat[4:] // remove length prefix
-
-       for i := uint32(0); int(i) < len(dat); {
-               header := dat[i:]
-               if len(header) < 8 {
-                       return attrs, errorspkg.New("truncated attribute header")
-               }
-               datOff := *(*int32)(unsafe.Pointer(&header[0]))
-               attrLen := *(*uint32)(unsafe.Pointer(&header[4]))
-               if datOff < 0 || uint32(datOff)+attrLen > uint32(len(dat)) {
-                       return attrs, errorspkg.New("truncated results; attrBuf too small")
-               }
-               end := uint32(datOff) + attrLen
-               attrs = append(attrs, dat[datOff:end])
-               i = end
-               if r := i % 4; r != 0 {
-                       i += (4 - r)
-               }
-       }
-       return
-}
-
-//sysnb pipe() (r int, w int, err error)
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       p[0], p[1], err = pipe()
-       return
-}
-
-func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       var bufsize uintptr
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-               bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf))
-       }
-       r0, _, e1 := Syscall(SYS_GETFSSTAT64, uintptr(_p0), bufsize, uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-/*
- * Wrapped
- */
-
-//sys  kill(pid int, signum int, posix int) (err error)
-
-func Kill(pid int, signum syscall.Signal) (err error) { return kill(pid, int(signum), 1) }
-
-/*
- * Exposed directly
- */
-//sys  Access(path string, mode uint32) (err error)
-//sys  Adjtime(delta *Timeval, olddelta *Timeval) (err error)
-//sys  Chdir(path string) (err error)
-//sys  Chflags(path string, flags int) (err error)
-//sys  Chmod(path string, mode uint32) (err error)
-//sys  Chown(path string, uid int, gid int) (err error)
-//sys  Chroot(path string) (err error)
-//sys  Close(fd int) (err error)
-//sys  Dup(fd int) (nfd int, err error)
-//sys  Dup2(from int, to int) (err error)
-//sys  Exchangedata(path1 string, path2 string, options int) (err error)
-//sys  Exit(code int)
-//sys  Fchdir(fd int) (err error)
-//sys  Fchflags(fd int, flags int) (err error)
-//sys  Fchmod(fd int, mode uint32) (err error)
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Flock(fd int, how int) (err error)
-//sys  Fpathconf(fd int, name int) (val int, err error)
-//sys  Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64
-//sys  Fstatfs(fd int, stat *Statfs_t) (err error) = SYS_FSTATFS64
-//sys  Fsync(fd int) (err error)
-//sys  Ftruncate(fd int, length int64) (err error)
-//sys  Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) = SYS_GETDIRENTRIES64
-//sys  Getdtablesize() (size int)
-//sysnb        Getegid() (egid int)
-//sysnb        Geteuid() (uid int)
-//sysnb        Getgid() (gid int)
-//sysnb        Getpgid(pid int) (pgid int, err error)
-//sysnb        Getpgrp() (pgrp int)
-//sysnb        Getpid() (pid int)
-//sysnb        Getppid() (ppid int)
-//sys  Getpriority(which int, who int) (prio int, err error)
-//sysnb        Getrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Getrusage(who int, rusage *Rusage) (err error)
-//sysnb        Getsid(pid int) (sid int, err error)
-//sysnb        Getuid() (uid int)
-//sysnb        Issetugid() (tainted bool)
-//sys  Kqueue() (fd int, err error)
-//sys  Lchown(path string, uid int, gid int) (err error)
-//sys  Link(path string, link string) (err error)
-//sys  Listen(s int, backlog int) (err error)
-//sys  Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
-//sys  Mkdir(path string, mode uint32) (err error)
-//sys  Mkfifo(path string, mode uint32) (err error)
-//sys  Mknod(path string, mode uint32, dev int) (err error)
-//sys  Mlock(b []byte) (err error)
-//sys  Mlockall(flags int) (err error)
-//sys  Mprotect(b []byte, prot int) (err error)
-//sys  Munlock(b []byte) (err error)
-//sys  Munlockall() (err error)
-//sys  Open(path string, mode int, perm uint32) (fd int, err error)
-//sys  Pathconf(path string, name int) (val int, err error)
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error)
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error)
-//sys  read(fd int, p []byte) (n int, err error)
-//sys  Readlink(path string, buf []byte) (n int, err error)
-//sys  Rename(from string, to string) (err error)
-//sys  Revoke(path string) (err error)
-//sys  Rmdir(path string) (err error)
-//sys  Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
-//sys  Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
-//sys  Setegid(egid int) (err error)
-//sysnb        Seteuid(euid int) (err error)
-//sysnb        Setgid(gid int) (err error)
-//sys  Setlogin(name string) (err error)
-//sysnb        Setpgid(pid int, pgid int) (err error)
-//sys  Setpriority(which int, who int, prio int) (err error)
-//sys  Setprivexec(flag int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sysnb        Setrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Setsid() (pid int, err error)
-//sysnb        Settimeofday(tp *Timeval) (err error)
-//sysnb        Setuid(uid int) (err error)
-//sys  Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
-//sys  Statfs(path string, stat *Statfs_t) (err error) = SYS_STATFS64
-//sys  Symlink(path string, link string) (err error)
-//sys  Sync() (err error)
-//sys  Truncate(path string, length int64) (err error)
-//sys  Umask(newmask int) (oldmask int)
-//sys  Undelete(path string) (err error)
-//sys  Unlink(path string) (err error)
-//sys  Unmount(path string, flags int) (err error)
-//sys  write(fd int, p []byte) (n int, err error)
-//sys   mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
-//sys   munmap(addr uintptr, length uintptr) (err error)
-//sys  readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
-//sys  writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
-
-/*
- * Unimplemented
- */
-// Profil
-// Sigaction
-// Sigprocmask
-// Getlogin
-// Sigpending
-// Sigaltstack
-// Ioctl
-// Reboot
-// Execve
-// Vfork
-// Sbrk
-// Sstk
-// Ovadvise
-// Mincore
-// Setitimer
-// Swapon
-// Select
-// Sigsuspend
-// Readv
-// Writev
-// Nfssvc
-// Getfh
-// Quotactl
-// Mount
-// Csops
-// Waitid
-// Add_profil
-// Kdebug_trace
-// Sigreturn
-// Mmap
-// Mlock
-// Munlock
-// Atsocket
-// Kqueue_from_portset_np
-// Kqueue_portset
-// Getattrlist
-// Setattrlist
-// Getdirentriesattr
-// Searchfs
-// Delete
-// Copyfile
-// Poll
-// Watchevent
-// Waitevent
-// Modwatch
-// Getxattr
-// Fgetxattr
-// Setxattr
-// Fsetxattr
-// Removexattr
-// Fremovexattr
-// Listxattr
-// Flistxattr
-// Fsctl
-// Initgroups
-// Posix_spawn
-// Nfsclnt
-// Fhopen
-// Minherit
-// Semsys
-// Msgsys
-// Shmsys
-// Semctl
-// Semget
-// Semop
-// Msgctl
-// Msgget
-// Msgsnd
-// Msgrcv
-// Shmat
-// Shmctl
-// Shmdt
-// Shmget
-// Shm_open
-// Shm_unlink
-// Sem_open
-// Sem_close
-// Sem_unlink
-// Sem_wait
-// Sem_trywait
-// Sem_post
-// Sem_getvalue
-// Sem_init
-// Sem_destroy
-// Open_extended
-// Umask_extended
-// Stat_extended
-// Lstat_extended
-// Fstat_extended
-// Chmod_extended
-// Fchmod_extended
-// Access_extended
-// Settid
-// Gettid
-// Setsgroups
-// Getsgroups
-// Setwgroups
-// Getwgroups
-// Mkfifo_extended
-// Mkdir_extended
-// Identitysvc
-// Shared_region_check_np
-// Shared_region_map_np
-// __pthread_mutex_destroy
-// __pthread_mutex_init
-// __pthread_mutex_lock
-// __pthread_mutex_trylock
-// __pthread_mutex_unlock
-// __pthread_cond_init
-// __pthread_cond_destroy
-// __pthread_cond_broadcast
-// __pthread_cond_signal
-// Setsid_with_pid
-// __pthread_cond_timedwait
-// Aio_fsync
-// Aio_return
-// Aio_suspend
-// Aio_cancel
-// Aio_error
-// Aio_read
-// Aio_write
-// Lio_listio
-// __pthread_cond_wait
-// Iopolicysys
-// Mlockall
-// Munlockall
-// __pthread_kill
-// __pthread_sigmask
-// __sigwait
-// __disable_threadsignal
-// __pthread_markcancel
-// __pthread_canceled
-// __semwait_signal
-// Proc_info
-// sendfile
-// Stat64_extended
-// Lstat64_extended
-// Fstat64_extended
-// __pthread_chdir
-// __pthread_fchdir
-// Audit
-// Auditon
-// Getauid
-// Setauid
-// Getaudit
-// Setaudit
-// Getaudit_addr
-// Setaudit_addr
-// Auditctl
-// Bsdthread_create
-// Bsdthread_terminate
-// Stack_snapshot
-// Bsdthread_register
-// Workq_open
-// Workq_ops
-// __mac_execve
-// __mac_syscall
-// __mac_get_file
-// __mac_set_file
-// __mac_get_link
-// __mac_set_link
-// __mac_get_proc
-// __mac_set_proc
-// __mac_get_fd
-// __mac_set_fd
-// __mac_get_pid
-// __mac_get_lcid
-// __mac_get_lctx
-// __mac_set_lctx
-// Setlcid
-// Read_nocancel
-// Write_nocancel
-// Open_nocancel
-// Close_nocancel
-// Wait4_nocancel
-// Recvmsg_nocancel
-// Sendmsg_nocancel
-// Recvfrom_nocancel
-// Accept_nocancel
-// Msync_nocancel
-// Fcntl_nocancel
-// Select_nocancel
-// Fsync_nocancel
-// Connect_nocancel
-// Sigsuspend_nocancel
-// Readv_nocancel
-// Writev_nocancel
-// Sendto_nocancel
-// Pread_nocancel
-// Pwrite_nocancel
-// Waitid_nocancel
-// Poll_nocancel
-// Msgsnd_nocancel
-// Msgrcv_nocancel
-// Sem_wait_nocancel
-// Aio_suspend_nocancel
-// __sigwait_nocancel
-// __semwait_signal_nocancel
-// __mac_mount
-// __mac_get_mount
-// __mac_getfsstat
diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_386.go b/vendor/golang.org/x/sys/unix/syscall_darwin_386.go
deleted file mode 100644 (file)
index c172a3d..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build 386,darwin
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = int32(nsec / 1e9)
-       ts.Nsec = int32(nsec % 1e9)
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       tv.Sec = int32(nsec / 1e9)
-       return
-}
-
-//sysnb        gettimeofday(tp *Timeval) (sec int32, usec int32, err error)
-func Gettimeofday(tv *Timeval) (err error) {
-       // The tv passed to gettimeofday must be non-nil
-       // but is otherwise unused.  The answers come back
-       // in the two registers.
-       sec, usec, err := gettimeofday(tv)
-       tv.Sec = int32(sec)
-       tv.Usec = int32(usec)
-       return err
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint32(fd)
-       k.Filter = int16(mode)
-       k.Flags = uint16(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint32(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       var length = uint64(count)
-
-       _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(*offset>>32), uintptr(unsafe.Pointer(&length)), 0, 0, 0, 0)
-
-       written = int(length)
-
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
-
-// SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
-// of darwin/386 the syscall is called sysctl instead of __sysctl.
-const SYS___SYSCTL = SYS_SYSCTL
diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go b/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go
deleted file mode 100644 (file)
index fc1e5a4..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build amd64,darwin
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-//sys  Fchmodat(dirfd int, path string, mode uint32, flags int) (err error)
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = nsec % 1e9
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       tv.Sec = int64(nsec / 1e9)
-       return
-}
-
-//sysnb        gettimeofday(tp *Timeval) (sec int64, usec int32, err error)
-func Gettimeofday(tv *Timeval) (err error) {
-       // The tv passed to gettimeofday must be non-nil
-       // but is otherwise unused.  The answers come back
-       // in the two registers.
-       sec, usec, err := gettimeofday(tv)
-       tv.Sec = sec
-       tv.Usec = usec
-       return err
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint64(fd)
-       k.Filter = int16(mode)
-       k.Flags = uint16(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       var length = uint64(count)
-
-       _, _, e1 := Syscall6(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(unsafe.Pointer(&length)), 0, 0)
-
-       written = int(length)
-
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
-
-// SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
-// of darwin/amd64 the syscall is called sysctl instead of __sysctl.
-const SYS___SYSCTL = SYS_SYSCTL
diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_arm.go b/vendor/golang.org/x/sys/unix/syscall_darwin_arm.go
deleted file mode 100644 (file)
index d286cf4..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright 2015 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = int32(nsec / 1e9)
-       ts.Nsec = int32(nsec % 1e9)
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       tv.Sec = int32(nsec / 1e9)
-       return
-}
-
-//sysnb        gettimeofday(tp *Timeval) (sec int32, usec int32, err error)
-func Gettimeofday(tv *Timeval) (err error) {
-       // The tv passed to gettimeofday must be non-nil
-       // but is otherwise unused.  The answers come back
-       // in the two registers.
-       sec, usec, err := gettimeofday(tv)
-       tv.Sec = int32(sec)
-       tv.Usec = int32(usec)
-       return err
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint32(fd)
-       k.Filter = int16(mode)
-       k.Flags = uint16(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint32(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       var length = uint64(count)
-
-       _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(*offset>>32), uintptr(unsafe.Pointer(&length)), 0, 0, 0, 0)
-
-       written = int(length)
-
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) // sic
diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go b/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go
deleted file mode 100644 (file)
index c33905c..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-// Copyright 2015 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build arm64,darwin
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-func Getpagesize() int { return 16384 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = nsec % 1e9
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       tv.Sec = int64(nsec / 1e9)
-       return
-}
-
-//sysnb        gettimeofday(tp *Timeval) (sec int64, usec int32, err error)
-func Gettimeofday(tv *Timeval) (err error) {
-       // The tv passed to gettimeofday must be non-nil
-       // but is otherwise unused.  The answers come back
-       // in the two registers.
-       sec, usec, err := gettimeofday(tv)
-       tv.Sec = sec
-       tv.Usec = usec
-       return err
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint64(fd)
-       k.Filter = int16(mode)
-       k.Flags = uint16(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       var length = uint64(count)
-
-       _, _, e1 := Syscall6(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(unsafe.Pointer(&length)), 0, 0)
-
-       written = int(length)
-
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) // sic
-
-// SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
-// of darwin/arm64 the syscall is called sysctl instead of __sysctl.
-const SYS___SYSCTL = SYS_SYSCTL
diff --git a/vendor/golang.org/x/sys/unix/syscall_dragonfly.go b/vendor/golang.org/x/sys/unix/syscall_dragonfly.go
deleted file mode 100644 (file)
index 7e0210f..0000000
+++ /dev/null
@@ -1,425 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// DragonFly BSD system calls.
-// This file is compiled as ordinary Go code,
-// but it is also input to mksyscall,
-// which parses the //sys lines and generates system call stubs.
-// Note that sometimes we use a lowercase //sys name and wrap
-// it in our own nicer implementation, either here or in
-// syscall_bsd.go or syscall_unix.go.
-
-package unix
-
-import "unsafe"
-
-type SockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [12]int8
-       Rcf    uint16
-       Route  [16]uint16
-       raw    RawSockaddrDatalink
-}
-
-// Translate "kern.hostname" to []_C_int{0,1,2,3}.
-func nametomib(name string) (mib []_C_int, err error) {
-       const siz = unsafe.Sizeof(mib[0])
-
-       // NOTE(rsc): It seems strange to set the buffer to have
-       // size CTL_MAXNAME+2 but use only CTL_MAXNAME
-       // as the size. I don't know why the +2 is here, but the
-       // kernel uses +2 for its own implementation of this function.
-       // I am scared that if we don't include the +2 here, the kernel
-       // will silently write 2 words farther than we specify
-       // and we'll get memory corruption.
-       var buf [CTL_MAXNAME + 2]_C_int
-       n := uintptr(CTL_MAXNAME) * siz
-
-       p := (*byte)(unsafe.Pointer(&buf[0]))
-       bytes, err := ByteSliceFromString(name)
-       if err != nil {
-               return nil, err
-       }
-
-       // Magic sysctl: "setting" 0.3 to a string name
-       // lets you read back the array of integers form.
-       if err = sysctl([]_C_int{0, 3}, p, &n, &bytes[0], uintptr(len(name))); err != nil {
-               return nil, err
-       }
-       return buf[0 : n/siz], nil
-}
-
-func direntIno(buf []byte) (uint64, bool) {
-       return readInt(buf, unsafe.Offsetof(Dirent{}.Fileno), unsafe.Sizeof(Dirent{}.Fileno))
-}
-
-func direntReclen(buf []byte) (uint64, bool) {
-       namlen, ok := direntNamlen(buf)
-       if !ok {
-               return 0, false
-       }
-       return (16 + namlen + 1 + 7) &^ 7, true
-}
-
-func direntNamlen(buf []byte) (uint64, bool) {
-       return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen))
-}
-
-//sysnb pipe() (r int, w int, err error)
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       p[0], p[1], err = pipe()
-       return
-}
-
-//sys  extpread(fd int, p []byte, flags int, offset int64) (n int, err error)
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       return extpread(fd, p, 0, offset)
-}
-
-//sys  extpwrite(fd int, p []byte, flags int, offset int64) (n int, err error)
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       return extpwrite(fd, p, 0, offset)
-}
-
-func Accept4(fd, flags int) (nfd int, sa Sockaddr, err error) {
-       var rsa RawSockaddrAny
-       var len _Socklen = SizeofSockaddrAny
-       nfd, err = accept4(fd, &rsa, &len, flags)
-       if err != nil {
-               return
-       }
-       if len > SizeofSockaddrAny {
-               panic("RawSockaddrAny too small")
-       }
-       sa, err = anyToSockaddr(&rsa)
-       if err != nil {
-               Close(nfd)
-               nfd = 0
-       }
-       return
-}
-
-func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       var bufsize uintptr
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-               bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf))
-       }
-       r0, _, e1 := Syscall(SYS_GETFSSTAT, uintptr(_p0), bufsize, uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-/*
- * Exposed directly
- */
-//sys  Access(path string, mode uint32) (err error)
-//sys  Adjtime(delta *Timeval, olddelta *Timeval) (err error)
-//sys  Chdir(path string) (err error)
-//sys  Chflags(path string, flags int) (err error)
-//sys  Chmod(path string, mode uint32) (err error)
-//sys  Chown(path string, uid int, gid int) (err error)
-//sys  Chroot(path string) (err error)
-//sys  Close(fd int) (err error)
-//sys  Dup(fd int) (nfd int, err error)
-//sys  Dup2(from int, to int) (err error)
-//sys  Exit(code int)
-//sys  Fchdir(fd int) (err error)
-//sys  Fchflags(fd int, flags int) (err error)
-//sys  Fchmod(fd int, mode uint32) (err error)
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Flock(fd int, how int) (err error)
-//sys  Fpathconf(fd int, name int) (val int, err error)
-//sys  Fstat(fd int, stat *Stat_t) (err error)
-//sys  Fstatfs(fd int, stat *Statfs_t) (err error)
-//sys  Fsync(fd int) (err error)
-//sys  Ftruncate(fd int, length int64) (err error)
-//sys  Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error)
-//sys  Getdtablesize() (size int)
-//sysnb        Getegid() (egid int)
-//sysnb        Geteuid() (uid int)
-//sysnb        Getgid() (gid int)
-//sysnb        Getpgid(pid int) (pgid int, err error)
-//sysnb        Getpgrp() (pgrp int)
-//sysnb        Getpid() (pid int)
-//sysnb        Getppid() (ppid int)
-//sys  Getpriority(which int, who int) (prio int, err error)
-//sysnb        Getrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Getrusage(who int, rusage *Rusage) (err error)
-//sysnb        Getsid(pid int) (sid int, err error)
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-//sysnb        Getuid() (uid int)
-//sys  Issetugid() (tainted bool)
-//sys  Kill(pid int, signum syscall.Signal) (err error)
-//sys  Kqueue() (fd int, err error)
-//sys  Lchown(path string, uid int, gid int) (err error)
-//sys  Link(path string, link string) (err error)
-//sys  Listen(s int, backlog int) (err error)
-//sys  Lstat(path string, stat *Stat_t) (err error)
-//sys  Mkdir(path string, mode uint32) (err error)
-//sys  Mkfifo(path string, mode uint32) (err error)
-//sys  Mknod(path string, mode uint32, dev int) (err error)
-//sys  Mlock(b []byte) (err error)
-//sys  Mlockall(flags int) (err error)
-//sys  Mprotect(b []byte, prot int) (err error)
-//sys  Munlock(b []byte) (err error)
-//sys  Munlockall() (err error)
-//sys  Nanosleep(time *Timespec, leftover *Timespec) (err error)
-//sys  Open(path string, mode int, perm uint32) (fd int, err error)
-//sys  Pathconf(path string, name int) (val int, err error)
-//sys  read(fd int, p []byte) (n int, err error)
-//sys  Readlink(path string, buf []byte) (n int, err error)
-//sys  Rename(from string, to string) (err error)
-//sys  Revoke(path string) (err error)
-//sys  Rmdir(path string) (err error)
-//sys  Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
-//sys  Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
-//sysnb        Setegid(egid int) (err error)
-//sysnb        Seteuid(euid int) (err error)
-//sysnb        Setgid(gid int) (err error)
-//sys  Setlogin(name string) (err error)
-//sysnb        Setpgid(pid int, pgid int) (err error)
-//sys  Setpriority(which int, who int, prio int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sysnb        Setresgid(rgid int, egid int, sgid int) (err error)
-//sysnb        Setresuid(ruid int, euid int, suid int) (err error)
-//sysnb        Setrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Setsid() (pid int, err error)
-//sysnb        Settimeofday(tp *Timeval) (err error)
-//sysnb        Setuid(uid int) (err error)
-//sys  Stat(path string, stat *Stat_t) (err error)
-//sys  Statfs(path string, stat *Statfs_t) (err error)
-//sys  Symlink(path string, link string) (err error)
-//sys  Sync() (err error)
-//sys  Truncate(path string, length int64) (err error)
-//sys  Umask(newmask int) (oldmask int)
-//sys  Undelete(path string) (err error)
-//sys  Unlink(path string) (err error)
-//sys  Unmount(path string, flags int) (err error)
-//sys  write(fd int, p []byte) (n int, err error)
-//sys   mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
-//sys   munmap(addr uintptr, length uintptr) (err error)
-//sys  readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
-//sys  writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
-//sys  accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error)
-
-/*
- * Unimplemented
- * TODO(jsing): Update this list for DragonFly.
- */
-// Profil
-// Sigaction
-// Sigprocmask
-// Getlogin
-// Sigpending
-// Sigaltstack
-// Ioctl
-// Reboot
-// Execve
-// Vfork
-// Sbrk
-// Sstk
-// Ovadvise
-// Mincore
-// Setitimer
-// Swapon
-// Select
-// Sigsuspend
-// Readv
-// Writev
-// Nfssvc
-// Getfh
-// Quotactl
-// Mount
-// Csops
-// Waitid
-// Add_profil
-// Kdebug_trace
-// Sigreturn
-// Mmap
-// Mlock
-// Munlock
-// Atsocket
-// Kqueue_from_portset_np
-// Kqueue_portset
-// Getattrlist
-// Setattrlist
-// Getdirentriesattr
-// Searchfs
-// Delete
-// Copyfile
-// Poll
-// Watchevent
-// Waitevent
-// Modwatch
-// Getxattr
-// Fgetxattr
-// Setxattr
-// Fsetxattr
-// Removexattr
-// Fremovexattr
-// Listxattr
-// Flistxattr
-// Fsctl
-// Initgroups
-// Posix_spawn
-// Nfsclnt
-// Fhopen
-// Minherit
-// Semsys
-// Msgsys
-// Shmsys
-// Semctl
-// Semget
-// Semop
-// Msgctl
-// Msgget
-// Msgsnd
-// Msgrcv
-// Shmat
-// Shmctl
-// Shmdt
-// Shmget
-// Shm_open
-// Shm_unlink
-// Sem_open
-// Sem_close
-// Sem_unlink
-// Sem_wait
-// Sem_trywait
-// Sem_post
-// Sem_getvalue
-// Sem_init
-// Sem_destroy
-// Open_extended
-// Umask_extended
-// Stat_extended
-// Lstat_extended
-// Fstat_extended
-// Chmod_extended
-// Fchmod_extended
-// Access_extended
-// Settid
-// Gettid
-// Setsgroups
-// Getsgroups
-// Setwgroups
-// Getwgroups
-// Mkfifo_extended
-// Mkdir_extended
-// Identitysvc
-// Shared_region_check_np
-// Shared_region_map_np
-// __pthread_mutex_destroy
-// __pthread_mutex_init
-// __pthread_mutex_lock
-// __pthread_mutex_trylock
-// __pthread_mutex_unlock
-// __pthread_cond_init
-// __pthread_cond_destroy
-// __pthread_cond_broadcast
-// __pthread_cond_signal
-// Setsid_with_pid
-// __pthread_cond_timedwait
-// Aio_fsync
-// Aio_return
-// Aio_suspend
-// Aio_cancel
-// Aio_error
-// Aio_read
-// Aio_write
-// Lio_listio
-// __pthread_cond_wait
-// Iopolicysys
-// Mlockall
-// Munlockall
-// __pthread_kill
-// __pthread_sigmask
-// __sigwait
-// __disable_threadsignal
-// __pthread_markcancel
-// __pthread_canceled
-// __semwait_signal
-// Proc_info
-// Stat64_extended
-// Lstat64_extended
-// Fstat64_extended
-// __pthread_chdir
-// __pthread_fchdir
-// Audit
-// Auditon
-// Getauid
-// Setauid
-// Getaudit
-// Setaudit
-// Getaudit_addr
-// Setaudit_addr
-// Auditctl
-// Bsdthread_create
-// Bsdthread_terminate
-// Stack_snapshot
-// Bsdthread_register
-// Workq_open
-// Workq_ops
-// __mac_execve
-// __mac_syscall
-// __mac_get_file
-// __mac_set_file
-// __mac_get_link
-// __mac_set_link
-// __mac_get_proc
-// __mac_set_proc
-// __mac_get_fd
-// __mac_set_fd
-// __mac_get_pid
-// __mac_get_lcid
-// __mac_get_lctx
-// __mac_set_lctx
-// Setlcid
-// Read_nocancel
-// Write_nocancel
-// Open_nocancel
-// Close_nocancel
-// Wait4_nocancel
-// Recvmsg_nocancel
-// Sendmsg_nocancel
-// Recvfrom_nocancel
-// Accept_nocancel
-// Msync_nocancel
-// Fcntl_nocancel
-// Select_nocancel
-// Fsync_nocancel
-// Connect_nocancel
-// Sigsuspend_nocancel
-// Readv_nocancel
-// Writev_nocancel
-// Sendto_nocancel
-// Pread_nocancel
-// Pwrite_nocancel
-// Waitid_nocancel
-// Poll_nocancel
-// Msgsnd_nocancel
-// Msgrcv_nocancel
-// Sem_wait_nocancel
-// Aio_suspend_nocancel
-// __sigwait_nocancel
-// __semwait_signal_nocancel
-// __mac_mount
-// __mac_get_mount
-// __mac_getfsstat
diff --git a/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go
deleted file mode 100644 (file)
index da7cb79..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build amd64,dragonfly
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = nsec % 1e9
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = nsec % 1e9 / 1e3
-       tv.Sec = int64(nsec / 1e9)
-       return
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint64(fd)
-       k.Filter = int16(mode)
-       k.Flags = uint16(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       var writtenOut uint64 = 0
-       _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0, 0)
-
-       written = int(writtenOut)
-
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd.go b/vendor/golang.org/x/sys/unix/syscall_freebsd.go
deleted file mode 100644 (file)
index 077d1f3..0000000
+++ /dev/null
@@ -1,666 +0,0 @@
-// Copyright 2009,2010 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// FreeBSD system calls.
-// This file is compiled as ordinary Go code,
-// but it is also input to mksyscall,
-// which parses the //sys lines and generates system call stubs.
-// Note that sometimes we use a lowercase //sys name and wrap
-// it in our own nicer implementation, either here or in
-// syscall_bsd.go or syscall_unix.go.
-
-package unix
-
-import "unsafe"
-
-type SockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [46]int8
-       raw    RawSockaddrDatalink
-}
-
-// Translate "kern.hostname" to []_C_int{0,1,2,3}.
-func nametomib(name string) (mib []_C_int, err error) {
-       const siz = unsafe.Sizeof(mib[0])
-
-       // NOTE(rsc): It seems strange to set the buffer to have
-       // size CTL_MAXNAME+2 but use only CTL_MAXNAME
-       // as the size.  I don't know why the +2 is here, but the
-       // kernel uses +2 for its own implementation of this function.
-       // I am scared that if we don't include the +2 here, the kernel
-       // will silently write 2 words farther than we specify
-       // and we'll get memory corruption.
-       var buf [CTL_MAXNAME + 2]_C_int
-       n := uintptr(CTL_MAXNAME) * siz
-
-       p := (*byte)(unsafe.Pointer(&buf[0]))
-       bytes, err := ByteSliceFromString(name)
-       if err != nil {
-               return nil, err
-       }
-
-       // Magic sysctl: "setting" 0.3 to a string name
-       // lets you read back the array of integers form.
-       if err = sysctl([]_C_int{0, 3}, p, &n, &bytes[0], uintptr(len(name))); err != nil {
-               return nil, err
-       }
-       return buf[0 : n/siz], nil
-}
-
-func direntIno(buf []byte) (uint64, bool) {
-       return readInt(buf, unsafe.Offsetof(Dirent{}.Fileno), unsafe.Sizeof(Dirent{}.Fileno))
-}
-
-func direntReclen(buf []byte) (uint64, bool) {
-       return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen))
-}
-
-func direntNamlen(buf []byte) (uint64, bool) {
-       return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen))
-}
-
-//sysnb pipe() (r int, w int, err error)
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       p[0], p[1], err = pipe()
-       return
-}
-
-func GetsockoptIPMreqn(fd, level, opt int) (*IPMreqn, error) {
-       var value IPMreqn
-       vallen := _Socklen(SizeofIPMreqn)
-       errno := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-       return &value, errno
-}
-
-func SetsockoptIPMreqn(fd, level, opt int, mreq *IPMreqn) (err error) {
-       return setsockopt(fd, level, opt, unsafe.Pointer(mreq), unsafe.Sizeof(*mreq))
-}
-
-func Accept4(fd, flags int) (nfd int, sa Sockaddr, err error) {
-       var rsa RawSockaddrAny
-       var len _Socklen = SizeofSockaddrAny
-       nfd, err = accept4(fd, &rsa, &len, flags)
-       if err != nil {
-               return
-       }
-       if len > SizeofSockaddrAny {
-               panic("RawSockaddrAny too small")
-       }
-       sa, err = anyToSockaddr(&rsa)
-       if err != nil {
-               Close(nfd)
-               nfd = 0
-       }
-       return
-}
-
-func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       var bufsize uintptr
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-               bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf))
-       }
-       r0, _, e1 := Syscall(SYS_GETFSSTAT, uintptr(_p0), bufsize, uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-// Derive extattr namespace and attribute name
-
-func xattrnamespace(fullattr string) (ns int, attr string, err error) {
-       s := -1
-       for idx, val := range fullattr {
-               if val == '.' {
-                       s = idx
-                       break
-               }
-       }
-
-       if s == -1 {
-               return -1, "", ENOATTR
-       }
-
-       namespace := fullattr[0:s]
-       attr = fullattr[s+1:]
-
-       switch namespace {
-       case "user":
-               return EXTATTR_NAMESPACE_USER, attr, nil
-       case "system":
-               return EXTATTR_NAMESPACE_SYSTEM, attr, nil
-       default:
-               return -1, "", ENOATTR
-       }
-}
-
-func initxattrdest(dest []byte, idx int) (d unsafe.Pointer) {
-       if len(dest) > idx {
-               return unsafe.Pointer(&dest[idx])
-       } else {
-               return unsafe.Pointer(_zero)
-       }
-}
-
-// FreeBSD implements its own syscalls to handle extended attributes
-
-func Getxattr(file string, attr string, dest []byte) (sz int, err error) {
-       d := initxattrdest(dest, 0)
-       destsize := len(dest)
-
-       nsid, a, err := xattrnamespace(attr)
-       if err != nil {
-               return -1, err
-       }
-
-       return ExtattrGetFile(file, nsid, a, uintptr(d), destsize)
-}
-
-func Fgetxattr(fd int, attr string, dest []byte) (sz int, err error) {
-       d := initxattrdest(dest, 0)
-       destsize := len(dest)
-
-       nsid, a, err := xattrnamespace(attr)
-       if err != nil {
-               return -1, err
-       }
-
-       return ExtattrGetFd(fd, nsid, a, uintptr(d), destsize)
-}
-
-func Lgetxattr(link string, attr string, dest []byte) (sz int, err error) {
-       d := initxattrdest(dest, 0)
-       destsize := len(dest)
-
-       nsid, a, err := xattrnamespace(attr)
-       if err != nil {
-               return -1, err
-       }
-
-       return ExtattrGetLink(link, nsid, a, uintptr(d), destsize)
-}
-
-// flags are unused on FreeBSD
-
-func Fsetxattr(fd int, attr string, data []byte, flags int) (err error) {
-       d := unsafe.Pointer(&data[0])
-       datasiz := len(data)
-
-       nsid, a, err := xattrnamespace(attr)
-       if err != nil {
-               return
-       }
-
-       _, err = ExtattrSetFd(fd, nsid, a, uintptr(d), datasiz)
-       return
-}
-
-func Setxattr(file string, attr string, data []byte, flags int) (err error) {
-       d := unsafe.Pointer(&data[0])
-       datasiz := len(data)
-
-       nsid, a, err := xattrnamespace(attr)
-       if err != nil {
-               return
-       }
-
-       _, err = ExtattrSetFile(file, nsid, a, uintptr(d), datasiz)
-       return
-}
-
-func Lsetxattr(link string, attr string, data []byte, flags int) (err error) {
-       d := unsafe.Pointer(&data[0])
-       datasiz := len(data)
-
-       nsid, a, err := xattrnamespace(attr)
-       if err != nil {
-               return
-       }
-
-       _, err = ExtattrSetLink(link, nsid, a, uintptr(d), datasiz)
-       return
-}
-
-func Removexattr(file string, attr string) (err error) {
-       nsid, a, err := xattrnamespace(attr)
-       if err != nil {
-               return
-       }
-
-       err = ExtattrDeleteFile(file, nsid, a)
-       return
-}
-
-func Fremovexattr(fd int, attr string) (err error) {
-       nsid, a, err := xattrnamespace(attr)
-       if err != nil {
-               return
-       }
-
-       err = ExtattrDeleteFd(fd, nsid, a)
-       return
-}
-
-func Lremovexattr(link string, attr string) (err error) {
-       nsid, a, err := xattrnamespace(attr)
-       if err != nil {
-               return
-       }
-
-       err = ExtattrDeleteLink(link, nsid, a)
-       return
-}
-
-func Listxattr(file string, dest []byte) (sz int, err error) {
-       d := initxattrdest(dest, 0)
-       destsiz := len(dest)
-
-       // FreeBSD won't allow you to list xattrs from multiple namespaces
-       s := 0
-       var e error
-       for _, nsid := range [...]int{EXTATTR_NAMESPACE_USER, EXTATTR_NAMESPACE_SYSTEM} {
-               stmp, e := ExtattrListFile(file, nsid, uintptr(d), destsiz)
-
-               /* Errors accessing system attrs are ignored so that
-                * we can implement the Linux-like behavior of omitting errors that
-                * we don't have read permissions on
-                *
-                * Linux will still error if we ask for user attributes on a file that
-                * we don't have read permissions on, so don't ignore those errors
-                */
-               if e != nil && e == EPERM && nsid != EXTATTR_NAMESPACE_USER {
-                       e = nil
-                       continue
-               } else if e != nil {
-                       return s, e
-               }
-
-               s += stmp
-               destsiz -= s
-               if destsiz < 0 {
-                       destsiz = 0
-               }
-               d = initxattrdest(dest, s)
-       }
-
-       return s, e
-}
-
-func Flistxattr(fd int, dest []byte) (sz int, err error) {
-       d := initxattrdest(dest, 0)
-       destsiz := len(dest)
-
-       s := 0
-       var e error
-       for _, nsid := range [...]int{EXTATTR_NAMESPACE_USER, EXTATTR_NAMESPACE_SYSTEM} {
-               stmp, e := ExtattrListFd(fd, nsid, uintptr(d), destsiz)
-               if e != nil && e == EPERM && nsid != EXTATTR_NAMESPACE_USER {
-                       e = nil
-                       continue
-               } else if e != nil {
-                       return s, e
-               }
-
-               s += stmp
-               destsiz -= s
-               if destsiz < 0 {
-                       destsiz = 0
-               }
-               d = initxattrdest(dest, s)
-       }
-
-       return s, e
-}
-
-func Llistxattr(link string, dest []byte) (sz int, err error) {
-       d := initxattrdest(dest, 0)
-       destsiz := len(dest)
-
-       s := 0
-       var e error
-       for _, nsid := range [...]int{EXTATTR_NAMESPACE_USER, EXTATTR_NAMESPACE_SYSTEM} {
-               stmp, e := ExtattrListLink(link, nsid, uintptr(d), destsiz)
-               if e != nil && e == EPERM && nsid != EXTATTR_NAMESPACE_USER {
-                       e = nil
-                       continue
-               } else if e != nil {
-                       return s, e
-               }
-
-               s += stmp
-               destsiz -= s
-               if destsiz < 0 {
-                       destsiz = 0
-               }
-               d = initxattrdest(dest, s)
-       }
-
-       return s, e
-}
-
-/*
- * Exposed directly
- */
-//sys  Access(path string, mode uint32) (err error)
-//sys  Adjtime(delta *Timeval, olddelta *Timeval) (err error)
-//sys  Chdir(path string) (err error)
-//sys  Chflags(path string, flags int) (err error)
-//sys  Chmod(path string, mode uint32) (err error)
-//sys  Chown(path string, uid int, gid int) (err error)
-//sys  Chroot(path string) (err error)
-//sys  Close(fd int) (err error)
-//sys  Dup(fd int) (nfd int, err error)
-//sys  Dup2(from int, to int) (err error)
-//sys  Exit(code int)
-//sys  ExtattrGetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
-//sys  ExtattrSetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
-//sys  ExtattrDeleteFd(fd int, attrnamespace int, attrname string) (err error)
-//sys  ExtattrListFd(fd int, attrnamespace int, data uintptr, nbytes int) (ret int, err error)
-//sys  ExtattrGetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
-//sys  ExtattrSetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
-//sys  ExtattrDeleteFile(file string, attrnamespace int, attrname string) (err error)
-//sys  ExtattrListFile(file string, attrnamespace int, data uintptr, nbytes int) (ret int, err error)
-//sys  ExtattrGetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
-//sys  ExtattrSetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
-//sys  ExtattrDeleteLink(link string, attrnamespace int, attrname string) (err error)
-//sys  ExtattrListLink(link string, attrnamespace int, data uintptr, nbytes int) (ret int, err error)
-//sys  Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_POSIX_FADVISE
-//sys  Fchdir(fd int) (err error)
-//sys  Fchflags(fd int, flags int) (err error)
-//sys  Fchmod(fd int, mode uint32) (err error)
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Flock(fd int, how int) (err error)
-//sys  Fpathconf(fd int, name int) (val int, err error)
-//sys  Fstat(fd int, stat *Stat_t) (err error)
-//sys  Fstatfs(fd int, stat *Statfs_t) (err error)
-//sys  Fsync(fd int) (err error)
-//sys  Ftruncate(fd int, length int64) (err error)
-//sys  Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error)
-//sys  Getdtablesize() (size int)
-//sysnb        Getegid() (egid int)
-//sysnb        Geteuid() (uid int)
-//sysnb        Getgid() (gid int)
-//sysnb        Getpgid(pid int) (pgid int, err error)
-//sysnb        Getpgrp() (pgrp int)
-//sysnb        Getpid() (pid int)
-//sysnb        Getppid() (ppid int)
-//sys  Getpriority(which int, who int) (prio int, err error)
-//sysnb        Getrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Getrusage(who int, rusage *Rusage) (err error)
-//sysnb        Getsid(pid int) (sid int, err error)
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-//sysnb        Getuid() (uid int)
-//sys  Issetugid() (tainted bool)
-//sys  Kill(pid int, signum syscall.Signal) (err error)
-//sys  Kqueue() (fd int, err error)
-//sys  Lchown(path string, uid int, gid int) (err error)
-//sys  Link(path string, link string) (err error)
-//sys  Listen(s int, backlog int) (err error)
-//sys  Lstat(path string, stat *Stat_t) (err error)
-//sys  Mkdir(path string, mode uint32) (err error)
-//sys  Mkfifo(path string, mode uint32) (err error)
-//sys  Mknod(path string, mode uint32, dev int) (err error)
-//sys  Mlock(b []byte) (err error)
-//sys  Mlockall(flags int) (err error)
-//sys  Mprotect(b []byte, prot int) (err error)
-//sys  Munlock(b []byte) (err error)
-//sys  Munlockall() (err error)
-//sys  Nanosleep(time *Timespec, leftover *Timespec) (err error)
-//sys  Open(path string, mode int, perm uint32) (fd int, err error)
-//sys  Pathconf(path string, name int) (val int, err error)
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error)
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error)
-//sys  read(fd int, p []byte) (n int, err error)
-//sys  Readlink(path string, buf []byte) (n int, err error)
-//sys  Rename(from string, to string) (err error)
-//sys  Revoke(path string) (err error)
-//sys  Rmdir(path string) (err error)
-//sys  Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
-//sys  Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
-//sysnb        Setegid(egid int) (err error)
-//sysnb        Seteuid(euid int) (err error)
-//sysnb        Setgid(gid int) (err error)
-//sys  Setlogin(name string) (err error)
-//sysnb        Setpgid(pid int, pgid int) (err error)
-//sys  Setpriority(which int, who int, prio int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sysnb        Setresgid(rgid int, egid int, sgid int) (err error)
-//sysnb        Setresuid(ruid int, euid int, suid int) (err error)
-//sysnb        Setrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Setsid() (pid int, err error)
-//sysnb        Settimeofday(tp *Timeval) (err error)
-//sysnb        Setuid(uid int) (err error)
-//sys  Stat(path string, stat *Stat_t) (err error)
-//sys  Statfs(path string, stat *Statfs_t) (err error)
-//sys  Symlink(path string, link string) (err error)
-//sys  Sync() (err error)
-//sys  Truncate(path string, length int64) (err error)
-//sys  Umask(newmask int) (oldmask int)
-//sys  Undelete(path string) (err error)
-//sys  Unlink(path string) (err error)
-//sys  Unmount(path string, flags int) (err error)
-//sys  write(fd int, p []byte) (n int, err error)
-//sys   mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
-//sys   munmap(addr uintptr, length uintptr) (err error)
-//sys  readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
-//sys  writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
-//sys  accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error)
-
-/*
- * Unimplemented
- */
-// Profil
-// Sigaction
-// Sigprocmask
-// Getlogin
-// Sigpending
-// Sigaltstack
-// Ioctl
-// Reboot
-// Execve
-// Vfork
-// Sbrk
-// Sstk
-// Ovadvise
-// Mincore
-// Setitimer
-// Swapon
-// Select
-// Sigsuspend
-// Readv
-// Writev
-// Nfssvc
-// Getfh
-// Quotactl
-// Mount
-// Csops
-// Waitid
-// Add_profil
-// Kdebug_trace
-// Sigreturn
-// Mmap
-// Mlock
-// Munlock
-// Atsocket
-// Kqueue_from_portset_np
-// Kqueue_portset
-// Getattrlist
-// Setattrlist
-// Getdirentriesattr
-// Searchfs
-// Delete
-// Copyfile
-// Poll
-// Watchevent
-// Waitevent
-// Modwatch
-// Getxattr
-// Fgetxattr
-// Setxattr
-// Fsetxattr
-// Removexattr
-// Fremovexattr
-// Listxattr
-// Flistxattr
-// Fsctl
-// Initgroups
-// Posix_spawn
-// Nfsclnt
-// Fhopen
-// Minherit
-// Semsys
-// Msgsys
-// Shmsys
-// Semctl
-// Semget
-// Semop
-// Msgctl
-// Msgget
-// Msgsnd
-// Msgrcv
-// Shmat
-// Shmctl
-// Shmdt
-// Shmget
-// Shm_open
-// Shm_unlink
-// Sem_open
-// Sem_close
-// Sem_unlink
-// Sem_wait
-// Sem_trywait
-// Sem_post
-// Sem_getvalue
-// Sem_init
-// Sem_destroy
-// Open_extended
-// Umask_extended
-// Stat_extended
-// Lstat_extended
-// Fstat_extended
-// Chmod_extended
-// Fchmod_extended
-// Access_extended
-// Settid
-// Gettid
-// Setsgroups
-// Getsgroups
-// Setwgroups
-// Getwgroups
-// Mkfifo_extended
-// Mkdir_extended
-// Identitysvc
-// Shared_region_check_np
-// Shared_region_map_np
-// __pthread_mutex_destroy
-// __pthread_mutex_init
-// __pthread_mutex_lock
-// __pthread_mutex_trylock
-// __pthread_mutex_unlock
-// __pthread_cond_init
-// __pthread_cond_destroy
-// __pthread_cond_broadcast
-// __pthread_cond_signal
-// Setsid_with_pid
-// __pthread_cond_timedwait
-// Aio_fsync
-// Aio_return
-// Aio_suspend
-// Aio_cancel
-// Aio_error
-// Aio_read
-// Aio_write
-// Lio_listio
-// __pthread_cond_wait
-// Iopolicysys
-// Mlockall
-// Munlockall
-// __pthread_kill
-// __pthread_sigmask
-// __sigwait
-// __disable_threadsignal
-// __pthread_markcancel
-// __pthread_canceled
-// __semwait_signal
-// Proc_info
-// Stat64_extended
-// Lstat64_extended
-// Fstat64_extended
-// __pthread_chdir
-// __pthread_fchdir
-// Audit
-// Auditon
-// Getauid
-// Setauid
-// Getaudit
-// Setaudit
-// Getaudit_addr
-// Setaudit_addr
-// Auditctl
-// Bsdthread_create
-// Bsdthread_terminate
-// Stack_snapshot
-// Bsdthread_register
-// Workq_open
-// Workq_ops
-// __mac_execve
-// __mac_syscall
-// __mac_get_file
-// __mac_set_file
-// __mac_get_link
-// __mac_set_link
-// __mac_get_proc
-// __mac_set_proc
-// __mac_get_fd
-// __mac_set_fd
-// __mac_get_pid
-// __mac_get_lcid
-// __mac_get_lctx
-// __mac_set_lctx
-// Setlcid
-// Read_nocancel
-// Write_nocancel
-// Open_nocancel
-// Close_nocancel
-// Wait4_nocancel
-// Recvmsg_nocancel
-// Sendmsg_nocancel
-// Recvfrom_nocancel
-// Accept_nocancel
-// Msync_nocancel
-// Fcntl_nocancel
-// Select_nocancel
-// Fsync_nocancel
-// Connect_nocancel
-// Sigsuspend_nocancel
-// Readv_nocancel
-// Writev_nocancel
-// Sendto_nocancel
-// Pread_nocancel
-// Pwrite_nocancel
-// Waitid_nocancel
-// Poll_nocancel
-// Msgsnd_nocancel
-// Msgrcv_nocancel
-// Sem_wait_nocancel
-// Aio_suspend_nocancel
-// __sigwait_nocancel
-// __semwait_signal_nocancel
-// __mac_mount
-// __mac_get_mount
-// __mac_getfsstat
diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go
deleted file mode 100644 (file)
index 6a0cd80..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build 386,freebsd
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = int32(nsec / 1e9)
-       ts.Nsec = int32(nsec % 1e9)
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       tv.Sec = int32(nsec / 1e9)
-       return
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint32(fd)
-       k.Filter = int16(mode)
-       k.Flags = uint16(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint32(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       var writtenOut uint64 = 0
-       _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr((*offset)>>32), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0)
-
-       written = int(writtenOut)
-
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go
deleted file mode 100644 (file)
index e142540..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build amd64,freebsd
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = nsec % 1e9
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = nsec % 1e9 / 1e3
-       tv.Sec = int64(nsec / 1e9)
-       return
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint64(fd)
-       k.Filter = int16(mode)
-       k.Flags = uint16(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       var writtenOut uint64 = 0
-       _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0, 0)
-
-       written = int(writtenOut)
-
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go
deleted file mode 100644 (file)
index 5504cb1..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright 2012 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build arm,freebsd
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return ts.Sec*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = int32(nsec % 1e9)
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       tv.Sec = nsec / 1e9
-       return
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint32(fd)
-       k.Filter = int16(mode)
-       k.Flags = uint16(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint32(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       var writtenOut uint64 = 0
-       _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr((*offset)>>32), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0)
-
-       written = int(writtenOut)
-
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux.go b/vendor/golang.org/x/sys/unix/syscall_linux.go
deleted file mode 100644 (file)
index 9737e08..0000000
+++ /dev/null
@@ -1,1297 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Linux system calls.
-// This file is compiled as ordinary Go code,
-// but it is also input to mksyscall,
-// which parses the //sys lines and generates system call stubs.
-// Note that sometimes we use a lowercase //sys name and
-// wrap it in our own nicer implementation.
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-/*
- * Wrapped
- */
-
-func Access(path string, mode uint32) (err error) {
-       return Faccessat(AT_FDCWD, path, mode, 0)
-}
-
-func Chmod(path string, mode uint32) (err error) {
-       return Fchmodat(AT_FDCWD, path, mode, 0)
-}
-
-func Chown(path string, uid int, gid int) (err error) {
-       return Fchownat(AT_FDCWD, path, uid, gid, 0)
-}
-
-func Creat(path string, mode uint32) (fd int, err error) {
-       return Open(path, O_CREAT|O_WRONLY|O_TRUNC, mode)
-}
-
-//sys  Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error)
-
-func Link(oldpath string, newpath string) (err error) {
-       return Linkat(AT_FDCWD, oldpath, AT_FDCWD, newpath, 0)
-}
-
-func Mkdir(path string, mode uint32) (err error) {
-       return Mkdirat(AT_FDCWD, path, mode)
-}
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       return Mknodat(AT_FDCWD, path, mode, dev)
-}
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       return openat(AT_FDCWD, path, mode|O_LARGEFILE, perm)
-}
-
-//sys  openat(dirfd int, path string, flags int, mode uint32) (fd int, err error)
-
-func Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       return openat(dirfd, path, flags|O_LARGEFILE, mode)
-}
-
-//sys  ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error)
-
-func Ppoll(fds []PollFd, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
-       if len(fds) == 0 {
-               return ppoll(nil, 0, timeout, sigmask)
-       }
-       return ppoll(&fds[0], len(fds), timeout, sigmask)
-}
-
-//sys  Readlinkat(dirfd int, path string, buf []byte) (n int, err error)
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       return Readlinkat(AT_FDCWD, path, buf)
-}
-
-func Rename(oldpath string, newpath string) (err error) {
-       return Renameat(AT_FDCWD, oldpath, AT_FDCWD, newpath)
-}
-
-func Rmdir(path string) error {
-       return Unlinkat(AT_FDCWD, path, AT_REMOVEDIR)
-}
-
-//sys  Symlinkat(oldpath string, newdirfd int, newpath string) (err error)
-
-func Symlink(oldpath string, newpath string) (err error) {
-       return Symlinkat(oldpath, AT_FDCWD, newpath)
-}
-
-func Unlink(path string) error {
-       return Unlinkat(AT_FDCWD, path, 0)
-}
-
-//sys  Unlinkat(dirfd int, path string, flags int) (err error)
-
-//sys  utimes(path string, times *[2]Timeval) (err error)
-
-func Utimes(path string, tv []Timeval) error {
-       if tv == nil {
-               err := utimensat(AT_FDCWD, path, nil, 0)
-               if err != ENOSYS {
-                       return err
-               }
-               return utimes(path, nil)
-       }
-       if len(tv) != 2 {
-               return EINVAL
-       }
-       var ts [2]Timespec
-       ts[0] = NsecToTimespec(TimevalToNsec(tv[0]))
-       ts[1] = NsecToTimespec(TimevalToNsec(tv[1]))
-       err := utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
-       if err != ENOSYS {
-               return err
-       }
-       return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
-}
-
-//sys  utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error)
-
-func UtimesNano(path string, ts []Timespec) error {
-       if ts == nil {
-               err := utimensat(AT_FDCWD, path, nil, 0)
-               if err != ENOSYS {
-                       return err
-               }
-               return utimes(path, nil)
-       }
-       if len(ts) != 2 {
-               return EINVAL
-       }
-       err := utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
-       if err != ENOSYS {
-               return err
-       }
-       // If the utimensat syscall isn't available (utimensat was added to Linux
-       // in 2.6.22, Released, 8 July 2007) then fall back to utimes
-       var tv [2]Timeval
-       for i := 0; i < 2; i++ {
-               tv[i] = NsecToTimeval(TimespecToNsec(ts[i]))
-       }
-       return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
-}
-
-func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error {
-       if ts == nil {
-               return utimensat(dirfd, path, nil, flags)
-       }
-       if len(ts) != 2 {
-               return EINVAL
-       }
-       return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), flags)
-}
-
-//sys  futimesat(dirfd int, path *byte, times *[2]Timeval) (err error)
-
-func Futimesat(dirfd int, path string, tv []Timeval) error {
-       pathp, err := BytePtrFromString(path)
-       if err != nil {
-               return err
-       }
-       if tv == nil {
-               return futimesat(dirfd, pathp, nil)
-       }
-       if len(tv) != 2 {
-               return EINVAL
-       }
-       return futimesat(dirfd, pathp, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
-}
-
-func Futimes(fd int, tv []Timeval) (err error) {
-       // Believe it or not, this is the best we can do on Linux
-       // (and is what glibc does).
-       return Utimes("/proc/self/fd/"+itoa(fd), tv)
-}
-
-const ImplementsGetwd = true
-
-//sys  Getcwd(buf []byte) (n int, err error)
-
-func Getwd() (wd string, err error) {
-       var buf [PathMax]byte
-       n, err := Getcwd(buf[0:])
-       if err != nil {
-               return "", err
-       }
-       // Getcwd returns the number of bytes written to buf, including the NUL.
-       if n < 1 || n > len(buf) || buf[n-1] != 0 {
-               return "", EINVAL
-       }
-       return string(buf[0 : n-1]), nil
-}
-
-func Getgroups() (gids []int, err error) {
-       n, err := getgroups(0, nil)
-       if err != nil {
-               return nil, err
-       }
-       if n == 0 {
-               return nil, nil
-       }
-
-       // Sanity check group count.  Max is 1<<16 on Linux.
-       if n < 0 || n > 1<<20 {
-               return nil, EINVAL
-       }
-
-       a := make([]_Gid_t, n)
-       n, err = getgroups(n, &a[0])
-       if err != nil {
-               return nil, err
-       }
-       gids = make([]int, n)
-       for i, v := range a[0:n] {
-               gids[i] = int(v)
-       }
-       return
-}
-
-func Setgroups(gids []int) (err error) {
-       if len(gids) == 0 {
-               return setgroups(0, nil)
-       }
-
-       a := make([]_Gid_t, len(gids))
-       for i, v := range gids {
-               a[i] = _Gid_t(v)
-       }
-       return setgroups(len(a), &a[0])
-}
-
-type WaitStatus uint32
-
-// Wait status is 7 bits at bottom, either 0 (exited),
-// 0x7F (stopped), or a signal number that caused an exit.
-// The 0x80 bit is whether there was a core dump.
-// An extra number (exit code, signal causing a stop)
-// is in the high bits.  At least that's the idea.
-// There are various irregularities.  For example, the
-// "continued" status is 0xFFFF, distinguishing itself
-// from stopped via the core dump bit.
-
-const (
-       mask    = 0x7F
-       core    = 0x80
-       exited  = 0x00
-       stopped = 0x7F
-       shift   = 8
-)
-
-func (w WaitStatus) Exited() bool { return w&mask == exited }
-
-func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != exited }
-
-func (w WaitStatus) Stopped() bool { return w&0xFF == stopped }
-
-func (w WaitStatus) Continued() bool { return w == 0xFFFF }
-
-func (w WaitStatus) CoreDump() bool { return w.Signaled() && w&core != 0 }
-
-func (w WaitStatus) ExitStatus() int {
-       if !w.Exited() {
-               return -1
-       }
-       return int(w>>shift) & 0xFF
-}
-
-func (w WaitStatus) Signal() syscall.Signal {
-       if !w.Signaled() {
-               return -1
-       }
-       return syscall.Signal(w & mask)
-}
-
-func (w WaitStatus) StopSignal() syscall.Signal {
-       if !w.Stopped() {
-               return -1
-       }
-       return syscall.Signal(w>>shift) & 0xFF
-}
-
-func (w WaitStatus) TrapCause() int {
-       if w.StopSignal() != SIGTRAP {
-               return -1
-       }
-       return int(w>>shift) >> 8
-}
-
-//sys  wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error)
-
-func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
-       var status _C_int
-       wpid, err = wait4(pid, &status, options, rusage)
-       if wstatus != nil {
-               *wstatus = WaitStatus(status)
-       }
-       return
-}
-
-func Mkfifo(path string, mode uint32) (err error) {
-       return Mknod(path, mode|S_IFIFO, 0)
-}
-
-func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       if sa.Port < 0 || sa.Port > 0xFFFF {
-               return nil, 0, EINVAL
-       }
-       sa.raw.Family = AF_INET
-       p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
-       p[0] = byte(sa.Port >> 8)
-       p[1] = byte(sa.Port)
-       for i := 0; i < len(sa.Addr); i++ {
-               sa.raw.Addr[i] = sa.Addr[i]
-       }
-       return unsafe.Pointer(&sa.raw), SizeofSockaddrInet4, nil
-}
-
-func (sa *SockaddrInet6) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       if sa.Port < 0 || sa.Port > 0xFFFF {
-               return nil, 0, EINVAL
-       }
-       sa.raw.Family = AF_INET6
-       p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
-       p[0] = byte(sa.Port >> 8)
-       p[1] = byte(sa.Port)
-       sa.raw.Scope_id = sa.ZoneId
-       for i := 0; i < len(sa.Addr); i++ {
-               sa.raw.Addr[i] = sa.Addr[i]
-       }
-       return unsafe.Pointer(&sa.raw), SizeofSockaddrInet6, nil
-}
-
-func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       name := sa.Name
-       n := len(name)
-       if n >= len(sa.raw.Path) {
-               return nil, 0, EINVAL
-       }
-       sa.raw.Family = AF_UNIX
-       for i := 0; i < n; i++ {
-               sa.raw.Path[i] = int8(name[i])
-       }
-       // length is family (uint16), name, NUL.
-       sl := _Socklen(2)
-       if n > 0 {
-               sl += _Socklen(n) + 1
-       }
-       if sa.raw.Path[0] == '@' {
-               sa.raw.Path[0] = 0
-               // Don't count trailing NUL for abstract address.
-               sl--
-       }
-
-       return unsafe.Pointer(&sa.raw), sl, nil
-}
-
-type SockaddrLinklayer struct {
-       Protocol uint16
-       Ifindex  int
-       Hatype   uint16
-       Pkttype  uint8
-       Halen    uint8
-       Addr     [8]byte
-       raw      RawSockaddrLinklayer
-}
-
-func (sa *SockaddrLinklayer) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       if sa.Ifindex < 0 || sa.Ifindex > 0x7fffffff {
-               return nil, 0, EINVAL
-       }
-       sa.raw.Family = AF_PACKET
-       sa.raw.Protocol = sa.Protocol
-       sa.raw.Ifindex = int32(sa.Ifindex)
-       sa.raw.Hatype = sa.Hatype
-       sa.raw.Pkttype = sa.Pkttype
-       sa.raw.Halen = sa.Halen
-       for i := 0; i < len(sa.Addr); i++ {
-               sa.raw.Addr[i] = sa.Addr[i]
-       }
-       return unsafe.Pointer(&sa.raw), SizeofSockaddrLinklayer, nil
-}
-
-type SockaddrNetlink struct {
-       Family uint16
-       Pad    uint16
-       Pid    uint32
-       Groups uint32
-       raw    RawSockaddrNetlink
-}
-
-func (sa *SockaddrNetlink) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       sa.raw.Family = AF_NETLINK
-       sa.raw.Pad = sa.Pad
-       sa.raw.Pid = sa.Pid
-       sa.raw.Groups = sa.Groups
-       return unsafe.Pointer(&sa.raw), SizeofSockaddrNetlink, nil
-}
-
-type SockaddrHCI struct {
-       Dev     uint16
-       Channel uint16
-       raw     RawSockaddrHCI
-}
-
-func (sa *SockaddrHCI) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       sa.raw.Family = AF_BLUETOOTH
-       sa.raw.Dev = sa.Dev
-       sa.raw.Channel = sa.Channel
-       return unsafe.Pointer(&sa.raw), SizeofSockaddrHCI, nil
-}
-
-// SockaddrCAN implements the Sockaddr interface for AF_CAN type sockets.
-// The RxID and TxID fields are used for transport protocol addressing in
-// (CAN_TP16, CAN_TP20, CAN_MCNET, and CAN_ISOTP), they can be left with
-// zero values for CAN_RAW and CAN_BCM sockets as they have no meaning.
-//
-// The SockaddrCAN struct must be bound to the socket file descriptor
-// using Bind before the CAN socket can be used.
-//
-//      // Read one raw CAN frame
-//      fd, _ := Socket(AF_CAN, SOCK_RAW, CAN_RAW)
-//      addr := &SockaddrCAN{Ifindex: index}
-//      Bind(fd, addr)
-//      frame := make([]byte, 16)
-//      Read(fd, frame)
-//
-// The full SocketCAN documentation can be found in the linux kernel
-// archives at: https://www.kernel.org/doc/Documentation/networking/can.txt
-type SockaddrCAN struct {
-       Ifindex int
-       RxID    uint32
-       TxID    uint32
-       raw     RawSockaddrCAN
-}
-
-func (sa *SockaddrCAN) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       if sa.Ifindex < 0 || sa.Ifindex > 0x7fffffff {
-               return nil, 0, EINVAL
-       }
-       sa.raw.Family = AF_CAN
-       sa.raw.Ifindex = int32(sa.Ifindex)
-       rx := (*[4]byte)(unsafe.Pointer(&sa.RxID))
-       for i := 0; i < 4; i++ {
-               sa.raw.Addr[i] = rx[i]
-       }
-       tx := (*[4]byte)(unsafe.Pointer(&sa.TxID))
-       for i := 0; i < 4; i++ {
-               sa.raw.Addr[i+4] = tx[i]
-       }
-       return unsafe.Pointer(&sa.raw), SizeofSockaddrCAN, nil
-}
-
-// SockaddrALG implements the Sockaddr interface for AF_ALG type sockets.
-// SockaddrALG enables userspace access to the Linux kernel's cryptography
-// subsystem. The Type and Name fields specify which type of hash or cipher
-// should be used with a given socket.
-//
-// To create a file descriptor that provides access to a hash or cipher, both
-// Bind and Accept must be used. Once the setup process is complete, input
-// data can be written to the socket, processed by the kernel, and then read
-// back as hash output or ciphertext.
-//
-// Here is an example of using an AF_ALG socket with SHA1 hashing.
-// The initial socket setup process is as follows:
-//
-//      // Open a socket to perform SHA1 hashing.
-//      fd, _ := unix.Socket(unix.AF_ALG, unix.SOCK_SEQPACKET, 0)
-//      addr := &unix.SockaddrALG{Type: "hash", Name: "sha1"}
-//      unix.Bind(fd, addr)
-//      // Note: unix.Accept does not work at this time; must invoke accept()
-//      // manually using unix.Syscall.
-//      hashfd, _, _ := unix.Syscall(unix.SYS_ACCEPT, uintptr(fd), 0, 0)
-//
-// Once a file descriptor has been returned from Accept, it may be used to
-// perform SHA1 hashing. The descriptor is not safe for concurrent use, but
-// may be re-used repeatedly with subsequent Write and Read operations.
-//
-// When hashing a small byte slice or string, a single Write and Read may
-// be used:
-//
-//      // Assume hashfd is already configured using the setup process.
-//      hash := os.NewFile(hashfd, "sha1")
-//      // Hash an input string and read the results. Each Write discards
-//      // previous hash state. Read always reads the current state.
-//      b := make([]byte, 20)
-//      for i := 0; i < 2; i++ {
-//          io.WriteString(hash, "Hello, world.")
-//          hash.Read(b)
-//          fmt.Println(hex.EncodeToString(b))
-//      }
-//      // Output:
-//      // 2ae01472317d1935a84797ec1983ae243fc6aa28
-//      // 2ae01472317d1935a84797ec1983ae243fc6aa28
-//
-// For hashing larger byte slices, or byte streams such as those read from
-// a file or socket, use Sendto with MSG_MORE to instruct the kernel to update
-// the hash digest instead of creating a new one for a given chunk and finalizing it.
-//
-//      // Assume hashfd and addr are already configured using the setup process.
-//      hash := os.NewFile(hashfd, "sha1")
-//      // Hash the contents of a file.
-//      f, _ := os.Open("/tmp/linux-4.10-rc7.tar.xz")
-//      b := make([]byte, 4096)
-//      for {
-//          n, err := f.Read(b)
-//          if err == io.EOF {
-//              break
-//          }
-//          unix.Sendto(hashfd, b[:n], unix.MSG_MORE, addr)
-//      }
-//      hash.Read(b)
-//      fmt.Println(hex.EncodeToString(b))
-//      // Output: 85cdcad0c06eef66f805ecce353bec9accbeecc5
-//
-// For more information, see: http://www.chronox.de/crypto-API/crypto/userspace-if.html.
-type SockaddrALG struct {
-       Type    string
-       Name    string
-       Feature uint32
-       Mask    uint32
-       raw     RawSockaddrALG
-}
-
-func (sa *SockaddrALG) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       // Leave room for NUL byte terminator.
-       if len(sa.Type) > 13 {
-               return nil, 0, EINVAL
-       }
-       if len(sa.Name) > 63 {
-               return nil, 0, EINVAL
-       }
-
-       sa.raw.Family = AF_ALG
-       sa.raw.Feat = sa.Feature
-       sa.raw.Mask = sa.Mask
-
-       typ, err := ByteSliceFromString(sa.Type)
-       if err != nil {
-               return nil, 0, err
-       }
-       name, err := ByteSliceFromString(sa.Name)
-       if err != nil {
-               return nil, 0, err
-       }
-
-       copy(sa.raw.Type[:], typ)
-       copy(sa.raw.Name[:], name)
-
-       return unsafe.Pointer(&sa.raw), SizeofSockaddrALG, nil
-}
-
-// SockaddrVM implements the Sockaddr interface for AF_VSOCK type sockets.
-// SockaddrVM provides access to Linux VM sockets: a mechanism that enables
-// bidirectional communication between a hypervisor and its guest virtual
-// machines.
-type SockaddrVM struct {
-       // CID and Port specify a context ID and port address for a VM socket.
-       // Guests have a unique CID, and hosts may have a well-known CID of:
-       //  - VMADDR_CID_HYPERVISOR: refers to the hypervisor process.
-       //  - VMADDR_CID_HOST: refers to other processes on the host.
-       CID  uint32
-       Port uint32
-       raw  RawSockaddrVM
-}
-
-func (sa *SockaddrVM) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       sa.raw.Family = AF_VSOCK
-       sa.raw.Port = sa.Port
-       sa.raw.Cid = sa.CID
-
-       return unsafe.Pointer(&sa.raw), SizeofSockaddrVM, nil
-}
-
-func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
-       switch rsa.Addr.Family {
-       case AF_NETLINK:
-               pp := (*RawSockaddrNetlink)(unsafe.Pointer(rsa))
-               sa := new(SockaddrNetlink)
-               sa.Family = pp.Family
-               sa.Pad = pp.Pad
-               sa.Pid = pp.Pid
-               sa.Groups = pp.Groups
-               return sa, nil
-
-       case AF_PACKET:
-               pp := (*RawSockaddrLinklayer)(unsafe.Pointer(rsa))
-               sa := new(SockaddrLinklayer)
-               sa.Protocol = pp.Protocol
-               sa.Ifindex = int(pp.Ifindex)
-               sa.Hatype = pp.Hatype
-               sa.Pkttype = pp.Pkttype
-               sa.Halen = pp.Halen
-               for i := 0; i < len(sa.Addr); i++ {
-                       sa.Addr[i] = pp.Addr[i]
-               }
-               return sa, nil
-
-       case AF_UNIX:
-               pp := (*RawSockaddrUnix)(unsafe.Pointer(rsa))
-               sa := new(SockaddrUnix)
-               if pp.Path[0] == 0 {
-                       // "Abstract" Unix domain socket.
-                       // Rewrite leading NUL as @ for textual display.
-                       // (This is the standard convention.)
-                       // Not friendly to overwrite in place,
-                       // but the callers below don't care.
-                       pp.Path[0] = '@'
-               }
-
-               // Assume path ends at NUL.
-               // This is not technically the Linux semantics for
-               // abstract Unix domain sockets--they are supposed
-               // to be uninterpreted fixed-size binary blobs--but
-               // everyone uses this convention.
-               n := 0
-               for n < len(pp.Path) && pp.Path[n] != 0 {
-                       n++
-               }
-               bytes := (*[10000]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
-               sa.Name = string(bytes)
-               return sa, nil
-
-       case AF_INET:
-               pp := (*RawSockaddrInet4)(unsafe.Pointer(rsa))
-               sa := new(SockaddrInet4)
-               p := (*[2]byte)(unsafe.Pointer(&pp.Port))
-               sa.Port = int(p[0])<<8 + int(p[1])
-               for i := 0; i < len(sa.Addr); i++ {
-                       sa.Addr[i] = pp.Addr[i]
-               }
-               return sa, nil
-
-       case AF_INET6:
-               pp := (*RawSockaddrInet6)(unsafe.Pointer(rsa))
-               sa := new(SockaddrInet6)
-               p := (*[2]byte)(unsafe.Pointer(&pp.Port))
-               sa.Port = int(p[0])<<8 + int(p[1])
-               sa.ZoneId = pp.Scope_id
-               for i := 0; i < len(sa.Addr); i++ {
-                       sa.Addr[i] = pp.Addr[i]
-               }
-               return sa, nil
-
-       case AF_VSOCK:
-               pp := (*RawSockaddrVM)(unsafe.Pointer(rsa))
-               sa := &SockaddrVM{
-                       CID:  pp.Cid,
-                       Port: pp.Port,
-               }
-               return sa, nil
-       }
-       return nil, EAFNOSUPPORT
-}
-
-func Accept(fd int) (nfd int, sa Sockaddr, err error) {
-       var rsa RawSockaddrAny
-       var len _Socklen = SizeofSockaddrAny
-       nfd, err = accept(fd, &rsa, &len)
-       if err != nil {
-               return
-       }
-       sa, err = anyToSockaddr(&rsa)
-       if err != nil {
-               Close(nfd)
-               nfd = 0
-       }
-       return
-}
-
-func Accept4(fd int, flags int) (nfd int, sa Sockaddr, err error) {
-       var rsa RawSockaddrAny
-       var len _Socklen = SizeofSockaddrAny
-       nfd, err = accept4(fd, &rsa, &len, flags)
-       if err != nil {
-               return
-       }
-       if len > SizeofSockaddrAny {
-               panic("RawSockaddrAny too small")
-       }
-       sa, err = anyToSockaddr(&rsa)
-       if err != nil {
-               Close(nfd)
-               nfd = 0
-       }
-       return
-}
-
-func Getsockname(fd int) (sa Sockaddr, err error) {
-       var rsa RawSockaddrAny
-       var len _Socklen = SizeofSockaddrAny
-       if err = getsockname(fd, &rsa, &len); err != nil {
-               return
-       }
-       return anyToSockaddr(&rsa)
-}
-
-func GetsockoptInet4Addr(fd, level, opt int) (value [4]byte, err error) {
-       vallen := _Socklen(4)
-       err = getsockopt(fd, level, opt, unsafe.Pointer(&value[0]), &vallen)
-       return value, err
-}
-
-func GetsockoptIPMreq(fd, level, opt int) (*IPMreq, error) {
-       var value IPMreq
-       vallen := _Socklen(SizeofIPMreq)
-       err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-       return &value, err
-}
-
-func GetsockoptIPMreqn(fd, level, opt int) (*IPMreqn, error) {
-       var value IPMreqn
-       vallen := _Socklen(SizeofIPMreqn)
-       err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-       return &value, err
-}
-
-func GetsockoptIPv6Mreq(fd, level, opt int) (*IPv6Mreq, error) {
-       var value IPv6Mreq
-       vallen := _Socklen(SizeofIPv6Mreq)
-       err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-       return &value, err
-}
-
-func GetsockoptIPv6MTUInfo(fd, level, opt int) (*IPv6MTUInfo, error) {
-       var value IPv6MTUInfo
-       vallen := _Socklen(SizeofIPv6MTUInfo)
-       err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-       return &value, err
-}
-
-func GetsockoptICMPv6Filter(fd, level, opt int) (*ICMPv6Filter, error) {
-       var value ICMPv6Filter
-       vallen := _Socklen(SizeofICMPv6Filter)
-       err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-       return &value, err
-}
-
-func GetsockoptUcred(fd, level, opt int) (*Ucred, error) {
-       var value Ucred
-       vallen := _Socklen(SizeofUcred)
-       err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-       return &value, err
-}
-
-func GetsockoptTCPInfo(fd, level, opt int) (*TCPInfo, error) {
-       var value TCPInfo
-       vallen := _Socklen(SizeofTCPInfo)
-       err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-       return &value, err
-}
-
-func SetsockoptIPMreqn(fd, level, opt int, mreq *IPMreqn) (err error) {
-       return setsockopt(fd, level, opt, unsafe.Pointer(mreq), unsafe.Sizeof(*mreq))
-}
-
-func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) {
-       var msg Msghdr
-       var rsa RawSockaddrAny
-       msg.Name = (*byte)(unsafe.Pointer(&rsa))
-       msg.Namelen = uint32(SizeofSockaddrAny)
-       var iov Iovec
-       if len(p) > 0 {
-               iov.Base = (*byte)(unsafe.Pointer(&p[0]))
-               iov.SetLen(len(p))
-       }
-       var dummy byte
-       if len(oob) > 0 {
-               // receive at least one normal byte
-               if len(p) == 0 {
-                       iov.Base = &dummy
-                       iov.SetLen(1)
-               }
-               msg.Control = (*byte)(unsafe.Pointer(&oob[0]))
-               msg.SetControllen(len(oob))
-       }
-       msg.Iov = &iov
-       msg.Iovlen = 1
-       if n, err = recvmsg(fd, &msg, flags); err != nil {
-               return
-       }
-       oobn = int(msg.Controllen)
-       recvflags = int(msg.Flags)
-       // source address is only specified if the socket is unconnected
-       if rsa.Addr.Family != AF_UNSPEC {
-               from, err = anyToSockaddr(&rsa)
-       }
-       return
-}
-
-func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error) {
-       _, err = SendmsgN(fd, p, oob, to, flags)
-       return
-}
-
-func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) {
-       var ptr unsafe.Pointer
-       var salen _Socklen
-       if to != nil {
-               var err error
-               ptr, salen, err = to.sockaddr()
-               if err != nil {
-                       return 0, err
-               }
-       }
-       var msg Msghdr
-       msg.Name = (*byte)(unsafe.Pointer(ptr))
-       msg.Namelen = uint32(salen)
-       var iov Iovec
-       if len(p) > 0 {
-               iov.Base = (*byte)(unsafe.Pointer(&p[0]))
-               iov.SetLen(len(p))
-       }
-       var dummy byte
-       if len(oob) > 0 {
-               // send at least one normal byte
-               if len(p) == 0 {
-                       iov.Base = &dummy
-                       iov.SetLen(1)
-               }
-               msg.Control = (*byte)(unsafe.Pointer(&oob[0]))
-               msg.SetControllen(len(oob))
-       }
-       msg.Iov = &iov
-       msg.Iovlen = 1
-       if n, err = sendmsg(fd, &msg, flags); err != nil {
-               return 0, err
-       }
-       if len(oob) > 0 && len(p) == 0 {
-               n = 0
-       }
-       return n, nil
-}
-
-// BindToDevice binds the socket associated with fd to device.
-func BindToDevice(fd int, device string) (err error) {
-       return SetsockoptString(fd, SOL_SOCKET, SO_BINDTODEVICE, device)
-}
-
-//sys  ptrace(request int, pid int, addr uintptr, data uintptr) (err error)
-
-func ptracePeek(req int, pid int, addr uintptr, out []byte) (count int, err error) {
-       // The peek requests are machine-size oriented, so we wrap it
-       // to retrieve arbitrary-length data.
-
-       // The ptrace syscall differs from glibc's ptrace.
-       // Peeks returns the word in *data, not as the return value.
-
-       var buf [sizeofPtr]byte
-
-       // Leading edge.  PEEKTEXT/PEEKDATA don't require aligned
-       // access (PEEKUSER warns that it might), but if we don't
-       // align our reads, we might straddle an unmapped page
-       // boundary and not get the bytes leading up to the page
-       // boundary.
-       n := 0
-       if addr%sizeofPtr != 0 {
-               err = ptrace(req, pid, addr-addr%sizeofPtr, uintptr(unsafe.Pointer(&buf[0])))
-               if err != nil {
-                       return 0, err
-               }
-               n += copy(out, buf[addr%sizeofPtr:])
-               out = out[n:]
-       }
-
-       // Remainder.
-       for len(out) > 0 {
-               // We use an internal buffer to guarantee alignment.
-               // It's not documented if this is necessary, but we're paranoid.
-               err = ptrace(req, pid, addr+uintptr(n), uintptr(unsafe.Pointer(&buf[0])))
-               if err != nil {
-                       return n, err
-               }
-               copied := copy(out, buf[0:])
-               n += copied
-               out = out[copied:]
-       }
-
-       return n, nil
-}
-
-func PtracePeekText(pid int, addr uintptr, out []byte) (count int, err error) {
-       return ptracePeek(PTRACE_PEEKTEXT, pid, addr, out)
-}
-
-func PtracePeekData(pid int, addr uintptr, out []byte) (count int, err error) {
-       return ptracePeek(PTRACE_PEEKDATA, pid, addr, out)
-}
-
-func PtracePeekUser(pid int, addr uintptr, out []byte) (count int, err error) {
-       return ptracePeek(PTRACE_PEEKUSR, pid, addr, out)
-}
-
-func ptracePoke(pokeReq int, peekReq int, pid int, addr uintptr, data []byte) (count int, err error) {
-       // As for ptracePeek, we need to align our accesses to deal
-       // with the possibility of straddling an invalid page.
-
-       // Leading edge.
-       n := 0
-       if addr%sizeofPtr != 0 {
-               var buf [sizeofPtr]byte
-               err = ptrace(peekReq, pid, addr-addr%sizeofPtr, uintptr(unsafe.Pointer(&buf[0])))
-               if err != nil {
-                       return 0, err
-               }
-               n += copy(buf[addr%sizeofPtr:], data)
-               word := *((*uintptr)(unsafe.Pointer(&buf[0])))
-               err = ptrace(pokeReq, pid, addr-addr%sizeofPtr, word)
-               if err != nil {
-                       return 0, err
-               }
-               data = data[n:]
-       }
-
-       // Interior.
-       for len(data) > sizeofPtr {
-               word := *((*uintptr)(unsafe.Pointer(&data[0])))
-               err = ptrace(pokeReq, pid, addr+uintptr(n), word)
-               if err != nil {
-                       return n, err
-               }
-               n += sizeofPtr
-               data = data[sizeofPtr:]
-       }
-
-       // Trailing edge.
-       if len(data) > 0 {
-               var buf [sizeofPtr]byte
-               err = ptrace(peekReq, pid, addr+uintptr(n), uintptr(unsafe.Pointer(&buf[0])))
-               if err != nil {
-                       return n, err
-               }
-               copy(buf[0:], data)
-               word := *((*uintptr)(unsafe.Pointer(&buf[0])))
-               err = ptrace(pokeReq, pid, addr+uintptr(n), word)
-               if err != nil {
-                       return n, err
-               }
-               n += len(data)
-       }
-
-       return n, nil
-}
-
-func PtracePokeText(pid int, addr uintptr, data []byte) (count int, err error) {
-       return ptracePoke(PTRACE_POKETEXT, PTRACE_PEEKTEXT, pid, addr, data)
-}
-
-func PtracePokeData(pid int, addr uintptr, data []byte) (count int, err error) {
-       return ptracePoke(PTRACE_POKEDATA, PTRACE_PEEKDATA, pid, addr, data)
-}
-
-func PtraceGetRegs(pid int, regsout *PtraceRegs) (err error) {
-       return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
-}
-
-func PtraceSetRegs(pid int, regs *PtraceRegs) (err error) {
-       return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
-}
-
-func PtraceSetOptions(pid int, options int) (err error) {
-       return ptrace(PTRACE_SETOPTIONS, pid, 0, uintptr(options))
-}
-
-func PtraceGetEventMsg(pid int) (msg uint, err error) {
-       var data _C_long
-       err = ptrace(PTRACE_GETEVENTMSG, pid, 0, uintptr(unsafe.Pointer(&data)))
-       msg = uint(data)
-       return
-}
-
-func PtraceCont(pid int, signal int) (err error) {
-       return ptrace(PTRACE_CONT, pid, 0, uintptr(signal))
-}
-
-func PtraceSyscall(pid int, signal int) (err error) {
-       return ptrace(PTRACE_SYSCALL, pid, 0, uintptr(signal))
-}
-
-func PtraceSingleStep(pid int) (err error) { return ptrace(PTRACE_SINGLESTEP, pid, 0, 0) }
-
-func PtraceAttach(pid int) (err error) { return ptrace(PTRACE_ATTACH, pid, 0, 0) }
-
-func PtraceDetach(pid int) (err error) { return ptrace(PTRACE_DETACH, pid, 0, 0) }
-
-//sys  reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error)
-
-func Reboot(cmd int) (err error) {
-       return reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, cmd, "")
-}
-
-func ReadDirent(fd int, buf []byte) (n int, err error) {
-       return Getdents(fd, buf)
-}
-
-func direntIno(buf []byte) (uint64, bool) {
-       return readInt(buf, unsafe.Offsetof(Dirent{}.Ino), unsafe.Sizeof(Dirent{}.Ino))
-}
-
-func direntReclen(buf []byte) (uint64, bool) {
-       return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen))
-}
-
-func direntNamlen(buf []byte) (uint64, bool) {
-       reclen, ok := direntReclen(buf)
-       if !ok {
-               return 0, false
-       }
-       return reclen - uint64(unsafe.Offsetof(Dirent{}.Name)), true
-}
-
-//sys  mount(source string, target string, fstype string, flags uintptr, data *byte) (err error)
-
-func Mount(source string, target string, fstype string, flags uintptr, data string) (err error) {
-       // Certain file systems get rather angry and EINVAL if you give
-       // them an empty string of data, rather than NULL.
-       if data == "" {
-               return mount(source, target, fstype, flags, nil)
-       }
-       datap, err := BytePtrFromString(data)
-       if err != nil {
-               return err
-       }
-       return mount(source, target, fstype, flags, datap)
-}
-
-// Sendto
-// Recvfrom
-// Socketpair
-
-/*
- * Direct access
- */
-//sys  Acct(path string) (err error)
-//sys  Adjtimex(buf *Timex) (state int, err error)
-//sys  Chdir(path string) (err error)
-//sys  Chroot(path string) (err error)
-//sys  ClockGettime(clockid int32, time *Timespec) (err error)
-//sys  Close(fd int) (err error)
-//sys  Dup(oldfd int) (fd int, err error)
-//sys  Dup3(oldfd int, newfd int, flags int) (err error)
-//sysnb        EpollCreate(size int) (fd int, err error)
-//sysnb        EpollCreate1(flag int) (fd int, err error)
-//sysnb        EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error)
-//sys  Exit(code int) = SYS_EXIT_GROUP
-//sys  Faccessat(dirfd int, path string, mode uint32, flags int) (err error)
-//sys  Fallocate(fd int, mode uint32, off int64, len int64) (err error)
-//sys  Fchdir(fd int) (err error)
-//sys  Fchmod(fd int, mode uint32) (err error)
-//sys  Fchmodat(dirfd int, path string, mode uint32, flags int) (err error)
-//sys  Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
-//sys  fcntl(fd int, cmd int, arg int) (val int, err error)
-//sys  Fdatasync(fd int) (err error)
-//sys  Flock(fd int, how int) (err error)
-//sys  Fsync(fd int) (err error)
-//sys  Getdents(fd int, buf []byte) (n int, err error) = SYS_GETDENTS64
-//sysnb        Getpgid(pid int) (pgid int, err error)
-
-func Getpgrp() (pid int) {
-       pid, _ = Getpgid(0)
-       return
-}
-
-//sysnb        Getpid() (pid int)
-//sysnb        Getppid() (ppid int)
-//sys  Getpriority(which int, who int) (prio int, err error)
-//sys  Getrandom(buf []byte, flags int) (n int, err error)
-//sysnb        Getrusage(who int, rusage *Rusage) (err error)
-//sysnb        Getsid(pid int) (sid int, err error)
-//sysnb        Gettid() (tid int)
-//sys  Getxattr(path string, attr string, dest []byte) (sz int, err error)
-//sys  InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error)
-//sysnb        InotifyInit1(flags int) (fd int, err error)
-//sysnb        InotifyRmWatch(fd int, watchdesc uint32) (success int, err error)
-//sysnb        Kill(pid int, sig syscall.Signal) (err error)
-//sys  Klogctl(typ int, buf []byte) (n int, err error) = SYS_SYSLOG
-//sys  Listxattr(path string, dest []byte) (sz int, err error)
-//sys  Mkdirat(dirfd int, path string, mode uint32) (err error)
-//sys  Mknodat(dirfd int, path string, mode uint32, dev int) (err error)
-//sys  Nanosleep(time *Timespec, leftover *Timespec) (err error)
-//sys  PivotRoot(newroot string, putold string) (err error) = SYS_PIVOT_ROOT
-//sysnb prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) = SYS_PRLIMIT64
-//sys   Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error)
-//sys  read(fd int, p []byte) (n int, err error)
-//sys  Removexattr(path string, attr string) (err error)
-//sys  Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
-//sys  Setdomainname(p []byte) (err error)
-//sys  Sethostname(p []byte) (err error)
-//sysnb        Setpgid(pid int, pgid int) (err error)
-//sysnb        Setsid() (pid int, err error)
-//sysnb        Settimeofday(tv *Timeval) (err error)
-//sys  Setns(fd int, nstype int) (err error)
-
-// issue 1435.
-// On linux Setuid and Setgid only affects the current thread, not the process.
-// This does not match what most callers expect so we must return an error
-// here rather than letting the caller think that the call succeeded.
-
-func Setuid(uid int) (err error) {
-       return EOPNOTSUPP
-}
-
-func Setgid(uid int) (err error) {
-       return EOPNOTSUPP
-}
-
-//sys  Setpriority(which int, who int, prio int) (err error)
-//sys  Setxattr(path string, attr string, data []byte, flags int) (err error)
-//sys  Sync()
-//sysnb        Sysinfo(info *Sysinfo_t) (err error)
-//sys  Tee(rfd int, wfd int, len int, flags int) (n int64, err error)
-//sysnb        Tgkill(tgid int, tid int, sig syscall.Signal) (err error)
-//sysnb        Times(tms *Tms) (ticks uintptr, err error)
-//sysnb        Umask(mask int) (oldmask int)
-//sysnb        Uname(buf *Utsname) (err error)
-//sys  Unmount(target string, flags int) (err error) = SYS_UMOUNT2
-//sys  Unshare(flags int) (err error)
-//sys  Ustat(dev int, ubuf *Ustat_t) (err error)
-//sys  write(fd int, p []byte) (n int, err error)
-//sys  exitThread(code int) (err error) = SYS_EXIT
-//sys  readlen(fd int, p *byte, np int) (n int, err error) = SYS_READ
-//sys  writelen(fd int, p *byte, np int) (n int, err error) = SYS_WRITE
-
-// mmap varies by architecture; see syscall_linux_*.go.
-//sys  munmap(addr uintptr, length uintptr) (err error)
-
-var mapper = &mmapper{
-       active: make(map[*byte][]byte),
-       mmap:   mmap,
-       munmap: munmap,
-}
-
-func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
-       return mapper.Mmap(fd, offset, length, prot, flags)
-}
-
-func Munmap(b []byte) (err error) {
-       return mapper.Munmap(b)
-}
-
-//sys  Madvise(b []byte, advice int) (err error)
-//sys  Mprotect(b []byte, prot int) (err error)
-//sys  Mlock(b []byte) (err error)
-//sys  Munlock(b []byte) (err error)
-//sys  Mlockall(flags int) (err error)
-//sys  Munlockall() (err error)
-
-// Vmsplice splices user pages from a slice of Iovecs into a pipe specified by fd,
-// using the specified flags.
-func Vmsplice(fd int, iovs []Iovec, flags int) (int, error) {
-       n, _, errno := Syscall6(
-               SYS_VMSPLICE,
-               uintptr(fd),
-               uintptr(unsafe.Pointer(&iovs[0])),
-               uintptr(len(iovs)),
-               uintptr(flags),
-               0,
-               0,
-       )
-       if errno != 0 {
-               return 0, syscall.Errno(errno)
-       }
-
-       return int(n), nil
-}
-
-/*
- * Unimplemented
- */
-// AddKey
-// AfsSyscall
-// Alarm
-// ArchPrctl
-// Brk
-// Capget
-// Capset
-// ClockGetres
-// ClockNanosleep
-// ClockSettime
-// Clone
-// CreateModule
-// DeleteModule
-// EpollCtlOld
-// EpollPwait
-// EpollWaitOld
-// Eventfd
-// Execve
-// Fgetxattr
-// Flistxattr
-// Fork
-// Fremovexattr
-// Fsetxattr
-// Futex
-// GetKernelSyms
-// GetMempolicy
-// GetRobustList
-// GetThreadArea
-// Getitimer
-// Getpmsg
-// IoCancel
-// IoDestroy
-// IoGetevents
-// IoSetup
-// IoSubmit
-// Ioctl
-// IoprioGet
-// IoprioSet
-// KexecLoad
-// Keyctl
-// Lgetxattr
-// Llistxattr
-// LookupDcookie
-// Lremovexattr
-// Lsetxattr
-// Mbind
-// MigratePages
-// Mincore
-// ModifyLdt
-// Mount
-// MovePages
-// Mprotect
-// MqGetsetattr
-// MqNotify
-// MqOpen
-// MqTimedreceive
-// MqTimedsend
-// MqUnlink
-// Mremap
-// Msgctl
-// Msgget
-// Msgrcv
-// Msgsnd
-// Msync
-// Newfstatat
-// Nfsservctl
-// Personality
-// Pselect6
-// Ptrace
-// Putpmsg
-// QueryModule
-// Quotactl
-// Readahead
-// Readv
-// RemapFilePages
-// RequestKey
-// RestartSyscall
-// RtSigaction
-// RtSigpending
-// RtSigprocmask
-// RtSigqueueinfo
-// RtSigreturn
-// RtSigsuspend
-// RtSigtimedwait
-// SchedGetPriorityMax
-// SchedGetPriorityMin
-// SchedGetaffinity
-// SchedGetparam
-// SchedGetscheduler
-// SchedRrGetInterval
-// SchedSetaffinity
-// SchedSetparam
-// SchedYield
-// Security
-// Semctl
-// Semget
-// Semop
-// Semtimedop
-// SetMempolicy
-// SetRobustList
-// SetThreadArea
-// SetTidAddress
-// Shmat
-// Shmctl
-// Shmdt
-// Shmget
-// Sigaltstack
-// Signalfd
-// Swapoff
-// Swapon
-// Sysfs
-// TimerCreate
-// TimerDelete
-// TimerGetoverrun
-// TimerGettime
-// TimerSettime
-// Timerfd
-// Tkill (obsolete)
-// Tuxcall
-// Umount2
-// Uselib
-// Utimensat
-// Vfork
-// Vhangup
-// Vserver
-// Waitid
-// _Sysctl
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_386.go b/vendor/golang.org/x/sys/unix/syscall_linux_386.go
deleted file mode 100644 (file)
index 2b881b9..0000000
+++ /dev/null
@@ -1,399 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// TODO(rsc): Rewrite all nn(SP) references into name+(nn-8)(FP)
-// so that go vet can check that they are correct.
-
-// +build 386,linux
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = int32(nsec / 1e9)
-       ts.Nsec = int32(nsec % 1e9)
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Sec = int32(nsec / 1e9)
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       return
-}
-
-//sysnb        pipe(p *[2]_C_int) (err error)
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe(&pp)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-//sysnb pipe2(p *[2]_C_int, flags int) (err error)
-
-func Pipe2(p []int, flags int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, flags)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-// 64-bit file system and 32-bit uid calls
-// (386 default is 32-bit file system and 16-bit uid).
-//sys  Dup2(oldfd int, newfd int) (err error)
-//sys  Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64_64
-//sys  Fchown(fd int, uid int, gid int) (err error) = SYS_FCHOWN32
-//sys  Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64
-//sys  Ftruncate(fd int, length int64) (err error) = SYS_FTRUNCATE64
-//sysnb        Getegid() (egid int) = SYS_GETEGID32
-//sysnb        Geteuid() (euid int) = SYS_GETEUID32
-//sysnb        Getgid() (gid int) = SYS_GETGID32
-//sysnb        Getuid() (uid int) = SYS_GETUID32
-//sysnb        InotifyInit() (fd int, err error)
-//sys  Ioperm(from int, num int, on int) (err error)
-//sys  Iopl(level int) (err error)
-//sys  Lchown(path string, uid int, gid int) (err error) = SYS_LCHOWN32
-//sys  Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
-//sys  sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) = SYS_SENDFILE64
-//sys  Setfsgid(gid int) (err error) = SYS_SETFSGID32
-//sys  Setfsuid(uid int) (err error) = SYS_SETFSUID32
-//sysnb        Setregid(rgid int, egid int) (err error) = SYS_SETREGID32
-//sysnb        Setresgid(rgid int, egid int, sgid int) (err error) = SYS_SETRESGID32
-//sysnb        Setresuid(ruid int, euid int, suid int) (err error) = SYS_SETRESUID32
-//sysnb        Setreuid(ruid int, euid int) (err error) = SYS_SETREUID32
-//sys  Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error)
-//sys  Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
-//sys  SyncFileRange(fd int, off int64, n int64, flags int) (err error)
-//sys  Truncate(path string, length int64) (err error) = SYS_TRUNCATE64
-//sysnb        getgroups(n int, list *_Gid_t) (nn int, err error) = SYS_GETGROUPS32
-//sysnb        setgroups(n int, list *_Gid_t) (err error) = SYS_SETGROUPS32
-//sys  Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT
-
-//sys  mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset uintptr) (xaddr uintptr, err error)
-//sys  EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
-//sys  Pause() (err error)
-
-func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
-       page := uintptr(offset / 4096)
-       if offset != int64(page)*4096 {
-               return 0, EINVAL
-       }
-       return mmap2(addr, length, prot, flags, fd, page)
-}
-
-type rlimit32 struct {
-       Cur uint32
-       Max uint32
-}
-
-//sysnb getrlimit(resource int, rlim *rlimit32) (err error) = SYS_GETRLIMIT
-
-const rlimInf32 = ^uint32(0)
-const rlimInf64 = ^uint64(0)
-
-func Getrlimit(resource int, rlim *Rlimit) (err error) {
-       err = prlimit(0, resource, nil, rlim)
-       if err != ENOSYS {
-               return err
-       }
-
-       rl := rlimit32{}
-       err = getrlimit(resource, &rl)
-       if err != nil {
-               return
-       }
-
-       if rl.Cur == rlimInf32 {
-               rlim.Cur = rlimInf64
-       } else {
-               rlim.Cur = uint64(rl.Cur)
-       }
-
-       if rl.Max == rlimInf32 {
-               rlim.Max = rlimInf64
-       } else {
-               rlim.Max = uint64(rl.Max)
-       }
-       return
-}
-
-//sysnb setrlimit(resource int, rlim *rlimit32) (err error) = SYS_SETRLIMIT
-
-func Setrlimit(resource int, rlim *Rlimit) (err error) {
-       err = prlimit(0, resource, rlim, nil)
-       if err != ENOSYS {
-               return err
-       }
-
-       rl := rlimit32{}
-       if rlim.Cur == rlimInf64 {
-               rl.Cur = rlimInf32
-       } else if rlim.Cur < uint64(rlimInf32) {
-               rl.Cur = uint32(rlim.Cur)
-       } else {
-               return EINVAL
-       }
-       if rlim.Max == rlimInf64 {
-               rl.Max = rlimInf32
-       } else if rlim.Max < uint64(rlimInf32) {
-               rl.Max = uint32(rlim.Max)
-       } else {
-               return EINVAL
-       }
-
-       return setrlimit(resource, &rl)
-}
-
-// Underlying system call writes to newoffset via pointer.
-// Implemented in assembly to avoid allocation.
-func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno)
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       newoffset, errno := seek(fd, offset, whence)
-       if errno != 0 {
-               return 0, errno
-       }
-       return newoffset, nil
-}
-
-// Vsyscalls on amd64.
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-//sysnb        Time(t *Time_t) (tt Time_t, err error)
-
-//sys  Utime(path string, buf *Utimbuf) (err error)
-
-// On x86 Linux, all the socket calls go through an extra indirection,
-// I think because the 5-register system call interface can't handle
-// the 6-argument calls like sendto and recvfrom.  Instead the
-// arguments to the underlying system call are the number below
-// and a pointer to an array of uintptr.  We hide the pointer in the
-// socketcall assembly to avoid allocation on every system call.
-
-const (
-       // see linux/net.h
-       _SOCKET      = 1
-       _BIND        = 2
-       _CONNECT     = 3
-       _LISTEN      = 4
-       _ACCEPT      = 5
-       _GETSOCKNAME = 6
-       _GETPEERNAME = 7
-       _SOCKETPAIR  = 8
-       _SEND        = 9
-       _RECV        = 10
-       _SENDTO      = 11
-       _RECVFROM    = 12
-       _SHUTDOWN    = 13
-       _SETSOCKOPT  = 14
-       _GETSOCKOPT  = 15
-       _SENDMSG     = 16
-       _RECVMSG     = 17
-       _ACCEPT4     = 18
-       _RECVMMSG    = 19
-       _SENDMMSG    = 20
-)
-
-func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno)
-func rawsocketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno)
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       fd, e := socketcall(_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
-       fd, e := socketcall(_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func getsockname(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, e := rawsocketcall(_GETSOCKNAME, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func getpeername(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, e := rawsocketcall(_GETPEERNAME, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func socketpair(domain int, typ int, flags int, fd *[2]int32) (err error) {
-       _, e := rawsocketcall(_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(flags), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, e := socketcall(_BIND, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, e := socketcall(_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       fd, e := rawsocketcall(_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto), 0, 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, e := socketcall(_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, e := socketcall(_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), vallen, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func recvfrom(s int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var base uintptr
-       if len(p) > 0 {
-               base = uintptr(unsafe.Pointer(&p[0]))
-       }
-       n, e := socketcall(_RECVFROM, uintptr(s), base, uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func sendto(s int, p []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var base uintptr
-       if len(p) > 0 {
-               base = uintptr(unsafe.Pointer(&p[0]))
-       }
-       _, e := socketcall(_SENDTO, uintptr(s), base, uintptr(len(p)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       n, e := socketcall(_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       n, e := socketcall(_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func Listen(s int, n int) (err error) {
-       _, e := socketcall(_LISTEN, uintptr(s), uintptr(n), 0, 0, 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func Shutdown(s, how int) (err error) {
-       _, e := socketcall(_SHUTDOWN, uintptr(s), uintptr(how), 0, 0, 0, 0)
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func Fstatfs(fd int, buf *Statfs_t) (err error) {
-       _, _, e := Syscall(SYS_FSTATFS64, uintptr(fd), unsafe.Sizeof(*buf), uintptr(unsafe.Pointer(buf)))
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func Statfs(path string, buf *Statfs_t) (err error) {
-       pathp, err := BytePtrFromString(path)
-       if err != nil {
-               return err
-       }
-       _, _, e := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(pathp)), unsafe.Sizeof(*buf), uintptr(unsafe.Pointer(buf)))
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func (r *PtraceRegs) PC() uint64 { return uint64(uint32(r.Eip)) }
-
-func (r *PtraceRegs) SetPC(pc uint64) { r.Eip = int32(pc) }
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint32(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
-
-//sys  poll(fds *PollFd, nfds int, timeout int) (n int, err error)
-
-func Poll(fds []PollFd, timeout int) (n int, err error) {
-       if len(fds) == 0 {
-               return poll(nil, 0, timeout)
-       }
-       return poll(&fds[0], len(fds), timeout)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go b/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
deleted file mode 100644 (file)
index 9516a3f..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build amd64,linux
-
-package unix
-
-//sys  Dup2(oldfd int, newfd int) (err error)
-//sys  EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
-//sys  Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Fstat(fd int, stat *Stat_t) (err error)
-//sys  Fstatfs(fd int, buf *Statfs_t) (err error)
-//sys  Ftruncate(fd int, length int64) (err error)
-//sysnb        Getegid() (egid int)
-//sysnb        Geteuid() (euid int)
-//sysnb        Getgid() (gid int)
-//sysnb        Getrlimit(resource int, rlim *Rlimit) (err error)
-//sysnb        Getuid() (uid int)
-//sysnb        InotifyInit() (fd int, err error)
-//sys  Ioperm(from int, num int, on int) (err error)
-//sys  Iopl(level int) (err error)
-//sys  Lchown(path string, uid int, gid int) (err error)
-//sys  Listen(s int, n int) (err error)
-//sys  Lstat(path string, stat *Stat_t) (err error)
-//sys  Pause() (err error)
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
-//sys  Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
-//sys  Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
-//sys  sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
-//sys  Setfsgid(gid int) (err error)
-//sys  Setfsuid(uid int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setresgid(rgid int, egid int, sgid int) (err error)
-//sysnb        Setresuid(ruid int, euid int, suid int) (err error)
-//sysnb        Setrlimit(resource int, rlim *Rlimit) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sys  Shutdown(fd int, how int) (err error)
-//sys  Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
-//sys  Stat(path string, stat *Stat_t) (err error)
-//sys  Statfs(path string, buf *Statfs_t) (err error)
-//sys  SyncFileRange(fd int, off int64, n int64, flags int) (err error)
-//sys  Truncate(path string, length int64) (err error)
-//sys  accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
-//sys  accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
-//sys  bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sysnb        getgroups(n int, list *_Gid_t) (nn int, err error)
-//sysnb        setgroups(n int, list *_Gid_t) (err error)
-//sys  getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error)
-//sys  setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error)
-//sysnb        socket(domain int, typ int, proto int) (fd int, err error)
-//sysnb        socketpair(domain int, typ int, proto int, fd *[2]int32) (err error)
-//sysnb        getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sysnb        getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sys  recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
-//sys  sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
-//sys  sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
-//sys  mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
-
-func Gettimeofday(tv *Timeval) (err error) {
-       errno := gettimeofday(tv)
-       if errno != 0 {
-               return errno
-       }
-       return nil
-}
-
-func Getpagesize() int { return 4096 }
-
-func Time(t *Time_t) (tt Time_t, err error) {
-       var tv Timeval
-       errno := gettimeofday(&tv)
-       if errno != 0 {
-               return 0, errno
-       }
-       if t != nil {
-               *t = Time_t(tv.Sec)
-       }
-       return Time_t(tv.Sec), nil
-}
-
-//sys  Utime(path string, buf *Utimbuf) (err error)
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = nsec % 1e9
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Sec = nsec / 1e9
-       tv.Usec = nsec % 1e9 / 1e3
-       return
-}
-
-//sysnb        pipe(p *[2]_C_int) (err error)
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe(&pp)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-//sysnb pipe2(p *[2]_C_int, flags int) (err error)
-
-func Pipe2(p []int, flags int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, flags)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-func (r *PtraceRegs) PC() uint64 { return r.Rip }
-
-func (r *PtraceRegs) SetPC(pc uint64) { r.Rip = pc }
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint64(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint64(length)
-}
-
-//sys  poll(fds *PollFd, nfds int, timeout int) (n int, err error)
-
-func Poll(fds []PollFd, timeout int) (n int, err error) {
-       if len(fds) == 0 {
-               return poll(nil, 0, timeout)
-       }
-       return poll(&fds[0], len(fds), timeout)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go b/vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go
deleted file mode 100644 (file)
index 21a4946..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// Copyright 2016 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build amd64,linux
-// +build !gccgo
-
-package unix
-
-import "syscall"
-
-//go:noescape
-func gettimeofday(tv *Timeval) (err syscall.Errno)
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_arm.go b/vendor/golang.org/x/sys/unix/syscall_linux_arm.go
deleted file mode 100644 (file)
index 71d8702..0000000
+++ /dev/null
@@ -1,263 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build arm,linux
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = int32(nsec / 1e9)
-       ts.Nsec = int32(nsec % 1e9)
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Sec = int32(nsec / 1e9)
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       return
-}
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, 0)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-//sysnb pipe2(p *[2]_C_int, flags int) (err error)
-
-func Pipe2(p []int, flags int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, flags)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-// Underlying system call writes to newoffset via pointer.
-// Implemented in assembly to avoid allocation.
-func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno)
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       newoffset, errno := seek(fd, offset, whence)
-       if errno != 0 {
-               return 0, errno
-       }
-       return newoffset, nil
-}
-
-//sys  accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
-//sys  accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
-//sys  bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sysnb        getgroups(n int, list *_Gid_t) (nn int, err error) = SYS_GETGROUPS32
-//sysnb        setgroups(n int, list *_Gid_t) (err error) = SYS_SETGROUPS32
-//sys  getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error)
-//sys  setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error)
-//sysnb        socket(domain int, typ int, proto int) (fd int, err error)
-//sysnb        getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sysnb        getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sys  recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
-//sys  sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
-//sysnb        socketpair(domain int, typ int, flags int, fd *[2]int32) (err error)
-//sys  recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
-//sys  sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
-
-// 64-bit file system and 32-bit uid calls
-// (16-bit uid calls are not always supported in newer kernels)
-//sys  Dup2(oldfd int, newfd int) (err error)
-//sys  Fchown(fd int, uid int, gid int) (err error) = SYS_FCHOWN32
-//sys  Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64
-//sysnb        Getegid() (egid int) = SYS_GETEGID32
-//sysnb        Geteuid() (euid int) = SYS_GETEUID32
-//sysnb        Getgid() (gid int) = SYS_GETGID32
-//sysnb        Getuid() (uid int) = SYS_GETUID32
-//sysnb        InotifyInit() (fd int, err error)
-//sys  Lchown(path string, uid int, gid int) (err error) = SYS_LCHOWN32
-//sys  Listen(s int, n int) (err error)
-//sys  Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
-//sys  sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) = SYS_SENDFILE64
-//sys  Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT
-//sys  Setfsgid(gid int) (err error) = SYS_SETFSGID32
-//sys  Setfsuid(uid int) (err error) = SYS_SETFSUID32
-//sysnb        Setregid(rgid int, egid int) (err error) = SYS_SETREGID32
-//sysnb        Setresgid(rgid int, egid int, sgid int) (err error) = SYS_SETRESGID32
-//sysnb        Setresuid(ruid int, euid int, suid int) (err error) = SYS_SETRESUID32
-//sysnb        Setreuid(ruid int, euid int) (err error) = SYS_SETREUID32
-//sys  Shutdown(fd int, how int) (err error)
-//sys  Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error)
-//sys  Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
-
-// Vsyscalls on amd64.
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-//sys  EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
-//sys  Pause() (err error)
-
-func Time(t *Time_t) (Time_t, error) {
-       var tv Timeval
-       err := Gettimeofday(&tv)
-       if err != nil {
-               return 0, err
-       }
-       if t != nil {
-               *t = Time_t(tv.Sec)
-       }
-       return Time_t(tv.Sec), nil
-}
-
-func Utime(path string, buf *Utimbuf) error {
-       tv := []Timeval{
-               {Sec: buf.Actime},
-               {Sec: buf.Modtime},
-       }
-       return Utimes(path, tv)
-}
-
-//sys   Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
-//sys   Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
-//sys  Truncate(path string, length int64) (err error) = SYS_TRUNCATE64
-//sys  Ftruncate(fd int, length int64) (err error) = SYS_FTRUNCATE64
-
-func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-       _, _, e1 := Syscall6(SYS_ARM_FADVISE64_64, uintptr(fd), uintptr(advice), uintptr(offset), uintptr(offset>>32), uintptr(length), uintptr(length>>32))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-//sys  mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset uintptr) (xaddr uintptr, err error)
-
-func Fstatfs(fd int, buf *Statfs_t) (err error) {
-       _, _, e := Syscall(SYS_FSTATFS64, uintptr(fd), unsafe.Sizeof(*buf), uintptr(unsafe.Pointer(buf)))
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func Statfs(path string, buf *Statfs_t) (err error) {
-       pathp, err := BytePtrFromString(path)
-       if err != nil {
-               return err
-       }
-       _, _, e := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(pathp)), unsafe.Sizeof(*buf), uintptr(unsafe.Pointer(buf)))
-       if e != 0 {
-               err = e
-       }
-       return
-}
-
-func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
-       page := uintptr(offset / 4096)
-       if offset != int64(page)*4096 {
-               return 0, EINVAL
-       }
-       return mmap2(addr, length, prot, flags, fd, page)
-}
-
-type rlimit32 struct {
-       Cur uint32
-       Max uint32
-}
-
-//sysnb getrlimit(resource int, rlim *rlimit32) (err error) = SYS_UGETRLIMIT
-
-const rlimInf32 = ^uint32(0)
-const rlimInf64 = ^uint64(0)
-
-func Getrlimit(resource int, rlim *Rlimit) (err error) {
-       err = prlimit(0, resource, nil, rlim)
-       if err != ENOSYS {
-               return err
-       }
-
-       rl := rlimit32{}
-       err = getrlimit(resource, &rl)
-       if err != nil {
-               return
-       }
-
-       if rl.Cur == rlimInf32 {
-               rlim.Cur = rlimInf64
-       } else {
-               rlim.Cur = uint64(rl.Cur)
-       }
-
-       if rl.Max == rlimInf32 {
-               rlim.Max = rlimInf64
-       } else {
-               rlim.Max = uint64(rl.Max)
-       }
-       return
-}
-
-//sysnb setrlimit(resource int, rlim *rlimit32) (err error) = SYS_SETRLIMIT
-
-func Setrlimit(resource int, rlim *Rlimit) (err error) {
-       err = prlimit(0, resource, rlim, nil)
-       if err != ENOSYS {
-               return err
-       }
-
-       rl := rlimit32{}
-       if rlim.Cur == rlimInf64 {
-               rl.Cur = rlimInf32
-       } else if rlim.Cur < uint64(rlimInf32) {
-               rl.Cur = uint32(rlim.Cur)
-       } else {
-               return EINVAL
-       }
-       if rlim.Max == rlimInf64 {
-               rl.Max = rlimInf32
-       } else if rlim.Max < uint64(rlimInf32) {
-               rl.Max = uint32(rlim.Max)
-       } else {
-               return EINVAL
-       }
-
-       return setrlimit(resource, &rl)
-}
-
-func (r *PtraceRegs) PC() uint64 { return uint64(r.Uregs[15]) }
-
-func (r *PtraceRegs) SetPC(pc uint64) { r.Uregs[15] = uint32(pc) }
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint32(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
-
-//sys  poll(fds *PollFd, nfds int, timeout int) (n int, err error)
-
-func Poll(fds []PollFd, timeout int) (n int, err error) {
-       if len(fds) == 0 {
-               return poll(nil, 0, timeout)
-       }
-       return poll(&fds[0], len(fds), timeout)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go b/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
deleted file mode 100644 (file)
index 4a13639..0000000
+++ /dev/null
@@ -1,190 +0,0 @@
-// Copyright 2015 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build arm64,linux
-
-package unix
-
-//sys  EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) = SYS_EPOLL_PWAIT
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Fstat(fd int, stat *Stat_t) (err error)
-//sys  Fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
-//sys  Fstatfs(fd int, buf *Statfs_t) (err error)
-//sys  Ftruncate(fd int, length int64) (err error)
-//sysnb        Getegid() (egid int)
-//sysnb        Geteuid() (euid int)
-//sysnb        Getgid() (gid int)
-//sysnb        Getrlimit(resource int, rlim *Rlimit) (err error)
-//sysnb        Getuid() (uid int)
-//sys  Listen(s int, n int) (err error)
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
-//sys  Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
-//sys  Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS_PSELECT6
-//sys  sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
-//sys  Setfsgid(gid int) (err error)
-//sys  Setfsuid(uid int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setresgid(rgid int, egid int, sgid int) (err error)
-//sysnb        Setresuid(ruid int, euid int, suid int) (err error)
-//sysnb        Setrlimit(resource int, rlim *Rlimit) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sys  Shutdown(fd int, how int) (err error)
-//sys  Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
-
-func Stat(path string, stat *Stat_t) (err error) {
-       return Fstatat(AT_FDCWD, path, stat, 0)
-}
-
-func Lchown(path string, uid int, gid int) (err error) {
-       return Fchownat(AT_FDCWD, path, uid, gid, AT_SYMLINK_NOFOLLOW)
-}
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       return Fstatat(AT_FDCWD, path, stat, AT_SYMLINK_NOFOLLOW)
-}
-
-//sys  Statfs(path string, buf *Statfs_t) (err error)
-//sys  SyncFileRange(fd int, off int64, n int64, flags int) (err error)
-//sys  Truncate(path string, length int64) (err error)
-//sys  accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
-//sys  accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
-//sys  bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sysnb        getgroups(n int, list *_Gid_t) (nn int, err error)
-//sysnb        setgroups(n int, list *_Gid_t) (err error)
-//sys  getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error)
-//sys  setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error)
-//sysnb        socket(domain int, typ int, proto int) (fd int, err error)
-//sysnb        socketpair(domain int, typ int, proto int, fd *[2]int32) (err error)
-//sysnb        getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sysnb        getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sys  recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
-//sys  sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
-//sys  sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
-//sys  mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
-
-func Getpagesize() int { return 65536 }
-
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = nsec % 1e9
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Sec = nsec / 1e9
-       tv.Usec = nsec % 1e9 / 1e3
-       return
-}
-
-func Time(t *Time_t) (Time_t, error) {
-       var tv Timeval
-       err := Gettimeofday(&tv)
-       if err != nil {
-               return 0, err
-       }
-       if t != nil {
-               *t = Time_t(tv.Sec)
-       }
-       return Time_t(tv.Sec), nil
-}
-
-func Utime(path string, buf *Utimbuf) error {
-       tv := []Timeval{
-               {Sec: buf.Actime},
-               {Sec: buf.Modtime},
-       }
-       return Utimes(path, tv)
-}
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, 0)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-//sysnb pipe2(p *[2]_C_int, flags int) (err error)
-
-func Pipe2(p []int, flags int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, flags)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-func (r *PtraceRegs) PC() uint64 { return r.Pc }
-
-func (r *PtraceRegs) SetPC(pc uint64) { r.Pc = pc }
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint64(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint64(length)
-}
-
-func InotifyInit() (fd int, err error) {
-       return InotifyInit1(0)
-}
-
-func Dup2(oldfd int, newfd int) (err error) {
-       return Dup3(oldfd, newfd, 0)
-}
-
-func Pause() (err error) {
-       _, _, e1 := Syscall6(SYS_PPOLL, 0, 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// TODO(dfc): constants that should be in zsysnum_linux_arm64.go, remove
-// these when the deprecated syscalls that the syscall package relies on
-// are removed.
-const (
-       SYS_GETPGRP      = 1060
-       SYS_UTIMES       = 1037
-       SYS_FUTIMESAT    = 1066
-       SYS_PAUSE        = 1061
-       SYS_USTAT        = 1070
-       SYS_UTIME        = 1063
-       SYS_LCHOWN       = 1032
-       SYS_TIME         = 1062
-       SYS_EPOLL_CREATE = 1042
-       SYS_EPOLL_WAIT   = 1069
-)
-
-func Poll(fds []PollFd, timeout int) (n int, err error) {
-       var ts *Timespec
-       if timeout >= 0 {
-               ts = new(Timespec)
-               *ts = NsecToTimespec(int64(timeout) * 1e6)
-       }
-       if len(fds) == 0 {
-               return ppoll(nil, 0, ts, nil)
-       }
-       return ppoll(&fds[0], len(fds), ts, nil)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go b/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go
deleted file mode 100644 (file)
index 8119fde..0000000
+++ /dev/null
@@ -1,208 +0,0 @@
-// Copyright 2015 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build linux
-// +build mips64 mips64le
-
-package unix
-
-//sys  EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Fstatfs(fd int, buf *Statfs_t) (err error)
-//sys  Ftruncate(fd int, length int64) (err error)
-//sysnb        Getegid() (egid int)
-//sysnb        Geteuid() (euid int)
-//sysnb        Getgid() (gid int)
-//sysnb        Getrlimit(resource int, rlim *Rlimit) (err error)
-//sysnb        Getuid() (uid int)
-//sys  Lchown(path string, uid int, gid int) (err error)
-//sys  Listen(s int, n int) (err error)
-//sys  Pause() (err error)
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
-//sys  Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
-//sys  Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS_PSELECT6
-//sys  sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
-//sys  Setfsgid(gid int) (err error)
-//sys  Setfsuid(uid int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setresgid(rgid int, egid int, sgid int) (err error)
-//sysnb        Setresuid(ruid int, euid int, suid int) (err error)
-//sysnb        Setrlimit(resource int, rlim *Rlimit) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sys  Shutdown(fd int, how int) (err error)
-//sys  Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
-//sys  Statfs(path string, buf *Statfs_t) (err error)
-//sys  SyncFileRange(fd int, off int64, n int64, flags int) (err error)
-//sys  Truncate(path string, length int64) (err error)
-//sys  accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
-//sys  accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
-//sys  bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sysnb        getgroups(n int, list *_Gid_t) (nn int, err error)
-//sysnb        setgroups(n int, list *_Gid_t) (err error)
-//sys  getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error)
-//sys  setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error)
-//sysnb        socket(domain int, typ int, proto int) (fd int, err error)
-//sysnb        socketpair(domain int, typ int, proto int, fd *[2]int32) (err error)
-//sysnb        getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sysnb        getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sys  recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
-//sys  sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
-//sys  sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
-//sys  mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
-
-func Getpagesize() int { return 65536 }
-
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-
-func Time(t *Time_t) (tt Time_t, err error) {
-       var tv Timeval
-       err = Gettimeofday(&tv)
-       if err != nil {
-               return 0, err
-       }
-       if t != nil {
-               *t = Time_t(tv.Sec)
-       }
-       return Time_t(tv.Sec), nil
-}
-
-//sys  Utime(path string, buf *Utimbuf) (err error)
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = nsec % 1e9
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Sec = nsec / 1e9
-       tv.Usec = nsec % 1e9 / 1e3
-       return
-}
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, 0)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-//sysnb pipe2(p *[2]_C_int, flags int) (err error)
-
-func Pipe2(p []int, flags int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, flags)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-func Ioperm(from int, num int, on int) (err error) {
-       return ENOSYS
-}
-
-func Iopl(level int) (err error) {
-       return ENOSYS
-}
-
-type stat_t struct {
-       Dev        uint32
-       Pad0       [3]int32
-       Ino        uint64
-       Mode       uint32
-       Nlink      uint32
-       Uid        uint32
-       Gid        uint32
-       Rdev       uint32
-       Pad1       [3]uint32
-       Size       int64
-       Atime      uint32
-       Atime_nsec uint32
-       Mtime      uint32
-       Mtime_nsec uint32
-       Ctime      uint32
-       Ctime_nsec uint32
-       Blksize    uint32
-       Pad2       uint32
-       Blocks     int64
-}
-
-//sys  fstat(fd int, st *stat_t) (err error)
-//sys  lstat(path string, st *stat_t) (err error)
-//sys  stat(path string, st *stat_t) (err error)
-
-func Fstat(fd int, s *Stat_t) (err error) {
-       st := &stat_t{}
-       err = fstat(fd, st)
-       fillStat_t(s, st)
-       return
-}
-
-func Lstat(path string, s *Stat_t) (err error) {
-       st := &stat_t{}
-       err = lstat(path, st)
-       fillStat_t(s, st)
-       return
-}
-
-func Stat(path string, s *Stat_t) (err error) {
-       st := &stat_t{}
-       err = stat(path, st)
-       fillStat_t(s, st)
-       return
-}
-
-func fillStat_t(s *Stat_t, st *stat_t) {
-       s.Dev = st.Dev
-       s.Ino = st.Ino
-       s.Mode = st.Mode
-       s.Nlink = st.Nlink
-       s.Uid = st.Uid
-       s.Gid = st.Gid
-       s.Rdev = st.Rdev
-       s.Size = st.Size
-       s.Atim = Timespec{int64(st.Atime), int64(st.Atime_nsec)}
-       s.Mtim = Timespec{int64(st.Mtime), int64(st.Mtime_nsec)}
-       s.Ctim = Timespec{int64(st.Ctime), int64(st.Ctime_nsec)}
-       s.Blksize = st.Blksize
-       s.Blocks = st.Blocks
-}
-
-func (r *PtraceRegs) PC() uint64 { return r.Regs[64] }
-
-func (r *PtraceRegs) SetPC(pc uint64) { r.Regs[64] = pc }
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint64(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint64(length)
-}
-
-//sys  poll(fds *PollFd, nfds int, timeout int) (n int, err error)
-
-func Poll(fds []PollFd, timeout int) (n int, err error) {
-       if len(fds) == 0 {
-               return poll(nil, 0, timeout)
-       }
-       return poll(&fds[0], len(fds), timeout)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go b/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go
deleted file mode 100644 (file)
index be77d24..0000000
+++ /dev/null
@@ -1,239 +0,0 @@
-// Copyright 2016 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build linux
-// +build mips mipsle
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
-
-//sys  Dup2(oldfd int, newfd int) (err error)
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Ftruncate(fd int, length int64) (err error) = SYS_FTRUNCATE64
-//sysnb        Getegid() (egid int)
-//sysnb        Geteuid() (euid int)
-//sysnb        Getgid() (gid int)
-//sysnb        Getuid() (uid int)
-//sys  Lchown(path string, uid int, gid int) (err error)
-//sys  Listen(s int, n int) (err error)
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
-//sys  Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT
-//sys  sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) = SYS_SENDFILE64
-//sys  Setfsgid(gid int) (err error)
-//sys  Setfsuid(uid int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setresgid(rgid int, egid int, sgid int) (err error)
-//sysnb        Setresuid(ruid int, euid int, suid int) (err error)
-
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sys  Shutdown(fd int, how int) (err error)
-//sys  Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
-
-//sys  SyncFileRange(fd int, off int64, n int64, flags int) (err error)
-//sys  Truncate(path string, length int64) (err error) = SYS_TRUNCATE64
-//sys  accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
-//sys  accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
-//sys  bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sysnb        getgroups(n int, list *_Gid_t) (nn int, err error)
-//sysnb        setgroups(n int, list *_Gid_t) (err error)
-//sys  getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error)
-//sys  setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error)
-//sysnb        socket(domain int, typ int, proto int) (fd int, err error)
-//sysnb        socketpair(domain int, typ int, proto int, fd *[2]int32) (err error)
-//sysnb        getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sysnb        getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sys  recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
-//sys  sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
-//sys  sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
-
-//sysnb        InotifyInit() (fd int, err error)
-//sys  Ioperm(from int, num int, on int) (err error)
-//sys  Iopl(level int) (err error)
-
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-//sysnb        Time(t *Time_t) (tt Time_t, err error)
-
-//sys  Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
-//sys  Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64
-//sys  Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
-
-//sys  Utime(path string, buf *Utimbuf) (err error)
-//sys  EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
-//sys  Pause() (err error)
-
-func Fstatfs(fd int, buf *Statfs_t) (err error) {
-       _, _, e := Syscall(SYS_FSTATFS64, uintptr(fd), unsafe.Sizeof(*buf), uintptr(unsafe.Pointer(buf)))
-       if e != 0 {
-               err = errnoErr(e)
-       }
-       return
-}
-
-func Statfs(path string, buf *Statfs_t) (err error) {
-       p, err := BytePtrFromString(path)
-       if err != nil {
-               return err
-       }
-       _, _, e := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(p)), unsafe.Sizeof(*buf), uintptr(unsafe.Pointer(buf)))
-       if e != 0 {
-               err = errnoErr(e)
-       }
-       return
-}
-
-func Seek(fd int, offset int64, whence int) (off int64, err error) {
-       _, _, e := Syscall6(SYS__LLSEEK, uintptr(fd), uintptr(offset>>32), uintptr(offset), uintptr(unsafe.Pointer(&off)), uintptr(whence), 0)
-       if e != 0 {
-               err = errnoErr(e)
-       }
-       return
-}
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = int32(nsec / 1e9)
-       ts.Nsec = int32(nsec % 1e9)
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Sec = int32(nsec / 1e9)
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       return
-}
-
-//sysnb pipe2(p *[2]_C_int, flags int) (err error)
-
-func Pipe2(p []int, flags int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, flags)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, 0)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-//sys  mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset uintptr) (xaddr uintptr, err error)
-
-func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
-       page := uintptr(offset / 4096)
-       if offset != int64(page)*4096 {
-               return 0, EINVAL
-       }
-       return mmap2(addr, length, prot, flags, fd, page)
-}
-
-const rlimInf32 = ^uint32(0)
-const rlimInf64 = ^uint64(0)
-
-type rlimit32 struct {
-       Cur uint32
-       Max uint32
-}
-
-//sysnb getrlimit(resource int, rlim *rlimit32) (err error) = SYS_GETRLIMIT
-
-func Getrlimit(resource int, rlim *Rlimit) (err error) {
-       err = prlimit(0, resource, nil, rlim)
-       if err != ENOSYS {
-               return err
-       }
-
-       rl := rlimit32{}
-       err = getrlimit(resource, &rl)
-       if err != nil {
-               return
-       }
-
-       if rl.Cur == rlimInf32 {
-               rlim.Cur = rlimInf64
-       } else {
-               rlim.Cur = uint64(rl.Cur)
-       }
-
-       if rl.Max == rlimInf32 {
-               rlim.Max = rlimInf64
-       } else {
-               rlim.Max = uint64(rl.Max)
-       }
-       return
-}
-
-//sysnb setrlimit(resource int, rlim *rlimit32) (err error) = SYS_SETRLIMIT
-
-func Setrlimit(resource int, rlim *Rlimit) (err error) {
-       err = prlimit(0, resource, rlim, nil)
-       if err != ENOSYS {
-               return err
-       }
-
-       rl := rlimit32{}
-       if rlim.Cur == rlimInf64 {
-               rl.Cur = rlimInf32
-       } else if rlim.Cur < uint64(rlimInf32) {
-               rl.Cur = uint32(rlim.Cur)
-       } else {
-               return EINVAL
-       }
-       if rlim.Max == rlimInf64 {
-               rl.Max = rlimInf32
-       } else if rlim.Max < uint64(rlimInf32) {
-               rl.Max = uint32(rlim.Max)
-       } else {
-               return EINVAL
-       }
-
-       return setrlimit(resource, &rl)
-}
-
-func (r *PtraceRegs) PC() uint64 { return uint64(r.Regs[64]) }
-
-func (r *PtraceRegs) SetPC(pc uint64) { r.Regs[64] = uint32(pc) }
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint32(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
-
-//sys  poll(fds *PollFd, nfds int, timeout int) (n int, err error)
-
-func Poll(fds []PollFd, timeout int) (n int, err error) {
-       if len(fds) == 0 {
-               return poll(nil, 0, timeout)
-       }
-       return poll(&fds[0], len(fds), timeout)
-}
-
-func Getpagesize() int { return 4096 }
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go b/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go
deleted file mode 100644 (file)
index 60770f6..0000000
+++ /dev/null
@@ -1,135 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build linux
-// +build ppc64 ppc64le
-
-package unix
-
-//sys  EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
-//sys  Dup2(oldfd int, newfd int) (err error)
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Fstat(fd int, stat *Stat_t) (err error)
-//sys  Fstatfs(fd int, buf *Statfs_t) (err error)
-//sys  Ftruncate(fd int, length int64) (err error)
-//sysnb        Getegid() (egid int)
-//sysnb        Geteuid() (euid int)
-//sysnb        Getgid() (gid int)
-//sysnb        Getrlimit(resource int, rlim *Rlimit) (err error) = SYS_UGETRLIMIT
-//sysnb        Getuid() (uid int)
-//sysnb        InotifyInit() (fd int, err error)
-//sys  Ioperm(from int, num int, on int) (err error)
-//sys  Iopl(level int) (err error)
-//sys  Lchown(path string, uid int, gid int) (err error)
-//sys  Listen(s int, n int) (err error)
-//sys  Lstat(path string, stat *Stat_t) (err error)
-//sys  Pause() (err error)
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
-//sys  Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
-//sys  Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
-//sys  sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
-//sys  Setfsgid(gid int) (err error)
-//sys  Setfsuid(uid int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setresgid(rgid int, egid int, sgid int) (err error)
-//sysnb        Setresuid(ruid int, euid int, suid int) (err error)
-//sysnb        Setrlimit(resource int, rlim *Rlimit) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sys  Shutdown(fd int, how int) (err error)
-//sys  Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
-//sys  Stat(path string, stat *Stat_t) (err error)
-//sys  Statfs(path string, buf *Statfs_t) (err error)
-//sys  SyncFileRange(fd int, off int64, n int64, flags int) (err error) = SYS_SYNC_FILE_RANGE2
-//sys  Truncate(path string, length int64) (err error)
-//sys  accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
-//sys  accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
-//sys  bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sysnb        getgroups(n int, list *_Gid_t) (nn int, err error)
-//sysnb        setgroups(n int, list *_Gid_t) (err error)
-//sys  getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error)
-//sys  setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error)
-//sysnb        socket(domain int, typ int, proto int) (fd int, err error)
-//sysnb        socketpair(domain int, typ int, proto int, fd *[2]int32) (err error)
-//sysnb        getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sysnb        getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sys  recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
-//sys  sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
-//sys  sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
-//sys  mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
-
-func Getpagesize() int { return 65536 }
-
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-//sysnb        Time(t *Time_t) (tt Time_t, err error)
-
-//sys  Utime(path string, buf *Utimbuf) (err error)
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = nsec % 1e9
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Sec = nsec / 1e9
-       tv.Usec = nsec % 1e9 / 1e3
-       return
-}
-
-func (r *PtraceRegs) PC() uint64 { return r.Nip }
-
-func (r *PtraceRegs) SetPC(pc uint64) { r.Nip = pc }
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint64(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint64(length)
-}
-
-//sysnb pipe(p *[2]_C_int) (err error)
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe(&pp)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-//sysnb pipe2(p *[2]_C_int, flags int) (err error)
-
-func Pipe2(p []int, flags int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, flags)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-//sys  poll(fds *PollFd, nfds int, timeout int) (n int, err error)
-
-func Poll(fds []PollFd, timeout int) (n int, err error) {
-       if len(fds) == 0 {
-               return poll(nil, 0, timeout)
-       }
-       return poll(&fds[0], len(fds), timeout)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go b/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go
deleted file mode 100644 (file)
index 1708a4b..0000000
+++ /dev/null
@@ -1,328 +0,0 @@
-// Copyright 2016 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build s390x,linux
-
-package unix
-
-import (
-       "unsafe"
-)
-
-//sys  Dup2(oldfd int, newfd int) (err error)
-//sys  EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
-//sys  Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Fstat(fd int, stat *Stat_t) (err error)
-//sys  Fstatfs(fd int, buf *Statfs_t) (err error)
-//sys  Ftruncate(fd int, length int64) (err error)
-//sysnb        Getegid() (egid int)
-//sysnb        Geteuid() (euid int)
-//sysnb        Getgid() (gid int)
-//sysnb        Getrlimit(resource int, rlim *Rlimit) (err error)
-//sysnb        Getuid() (uid int)
-//sysnb        InotifyInit() (fd int, err error)
-//sys  Lchown(path string, uid int, gid int) (err error)
-//sys  Lstat(path string, stat *Stat_t) (err error)
-//sys  Pause() (err error)
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
-//sys  Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
-//sys  Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
-//sys  sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
-//sys  Setfsgid(gid int) (err error)
-//sys  Setfsuid(uid int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setresgid(rgid int, egid int, sgid int) (err error)
-//sysnb        Setresuid(ruid int, euid int, suid int) (err error)
-//sysnb        Setrlimit(resource int, rlim *Rlimit) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sys  Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
-//sys  Stat(path string, stat *Stat_t) (err error)
-//sys  Statfs(path string, buf *Statfs_t) (err error)
-//sys  SyncFileRange(fd int, off int64, n int64, flags int) (err error)
-//sys  Truncate(path string, length int64) (err error)
-//sysnb        getgroups(n int, list *_Gid_t) (nn int, err error)
-//sysnb        setgroups(n int, list *_Gid_t) (err error)
-
-func Getpagesize() int { return 4096 }
-
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-
-func Time(t *Time_t) (tt Time_t, err error) {
-       var tv Timeval
-       err = Gettimeofday(&tv)
-       if err != nil {
-               return 0, err
-       }
-       if t != nil {
-               *t = Time_t(tv.Sec)
-       }
-       return Time_t(tv.Sec), nil
-}
-
-//sys  Utime(path string, buf *Utimbuf) (err error)
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = nsec % 1e9
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Sec = nsec / 1e9
-       tv.Usec = nsec % 1e9 / 1e3
-       return
-}
-
-//sysnb pipe2(p *[2]_C_int, flags int) (err error)
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, 0) // pipe2 is the same as pipe when flags are set to 0.
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-func Pipe2(p []int, flags int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, flags)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-func Ioperm(from int, num int, on int) (err error) {
-       return ENOSYS
-}
-
-func Iopl(level int) (err error) {
-       return ENOSYS
-}
-
-func (r *PtraceRegs) PC() uint64 { return r.Psw.Addr }
-
-func (r *PtraceRegs) SetPC(pc uint64) { r.Psw.Addr = pc }
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint64(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint64(length)
-}
-
-// Linux on s390x uses the old mmap interface, which requires arguments to be passed in a struct.
-// mmap2 also requires arguments to be passed in a struct; it is currently not exposed in <asm/unistd.h>.
-func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
-       mmap_args := [6]uintptr{addr, length, uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset)}
-       r0, _, e1 := Syscall(SYS_MMAP, uintptr(unsafe.Pointer(&mmap_args[0])), 0, 0)
-       xaddr = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// On s390x Linux, all the socket calls go through an extra indirection.
-// The arguments to the underlying system call (SYS_SOCKETCALL) are the
-// number below and a pointer to an array of uintptr.
-const (
-       // see linux/net.h
-       netSocket      = 1
-       netBind        = 2
-       netConnect     = 3
-       netListen      = 4
-       netAccept      = 5
-       netGetSockName = 6
-       netGetPeerName = 7
-       netSocketPair  = 8
-       netSend        = 9
-       netRecv        = 10
-       netSendTo      = 11
-       netRecvFrom    = 12
-       netShutdown    = 13
-       netSetSockOpt  = 14
-       netGetSockOpt  = 15
-       netSendMsg     = 16
-       netRecvMsg     = 17
-       netAccept4     = 18
-       netRecvMMsg    = 19
-       netSendMMsg    = 20
-)
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (int, error) {
-       args := [3]uintptr{uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))}
-       fd, _, err := Syscall(SYS_SOCKETCALL, netAccept, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return 0, err
-       }
-       return int(fd), nil
-}
-
-func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (int, error) {
-       args := [4]uintptr{uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags)}
-       fd, _, err := Syscall(SYS_SOCKETCALL, netAccept4, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return 0, err
-       }
-       return int(fd), nil
-}
-
-func getsockname(s int, rsa *RawSockaddrAny, addrlen *_Socklen) error {
-       args := [3]uintptr{uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))}
-       _, _, err := RawSyscall(SYS_SOCKETCALL, netGetSockName, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return err
-       }
-       return nil
-}
-
-func getpeername(s int, rsa *RawSockaddrAny, addrlen *_Socklen) error {
-       args := [3]uintptr{uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))}
-       _, _, err := RawSyscall(SYS_SOCKETCALL, netGetPeerName, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return err
-       }
-       return nil
-}
-
-func socketpair(domain int, typ int, flags int, fd *[2]int32) error {
-       args := [4]uintptr{uintptr(domain), uintptr(typ), uintptr(flags), uintptr(unsafe.Pointer(fd))}
-       _, _, err := RawSyscall(SYS_SOCKETCALL, netSocketPair, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return err
-       }
-       return nil
-}
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) error {
-       args := [3]uintptr{uintptr(s), uintptr(addr), uintptr(addrlen)}
-       _, _, err := Syscall(SYS_SOCKETCALL, netBind, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return err
-       }
-       return nil
-}
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) error {
-       args := [3]uintptr{uintptr(s), uintptr(addr), uintptr(addrlen)}
-       _, _, err := Syscall(SYS_SOCKETCALL, netConnect, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return err
-       }
-       return nil
-}
-
-func socket(domain int, typ int, proto int) (int, error) {
-       args := [3]uintptr{uintptr(domain), uintptr(typ), uintptr(proto)}
-       fd, _, err := RawSyscall(SYS_SOCKETCALL, netSocket, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return 0, err
-       }
-       return int(fd), nil
-}
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) error {
-       args := [5]uintptr{uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen))}
-       _, _, err := Syscall(SYS_SOCKETCALL, netGetSockOpt, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return err
-       }
-       return nil
-}
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) error {
-       args := [4]uintptr{uintptr(s), uintptr(level), uintptr(name), uintptr(val)}
-       _, _, err := Syscall(SYS_SOCKETCALL, netSetSockOpt, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return err
-       }
-       return nil
-}
-
-func recvfrom(s int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (int, error) {
-       var base uintptr
-       if len(p) > 0 {
-               base = uintptr(unsafe.Pointer(&p[0]))
-       }
-       args := [6]uintptr{uintptr(s), base, uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen))}
-       n, _, err := Syscall(SYS_SOCKETCALL, netRecvFrom, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return 0, err
-       }
-       return int(n), nil
-}
-
-func sendto(s int, p []byte, flags int, to unsafe.Pointer, addrlen _Socklen) error {
-       var base uintptr
-       if len(p) > 0 {
-               base = uintptr(unsafe.Pointer(&p[0]))
-       }
-       args := [6]uintptr{uintptr(s), base, uintptr(len(p)), uintptr(flags), uintptr(to), uintptr(addrlen)}
-       _, _, err := Syscall(SYS_SOCKETCALL, netSendTo, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return err
-       }
-       return nil
-}
-
-func recvmsg(s int, msg *Msghdr, flags int) (int, error) {
-       args := [3]uintptr{uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)}
-       n, _, err := Syscall(SYS_SOCKETCALL, netRecvMsg, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return 0, err
-       }
-       return int(n), nil
-}
-
-func sendmsg(s int, msg *Msghdr, flags int) (int, error) {
-       args := [3]uintptr{uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)}
-       n, _, err := Syscall(SYS_SOCKETCALL, netSendMsg, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return 0, err
-       }
-       return int(n), nil
-}
-
-func Listen(s int, n int) error {
-       args := [2]uintptr{uintptr(s), uintptr(n)}
-       _, _, err := Syscall(SYS_SOCKETCALL, netListen, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return err
-       }
-       return nil
-}
-
-func Shutdown(s, how int) error {
-       args := [2]uintptr{uintptr(s), uintptr(how)}
-       _, _, err := Syscall(SYS_SOCKETCALL, netShutdown, uintptr(unsafe.Pointer(&args)), 0)
-       if err != 0 {
-               return err
-       }
-       return nil
-}
-
-//sys  poll(fds *PollFd, nfds int, timeout int) (n int, err error)
-
-func Poll(fds []PollFd, timeout int) (n int, err error) {
-       if len(fds) == 0 {
-               return poll(nil, 0, timeout)
-       }
-       return poll(&fds[0], len(fds), timeout)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go b/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go
deleted file mode 100644 (file)
index 20b7454..0000000
+++ /dev/null
@@ -1,169 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build sparc64,linux
-
-package unix
-
-import (
-       "sync/atomic"
-       "syscall"
-)
-
-//sys  EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
-//sys  Dup2(oldfd int, newfd int) (err error)
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Fstat(fd int, stat *Stat_t) (err error)
-//sys  Fstatfs(fd int, buf *Statfs_t) (err error)
-//sys  Ftruncate(fd int, length int64) (err error)
-//sysnb        Getegid() (egid int)
-//sysnb        Geteuid() (euid int)
-//sysnb        Getgid() (gid int)
-//sysnb        Getrlimit(resource int, rlim *Rlimit) (err error)
-//sysnb        Getuid() (uid int)
-//sysnb        InotifyInit() (fd int, err error)
-//sys  Lchown(path string, uid int, gid int) (err error)
-//sys  Listen(s int, n int) (err error)
-//sys  Lstat(path string, stat *Stat_t) (err error)
-//sys  Pause() (err error)
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
-//sys  Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
-//sys  Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
-//sys  sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
-//sys  Setfsgid(gid int) (err error)
-//sys  Setfsuid(uid int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setresgid(rgid int, egid int, sgid int) (err error)
-//sysnb        Setresuid(ruid int, euid int, suid int) (err error)
-//sysnb        Setrlimit(resource int, rlim *Rlimit) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sys  Shutdown(fd int, how int) (err error)
-//sys  Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
-//sys  Stat(path string, stat *Stat_t) (err error)
-//sys  Statfs(path string, buf *Statfs_t) (err error)
-//sys  SyncFileRange(fd int, off int64, n int64, flags int) (err error)
-//sys  Truncate(path string, length int64) (err error)
-//sys  accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
-//sys  accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
-//sys  bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
-//sysnb        getgroups(n int, list *_Gid_t) (nn int, err error)
-//sysnb        setgroups(n int, list *_Gid_t) (err error)
-//sys  getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error)
-//sys  setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error)
-//sysnb        socket(domain int, typ int, proto int) (fd int, err error)
-//sysnb        socketpair(domain int, typ int, proto int, fd *[2]int32) (err error)
-//sysnb        getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sysnb        getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
-//sys  recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
-//sys  sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
-//sys  recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
-//sys  sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
-//sys  mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
-
-func sysconf(name int) (n int64, err syscall.Errno)
-
-// pageSize caches the value of Getpagesize, since it can't change
-// once the system is booted.
-var pageSize int64 // accessed atomically
-
-func Getpagesize() int {
-       n := atomic.LoadInt64(&pageSize)
-       if n == 0 {
-               n, _ = sysconf(_SC_PAGESIZE)
-               atomic.StoreInt64(&pageSize, n)
-       }
-       return int(n)
-}
-
-func Ioperm(from int, num int, on int) (err error) {
-       return ENOSYS
-}
-
-func Iopl(level int) (err error) {
-       return ENOSYS
-}
-
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-
-func Time(t *Time_t) (tt Time_t, err error) {
-       var tv Timeval
-       err = Gettimeofday(&tv)
-       if err != nil {
-               return 0, err
-       }
-       if t != nil {
-               *t = Time_t(tv.Sec)
-       }
-       return Time_t(tv.Sec), nil
-}
-
-//sys  Utime(path string, buf *Utimbuf) (err error)
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = nsec % 1e9
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Sec = nsec / 1e9
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       return
-}
-
-func (r *PtraceRegs) PC() uint64 { return r.Tpc }
-
-func (r *PtraceRegs) SetPC(pc uint64) { r.Tpc = pc }
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint64(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint64(length)
-}
-
-//sysnb pipe(p *[2]_C_int) (err error)
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe(&pp)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-//sysnb pipe2(p *[2]_C_int, flags int) (err error)
-
-func Pipe2(p []int, flags int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe2(&pp, flags)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-//sys  poll(fds *PollFd, nfds int, timeout int) (n int, err error)
-
-func Poll(fds []PollFd, timeout int) (n int, err error) {
-       if len(fds) == 0 {
-               return poll(nil, 0, timeout)
-       }
-       return poll(&fds[0], len(fds), timeout)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_netbsd.go b/vendor/golang.org/x/sys/unix/syscall_netbsd.go
deleted file mode 100644 (file)
index 01f6a48..0000000
+++ /dev/null
@@ -1,476 +0,0 @@
-// Copyright 2009,2010 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// NetBSD system calls.
-// This file is compiled as ordinary Go code,
-// but it is also input to mksyscall,
-// which parses the //sys lines and generates system call stubs.
-// Note that sometimes we use a lowercase //sys name and wrap
-// it in our own nicer implementation, either here or in
-// syscall_bsd.go or syscall_unix.go.
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-type SockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [12]int8
-       raw    RawSockaddrDatalink
-}
-
-func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
-
-func sysctlNodes(mib []_C_int) (nodes []Sysctlnode, err error) {
-       var olen uintptr
-
-       // Get a list of all sysctl nodes below the given MIB by performing
-       // a sysctl for the given MIB with CTL_QUERY appended.
-       mib = append(mib, CTL_QUERY)
-       qnode := Sysctlnode{Flags: SYSCTL_VERS_1}
-       qp := (*byte)(unsafe.Pointer(&qnode))
-       sz := unsafe.Sizeof(qnode)
-       if err = sysctl(mib, nil, &olen, qp, sz); err != nil {
-               return nil, err
-       }
-
-       // Now that we know the size, get the actual nodes.
-       nodes = make([]Sysctlnode, olen/sz)
-       np := (*byte)(unsafe.Pointer(&nodes[0]))
-       if err = sysctl(mib, np, &olen, qp, sz); err != nil {
-               return nil, err
-       }
-
-       return nodes, nil
-}
-
-func nametomib(name string) (mib []_C_int, err error) {
-
-       // Split name into components.
-       var parts []string
-       last := 0
-       for i := 0; i < len(name); i++ {
-               if name[i] == '.' {
-                       parts = append(parts, name[last:i])
-                       last = i + 1
-               }
-       }
-       parts = append(parts, name[last:])
-
-       // Discover the nodes and construct the MIB OID.
-       for partno, part := range parts {
-               nodes, err := sysctlNodes(mib)
-               if err != nil {
-                       return nil, err
-               }
-               for _, node := range nodes {
-                       n := make([]byte, 0)
-                       for i := range node.Name {
-                               if node.Name[i] != 0 {
-                                       n = append(n, byte(node.Name[i]))
-                               }
-                       }
-                       if string(n) == part {
-                               mib = append(mib, _C_int(node.Num))
-                               break
-                       }
-               }
-               if len(mib) != partno+1 {
-                       return nil, EINVAL
-               }
-       }
-
-       return mib, nil
-}
-
-func direntIno(buf []byte) (uint64, bool) {
-       return readInt(buf, unsafe.Offsetof(Dirent{}.Fileno), unsafe.Sizeof(Dirent{}.Fileno))
-}
-
-func direntReclen(buf []byte) (uint64, bool) {
-       return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen))
-}
-
-func direntNamlen(buf []byte) (uint64, bool) {
-       return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen))
-}
-
-//sysnb pipe() (fd1 int, fd2 int, err error)
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       p[0], p[1], err = pipe()
-       return
-}
-
-//sys getdents(fd int, buf []byte) (n int, err error)
-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-       return getdents(fd, buf)
-}
-
-// TODO
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       return -1, ENOSYS
-}
-
-/*
- * Exposed directly
- */
-//sys  Access(path string, mode uint32) (err error)
-//sys  Adjtime(delta *Timeval, olddelta *Timeval) (err error)
-//sys  Chdir(path string) (err error)
-//sys  Chflags(path string, flags int) (err error)
-//sys  Chmod(path string, mode uint32) (err error)
-//sys  Chown(path string, uid int, gid int) (err error)
-//sys  Chroot(path string) (err error)
-//sys  Close(fd int) (err error)
-//sys  Dup(fd int) (nfd int, err error)
-//sys  Dup2(from int, to int) (err error)
-//sys  Exit(code int)
-//sys  Fchdir(fd int) (err error)
-//sys  Fchflags(fd int, flags int) (err error)
-//sys  Fchmod(fd int, mode uint32) (err error)
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Flock(fd int, how int) (err error)
-//sys  Fpathconf(fd int, name int) (val int, err error)
-//sys  Fstat(fd int, stat *Stat_t) (err error)
-//sys  Fsync(fd int) (err error)
-//sys  Ftruncate(fd int, length int64) (err error)
-//sysnb        Getegid() (egid int)
-//sysnb        Geteuid() (uid int)
-//sysnb        Getgid() (gid int)
-//sysnb        Getpgid(pid int) (pgid int, err error)
-//sysnb        Getpgrp() (pgrp int)
-//sysnb        Getpid() (pid int)
-//sysnb        Getppid() (ppid int)
-//sys  Getpriority(which int, who int) (prio int, err error)
-//sysnb        Getrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Getrusage(who int, rusage *Rusage) (err error)
-//sysnb        Getsid(pid int) (sid int, err error)
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-//sysnb        Getuid() (uid int)
-//sys  Issetugid() (tainted bool)
-//sys  Kill(pid int, signum syscall.Signal) (err error)
-//sys  Kqueue() (fd int, err error)
-//sys  Lchown(path string, uid int, gid int) (err error)
-//sys  Link(path string, link string) (err error)
-//sys  Listen(s int, backlog int) (err error)
-//sys  Lstat(path string, stat *Stat_t) (err error)
-//sys  Mkdir(path string, mode uint32) (err error)
-//sys  Mkfifo(path string, mode uint32) (err error)
-//sys  Mknod(path string, mode uint32, dev int) (err error)
-//sys  Mlock(b []byte) (err error)
-//sys  Mlockall(flags int) (err error)
-//sys  Mprotect(b []byte, prot int) (err error)
-//sys  Munlock(b []byte) (err error)
-//sys  Munlockall() (err error)
-//sys  Nanosleep(time *Timespec, leftover *Timespec) (err error)
-//sys  Open(path string, mode int, perm uint32) (fd int, err error)
-//sys  Pathconf(path string, name int) (val int, err error)
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error)
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error)
-//sys  read(fd int, p []byte) (n int, err error)
-//sys  Readlink(path string, buf []byte) (n int, err error)
-//sys  Rename(from string, to string) (err error)
-//sys  Revoke(path string) (err error)
-//sys  Rmdir(path string) (err error)
-//sys  Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
-//sys  Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
-//sysnb        Setegid(egid int) (err error)
-//sysnb        Seteuid(euid int) (err error)
-//sysnb        Setgid(gid int) (err error)
-//sysnb        Setpgid(pid int, pgid int) (err error)
-//sys  Setpriority(which int, who int, prio int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sysnb        Setrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Setsid() (pid int, err error)
-//sysnb        Settimeofday(tp *Timeval) (err error)
-//sysnb        Setuid(uid int) (err error)
-//sys  Stat(path string, stat *Stat_t) (err error)
-//sys  Symlink(path string, link string) (err error)
-//sys  Sync() (err error)
-//sys  Truncate(path string, length int64) (err error)
-//sys  Umask(newmask int) (oldmask int)
-//sys  Unlink(path string) (err error)
-//sys  Unmount(path string, flags int) (err error)
-//sys  write(fd int, p []byte) (n int, err error)
-//sys  mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
-//sys  munmap(addr uintptr, length uintptr) (err error)
-//sys  readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
-//sys  writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
-
-/*
- * Unimplemented
- */
-// ____semctl13
-// __clone
-// __fhopen40
-// __fhstat40
-// __fhstatvfs140
-// __fstat30
-// __getcwd
-// __getfh30
-// __getlogin
-// __lstat30
-// __mount50
-// __msgctl13
-// __msync13
-// __ntp_gettime30
-// __posix_chown
-// __posix_fadvise50
-// __posix_fchown
-// __posix_lchown
-// __posix_rename
-// __setlogin
-// __shmctl13
-// __sigaction_sigtramp
-// __sigaltstack14
-// __sigpending14
-// __sigprocmask14
-// __sigsuspend14
-// __sigtimedwait
-// __stat30
-// __syscall
-// __vfork14
-// _ksem_close
-// _ksem_destroy
-// _ksem_getvalue
-// _ksem_init
-// _ksem_open
-// _ksem_post
-// _ksem_trywait
-// _ksem_unlink
-// _ksem_wait
-// _lwp_continue
-// _lwp_create
-// _lwp_ctl
-// _lwp_detach
-// _lwp_exit
-// _lwp_getname
-// _lwp_getprivate
-// _lwp_kill
-// _lwp_park
-// _lwp_self
-// _lwp_setname
-// _lwp_setprivate
-// _lwp_suspend
-// _lwp_unpark
-// _lwp_unpark_all
-// _lwp_wait
-// _lwp_wakeup
-// _pset_bind
-// _sched_getaffinity
-// _sched_getparam
-// _sched_setaffinity
-// _sched_setparam
-// acct
-// aio_cancel
-// aio_error
-// aio_fsync
-// aio_read
-// aio_return
-// aio_suspend
-// aio_write
-// break
-// clock_getres
-// clock_gettime
-// clock_settime
-// compat_09_ogetdomainname
-// compat_09_osetdomainname
-// compat_09_ouname
-// compat_10_omsgsys
-// compat_10_osemsys
-// compat_10_oshmsys
-// compat_12_fstat12
-// compat_12_getdirentries
-// compat_12_lstat12
-// compat_12_msync
-// compat_12_oreboot
-// compat_12_oswapon
-// compat_12_stat12
-// compat_13_sigaction13
-// compat_13_sigaltstack13
-// compat_13_sigpending13
-// compat_13_sigprocmask13
-// compat_13_sigreturn13
-// compat_13_sigsuspend13
-// compat_14___semctl
-// compat_14_msgctl
-// compat_14_shmctl
-// compat_16___sigaction14
-// compat_16___sigreturn14
-// compat_20_fhstatfs
-// compat_20_fstatfs
-// compat_20_getfsstat
-// compat_20_statfs
-// compat_30___fhstat30
-// compat_30___fstat13
-// compat_30___lstat13
-// compat_30___stat13
-// compat_30_fhopen
-// compat_30_fhstat
-// compat_30_fhstatvfs1
-// compat_30_getdents
-// compat_30_getfh
-// compat_30_ntp_gettime
-// compat_30_socket
-// compat_40_mount
-// compat_43_fstat43
-// compat_43_lstat43
-// compat_43_oaccept
-// compat_43_ocreat
-// compat_43_oftruncate
-// compat_43_ogetdirentries
-// compat_43_ogetdtablesize
-// compat_43_ogethostid
-// compat_43_ogethostname
-// compat_43_ogetkerninfo
-// compat_43_ogetpagesize
-// compat_43_ogetpeername
-// compat_43_ogetrlimit
-// compat_43_ogetsockname
-// compat_43_okillpg
-// compat_43_olseek
-// compat_43_ommap
-// compat_43_oquota
-// compat_43_orecv
-// compat_43_orecvfrom
-// compat_43_orecvmsg
-// compat_43_osend
-// compat_43_osendmsg
-// compat_43_osethostid
-// compat_43_osethostname
-// compat_43_osetrlimit
-// compat_43_osigblock
-// compat_43_osigsetmask
-// compat_43_osigstack
-// compat_43_osigvec
-// compat_43_otruncate
-// compat_43_owait
-// compat_43_stat43
-// execve
-// extattr_delete_fd
-// extattr_delete_file
-// extattr_delete_link
-// extattr_get_fd
-// extattr_get_file
-// extattr_get_link
-// extattr_list_fd
-// extattr_list_file
-// extattr_list_link
-// extattr_set_fd
-// extattr_set_file
-// extattr_set_link
-// extattrctl
-// fchroot
-// fdatasync
-// fgetxattr
-// fktrace
-// flistxattr
-// fork
-// fremovexattr
-// fsetxattr
-// fstatvfs1
-// fsync_range
-// getcontext
-// getitimer
-// getvfsstat
-// getxattr
-// ioctl
-// ktrace
-// lchflags
-// lchmod
-// lfs_bmapv
-// lfs_markv
-// lfs_segclean
-// lfs_segwait
-// lgetxattr
-// lio_listio
-// listxattr
-// llistxattr
-// lremovexattr
-// lseek
-// lsetxattr
-// lutimes
-// madvise
-// mincore
-// minherit
-// modctl
-// mq_close
-// mq_getattr
-// mq_notify
-// mq_open
-// mq_receive
-// mq_send
-// mq_setattr
-// mq_timedreceive
-// mq_timedsend
-// mq_unlink
-// mremap
-// msgget
-// msgrcv
-// msgsnd
-// nfssvc
-// ntp_adjtime
-// pmc_control
-// pmc_get_info
-// poll
-// pollts
-// preadv
-// profil
-// pselect
-// pset_assign
-// pset_create
-// pset_destroy
-// ptrace
-// pwritev
-// quotactl
-// rasctl
-// readv
-// reboot
-// removexattr
-// sa_enable
-// sa_preempt
-// sa_register
-// sa_setconcurrency
-// sa_stacks
-// sa_yield
-// sbrk
-// sched_yield
-// semconfig
-// semget
-// semop
-// setcontext
-// setitimer
-// setxattr
-// shmat
-// shmdt
-// shmget
-// sstk
-// statvfs1
-// swapctl
-// sysarch
-// syscall
-// timer_create
-// timer_delete
-// timer_getoverrun
-// timer_gettime
-// timer_settime
-// undelete
-// utrace
-// uuidgen
-// vadvise
-// vfork
-// writev
diff --git a/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go b/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go
deleted file mode 100644 (file)
index afaca09..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build 386,netbsd
-
-package unix
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = int64(nsec / 1e9)
-       ts.Nsec = int32(nsec % 1e9)
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       tv.Sec = int64(nsec / 1e9)
-       return
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint32(fd)
-       k.Filter = uint32(mode)
-       k.Flags = uint32(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint32(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go
deleted file mode 100644 (file)
index a6ff04c..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build amd64,netbsd
-
-package unix
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = int64(nsec / 1e9)
-       ts.Nsec = int64(nsec % 1e9)
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       tv.Sec = int64(nsec / 1e9)
-       return
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint64(fd)
-       k.Filter = uint32(mode)
-       k.Flags = uint32(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go b/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go
deleted file mode 100644 (file)
index 68a6969..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2013 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build arm,netbsd
-
-package unix
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = int64(nsec / 1e9)
-       ts.Nsec = int32(nsec % 1e9)
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       tv.Sec = int64(nsec / 1e9)
-       return
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint32(fd)
-       k.Filter = uint32(mode)
-       k.Flags = uint32(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint32(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_no_getwd.go b/vendor/golang.org/x/sys/unix/syscall_no_getwd.go
deleted file mode 100644 (file)
index 530792e..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-// Copyright 2013 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build dragonfly freebsd netbsd openbsd
-
-package unix
-
-const ImplementsGetwd = false
-
-func Getwd() (string, error) { return "", ENOTSUP }
diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd.go b/vendor/golang.org/x/sys/unix/syscall_openbsd.go
deleted file mode 100644 (file)
index c0d2b6c..0000000
+++ /dev/null
@@ -1,287 +0,0 @@
-// Copyright 2009,2010 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// OpenBSD system calls.
-// This file is compiled as ordinary Go code,
-// but it is also input to mksyscall,
-// which parses the //sys lines and generates system call stubs.
-// Note that sometimes we use a lowercase //sys name and wrap
-// it in our own nicer implementation, either here or in
-// syscall_bsd.go or syscall_unix.go.
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-type SockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [24]int8
-       raw    RawSockaddrDatalink
-}
-
-func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
-
-func nametomib(name string) (mib []_C_int, err error) {
-
-       // Perform lookup via a binary search
-       left := 0
-       right := len(sysctlMib) - 1
-       for {
-               idx := left + (right-left)/2
-               switch {
-               case name == sysctlMib[idx].ctlname:
-                       return sysctlMib[idx].ctloid, nil
-               case name > sysctlMib[idx].ctlname:
-                       left = idx + 1
-               default:
-                       right = idx - 1
-               }
-               if left > right {
-                       break
-               }
-       }
-       return nil, EINVAL
-}
-
-func direntIno(buf []byte) (uint64, bool) {
-       return readInt(buf, unsafe.Offsetof(Dirent{}.Fileno), unsafe.Sizeof(Dirent{}.Fileno))
-}
-
-func direntReclen(buf []byte) (uint64, bool) {
-       return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen))
-}
-
-func direntNamlen(buf []byte) (uint64, bool) {
-       return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen))
-}
-
-//sysnb pipe(p *[2]_C_int) (err error)
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       err = pipe(&pp)
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return
-}
-
-//sys getdents(fd int, buf []byte) (n int, err error)
-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-       return getdents(fd, buf)
-}
-
-// TODO
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       return -1, ENOSYS
-}
-
-func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       var bufsize uintptr
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-               bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf))
-       }
-       r0, _, e1 := Syscall(SYS_GETFSSTAT, uintptr(_p0), bufsize, uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-/*
- * Exposed directly
- */
-//sys  Access(path string, mode uint32) (err error)
-//sys  Adjtime(delta *Timeval, olddelta *Timeval) (err error)
-//sys  Chdir(path string) (err error)
-//sys  Chflags(path string, flags int) (err error)
-//sys  Chmod(path string, mode uint32) (err error)
-//sys  Chown(path string, uid int, gid int) (err error)
-//sys  Chroot(path string) (err error)
-//sys  Close(fd int) (err error)
-//sys  Dup(fd int) (nfd int, err error)
-//sys  Dup2(from int, to int) (err error)
-//sys  Exit(code int)
-//sys  Fchdir(fd int) (err error)
-//sys  Fchflags(fd int, flags int) (err error)
-//sys  Fchmod(fd int, mode uint32) (err error)
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Flock(fd int, how int) (err error)
-//sys  Fpathconf(fd int, name int) (val int, err error)
-//sys  Fstat(fd int, stat *Stat_t) (err error)
-//sys  Fstatfs(fd int, stat *Statfs_t) (err error)
-//sys  Fsync(fd int) (err error)
-//sys  Ftruncate(fd int, length int64) (err error)
-//sysnb        Getegid() (egid int)
-//sysnb        Geteuid() (uid int)
-//sysnb        Getgid() (gid int)
-//sysnb        Getpgid(pid int) (pgid int, err error)
-//sysnb        Getpgrp() (pgrp int)
-//sysnb        Getpid() (pid int)
-//sysnb        Getppid() (ppid int)
-//sys  Getpriority(which int, who int) (prio int, err error)
-//sysnb        Getrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Getrusage(who int, rusage *Rusage) (err error)
-//sysnb        Getsid(pid int) (sid int, err error)
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-//sysnb        Getuid() (uid int)
-//sys  Issetugid() (tainted bool)
-//sys  Kill(pid int, signum syscall.Signal) (err error)
-//sys  Kqueue() (fd int, err error)
-//sys  Lchown(path string, uid int, gid int) (err error)
-//sys  Link(path string, link string) (err error)
-//sys  Listen(s int, backlog int) (err error)
-//sys  Lstat(path string, stat *Stat_t) (err error)
-//sys  Mkdir(path string, mode uint32) (err error)
-//sys  Mkfifo(path string, mode uint32) (err error)
-//sys  Mknod(path string, mode uint32, dev int) (err error)
-//sys  Mlock(b []byte) (err error)
-//sys  Mlockall(flags int) (err error)
-//sys  Mprotect(b []byte, prot int) (err error)
-//sys  Munlock(b []byte) (err error)
-//sys  Munlockall() (err error)
-//sys  Nanosleep(time *Timespec, leftover *Timespec) (err error)
-//sys  Open(path string, mode int, perm uint32) (fd int, err error)
-//sys  Pathconf(path string, name int) (val int, err error)
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error)
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error)
-//sys  read(fd int, p []byte) (n int, err error)
-//sys  Readlink(path string, buf []byte) (n int, err error)
-//sys  Rename(from string, to string) (err error)
-//sys  Revoke(path string) (err error)
-//sys  Rmdir(path string) (err error)
-//sys  Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
-//sys  Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
-//sysnb        Setegid(egid int) (err error)
-//sysnb        Seteuid(euid int) (err error)
-//sysnb        Setgid(gid int) (err error)
-//sys  Setlogin(name string) (err error)
-//sysnb        Setpgid(pid int, pgid int) (err error)
-//sys  Setpriority(which int, who int, prio int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sysnb        Setresgid(rgid int, egid int, sgid int) (err error)
-//sysnb        Setresuid(ruid int, euid int, suid int) (err error)
-//sysnb        Setrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Setsid() (pid int, err error)
-//sysnb        Settimeofday(tp *Timeval) (err error)
-//sysnb        Setuid(uid int) (err error)
-//sys  Stat(path string, stat *Stat_t) (err error)
-//sys  Statfs(path string, stat *Statfs_t) (err error)
-//sys  Symlink(path string, link string) (err error)
-//sys  Sync() (err error)
-//sys  Truncate(path string, length int64) (err error)
-//sys  Umask(newmask int) (oldmask int)
-//sys  Unlink(path string) (err error)
-//sys  Unmount(path string, flags int) (err error)
-//sys  write(fd int, p []byte) (n int, err error)
-//sys  mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
-//sys  munmap(addr uintptr, length uintptr) (err error)
-//sys  readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
-//sys  writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
-
-/*
- * Unimplemented
- */
-// __getcwd
-// __semctl
-// __syscall
-// __sysctl
-// adjfreq
-// break
-// clock_getres
-// clock_gettime
-// clock_settime
-// closefrom
-// execve
-// faccessat
-// fchmodat
-// fchownat
-// fcntl
-// fhopen
-// fhstat
-// fhstatfs
-// fork
-// fstatat
-// futimens
-// getfh
-// getgid
-// getitimer
-// getlogin
-// getresgid
-// getresuid
-// getrtable
-// getthrid
-// ioctl
-// ktrace
-// lfs_bmapv
-// lfs_markv
-// lfs_segclean
-// lfs_segwait
-// linkat
-// mincore
-// minherit
-// mkdirat
-// mkfifoat
-// mknodat
-// mount
-// mquery
-// msgctl
-// msgget
-// msgrcv
-// msgsnd
-// nfssvc
-// nnpfspioctl
-// openat
-// poll
-// preadv
-// profil
-// pwritev
-// quotactl
-// readlinkat
-// readv
-// reboot
-// renameat
-// rfork
-// sched_yield
-// semget
-// semop
-// setgroups
-// setitimer
-// setrtable
-// setsockopt
-// shmat
-// shmctl
-// shmdt
-// shmget
-// sigaction
-// sigaltstack
-// sigpending
-// sigprocmask
-// sigreturn
-// sigsuspend
-// symlinkat
-// sysarch
-// syscall
-// threxit
-// thrsigdivert
-// thrsleep
-// thrwakeup
-// unlinkat
-// utimensat
-// vfork
-// writev
diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go b/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go
deleted file mode 100644 (file)
index a66ddc5..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build 386,openbsd
-
-package unix
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = int64(nsec / 1e9)
-       ts.Nsec = int32(nsec % 1e9)
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = int32(nsec % 1e9 / 1e3)
-       tv.Sec = int64(nsec / 1e9)
-       return
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint32(fd)
-       k.Filter = int16(mode)
-       k.Flags = uint16(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint32(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go
deleted file mode 100644 (file)
index 0776c1f..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build amd64,openbsd
-
-package unix
-
-func Getpagesize() int { return 4096 }
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = nsec % 1e9
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = nsec % 1e9 / 1e3
-       tv.Sec = nsec / 1e9
-       return
-}
-
-func SetKevent(k *Kevent_t, fd, mode, flags int) {
-       k.Ident = uint64(fd)
-       k.Filter = int16(mode)
-       k.Flags = uint16(flags)
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (msghdr *Msghdr) SetControllen(length int) {
-       msghdr.Controllen = uint32(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_solaris.go b/vendor/golang.org/x/sys/unix/syscall_solaris.go
deleted file mode 100644 (file)
index 3cb1d0b..0000000
+++ /dev/null
@@ -1,713 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Solaris system calls.
-// This file is compiled as ordinary Go code,
-// but it is also input to mksyscall,
-// which parses the //sys lines and generates system call stubs.
-// Note that sometimes we use a lowercase //sys name and wrap
-// it in our own nicer implementation, either here or in
-// syscall_solaris.go or syscall_unix.go.
-
-package unix
-
-import (
-       "sync/atomic"
-       "syscall"
-       "unsafe"
-)
-
-// Implemented in runtime/syscall_solaris.go.
-type syscallFunc uintptr
-
-func rawSysvicall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
-func sysvicall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
-
-type SockaddrDatalink struct {
-       Family uint16
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [244]int8
-       raw    RawSockaddrDatalink
-}
-
-func clen(n []byte) int {
-       for i := 0; i < len(n); i++ {
-               if n[i] == 0 {
-                       return i
-               }
-       }
-       return len(n)
-}
-
-func direntIno(buf []byte) (uint64, bool) {
-       return readInt(buf, unsafe.Offsetof(Dirent{}.Ino), unsafe.Sizeof(Dirent{}.Ino))
-}
-
-func direntReclen(buf []byte) (uint64, bool) {
-       return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen))
-}
-
-func direntNamlen(buf []byte) (uint64, bool) {
-       reclen, ok := direntReclen(buf)
-       if !ok {
-               return 0, false
-       }
-       return reclen - uint64(unsafe.Offsetof(Dirent{}.Name)), true
-}
-
-//sysnb        pipe(p *[2]_C_int) (n int, err error)
-
-func Pipe(p []int) (err error) {
-       if len(p) != 2 {
-               return EINVAL
-       }
-       var pp [2]_C_int
-       n, err := pipe(&pp)
-       if n != 0 {
-               return err
-       }
-       p[0] = int(pp[0])
-       p[1] = int(pp[1])
-       return nil
-}
-
-func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       if sa.Port < 0 || sa.Port > 0xFFFF {
-               return nil, 0, EINVAL
-       }
-       sa.raw.Family = AF_INET
-       p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
-       p[0] = byte(sa.Port >> 8)
-       p[1] = byte(sa.Port)
-       for i := 0; i < len(sa.Addr); i++ {
-               sa.raw.Addr[i] = sa.Addr[i]
-       }
-       return unsafe.Pointer(&sa.raw), SizeofSockaddrInet4, nil
-}
-
-func (sa *SockaddrInet6) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       if sa.Port < 0 || sa.Port > 0xFFFF {
-               return nil, 0, EINVAL
-       }
-       sa.raw.Family = AF_INET6
-       p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
-       p[0] = byte(sa.Port >> 8)
-       p[1] = byte(sa.Port)
-       sa.raw.Scope_id = sa.ZoneId
-       for i := 0; i < len(sa.Addr); i++ {
-               sa.raw.Addr[i] = sa.Addr[i]
-       }
-       return unsafe.Pointer(&sa.raw), SizeofSockaddrInet6, nil
-}
-
-func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error) {
-       name := sa.Name
-       n := len(name)
-       if n >= len(sa.raw.Path) {
-               return nil, 0, EINVAL
-       }
-       sa.raw.Family = AF_UNIX
-       for i := 0; i < n; i++ {
-               sa.raw.Path[i] = int8(name[i])
-       }
-       // length is family (uint16), name, NUL.
-       sl := _Socklen(2)
-       if n > 0 {
-               sl += _Socklen(n) + 1
-       }
-       if sa.raw.Path[0] == '@' {
-               sa.raw.Path[0] = 0
-               // Don't count trailing NUL for abstract address.
-               sl--
-       }
-
-       return unsafe.Pointer(&sa.raw), sl, nil
-}
-
-//sys  getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) = libsocket.getsockname
-
-func Getsockname(fd int) (sa Sockaddr, err error) {
-       var rsa RawSockaddrAny
-       var len _Socklen = SizeofSockaddrAny
-       if err = getsockname(fd, &rsa, &len); err != nil {
-               return
-       }
-       return anyToSockaddr(&rsa)
-}
-
-const ImplementsGetwd = true
-
-//sys  Getcwd(buf []byte) (n int, err error)
-
-func Getwd() (wd string, err error) {
-       var buf [PathMax]byte
-       // Getcwd will return an error if it failed for any reason.
-       _, err = Getcwd(buf[0:])
-       if err != nil {
-               return "", err
-       }
-       n := clen(buf[:])
-       if n < 1 {
-               return "", EINVAL
-       }
-       return string(buf[:n]), nil
-}
-
-/*
- * Wrapped
- */
-
-//sysnb        getgroups(ngid int, gid *_Gid_t) (n int, err error)
-//sysnb        setgroups(ngid int, gid *_Gid_t) (err error)
-
-func Getgroups() (gids []int, err error) {
-       n, err := getgroups(0, nil)
-       // Check for error and sanity check group count.  Newer versions of
-       // Solaris allow up to 1024 (NGROUPS_MAX).
-       if n < 0 || n > 1024 {
-               if err != nil {
-                       return nil, err
-               }
-               return nil, EINVAL
-       } else if n == 0 {
-               return nil, nil
-       }
-
-       a := make([]_Gid_t, n)
-       n, err = getgroups(n, &a[0])
-       if n == -1 {
-               return nil, err
-       }
-       gids = make([]int, n)
-       for i, v := range a[0:n] {
-               gids[i] = int(v)
-       }
-       return
-}
-
-func Setgroups(gids []int) (err error) {
-       if len(gids) == 0 {
-               return setgroups(0, nil)
-       }
-
-       a := make([]_Gid_t, len(gids))
-       for i, v := range gids {
-               a[i] = _Gid_t(v)
-       }
-       return setgroups(len(a), &a[0])
-}
-
-func ReadDirent(fd int, buf []byte) (n int, err error) {
-       // Final argument is (basep *uintptr) and the syscall doesn't take nil.
-       // TODO(rsc): Can we use a single global basep for all calls?
-       return Getdents(fd, buf, new(uintptr))
-}
-
-// Wait status is 7 bits at bottom, either 0 (exited),
-// 0x7F (stopped), or a signal number that caused an exit.
-// The 0x80 bit is whether there was a core dump.
-// An extra number (exit code, signal causing a stop)
-// is in the high bits.
-
-type WaitStatus uint32
-
-const (
-       mask  = 0x7F
-       core  = 0x80
-       shift = 8
-
-       exited  = 0
-       stopped = 0x7F
-)
-
-func (w WaitStatus) Exited() bool { return w&mask == exited }
-
-func (w WaitStatus) ExitStatus() int {
-       if w&mask != exited {
-               return -1
-       }
-       return int(w >> shift)
-}
-
-func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != 0 }
-
-func (w WaitStatus) Signal() syscall.Signal {
-       sig := syscall.Signal(w & mask)
-       if sig == stopped || sig == 0 {
-               return -1
-       }
-       return sig
-}
-
-func (w WaitStatus) CoreDump() bool { return w.Signaled() && w&core != 0 }
-
-func (w WaitStatus) Stopped() bool { return w&mask == stopped && syscall.Signal(w>>shift) != SIGSTOP }
-
-func (w WaitStatus) Continued() bool { return w&mask == stopped && syscall.Signal(w>>shift) == SIGSTOP }
-
-func (w WaitStatus) StopSignal() syscall.Signal {
-       if !w.Stopped() {
-               return -1
-       }
-       return syscall.Signal(w>>shift) & 0xFF
-}
-
-func (w WaitStatus) TrapCause() int { return -1 }
-
-//sys  wait4(pid int32, statusp *_C_int, options int, rusage *Rusage) (wpid int32, err error)
-
-func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (int, error) {
-       var status _C_int
-       rpid, err := wait4(int32(pid), &status, options, rusage)
-       wpid := int(rpid)
-       if wpid == -1 {
-               return wpid, err
-       }
-       if wstatus != nil {
-               *wstatus = WaitStatus(status)
-       }
-       return wpid, nil
-}
-
-//sys  gethostname(buf []byte) (n int, err error)
-
-func Gethostname() (name string, err error) {
-       var buf [MaxHostNameLen]byte
-       n, err := gethostname(buf[:])
-       if n != 0 {
-               return "", err
-       }
-       n = clen(buf[:])
-       if n < 1 {
-               return "", EFAULT
-       }
-       return string(buf[:n]), nil
-}
-
-//sys  utimes(path string, times *[2]Timeval) (err error)
-
-func Utimes(path string, tv []Timeval) (err error) {
-       if tv == nil {
-               return utimes(path, nil)
-       }
-       if len(tv) != 2 {
-               return EINVAL
-       }
-       return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
-}
-
-//sys  utimensat(fd int, path string, times *[2]Timespec, flag int) (err error)
-
-func UtimesNano(path string, ts []Timespec) error {
-       if ts == nil {
-               return utimensat(AT_FDCWD, path, nil, 0)
-       }
-       if len(ts) != 2 {
-               return EINVAL
-       }
-       return utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
-}
-
-func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error {
-       if ts == nil {
-               return utimensat(dirfd, path, nil, flags)
-       }
-       if len(ts) != 2 {
-               return EINVAL
-       }
-       return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), flags)
-}
-
-//sys  fcntl(fd int, cmd int, arg int) (val int, err error)
-
-// FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
-func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(unsafe.Pointer(lk)), 0, 0, 0)
-       if e1 != 0 {
-               return e1
-       }
-       return nil
-}
-
-//sys  futimesat(fildes int, path *byte, times *[2]Timeval) (err error)
-
-func Futimesat(dirfd int, path string, tv []Timeval) error {
-       pathp, err := BytePtrFromString(path)
-       if err != nil {
-               return err
-       }
-       if tv == nil {
-               return futimesat(dirfd, pathp, nil)
-       }
-       if len(tv) != 2 {
-               return EINVAL
-       }
-       return futimesat(dirfd, pathp, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
-}
-
-// Solaris doesn't have an futimes function because it allows NULL to be
-// specified as the path for futimesat.  However, Go doesn't like
-// NULL-style string interfaces, so this simple wrapper is provided.
-func Futimes(fd int, tv []Timeval) error {
-       if tv == nil {
-               return futimesat(fd, nil, nil)
-       }
-       if len(tv) != 2 {
-               return EINVAL
-       }
-       return futimesat(fd, nil, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
-}
-
-func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
-       switch rsa.Addr.Family {
-       case AF_UNIX:
-               pp := (*RawSockaddrUnix)(unsafe.Pointer(rsa))
-               sa := new(SockaddrUnix)
-               // Assume path ends at NUL.
-               // This is not technically the Solaris semantics for
-               // abstract Unix domain sockets -- they are supposed
-               // to be uninterpreted fixed-size binary blobs -- but
-               // everyone uses this convention.
-               n := 0
-               for n < len(pp.Path) && pp.Path[n] != 0 {
-                       n++
-               }
-               bytes := (*[10000]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
-               sa.Name = string(bytes)
-               return sa, nil
-
-       case AF_INET:
-               pp := (*RawSockaddrInet4)(unsafe.Pointer(rsa))
-               sa := new(SockaddrInet4)
-               p := (*[2]byte)(unsafe.Pointer(&pp.Port))
-               sa.Port = int(p[0])<<8 + int(p[1])
-               for i := 0; i < len(sa.Addr); i++ {
-                       sa.Addr[i] = pp.Addr[i]
-               }
-               return sa, nil
-
-       case AF_INET6:
-               pp := (*RawSockaddrInet6)(unsafe.Pointer(rsa))
-               sa := new(SockaddrInet6)
-               p := (*[2]byte)(unsafe.Pointer(&pp.Port))
-               sa.Port = int(p[0])<<8 + int(p[1])
-               sa.ZoneId = pp.Scope_id
-               for i := 0; i < len(sa.Addr); i++ {
-                       sa.Addr[i] = pp.Addr[i]
-               }
-               return sa, nil
-       }
-       return nil, EAFNOSUPPORT
-}
-
-//sys  accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) = libsocket.accept
-
-func Accept(fd int) (nfd int, sa Sockaddr, err error) {
-       var rsa RawSockaddrAny
-       var len _Socklen = SizeofSockaddrAny
-       nfd, err = accept(fd, &rsa, &len)
-       if nfd == -1 {
-               return
-       }
-       sa, err = anyToSockaddr(&rsa)
-       if err != nil {
-               Close(nfd)
-               nfd = 0
-       }
-       return
-}
-
-//sys  recvmsg(s int, msg *Msghdr, flags int) (n int, err error) = libsocket.recvmsg
-
-func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) {
-       var msg Msghdr
-       var rsa RawSockaddrAny
-       msg.Name = (*byte)(unsafe.Pointer(&rsa))
-       msg.Namelen = uint32(SizeofSockaddrAny)
-       var iov Iovec
-       if len(p) > 0 {
-               iov.Base = (*int8)(unsafe.Pointer(&p[0]))
-               iov.SetLen(len(p))
-       }
-       var dummy int8
-       if len(oob) > 0 {
-               // receive at least one normal byte
-               if len(p) == 0 {
-                       iov.Base = &dummy
-                       iov.SetLen(1)
-               }
-               msg.Accrights = (*int8)(unsafe.Pointer(&oob[0]))
-       }
-       msg.Iov = &iov
-       msg.Iovlen = 1
-       if n, err = recvmsg(fd, &msg, flags); n == -1 {
-               return
-       }
-       oobn = int(msg.Accrightslen)
-       // source address is only specified if the socket is unconnected
-       if rsa.Addr.Family != AF_UNSPEC {
-               from, err = anyToSockaddr(&rsa)
-       }
-       return
-}
-
-func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error) {
-       _, err = SendmsgN(fd, p, oob, to, flags)
-       return
-}
-
-//sys  sendmsg(s int, msg *Msghdr, flags int) (n int, err error) = libsocket.sendmsg
-
-func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) {
-       var ptr unsafe.Pointer
-       var salen _Socklen
-       if to != nil {
-               ptr, salen, err = to.sockaddr()
-               if err != nil {
-                       return 0, err
-               }
-       }
-       var msg Msghdr
-       msg.Name = (*byte)(unsafe.Pointer(ptr))
-       msg.Namelen = uint32(salen)
-       var iov Iovec
-       if len(p) > 0 {
-               iov.Base = (*int8)(unsafe.Pointer(&p[0]))
-               iov.SetLen(len(p))
-       }
-       var dummy int8
-       if len(oob) > 0 {
-               // send at least one normal byte
-               if len(p) == 0 {
-                       iov.Base = &dummy
-                       iov.SetLen(1)
-               }
-               msg.Accrights = (*int8)(unsafe.Pointer(&oob[0]))
-       }
-       msg.Iov = &iov
-       msg.Iovlen = 1
-       if n, err = sendmsg(fd, &msg, flags); err != nil {
-               return 0, err
-       }
-       if len(oob) > 0 && len(p) == 0 {
-               n = 0
-       }
-       return n, nil
-}
-
-//sys  acct(path *byte) (err error)
-
-func Acct(path string) (err error) {
-       if len(path) == 0 {
-               // Assume caller wants to disable accounting.
-               return acct(nil)
-       }
-
-       pathp, err := BytePtrFromString(path)
-       if err != nil {
-               return err
-       }
-       return acct(pathp)
-}
-
-/*
- * Expose the ioctl function
- */
-
-//sys  ioctl(fd int, req int, arg uintptr) (err error)
-
-func IoctlSetInt(fd int, req int, value int) (err error) {
-       return ioctl(fd, req, uintptr(value))
-}
-
-func IoctlSetWinsize(fd int, req int, value *Winsize) (err error) {
-       return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
-}
-
-func IoctlSetTermios(fd int, req int, value *Termios) (err error) {
-       return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
-}
-
-func IoctlSetTermio(fd int, req int, value *Termio) (err error) {
-       return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
-}
-
-func IoctlGetInt(fd int, req int) (int, error) {
-       var value int
-       err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
-       return value, err
-}
-
-func IoctlGetWinsize(fd int, req int) (*Winsize, error) {
-       var value Winsize
-       err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
-       return &value, err
-}
-
-func IoctlGetTermios(fd int, req int) (*Termios, error) {
-       var value Termios
-       err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
-       return &value, err
-}
-
-func IoctlGetTermio(fd int, req int) (*Termio, error) {
-       var value Termio
-       err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
-       return &value, err
-}
-
-/*
- * Exposed directly
- */
-//sys  Access(path string, mode uint32) (err error)
-//sys  Adjtime(delta *Timeval, olddelta *Timeval) (err error)
-//sys  Chdir(path string) (err error)
-//sys  Chmod(path string, mode uint32) (err error)
-//sys  Chown(path string, uid int, gid int) (err error)
-//sys  Chroot(path string) (err error)
-//sys  Close(fd int) (err error)
-//sys  Creat(path string, mode uint32) (fd int, err error)
-//sys  Dup(fd int) (nfd int, err error)
-//sys  Dup2(oldfd int, newfd int) (err error)
-//sys  Exit(code int)
-//sys  Fchdir(fd int) (err error)
-//sys  Fchmod(fd int, mode uint32) (err error)
-//sys  Fchmodat(dirfd int, path string, mode uint32, flags int) (err error)
-//sys  Fchown(fd int, uid int, gid int) (err error)
-//sys  Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
-//sys  Fdatasync(fd int) (err error)
-//sys  Fpathconf(fd int, name int) (val int, err error)
-//sys  Fstat(fd int, stat *Stat_t) (err error)
-//sys  Getdents(fd int, buf []byte, basep *uintptr) (n int, err error)
-//sysnb        Getgid() (gid int)
-//sysnb        Getpid() (pid int)
-//sysnb        Getpgid(pid int) (pgid int, err error)
-//sysnb        Getpgrp() (pgid int, err error)
-//sys  Geteuid() (euid int)
-//sys  Getegid() (egid int)
-//sys  Getppid() (ppid int)
-//sys  Getpriority(which int, who int) (n int, err error)
-//sysnb        Getrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Getrusage(who int, rusage *Rusage) (err error)
-//sysnb        Gettimeofday(tv *Timeval) (err error)
-//sysnb        Getuid() (uid int)
-//sys  Kill(pid int, signum syscall.Signal) (err error)
-//sys  Lchown(path string, uid int, gid int) (err error)
-//sys  Link(path string, link string) (err error)
-//sys  Listen(s int, backlog int) (err error) = libsocket.listen
-//sys  Lstat(path string, stat *Stat_t) (err error)
-//sys  Madvise(b []byte, advice int) (err error)
-//sys  Mkdir(path string, mode uint32) (err error)
-//sys  Mkdirat(dirfd int, path string, mode uint32) (err error)
-//sys  Mkfifo(path string, mode uint32) (err error)
-//sys  Mkfifoat(dirfd int, path string, mode uint32) (err error)
-//sys  Mknod(path string, mode uint32, dev int) (err error)
-//sys  Mknodat(dirfd int, path string, mode uint32, dev int) (err error)
-//sys  Mlock(b []byte) (err error)
-//sys  Mlockall(flags int) (err error)
-//sys  Mprotect(b []byte, prot int) (err error)
-//sys  Munlock(b []byte) (err error)
-//sys  Munlockall() (err error)
-//sys  Nanosleep(time *Timespec, leftover *Timespec) (err error)
-//sys  Open(path string, mode int, perm uint32) (fd int, err error)
-//sys  Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error)
-//sys  Pathconf(path string, name int) (val int, err error)
-//sys  Pause() (err error)
-//sys  Pread(fd int, p []byte, offset int64) (n int, err error)
-//sys  Pwrite(fd int, p []byte, offset int64) (n int, err error)
-//sys  read(fd int, p []byte) (n int, err error)
-//sys  Readlink(path string, buf []byte) (n int, err error)
-//sys  Rename(from string, to string) (err error)
-//sys  Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
-//sys  Rmdir(path string) (err error)
-//sys  Seek(fd int, offset int64, whence int) (newoffset int64, err error) = lseek
-//sysnb        Setegid(egid int) (err error)
-//sysnb        Seteuid(euid int) (err error)
-//sysnb        Setgid(gid int) (err error)
-//sys  Sethostname(p []byte) (err error)
-//sysnb        Setpgid(pid int, pgid int) (err error)
-//sys  Setpriority(which int, who int, prio int) (err error)
-//sysnb        Setregid(rgid int, egid int) (err error)
-//sysnb        Setreuid(ruid int, euid int) (err error)
-//sysnb        Setrlimit(which int, lim *Rlimit) (err error)
-//sysnb        Setsid() (pid int, err error)
-//sysnb        Setuid(uid int) (err error)
-//sys  Shutdown(s int, how int) (err error) = libsocket.shutdown
-//sys  Stat(path string, stat *Stat_t) (err error)
-//sys  Symlink(path string, link string) (err error)
-//sys  Sync() (err error)
-//sysnb        Times(tms *Tms) (ticks uintptr, err error)
-//sys  Truncate(path string, length int64) (err error)
-//sys  Fsync(fd int) (err error)
-//sys  Ftruncate(fd int, length int64) (err error)
-//sys  Umask(mask int) (oldmask int)
-//sysnb        Uname(buf *Utsname) (err error)
-//sys  Unmount(target string, flags int) (err error) = libc.umount
-//sys  Unlink(path string) (err error)
-//sys  Unlinkat(dirfd int, path string, flags int) (err error)
-//sys  Ustat(dev int, ubuf *Ustat_t) (err error)
-//sys  Utime(path string, buf *Utimbuf) (err error)
-//sys  bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) = libsocket.bind
-//sys  connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) = libsocket.connect
-//sys  mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
-//sys  munmap(addr uintptr, length uintptr) (err error)
-//sys  sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) = libsocket.sendto
-//sys  socket(domain int, typ int, proto int) (fd int, err error) = libsocket.socket
-//sysnb        socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) = libsocket.socketpair
-//sys  write(fd int, p []byte) (n int, err error)
-//sys  getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) = libsocket.getsockopt
-//sysnb        getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) = libsocket.getpeername
-//sys  setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) = libsocket.setsockopt
-//sys  recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) = libsocket.recvfrom
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procread)), 3, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf), 0, 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procwrite)), 3, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf), 0, 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-var mapper = &mmapper{
-       active: make(map[*byte][]byte),
-       mmap:   mmap,
-       munmap: munmap,
-}
-
-func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
-       return mapper.Mmap(fd, offset, length, prot, flags)
-}
-
-func Munmap(b []byte) (err error) {
-       return mapper.Munmap(b)
-}
-
-//sys  sysconf(name int) (n int64, err error)
-
-// pageSize caches the value of Getpagesize, since it can't change
-// once the system is booted.
-var pageSize int64 // accessed atomically
-
-func Getpagesize() int {
-       n := atomic.LoadInt64(&pageSize)
-       if n == 0 {
-               n, _ = sysconf(_SC_PAGESIZE)
-               atomic.StoreInt64(&pageSize, n)
-       }
-       return int(n)
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go b/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go
deleted file mode 100644 (file)
index 5aff62c..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build amd64,solaris
-
-package unix
-
-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-
-func NsecToTimespec(nsec int64) (ts Timespec) {
-       ts.Sec = nsec / 1e9
-       ts.Nsec = nsec % 1e9
-       return
-}
-
-func NsecToTimeval(nsec int64) (tv Timeval) {
-       nsec += 999 // round up to microsecond
-       tv.Usec = nsec % 1e9 / 1e3
-       tv.Sec = int64(nsec / 1e9)
-       return
-}
-
-func (iov *Iovec) SetLen(length int) {
-       iov.Len = uint64(length)
-}
-
-func (cmsg *Cmsghdr) SetLen(length int) {
-       cmsg.Len = uint32(length)
-}
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       // TODO(aram): implement this, see issue 5847.
-       panic("unimplemented")
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_unix.go b/vendor/golang.org/x/sys/unix/syscall_unix.go
deleted file mode 100644 (file)
index 8a5237d..0000000
+++ /dev/null
@@ -1,292 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
-
-package unix
-
-import (
-       "runtime"
-       "sync"
-       "syscall"
-       "unsafe"
-)
-
-var (
-       Stdin  = 0
-       Stdout = 1
-       Stderr = 2
-)
-
-const (
-       darwin64Bit    = runtime.GOOS == "darwin" && sizeofPtr == 8
-       dragonfly64Bit = runtime.GOOS == "dragonfly" && sizeofPtr == 8
-       netbsd32Bit    = runtime.GOOS == "netbsd" && sizeofPtr == 4
-)
-
-// Do the interface allocations only once for common
-// Errno values.
-var (
-       errEAGAIN error = syscall.EAGAIN
-       errEINVAL error = syscall.EINVAL
-       errENOENT error = syscall.ENOENT
-)
-
-// errnoErr returns common boxed Errno values, to prevent
-// allocations at runtime.
-func errnoErr(e syscall.Errno) error {
-       switch e {
-       case 0:
-               return nil
-       case EAGAIN:
-               return errEAGAIN
-       case EINVAL:
-               return errEINVAL
-       case ENOENT:
-               return errENOENT
-       }
-       return e
-}
-
-// Mmap manager, for use by operating system-specific implementations.
-
-type mmapper struct {
-       sync.Mutex
-       active map[*byte][]byte // active mappings; key is last byte in mapping
-       mmap   func(addr, length uintptr, prot, flags, fd int, offset int64) (uintptr, error)
-       munmap func(addr uintptr, length uintptr) error
-}
-
-func (m *mmapper) Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
-       if length <= 0 {
-               return nil, EINVAL
-       }
-
-       // Map the requested memory.
-       addr, errno := m.mmap(0, uintptr(length), prot, flags, fd, offset)
-       if errno != nil {
-               return nil, errno
-       }
-
-       // Slice memory layout
-       var sl = struct {
-               addr uintptr
-               len  int
-               cap  int
-       }{addr, length, length}
-
-       // Use unsafe to turn sl into a []byte.
-       b := *(*[]byte)(unsafe.Pointer(&sl))
-
-       // Register mapping in m and return it.
-       p := &b[cap(b)-1]
-       m.Lock()
-       defer m.Unlock()
-       m.active[p] = b
-       return b, nil
-}
-
-func (m *mmapper) Munmap(data []byte) (err error) {
-       if len(data) == 0 || len(data) != cap(data) {
-               return EINVAL
-       }
-
-       // Find the base of the mapping.
-       p := &data[cap(data)-1]
-       m.Lock()
-       defer m.Unlock()
-       b := m.active[p]
-       if b == nil || &b[0] != &data[0] {
-               return EINVAL
-       }
-
-       // Unmap the memory and update m.
-       if errno := m.munmap(uintptr(unsafe.Pointer(&b[0])), uintptr(len(b))); errno != nil {
-               return errno
-       }
-       delete(m.active, p)
-       return nil
-}
-
-func Read(fd int, p []byte) (n int, err error) {
-       n, err = read(fd, p)
-       if raceenabled {
-               if n > 0 {
-                       raceWriteRange(unsafe.Pointer(&p[0]), n)
-               }
-               if err == nil {
-                       raceAcquire(unsafe.Pointer(&ioSync))
-               }
-       }
-       return
-}
-
-func Write(fd int, p []byte) (n int, err error) {
-       if raceenabled {
-               raceReleaseMerge(unsafe.Pointer(&ioSync))
-       }
-       n, err = write(fd, p)
-       if raceenabled && n > 0 {
-               raceReadRange(unsafe.Pointer(&p[0]), n)
-       }
-       return
-}
-
-// For testing: clients can set this flag to force
-// creation of IPv6 sockets to return EAFNOSUPPORT.
-var SocketDisableIPv6 bool
-
-type Sockaddr interface {
-       sockaddr() (ptr unsafe.Pointer, len _Socklen, err error) // lowercase; only we can define Sockaddrs
-}
-
-type SockaddrInet4 struct {
-       Port int
-       Addr [4]byte
-       raw  RawSockaddrInet4
-}
-
-type SockaddrInet6 struct {
-       Port   int
-       ZoneId uint32
-       Addr   [16]byte
-       raw    RawSockaddrInet6
-}
-
-type SockaddrUnix struct {
-       Name string
-       raw  RawSockaddrUnix
-}
-
-func Bind(fd int, sa Sockaddr) (err error) {
-       ptr, n, err := sa.sockaddr()
-       if err != nil {
-               return err
-       }
-       return bind(fd, ptr, n)
-}
-
-func Connect(fd int, sa Sockaddr) (err error) {
-       ptr, n, err := sa.sockaddr()
-       if err != nil {
-               return err
-       }
-       return connect(fd, ptr, n)
-}
-
-func Getpeername(fd int) (sa Sockaddr, err error) {
-       var rsa RawSockaddrAny
-       var len _Socklen = SizeofSockaddrAny
-       if err = getpeername(fd, &rsa, &len); err != nil {
-               return
-       }
-       return anyToSockaddr(&rsa)
-}
-
-func GetsockoptInt(fd, level, opt int) (value int, err error) {
-       var n int32
-       vallen := _Socklen(4)
-       err = getsockopt(fd, level, opt, unsafe.Pointer(&n), &vallen)
-       return int(n), err
-}
-
-func Recvfrom(fd int, p []byte, flags int) (n int, from Sockaddr, err error) {
-       var rsa RawSockaddrAny
-       var len _Socklen = SizeofSockaddrAny
-       if n, err = recvfrom(fd, p, flags, &rsa, &len); err != nil {
-               return
-       }
-       if rsa.Addr.Family != AF_UNSPEC {
-               from, err = anyToSockaddr(&rsa)
-       }
-       return
-}
-
-func Sendto(fd int, p []byte, flags int, to Sockaddr) (err error) {
-       ptr, n, err := to.sockaddr()
-       if err != nil {
-               return err
-       }
-       return sendto(fd, p, flags, ptr, n)
-}
-
-func SetsockoptByte(fd, level, opt int, value byte) (err error) {
-       return setsockopt(fd, level, opt, unsafe.Pointer(&value), 1)
-}
-
-func SetsockoptInt(fd, level, opt int, value int) (err error) {
-       var n = int32(value)
-       return setsockopt(fd, level, opt, unsafe.Pointer(&n), 4)
-}
-
-func SetsockoptInet4Addr(fd, level, opt int, value [4]byte) (err error) {
-       return setsockopt(fd, level, opt, unsafe.Pointer(&value[0]), 4)
-}
-
-func SetsockoptIPMreq(fd, level, opt int, mreq *IPMreq) (err error) {
-       return setsockopt(fd, level, opt, unsafe.Pointer(mreq), SizeofIPMreq)
-}
-
-func SetsockoptIPv6Mreq(fd, level, opt int, mreq *IPv6Mreq) (err error) {
-       return setsockopt(fd, level, opt, unsafe.Pointer(mreq), SizeofIPv6Mreq)
-}
-
-func SetsockoptICMPv6Filter(fd, level, opt int, filter *ICMPv6Filter) error {
-       return setsockopt(fd, level, opt, unsafe.Pointer(filter), SizeofICMPv6Filter)
-}
-
-func SetsockoptLinger(fd, level, opt int, l *Linger) (err error) {
-       return setsockopt(fd, level, opt, unsafe.Pointer(l), SizeofLinger)
-}
-
-func SetsockoptString(fd, level, opt int, s string) (err error) {
-       return setsockopt(fd, level, opt, unsafe.Pointer(&[]byte(s)[0]), uintptr(len(s)))
-}
-
-func SetsockoptTimeval(fd, level, opt int, tv *Timeval) (err error) {
-       return setsockopt(fd, level, opt, unsafe.Pointer(tv), unsafe.Sizeof(*tv))
-}
-
-func Socket(domain, typ, proto int) (fd int, err error) {
-       if domain == AF_INET6 && SocketDisableIPv6 {
-               return -1, EAFNOSUPPORT
-       }
-       fd, err = socket(domain, typ, proto)
-       return
-}
-
-func Socketpair(domain, typ, proto int) (fd [2]int, err error) {
-       var fdx [2]int32
-       err = socketpair(domain, typ, proto, &fdx)
-       if err == nil {
-               fd[0] = int(fdx[0])
-               fd[1] = int(fdx[1])
-       }
-       return
-}
-
-func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       if raceenabled {
-               raceReleaseMerge(unsafe.Pointer(&ioSync))
-       }
-       return sendfile(outfd, infd, offset, count)
-}
-
-var ioSync int64
-
-func CloseOnExec(fd int) { fcntl(fd, F_SETFD, FD_CLOEXEC) }
-
-func SetNonblock(fd int, nonblocking bool) (err error) {
-       flag, err := fcntl(fd, F_GETFL, 0)
-       if err != nil {
-               return err
-       }
-       if nonblocking {
-               flag |= O_NONBLOCK
-       } else {
-               flag &= ^O_NONBLOCK
-       }
-       _, err = fcntl(fd, F_SETFL, flag)
-       return err
-}
diff --git a/vendor/golang.org/x/sys/unix/syscall_unix_gc.go b/vendor/golang.org/x/sys/unix/syscall_unix_gc.go
deleted file mode 100644 (file)
index 4cb8e8e..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright 2016 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
-// +build !gccgo
-
-package unix
-
-import "syscall"
-
-func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
-func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
-func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
-func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
diff --git a/vendor/golang.org/x/sys/unix/types_darwin.go b/vendor/golang.org/x/sys/unix/types_darwin.go
deleted file mode 100644 (file)
index a350817..0000000
+++ /dev/null
@@ -1,250 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build ignore
-
-/*
-Input to cgo -godefs.  See README.md
-*/
-
-// +godefs map struct_in_addr [4]byte /* in_addr */
-// +godefs map struct_in6_addr [16]byte /* in6_addr */
-
-package unix
-
-/*
-#define __DARWIN_UNIX03 0
-#define KERNEL
-#define _DARWIN_USE_64_BIT_INODE
-#include <dirent.h>
-#include <fcntl.h>
-#include <signal.h>
-#include <termios.h>
-#include <unistd.h>
-#include <mach/mach.h>
-#include <mach/message.h>
-#include <sys/event.h>
-#include <sys/mman.h>
-#include <sys/mount.h>
-#include <sys/param.h>
-#include <sys/ptrace.h>
-#include <sys/resource.h>
-#include <sys/select.h>
-#include <sys/signal.h>
-#include <sys/socket.h>
-#include <sys/stat.h>
-#include <sys/time.h>
-#include <sys/types.h>
-#include <sys/uio.h>
-#include <sys/un.h>
-#include <sys/wait.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_dl.h>
-#include <net/if_var.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <netinet/icmp6.h>
-#include <netinet/tcp.h>
-
-enum {
-       sizeofPtr = sizeof(void*),
-};
-
-union sockaddr_all {
-       struct sockaddr s1;     // this one gets used for fields
-       struct sockaddr_in s2;  // these pad it out
-       struct sockaddr_in6 s3;
-       struct sockaddr_un s4;
-       struct sockaddr_dl s5;
-};
-
-struct sockaddr_any {
-       struct sockaddr addr;
-       char pad[sizeof(union sockaddr_all) - sizeof(struct sockaddr)];
-};
-
-*/
-import "C"
-
-// Machine characteristics; for internal use.
-
-const (
-       sizeofPtr      = C.sizeofPtr
-       sizeofShort    = C.sizeof_short
-       sizeofInt      = C.sizeof_int
-       sizeofLong     = C.sizeof_long
-       sizeofLongLong = C.sizeof_longlong
-)
-
-// Basic types
-
-type (
-       _C_short     C.short
-       _C_int       C.int
-       _C_long      C.long
-       _C_long_long C.longlong
-)
-
-// Time
-
-type Timespec C.struct_timespec
-
-type Timeval C.struct_timeval
-
-type Timeval32 C.struct_timeval32
-
-// Processes
-
-type Rusage C.struct_rusage
-
-type Rlimit C.struct_rlimit
-
-type _Gid_t C.gid_t
-
-// Files
-
-type Stat_t C.struct_stat64
-
-type Statfs_t C.struct_statfs64
-
-type Flock_t C.struct_flock
-
-type Fstore_t C.struct_fstore
-
-type Radvisory_t C.struct_radvisory
-
-type Fbootstraptransfer_t C.struct_fbootstraptransfer
-
-type Log2phys_t C.struct_log2phys
-
-type Fsid C.struct_fsid
-
-type Dirent C.struct_dirent
-
-// Sockets
-
-type RawSockaddrInet4 C.struct_sockaddr_in
-
-type RawSockaddrInet6 C.struct_sockaddr_in6
-
-type RawSockaddrUnix C.struct_sockaddr_un
-
-type RawSockaddrDatalink C.struct_sockaddr_dl
-
-type RawSockaddr C.struct_sockaddr
-
-type RawSockaddrAny C.struct_sockaddr_any
-
-type _Socklen C.socklen_t
-
-type Linger C.struct_linger
-
-type Iovec C.struct_iovec
-
-type IPMreq C.struct_ip_mreq
-
-type IPv6Mreq C.struct_ipv6_mreq
-
-type Msghdr C.struct_msghdr
-
-type Cmsghdr C.struct_cmsghdr
-
-type Inet4Pktinfo C.struct_in_pktinfo
-
-type Inet6Pktinfo C.struct_in6_pktinfo
-
-type IPv6MTUInfo C.struct_ip6_mtuinfo
-
-type ICMPv6Filter C.struct_icmp6_filter
-
-const (
-       SizeofSockaddrInet4    = C.sizeof_struct_sockaddr_in
-       SizeofSockaddrInet6    = C.sizeof_struct_sockaddr_in6
-       SizeofSockaddrAny      = C.sizeof_struct_sockaddr_any
-       SizeofSockaddrUnix     = C.sizeof_struct_sockaddr_un
-       SizeofSockaddrDatalink = C.sizeof_struct_sockaddr_dl
-       SizeofLinger           = C.sizeof_struct_linger
-       SizeofIPMreq           = C.sizeof_struct_ip_mreq
-       SizeofIPv6Mreq         = C.sizeof_struct_ipv6_mreq
-       SizeofMsghdr           = C.sizeof_struct_msghdr
-       SizeofCmsghdr          = C.sizeof_struct_cmsghdr
-       SizeofInet4Pktinfo     = C.sizeof_struct_in_pktinfo
-       SizeofInet6Pktinfo     = C.sizeof_struct_in6_pktinfo
-       SizeofIPv6MTUInfo      = C.sizeof_struct_ip6_mtuinfo
-       SizeofICMPv6Filter     = C.sizeof_struct_icmp6_filter
-)
-
-// Ptrace requests
-
-const (
-       PTRACE_TRACEME = C.PT_TRACE_ME
-       PTRACE_CONT    = C.PT_CONTINUE
-       PTRACE_KILL    = C.PT_KILL
-)
-
-// Events (kqueue, kevent)
-
-type Kevent_t C.struct_kevent
-
-// Select
-
-type FdSet C.fd_set
-
-// Routing and interface messages
-
-const (
-       SizeofIfMsghdr    = C.sizeof_struct_if_msghdr
-       SizeofIfData      = C.sizeof_struct_if_data
-       SizeofIfaMsghdr   = C.sizeof_struct_ifa_msghdr
-       SizeofIfmaMsghdr  = C.sizeof_struct_ifma_msghdr
-       SizeofIfmaMsghdr2 = C.sizeof_struct_ifma_msghdr2
-       SizeofRtMsghdr    = C.sizeof_struct_rt_msghdr
-       SizeofRtMetrics   = C.sizeof_struct_rt_metrics
-)
-
-type IfMsghdr C.struct_if_msghdr
-
-type IfData C.struct_if_data
-
-type IfaMsghdr C.struct_ifa_msghdr
-
-type IfmaMsghdr C.struct_ifma_msghdr
-
-type IfmaMsghdr2 C.struct_ifma_msghdr2
-
-type RtMsghdr C.struct_rt_msghdr
-
-type RtMetrics C.struct_rt_metrics
-
-// Berkeley packet filter
-
-const (
-       SizeofBpfVersion = C.sizeof_struct_bpf_version
-       SizeofBpfStat    = C.sizeof_struct_bpf_stat
-       SizeofBpfProgram = C.sizeof_struct_bpf_program
-       SizeofBpfInsn    = C.sizeof_struct_bpf_insn
-       SizeofBpfHdr     = C.sizeof_struct_bpf_hdr
-)
-
-type BpfVersion C.struct_bpf_version
-
-type BpfStat C.struct_bpf_stat
-
-type BpfProgram C.struct_bpf_program
-
-type BpfInsn C.struct_bpf_insn
-
-type BpfHdr C.struct_bpf_hdr
-
-// Terminal handling
-
-type Termios C.struct_termios
-
-// fchmodat-like syscalls.
-
-const (
-       AT_FDCWD            = C.AT_FDCWD
-       AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW
-)
diff --git a/vendor/golang.org/x/sys/unix/types_dragonfly.go b/vendor/golang.org/x/sys/unix/types_dragonfly.go
deleted file mode 100644 (file)
index a818704..0000000
+++ /dev/null
@@ -1,242 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build ignore
-
-/*
-Input to cgo -godefs.  See README.md
-*/
-
-// +godefs map struct_in_addr [4]byte /* in_addr */
-// +godefs map struct_in6_addr [16]byte /* in6_addr */
-
-package unix
-
-/*
-#define KERNEL
-#include <dirent.h>
-#include <fcntl.h>
-#include <signal.h>
-#include <termios.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <sys/event.h>
-#include <sys/mman.h>
-#include <sys/mount.h>
-#include <sys/param.h>
-#include <sys/ptrace.h>
-#include <sys/resource.h>
-#include <sys/select.h>
-#include <sys/signal.h>
-#include <sys/socket.h>
-#include <sys/stat.h>
-#include <sys/time.h>
-#include <sys/types.h>
-#include <sys/un.h>
-#include <sys/wait.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_dl.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <netinet/icmp6.h>
-#include <netinet/tcp.h>
-
-enum {
-       sizeofPtr = sizeof(void*),
-};
-
-union sockaddr_all {
-       struct sockaddr s1;     // this one gets used for fields
-       struct sockaddr_in s2;  // these pad it out
-       struct sockaddr_in6 s3;
-       struct sockaddr_un s4;
-       struct sockaddr_dl s5;
-};
-
-struct sockaddr_any {
-       struct sockaddr addr;
-       char pad[sizeof(union sockaddr_all) - sizeof(struct sockaddr)];
-};
-
-*/
-import "C"
-
-// Machine characteristics; for internal use.
-
-const (
-       sizeofPtr      = C.sizeofPtr
-       sizeofShort    = C.sizeof_short
-       sizeofInt      = C.sizeof_int
-       sizeofLong     = C.sizeof_long
-       sizeofLongLong = C.sizeof_longlong
-)
-
-// Basic types
-
-type (
-       _C_short     C.short
-       _C_int       C.int
-       _C_long      C.long
-       _C_long_long C.longlong
-)
-
-// Time
-
-type Timespec C.struct_timespec
-
-type Timeval C.struct_timeval
-
-// Processes
-
-type Rusage C.struct_rusage
-
-type Rlimit C.struct_rlimit
-
-type _Gid_t C.gid_t
-
-// Files
-
-const ( // Directory mode bits
-       S_IFMT   = C.S_IFMT
-       S_IFIFO  = C.S_IFIFO
-       S_IFCHR  = C.S_IFCHR
-       S_IFDIR  = C.S_IFDIR
-       S_IFBLK  = C.S_IFBLK
-       S_IFREG  = C.S_IFREG
-       S_IFLNK  = C.S_IFLNK
-       S_IFSOCK = C.S_IFSOCK
-       S_ISUID  = C.S_ISUID
-       S_ISGID  = C.S_ISGID
-       S_ISVTX  = C.S_ISVTX
-       S_IRUSR  = C.S_IRUSR
-       S_IWUSR  = C.S_IWUSR
-       S_IXUSR  = C.S_IXUSR
-)
-
-type Stat_t C.struct_stat
-
-type Statfs_t C.struct_statfs
-
-type Flock_t C.struct_flock
-
-type Dirent C.struct_dirent
-
-type Fsid C.struct_fsid
-
-// Sockets
-
-type RawSockaddrInet4 C.struct_sockaddr_in
-
-type RawSockaddrInet6 C.struct_sockaddr_in6
-
-type RawSockaddrUnix C.struct_sockaddr_un
-
-type RawSockaddrDatalink C.struct_sockaddr_dl
-
-type RawSockaddr C.struct_sockaddr
-
-type RawSockaddrAny C.struct_sockaddr_any
-
-type _Socklen C.socklen_t
-
-type Linger C.struct_linger
-
-type Iovec C.struct_iovec
-
-type IPMreq C.struct_ip_mreq
-
-type IPv6Mreq C.struct_ipv6_mreq
-
-type Msghdr C.struct_msghdr
-
-type Cmsghdr C.struct_cmsghdr
-
-type Inet6Pktinfo C.struct_in6_pktinfo
-
-type IPv6MTUInfo C.struct_ip6_mtuinfo
-
-type ICMPv6Filter C.struct_icmp6_filter
-
-const (
-       SizeofSockaddrInet4    = C.sizeof_struct_sockaddr_in
-       SizeofSockaddrInet6    = C.sizeof_struct_sockaddr_in6
-       SizeofSockaddrAny      = C.sizeof_struct_sockaddr_any
-       SizeofSockaddrUnix     = C.sizeof_struct_sockaddr_un
-       SizeofSockaddrDatalink = C.sizeof_struct_sockaddr_dl
-       SizeofLinger           = C.sizeof_struct_linger
-       SizeofIPMreq           = C.sizeof_struct_ip_mreq
-       SizeofIPv6Mreq         = C.sizeof_struct_ipv6_mreq
-       SizeofMsghdr           = C.sizeof_struct_msghdr
-       SizeofCmsghdr          = C.sizeof_struct_cmsghdr
-       SizeofInet6Pktinfo     = C.sizeof_struct_in6_pktinfo
-       SizeofIPv6MTUInfo      = C.sizeof_struct_ip6_mtuinfo
-       SizeofICMPv6Filter     = C.sizeof_struct_icmp6_filter
-)
-
-// Ptrace requests
-
-const (
-       PTRACE_TRACEME = C.PT_TRACE_ME
-       PTRACE_CONT    = C.PT_CONTINUE
-       PTRACE_KILL    = C.PT_KILL
-)
-
-// Events (kqueue, kevent)
-
-type Kevent_t C.struct_kevent
-
-// Select
-
-type FdSet C.fd_set
-
-// Routing and interface messages
-
-const (
-       SizeofIfMsghdr         = C.sizeof_struct_if_msghdr
-       SizeofIfData           = C.sizeof_struct_if_data
-       SizeofIfaMsghdr        = C.sizeof_struct_ifa_msghdr
-       SizeofIfmaMsghdr       = C.sizeof_struct_ifma_msghdr
-       SizeofIfAnnounceMsghdr = C.sizeof_struct_if_announcemsghdr
-       SizeofRtMsghdr         = C.sizeof_struct_rt_msghdr
-       SizeofRtMetrics        = C.sizeof_struct_rt_metrics
-)
-
-type IfMsghdr C.struct_if_msghdr
-
-type IfData C.struct_if_data
-
-type IfaMsghdr C.struct_ifa_msghdr
-
-type IfmaMsghdr C.struct_ifma_msghdr
-
-type IfAnnounceMsghdr C.struct_if_announcemsghdr
-
-type RtMsghdr C.struct_rt_msghdr
-
-type RtMetrics C.struct_rt_metrics
-
-// Berkeley packet filter
-
-const (
-       SizeofBpfVersion = C.sizeof_struct_bpf_version
-       SizeofBpfStat    = C.sizeof_struct_bpf_stat
-       SizeofBpfProgram = C.sizeof_struct_bpf_program
-       SizeofBpfInsn    = C.sizeof_struct_bpf_insn
-       SizeofBpfHdr     = C.sizeof_struct_bpf_hdr
-)
-
-type BpfVersion C.struct_bpf_version
-
-type BpfStat C.struct_bpf_stat
-
-type BpfProgram C.struct_bpf_program
-
-type BpfInsn C.struct_bpf_insn
-
-type BpfHdr C.struct_bpf_hdr
-
-// Terminal handling
-
-type Termios C.struct_termios
diff --git a/vendor/golang.org/x/sys/unix/types_freebsd.go b/vendor/golang.org/x/sys/unix/types_freebsd.go
deleted file mode 100644 (file)
index 972e69a..0000000
+++ /dev/null
@@ -1,353 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build ignore
-
-/*
-Input to cgo -godefs.  See README.md
-*/
-
-// +godefs map struct_in_addr [4]byte /* in_addr */
-// +godefs map struct_in6_addr [16]byte /* in6_addr */
-
-package unix
-
-/*
-#define KERNEL
-#include <dirent.h>
-#include <fcntl.h>
-#include <signal.h>
-#include <termios.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <sys/event.h>
-#include <sys/mman.h>
-#include <sys/mount.h>
-#include <sys/param.h>
-#include <sys/ptrace.h>
-#include <sys/resource.h>
-#include <sys/select.h>
-#include <sys/signal.h>
-#include <sys/socket.h>
-#include <sys/stat.h>
-#include <sys/time.h>
-#include <sys/types.h>
-#include <sys/un.h>
-#include <sys/wait.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_dl.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <netinet/icmp6.h>
-#include <netinet/tcp.h>
-
-enum {
-       sizeofPtr = sizeof(void*),
-};
-
-union sockaddr_all {
-       struct sockaddr s1;     // this one gets used for fields
-       struct sockaddr_in s2;  // these pad it out
-       struct sockaddr_in6 s3;
-       struct sockaddr_un s4;
-       struct sockaddr_dl s5;
-};
-
-struct sockaddr_any {
-       struct sockaddr addr;
-       char pad[sizeof(union sockaddr_all) - sizeof(struct sockaddr)];
-};
-
-// This structure is a duplicate of stat on FreeBSD 8-STABLE.
-// See /usr/include/sys/stat.h.
-struct stat8 {
-#undef st_atimespec    st_atim
-#undef st_mtimespec    st_mtim
-#undef st_ctimespec    st_ctim
-#undef st_birthtimespec        st_birthtim
-       __dev_t   st_dev;
-       ino_t     st_ino;
-       mode_t    st_mode;
-       nlink_t   st_nlink;
-       uid_t     st_uid;
-       gid_t     st_gid;
-       __dev_t   st_rdev;
-#if __BSD_VISIBLE
-       struct  timespec st_atimespec;
-       struct  timespec st_mtimespec;
-       struct  timespec st_ctimespec;
-#else
-       time_t    st_atime;
-       long      __st_atimensec;
-       time_t    st_mtime;
-       long      __st_mtimensec;
-       time_t    st_ctime;
-       long      __st_ctimensec;
-#endif
-       off_t     st_size;
-       blkcnt_t st_blocks;
-       blksize_t st_blksize;
-       fflags_t  st_flags;
-       __uint32_t st_gen;
-       __int32_t st_lspare;
-#if __BSD_VISIBLE
-       struct timespec st_birthtimespec;
-       unsigned int :(8 / 2) * (16 - (int)sizeof(struct timespec));
-       unsigned int :(8 / 2) * (16 - (int)sizeof(struct timespec));
-#else
-       time_t    st_birthtime;
-       long      st_birthtimensec;
-       unsigned int :(8 / 2) * (16 - (int)sizeof(struct __timespec));
-       unsigned int :(8 / 2) * (16 - (int)sizeof(struct __timespec));
-#endif
-};
-
-// This structure is a duplicate of if_data on FreeBSD 8-STABLE.
-// See /usr/include/net/if.h.
-struct if_data8 {
-       u_char  ifi_type;
-       u_char  ifi_physical;
-       u_char  ifi_addrlen;
-       u_char  ifi_hdrlen;
-       u_char  ifi_link_state;
-       u_char  ifi_spare_char1;
-       u_char  ifi_spare_char2;
-       u_char  ifi_datalen;
-       u_long  ifi_mtu;
-       u_long  ifi_metric;
-       u_long  ifi_baudrate;
-       u_long  ifi_ipackets;
-       u_long  ifi_ierrors;
-       u_long  ifi_opackets;
-       u_long  ifi_oerrors;
-       u_long  ifi_collisions;
-       u_long  ifi_ibytes;
-       u_long  ifi_obytes;
-       u_long  ifi_imcasts;
-       u_long  ifi_omcasts;
-       u_long  ifi_iqdrops;
-       u_long  ifi_noproto;
-       u_long  ifi_hwassist;
-       time_t  ifi_epoch;
-       struct  timeval ifi_lastchange;
-};
-
-// This structure is a duplicate of if_msghdr on FreeBSD 8-STABLE.
-// See /usr/include/net/if.h.
-struct if_msghdr8 {
-       u_short ifm_msglen;
-       u_char  ifm_version;
-       u_char  ifm_type;
-       int     ifm_addrs;
-       int     ifm_flags;
-       u_short ifm_index;
-       struct  if_data8 ifm_data;
-};
-*/
-import "C"
-
-// Machine characteristics; for internal use.
-
-const (
-       sizeofPtr      = C.sizeofPtr
-       sizeofShort    = C.sizeof_short
-       sizeofInt      = C.sizeof_int
-       sizeofLong     = C.sizeof_long
-       sizeofLongLong = C.sizeof_longlong
-)
-
-// Basic types
-
-type (
-       _C_short     C.short
-       _C_int       C.int
-       _C_long      C.long
-       _C_long_long C.longlong
-)
-
-// Time
-
-type Timespec C.struct_timespec
-
-type Timeval C.struct_timeval
-
-// Processes
-
-type Rusage C.struct_rusage
-
-type Rlimit C.struct_rlimit
-
-type _Gid_t C.gid_t
-
-// Files
-
-const ( // Directory mode bits
-       S_IFMT   = C.S_IFMT
-       S_IFIFO  = C.S_IFIFO
-       S_IFCHR  = C.S_IFCHR
-       S_IFDIR  = C.S_IFDIR
-       S_IFBLK  = C.S_IFBLK
-       S_IFREG  = C.S_IFREG
-       S_IFLNK  = C.S_IFLNK
-       S_IFSOCK = C.S_IFSOCK
-       S_ISUID  = C.S_ISUID
-       S_ISGID  = C.S_ISGID
-       S_ISVTX  = C.S_ISVTX
-       S_IRUSR  = C.S_IRUSR
-       S_IWUSR  = C.S_IWUSR
-       S_IXUSR  = C.S_IXUSR
-)
-
-type Stat_t C.struct_stat8
-
-type Statfs_t C.struct_statfs
-
-type Flock_t C.struct_flock
-
-type Dirent C.struct_dirent
-
-type Fsid C.struct_fsid
-
-// Advice to Fadvise
-
-const (
-       FADV_NORMAL     = C.POSIX_FADV_NORMAL
-       FADV_RANDOM     = C.POSIX_FADV_RANDOM
-       FADV_SEQUENTIAL = C.POSIX_FADV_SEQUENTIAL
-       FADV_WILLNEED   = C.POSIX_FADV_WILLNEED
-       FADV_DONTNEED   = C.POSIX_FADV_DONTNEED
-       FADV_NOREUSE    = C.POSIX_FADV_NOREUSE
-)
-
-// Sockets
-
-type RawSockaddrInet4 C.struct_sockaddr_in
-
-type RawSockaddrInet6 C.struct_sockaddr_in6
-
-type RawSockaddrUnix C.struct_sockaddr_un
-
-type RawSockaddrDatalink C.struct_sockaddr_dl
-
-type RawSockaddr C.struct_sockaddr
-
-type RawSockaddrAny C.struct_sockaddr_any
-
-type _Socklen C.socklen_t
-
-type Linger C.struct_linger
-
-type Iovec C.struct_iovec
-
-type IPMreq C.struct_ip_mreq
-
-type IPMreqn C.struct_ip_mreqn
-
-type IPv6Mreq C.struct_ipv6_mreq
-
-type Msghdr C.struct_msghdr
-
-type Cmsghdr C.struct_cmsghdr
-
-type Inet6Pktinfo C.struct_in6_pktinfo
-
-type IPv6MTUInfo C.struct_ip6_mtuinfo
-
-type ICMPv6Filter C.struct_icmp6_filter
-
-const (
-       SizeofSockaddrInet4    = C.sizeof_struct_sockaddr_in
-       SizeofSockaddrInet6    = C.sizeof_struct_sockaddr_in6
-       SizeofSockaddrAny      = C.sizeof_struct_sockaddr_any
-       SizeofSockaddrUnix     = C.sizeof_struct_sockaddr_un
-       SizeofSockaddrDatalink = C.sizeof_struct_sockaddr_dl
-       SizeofLinger           = C.sizeof_struct_linger
-       SizeofIPMreq           = C.sizeof_struct_ip_mreq
-       SizeofIPMreqn          = C.sizeof_struct_ip_mreqn
-       SizeofIPv6Mreq         = C.sizeof_struct_ipv6_mreq
-       SizeofMsghdr           = C.sizeof_struct_msghdr
-       SizeofCmsghdr          = C.sizeof_struct_cmsghdr
-       SizeofInet6Pktinfo     = C.sizeof_struct_in6_pktinfo
-       SizeofIPv6MTUInfo      = C.sizeof_struct_ip6_mtuinfo
-       SizeofICMPv6Filter     = C.sizeof_struct_icmp6_filter
-)
-
-// Ptrace requests
-
-const (
-       PTRACE_TRACEME = C.PT_TRACE_ME
-       PTRACE_CONT    = C.PT_CONTINUE
-       PTRACE_KILL    = C.PT_KILL
-)
-
-// Events (kqueue, kevent)
-
-type Kevent_t C.struct_kevent
-
-// Select
-
-type FdSet C.fd_set
-
-// Routing and interface messages
-
-const (
-       sizeofIfMsghdr         = C.sizeof_struct_if_msghdr
-       SizeofIfMsghdr         = C.sizeof_struct_if_msghdr8
-       sizeofIfData           = C.sizeof_struct_if_data
-       SizeofIfData           = C.sizeof_struct_if_data8
-       SizeofIfaMsghdr        = C.sizeof_struct_ifa_msghdr
-       SizeofIfmaMsghdr       = C.sizeof_struct_ifma_msghdr
-       SizeofIfAnnounceMsghdr = C.sizeof_struct_if_announcemsghdr
-       SizeofRtMsghdr         = C.sizeof_struct_rt_msghdr
-       SizeofRtMetrics        = C.sizeof_struct_rt_metrics
-)
-
-type ifMsghdr C.struct_if_msghdr
-
-type IfMsghdr C.struct_if_msghdr8
-
-type ifData C.struct_if_data
-
-type IfData C.struct_if_data8
-
-type IfaMsghdr C.struct_ifa_msghdr
-
-type IfmaMsghdr C.struct_ifma_msghdr
-
-type IfAnnounceMsghdr C.struct_if_announcemsghdr
-
-type RtMsghdr C.struct_rt_msghdr
-
-type RtMetrics C.struct_rt_metrics
-
-// Berkeley packet filter
-
-const (
-       SizeofBpfVersion    = C.sizeof_struct_bpf_version
-       SizeofBpfStat       = C.sizeof_struct_bpf_stat
-       SizeofBpfZbuf       = C.sizeof_struct_bpf_zbuf
-       SizeofBpfProgram    = C.sizeof_struct_bpf_program
-       SizeofBpfInsn       = C.sizeof_struct_bpf_insn
-       SizeofBpfHdr        = C.sizeof_struct_bpf_hdr
-       SizeofBpfZbufHeader = C.sizeof_struct_bpf_zbuf_header
-)
-
-type BpfVersion C.struct_bpf_version
-
-type BpfStat C.struct_bpf_stat
-
-type BpfZbuf C.struct_bpf_zbuf
-
-type BpfProgram C.struct_bpf_program
-
-type BpfInsn C.struct_bpf_insn
-
-type BpfHdr C.struct_bpf_hdr
-
-type BpfZbufHeader C.struct_bpf_zbuf_header
-
-// Terminal handling
-
-type Termios C.struct_termios
diff --git a/vendor/golang.org/x/sys/unix/types_netbsd.go b/vendor/golang.org/x/sys/unix/types_netbsd.go
deleted file mode 100644 (file)
index 7cfdb9c..0000000
+++ /dev/null
@@ -1,232 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build ignore
-
-/*
-Input to cgo -godefs.  See README.md
-*/
-
-// +godefs map struct_in_addr [4]byte /* in_addr */
-// +godefs map struct_in6_addr [16]byte /* in6_addr */
-
-package unix
-
-/*
-#define KERNEL
-#include <dirent.h>
-#include <fcntl.h>
-#include <signal.h>
-#include <termios.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/event.h>
-#include <sys/mman.h>
-#include <sys/mount.h>
-#include <sys/ptrace.h>
-#include <sys/resource.h>
-#include <sys/select.h>
-#include <sys/signal.h>
-#include <sys/socket.h>
-#include <sys/stat.h>
-#include <sys/sysctl.h>
-#include <sys/time.h>
-#include <sys/uio.h>
-#include <sys/un.h>
-#include <sys/wait.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_dl.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <netinet/icmp6.h>
-#include <netinet/tcp.h>
-
-enum {
-       sizeofPtr = sizeof(void*),
-};
-
-union sockaddr_all {
-       struct sockaddr s1;     // this one gets used for fields
-       struct sockaddr_in s2;  // these pad it out
-       struct sockaddr_in6 s3;
-       struct sockaddr_un s4;
-       struct sockaddr_dl s5;
-};
-
-struct sockaddr_any {
-       struct sockaddr addr;
-       char pad[sizeof(union sockaddr_all) - sizeof(struct sockaddr)];
-};
-
-*/
-import "C"
-
-// Machine characteristics; for internal use.
-
-const (
-       sizeofPtr      = C.sizeofPtr
-       sizeofShort    = C.sizeof_short
-       sizeofInt      = C.sizeof_int
-       sizeofLong     = C.sizeof_long
-       sizeofLongLong = C.sizeof_longlong
-)
-
-// Basic types
-
-type (
-       _C_short     C.short
-       _C_int       C.int
-       _C_long      C.long
-       _C_long_long C.longlong
-)
-
-// Time
-
-type Timespec C.struct_timespec
-
-type Timeval C.struct_timeval
-
-// Processes
-
-type Rusage C.struct_rusage
-
-type Rlimit C.struct_rlimit
-
-type _Gid_t C.gid_t
-
-// Files
-
-type Stat_t C.struct_stat
-
-type Statfs_t C.struct_statfs
-
-type Flock_t C.struct_flock
-
-type Dirent C.struct_dirent
-
-type Fsid C.fsid_t
-
-// Sockets
-
-type RawSockaddrInet4 C.struct_sockaddr_in
-
-type RawSockaddrInet6 C.struct_sockaddr_in6
-
-type RawSockaddrUnix C.struct_sockaddr_un
-
-type RawSockaddrDatalink C.struct_sockaddr_dl
-
-type RawSockaddr C.struct_sockaddr
-
-type RawSockaddrAny C.struct_sockaddr_any
-
-type _Socklen C.socklen_t
-
-type Linger C.struct_linger
-
-type Iovec C.struct_iovec
-
-type IPMreq C.struct_ip_mreq
-
-type IPv6Mreq C.struct_ipv6_mreq
-
-type Msghdr C.struct_msghdr
-
-type Cmsghdr C.struct_cmsghdr
-
-type Inet6Pktinfo C.struct_in6_pktinfo
-
-type IPv6MTUInfo C.struct_ip6_mtuinfo
-
-type ICMPv6Filter C.struct_icmp6_filter
-
-const (
-       SizeofSockaddrInet4    = C.sizeof_struct_sockaddr_in
-       SizeofSockaddrInet6    = C.sizeof_struct_sockaddr_in6
-       SizeofSockaddrAny      = C.sizeof_struct_sockaddr_any
-       SizeofSockaddrUnix     = C.sizeof_struct_sockaddr_un
-       SizeofSockaddrDatalink = C.sizeof_struct_sockaddr_dl
-       SizeofLinger           = C.sizeof_struct_linger
-       SizeofIPMreq           = C.sizeof_struct_ip_mreq
-       SizeofIPv6Mreq         = C.sizeof_struct_ipv6_mreq
-       SizeofMsghdr           = C.sizeof_struct_msghdr
-       SizeofCmsghdr          = C.sizeof_struct_cmsghdr
-       SizeofInet6Pktinfo     = C.sizeof_struct_in6_pktinfo
-       SizeofIPv6MTUInfo      = C.sizeof_struct_ip6_mtuinfo
-       SizeofICMPv6Filter     = C.sizeof_struct_icmp6_filter
-)
-
-// Ptrace requests
-
-const (
-       PTRACE_TRACEME = C.PT_TRACE_ME
-       PTRACE_CONT    = C.PT_CONTINUE
-       PTRACE_KILL    = C.PT_KILL
-)
-
-// Events (kqueue, kevent)
-
-type Kevent_t C.struct_kevent
-
-// Select
-
-type FdSet C.fd_set
-
-// Routing and interface messages
-
-const (
-       SizeofIfMsghdr         = C.sizeof_struct_if_msghdr
-       SizeofIfData           = C.sizeof_struct_if_data
-       SizeofIfaMsghdr        = C.sizeof_struct_ifa_msghdr
-       SizeofIfAnnounceMsghdr = C.sizeof_struct_if_announcemsghdr
-       SizeofRtMsghdr         = C.sizeof_struct_rt_msghdr
-       SizeofRtMetrics        = C.sizeof_struct_rt_metrics
-)
-
-type IfMsghdr C.struct_if_msghdr
-
-type IfData C.struct_if_data
-
-type IfaMsghdr C.struct_ifa_msghdr
-
-type IfAnnounceMsghdr C.struct_if_announcemsghdr
-
-type RtMsghdr C.struct_rt_msghdr
-
-type RtMetrics C.struct_rt_metrics
-
-type Mclpool C.struct_mclpool
-
-// Berkeley packet filter
-
-const (
-       SizeofBpfVersion = C.sizeof_struct_bpf_version
-       SizeofBpfStat    = C.sizeof_struct_bpf_stat
-       SizeofBpfProgram = C.sizeof_struct_bpf_program
-       SizeofBpfInsn    = C.sizeof_struct_bpf_insn
-       SizeofBpfHdr     = C.sizeof_struct_bpf_hdr
-)
-
-type BpfVersion C.struct_bpf_version
-
-type BpfStat C.struct_bpf_stat
-
-type BpfProgram C.struct_bpf_program
-
-type BpfInsn C.struct_bpf_insn
-
-type BpfHdr C.struct_bpf_hdr
-
-type BpfTimeval C.struct_bpf_timeval
-
-// Terminal handling
-
-type Termios C.struct_termios
-
-// Sysctl
-
-type Sysctlnode C.struct_sysctlnode
diff --git a/vendor/golang.org/x/sys/unix/types_openbsd.go b/vendor/golang.org/x/sys/unix/types_openbsd.go
deleted file mode 100644 (file)
index 6c7c227..0000000
+++ /dev/null
@@ -1,244 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build ignore
-
-/*
-Input to cgo -godefs.  See README.md
-*/
-
-// +godefs map struct_in_addr [4]byte /* in_addr */
-// +godefs map struct_in6_addr [16]byte /* in6_addr */
-
-package unix
-
-/*
-#define KERNEL
-#include <dirent.h>
-#include <fcntl.h>
-#include <signal.h>
-#include <termios.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/event.h>
-#include <sys/mman.h>
-#include <sys/mount.h>
-#include <sys/ptrace.h>
-#include <sys/resource.h>
-#include <sys/select.h>
-#include <sys/signal.h>
-#include <sys/socket.h>
-#include <sys/stat.h>
-#include <sys/time.h>
-#include <sys/uio.h>
-#include <sys/un.h>
-#include <sys/wait.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_dl.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <netinet/icmp6.h>
-#include <netinet/tcp.h>
-
-enum {
-       sizeofPtr = sizeof(void*),
-};
-
-union sockaddr_all {
-       struct sockaddr s1;     // this one gets used for fields
-       struct sockaddr_in s2;  // these pad it out
-       struct sockaddr_in6 s3;
-       struct sockaddr_un s4;
-       struct sockaddr_dl s5;
-};
-
-struct sockaddr_any {
-       struct sockaddr addr;
-       char pad[sizeof(union sockaddr_all) - sizeof(struct sockaddr)];
-};
-
-*/
-import "C"
-
-// Machine characteristics; for internal use.
-
-const (
-       sizeofPtr      = C.sizeofPtr
-       sizeofShort    = C.sizeof_short
-       sizeofInt      = C.sizeof_int
-       sizeofLong     = C.sizeof_long
-       sizeofLongLong = C.sizeof_longlong
-)
-
-// Basic types
-
-type (
-       _C_short     C.short
-       _C_int       C.int
-       _C_long      C.long
-       _C_long_long C.longlong
-)
-
-// Time
-
-type Timespec C.struct_timespec
-
-type Timeval C.struct_timeval
-
-// Processes
-
-type Rusage C.struct_rusage
-
-type Rlimit C.struct_rlimit
-
-type _Gid_t C.gid_t
-
-// Files
-
-const ( // Directory mode bits
-       S_IFMT   = C.S_IFMT
-       S_IFIFO  = C.S_IFIFO
-       S_IFCHR  = C.S_IFCHR
-       S_IFDIR  = C.S_IFDIR
-       S_IFBLK  = C.S_IFBLK
-       S_IFREG  = C.S_IFREG
-       S_IFLNK  = C.S_IFLNK
-       S_IFSOCK = C.S_IFSOCK
-       S_ISUID  = C.S_ISUID
-       S_ISGID  = C.S_ISGID
-       S_ISVTX  = C.S_ISVTX
-       S_IRUSR  = C.S_IRUSR
-       S_IWUSR  = C.S_IWUSR
-       S_IXUSR  = C.S_IXUSR
-)
-
-type Stat_t C.struct_stat
-
-type Statfs_t C.struct_statfs
-
-type Flock_t C.struct_flock
-
-type Dirent C.struct_dirent
-
-type Fsid C.fsid_t
-
-// Sockets
-
-type RawSockaddrInet4 C.struct_sockaddr_in
-
-type RawSockaddrInet6 C.struct_sockaddr_in6
-
-type RawSockaddrUnix C.struct_sockaddr_un
-
-type RawSockaddrDatalink C.struct_sockaddr_dl
-
-type RawSockaddr C.struct_sockaddr
-
-type RawSockaddrAny C.struct_sockaddr_any
-
-type _Socklen C.socklen_t
-
-type Linger C.struct_linger
-
-type Iovec C.struct_iovec
-
-type IPMreq C.struct_ip_mreq
-
-type IPv6Mreq C.struct_ipv6_mreq
-
-type Msghdr C.struct_msghdr
-
-type Cmsghdr C.struct_cmsghdr
-
-type Inet6Pktinfo C.struct_in6_pktinfo
-
-type IPv6MTUInfo C.struct_ip6_mtuinfo
-
-type ICMPv6Filter C.struct_icmp6_filter
-
-const (
-       SizeofSockaddrInet4    = C.sizeof_struct_sockaddr_in
-       SizeofSockaddrInet6    = C.sizeof_struct_sockaddr_in6
-       SizeofSockaddrAny      = C.sizeof_struct_sockaddr_any
-       SizeofSockaddrUnix     = C.sizeof_struct_sockaddr_un
-       SizeofSockaddrDatalink = C.sizeof_struct_sockaddr_dl
-       SizeofLinger           = C.sizeof_struct_linger
-       SizeofIPMreq           = C.sizeof_struct_ip_mreq
-       SizeofIPv6Mreq         = C.sizeof_struct_ipv6_mreq
-       SizeofMsghdr           = C.sizeof_struct_msghdr
-       SizeofCmsghdr          = C.sizeof_struct_cmsghdr
-       SizeofInet6Pktinfo     = C.sizeof_struct_in6_pktinfo
-       SizeofIPv6MTUInfo      = C.sizeof_struct_ip6_mtuinfo
-       SizeofICMPv6Filter     = C.sizeof_struct_icmp6_filter
-)
-
-// Ptrace requests
-
-const (
-       PTRACE_TRACEME = C.PT_TRACE_ME
-       PTRACE_CONT    = C.PT_CONTINUE
-       PTRACE_KILL    = C.PT_KILL
-)
-
-// Events (kqueue, kevent)
-
-type Kevent_t C.struct_kevent
-
-// Select
-
-type FdSet C.fd_set
-
-// Routing and interface messages
-
-const (
-       SizeofIfMsghdr         = C.sizeof_struct_if_msghdr
-       SizeofIfData           = C.sizeof_struct_if_data
-       SizeofIfaMsghdr        = C.sizeof_struct_ifa_msghdr
-       SizeofIfAnnounceMsghdr = C.sizeof_struct_if_announcemsghdr
-       SizeofRtMsghdr         = C.sizeof_struct_rt_msghdr
-       SizeofRtMetrics        = C.sizeof_struct_rt_metrics
-)
-
-type IfMsghdr C.struct_if_msghdr
-
-type IfData C.struct_if_data
-
-type IfaMsghdr C.struct_ifa_msghdr
-
-type IfAnnounceMsghdr C.struct_if_announcemsghdr
-
-type RtMsghdr C.struct_rt_msghdr
-
-type RtMetrics C.struct_rt_metrics
-
-type Mclpool C.struct_mclpool
-
-// Berkeley packet filter
-
-const (
-       SizeofBpfVersion = C.sizeof_struct_bpf_version
-       SizeofBpfStat    = C.sizeof_struct_bpf_stat
-       SizeofBpfProgram = C.sizeof_struct_bpf_program
-       SizeofBpfInsn    = C.sizeof_struct_bpf_insn
-       SizeofBpfHdr     = C.sizeof_struct_bpf_hdr
-)
-
-type BpfVersion C.struct_bpf_version
-
-type BpfStat C.struct_bpf_stat
-
-type BpfProgram C.struct_bpf_program
-
-type BpfInsn C.struct_bpf_insn
-
-type BpfHdr C.struct_bpf_hdr
-
-type BpfTimeval C.struct_bpf_timeval
-
-// Terminal handling
-
-type Termios C.struct_termios
diff --git a/vendor/golang.org/x/sys/unix/types_solaris.go b/vendor/golang.org/x/sys/unix/types_solaris.go
deleted file mode 100644 (file)
index 69bf1bc..0000000
+++ /dev/null
@@ -1,262 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build ignore
-
-/*
-Input to cgo -godefs.  See README.md
-*/
-
-// +godefs map struct_in_addr [4]byte /* in_addr */
-// +godefs map struct_in6_addr [16]byte /* in6_addr */
-
-package unix
-
-/*
-#define KERNEL
-// These defines ensure that builds done on newer versions of Solaris are
-// backwards-compatible with older versions of Solaris and
-// OpenSolaris-based derivatives.
-#define __USE_SUNOS_SOCKETS__          // msghdr
-#define __USE_LEGACY_PROTOTYPES__      // iovec
-#include <dirent.h>
-#include <fcntl.h>
-#include <netdb.h>
-#include <limits.h>
-#include <signal.h>
-#include <termios.h>
-#include <termio.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <sys/mman.h>
-#include <sys/mount.h>
-#include <sys/param.h>
-#include <sys/resource.h>
-#include <sys/select.h>
-#include <sys/signal.h>
-#include <sys/socket.h>
-#include <sys/stat.h>
-#include <sys/time.h>
-#include <sys/times.h>
-#include <sys/types.h>
-#include <sys/utsname.h>
-#include <sys/un.h>
-#include <sys/wait.h>
-#include <net/bpf.h>
-#include <net/if.h>
-#include <net/if_dl.h>
-#include <net/route.h>
-#include <netinet/in.h>
-#include <netinet/icmp6.h>
-#include <netinet/tcp.h>
-#include <ustat.h>
-#include <utime.h>
-
-enum {
-       sizeofPtr = sizeof(void*),
-};
-
-union sockaddr_all {
-       struct sockaddr s1;     // this one gets used for fields
-       struct sockaddr_in s2;  // these pad it out
-       struct sockaddr_in6 s3;
-       struct sockaddr_un s4;
-       struct sockaddr_dl s5;
-};
-
-struct sockaddr_any {
-       struct sockaddr addr;
-       char pad[sizeof(union sockaddr_all) - sizeof(struct sockaddr)];
-};
-
-*/
-import "C"
-
-// Machine characteristics; for internal use.
-
-const (
-       sizeofPtr      = C.sizeofPtr
-       sizeofShort    = C.sizeof_short
-       sizeofInt      = C.sizeof_int
-       sizeofLong     = C.sizeof_long
-       sizeofLongLong = C.sizeof_longlong
-       PathMax        = C.PATH_MAX
-       MaxHostNameLen = C.MAXHOSTNAMELEN
-)
-
-// Basic types
-
-type (
-       _C_short     C.short
-       _C_int       C.int
-       _C_long      C.long
-       _C_long_long C.longlong
-)
-
-// Time
-
-type Timespec C.struct_timespec
-
-type Timeval C.struct_timeval
-
-type Timeval32 C.struct_timeval32
-
-type Tms C.struct_tms
-
-type Utimbuf C.struct_utimbuf
-
-// Processes
-
-type Rusage C.struct_rusage
-
-type Rlimit C.struct_rlimit
-
-type _Gid_t C.gid_t
-
-// Files
-
-const ( // Directory mode bits
-       S_IFMT   = C.S_IFMT
-       S_IFIFO  = C.S_IFIFO
-       S_IFCHR  = C.S_IFCHR
-       S_IFDIR  = C.S_IFDIR
-       S_IFBLK  = C.S_IFBLK
-       S_IFREG  = C.S_IFREG
-       S_IFLNK  = C.S_IFLNK
-       S_IFSOCK = C.S_IFSOCK
-       S_ISUID  = C.S_ISUID
-       S_ISGID  = C.S_ISGID
-       S_ISVTX  = C.S_ISVTX
-       S_IRUSR  = C.S_IRUSR
-       S_IWUSR  = C.S_IWUSR
-       S_IXUSR  = C.S_IXUSR
-)
-
-type Stat_t C.struct_stat
-
-type Flock_t C.struct_flock
-
-type Dirent C.struct_dirent
-
-// Sockets
-
-type RawSockaddrInet4 C.struct_sockaddr_in
-
-type RawSockaddrInet6 C.struct_sockaddr_in6
-
-type RawSockaddrUnix C.struct_sockaddr_un
-
-type RawSockaddrDatalink C.struct_sockaddr_dl
-
-type RawSockaddr C.struct_sockaddr
-
-type RawSockaddrAny C.struct_sockaddr_any
-
-type _Socklen C.socklen_t
-
-type Linger C.struct_linger
-
-type Iovec C.struct_iovec
-
-type IPMreq C.struct_ip_mreq
-
-type IPv6Mreq C.struct_ipv6_mreq
-
-type Msghdr C.struct_msghdr
-
-type Cmsghdr C.struct_cmsghdr
-
-type Inet6Pktinfo C.struct_in6_pktinfo
-
-type IPv6MTUInfo C.struct_ip6_mtuinfo
-
-type ICMPv6Filter C.struct_icmp6_filter
-
-const (
-       SizeofSockaddrInet4    = C.sizeof_struct_sockaddr_in
-       SizeofSockaddrInet6    = C.sizeof_struct_sockaddr_in6
-       SizeofSockaddrAny      = C.sizeof_struct_sockaddr_any
-       SizeofSockaddrUnix     = C.sizeof_struct_sockaddr_un
-       SizeofSockaddrDatalink = C.sizeof_struct_sockaddr_dl
-       SizeofLinger           = C.sizeof_struct_linger
-       SizeofIPMreq           = C.sizeof_struct_ip_mreq
-       SizeofIPv6Mreq         = C.sizeof_struct_ipv6_mreq
-       SizeofMsghdr           = C.sizeof_struct_msghdr
-       SizeofCmsghdr          = C.sizeof_struct_cmsghdr
-       SizeofInet6Pktinfo     = C.sizeof_struct_in6_pktinfo
-       SizeofIPv6MTUInfo      = C.sizeof_struct_ip6_mtuinfo
-       SizeofICMPv6Filter     = C.sizeof_struct_icmp6_filter
-)
-
-// Select
-
-type FdSet C.fd_set
-
-// Misc
-
-type Utsname C.struct_utsname
-
-type Ustat_t C.struct_ustat
-
-const (
-       AT_FDCWD            = C.AT_FDCWD
-       AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW
-       AT_SYMLINK_FOLLOW   = C.AT_SYMLINK_FOLLOW
-       AT_REMOVEDIR        = C.AT_REMOVEDIR
-       AT_EACCESS          = C.AT_EACCESS
-)
-
-// Routing and interface messages
-
-const (
-       SizeofIfMsghdr  = C.sizeof_struct_if_msghdr
-       SizeofIfData    = C.sizeof_struct_if_data
-       SizeofIfaMsghdr = C.sizeof_struct_ifa_msghdr
-       SizeofRtMsghdr  = C.sizeof_struct_rt_msghdr
-       SizeofRtMetrics = C.sizeof_struct_rt_metrics
-)
-
-type IfMsghdr C.struct_if_msghdr
-
-type IfData C.struct_if_data
-
-type IfaMsghdr C.struct_ifa_msghdr
-
-type RtMsghdr C.struct_rt_msghdr
-
-type RtMetrics C.struct_rt_metrics
-
-// Berkeley packet filter
-
-const (
-       SizeofBpfVersion = C.sizeof_struct_bpf_version
-       SizeofBpfStat    = C.sizeof_struct_bpf_stat
-       SizeofBpfProgram = C.sizeof_struct_bpf_program
-       SizeofBpfInsn    = C.sizeof_struct_bpf_insn
-       SizeofBpfHdr     = C.sizeof_struct_bpf_hdr
-)
-
-type BpfVersion C.struct_bpf_version
-
-type BpfStat C.struct_bpf_stat
-
-type BpfProgram C.struct_bpf_program
-
-type BpfInsn C.struct_bpf_insn
-
-type BpfTimeval C.struct_bpf_timeval
-
-type BpfHdr C.struct_bpf_hdr
-
-// sysconf information
-
-const _SC_PAGESIZE = C._SC_PAGESIZE
-
-// Terminal handling
-
-type Termios C.struct_termios
-
-type Termio C.struct_termio
-
-type Winsize C.struct_winsize
diff --git a/vendor/golang.org/x/sys/unix/zerrors_darwin_386.go b/vendor/golang.org/x/sys/unix/zerrors_darwin_386.go
deleted file mode 100644 (file)
index 8e63888..0000000
+++ /dev/null
@@ -1,1576 +0,0 @@
-// mkerrors.sh -m32
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build 386,darwin
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m32 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1c
-       AF_ECMA                           = 0x8
-       AF_HYLINK                         = 0xf
-       AF_IEEE80211                      = 0x25
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x1e
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1c
-       AF_ISO                            = 0x7
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x28
-       AF_NATM                           = 0x1f
-       AF_NDRV                           = 0x1b
-       AF_NETBIOS                        = 0x21
-       AF_NS                             = 0x6
-       AF_OSI                            = 0x7
-       AF_PPP                            = 0x22
-       AF_PUP                            = 0x4
-       AF_RESERVED_36                    = 0x24
-       AF_ROUTE                          = 0x11
-       AF_SIP                            = 0x18
-       AF_SNA                            = 0xb
-       AF_SYSTEM                         = 0x20
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       AF_UTUN                           = 0x26
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B9600                             = 0x2580
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc00c4279
-       BIOCGETIF                         = 0x4020426b
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRSIG                         = 0x40044272
-       BIOCGRTIMEOUT                     = 0x4008426e
-       BIOCGSEESENT                      = 0x40044276
-       BIOCGSTATS                        = 0x4008426f
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCPROMISC                       = 0x20004269
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDLT                          = 0x80044278
-       BIOCSETF                          = 0x80084267
-       BIOCSETFNR                        = 0x8008427e
-       BIOCSETIF                         = 0x8020426c
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRSIG                         = 0x80044273
-       BIOCSRTIMEOUT                     = 0x8008426d
-       BIOCSSEESENT                      = 0x80044277
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x4
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x80000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0x14
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0xc
-       CTL_NET                           = 0x4
-       DLT_A429                          = 0xb8
-       DLT_A653_ICM                      = 0xb9
-       DLT_AIRONET_HEADER                = 0x78
-       DLT_AOS                           = 0xde
-       DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
-       DLT_ARCNET                        = 0x7
-       DLT_ARCNET_LINUX                  = 0x81
-       DLT_ATM_CLIP                      = 0x13
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AURORA                        = 0x7e
-       DLT_AX25                          = 0x3
-       DLT_AX25_KISS                     = 0xca
-       DLT_BACNET_MS_TP                  = 0xa5
-       DLT_BLUETOOTH_HCI_H4              = 0xbb
-       DLT_BLUETOOTH_HCI_H4_WITH_PHDR    = 0xc9
-       DLT_CAN20B                        = 0xbe
-       DLT_CAN_SOCKETCAN                 = 0xe3
-       DLT_CHAOS                         = 0x5
-       DLT_CHDLC                         = 0x68
-       DLT_CISCO_IOS                     = 0x76
-       DLT_C_HDLC                        = 0x68
-       DLT_C_HDLC_WITH_DIR               = 0xcd
-       DLT_DBUS                          = 0xe7
-       DLT_DECT                          = 0xdd
-       DLT_DOCSIS                        = 0x8f
-       DLT_DVB_CI                        = 0xeb
-       DLT_ECONET                        = 0x73
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0x6d
-       DLT_ERF                           = 0xc5
-       DLT_ERF_ETH                       = 0xaf
-       DLT_ERF_POS                       = 0xb0
-       DLT_FC_2                          = 0xe0
-       DLT_FC_2_WITH_FRAME_DELIMS        = 0xe1
-       DLT_FDDI                          = 0xa
-       DLT_FLEXRAY                       = 0xd2
-       DLT_FRELAY                        = 0x6b
-       DLT_FRELAY_WITH_DIR               = 0xce
-       DLT_GCOM_SERIAL                   = 0xad
-       DLT_GCOM_T1E1                     = 0xac
-       DLT_GPF_F                         = 0xab
-       DLT_GPF_T                         = 0xaa
-       DLT_GPRS_LLC                      = 0xa9
-       DLT_GSMTAP_ABIS                   = 0xda
-       DLT_GSMTAP_UM                     = 0xd9
-       DLT_HHDLC                         = 0x79
-       DLT_IBM_SN                        = 0x92
-       DLT_IBM_SP                        = 0x91
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_IEEE802_11_RADIO_AVS          = 0xa3
-       DLT_IEEE802_15_4                  = 0xc3
-       DLT_IEEE802_15_4_LINUX            = 0xbf
-       DLT_IEEE802_15_4_NOFCS            = 0xe6
-       DLT_IEEE802_15_4_NONASK_PHY       = 0xd7
-       DLT_IEEE802_16_MAC_CPS            = 0xbc
-       DLT_IEEE802_16_MAC_CPS_RADIO      = 0xc1
-       DLT_IPFILTER                      = 0x74
-       DLT_IPMB                          = 0xc7
-       DLT_IPMB_LINUX                    = 0xd1
-       DLT_IPNET                         = 0xe2
-       DLT_IPOIB                         = 0xf2
-       DLT_IPV4                          = 0xe4
-       DLT_IPV6                          = 0xe5
-       DLT_IP_OVER_FC                    = 0x7a
-       DLT_JUNIPER_ATM1                  = 0x89
-       DLT_JUNIPER_ATM2                  = 0x87
-       DLT_JUNIPER_ATM_CEMIC             = 0xee
-       DLT_JUNIPER_CHDLC                 = 0xb5
-       DLT_JUNIPER_ES                    = 0x84
-       DLT_JUNIPER_ETHER                 = 0xb2
-       DLT_JUNIPER_FIBRECHANNEL          = 0xea
-       DLT_JUNIPER_FRELAY                = 0xb4
-       DLT_JUNIPER_GGSN                  = 0x85
-       DLT_JUNIPER_ISM                   = 0xc2
-       DLT_JUNIPER_MFR                   = 0x86
-       DLT_JUNIPER_MLFR                  = 0x83
-       DLT_JUNIPER_MLPPP                 = 0x82
-       DLT_JUNIPER_MONITOR               = 0xa4
-       DLT_JUNIPER_PIC_PEER              = 0xae
-       DLT_JUNIPER_PPP                   = 0xb3
-       DLT_JUNIPER_PPPOE                 = 0xa7
-       DLT_JUNIPER_PPPOE_ATM             = 0xa8
-       DLT_JUNIPER_SERVICES              = 0x88
-       DLT_JUNIPER_SRX_E2E               = 0xe9
-       DLT_JUNIPER_ST                    = 0xc8
-       DLT_JUNIPER_VP                    = 0xb7
-       DLT_JUNIPER_VS                    = 0xe8
-       DLT_LAPB_WITH_DIR                 = 0xcf
-       DLT_LAPD                          = 0xcb
-       DLT_LIN                           = 0xd4
-       DLT_LINUX_EVDEV                   = 0xd8
-       DLT_LINUX_IRDA                    = 0x90
-       DLT_LINUX_LAPD                    = 0xb1
-       DLT_LINUX_PPP_WITHDIRECTION       = 0xa6
-       DLT_LINUX_SLL                     = 0x71
-       DLT_LOOP                          = 0x6c
-       DLT_LTALK                         = 0x72
-       DLT_MATCHING_MAX                  = 0xf5
-       DLT_MATCHING_MIN                  = 0x68
-       DLT_MFR                           = 0xb6
-       DLT_MOST                          = 0xd3
-       DLT_MPEG_2_TS                     = 0xf3
-       DLT_MPLS                          = 0xdb
-       DLT_MTP2                          = 0x8c
-       DLT_MTP2_WITH_PHDR                = 0x8b
-       DLT_MTP3                          = 0x8d
-       DLT_MUX27010                      = 0xec
-       DLT_NETANALYZER                   = 0xf0
-       DLT_NETANALYZER_TRANSPARENT       = 0xf1
-       DLT_NFC_LLCP                      = 0xf5
-       DLT_NFLOG                         = 0xef
-       DLT_NG40                          = 0xf4
-       DLT_NULL                          = 0x0
-       DLT_PCI_EXP                       = 0x7d
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x12
-       DLT_PPI                           = 0xc0
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0x10
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_PPPD                      = 0xa6
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PPP_WITH_DIR                  = 0xcc
-       DLT_PPP_WITH_DIRECTION            = 0xa6
-       DLT_PRISM_HEADER                  = 0x77
-       DLT_PRONET                        = 0x4
-       DLT_RAIF1                         = 0xc6
-       DLT_RAW                           = 0xc
-       DLT_RIO                           = 0x7c
-       DLT_SCCP                          = 0x8e
-       DLT_SITA                          = 0xc4
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xf
-       DLT_STANAG_5066_D_PDU             = 0xed
-       DLT_SUNATM                        = 0x7b
-       DLT_SYMANTEC_FIREWALL             = 0x63
-       DLT_TZSP                          = 0x80
-       DLT_USB                           = 0xba
-       DLT_USB_LINUX                     = 0xbd
-       DLT_USB_LINUX_MMAPPED             = 0xdc
-       DLT_USER0                         = 0x93
-       DLT_USER1                         = 0x94
-       DLT_USER10                        = 0x9d
-       DLT_USER11                        = 0x9e
-       DLT_USER12                        = 0x9f
-       DLT_USER13                        = 0xa0
-       DLT_USER14                        = 0xa1
-       DLT_USER15                        = 0xa2
-       DLT_USER2                         = 0x95
-       DLT_USER3                         = 0x96
-       DLT_USER4                         = 0x97
-       DLT_USER5                         = 0x98
-       DLT_USER6                         = 0x99
-       DLT_USER7                         = 0x9a
-       DLT_USER8                         = 0x9b
-       DLT_USER9                         = 0x9c
-       DLT_WIHART                        = 0xdf
-       DLT_X2E_SERIAL                    = 0xd5
-       DLT_X2E_XORAYA                    = 0xd6
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       DT_WHT                            = 0xe
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EVFILT_AIO                        = -0x3
-       EVFILT_FS                         = -0x9
-       EVFILT_MACHPORT                   = -0x8
-       EVFILT_PROC                       = -0x5
-       EVFILT_READ                       = -0x1
-       EVFILT_SIGNAL                     = -0x6
-       EVFILT_SYSCOUNT                   = 0xe
-       EVFILT_THREADMARKER               = 0xe
-       EVFILT_TIMER                      = -0x7
-       EVFILT_USER                       = -0xa
-       EVFILT_VM                         = -0xc
-       EVFILT_VNODE                      = -0x4
-       EVFILT_WRITE                      = -0x2
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_DISPATCH                       = 0x80
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG0                          = 0x1000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_OOBAND                         = 0x2000
-       EV_POLL                           = 0x1000
-       EV_RECEIPT                        = 0x40
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x400
-       FLUSHO                            = 0x800000
-       F_ADDFILESIGS                     = 0x3d
-       F_ADDSIGS                         = 0x3b
-       F_ALLOCATEALL                     = 0x4
-       F_ALLOCATECONTIG                  = 0x2
-       F_CHKCLEAN                        = 0x29
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0x43
-       F_FINDSIGS                        = 0x4e
-       F_FLUSH_DATA                      = 0x28
-       F_FREEZE_FS                       = 0x35
-       F_FULLFSYNC                       = 0x33
-       F_GETCODEDIR                      = 0x48
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0x7
-       F_GETLKPID                        = 0x42
-       F_GETNOSIGPIPE                    = 0x4a
-       F_GETOWN                          = 0x5
-       F_GETPATH                         = 0x32
-       F_GETPATH_MTMINFO                 = 0x47
-       F_GETPROTECTIONCLASS              = 0x3f
-       F_GETPROTECTIONLEVEL              = 0x4d
-       F_GLOBAL_NOCACHE                  = 0x37
-       F_LOG2PHYS                        = 0x31
-       F_LOG2PHYS_EXT                    = 0x41
-       F_NOCACHE                         = 0x30
-       F_NODIRECT                        = 0x3e
-       F_OK                              = 0x0
-       F_PATHPKG_CHECK                   = 0x34
-       F_PEOFPOSMODE                     = 0x3
-       F_PREALLOCATE                     = 0x2a
-       F_RDADVISE                        = 0x2c
-       F_RDAHEAD                         = 0x2d
-       F_RDLCK                           = 0x1
-       F_SETBACKINGSTORE                 = 0x46
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0x8
-       F_SETLKW                          = 0x9
-       F_SETLKWTIMEOUT                   = 0xa
-       F_SETNOSIGPIPE                    = 0x49
-       F_SETOWN                          = 0x6
-       F_SETPROTECTIONCLASS              = 0x40
-       F_SETSIZE                         = 0x2b
-       F_SINGLE_WRITER                   = 0x4c
-       F_THAW_FS                         = 0x36
-       F_TRANSCODEKEY                    = 0x4b
-       F_UNLCK                           = 0x2
-       F_VOLPOSMODE                      = 0x4
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFF_ALLMULTI                      = 0x200
-       IFF_ALTPHYS                       = 0x4000
-       IFF_BROADCAST                     = 0x2
-       IFF_DEBUG                         = 0x4
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_NOTRAILERS                    = 0x20
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PROMISC                       = 0x100
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_AAL5                          = 0x31
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ATM                           = 0x25
-       IFT_BRIDGE                        = 0xd1
-       IFT_CARP                          = 0xf8
-       IFT_CELLULAR                      = 0xff
-       IFT_CEPT                          = 0x13
-       IFT_DS3                           = 0x1e
-       IFT_ENC                           = 0xf4
-       IFT_EON                           = 0x19
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0x38
-       IFT_FDDI                          = 0xf
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_GIF                           = 0x37
-       IFT_HDH1822                       = 0x3
-       IFT_HIPPI                         = 0x2f
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE8023ADLAG                 = 0x88
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88026                      = 0xa
-       IFT_L2VLAN                        = 0x87
-       IFT_LAPB                          = 0x10
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_NSIP                          = 0x1b
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PDP                           = 0xff
-       IFT_PFLOG                         = 0xf5
-       IFT_PFSYNC                        = 0xf6
-       IFT_PKTAP                         = 0xfe
-       IFT_PPP                           = 0x17
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PTPSERIAL                     = 0x16
-       IFT_RS232                         = 0x21
-       IFT_SDLC                          = 0x11
-       IFT_SIP                           = 0x1f
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_STARLAN                       = 0xb
-       IFT_STF                           = 0x39
-       IFT_T1                            = 0x12
-       IFT_ULTRA                         = 0x1d
-       IFT_V35                           = 0x2d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LINKLOCALNETNUM                = 0xa9fe0000
-       IN_LOOPBACKNET                    = 0x7f
-       IPPROTO_3PC                       = 0x22
-       IPPROTO_ADFS                      = 0x44
-       IPPROTO_AH                        = 0x33
-       IPPROTO_AHIP                      = 0x3d
-       IPPROTO_APES                      = 0x63
-       IPPROTO_ARGUS                     = 0xd
-       IPPROTO_AX25                      = 0x5d
-       IPPROTO_BHA                       = 0x31
-       IPPROTO_BLT                       = 0x1e
-       IPPROTO_BRSATMON                  = 0x4c
-       IPPROTO_CFTP                      = 0x3e
-       IPPROTO_CHAOS                     = 0x10
-       IPPROTO_CMTP                      = 0x26
-       IPPROTO_CPHB                      = 0x49
-       IPPROTO_CPNX                      = 0x48
-       IPPROTO_DDP                       = 0x25
-       IPPROTO_DGP                       = 0x56
-       IPPROTO_DIVERT                    = 0xfe
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_EMCON                     = 0xe
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GMTP                      = 0x64
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HELLO                     = 0x3f
-       IPPROTO_HMP                       = 0x14
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IDPR                      = 0x23
-       IPPROTO_IDRP                      = 0x2d
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IGP                       = 0x55
-       IPPROTO_IGRP                      = 0x58
-       IPPROTO_IL                        = 0x28
-       IPPROTO_INLSP                     = 0x34
-       IPPROTO_INP                       = 0x20
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPCV                      = 0x47
-       IPPROTO_IPEIP                     = 0x5e
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPPC                      = 0x43
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_IRTP                      = 0x1c
-       IPPROTO_KRYPTOLAN                 = 0x41
-       IPPROTO_LARP                      = 0x5b
-       IPPROTO_LEAF1                     = 0x19
-       IPPROTO_LEAF2                     = 0x1a
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x34
-       IPPROTO_MEAS                      = 0x13
-       IPPROTO_MHRP                      = 0x30
-       IPPROTO_MICP                      = 0x5f
-       IPPROTO_MTP                       = 0x5c
-       IPPROTO_MUX                       = 0x12
-       IPPROTO_ND                        = 0x4d
-       IPPROTO_NHRP                      = 0x36
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_NSP                       = 0x1f
-       IPPROTO_NVPII                     = 0xb
-       IPPROTO_OSPFIGP                   = 0x59
-       IPPROTO_PGM                       = 0x71
-       IPPROTO_PIGP                      = 0x9
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PRM                       = 0x15
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_PVP                       = 0x4b
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_RCCMON                    = 0xa
-       IPPROTO_RDP                       = 0x1b
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_RVD                       = 0x42
-       IPPROTO_SATEXPAK                  = 0x40
-       IPPROTO_SATMON                    = 0x45
-       IPPROTO_SCCSP                     = 0x60
-       IPPROTO_SCTP                      = 0x84
-       IPPROTO_SDRP                      = 0x2a
-       IPPROTO_SEP                       = 0x21
-       IPPROTO_SRPC                      = 0x5a
-       IPPROTO_ST                        = 0x7
-       IPPROTO_SVMTP                     = 0x52
-       IPPROTO_SWIPE                     = 0x35
-       IPPROTO_TCF                       = 0x57
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_TPXX                      = 0x27
-       IPPROTO_TRUNK1                    = 0x17
-       IPPROTO_TRUNK2                    = 0x18
-       IPPROTO_TTP                       = 0x54
-       IPPROTO_UDP                       = 0x11
-       IPPROTO_VINES                     = 0x53
-       IPPROTO_VISA                      = 0x46
-       IPPROTO_VMTP                      = 0x51
-       IPPROTO_WBEXPAK                   = 0x4f
-       IPPROTO_WBMON                     = 0x4e
-       IPPROTO_WSN                       = 0x4a
-       IPPROTO_XNET                      = 0xf
-       IPPROTO_XTP                       = 0x24
-       IPV6_2292DSTOPTS                  = 0x17
-       IPV6_2292HOPLIMIT                 = 0x14
-       IPV6_2292HOPOPTS                  = 0x16
-       IPV6_2292NEXTHOP                  = 0x15
-       IPV6_2292PKTINFO                  = 0x13
-       IPV6_2292PKTOPTIONS               = 0x19
-       IPV6_2292RTHDR                    = 0x18
-       IPV6_BINDV6ONLY                   = 0x1b
-       IPV6_BOUND_IF                     = 0x7d
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x3c
-       IPV6_FW_ADD                       = 0x1e
-       IPV6_FW_DEL                       = 0x1f
-       IPV6_FW_FLUSH                     = 0x20
-       IPV6_FW_GET                       = 0x22
-       IPV6_FW_ZERO                      = 0x21
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_IPSEC_POLICY                 = 0x1c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXOPTHDR                    = 0x800
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MAX_GROUP_SRC_FILTER         = 0x200
-       IPV6_MAX_MEMBERSHIPS              = 0xfff
-       IPV6_MAX_SOCK_SRC_FILTER          = 0x80
-       IPV6_MIN_MEMBERSHIPS              = 0x1f
-       IPV6_MMTU                         = 0x500
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_RECVTCLASS                   = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x24
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_ADD_SOURCE_MEMBERSHIP          = 0x46
-       IP_BLOCK_SOURCE                   = 0x48
-       IP_BOUND_IF                       = 0x19
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_DROP_SOURCE_MEMBERSHIP         = 0x47
-       IP_DUMMYNET_CONFIGURE             = 0x3c
-       IP_DUMMYNET_DEL                   = 0x3d
-       IP_DUMMYNET_FLUSH                 = 0x3e
-       IP_DUMMYNET_GET                   = 0x40
-       IP_FAITH                          = 0x16
-       IP_FW_ADD                         = 0x28
-       IP_FW_DEL                         = 0x29
-       IP_FW_FLUSH                       = 0x2a
-       IP_FW_GET                         = 0x2c
-       IP_FW_RESETLOG                    = 0x2d
-       IP_FW_ZERO                        = 0x2b
-       IP_HDRINCL                        = 0x2
-       IP_IPSEC_POLICY                   = 0x15
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_GROUP_SRC_FILTER           = 0x200
-       IP_MAX_MEMBERSHIPS                = 0xfff
-       IP_MAX_SOCK_MUTE_FILTER           = 0x80
-       IP_MAX_SOCK_SRC_FILTER            = 0x80
-       IP_MF                             = 0x2000
-       IP_MIN_MEMBERSHIPS                = 0x1f
-       IP_MSFILTER                       = 0x4a
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_IFINDEX              = 0x42
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_MULTICAST_VIF                  = 0xe
-       IP_NAT__XXX                       = 0x37
-       IP_OFFMASK                        = 0x1fff
-       IP_OLD_FW_ADD                     = 0x32
-       IP_OLD_FW_DEL                     = 0x33
-       IP_OLD_FW_FLUSH                   = 0x34
-       IP_OLD_FW_GET                     = 0x36
-       IP_OLD_FW_RESETLOG                = 0x38
-       IP_OLD_FW_ZERO                    = 0x35
-       IP_OPTIONS                        = 0x1
-       IP_PKTINFO                        = 0x1a
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVIF                         = 0x14
-       IP_RECVOPTS                       = 0x5
-       IP_RECVPKTINFO                    = 0x1a
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVTTL                        = 0x18
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_RSVP_OFF                       = 0x10
-       IP_RSVP_ON                        = 0xf
-       IP_RSVP_VIF_OFF                   = 0x12
-       IP_RSVP_VIF_ON                    = 0x11
-       IP_STRIPHDR                       = 0x17
-       IP_TOS                            = 0x3
-       IP_TRAFFIC_MGT_BACKGROUND         = 0x41
-       IP_TTL                            = 0x4
-       IP_UNBLOCK_SOURCE                 = 0x49
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IUTF8                             = 0x4000
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_CAN_REUSE                    = 0x9
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x5
-       MADV_FREE_REUSABLE                = 0x7
-       MADV_FREE_REUSE                   = 0x8
-       MADV_NORMAL                       = 0x0
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_WILLNEED                     = 0x3
-       MADV_ZERO_WIRED_PAGES             = 0x6
-       MAP_ANON                          = 0x1000
-       MAP_COPY                          = 0x2
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_JIT                           = 0x800
-       MAP_NOCACHE                       = 0x400
-       MAP_NOEXTEND                      = 0x100
-       MAP_NORESERVE                     = 0x40
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_RESERVED0080                  = 0x80
-       MAP_SHARED                        = 0x1
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOF                           = 0x100
-       MSG_EOR                           = 0x8
-       MSG_FLUSH                         = 0x400
-       MSG_HAVEMORE                      = 0x2000
-       MSG_HOLD                          = 0x800
-       MSG_NEEDSA                        = 0x10000
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_RCVMORE                       = 0x4000
-       MSG_SEND                          = 0x1000
-       MSG_TRUNC                         = 0x10
-       MSG_WAITALL                       = 0x40
-       MSG_WAITSTREAM                    = 0x200
-       MS_ASYNC                          = 0x1
-       MS_DEACTIVATE                     = 0x8
-       MS_INVALIDATE                     = 0x2
-       MS_KILLPAGES                      = 0x4
-       MS_SYNC                           = 0x10
-       NAME_MAX                          = 0xff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_DUMP2                      = 0x7
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x3
-       NET_RT_IFLIST2                    = 0x6
-       NET_RT_MAXID                      = 0xa
-       NET_RT_STAT                       = 0x4
-       NET_RT_TRASH                      = 0x5
-       NOFLSH                            = 0x80000000
-       NOTE_ABSOLUTE                     = 0x8
-       NOTE_ATTRIB                       = 0x8
-       NOTE_BACKGROUND                   = 0x40
-       NOTE_CHILD                        = 0x4
-       NOTE_CRITICAL                     = 0x20
-       NOTE_DELETE                       = 0x1
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXITSTATUS                   = 0x4000000
-       NOTE_EXIT_CSERROR                 = 0x40000
-       NOTE_EXIT_DECRYPTFAIL             = 0x10000
-       NOTE_EXIT_DETAIL                  = 0x2000000
-       NOTE_EXIT_DETAIL_MASK             = 0x70000
-       NOTE_EXIT_MEMORY                  = 0x20000
-       NOTE_EXIT_REPARENTED              = 0x80000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FFAND                        = 0x40000000
-       NOTE_FFCOPY                       = 0xc0000000
-       NOTE_FFCTRLMASK                   = 0xc0000000
-       NOTE_FFLAGSMASK                   = 0xffffff
-       NOTE_FFNOP                        = 0x0
-       NOTE_FFOR                         = 0x80000000
-       NOTE_FORK                         = 0x40000000
-       NOTE_LEEWAY                       = 0x10
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_NONE                         = 0x80
-       NOTE_NSECONDS                     = 0x4
-       NOTE_PCTRLMASK                    = -0x100000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_REAP                         = 0x10000000
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_SECONDS                      = 0x1
-       NOTE_SIGNAL                       = 0x8000000
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_TRIGGER                      = 0x1000000
-       NOTE_USECONDS                     = 0x2
-       NOTE_VM_ERROR                     = 0x10000000
-       NOTE_VM_PRESSURE                  = 0x80000000
-       NOTE_VM_PRESSURE_SUDDEN_TERMINATE = 0x20000000
-       NOTE_VM_PRESSURE_TERMINATE        = 0x40000000
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       OFDEL                             = 0x20000
-       OFILL                             = 0x80
-       ONLCR                             = 0x2
-       ONLRET                            = 0x40
-       ONOCR                             = 0x20
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_ALERT                           = 0x20000000
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x1000000
-       O_CREAT                           = 0x200
-       O_DIRECTORY                       = 0x100000
-       O_DP_GETRAWENCRYPTED              = 0x1
-       O_DSYNC                           = 0x400000
-       O_EVTONLY                         = 0x8000
-       O_EXCL                            = 0x800
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x20000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_POPUP                           = 0x80000000
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_SHLOCK                          = 0x10
-       O_SYMLINK                         = 0x200000
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       PT_ATTACH                         = 0xa
-       PT_ATTACHEXC                      = 0xe
-       PT_CONTINUE                       = 0x7
-       PT_DENY_ATTACH                    = 0x1f
-       PT_DETACH                         = 0xb
-       PT_FIRSTMACH                      = 0x20
-       PT_FORCEQUOTA                     = 0x1e
-       PT_KILL                           = 0x8
-       PT_READ_D                         = 0x2
-       PT_READ_I                         = 0x1
-       PT_READ_U                         = 0x3
-       PT_SIGEXC                         = 0xc
-       PT_STEP                           = 0x9
-       PT_THUPDATE                       = 0xd
-       PT_TRACE_ME                       = 0x0
-       PT_WRITE_D                        = 0x5
-       PT_WRITE_I                        = 0x4
-       PT_WRITE_U                        = 0x6
-       RLIMIT_AS                         = 0x5
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_CPU_USAGE_MONITOR          = 0x2
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_MAX                          = 0x8
-       RTAX_NETMASK                      = 0x2
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_NETMASK                       = 0x4
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_BROADCAST                     = 0x400000
-       RTF_CLONING                       = 0x100
-       RTF_CONDEMNED                     = 0x2000000
-       RTF_DELCLONE                      = 0x80
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_GATEWAY                       = 0x2
-       RTF_HOST                          = 0x4
-       RTF_IFREF                         = 0x4000000
-       RTF_IFSCOPE                       = 0x1000000
-       RTF_LLINFO                        = 0x400
-       RTF_LOCAL                         = 0x200000
-       RTF_MODIFIED                      = 0x20
-       RTF_MULTICAST                     = 0x800000
-       RTF_NOIFREF                       = 0x2000
-       RTF_PINNED                        = 0x100000
-       RTF_PRCLONING                     = 0x10000
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_PROTO3                        = 0x40000
-       RTF_PROXY                         = 0x8000000
-       RTF_REJECT                        = 0x8
-       RTF_ROUTER                        = 0x10000000
-       RTF_STATIC                        = 0x800
-       RTF_UP                            = 0x1
-       RTF_WASCLONED                     = 0x20000
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_DELMADDR                      = 0x10
-       RTM_GET                           = 0x4
-       RTM_GET2                          = 0x14
-       RTM_IFINFO                        = 0xe
-       RTM_IFINFO2                       = 0x12
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_NEWMADDR                      = 0xf
-       RTM_NEWMADDR2                     = 0x13
-       RTM_OLDADD                        = 0x9
-       RTM_OLDDEL                        = 0xa
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_VERSION                       = 0x5
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       SCM_CREDS                         = 0x3
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x2
-       SCM_TIMESTAMP_MONOTONIC           = 0x4
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80206931
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCARPIPLL                       = 0xc0206928
-       SIOCATMARK                        = 0x40047307
-       SIOCAUTOADDR                      = 0xc0206926
-       SIOCAUTONETMASK                   = 0x80206927
-       SIOCDELMULTI                      = 0x80206932
-       SIOCDIFADDR                       = 0x80206919
-       SIOCDIFPHYADDR                    = 0x80206941
-       SIOCGDRVSPEC                      = 0xc01c697b
-       SIOCGETVLAN                       = 0xc020697f
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0206921
-       SIOCGIFALTMTU                     = 0xc0206948
-       SIOCGIFASYNCMAP                   = 0xc020697c
-       SIOCGIFBOND                       = 0xc0206947
-       SIOCGIFBRDADDR                    = 0xc0206923
-       SIOCGIFCAP                        = 0xc020695b
-       SIOCGIFCONF                       = 0xc0086924
-       SIOCGIFDEVMTU                     = 0xc0206944
-       SIOCGIFDSTADDR                    = 0xc0206922
-       SIOCGIFFLAGS                      = 0xc0206911
-       SIOCGIFGENERIC                    = 0xc020693a
-       SIOCGIFKPI                        = 0xc0206987
-       SIOCGIFMAC                        = 0xc0206982
-       SIOCGIFMEDIA                      = 0xc0286938
-       SIOCGIFMETRIC                     = 0xc0206917
-       SIOCGIFMTU                        = 0xc0206933
-       SIOCGIFNETMASK                    = 0xc0206925
-       SIOCGIFPDSTADDR                   = 0xc0206940
-       SIOCGIFPHYS                       = 0xc0206935
-       SIOCGIFPSRCADDR                   = 0xc020693f
-       SIOCGIFSTATUS                     = 0xc331693d
-       SIOCGIFVLAN                       = 0xc020697f
-       SIOCGIFWAKEFLAGS                  = 0xc0206988
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCIFCREATE                      = 0xc0206978
-       SIOCIFCREATE2                     = 0xc020697a
-       SIOCIFDESTROY                     = 0x80206979
-       SIOCIFGCLONERS                    = 0xc00c6981
-       SIOCRSLVMULTI                     = 0xc008693b
-       SIOCSDRVSPEC                      = 0x801c697b
-       SIOCSETVLAN                       = 0x8020697e
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8020690c
-       SIOCSIFALTMTU                     = 0x80206945
-       SIOCSIFASYNCMAP                   = 0x8020697d
-       SIOCSIFBOND                       = 0x80206946
-       SIOCSIFBRDADDR                    = 0x80206913
-       SIOCSIFCAP                        = 0x8020695a
-       SIOCSIFDSTADDR                    = 0x8020690e
-       SIOCSIFFLAGS                      = 0x80206910
-       SIOCSIFGENERIC                    = 0x80206939
-       SIOCSIFKPI                        = 0x80206986
-       SIOCSIFLLADDR                     = 0x8020693c
-       SIOCSIFMAC                        = 0x80206983
-       SIOCSIFMEDIA                      = 0xc0206937
-       SIOCSIFMETRIC                     = 0x80206918
-       SIOCSIFMTU                        = 0x80206934
-       SIOCSIFNETMASK                    = 0x80206916
-       SIOCSIFPHYADDR                    = 0x8040693e
-       SIOCSIFPHYS                       = 0x80206936
-       SIOCSIFVLAN                       = 0x8020697e
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SOCK_DGRAM                        = 0x2
-       SOCK_MAXADDRLEN                   = 0xff
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_DONTTRUNC                      = 0x2000
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LABEL                          = 0x1010
-       SO_LINGER                         = 0x80
-       SO_LINGER_SEC                     = 0x1080
-       SO_NKE                            = 0x1021
-       SO_NOADDRERR                      = 0x1023
-       SO_NOSIGPIPE                      = 0x1022
-       SO_NOTIFYCONFLICT                 = 0x1026
-       SO_NP_EXTENSIONS                  = 0x1083
-       SO_NREAD                          = 0x1020
-       SO_NUMRCVPKT                      = 0x1112
-       SO_NWRITE                         = 0x1024
-       SO_OOBINLINE                      = 0x100
-       SO_PEERLABEL                      = 0x1011
-       SO_RANDOMPORT                     = 0x1082
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x1006
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_REUSESHAREUID                  = 0x1025
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x1005
-       SO_TIMESTAMP                      = 0x400
-       SO_TIMESTAMP_MONOTONIC            = 0x800
-       SO_TYPE                           = 0x1008
-       SO_UPCALLCLOSEWAIT                = 0x1027
-       SO_USELOOPBACK                    = 0x40
-       SO_WANTMORE                       = 0x4000
-       SO_WANTOOBFLAG                    = 0x8000
-       S_IEXEC                           = 0x40
-       S_IFBLK                           = 0x6000
-       S_IFCHR                           = 0x2000
-       S_IFDIR                           = 0x4000
-       S_IFIFO                           = 0x1000
-       S_IFLNK                           = 0xa000
-       S_IFMT                            = 0xf000
-       S_IFREG                           = 0x8000
-       S_IFSOCK                          = 0xc000
-       S_IFWHT                           = 0xe000
-       S_IREAD                           = 0x100
-       S_IRGRP                           = 0x20
-       S_IROTH                           = 0x4
-       S_IRUSR                           = 0x100
-       S_IRWXG                           = 0x38
-       S_IRWXO                           = 0x7
-       S_IRWXU                           = 0x1c0
-       S_ISGID                           = 0x400
-       S_ISTXT                           = 0x200
-       S_ISUID                           = 0x800
-       S_ISVTX                           = 0x200
-       S_IWGRP                           = 0x10
-       S_IWOTH                           = 0x2
-       S_IWRITE                          = 0x80
-       S_IWUSR                           = 0x80
-       S_IXGRP                           = 0x8
-       S_IXOTH                           = 0x1
-       S_IXUSR                           = 0x40
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_CONNECTIONTIMEOUT             = 0x20
-       TCP_ENABLE_ECN                    = 0x104
-       TCP_KEEPALIVE                     = 0x10
-       TCP_KEEPCNT                       = 0x102
-       TCP_KEEPINTVL                     = 0x101
-       TCP_MAXHLEN                       = 0x3c
-       TCP_MAXOLEN                       = 0x28
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_SACK                      = 0x4
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MINMSS                        = 0xd8
-       TCP_MSS                           = 0x200
-       TCP_NODELAY                       = 0x1
-       TCP_NOOPT                         = 0x8
-       TCP_NOPUSH                        = 0x4
-       TCP_NOTSENT_LOWAT                 = 0x201
-       TCP_RXT_CONNDROPTIME              = 0x80
-       TCP_RXT_FINDROP                   = 0x100
-       TCP_SENDMOREACKS                  = 0x103
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDCDTIMESTAMP                  = 0x40087458
-       TIOCDRAIN                         = 0x2000745e
-       TIOCDSIMICROCODE                  = 0x20007455
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLUSH                         = 0x80047410
-       TIOCGDRAINWAIT                    = 0x40047456
-       TIOCGETA                          = 0x402c7413
-       TIOCGETD                          = 0x4004741a
-       TIOCGPGRP                         = 0x40047477
-       TIOCGWINSZ                        = 0x40087468
-       TIOCIXOFF                         = 0x20007480
-       TIOCIXON                          = 0x20007481
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGDTRWAIT                     = 0x4004745a
-       TIOCMGET                          = 0x4004746a
-       TIOCMODG                          = 0x40047403
-       TIOCMODS                          = 0x80047404
-       TIOCMSDTRWAIT                     = 0x8004745b
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCPTYGNAME                      = 0x40807453
-       TIOCPTYGRANT                      = 0x20007454
-       TIOCPTYUNLK                       = 0x20007452
-       TIOCREMOTE                        = 0x80047469
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCONS                         = 0x20007463
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDRAINWAIT                    = 0x80047457
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x802c7414
-       TIOCSETAF                         = 0x802c7416
-       TIOCSETAW                         = 0x802c7415
-       TIOCSETD                          = 0x8004741b
-       TIOCSIG                           = 0x2000745f
-       TIOCSPGRP                         = 0x80047476
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x20007465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSWINSZ                        = 0x80087467
-       TIOCTIMESTAMP                     = 0x40087459
-       TIOCUCNTL                         = 0x80047466
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VT0                               = 0x0
-       VT1                               = 0x10000
-       VTDLY                             = 0x10000
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WCONTINUED                        = 0x10
-       WCOREFLAG                         = 0x80
-       WEXITED                           = 0x4
-       WNOHANG                           = 0x1
-       WNOWAIT                           = 0x20
-       WORDSIZE                          = 0x20
-       WSTOPPED                          = 0x8
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADARCH        = syscall.Errno(0x56)
-       EBADEXEC        = syscall.Errno(0x55)
-       EBADF           = syscall.Errno(0x9)
-       EBADMACHO       = syscall.Errno(0x58)
-       EBADMSG         = syscall.Errno(0x5e)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x59)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDEVERR         = syscall.Errno(0x53)
-       EDOM            = syscall.Errno(0x21)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x5a)
-       EILSEQ          = syscall.Errno(0x5c)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x6a)
-       ELOOP           = syscall.Errno(0x3e)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       EMULTIHOP       = syscall.Errno(0x5f)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x5d)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODATA         = syscall.Errno(0x60)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOLINK         = syscall.Errno(0x61)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x5b)
-       ENOPOLICY       = syscall.Errno(0x67)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x62)
-       ENOSTR          = syscall.Errno(0x63)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTRECOVERABLE = syscall.Errno(0x68)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x2d)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x66)
-       EOVERFLOW       = syscall.Errno(0x54)
-       EOWNERDEAD      = syscall.Errno(0x69)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTO          = syscall.Errno(0x64)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       EPWROFF         = syscall.Errno(0x52)
-       EQFULL          = syscall.Errno(0x6a)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHLIBVERS      = syscall.Errno(0x57)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIME           = syscall.Errno(0x65)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:   "operation not permitted",
-       2:   "no such file or directory",
-       3:   "no such process",
-       4:   "interrupted system call",
-       5:   "input/output error",
-       6:   "device not configured",
-       7:   "argument list too long",
-       8:   "exec format error",
-       9:   "bad file descriptor",
-       10:  "no child processes",
-       11:  "resource deadlock avoided",
-       12:  "cannot allocate memory",
-       13:  "permission denied",
-       14:  "bad address",
-       15:  "block device required",
-       16:  "resource busy",
-       17:  "file exists",
-       18:  "cross-device link",
-       19:  "operation not supported by device",
-       20:  "not a directory",
-       21:  "is a directory",
-       22:  "invalid argument",
-       23:  "too many open files in system",
-       24:  "too many open files",
-       25:  "inappropriate ioctl for device",
-       26:  "text file busy",
-       27:  "file too large",
-       28:  "no space left on device",
-       29:  "illegal seek",
-       30:  "read-only file system",
-       31:  "too many links",
-       32:  "broken pipe",
-       33:  "numerical argument out of domain",
-       34:  "result too large",
-       35:  "resource temporarily unavailable",
-       36:  "operation now in progress",
-       37:  "operation already in progress",
-       38:  "socket operation on non-socket",
-       39:  "destination address required",
-       40:  "message too long",
-       41:  "protocol wrong type for socket",
-       42:  "protocol not available",
-       43:  "protocol not supported",
-       44:  "socket type not supported",
-       45:  "operation not supported",
-       46:  "protocol family not supported",
-       47:  "address family not supported by protocol family",
-       48:  "address already in use",
-       49:  "can't assign requested address",
-       50:  "network is down",
-       51:  "network is unreachable",
-       52:  "network dropped connection on reset",
-       53:  "software caused connection abort",
-       54:  "connection reset by peer",
-       55:  "no buffer space available",
-       56:  "socket is already connected",
-       57:  "socket is not connected",
-       58:  "can't send after socket shutdown",
-       59:  "too many references: can't splice",
-       60:  "operation timed out",
-       61:  "connection refused",
-       62:  "too many levels of symbolic links",
-       63:  "file name too long",
-       64:  "host is down",
-       65:  "no route to host",
-       66:  "directory not empty",
-       67:  "too many processes",
-       68:  "too many users",
-       69:  "disc quota exceeded",
-       70:  "stale NFS file handle",
-       71:  "too many levels of remote in path",
-       72:  "RPC struct is bad",
-       73:  "RPC version wrong",
-       74:  "RPC prog. not avail",
-       75:  "program version wrong",
-       76:  "bad procedure for program",
-       77:  "no locks available",
-       78:  "function not implemented",
-       79:  "inappropriate file type or format",
-       80:  "authentication error",
-       81:  "need authenticator",
-       82:  "device power is off",
-       83:  "device error",
-       84:  "value too large to be stored in data type",
-       85:  "bad executable (or shared library)",
-       86:  "bad CPU type in executable",
-       87:  "shared library version mismatch",
-       88:  "malformed Mach-o file",
-       89:  "operation canceled",
-       90:  "identifier removed",
-       91:  "no message of desired type",
-       92:  "illegal byte sequence",
-       93:  "attribute not found",
-       94:  "bad message",
-       95:  "EMULTIHOP (Reserved)",
-       96:  "no message available on STREAM",
-       97:  "ENOLINK (Reserved)",
-       98:  "no STREAM resources",
-       99:  "not a STREAM",
-       100: "protocol error",
-       101: "STREAM ioctl timeout",
-       102: "operation not supported on socket",
-       103: "policy not found",
-       104: "state not recoverable",
-       105: "previous owner died",
-       106: "interface output queue is full",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "suspended (signal)",
-       18: "suspended",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go
deleted file mode 100644 (file)
index 9594f93..0000000
+++ /dev/null
@@ -1,1576 +0,0 @@
-// mkerrors.sh -m64
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build amd64,darwin
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m64 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1c
-       AF_ECMA                           = 0x8
-       AF_HYLINK                         = 0xf
-       AF_IEEE80211                      = 0x25
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x1e
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1c
-       AF_ISO                            = 0x7
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x28
-       AF_NATM                           = 0x1f
-       AF_NDRV                           = 0x1b
-       AF_NETBIOS                        = 0x21
-       AF_NS                             = 0x6
-       AF_OSI                            = 0x7
-       AF_PPP                            = 0x22
-       AF_PUP                            = 0x4
-       AF_RESERVED_36                    = 0x24
-       AF_ROUTE                          = 0x11
-       AF_SIP                            = 0x18
-       AF_SNA                            = 0xb
-       AF_SYSTEM                         = 0x20
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       AF_UTUN                           = 0x26
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B9600                             = 0x2580
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc00c4279
-       BIOCGETIF                         = 0x4020426b
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRSIG                         = 0x40044272
-       BIOCGRTIMEOUT                     = 0x4010426e
-       BIOCGSEESENT                      = 0x40044276
-       BIOCGSTATS                        = 0x4008426f
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCPROMISC                       = 0x20004269
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDLT                          = 0x80044278
-       BIOCSETF                          = 0x80104267
-       BIOCSETFNR                        = 0x8010427e
-       BIOCSETIF                         = 0x8020426c
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRSIG                         = 0x80044273
-       BIOCSRTIMEOUT                     = 0x8010426d
-       BIOCSSEESENT                      = 0x80044277
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x4
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x80000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0x14
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0xc
-       CTL_NET                           = 0x4
-       DLT_A429                          = 0xb8
-       DLT_A653_ICM                      = 0xb9
-       DLT_AIRONET_HEADER                = 0x78
-       DLT_AOS                           = 0xde
-       DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
-       DLT_ARCNET                        = 0x7
-       DLT_ARCNET_LINUX                  = 0x81
-       DLT_ATM_CLIP                      = 0x13
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AURORA                        = 0x7e
-       DLT_AX25                          = 0x3
-       DLT_AX25_KISS                     = 0xca
-       DLT_BACNET_MS_TP                  = 0xa5
-       DLT_BLUETOOTH_HCI_H4              = 0xbb
-       DLT_BLUETOOTH_HCI_H4_WITH_PHDR    = 0xc9
-       DLT_CAN20B                        = 0xbe
-       DLT_CAN_SOCKETCAN                 = 0xe3
-       DLT_CHAOS                         = 0x5
-       DLT_CHDLC                         = 0x68
-       DLT_CISCO_IOS                     = 0x76
-       DLT_C_HDLC                        = 0x68
-       DLT_C_HDLC_WITH_DIR               = 0xcd
-       DLT_DBUS                          = 0xe7
-       DLT_DECT                          = 0xdd
-       DLT_DOCSIS                        = 0x8f
-       DLT_DVB_CI                        = 0xeb
-       DLT_ECONET                        = 0x73
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0x6d
-       DLT_ERF                           = 0xc5
-       DLT_ERF_ETH                       = 0xaf
-       DLT_ERF_POS                       = 0xb0
-       DLT_FC_2                          = 0xe0
-       DLT_FC_2_WITH_FRAME_DELIMS        = 0xe1
-       DLT_FDDI                          = 0xa
-       DLT_FLEXRAY                       = 0xd2
-       DLT_FRELAY                        = 0x6b
-       DLT_FRELAY_WITH_DIR               = 0xce
-       DLT_GCOM_SERIAL                   = 0xad
-       DLT_GCOM_T1E1                     = 0xac
-       DLT_GPF_F                         = 0xab
-       DLT_GPF_T                         = 0xaa
-       DLT_GPRS_LLC                      = 0xa9
-       DLT_GSMTAP_ABIS                   = 0xda
-       DLT_GSMTAP_UM                     = 0xd9
-       DLT_HHDLC                         = 0x79
-       DLT_IBM_SN                        = 0x92
-       DLT_IBM_SP                        = 0x91
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_IEEE802_11_RADIO_AVS          = 0xa3
-       DLT_IEEE802_15_4                  = 0xc3
-       DLT_IEEE802_15_4_LINUX            = 0xbf
-       DLT_IEEE802_15_4_NOFCS            = 0xe6
-       DLT_IEEE802_15_4_NONASK_PHY       = 0xd7
-       DLT_IEEE802_16_MAC_CPS            = 0xbc
-       DLT_IEEE802_16_MAC_CPS_RADIO      = 0xc1
-       DLT_IPFILTER                      = 0x74
-       DLT_IPMB                          = 0xc7
-       DLT_IPMB_LINUX                    = 0xd1
-       DLT_IPNET                         = 0xe2
-       DLT_IPOIB                         = 0xf2
-       DLT_IPV4                          = 0xe4
-       DLT_IPV6                          = 0xe5
-       DLT_IP_OVER_FC                    = 0x7a
-       DLT_JUNIPER_ATM1                  = 0x89
-       DLT_JUNIPER_ATM2                  = 0x87
-       DLT_JUNIPER_ATM_CEMIC             = 0xee
-       DLT_JUNIPER_CHDLC                 = 0xb5
-       DLT_JUNIPER_ES                    = 0x84
-       DLT_JUNIPER_ETHER                 = 0xb2
-       DLT_JUNIPER_FIBRECHANNEL          = 0xea
-       DLT_JUNIPER_FRELAY                = 0xb4
-       DLT_JUNIPER_GGSN                  = 0x85
-       DLT_JUNIPER_ISM                   = 0xc2
-       DLT_JUNIPER_MFR                   = 0x86
-       DLT_JUNIPER_MLFR                  = 0x83
-       DLT_JUNIPER_MLPPP                 = 0x82
-       DLT_JUNIPER_MONITOR               = 0xa4
-       DLT_JUNIPER_PIC_PEER              = 0xae
-       DLT_JUNIPER_PPP                   = 0xb3
-       DLT_JUNIPER_PPPOE                 = 0xa7
-       DLT_JUNIPER_PPPOE_ATM             = 0xa8
-       DLT_JUNIPER_SERVICES              = 0x88
-       DLT_JUNIPER_SRX_E2E               = 0xe9
-       DLT_JUNIPER_ST                    = 0xc8
-       DLT_JUNIPER_VP                    = 0xb7
-       DLT_JUNIPER_VS                    = 0xe8
-       DLT_LAPB_WITH_DIR                 = 0xcf
-       DLT_LAPD                          = 0xcb
-       DLT_LIN                           = 0xd4
-       DLT_LINUX_EVDEV                   = 0xd8
-       DLT_LINUX_IRDA                    = 0x90
-       DLT_LINUX_LAPD                    = 0xb1
-       DLT_LINUX_PPP_WITHDIRECTION       = 0xa6
-       DLT_LINUX_SLL                     = 0x71
-       DLT_LOOP                          = 0x6c
-       DLT_LTALK                         = 0x72
-       DLT_MATCHING_MAX                  = 0xf5
-       DLT_MATCHING_MIN                  = 0x68
-       DLT_MFR                           = 0xb6
-       DLT_MOST                          = 0xd3
-       DLT_MPEG_2_TS                     = 0xf3
-       DLT_MPLS                          = 0xdb
-       DLT_MTP2                          = 0x8c
-       DLT_MTP2_WITH_PHDR                = 0x8b
-       DLT_MTP3                          = 0x8d
-       DLT_MUX27010                      = 0xec
-       DLT_NETANALYZER                   = 0xf0
-       DLT_NETANALYZER_TRANSPARENT       = 0xf1
-       DLT_NFC_LLCP                      = 0xf5
-       DLT_NFLOG                         = 0xef
-       DLT_NG40                          = 0xf4
-       DLT_NULL                          = 0x0
-       DLT_PCI_EXP                       = 0x7d
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x12
-       DLT_PPI                           = 0xc0
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0x10
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_PPPD                      = 0xa6
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PPP_WITH_DIR                  = 0xcc
-       DLT_PPP_WITH_DIRECTION            = 0xa6
-       DLT_PRISM_HEADER                  = 0x77
-       DLT_PRONET                        = 0x4
-       DLT_RAIF1                         = 0xc6
-       DLT_RAW                           = 0xc
-       DLT_RIO                           = 0x7c
-       DLT_SCCP                          = 0x8e
-       DLT_SITA                          = 0xc4
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xf
-       DLT_STANAG_5066_D_PDU             = 0xed
-       DLT_SUNATM                        = 0x7b
-       DLT_SYMANTEC_FIREWALL             = 0x63
-       DLT_TZSP                          = 0x80
-       DLT_USB                           = 0xba
-       DLT_USB_LINUX                     = 0xbd
-       DLT_USB_LINUX_MMAPPED             = 0xdc
-       DLT_USER0                         = 0x93
-       DLT_USER1                         = 0x94
-       DLT_USER10                        = 0x9d
-       DLT_USER11                        = 0x9e
-       DLT_USER12                        = 0x9f
-       DLT_USER13                        = 0xa0
-       DLT_USER14                        = 0xa1
-       DLT_USER15                        = 0xa2
-       DLT_USER2                         = 0x95
-       DLT_USER3                         = 0x96
-       DLT_USER4                         = 0x97
-       DLT_USER5                         = 0x98
-       DLT_USER6                         = 0x99
-       DLT_USER7                         = 0x9a
-       DLT_USER8                         = 0x9b
-       DLT_USER9                         = 0x9c
-       DLT_WIHART                        = 0xdf
-       DLT_X2E_SERIAL                    = 0xd5
-       DLT_X2E_XORAYA                    = 0xd6
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       DT_WHT                            = 0xe
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EVFILT_AIO                        = -0x3
-       EVFILT_FS                         = -0x9
-       EVFILT_MACHPORT                   = -0x8
-       EVFILT_PROC                       = -0x5
-       EVFILT_READ                       = -0x1
-       EVFILT_SIGNAL                     = -0x6
-       EVFILT_SYSCOUNT                   = 0xe
-       EVFILT_THREADMARKER               = 0xe
-       EVFILT_TIMER                      = -0x7
-       EVFILT_USER                       = -0xa
-       EVFILT_VM                         = -0xc
-       EVFILT_VNODE                      = -0x4
-       EVFILT_WRITE                      = -0x2
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_DISPATCH                       = 0x80
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG0                          = 0x1000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_OOBAND                         = 0x2000
-       EV_POLL                           = 0x1000
-       EV_RECEIPT                        = 0x40
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x400
-       FLUSHO                            = 0x800000
-       F_ADDFILESIGS                     = 0x3d
-       F_ADDSIGS                         = 0x3b
-       F_ALLOCATEALL                     = 0x4
-       F_ALLOCATECONTIG                  = 0x2
-       F_CHKCLEAN                        = 0x29
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0x43
-       F_FINDSIGS                        = 0x4e
-       F_FLUSH_DATA                      = 0x28
-       F_FREEZE_FS                       = 0x35
-       F_FULLFSYNC                       = 0x33
-       F_GETCODEDIR                      = 0x48
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0x7
-       F_GETLKPID                        = 0x42
-       F_GETNOSIGPIPE                    = 0x4a
-       F_GETOWN                          = 0x5
-       F_GETPATH                         = 0x32
-       F_GETPATH_MTMINFO                 = 0x47
-       F_GETPROTECTIONCLASS              = 0x3f
-       F_GETPROTECTIONLEVEL              = 0x4d
-       F_GLOBAL_NOCACHE                  = 0x37
-       F_LOG2PHYS                        = 0x31
-       F_LOG2PHYS_EXT                    = 0x41
-       F_NOCACHE                         = 0x30
-       F_NODIRECT                        = 0x3e
-       F_OK                              = 0x0
-       F_PATHPKG_CHECK                   = 0x34
-       F_PEOFPOSMODE                     = 0x3
-       F_PREALLOCATE                     = 0x2a
-       F_RDADVISE                        = 0x2c
-       F_RDAHEAD                         = 0x2d
-       F_RDLCK                           = 0x1
-       F_SETBACKINGSTORE                 = 0x46
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0x8
-       F_SETLKW                          = 0x9
-       F_SETLKWTIMEOUT                   = 0xa
-       F_SETNOSIGPIPE                    = 0x49
-       F_SETOWN                          = 0x6
-       F_SETPROTECTIONCLASS              = 0x40
-       F_SETSIZE                         = 0x2b
-       F_SINGLE_WRITER                   = 0x4c
-       F_THAW_FS                         = 0x36
-       F_TRANSCODEKEY                    = 0x4b
-       F_UNLCK                           = 0x2
-       F_VOLPOSMODE                      = 0x4
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFF_ALLMULTI                      = 0x200
-       IFF_ALTPHYS                       = 0x4000
-       IFF_BROADCAST                     = 0x2
-       IFF_DEBUG                         = 0x4
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_NOTRAILERS                    = 0x20
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PROMISC                       = 0x100
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_AAL5                          = 0x31
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ATM                           = 0x25
-       IFT_BRIDGE                        = 0xd1
-       IFT_CARP                          = 0xf8
-       IFT_CELLULAR                      = 0xff
-       IFT_CEPT                          = 0x13
-       IFT_DS3                           = 0x1e
-       IFT_ENC                           = 0xf4
-       IFT_EON                           = 0x19
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0x38
-       IFT_FDDI                          = 0xf
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_GIF                           = 0x37
-       IFT_HDH1822                       = 0x3
-       IFT_HIPPI                         = 0x2f
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE8023ADLAG                 = 0x88
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88026                      = 0xa
-       IFT_L2VLAN                        = 0x87
-       IFT_LAPB                          = 0x10
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_NSIP                          = 0x1b
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PDP                           = 0xff
-       IFT_PFLOG                         = 0xf5
-       IFT_PFSYNC                        = 0xf6
-       IFT_PKTAP                         = 0xfe
-       IFT_PPP                           = 0x17
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PTPSERIAL                     = 0x16
-       IFT_RS232                         = 0x21
-       IFT_SDLC                          = 0x11
-       IFT_SIP                           = 0x1f
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_STARLAN                       = 0xb
-       IFT_STF                           = 0x39
-       IFT_T1                            = 0x12
-       IFT_ULTRA                         = 0x1d
-       IFT_V35                           = 0x2d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LINKLOCALNETNUM                = 0xa9fe0000
-       IN_LOOPBACKNET                    = 0x7f
-       IPPROTO_3PC                       = 0x22
-       IPPROTO_ADFS                      = 0x44
-       IPPROTO_AH                        = 0x33
-       IPPROTO_AHIP                      = 0x3d
-       IPPROTO_APES                      = 0x63
-       IPPROTO_ARGUS                     = 0xd
-       IPPROTO_AX25                      = 0x5d
-       IPPROTO_BHA                       = 0x31
-       IPPROTO_BLT                       = 0x1e
-       IPPROTO_BRSATMON                  = 0x4c
-       IPPROTO_CFTP                      = 0x3e
-       IPPROTO_CHAOS                     = 0x10
-       IPPROTO_CMTP                      = 0x26
-       IPPROTO_CPHB                      = 0x49
-       IPPROTO_CPNX                      = 0x48
-       IPPROTO_DDP                       = 0x25
-       IPPROTO_DGP                       = 0x56
-       IPPROTO_DIVERT                    = 0xfe
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_EMCON                     = 0xe
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GMTP                      = 0x64
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HELLO                     = 0x3f
-       IPPROTO_HMP                       = 0x14
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IDPR                      = 0x23
-       IPPROTO_IDRP                      = 0x2d
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IGP                       = 0x55
-       IPPROTO_IGRP                      = 0x58
-       IPPROTO_IL                        = 0x28
-       IPPROTO_INLSP                     = 0x34
-       IPPROTO_INP                       = 0x20
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPCV                      = 0x47
-       IPPROTO_IPEIP                     = 0x5e
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPPC                      = 0x43
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_IRTP                      = 0x1c
-       IPPROTO_KRYPTOLAN                 = 0x41
-       IPPROTO_LARP                      = 0x5b
-       IPPROTO_LEAF1                     = 0x19
-       IPPROTO_LEAF2                     = 0x1a
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x34
-       IPPROTO_MEAS                      = 0x13
-       IPPROTO_MHRP                      = 0x30
-       IPPROTO_MICP                      = 0x5f
-       IPPROTO_MTP                       = 0x5c
-       IPPROTO_MUX                       = 0x12
-       IPPROTO_ND                        = 0x4d
-       IPPROTO_NHRP                      = 0x36
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_NSP                       = 0x1f
-       IPPROTO_NVPII                     = 0xb
-       IPPROTO_OSPFIGP                   = 0x59
-       IPPROTO_PGM                       = 0x71
-       IPPROTO_PIGP                      = 0x9
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PRM                       = 0x15
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_PVP                       = 0x4b
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_RCCMON                    = 0xa
-       IPPROTO_RDP                       = 0x1b
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_RVD                       = 0x42
-       IPPROTO_SATEXPAK                  = 0x40
-       IPPROTO_SATMON                    = 0x45
-       IPPROTO_SCCSP                     = 0x60
-       IPPROTO_SCTP                      = 0x84
-       IPPROTO_SDRP                      = 0x2a
-       IPPROTO_SEP                       = 0x21
-       IPPROTO_SRPC                      = 0x5a
-       IPPROTO_ST                        = 0x7
-       IPPROTO_SVMTP                     = 0x52
-       IPPROTO_SWIPE                     = 0x35
-       IPPROTO_TCF                       = 0x57
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_TPXX                      = 0x27
-       IPPROTO_TRUNK1                    = 0x17
-       IPPROTO_TRUNK2                    = 0x18
-       IPPROTO_TTP                       = 0x54
-       IPPROTO_UDP                       = 0x11
-       IPPROTO_VINES                     = 0x53
-       IPPROTO_VISA                      = 0x46
-       IPPROTO_VMTP                      = 0x51
-       IPPROTO_WBEXPAK                   = 0x4f
-       IPPROTO_WBMON                     = 0x4e
-       IPPROTO_WSN                       = 0x4a
-       IPPROTO_XNET                      = 0xf
-       IPPROTO_XTP                       = 0x24
-       IPV6_2292DSTOPTS                  = 0x17
-       IPV6_2292HOPLIMIT                 = 0x14
-       IPV6_2292HOPOPTS                  = 0x16
-       IPV6_2292NEXTHOP                  = 0x15
-       IPV6_2292PKTINFO                  = 0x13
-       IPV6_2292PKTOPTIONS               = 0x19
-       IPV6_2292RTHDR                    = 0x18
-       IPV6_BINDV6ONLY                   = 0x1b
-       IPV6_BOUND_IF                     = 0x7d
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x3c
-       IPV6_FW_ADD                       = 0x1e
-       IPV6_FW_DEL                       = 0x1f
-       IPV6_FW_FLUSH                     = 0x20
-       IPV6_FW_GET                       = 0x22
-       IPV6_FW_ZERO                      = 0x21
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_IPSEC_POLICY                 = 0x1c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXOPTHDR                    = 0x800
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MAX_GROUP_SRC_FILTER         = 0x200
-       IPV6_MAX_MEMBERSHIPS              = 0xfff
-       IPV6_MAX_SOCK_SRC_FILTER          = 0x80
-       IPV6_MIN_MEMBERSHIPS              = 0x1f
-       IPV6_MMTU                         = 0x500
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_RECVTCLASS                   = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x24
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_ADD_SOURCE_MEMBERSHIP          = 0x46
-       IP_BLOCK_SOURCE                   = 0x48
-       IP_BOUND_IF                       = 0x19
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_DROP_SOURCE_MEMBERSHIP         = 0x47
-       IP_DUMMYNET_CONFIGURE             = 0x3c
-       IP_DUMMYNET_DEL                   = 0x3d
-       IP_DUMMYNET_FLUSH                 = 0x3e
-       IP_DUMMYNET_GET                   = 0x40
-       IP_FAITH                          = 0x16
-       IP_FW_ADD                         = 0x28
-       IP_FW_DEL                         = 0x29
-       IP_FW_FLUSH                       = 0x2a
-       IP_FW_GET                         = 0x2c
-       IP_FW_RESETLOG                    = 0x2d
-       IP_FW_ZERO                        = 0x2b
-       IP_HDRINCL                        = 0x2
-       IP_IPSEC_POLICY                   = 0x15
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_GROUP_SRC_FILTER           = 0x200
-       IP_MAX_MEMBERSHIPS                = 0xfff
-       IP_MAX_SOCK_MUTE_FILTER           = 0x80
-       IP_MAX_SOCK_SRC_FILTER            = 0x80
-       IP_MF                             = 0x2000
-       IP_MIN_MEMBERSHIPS                = 0x1f
-       IP_MSFILTER                       = 0x4a
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_IFINDEX              = 0x42
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_MULTICAST_VIF                  = 0xe
-       IP_NAT__XXX                       = 0x37
-       IP_OFFMASK                        = 0x1fff
-       IP_OLD_FW_ADD                     = 0x32
-       IP_OLD_FW_DEL                     = 0x33
-       IP_OLD_FW_FLUSH                   = 0x34
-       IP_OLD_FW_GET                     = 0x36
-       IP_OLD_FW_RESETLOG                = 0x38
-       IP_OLD_FW_ZERO                    = 0x35
-       IP_OPTIONS                        = 0x1
-       IP_PKTINFO                        = 0x1a
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVIF                         = 0x14
-       IP_RECVOPTS                       = 0x5
-       IP_RECVPKTINFO                    = 0x1a
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVTTL                        = 0x18
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_RSVP_OFF                       = 0x10
-       IP_RSVP_ON                        = 0xf
-       IP_RSVP_VIF_OFF                   = 0x12
-       IP_RSVP_VIF_ON                    = 0x11
-       IP_STRIPHDR                       = 0x17
-       IP_TOS                            = 0x3
-       IP_TRAFFIC_MGT_BACKGROUND         = 0x41
-       IP_TTL                            = 0x4
-       IP_UNBLOCK_SOURCE                 = 0x49
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IUTF8                             = 0x4000
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_CAN_REUSE                    = 0x9
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x5
-       MADV_FREE_REUSABLE                = 0x7
-       MADV_FREE_REUSE                   = 0x8
-       MADV_NORMAL                       = 0x0
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_WILLNEED                     = 0x3
-       MADV_ZERO_WIRED_PAGES             = 0x6
-       MAP_ANON                          = 0x1000
-       MAP_COPY                          = 0x2
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_JIT                           = 0x800
-       MAP_NOCACHE                       = 0x400
-       MAP_NOEXTEND                      = 0x100
-       MAP_NORESERVE                     = 0x40
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_RESERVED0080                  = 0x80
-       MAP_SHARED                        = 0x1
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOF                           = 0x100
-       MSG_EOR                           = 0x8
-       MSG_FLUSH                         = 0x400
-       MSG_HAVEMORE                      = 0x2000
-       MSG_HOLD                          = 0x800
-       MSG_NEEDSA                        = 0x10000
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_RCVMORE                       = 0x4000
-       MSG_SEND                          = 0x1000
-       MSG_TRUNC                         = 0x10
-       MSG_WAITALL                       = 0x40
-       MSG_WAITSTREAM                    = 0x200
-       MS_ASYNC                          = 0x1
-       MS_DEACTIVATE                     = 0x8
-       MS_INVALIDATE                     = 0x2
-       MS_KILLPAGES                      = 0x4
-       MS_SYNC                           = 0x10
-       NAME_MAX                          = 0xff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_DUMP2                      = 0x7
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x3
-       NET_RT_IFLIST2                    = 0x6
-       NET_RT_MAXID                      = 0xa
-       NET_RT_STAT                       = 0x4
-       NET_RT_TRASH                      = 0x5
-       NOFLSH                            = 0x80000000
-       NOTE_ABSOLUTE                     = 0x8
-       NOTE_ATTRIB                       = 0x8
-       NOTE_BACKGROUND                   = 0x40
-       NOTE_CHILD                        = 0x4
-       NOTE_CRITICAL                     = 0x20
-       NOTE_DELETE                       = 0x1
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXITSTATUS                   = 0x4000000
-       NOTE_EXIT_CSERROR                 = 0x40000
-       NOTE_EXIT_DECRYPTFAIL             = 0x10000
-       NOTE_EXIT_DETAIL                  = 0x2000000
-       NOTE_EXIT_DETAIL_MASK             = 0x70000
-       NOTE_EXIT_MEMORY                  = 0x20000
-       NOTE_EXIT_REPARENTED              = 0x80000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FFAND                        = 0x40000000
-       NOTE_FFCOPY                       = 0xc0000000
-       NOTE_FFCTRLMASK                   = 0xc0000000
-       NOTE_FFLAGSMASK                   = 0xffffff
-       NOTE_FFNOP                        = 0x0
-       NOTE_FFOR                         = 0x80000000
-       NOTE_FORK                         = 0x40000000
-       NOTE_LEEWAY                       = 0x10
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_NONE                         = 0x80
-       NOTE_NSECONDS                     = 0x4
-       NOTE_PCTRLMASK                    = -0x100000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_REAP                         = 0x10000000
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_SECONDS                      = 0x1
-       NOTE_SIGNAL                       = 0x8000000
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_TRIGGER                      = 0x1000000
-       NOTE_USECONDS                     = 0x2
-       NOTE_VM_ERROR                     = 0x10000000
-       NOTE_VM_PRESSURE                  = 0x80000000
-       NOTE_VM_PRESSURE_SUDDEN_TERMINATE = 0x20000000
-       NOTE_VM_PRESSURE_TERMINATE        = 0x40000000
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       OFDEL                             = 0x20000
-       OFILL                             = 0x80
-       ONLCR                             = 0x2
-       ONLRET                            = 0x40
-       ONOCR                             = 0x20
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_ALERT                           = 0x20000000
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x1000000
-       O_CREAT                           = 0x200
-       O_DIRECTORY                       = 0x100000
-       O_DP_GETRAWENCRYPTED              = 0x1
-       O_DSYNC                           = 0x400000
-       O_EVTONLY                         = 0x8000
-       O_EXCL                            = 0x800
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x20000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_POPUP                           = 0x80000000
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_SHLOCK                          = 0x10
-       O_SYMLINK                         = 0x200000
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       PT_ATTACH                         = 0xa
-       PT_ATTACHEXC                      = 0xe
-       PT_CONTINUE                       = 0x7
-       PT_DENY_ATTACH                    = 0x1f
-       PT_DETACH                         = 0xb
-       PT_FIRSTMACH                      = 0x20
-       PT_FORCEQUOTA                     = 0x1e
-       PT_KILL                           = 0x8
-       PT_READ_D                         = 0x2
-       PT_READ_I                         = 0x1
-       PT_READ_U                         = 0x3
-       PT_SIGEXC                         = 0xc
-       PT_STEP                           = 0x9
-       PT_THUPDATE                       = 0xd
-       PT_TRACE_ME                       = 0x0
-       PT_WRITE_D                        = 0x5
-       PT_WRITE_I                        = 0x4
-       PT_WRITE_U                        = 0x6
-       RLIMIT_AS                         = 0x5
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_CPU_USAGE_MONITOR          = 0x2
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_MAX                          = 0x8
-       RTAX_NETMASK                      = 0x2
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_NETMASK                       = 0x4
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_BROADCAST                     = 0x400000
-       RTF_CLONING                       = 0x100
-       RTF_CONDEMNED                     = 0x2000000
-       RTF_DELCLONE                      = 0x80
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_GATEWAY                       = 0x2
-       RTF_HOST                          = 0x4
-       RTF_IFREF                         = 0x4000000
-       RTF_IFSCOPE                       = 0x1000000
-       RTF_LLINFO                        = 0x400
-       RTF_LOCAL                         = 0x200000
-       RTF_MODIFIED                      = 0x20
-       RTF_MULTICAST                     = 0x800000
-       RTF_NOIFREF                       = 0x2000
-       RTF_PINNED                        = 0x100000
-       RTF_PRCLONING                     = 0x10000
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_PROTO3                        = 0x40000
-       RTF_PROXY                         = 0x8000000
-       RTF_REJECT                        = 0x8
-       RTF_ROUTER                        = 0x10000000
-       RTF_STATIC                        = 0x800
-       RTF_UP                            = 0x1
-       RTF_WASCLONED                     = 0x20000
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_DELMADDR                      = 0x10
-       RTM_GET                           = 0x4
-       RTM_GET2                          = 0x14
-       RTM_IFINFO                        = 0xe
-       RTM_IFINFO2                       = 0x12
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_NEWMADDR                      = 0xf
-       RTM_NEWMADDR2                     = 0x13
-       RTM_OLDADD                        = 0x9
-       RTM_OLDDEL                        = 0xa
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_VERSION                       = 0x5
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       SCM_CREDS                         = 0x3
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x2
-       SCM_TIMESTAMP_MONOTONIC           = 0x4
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80206931
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCARPIPLL                       = 0xc0206928
-       SIOCATMARK                        = 0x40047307
-       SIOCAUTOADDR                      = 0xc0206926
-       SIOCAUTONETMASK                   = 0x80206927
-       SIOCDELMULTI                      = 0x80206932
-       SIOCDIFADDR                       = 0x80206919
-       SIOCDIFPHYADDR                    = 0x80206941
-       SIOCGDRVSPEC                      = 0xc028697b
-       SIOCGETVLAN                       = 0xc020697f
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0206921
-       SIOCGIFALTMTU                     = 0xc0206948
-       SIOCGIFASYNCMAP                   = 0xc020697c
-       SIOCGIFBOND                       = 0xc0206947
-       SIOCGIFBRDADDR                    = 0xc0206923
-       SIOCGIFCAP                        = 0xc020695b
-       SIOCGIFCONF                       = 0xc00c6924
-       SIOCGIFDEVMTU                     = 0xc0206944
-       SIOCGIFDSTADDR                    = 0xc0206922
-       SIOCGIFFLAGS                      = 0xc0206911
-       SIOCGIFGENERIC                    = 0xc020693a
-       SIOCGIFKPI                        = 0xc0206987
-       SIOCGIFMAC                        = 0xc0206982
-       SIOCGIFMEDIA                      = 0xc02c6938
-       SIOCGIFMETRIC                     = 0xc0206917
-       SIOCGIFMTU                        = 0xc0206933
-       SIOCGIFNETMASK                    = 0xc0206925
-       SIOCGIFPDSTADDR                   = 0xc0206940
-       SIOCGIFPHYS                       = 0xc0206935
-       SIOCGIFPSRCADDR                   = 0xc020693f
-       SIOCGIFSTATUS                     = 0xc331693d
-       SIOCGIFVLAN                       = 0xc020697f
-       SIOCGIFWAKEFLAGS                  = 0xc0206988
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCIFCREATE                      = 0xc0206978
-       SIOCIFCREATE2                     = 0xc020697a
-       SIOCIFDESTROY                     = 0x80206979
-       SIOCIFGCLONERS                    = 0xc0106981
-       SIOCRSLVMULTI                     = 0xc010693b
-       SIOCSDRVSPEC                      = 0x8028697b
-       SIOCSETVLAN                       = 0x8020697e
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8020690c
-       SIOCSIFALTMTU                     = 0x80206945
-       SIOCSIFASYNCMAP                   = 0x8020697d
-       SIOCSIFBOND                       = 0x80206946
-       SIOCSIFBRDADDR                    = 0x80206913
-       SIOCSIFCAP                        = 0x8020695a
-       SIOCSIFDSTADDR                    = 0x8020690e
-       SIOCSIFFLAGS                      = 0x80206910
-       SIOCSIFGENERIC                    = 0x80206939
-       SIOCSIFKPI                        = 0x80206986
-       SIOCSIFLLADDR                     = 0x8020693c
-       SIOCSIFMAC                        = 0x80206983
-       SIOCSIFMEDIA                      = 0xc0206937
-       SIOCSIFMETRIC                     = 0x80206918
-       SIOCSIFMTU                        = 0x80206934
-       SIOCSIFNETMASK                    = 0x80206916
-       SIOCSIFPHYADDR                    = 0x8040693e
-       SIOCSIFPHYS                       = 0x80206936
-       SIOCSIFVLAN                       = 0x8020697e
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SOCK_DGRAM                        = 0x2
-       SOCK_MAXADDRLEN                   = 0xff
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_DONTTRUNC                      = 0x2000
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LABEL                          = 0x1010
-       SO_LINGER                         = 0x80
-       SO_LINGER_SEC                     = 0x1080
-       SO_NKE                            = 0x1021
-       SO_NOADDRERR                      = 0x1023
-       SO_NOSIGPIPE                      = 0x1022
-       SO_NOTIFYCONFLICT                 = 0x1026
-       SO_NP_EXTENSIONS                  = 0x1083
-       SO_NREAD                          = 0x1020
-       SO_NUMRCVPKT                      = 0x1112
-       SO_NWRITE                         = 0x1024
-       SO_OOBINLINE                      = 0x100
-       SO_PEERLABEL                      = 0x1011
-       SO_RANDOMPORT                     = 0x1082
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x1006
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_REUSESHAREUID                  = 0x1025
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x1005
-       SO_TIMESTAMP                      = 0x400
-       SO_TIMESTAMP_MONOTONIC            = 0x800
-       SO_TYPE                           = 0x1008
-       SO_UPCALLCLOSEWAIT                = 0x1027
-       SO_USELOOPBACK                    = 0x40
-       SO_WANTMORE                       = 0x4000
-       SO_WANTOOBFLAG                    = 0x8000
-       S_IEXEC                           = 0x40
-       S_IFBLK                           = 0x6000
-       S_IFCHR                           = 0x2000
-       S_IFDIR                           = 0x4000
-       S_IFIFO                           = 0x1000
-       S_IFLNK                           = 0xa000
-       S_IFMT                            = 0xf000
-       S_IFREG                           = 0x8000
-       S_IFSOCK                          = 0xc000
-       S_IFWHT                           = 0xe000
-       S_IREAD                           = 0x100
-       S_IRGRP                           = 0x20
-       S_IROTH                           = 0x4
-       S_IRUSR                           = 0x100
-       S_IRWXG                           = 0x38
-       S_IRWXO                           = 0x7
-       S_IRWXU                           = 0x1c0
-       S_ISGID                           = 0x400
-       S_ISTXT                           = 0x200
-       S_ISUID                           = 0x800
-       S_ISVTX                           = 0x200
-       S_IWGRP                           = 0x10
-       S_IWOTH                           = 0x2
-       S_IWRITE                          = 0x80
-       S_IWUSR                           = 0x80
-       S_IXGRP                           = 0x8
-       S_IXOTH                           = 0x1
-       S_IXUSR                           = 0x40
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_CONNECTIONTIMEOUT             = 0x20
-       TCP_ENABLE_ECN                    = 0x104
-       TCP_KEEPALIVE                     = 0x10
-       TCP_KEEPCNT                       = 0x102
-       TCP_KEEPINTVL                     = 0x101
-       TCP_MAXHLEN                       = 0x3c
-       TCP_MAXOLEN                       = 0x28
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_SACK                      = 0x4
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MINMSS                        = 0xd8
-       TCP_MSS                           = 0x200
-       TCP_NODELAY                       = 0x1
-       TCP_NOOPT                         = 0x8
-       TCP_NOPUSH                        = 0x4
-       TCP_NOTSENT_LOWAT                 = 0x201
-       TCP_RXT_CONNDROPTIME              = 0x80
-       TCP_RXT_FINDROP                   = 0x100
-       TCP_SENDMOREACKS                  = 0x103
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDCDTIMESTAMP                  = 0x40107458
-       TIOCDRAIN                         = 0x2000745e
-       TIOCDSIMICROCODE                  = 0x20007455
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLUSH                         = 0x80047410
-       TIOCGDRAINWAIT                    = 0x40047456
-       TIOCGETA                          = 0x40487413
-       TIOCGETD                          = 0x4004741a
-       TIOCGPGRP                         = 0x40047477
-       TIOCGWINSZ                        = 0x40087468
-       TIOCIXOFF                         = 0x20007480
-       TIOCIXON                          = 0x20007481
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGDTRWAIT                     = 0x4004745a
-       TIOCMGET                          = 0x4004746a
-       TIOCMODG                          = 0x40047403
-       TIOCMODS                          = 0x80047404
-       TIOCMSDTRWAIT                     = 0x8004745b
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCPTYGNAME                      = 0x40807453
-       TIOCPTYGRANT                      = 0x20007454
-       TIOCPTYUNLK                       = 0x20007452
-       TIOCREMOTE                        = 0x80047469
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCONS                         = 0x20007463
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDRAINWAIT                    = 0x80047457
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x80487414
-       TIOCSETAF                         = 0x80487416
-       TIOCSETAW                         = 0x80487415
-       TIOCSETD                          = 0x8004741b
-       TIOCSIG                           = 0x2000745f
-       TIOCSPGRP                         = 0x80047476
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x20007465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSWINSZ                        = 0x80087467
-       TIOCTIMESTAMP                     = 0x40107459
-       TIOCUCNTL                         = 0x80047466
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VT0                               = 0x0
-       VT1                               = 0x10000
-       VTDLY                             = 0x10000
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WCONTINUED                        = 0x10
-       WCOREFLAG                         = 0x80
-       WEXITED                           = 0x4
-       WNOHANG                           = 0x1
-       WNOWAIT                           = 0x20
-       WORDSIZE                          = 0x40
-       WSTOPPED                          = 0x8
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADARCH        = syscall.Errno(0x56)
-       EBADEXEC        = syscall.Errno(0x55)
-       EBADF           = syscall.Errno(0x9)
-       EBADMACHO       = syscall.Errno(0x58)
-       EBADMSG         = syscall.Errno(0x5e)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x59)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDEVERR         = syscall.Errno(0x53)
-       EDOM            = syscall.Errno(0x21)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x5a)
-       EILSEQ          = syscall.Errno(0x5c)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x6a)
-       ELOOP           = syscall.Errno(0x3e)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       EMULTIHOP       = syscall.Errno(0x5f)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x5d)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODATA         = syscall.Errno(0x60)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOLINK         = syscall.Errno(0x61)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x5b)
-       ENOPOLICY       = syscall.Errno(0x67)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x62)
-       ENOSTR          = syscall.Errno(0x63)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTRECOVERABLE = syscall.Errno(0x68)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x2d)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x66)
-       EOVERFLOW       = syscall.Errno(0x54)
-       EOWNERDEAD      = syscall.Errno(0x69)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTO          = syscall.Errno(0x64)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       EPWROFF         = syscall.Errno(0x52)
-       EQFULL          = syscall.Errno(0x6a)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHLIBVERS      = syscall.Errno(0x57)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIME           = syscall.Errno(0x65)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:   "operation not permitted",
-       2:   "no such file or directory",
-       3:   "no such process",
-       4:   "interrupted system call",
-       5:   "input/output error",
-       6:   "device not configured",
-       7:   "argument list too long",
-       8:   "exec format error",
-       9:   "bad file descriptor",
-       10:  "no child processes",
-       11:  "resource deadlock avoided",
-       12:  "cannot allocate memory",
-       13:  "permission denied",
-       14:  "bad address",
-       15:  "block device required",
-       16:  "resource busy",
-       17:  "file exists",
-       18:  "cross-device link",
-       19:  "operation not supported by device",
-       20:  "not a directory",
-       21:  "is a directory",
-       22:  "invalid argument",
-       23:  "too many open files in system",
-       24:  "too many open files",
-       25:  "inappropriate ioctl for device",
-       26:  "text file busy",
-       27:  "file too large",
-       28:  "no space left on device",
-       29:  "illegal seek",
-       30:  "read-only file system",
-       31:  "too many links",
-       32:  "broken pipe",
-       33:  "numerical argument out of domain",
-       34:  "result too large",
-       35:  "resource temporarily unavailable",
-       36:  "operation now in progress",
-       37:  "operation already in progress",
-       38:  "socket operation on non-socket",
-       39:  "destination address required",
-       40:  "message too long",
-       41:  "protocol wrong type for socket",
-       42:  "protocol not available",
-       43:  "protocol not supported",
-       44:  "socket type not supported",
-       45:  "operation not supported",
-       46:  "protocol family not supported",
-       47:  "address family not supported by protocol family",
-       48:  "address already in use",
-       49:  "can't assign requested address",
-       50:  "network is down",
-       51:  "network is unreachable",
-       52:  "network dropped connection on reset",
-       53:  "software caused connection abort",
-       54:  "connection reset by peer",
-       55:  "no buffer space available",
-       56:  "socket is already connected",
-       57:  "socket is not connected",
-       58:  "can't send after socket shutdown",
-       59:  "too many references: can't splice",
-       60:  "operation timed out",
-       61:  "connection refused",
-       62:  "too many levels of symbolic links",
-       63:  "file name too long",
-       64:  "host is down",
-       65:  "no route to host",
-       66:  "directory not empty",
-       67:  "too many processes",
-       68:  "too many users",
-       69:  "disc quota exceeded",
-       70:  "stale NFS file handle",
-       71:  "too many levels of remote in path",
-       72:  "RPC struct is bad",
-       73:  "RPC version wrong",
-       74:  "RPC prog. not avail",
-       75:  "program version wrong",
-       76:  "bad procedure for program",
-       77:  "no locks available",
-       78:  "function not implemented",
-       79:  "inappropriate file type or format",
-       80:  "authentication error",
-       81:  "need authenticator",
-       82:  "device power is off",
-       83:  "device error",
-       84:  "value too large to be stored in data type",
-       85:  "bad executable (or shared library)",
-       86:  "bad CPU type in executable",
-       87:  "shared library version mismatch",
-       88:  "malformed Mach-o file",
-       89:  "operation canceled",
-       90:  "identifier removed",
-       91:  "no message of desired type",
-       92:  "illegal byte sequence",
-       93:  "attribute not found",
-       94:  "bad message",
-       95:  "EMULTIHOP (Reserved)",
-       96:  "no message available on STREAM",
-       97:  "ENOLINK (Reserved)",
-       98:  "no STREAM resources",
-       99:  "not a STREAM",
-       100: "protocol error",
-       101: "STREAM ioctl timeout",
-       102: "operation not supported on socket",
-       103: "policy not found",
-       104: "state not recoverable",
-       105: "previous owner died",
-       106: "interface output queue is full",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "suspended (signal)",
-       18: "suspended",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go b/vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go
deleted file mode 100644 (file)
index a410e88..0000000
+++ /dev/null
@@ -1,1293 +0,0 @@
-// mkerrors.sh
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- _const.go
-
-// +build arm,darwin
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1c
-       AF_ECMA                           = 0x8
-       AF_HYLINK                         = 0xf
-       AF_IEEE80211                      = 0x25
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x1e
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1c
-       AF_ISO                            = 0x7
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x28
-       AF_NATM                           = 0x1f
-       AF_NDRV                           = 0x1b
-       AF_NETBIOS                        = 0x21
-       AF_NS                             = 0x6
-       AF_OSI                            = 0x7
-       AF_PPP                            = 0x22
-       AF_PUP                            = 0x4
-       AF_RESERVED_36                    = 0x24
-       AF_ROUTE                          = 0x11
-       AF_SIP                            = 0x18
-       AF_SNA                            = 0xb
-       AF_SYSTEM                         = 0x20
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       AF_UTUN                           = 0x26
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B9600                             = 0x2580
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc00c4279
-       BIOCGETIF                         = 0x4020426b
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRSIG                         = 0x40044272
-       BIOCGRTIMEOUT                     = 0x4010426e
-       BIOCGSEESENT                      = 0x40044276
-       BIOCGSTATS                        = 0x4008426f
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCPROMISC                       = 0x20004269
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDLT                          = 0x80044278
-       BIOCSETF                          = 0x80104267
-       BIOCSETIF                         = 0x8020426c
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRSIG                         = 0x80044273
-       BIOCSRTIMEOUT                     = 0x8010426d
-       BIOCSSEESENT                      = 0x80044277
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x4
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x80000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0x14
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0xc
-       CTL_NET                           = 0x4
-       DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
-       DLT_ARCNET                        = 0x7
-       DLT_ATM_CLIP                      = 0x13
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AX25                          = 0x3
-       DLT_CHAOS                         = 0x5
-       DLT_CHDLC                         = 0x68
-       DLT_C_HDLC                        = 0x68
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_FDDI                          = 0xa
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_IEEE802_11_RADIO_AVS          = 0xa3
-       DLT_LINUX_SLL                     = 0x71
-       DLT_LOOP                          = 0x6c
-       DLT_NULL                          = 0x0
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x12
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0x10
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PRONET                        = 0x4
-       DLT_RAW                           = 0xc
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xf
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       DT_WHT                            = 0xe
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EVFILT_AIO                        = -0x3
-       EVFILT_FS                         = -0x9
-       EVFILT_MACHPORT                   = -0x8
-       EVFILT_PROC                       = -0x5
-       EVFILT_READ                       = -0x1
-       EVFILT_SIGNAL                     = -0x6
-       EVFILT_SYSCOUNT                   = 0xe
-       EVFILT_THREADMARKER               = 0xe
-       EVFILT_TIMER                      = -0x7
-       EVFILT_USER                       = -0xa
-       EVFILT_VM                         = -0xc
-       EVFILT_VNODE                      = -0x4
-       EVFILT_WRITE                      = -0x2
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_DISPATCH                       = 0x80
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG0                          = 0x1000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_OOBAND                         = 0x2000
-       EV_POLL                           = 0x1000
-       EV_RECEIPT                        = 0x40
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x400
-       FLUSHO                            = 0x800000
-       F_ADDFILESIGS                     = 0x3d
-       F_ADDSIGS                         = 0x3b
-       F_ALLOCATEALL                     = 0x4
-       F_ALLOCATECONTIG                  = 0x2
-       F_CHKCLEAN                        = 0x29
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0x43
-       F_FINDSIGS                        = 0x4e
-       F_FLUSH_DATA                      = 0x28
-       F_FREEZE_FS                       = 0x35
-       F_FULLFSYNC                       = 0x33
-       F_GETCODEDIR                      = 0x48
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0x7
-       F_GETLKPID                        = 0x42
-       F_GETNOSIGPIPE                    = 0x4a
-       F_GETOWN                          = 0x5
-       F_GETPATH                         = 0x32
-       F_GETPATH_MTMINFO                 = 0x47
-       F_GETPROTECTIONCLASS              = 0x3f
-       F_GETPROTECTIONLEVEL              = 0x4d
-       F_GLOBAL_NOCACHE                  = 0x37
-       F_LOG2PHYS                        = 0x31
-       F_LOG2PHYS_EXT                    = 0x41
-       F_NOCACHE                         = 0x30
-       F_NODIRECT                        = 0x3e
-       F_OK                              = 0x0
-       F_PATHPKG_CHECK                   = 0x34
-       F_PEOFPOSMODE                     = 0x3
-       F_PREALLOCATE                     = 0x2a
-       F_RDADVISE                        = 0x2c
-       F_RDAHEAD                         = 0x2d
-       F_RDLCK                           = 0x1
-       F_SETBACKINGSTORE                 = 0x46
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0x8
-       F_SETLKW                          = 0x9
-       F_SETLKWTIMEOUT                   = 0xa
-       F_SETNOSIGPIPE                    = 0x49
-       F_SETOWN                          = 0x6
-       F_SETPROTECTIONCLASS              = 0x40
-       F_SETSIZE                         = 0x2b
-       F_SINGLE_WRITER                   = 0x4c
-       F_THAW_FS                         = 0x36
-       F_TRANSCODEKEY                    = 0x4b
-       F_UNLCK                           = 0x2
-       F_VOLPOSMODE                      = 0x4
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFF_ALLMULTI                      = 0x200
-       IFF_ALTPHYS                       = 0x4000
-       IFF_BROADCAST                     = 0x2
-       IFF_DEBUG                         = 0x4
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_NOTRAILERS                    = 0x20
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PROMISC                       = 0x100
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_AAL5                          = 0x31
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ATM                           = 0x25
-       IFT_BRIDGE                        = 0xd1
-       IFT_CARP                          = 0xf8
-       IFT_CELLULAR                      = 0xff
-       IFT_CEPT                          = 0x13
-       IFT_DS3                           = 0x1e
-       IFT_ENC                           = 0xf4
-       IFT_EON                           = 0x19
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0x38
-       IFT_FDDI                          = 0xf
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_GIF                           = 0x37
-       IFT_HDH1822                       = 0x3
-       IFT_HIPPI                         = 0x2f
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE8023ADLAG                 = 0x88
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88026                      = 0xa
-       IFT_L2VLAN                        = 0x87
-       IFT_LAPB                          = 0x10
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_NSIP                          = 0x1b
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PDP                           = 0xff
-       IFT_PFLOG                         = 0xf5
-       IFT_PFSYNC                        = 0xf6
-       IFT_PPP                           = 0x17
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PTPSERIAL                     = 0x16
-       IFT_RS232                         = 0x21
-       IFT_SDLC                          = 0x11
-       IFT_SIP                           = 0x1f
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_STARLAN                       = 0xb
-       IFT_STF                           = 0x39
-       IFT_T1                            = 0x12
-       IFT_ULTRA                         = 0x1d
-       IFT_V35                           = 0x2d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LINKLOCALNETNUM                = 0xa9fe0000
-       IN_LOOPBACKNET                    = 0x7f
-       IPPROTO_3PC                       = 0x22
-       IPPROTO_ADFS                      = 0x44
-       IPPROTO_AH                        = 0x33
-       IPPROTO_AHIP                      = 0x3d
-       IPPROTO_APES                      = 0x63
-       IPPROTO_ARGUS                     = 0xd
-       IPPROTO_AX25                      = 0x5d
-       IPPROTO_BHA                       = 0x31
-       IPPROTO_BLT                       = 0x1e
-       IPPROTO_BRSATMON                  = 0x4c
-       IPPROTO_CFTP                      = 0x3e
-       IPPROTO_CHAOS                     = 0x10
-       IPPROTO_CMTP                      = 0x26
-       IPPROTO_CPHB                      = 0x49
-       IPPROTO_CPNX                      = 0x48
-       IPPROTO_DDP                       = 0x25
-       IPPROTO_DGP                       = 0x56
-       IPPROTO_DIVERT                    = 0xfe
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_EMCON                     = 0xe
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GMTP                      = 0x64
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HELLO                     = 0x3f
-       IPPROTO_HMP                       = 0x14
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IDPR                      = 0x23
-       IPPROTO_IDRP                      = 0x2d
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IGP                       = 0x55
-       IPPROTO_IGRP                      = 0x58
-       IPPROTO_IL                        = 0x28
-       IPPROTO_INLSP                     = 0x34
-       IPPROTO_INP                       = 0x20
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPCV                      = 0x47
-       IPPROTO_IPEIP                     = 0x5e
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPPC                      = 0x43
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_IRTP                      = 0x1c
-       IPPROTO_KRYPTOLAN                 = 0x41
-       IPPROTO_LARP                      = 0x5b
-       IPPROTO_LEAF1                     = 0x19
-       IPPROTO_LEAF2                     = 0x1a
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x34
-       IPPROTO_MEAS                      = 0x13
-       IPPROTO_MHRP                      = 0x30
-       IPPROTO_MICP                      = 0x5f
-       IPPROTO_MTP                       = 0x5c
-       IPPROTO_MUX                       = 0x12
-       IPPROTO_ND                        = 0x4d
-       IPPROTO_NHRP                      = 0x36
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_NSP                       = 0x1f
-       IPPROTO_NVPII                     = 0xb
-       IPPROTO_OSPFIGP                   = 0x59
-       IPPROTO_PGM                       = 0x71
-       IPPROTO_PIGP                      = 0x9
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PRM                       = 0x15
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_PVP                       = 0x4b
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_RCCMON                    = 0xa
-       IPPROTO_RDP                       = 0x1b
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_RVD                       = 0x42
-       IPPROTO_SATEXPAK                  = 0x40
-       IPPROTO_SATMON                    = 0x45
-       IPPROTO_SCCSP                     = 0x60
-       IPPROTO_SCTP                      = 0x84
-       IPPROTO_SDRP                      = 0x2a
-       IPPROTO_SEP                       = 0x21
-       IPPROTO_SRPC                      = 0x5a
-       IPPROTO_ST                        = 0x7
-       IPPROTO_SVMTP                     = 0x52
-       IPPROTO_SWIPE                     = 0x35
-       IPPROTO_TCF                       = 0x57
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_TPXX                      = 0x27
-       IPPROTO_TRUNK1                    = 0x17
-       IPPROTO_TRUNK2                    = 0x18
-       IPPROTO_TTP                       = 0x54
-       IPPROTO_UDP                       = 0x11
-       IPPROTO_VINES                     = 0x53
-       IPPROTO_VISA                      = 0x46
-       IPPROTO_VMTP                      = 0x51
-       IPPROTO_WBEXPAK                   = 0x4f
-       IPPROTO_WBMON                     = 0x4e
-       IPPROTO_WSN                       = 0x4a
-       IPPROTO_XNET                      = 0xf
-       IPPROTO_XTP                       = 0x24
-       IPV6_2292DSTOPTS                  = 0x17
-       IPV6_2292HOPLIMIT                 = 0x14
-       IPV6_2292HOPOPTS                  = 0x16
-       IPV6_2292NEXTHOP                  = 0x15
-       IPV6_2292PKTINFO                  = 0x13
-       IPV6_2292PKTOPTIONS               = 0x19
-       IPV6_2292RTHDR                    = 0x18
-       IPV6_BINDV6ONLY                   = 0x1b
-       IPV6_BOUND_IF                     = 0x7d
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x78
-       IPV6_FW_ADD                       = 0x1e
-       IPV6_FW_DEL                       = 0x1f
-       IPV6_FW_FLUSH                     = 0x20
-       IPV6_FW_GET                       = 0x22
-       IPV6_FW_ZERO                      = 0x21
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_IPSEC_POLICY                 = 0x1c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXOPTHDR                    = 0x800
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MAX_GROUP_SRC_FILTER         = 0x200
-       IPV6_MAX_MEMBERSHIPS              = 0xfff
-       IPV6_MAX_SOCK_SRC_FILTER          = 0x80
-       IPV6_MIN_MEMBERSHIPS              = 0x1f
-       IPV6_MMTU                         = 0x500
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_RECVTCLASS                   = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x24
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_ADD_SOURCE_MEMBERSHIP          = 0x46
-       IP_BLOCK_SOURCE                   = 0x48
-       IP_BOUND_IF                       = 0x19
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_DROP_SOURCE_MEMBERSHIP         = 0x47
-       IP_DUMMYNET_CONFIGURE             = 0x3c
-       IP_DUMMYNET_DEL                   = 0x3d
-       IP_DUMMYNET_FLUSH                 = 0x3e
-       IP_DUMMYNET_GET                   = 0x40
-       IP_FAITH                          = 0x16
-       IP_FW_ADD                         = 0x28
-       IP_FW_DEL                         = 0x29
-       IP_FW_FLUSH                       = 0x2a
-       IP_FW_GET                         = 0x2c
-       IP_FW_RESETLOG                    = 0x2d
-       IP_FW_ZERO                        = 0x2b
-       IP_HDRINCL                        = 0x2
-       IP_IPSEC_POLICY                   = 0x15
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_GROUP_SRC_FILTER           = 0x200
-       IP_MAX_MEMBERSHIPS                = 0xfff
-       IP_MAX_SOCK_MUTE_FILTER           = 0x80
-       IP_MAX_SOCK_SRC_FILTER            = 0x80
-       IP_MF                             = 0x2000
-       IP_MIN_MEMBERSHIPS                = 0x1f
-       IP_MSFILTER                       = 0x4a
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_IFINDEX              = 0x42
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_MULTICAST_VIF                  = 0xe
-       IP_NAT__XXX                       = 0x37
-       IP_OFFMASK                        = 0x1fff
-       IP_OLD_FW_ADD                     = 0x32
-       IP_OLD_FW_DEL                     = 0x33
-       IP_OLD_FW_FLUSH                   = 0x34
-       IP_OLD_FW_GET                     = 0x36
-       IP_OLD_FW_RESETLOG                = 0x38
-       IP_OLD_FW_ZERO                    = 0x35
-       IP_OPTIONS                        = 0x1
-       IP_PKTINFO                        = 0x1a
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVIF                         = 0x14
-       IP_RECVOPTS                       = 0x5
-       IP_RECVPKTINFO                    = 0x1a
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVTTL                        = 0x18
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_RSVP_OFF                       = 0x10
-       IP_RSVP_ON                        = 0xf
-       IP_RSVP_VIF_OFF                   = 0x12
-       IP_RSVP_VIF_ON                    = 0x11
-       IP_STRIPHDR                       = 0x17
-       IP_TOS                            = 0x3
-       IP_TRAFFIC_MGT_BACKGROUND         = 0x41
-       IP_TTL                            = 0x4
-       IP_UNBLOCK_SOURCE                 = 0x49
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IUTF8                             = 0x4000
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_CAN_REUSE                    = 0x9
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x5
-       MADV_FREE_REUSABLE                = 0x7
-       MADV_FREE_REUSE                   = 0x8
-       MADV_NORMAL                       = 0x0
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_WILLNEED                     = 0x3
-       MADV_ZERO_WIRED_PAGES             = 0x6
-       MAP_ANON                          = 0x1000
-       MAP_COPY                          = 0x2
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_JIT                           = 0x800
-       MAP_NOCACHE                       = 0x400
-       MAP_NOEXTEND                      = 0x100
-       MAP_NORESERVE                     = 0x40
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_RESERVED0080                  = 0x80
-       MAP_SHARED                        = 0x1
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOF                           = 0x100
-       MSG_EOR                           = 0x8
-       MSG_FLUSH                         = 0x400
-       MSG_HAVEMORE                      = 0x2000
-       MSG_HOLD                          = 0x800
-       MSG_NEEDSA                        = 0x10000
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_RCVMORE                       = 0x4000
-       MSG_SEND                          = 0x1000
-       MSG_TRUNC                         = 0x10
-       MSG_WAITALL                       = 0x40
-       MSG_WAITSTREAM                    = 0x200
-       MS_ASYNC                          = 0x1
-       MS_DEACTIVATE                     = 0x8
-       MS_INVALIDATE                     = 0x2
-       MS_KILLPAGES                      = 0x4
-       MS_SYNC                           = 0x10
-       NAME_MAX                          = 0xff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_DUMP2                      = 0x7
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x3
-       NET_RT_IFLIST2                    = 0x6
-       NET_RT_MAXID                      = 0xa
-       NET_RT_STAT                       = 0x4
-       NET_RT_TRASH                      = 0x5
-       NOFLSH                            = 0x80000000
-       NOTE_ABSOLUTE                     = 0x8
-       NOTE_ATTRIB                       = 0x8
-       NOTE_BACKGROUND                   = 0x40
-       NOTE_CHILD                        = 0x4
-       NOTE_CRITICAL                     = 0x20
-       NOTE_DELETE                       = 0x1
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXITSTATUS                   = 0x4000000
-       NOTE_EXIT_CSERROR                 = 0x40000
-       NOTE_EXIT_DECRYPTFAIL             = 0x10000
-       NOTE_EXIT_DETAIL                  = 0x2000000
-       NOTE_EXIT_DETAIL_MASK             = 0x70000
-       NOTE_EXIT_MEMORY                  = 0x20000
-       NOTE_EXIT_REPARENTED              = 0x80000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FFAND                        = 0x40000000
-       NOTE_FFCOPY                       = 0xc0000000
-       NOTE_FFCTRLMASK                   = 0xc0000000
-       NOTE_FFLAGSMASK                   = 0xffffff
-       NOTE_FFNOP                        = 0x0
-       NOTE_FFOR                         = 0x80000000
-       NOTE_FORK                         = 0x40000000
-       NOTE_LEEWAY                       = 0x10
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_NONE                         = 0x80
-       NOTE_NSECONDS                     = 0x4
-       NOTE_PCTRLMASK                    = -0x100000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_REAP                         = 0x10000000
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_SECONDS                      = 0x1
-       NOTE_SIGNAL                       = 0x8000000
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_TRIGGER                      = 0x1000000
-       NOTE_USECONDS                     = 0x2
-       NOTE_VM_ERROR                     = 0x10000000
-       NOTE_VM_PRESSURE                  = 0x80000000
-       NOTE_VM_PRESSURE_SUDDEN_TERMINATE = 0x20000000
-       NOTE_VM_PRESSURE_TERMINATE        = 0x40000000
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       OFDEL                             = 0x20000
-       OFILL                             = 0x80
-       ONLCR                             = 0x2
-       ONLRET                            = 0x40
-       ONOCR                             = 0x20
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_ALERT                           = 0x20000000
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x1000000
-       O_CREAT                           = 0x200
-       O_DIRECTORY                       = 0x100000
-       O_DP_GETRAWENCRYPTED              = 0x1
-       O_DSYNC                           = 0x400000
-       O_EVTONLY                         = 0x8000
-       O_EXCL                            = 0x800
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x20000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_POPUP                           = 0x80000000
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_SHLOCK                          = 0x10
-       O_SYMLINK                         = 0x200000
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       PT_ATTACH                         = 0xa
-       PT_ATTACHEXC                      = 0xe
-       PT_CONTINUE                       = 0x7
-       PT_DENY_ATTACH                    = 0x1f
-       PT_DETACH                         = 0xb
-       PT_FIRSTMACH                      = 0x20
-       PT_FORCEQUOTA                     = 0x1e
-       PT_KILL                           = 0x8
-       PT_READ_D                         = 0x2
-       PT_READ_I                         = 0x1
-       PT_READ_U                         = 0x3
-       PT_SIGEXC                         = 0xc
-       PT_STEP                           = 0x9
-       PT_THUPDATE                       = 0xd
-       PT_TRACE_ME                       = 0x0
-       PT_WRITE_D                        = 0x5
-       PT_WRITE_I                        = 0x4
-       PT_WRITE_U                        = 0x6
-       RLIMIT_AS                         = 0x5
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_CPU_USAGE_MONITOR          = 0x2
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_MAX                          = 0x8
-       RTAX_NETMASK                      = 0x2
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_NETMASK                       = 0x4
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_BROADCAST                     = 0x400000
-       RTF_CLONING                       = 0x100
-       RTF_CONDEMNED                     = 0x2000000
-       RTF_DELCLONE                      = 0x80
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_GATEWAY                       = 0x2
-       RTF_HOST                          = 0x4
-       RTF_IFREF                         = 0x4000000
-       RTF_IFSCOPE                       = 0x1000000
-       RTF_LLINFO                        = 0x400
-       RTF_LOCAL                         = 0x200000
-       RTF_MODIFIED                      = 0x20
-       RTF_MULTICAST                     = 0x800000
-       RTF_PINNED                        = 0x100000
-       RTF_PRCLONING                     = 0x10000
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_PROTO3                        = 0x40000
-       RTF_PROXY                         = 0x8000000
-       RTF_REJECT                        = 0x8
-       RTF_ROUTER                        = 0x10000000
-       RTF_STATIC                        = 0x800
-       RTF_UP                            = 0x1
-       RTF_WASCLONED                     = 0x20000
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_DELMADDR                      = 0x10
-       RTM_GET                           = 0x4
-       RTM_GET2                          = 0x14
-       RTM_IFINFO                        = 0xe
-       RTM_IFINFO2                       = 0x12
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_NEWMADDR                      = 0xf
-       RTM_NEWMADDR2                     = 0x13
-       RTM_OLDADD                        = 0x9
-       RTM_OLDDEL                        = 0xa
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_VERSION                       = 0x5
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       SCM_CREDS                         = 0x3
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x2
-       SCM_TIMESTAMP_MONOTONIC           = 0x4
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80206931
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCARPIPLL                       = 0xc0206928
-       SIOCATMARK                        = 0x40047307
-       SIOCAUTOADDR                      = 0xc0206926
-       SIOCAUTONETMASK                   = 0x80206927
-       SIOCDELMULTI                      = 0x80206932
-       SIOCDIFADDR                       = 0x80206919
-       SIOCDIFPHYADDR                    = 0x80206941
-       SIOCGDRVSPEC                      = 0xc028697b
-       SIOCGETVLAN                       = 0xc020697f
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0206921
-       SIOCGIFALTMTU                     = 0xc0206948
-       SIOCGIFASYNCMAP                   = 0xc020697c
-       SIOCGIFBOND                       = 0xc0206947
-       SIOCGIFBRDADDR                    = 0xc0206923
-       SIOCGIFCAP                        = 0xc020695b
-       SIOCGIFCONF                       = 0xc00c6924
-       SIOCGIFDEVMTU                     = 0xc0206944
-       SIOCGIFDSTADDR                    = 0xc0206922
-       SIOCGIFFLAGS                      = 0xc0206911
-       SIOCGIFGENERIC                    = 0xc020693a
-       SIOCGIFKPI                        = 0xc0206987
-       SIOCGIFMAC                        = 0xc0206982
-       SIOCGIFMEDIA                      = 0xc02c6938
-       SIOCGIFMETRIC                     = 0xc0206917
-       SIOCGIFMTU                        = 0xc0206933
-       SIOCGIFNETMASK                    = 0xc0206925
-       SIOCGIFPDSTADDR                   = 0xc0206940
-       SIOCGIFPHYS                       = 0xc0206935
-       SIOCGIFPSRCADDR                   = 0xc020693f
-       SIOCGIFSTATUS                     = 0xc331693d
-       SIOCGIFVLAN                       = 0xc020697f
-       SIOCGIFWAKEFLAGS                  = 0xc0206988
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCIFCREATE                      = 0xc0206978
-       SIOCIFCREATE2                     = 0xc020697a
-       SIOCIFDESTROY                     = 0x80206979
-       SIOCIFGCLONERS                    = 0xc0106981
-       SIOCRSLVMULTI                     = 0xc010693b
-       SIOCSDRVSPEC                      = 0x8028697b
-       SIOCSETVLAN                       = 0x8020697e
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8020690c
-       SIOCSIFALTMTU                     = 0x80206945
-       SIOCSIFASYNCMAP                   = 0x8020697d
-       SIOCSIFBOND                       = 0x80206946
-       SIOCSIFBRDADDR                    = 0x80206913
-       SIOCSIFCAP                        = 0x8020695a
-       SIOCSIFDSTADDR                    = 0x8020690e
-       SIOCSIFFLAGS                      = 0x80206910
-       SIOCSIFGENERIC                    = 0x80206939
-       SIOCSIFKPI                        = 0x80206986
-       SIOCSIFLLADDR                     = 0x8020693c
-       SIOCSIFMAC                        = 0x80206983
-       SIOCSIFMEDIA                      = 0xc0206937
-       SIOCSIFMETRIC                     = 0x80206918
-       SIOCSIFMTU                        = 0x80206934
-       SIOCSIFNETMASK                    = 0x80206916
-       SIOCSIFPHYADDR                    = 0x8040693e
-       SIOCSIFPHYS                       = 0x80206936
-       SIOCSIFVLAN                       = 0x8020697e
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SOCK_DGRAM                        = 0x2
-       SOCK_MAXADDRLEN                   = 0xff
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_DONTTRUNC                      = 0x2000
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LABEL                          = 0x1010
-       SO_LINGER                         = 0x80
-       SO_LINGER_SEC                     = 0x1080
-       SO_NKE                            = 0x1021
-       SO_NOADDRERR                      = 0x1023
-       SO_NOSIGPIPE                      = 0x1022
-       SO_NOTIFYCONFLICT                 = 0x1026
-       SO_NP_EXTENSIONS                  = 0x1083
-       SO_NREAD                          = 0x1020
-       SO_NUMRCVPKT                      = 0x1112
-       SO_NWRITE                         = 0x1024
-       SO_OOBINLINE                      = 0x100
-       SO_PEERLABEL                      = 0x1011
-       SO_RANDOMPORT                     = 0x1082
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x1006
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_REUSESHAREUID                  = 0x1025
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x1005
-       SO_TIMESTAMP                      = 0x400
-       SO_TIMESTAMP_MONOTONIC            = 0x800
-       SO_TYPE                           = 0x1008
-       SO_UPCALLCLOSEWAIT                = 0x1027
-       SO_USELOOPBACK                    = 0x40
-       SO_WANTMORE                       = 0x4000
-       SO_WANTOOBFLAG                    = 0x8000
-       S_IEXEC                           = 0x40
-       S_IFBLK                           = 0x6000
-       S_IFCHR                           = 0x2000
-       S_IFDIR                           = 0x4000
-       S_IFIFO                           = 0x1000
-       S_IFLNK                           = 0xa000
-       S_IFMT                            = 0xf000
-       S_IFREG                           = 0x8000
-       S_IFSOCK                          = 0xc000
-       S_IFWHT                           = 0xe000
-       S_IREAD                           = 0x100
-       S_IRGRP                           = 0x20
-       S_IROTH                           = 0x4
-       S_IRUSR                           = 0x100
-       S_IRWXG                           = 0x38
-       S_IRWXO                           = 0x7
-       S_IRWXU                           = 0x1c0
-       S_ISGID                           = 0x400
-       S_ISTXT                           = 0x200
-       S_ISUID                           = 0x800
-       S_ISVTX                           = 0x200
-       S_IWGRP                           = 0x10
-       S_IWOTH                           = 0x2
-       S_IWRITE                          = 0x80
-       S_IWUSR                           = 0x80
-       S_IXGRP                           = 0x8
-       S_IXOTH                           = 0x1
-       S_IXUSR                           = 0x40
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_CONNECTIONTIMEOUT             = 0x20
-       TCP_ENABLE_ECN                    = 0x104
-       TCP_KEEPALIVE                     = 0x10
-       TCP_KEEPCNT                       = 0x102
-       TCP_KEEPINTVL                     = 0x101
-       TCP_MAXHLEN                       = 0x3c
-       TCP_MAXOLEN                       = 0x28
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_SACK                      = 0x4
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MINMSS                        = 0xd8
-       TCP_MSS                           = 0x200
-       TCP_NODELAY                       = 0x1
-       TCP_NOOPT                         = 0x8
-       TCP_NOPUSH                        = 0x4
-       TCP_NOTSENT_LOWAT                 = 0x201
-       TCP_RXT_CONNDROPTIME              = 0x80
-       TCP_RXT_FINDROP                   = 0x100
-       TCP_SENDMOREACKS                  = 0x103
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDCDTIMESTAMP                  = 0x40107458
-       TIOCDRAIN                         = 0x2000745e
-       TIOCDSIMICROCODE                  = 0x20007455
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLUSH                         = 0x80047410
-       TIOCGDRAINWAIT                    = 0x40047456
-       TIOCGETA                          = 0x40487413
-       TIOCGETD                          = 0x4004741a
-       TIOCGPGRP                         = 0x40047477
-       TIOCGWINSZ                        = 0x40087468
-       TIOCIXOFF                         = 0x20007480
-       TIOCIXON                          = 0x20007481
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGDTRWAIT                     = 0x4004745a
-       TIOCMGET                          = 0x4004746a
-       TIOCMODG                          = 0x40047403
-       TIOCMODS                          = 0x80047404
-       TIOCMSDTRWAIT                     = 0x8004745b
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCPTYGNAME                      = 0x40807453
-       TIOCPTYGRANT                      = 0x20007454
-       TIOCPTYUNLK                       = 0x20007452
-       TIOCREMOTE                        = 0x80047469
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCONS                         = 0x20007463
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDRAINWAIT                    = 0x80047457
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x80487414
-       TIOCSETAF                         = 0x80487416
-       TIOCSETAW                         = 0x80487415
-       TIOCSETD                          = 0x8004741b
-       TIOCSIG                           = 0x2000745f
-       TIOCSPGRP                         = 0x80047476
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x20007465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSWINSZ                        = 0x80087467
-       TIOCTIMESTAMP                     = 0x40107459
-       TIOCUCNTL                         = 0x80047466
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VT0                               = 0x0
-       VT1                               = 0x10000
-       VTDLY                             = 0x10000
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WCONTINUED                        = 0x10
-       WCOREFLAG                         = 0x80
-       WEXITED                           = 0x4
-       WNOHANG                           = 0x1
-       WNOWAIT                           = 0x20
-       WORDSIZE                          = 0x40
-       WSTOPPED                          = 0x8
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADARCH        = syscall.Errno(0x56)
-       EBADEXEC        = syscall.Errno(0x55)
-       EBADF           = syscall.Errno(0x9)
-       EBADMACHO       = syscall.Errno(0x58)
-       EBADMSG         = syscall.Errno(0x5e)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x59)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDEVERR         = syscall.Errno(0x53)
-       EDOM            = syscall.Errno(0x21)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x5a)
-       EILSEQ          = syscall.Errno(0x5c)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x6a)
-       ELOOP           = syscall.Errno(0x3e)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       EMULTIHOP       = syscall.Errno(0x5f)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x5d)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODATA         = syscall.Errno(0x60)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOLINK         = syscall.Errno(0x61)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x5b)
-       ENOPOLICY       = syscall.Errno(0x67)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x62)
-       ENOSTR          = syscall.Errno(0x63)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTRECOVERABLE = syscall.Errno(0x68)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x2d)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x66)
-       EOVERFLOW       = syscall.Errno(0x54)
-       EOWNERDEAD      = syscall.Errno(0x69)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTO          = syscall.Errno(0x64)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       EPWROFF         = syscall.Errno(0x52)
-       EQFULL          = syscall.Errno(0x6a)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHLIBVERS      = syscall.Errno(0x57)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIME           = syscall.Errno(0x65)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
diff --git a/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go b/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go
deleted file mode 100644 (file)
index 3189c6b..0000000
+++ /dev/null
@@ -1,1576 +0,0 @@
-// mkerrors.sh -m64
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build arm64,darwin
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m64 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1c
-       AF_ECMA                           = 0x8
-       AF_HYLINK                         = 0xf
-       AF_IEEE80211                      = 0x25
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x1e
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1c
-       AF_ISO                            = 0x7
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x28
-       AF_NATM                           = 0x1f
-       AF_NDRV                           = 0x1b
-       AF_NETBIOS                        = 0x21
-       AF_NS                             = 0x6
-       AF_OSI                            = 0x7
-       AF_PPP                            = 0x22
-       AF_PUP                            = 0x4
-       AF_RESERVED_36                    = 0x24
-       AF_ROUTE                          = 0x11
-       AF_SIP                            = 0x18
-       AF_SNA                            = 0xb
-       AF_SYSTEM                         = 0x20
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       AF_UTUN                           = 0x26
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B9600                             = 0x2580
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc00c4279
-       BIOCGETIF                         = 0x4020426b
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRSIG                         = 0x40044272
-       BIOCGRTIMEOUT                     = 0x4010426e
-       BIOCGSEESENT                      = 0x40044276
-       BIOCGSTATS                        = 0x4008426f
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCPROMISC                       = 0x20004269
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDLT                          = 0x80044278
-       BIOCSETF                          = 0x80104267
-       BIOCSETFNR                        = 0x8010427e
-       BIOCSETIF                         = 0x8020426c
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRSIG                         = 0x80044273
-       BIOCSRTIMEOUT                     = 0x8010426d
-       BIOCSSEESENT                      = 0x80044277
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x4
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x80000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0x14
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0xc
-       CTL_NET                           = 0x4
-       DLT_A429                          = 0xb8
-       DLT_A653_ICM                      = 0xb9
-       DLT_AIRONET_HEADER                = 0x78
-       DLT_AOS                           = 0xde
-       DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
-       DLT_ARCNET                        = 0x7
-       DLT_ARCNET_LINUX                  = 0x81
-       DLT_ATM_CLIP                      = 0x13
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AURORA                        = 0x7e
-       DLT_AX25                          = 0x3
-       DLT_AX25_KISS                     = 0xca
-       DLT_BACNET_MS_TP                  = 0xa5
-       DLT_BLUETOOTH_HCI_H4              = 0xbb
-       DLT_BLUETOOTH_HCI_H4_WITH_PHDR    = 0xc9
-       DLT_CAN20B                        = 0xbe
-       DLT_CAN_SOCKETCAN                 = 0xe3
-       DLT_CHAOS                         = 0x5
-       DLT_CHDLC                         = 0x68
-       DLT_CISCO_IOS                     = 0x76
-       DLT_C_HDLC                        = 0x68
-       DLT_C_HDLC_WITH_DIR               = 0xcd
-       DLT_DBUS                          = 0xe7
-       DLT_DECT                          = 0xdd
-       DLT_DOCSIS                        = 0x8f
-       DLT_DVB_CI                        = 0xeb
-       DLT_ECONET                        = 0x73
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0x6d
-       DLT_ERF                           = 0xc5
-       DLT_ERF_ETH                       = 0xaf
-       DLT_ERF_POS                       = 0xb0
-       DLT_FC_2                          = 0xe0
-       DLT_FC_2_WITH_FRAME_DELIMS        = 0xe1
-       DLT_FDDI                          = 0xa
-       DLT_FLEXRAY                       = 0xd2
-       DLT_FRELAY                        = 0x6b
-       DLT_FRELAY_WITH_DIR               = 0xce
-       DLT_GCOM_SERIAL                   = 0xad
-       DLT_GCOM_T1E1                     = 0xac
-       DLT_GPF_F                         = 0xab
-       DLT_GPF_T                         = 0xaa
-       DLT_GPRS_LLC                      = 0xa9
-       DLT_GSMTAP_ABIS                   = 0xda
-       DLT_GSMTAP_UM                     = 0xd9
-       DLT_HHDLC                         = 0x79
-       DLT_IBM_SN                        = 0x92
-       DLT_IBM_SP                        = 0x91
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_IEEE802_11_RADIO_AVS          = 0xa3
-       DLT_IEEE802_15_4                  = 0xc3
-       DLT_IEEE802_15_4_LINUX            = 0xbf
-       DLT_IEEE802_15_4_NOFCS            = 0xe6
-       DLT_IEEE802_15_4_NONASK_PHY       = 0xd7
-       DLT_IEEE802_16_MAC_CPS            = 0xbc
-       DLT_IEEE802_16_MAC_CPS_RADIO      = 0xc1
-       DLT_IPFILTER                      = 0x74
-       DLT_IPMB                          = 0xc7
-       DLT_IPMB_LINUX                    = 0xd1
-       DLT_IPNET                         = 0xe2
-       DLT_IPOIB                         = 0xf2
-       DLT_IPV4                          = 0xe4
-       DLT_IPV6                          = 0xe5
-       DLT_IP_OVER_FC                    = 0x7a
-       DLT_JUNIPER_ATM1                  = 0x89
-       DLT_JUNIPER_ATM2                  = 0x87
-       DLT_JUNIPER_ATM_CEMIC             = 0xee
-       DLT_JUNIPER_CHDLC                 = 0xb5
-       DLT_JUNIPER_ES                    = 0x84
-       DLT_JUNIPER_ETHER                 = 0xb2
-       DLT_JUNIPER_FIBRECHANNEL          = 0xea
-       DLT_JUNIPER_FRELAY                = 0xb4
-       DLT_JUNIPER_GGSN                  = 0x85
-       DLT_JUNIPER_ISM                   = 0xc2
-       DLT_JUNIPER_MFR                   = 0x86
-       DLT_JUNIPER_MLFR                  = 0x83
-       DLT_JUNIPER_MLPPP                 = 0x82
-       DLT_JUNIPER_MONITOR               = 0xa4
-       DLT_JUNIPER_PIC_PEER              = 0xae
-       DLT_JUNIPER_PPP                   = 0xb3
-       DLT_JUNIPER_PPPOE                 = 0xa7
-       DLT_JUNIPER_PPPOE_ATM             = 0xa8
-       DLT_JUNIPER_SERVICES              = 0x88
-       DLT_JUNIPER_SRX_E2E               = 0xe9
-       DLT_JUNIPER_ST                    = 0xc8
-       DLT_JUNIPER_VP                    = 0xb7
-       DLT_JUNIPER_VS                    = 0xe8
-       DLT_LAPB_WITH_DIR                 = 0xcf
-       DLT_LAPD                          = 0xcb
-       DLT_LIN                           = 0xd4
-       DLT_LINUX_EVDEV                   = 0xd8
-       DLT_LINUX_IRDA                    = 0x90
-       DLT_LINUX_LAPD                    = 0xb1
-       DLT_LINUX_PPP_WITHDIRECTION       = 0xa6
-       DLT_LINUX_SLL                     = 0x71
-       DLT_LOOP                          = 0x6c
-       DLT_LTALK                         = 0x72
-       DLT_MATCHING_MAX                  = 0xf5
-       DLT_MATCHING_MIN                  = 0x68
-       DLT_MFR                           = 0xb6
-       DLT_MOST                          = 0xd3
-       DLT_MPEG_2_TS                     = 0xf3
-       DLT_MPLS                          = 0xdb
-       DLT_MTP2                          = 0x8c
-       DLT_MTP2_WITH_PHDR                = 0x8b
-       DLT_MTP3                          = 0x8d
-       DLT_MUX27010                      = 0xec
-       DLT_NETANALYZER                   = 0xf0
-       DLT_NETANALYZER_TRANSPARENT       = 0xf1
-       DLT_NFC_LLCP                      = 0xf5
-       DLT_NFLOG                         = 0xef
-       DLT_NG40                          = 0xf4
-       DLT_NULL                          = 0x0
-       DLT_PCI_EXP                       = 0x7d
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x12
-       DLT_PPI                           = 0xc0
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0x10
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_PPPD                      = 0xa6
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PPP_WITH_DIR                  = 0xcc
-       DLT_PPP_WITH_DIRECTION            = 0xa6
-       DLT_PRISM_HEADER                  = 0x77
-       DLT_PRONET                        = 0x4
-       DLT_RAIF1                         = 0xc6
-       DLT_RAW                           = 0xc
-       DLT_RIO                           = 0x7c
-       DLT_SCCP                          = 0x8e
-       DLT_SITA                          = 0xc4
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xf
-       DLT_STANAG_5066_D_PDU             = 0xed
-       DLT_SUNATM                        = 0x7b
-       DLT_SYMANTEC_FIREWALL             = 0x63
-       DLT_TZSP                          = 0x80
-       DLT_USB                           = 0xba
-       DLT_USB_LINUX                     = 0xbd
-       DLT_USB_LINUX_MMAPPED             = 0xdc
-       DLT_USER0                         = 0x93
-       DLT_USER1                         = 0x94
-       DLT_USER10                        = 0x9d
-       DLT_USER11                        = 0x9e
-       DLT_USER12                        = 0x9f
-       DLT_USER13                        = 0xa0
-       DLT_USER14                        = 0xa1
-       DLT_USER15                        = 0xa2
-       DLT_USER2                         = 0x95
-       DLT_USER3                         = 0x96
-       DLT_USER4                         = 0x97
-       DLT_USER5                         = 0x98
-       DLT_USER6                         = 0x99
-       DLT_USER7                         = 0x9a
-       DLT_USER8                         = 0x9b
-       DLT_USER9                         = 0x9c
-       DLT_WIHART                        = 0xdf
-       DLT_X2E_SERIAL                    = 0xd5
-       DLT_X2E_XORAYA                    = 0xd6
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       DT_WHT                            = 0xe
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EVFILT_AIO                        = -0x3
-       EVFILT_FS                         = -0x9
-       EVFILT_MACHPORT                   = -0x8
-       EVFILT_PROC                       = -0x5
-       EVFILT_READ                       = -0x1
-       EVFILT_SIGNAL                     = -0x6
-       EVFILT_SYSCOUNT                   = 0xe
-       EVFILT_THREADMARKER               = 0xe
-       EVFILT_TIMER                      = -0x7
-       EVFILT_USER                       = -0xa
-       EVFILT_VM                         = -0xc
-       EVFILT_VNODE                      = -0x4
-       EVFILT_WRITE                      = -0x2
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_DISPATCH                       = 0x80
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG0                          = 0x1000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_OOBAND                         = 0x2000
-       EV_POLL                           = 0x1000
-       EV_RECEIPT                        = 0x40
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x400
-       FLUSHO                            = 0x800000
-       F_ADDFILESIGS                     = 0x3d
-       F_ADDSIGS                         = 0x3b
-       F_ALLOCATEALL                     = 0x4
-       F_ALLOCATECONTIG                  = 0x2
-       F_CHKCLEAN                        = 0x29
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0x43
-       F_FINDSIGS                        = 0x4e
-       F_FLUSH_DATA                      = 0x28
-       F_FREEZE_FS                       = 0x35
-       F_FULLFSYNC                       = 0x33
-       F_GETCODEDIR                      = 0x48
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0x7
-       F_GETLKPID                        = 0x42
-       F_GETNOSIGPIPE                    = 0x4a
-       F_GETOWN                          = 0x5
-       F_GETPATH                         = 0x32
-       F_GETPATH_MTMINFO                 = 0x47
-       F_GETPROTECTIONCLASS              = 0x3f
-       F_GETPROTECTIONLEVEL              = 0x4d
-       F_GLOBAL_NOCACHE                  = 0x37
-       F_LOG2PHYS                        = 0x31
-       F_LOG2PHYS_EXT                    = 0x41
-       F_NOCACHE                         = 0x30
-       F_NODIRECT                        = 0x3e
-       F_OK                              = 0x0
-       F_PATHPKG_CHECK                   = 0x34
-       F_PEOFPOSMODE                     = 0x3
-       F_PREALLOCATE                     = 0x2a
-       F_RDADVISE                        = 0x2c
-       F_RDAHEAD                         = 0x2d
-       F_RDLCK                           = 0x1
-       F_SETBACKINGSTORE                 = 0x46
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0x8
-       F_SETLKW                          = 0x9
-       F_SETLKWTIMEOUT                   = 0xa
-       F_SETNOSIGPIPE                    = 0x49
-       F_SETOWN                          = 0x6
-       F_SETPROTECTIONCLASS              = 0x40
-       F_SETSIZE                         = 0x2b
-       F_SINGLE_WRITER                   = 0x4c
-       F_THAW_FS                         = 0x36
-       F_TRANSCODEKEY                    = 0x4b
-       F_UNLCK                           = 0x2
-       F_VOLPOSMODE                      = 0x4
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFF_ALLMULTI                      = 0x200
-       IFF_ALTPHYS                       = 0x4000
-       IFF_BROADCAST                     = 0x2
-       IFF_DEBUG                         = 0x4
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_NOTRAILERS                    = 0x20
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PROMISC                       = 0x100
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_AAL5                          = 0x31
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ATM                           = 0x25
-       IFT_BRIDGE                        = 0xd1
-       IFT_CARP                          = 0xf8
-       IFT_CELLULAR                      = 0xff
-       IFT_CEPT                          = 0x13
-       IFT_DS3                           = 0x1e
-       IFT_ENC                           = 0xf4
-       IFT_EON                           = 0x19
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0x38
-       IFT_FDDI                          = 0xf
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_GIF                           = 0x37
-       IFT_HDH1822                       = 0x3
-       IFT_HIPPI                         = 0x2f
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE8023ADLAG                 = 0x88
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88026                      = 0xa
-       IFT_L2VLAN                        = 0x87
-       IFT_LAPB                          = 0x10
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_NSIP                          = 0x1b
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PDP                           = 0xff
-       IFT_PFLOG                         = 0xf5
-       IFT_PFSYNC                        = 0xf6
-       IFT_PKTAP                         = 0xfe
-       IFT_PPP                           = 0x17
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PTPSERIAL                     = 0x16
-       IFT_RS232                         = 0x21
-       IFT_SDLC                          = 0x11
-       IFT_SIP                           = 0x1f
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_STARLAN                       = 0xb
-       IFT_STF                           = 0x39
-       IFT_T1                            = 0x12
-       IFT_ULTRA                         = 0x1d
-       IFT_V35                           = 0x2d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LINKLOCALNETNUM                = 0xa9fe0000
-       IN_LOOPBACKNET                    = 0x7f
-       IPPROTO_3PC                       = 0x22
-       IPPROTO_ADFS                      = 0x44
-       IPPROTO_AH                        = 0x33
-       IPPROTO_AHIP                      = 0x3d
-       IPPROTO_APES                      = 0x63
-       IPPROTO_ARGUS                     = 0xd
-       IPPROTO_AX25                      = 0x5d
-       IPPROTO_BHA                       = 0x31
-       IPPROTO_BLT                       = 0x1e
-       IPPROTO_BRSATMON                  = 0x4c
-       IPPROTO_CFTP                      = 0x3e
-       IPPROTO_CHAOS                     = 0x10
-       IPPROTO_CMTP                      = 0x26
-       IPPROTO_CPHB                      = 0x49
-       IPPROTO_CPNX                      = 0x48
-       IPPROTO_DDP                       = 0x25
-       IPPROTO_DGP                       = 0x56
-       IPPROTO_DIVERT                    = 0xfe
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_EMCON                     = 0xe
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GMTP                      = 0x64
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HELLO                     = 0x3f
-       IPPROTO_HMP                       = 0x14
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IDPR                      = 0x23
-       IPPROTO_IDRP                      = 0x2d
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IGP                       = 0x55
-       IPPROTO_IGRP                      = 0x58
-       IPPROTO_IL                        = 0x28
-       IPPROTO_INLSP                     = 0x34
-       IPPROTO_INP                       = 0x20
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPCV                      = 0x47
-       IPPROTO_IPEIP                     = 0x5e
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPPC                      = 0x43
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_IRTP                      = 0x1c
-       IPPROTO_KRYPTOLAN                 = 0x41
-       IPPROTO_LARP                      = 0x5b
-       IPPROTO_LEAF1                     = 0x19
-       IPPROTO_LEAF2                     = 0x1a
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x34
-       IPPROTO_MEAS                      = 0x13
-       IPPROTO_MHRP                      = 0x30
-       IPPROTO_MICP                      = 0x5f
-       IPPROTO_MTP                       = 0x5c
-       IPPROTO_MUX                       = 0x12
-       IPPROTO_ND                        = 0x4d
-       IPPROTO_NHRP                      = 0x36
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_NSP                       = 0x1f
-       IPPROTO_NVPII                     = 0xb
-       IPPROTO_OSPFIGP                   = 0x59
-       IPPROTO_PGM                       = 0x71
-       IPPROTO_PIGP                      = 0x9
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PRM                       = 0x15
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_PVP                       = 0x4b
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_RCCMON                    = 0xa
-       IPPROTO_RDP                       = 0x1b
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_RVD                       = 0x42
-       IPPROTO_SATEXPAK                  = 0x40
-       IPPROTO_SATMON                    = 0x45
-       IPPROTO_SCCSP                     = 0x60
-       IPPROTO_SCTP                      = 0x84
-       IPPROTO_SDRP                      = 0x2a
-       IPPROTO_SEP                       = 0x21
-       IPPROTO_SRPC                      = 0x5a
-       IPPROTO_ST                        = 0x7
-       IPPROTO_SVMTP                     = 0x52
-       IPPROTO_SWIPE                     = 0x35
-       IPPROTO_TCF                       = 0x57
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_TPXX                      = 0x27
-       IPPROTO_TRUNK1                    = 0x17
-       IPPROTO_TRUNK2                    = 0x18
-       IPPROTO_TTP                       = 0x54
-       IPPROTO_UDP                       = 0x11
-       IPPROTO_VINES                     = 0x53
-       IPPROTO_VISA                      = 0x46
-       IPPROTO_VMTP                      = 0x51
-       IPPROTO_WBEXPAK                   = 0x4f
-       IPPROTO_WBMON                     = 0x4e
-       IPPROTO_WSN                       = 0x4a
-       IPPROTO_XNET                      = 0xf
-       IPPROTO_XTP                       = 0x24
-       IPV6_2292DSTOPTS                  = 0x17
-       IPV6_2292HOPLIMIT                 = 0x14
-       IPV6_2292HOPOPTS                  = 0x16
-       IPV6_2292NEXTHOP                  = 0x15
-       IPV6_2292PKTINFO                  = 0x13
-       IPV6_2292PKTOPTIONS               = 0x19
-       IPV6_2292RTHDR                    = 0x18
-       IPV6_BINDV6ONLY                   = 0x1b
-       IPV6_BOUND_IF                     = 0x7d
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x3c
-       IPV6_FW_ADD                       = 0x1e
-       IPV6_FW_DEL                       = 0x1f
-       IPV6_FW_FLUSH                     = 0x20
-       IPV6_FW_GET                       = 0x22
-       IPV6_FW_ZERO                      = 0x21
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_IPSEC_POLICY                 = 0x1c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXOPTHDR                    = 0x800
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MAX_GROUP_SRC_FILTER         = 0x200
-       IPV6_MAX_MEMBERSHIPS              = 0xfff
-       IPV6_MAX_SOCK_SRC_FILTER          = 0x80
-       IPV6_MIN_MEMBERSHIPS              = 0x1f
-       IPV6_MMTU                         = 0x500
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_RECVTCLASS                   = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x24
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_ADD_SOURCE_MEMBERSHIP          = 0x46
-       IP_BLOCK_SOURCE                   = 0x48
-       IP_BOUND_IF                       = 0x19
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_DROP_SOURCE_MEMBERSHIP         = 0x47
-       IP_DUMMYNET_CONFIGURE             = 0x3c
-       IP_DUMMYNET_DEL                   = 0x3d
-       IP_DUMMYNET_FLUSH                 = 0x3e
-       IP_DUMMYNET_GET                   = 0x40
-       IP_FAITH                          = 0x16
-       IP_FW_ADD                         = 0x28
-       IP_FW_DEL                         = 0x29
-       IP_FW_FLUSH                       = 0x2a
-       IP_FW_GET                         = 0x2c
-       IP_FW_RESETLOG                    = 0x2d
-       IP_FW_ZERO                        = 0x2b
-       IP_HDRINCL                        = 0x2
-       IP_IPSEC_POLICY                   = 0x15
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_GROUP_SRC_FILTER           = 0x200
-       IP_MAX_MEMBERSHIPS                = 0xfff
-       IP_MAX_SOCK_MUTE_FILTER           = 0x80
-       IP_MAX_SOCK_SRC_FILTER            = 0x80
-       IP_MF                             = 0x2000
-       IP_MIN_MEMBERSHIPS                = 0x1f
-       IP_MSFILTER                       = 0x4a
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_IFINDEX              = 0x42
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_MULTICAST_VIF                  = 0xe
-       IP_NAT__XXX                       = 0x37
-       IP_OFFMASK                        = 0x1fff
-       IP_OLD_FW_ADD                     = 0x32
-       IP_OLD_FW_DEL                     = 0x33
-       IP_OLD_FW_FLUSH                   = 0x34
-       IP_OLD_FW_GET                     = 0x36
-       IP_OLD_FW_RESETLOG                = 0x38
-       IP_OLD_FW_ZERO                    = 0x35
-       IP_OPTIONS                        = 0x1
-       IP_PKTINFO                        = 0x1a
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVIF                         = 0x14
-       IP_RECVOPTS                       = 0x5
-       IP_RECVPKTINFO                    = 0x1a
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVTTL                        = 0x18
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_RSVP_OFF                       = 0x10
-       IP_RSVP_ON                        = 0xf
-       IP_RSVP_VIF_OFF                   = 0x12
-       IP_RSVP_VIF_ON                    = 0x11
-       IP_STRIPHDR                       = 0x17
-       IP_TOS                            = 0x3
-       IP_TRAFFIC_MGT_BACKGROUND         = 0x41
-       IP_TTL                            = 0x4
-       IP_UNBLOCK_SOURCE                 = 0x49
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IUTF8                             = 0x4000
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_CAN_REUSE                    = 0x9
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x5
-       MADV_FREE_REUSABLE                = 0x7
-       MADV_FREE_REUSE                   = 0x8
-       MADV_NORMAL                       = 0x0
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_WILLNEED                     = 0x3
-       MADV_ZERO_WIRED_PAGES             = 0x6
-       MAP_ANON                          = 0x1000
-       MAP_COPY                          = 0x2
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_JIT                           = 0x800
-       MAP_NOCACHE                       = 0x400
-       MAP_NOEXTEND                      = 0x100
-       MAP_NORESERVE                     = 0x40
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_RESERVED0080                  = 0x80
-       MAP_SHARED                        = 0x1
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOF                           = 0x100
-       MSG_EOR                           = 0x8
-       MSG_FLUSH                         = 0x400
-       MSG_HAVEMORE                      = 0x2000
-       MSG_HOLD                          = 0x800
-       MSG_NEEDSA                        = 0x10000
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_RCVMORE                       = 0x4000
-       MSG_SEND                          = 0x1000
-       MSG_TRUNC                         = 0x10
-       MSG_WAITALL                       = 0x40
-       MSG_WAITSTREAM                    = 0x200
-       MS_ASYNC                          = 0x1
-       MS_DEACTIVATE                     = 0x8
-       MS_INVALIDATE                     = 0x2
-       MS_KILLPAGES                      = 0x4
-       MS_SYNC                           = 0x10
-       NAME_MAX                          = 0xff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_DUMP2                      = 0x7
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x3
-       NET_RT_IFLIST2                    = 0x6
-       NET_RT_MAXID                      = 0xa
-       NET_RT_STAT                       = 0x4
-       NET_RT_TRASH                      = 0x5
-       NOFLSH                            = 0x80000000
-       NOTE_ABSOLUTE                     = 0x8
-       NOTE_ATTRIB                       = 0x8
-       NOTE_BACKGROUND                   = 0x40
-       NOTE_CHILD                        = 0x4
-       NOTE_CRITICAL                     = 0x20
-       NOTE_DELETE                       = 0x1
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXITSTATUS                   = 0x4000000
-       NOTE_EXIT_CSERROR                 = 0x40000
-       NOTE_EXIT_DECRYPTFAIL             = 0x10000
-       NOTE_EXIT_DETAIL                  = 0x2000000
-       NOTE_EXIT_DETAIL_MASK             = 0x70000
-       NOTE_EXIT_MEMORY                  = 0x20000
-       NOTE_EXIT_REPARENTED              = 0x80000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FFAND                        = 0x40000000
-       NOTE_FFCOPY                       = 0xc0000000
-       NOTE_FFCTRLMASK                   = 0xc0000000
-       NOTE_FFLAGSMASK                   = 0xffffff
-       NOTE_FFNOP                        = 0x0
-       NOTE_FFOR                         = 0x80000000
-       NOTE_FORK                         = 0x40000000
-       NOTE_LEEWAY                       = 0x10
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_NONE                         = 0x80
-       NOTE_NSECONDS                     = 0x4
-       NOTE_PCTRLMASK                    = -0x100000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_REAP                         = 0x10000000
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_SECONDS                      = 0x1
-       NOTE_SIGNAL                       = 0x8000000
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_TRIGGER                      = 0x1000000
-       NOTE_USECONDS                     = 0x2
-       NOTE_VM_ERROR                     = 0x10000000
-       NOTE_VM_PRESSURE                  = 0x80000000
-       NOTE_VM_PRESSURE_SUDDEN_TERMINATE = 0x20000000
-       NOTE_VM_PRESSURE_TERMINATE        = 0x40000000
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       OFDEL                             = 0x20000
-       OFILL                             = 0x80
-       ONLCR                             = 0x2
-       ONLRET                            = 0x40
-       ONOCR                             = 0x20
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_ALERT                           = 0x20000000
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x1000000
-       O_CREAT                           = 0x200
-       O_DIRECTORY                       = 0x100000
-       O_DP_GETRAWENCRYPTED              = 0x1
-       O_DSYNC                           = 0x400000
-       O_EVTONLY                         = 0x8000
-       O_EXCL                            = 0x800
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x20000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_POPUP                           = 0x80000000
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_SHLOCK                          = 0x10
-       O_SYMLINK                         = 0x200000
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       PT_ATTACH                         = 0xa
-       PT_ATTACHEXC                      = 0xe
-       PT_CONTINUE                       = 0x7
-       PT_DENY_ATTACH                    = 0x1f
-       PT_DETACH                         = 0xb
-       PT_FIRSTMACH                      = 0x20
-       PT_FORCEQUOTA                     = 0x1e
-       PT_KILL                           = 0x8
-       PT_READ_D                         = 0x2
-       PT_READ_I                         = 0x1
-       PT_READ_U                         = 0x3
-       PT_SIGEXC                         = 0xc
-       PT_STEP                           = 0x9
-       PT_THUPDATE                       = 0xd
-       PT_TRACE_ME                       = 0x0
-       PT_WRITE_D                        = 0x5
-       PT_WRITE_I                        = 0x4
-       PT_WRITE_U                        = 0x6
-       RLIMIT_AS                         = 0x5
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_CPU_USAGE_MONITOR          = 0x2
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_MAX                          = 0x8
-       RTAX_NETMASK                      = 0x2
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_NETMASK                       = 0x4
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_BROADCAST                     = 0x400000
-       RTF_CLONING                       = 0x100
-       RTF_CONDEMNED                     = 0x2000000
-       RTF_DELCLONE                      = 0x80
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_GATEWAY                       = 0x2
-       RTF_HOST                          = 0x4
-       RTF_IFREF                         = 0x4000000
-       RTF_IFSCOPE                       = 0x1000000
-       RTF_LLINFO                        = 0x400
-       RTF_LOCAL                         = 0x200000
-       RTF_MODIFIED                      = 0x20
-       RTF_MULTICAST                     = 0x800000
-       RTF_NOIFREF                       = 0x2000
-       RTF_PINNED                        = 0x100000
-       RTF_PRCLONING                     = 0x10000
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_PROTO3                        = 0x40000
-       RTF_PROXY                         = 0x8000000
-       RTF_REJECT                        = 0x8
-       RTF_ROUTER                        = 0x10000000
-       RTF_STATIC                        = 0x800
-       RTF_UP                            = 0x1
-       RTF_WASCLONED                     = 0x20000
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_DELMADDR                      = 0x10
-       RTM_GET                           = 0x4
-       RTM_GET2                          = 0x14
-       RTM_IFINFO                        = 0xe
-       RTM_IFINFO2                       = 0x12
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_NEWMADDR                      = 0xf
-       RTM_NEWMADDR2                     = 0x13
-       RTM_OLDADD                        = 0x9
-       RTM_OLDDEL                        = 0xa
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_VERSION                       = 0x5
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       SCM_CREDS                         = 0x3
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x2
-       SCM_TIMESTAMP_MONOTONIC           = 0x4
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80206931
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCARPIPLL                       = 0xc0206928
-       SIOCATMARK                        = 0x40047307
-       SIOCAUTOADDR                      = 0xc0206926
-       SIOCAUTONETMASK                   = 0x80206927
-       SIOCDELMULTI                      = 0x80206932
-       SIOCDIFADDR                       = 0x80206919
-       SIOCDIFPHYADDR                    = 0x80206941
-       SIOCGDRVSPEC                      = 0xc028697b
-       SIOCGETVLAN                       = 0xc020697f
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0206921
-       SIOCGIFALTMTU                     = 0xc0206948
-       SIOCGIFASYNCMAP                   = 0xc020697c
-       SIOCGIFBOND                       = 0xc0206947
-       SIOCGIFBRDADDR                    = 0xc0206923
-       SIOCGIFCAP                        = 0xc020695b
-       SIOCGIFCONF                       = 0xc00c6924
-       SIOCGIFDEVMTU                     = 0xc0206944
-       SIOCGIFDSTADDR                    = 0xc0206922
-       SIOCGIFFLAGS                      = 0xc0206911
-       SIOCGIFGENERIC                    = 0xc020693a
-       SIOCGIFKPI                        = 0xc0206987
-       SIOCGIFMAC                        = 0xc0206982
-       SIOCGIFMEDIA                      = 0xc02c6938
-       SIOCGIFMETRIC                     = 0xc0206917
-       SIOCGIFMTU                        = 0xc0206933
-       SIOCGIFNETMASK                    = 0xc0206925
-       SIOCGIFPDSTADDR                   = 0xc0206940
-       SIOCGIFPHYS                       = 0xc0206935
-       SIOCGIFPSRCADDR                   = 0xc020693f
-       SIOCGIFSTATUS                     = 0xc331693d
-       SIOCGIFVLAN                       = 0xc020697f
-       SIOCGIFWAKEFLAGS                  = 0xc0206988
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCIFCREATE                      = 0xc0206978
-       SIOCIFCREATE2                     = 0xc020697a
-       SIOCIFDESTROY                     = 0x80206979
-       SIOCIFGCLONERS                    = 0xc0106981
-       SIOCRSLVMULTI                     = 0xc010693b
-       SIOCSDRVSPEC                      = 0x8028697b
-       SIOCSETVLAN                       = 0x8020697e
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8020690c
-       SIOCSIFALTMTU                     = 0x80206945
-       SIOCSIFASYNCMAP                   = 0x8020697d
-       SIOCSIFBOND                       = 0x80206946
-       SIOCSIFBRDADDR                    = 0x80206913
-       SIOCSIFCAP                        = 0x8020695a
-       SIOCSIFDSTADDR                    = 0x8020690e
-       SIOCSIFFLAGS                      = 0x80206910
-       SIOCSIFGENERIC                    = 0x80206939
-       SIOCSIFKPI                        = 0x80206986
-       SIOCSIFLLADDR                     = 0x8020693c
-       SIOCSIFMAC                        = 0x80206983
-       SIOCSIFMEDIA                      = 0xc0206937
-       SIOCSIFMETRIC                     = 0x80206918
-       SIOCSIFMTU                        = 0x80206934
-       SIOCSIFNETMASK                    = 0x80206916
-       SIOCSIFPHYADDR                    = 0x8040693e
-       SIOCSIFPHYS                       = 0x80206936
-       SIOCSIFVLAN                       = 0x8020697e
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SOCK_DGRAM                        = 0x2
-       SOCK_MAXADDRLEN                   = 0xff
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_DONTTRUNC                      = 0x2000
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LABEL                          = 0x1010
-       SO_LINGER                         = 0x80
-       SO_LINGER_SEC                     = 0x1080
-       SO_NKE                            = 0x1021
-       SO_NOADDRERR                      = 0x1023
-       SO_NOSIGPIPE                      = 0x1022
-       SO_NOTIFYCONFLICT                 = 0x1026
-       SO_NP_EXTENSIONS                  = 0x1083
-       SO_NREAD                          = 0x1020
-       SO_NUMRCVPKT                      = 0x1112
-       SO_NWRITE                         = 0x1024
-       SO_OOBINLINE                      = 0x100
-       SO_PEERLABEL                      = 0x1011
-       SO_RANDOMPORT                     = 0x1082
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x1006
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_REUSESHAREUID                  = 0x1025
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x1005
-       SO_TIMESTAMP                      = 0x400
-       SO_TIMESTAMP_MONOTONIC            = 0x800
-       SO_TYPE                           = 0x1008
-       SO_UPCALLCLOSEWAIT                = 0x1027
-       SO_USELOOPBACK                    = 0x40
-       SO_WANTMORE                       = 0x4000
-       SO_WANTOOBFLAG                    = 0x8000
-       S_IEXEC                           = 0x40
-       S_IFBLK                           = 0x6000
-       S_IFCHR                           = 0x2000
-       S_IFDIR                           = 0x4000
-       S_IFIFO                           = 0x1000
-       S_IFLNK                           = 0xa000
-       S_IFMT                            = 0xf000
-       S_IFREG                           = 0x8000
-       S_IFSOCK                          = 0xc000
-       S_IFWHT                           = 0xe000
-       S_IREAD                           = 0x100
-       S_IRGRP                           = 0x20
-       S_IROTH                           = 0x4
-       S_IRUSR                           = 0x100
-       S_IRWXG                           = 0x38
-       S_IRWXO                           = 0x7
-       S_IRWXU                           = 0x1c0
-       S_ISGID                           = 0x400
-       S_ISTXT                           = 0x200
-       S_ISUID                           = 0x800
-       S_ISVTX                           = 0x200
-       S_IWGRP                           = 0x10
-       S_IWOTH                           = 0x2
-       S_IWRITE                          = 0x80
-       S_IWUSR                           = 0x80
-       S_IXGRP                           = 0x8
-       S_IXOTH                           = 0x1
-       S_IXUSR                           = 0x40
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_CONNECTIONTIMEOUT             = 0x20
-       TCP_ENABLE_ECN                    = 0x104
-       TCP_KEEPALIVE                     = 0x10
-       TCP_KEEPCNT                       = 0x102
-       TCP_KEEPINTVL                     = 0x101
-       TCP_MAXHLEN                       = 0x3c
-       TCP_MAXOLEN                       = 0x28
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_SACK                      = 0x4
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MINMSS                        = 0xd8
-       TCP_MSS                           = 0x200
-       TCP_NODELAY                       = 0x1
-       TCP_NOOPT                         = 0x8
-       TCP_NOPUSH                        = 0x4
-       TCP_NOTSENT_LOWAT                 = 0x201
-       TCP_RXT_CONNDROPTIME              = 0x80
-       TCP_RXT_FINDROP                   = 0x100
-       TCP_SENDMOREACKS                  = 0x103
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDCDTIMESTAMP                  = 0x40107458
-       TIOCDRAIN                         = 0x2000745e
-       TIOCDSIMICROCODE                  = 0x20007455
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLUSH                         = 0x80047410
-       TIOCGDRAINWAIT                    = 0x40047456
-       TIOCGETA                          = 0x40487413
-       TIOCGETD                          = 0x4004741a
-       TIOCGPGRP                         = 0x40047477
-       TIOCGWINSZ                        = 0x40087468
-       TIOCIXOFF                         = 0x20007480
-       TIOCIXON                          = 0x20007481
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGDTRWAIT                     = 0x4004745a
-       TIOCMGET                          = 0x4004746a
-       TIOCMODG                          = 0x40047403
-       TIOCMODS                          = 0x80047404
-       TIOCMSDTRWAIT                     = 0x8004745b
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCPTYGNAME                      = 0x40807453
-       TIOCPTYGRANT                      = 0x20007454
-       TIOCPTYUNLK                       = 0x20007452
-       TIOCREMOTE                        = 0x80047469
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCONS                         = 0x20007463
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDRAINWAIT                    = 0x80047457
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x80487414
-       TIOCSETAF                         = 0x80487416
-       TIOCSETAW                         = 0x80487415
-       TIOCSETD                          = 0x8004741b
-       TIOCSIG                           = 0x2000745f
-       TIOCSPGRP                         = 0x80047476
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x20007465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSWINSZ                        = 0x80087467
-       TIOCTIMESTAMP                     = 0x40107459
-       TIOCUCNTL                         = 0x80047466
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VT0                               = 0x0
-       VT1                               = 0x10000
-       VTDLY                             = 0x10000
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WCONTINUED                        = 0x10
-       WCOREFLAG                         = 0x80
-       WEXITED                           = 0x4
-       WNOHANG                           = 0x1
-       WNOWAIT                           = 0x20
-       WORDSIZE                          = 0x40
-       WSTOPPED                          = 0x8
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADARCH        = syscall.Errno(0x56)
-       EBADEXEC        = syscall.Errno(0x55)
-       EBADF           = syscall.Errno(0x9)
-       EBADMACHO       = syscall.Errno(0x58)
-       EBADMSG         = syscall.Errno(0x5e)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x59)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDEVERR         = syscall.Errno(0x53)
-       EDOM            = syscall.Errno(0x21)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x5a)
-       EILSEQ          = syscall.Errno(0x5c)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x6a)
-       ELOOP           = syscall.Errno(0x3e)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       EMULTIHOP       = syscall.Errno(0x5f)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x5d)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODATA         = syscall.Errno(0x60)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOLINK         = syscall.Errno(0x61)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x5b)
-       ENOPOLICY       = syscall.Errno(0x67)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x62)
-       ENOSTR          = syscall.Errno(0x63)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTRECOVERABLE = syscall.Errno(0x68)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x2d)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x66)
-       EOVERFLOW       = syscall.Errno(0x54)
-       EOWNERDEAD      = syscall.Errno(0x69)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTO          = syscall.Errno(0x64)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       EPWROFF         = syscall.Errno(0x52)
-       EQFULL          = syscall.Errno(0x6a)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHLIBVERS      = syscall.Errno(0x57)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIME           = syscall.Errno(0x65)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:   "operation not permitted",
-       2:   "no such file or directory",
-       3:   "no such process",
-       4:   "interrupted system call",
-       5:   "input/output error",
-       6:   "device not configured",
-       7:   "argument list too long",
-       8:   "exec format error",
-       9:   "bad file descriptor",
-       10:  "no child processes",
-       11:  "resource deadlock avoided",
-       12:  "cannot allocate memory",
-       13:  "permission denied",
-       14:  "bad address",
-       15:  "block device required",
-       16:  "resource busy",
-       17:  "file exists",
-       18:  "cross-device link",
-       19:  "operation not supported by device",
-       20:  "not a directory",
-       21:  "is a directory",
-       22:  "invalid argument",
-       23:  "too many open files in system",
-       24:  "too many open files",
-       25:  "inappropriate ioctl for device",
-       26:  "text file busy",
-       27:  "file too large",
-       28:  "no space left on device",
-       29:  "illegal seek",
-       30:  "read-only file system",
-       31:  "too many links",
-       32:  "broken pipe",
-       33:  "numerical argument out of domain",
-       34:  "result too large",
-       35:  "resource temporarily unavailable",
-       36:  "operation now in progress",
-       37:  "operation already in progress",
-       38:  "socket operation on non-socket",
-       39:  "destination address required",
-       40:  "message too long",
-       41:  "protocol wrong type for socket",
-       42:  "protocol not available",
-       43:  "protocol not supported",
-       44:  "socket type not supported",
-       45:  "operation not supported",
-       46:  "protocol family not supported",
-       47:  "address family not supported by protocol family",
-       48:  "address already in use",
-       49:  "can't assign requested address",
-       50:  "network is down",
-       51:  "network is unreachable",
-       52:  "network dropped connection on reset",
-       53:  "software caused connection abort",
-       54:  "connection reset by peer",
-       55:  "no buffer space available",
-       56:  "socket is already connected",
-       57:  "socket is not connected",
-       58:  "can't send after socket shutdown",
-       59:  "too many references: can't splice",
-       60:  "operation timed out",
-       61:  "connection refused",
-       62:  "too many levels of symbolic links",
-       63:  "file name too long",
-       64:  "host is down",
-       65:  "no route to host",
-       66:  "directory not empty",
-       67:  "too many processes",
-       68:  "too many users",
-       69:  "disc quota exceeded",
-       70:  "stale NFS file handle",
-       71:  "too many levels of remote in path",
-       72:  "RPC struct is bad",
-       73:  "RPC version wrong",
-       74:  "RPC prog. not avail",
-       75:  "program version wrong",
-       76:  "bad procedure for program",
-       77:  "no locks available",
-       78:  "function not implemented",
-       79:  "inappropriate file type or format",
-       80:  "authentication error",
-       81:  "need authenticator",
-       82:  "device power is off",
-       83:  "device error",
-       84:  "value too large to be stored in data type",
-       85:  "bad executable (or shared library)",
-       86:  "bad CPU type in executable",
-       87:  "shared library version mismatch",
-       88:  "malformed Mach-o file",
-       89:  "operation canceled",
-       90:  "identifier removed",
-       91:  "no message of desired type",
-       92:  "illegal byte sequence",
-       93:  "attribute not found",
-       94:  "bad message",
-       95:  "EMULTIHOP (Reserved)",
-       96:  "no message available on STREAM",
-       97:  "ENOLINK (Reserved)",
-       98:  "no STREAM resources",
-       99:  "not a STREAM",
-       100: "protocol error",
-       101: "STREAM ioctl timeout",
-       102: "operation not supported on socket",
-       103: "policy not found",
-       104: "state not recoverable",
-       105: "previous owner died",
-       106: "interface output queue is full",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "suspended (signal)",
-       18: "suspended",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go
deleted file mode 100644 (file)
index 8f40598..0000000
+++ /dev/null
@@ -1,1568 +0,0 @@
-// mkerrors.sh -m64
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build amd64,dragonfly
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m64 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_ATM                            = 0x1e
-       AF_BLUETOOTH                      = 0x21
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1a
-       AF_ECMA                           = 0x8
-       AF_HYLINK                         = 0xf
-       AF_IEEE80211                      = 0x23
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x1c
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1a
-       AF_ISO                            = 0x7
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x24
-       AF_MPLS                           = 0x22
-       AF_NATM                           = 0x1d
-       AF_NETBIOS                        = 0x6
-       AF_NETGRAPH                       = 0x20
-       AF_OSI                            = 0x7
-       AF_PUP                            = 0x4
-       AF_ROUTE                          = 0x11
-       AF_SIP                            = 0x18
-       AF_SNA                            = 0xb
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       ALTWERASE                         = 0x200
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B9600                             = 0x2580
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc0104279
-       BIOCGETIF                         = 0x4020426b
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRSIG                         = 0x40044272
-       BIOCGRTIMEOUT                     = 0x4010426e
-       BIOCGSEESENT                      = 0x40044276
-       BIOCGSTATS                        = 0x4008426f
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCLOCK                          = 0x2000427a
-       BIOCPROMISC                       = 0x20004269
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDLT                          = 0x80044278
-       BIOCSETF                          = 0x80104267
-       BIOCSETIF                         = 0x8020426c
-       BIOCSETWF                         = 0x8010427b
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRSIG                         = 0x80044273
-       BIOCSRTIMEOUT                     = 0x8010426d
-       BIOCSSEESENT                      = 0x80044277
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x8
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_DEFAULTBUFSIZE                = 0x1000
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x80000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MAX_CLONES                    = 0x80
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CLOCK_MONOTONIC                   = 0x4
-       CLOCK_MONOTONIC_FAST              = 0xc
-       CLOCK_MONOTONIC_PRECISE           = 0xb
-       CLOCK_PROCESS_CPUTIME_ID          = 0xf
-       CLOCK_PROF                        = 0x2
-       CLOCK_REALTIME                    = 0x0
-       CLOCK_REALTIME_FAST               = 0xa
-       CLOCK_REALTIME_PRECISE            = 0x9
-       CLOCK_SECOND                      = 0xd
-       CLOCK_THREAD_CPUTIME_ID           = 0xe
-       CLOCK_UPTIME                      = 0x5
-       CLOCK_UPTIME_FAST                 = 0x8
-       CLOCK_UPTIME_PRECISE              = 0x7
-       CLOCK_VIRTUAL                     = 0x1
-       CREAD                             = 0x800
-       CRTSCTS                           = 0x30000
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0x14
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0xc
-       CTL_NET                           = 0x4
-       DLT_A429                          = 0xb8
-       DLT_A653_ICM                      = 0xb9
-       DLT_AIRONET_HEADER                = 0x78
-       DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
-       DLT_ARCNET                        = 0x7
-       DLT_ARCNET_LINUX                  = 0x81
-       DLT_ATM_CLIP                      = 0x13
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AURORA                        = 0x7e
-       DLT_AX25                          = 0x3
-       DLT_AX25_KISS                     = 0xca
-       DLT_BACNET_MS_TP                  = 0xa5
-       DLT_BLUETOOTH_HCI_H4              = 0xbb
-       DLT_BLUETOOTH_HCI_H4_WITH_PHDR    = 0xc9
-       DLT_CAN20B                        = 0xbe
-       DLT_CHAOS                         = 0x5
-       DLT_CHDLC                         = 0x68
-       DLT_CISCO_IOS                     = 0x76
-       DLT_C_HDLC                        = 0x68
-       DLT_C_HDLC_WITH_DIR               = 0xcd
-       DLT_DOCSIS                        = 0x8f
-       DLT_ECONET                        = 0x73
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0x6d
-       DLT_ERF                           = 0xc5
-       DLT_ERF_ETH                       = 0xaf
-       DLT_ERF_POS                       = 0xb0
-       DLT_FDDI                          = 0xa
-       DLT_FLEXRAY                       = 0xd2
-       DLT_FRELAY                        = 0x6b
-       DLT_FRELAY_WITH_DIR               = 0xce
-       DLT_GCOM_SERIAL                   = 0xad
-       DLT_GCOM_T1E1                     = 0xac
-       DLT_GPF_F                         = 0xab
-       DLT_GPF_T                         = 0xaa
-       DLT_GPRS_LLC                      = 0xa9
-       DLT_HHDLC                         = 0x79
-       DLT_IBM_SN                        = 0x92
-       DLT_IBM_SP                        = 0x91
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_IEEE802_11_RADIO_AVS          = 0xa3
-       DLT_IEEE802_15_4                  = 0xc3
-       DLT_IEEE802_15_4_LINUX            = 0xbf
-       DLT_IEEE802_15_4_NONASK_PHY       = 0xd7
-       DLT_IEEE802_16_MAC_CPS            = 0xbc
-       DLT_IEEE802_16_MAC_CPS_RADIO      = 0xc1
-       DLT_IPFILTER                      = 0x74
-       DLT_IPMB                          = 0xc7
-       DLT_IPMB_LINUX                    = 0xd1
-       DLT_IP_OVER_FC                    = 0x7a
-       DLT_JUNIPER_ATM1                  = 0x89
-       DLT_JUNIPER_ATM2                  = 0x87
-       DLT_JUNIPER_CHDLC                 = 0xb5
-       DLT_JUNIPER_ES                    = 0x84
-       DLT_JUNIPER_ETHER                 = 0xb2
-       DLT_JUNIPER_FRELAY                = 0xb4
-       DLT_JUNIPER_GGSN                  = 0x85
-       DLT_JUNIPER_ISM                   = 0xc2
-       DLT_JUNIPER_MFR                   = 0x86
-       DLT_JUNIPER_MLFR                  = 0x83
-       DLT_JUNIPER_MLPPP                 = 0x82
-       DLT_JUNIPER_MONITOR               = 0xa4
-       DLT_JUNIPER_PIC_PEER              = 0xae
-       DLT_JUNIPER_PPP                   = 0xb3
-       DLT_JUNIPER_PPPOE                 = 0xa7
-       DLT_JUNIPER_PPPOE_ATM             = 0xa8
-       DLT_JUNIPER_SERVICES              = 0x88
-       DLT_JUNIPER_ST                    = 0xc8
-       DLT_JUNIPER_VP                    = 0xb7
-       DLT_LAPB_WITH_DIR                 = 0xcf
-       DLT_LAPD                          = 0xcb
-       DLT_LIN                           = 0xd4
-       DLT_LINUX_IRDA                    = 0x90
-       DLT_LINUX_LAPD                    = 0xb1
-       DLT_LINUX_SLL                     = 0x71
-       DLT_LOOP                          = 0x6c
-       DLT_LTALK                         = 0x72
-       DLT_MFR                           = 0xb6
-       DLT_MOST                          = 0xd3
-       DLT_MTP2                          = 0x8c
-       DLT_MTP2_WITH_PHDR                = 0x8b
-       DLT_MTP3                          = 0x8d
-       DLT_NULL                          = 0x0
-       DLT_PCI_EXP                       = 0x7d
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x12
-       DLT_PPI                           = 0xc0
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0x10
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_PPPD                      = 0xa6
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PPP_WITH_DIR                  = 0xcc
-       DLT_PRISM_HEADER                  = 0x77
-       DLT_PRONET                        = 0x4
-       DLT_RAIF1                         = 0xc6
-       DLT_RAW                           = 0xc
-       DLT_REDBACK_SMARTEDGE             = 0x20
-       DLT_RIO                           = 0x7c
-       DLT_SCCP                          = 0x8e
-       DLT_SITA                          = 0xc4
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xf
-       DLT_SUNATM                        = 0x7b
-       DLT_SYMANTEC_FIREWALL             = 0x63
-       DLT_TZSP                          = 0x80
-       DLT_USB                           = 0xba
-       DLT_USB_LINUX                     = 0xbd
-       DLT_X2E_SERIAL                    = 0xd5
-       DLT_X2E_XORAYA                    = 0xd6
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DBF                            = 0xf
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       DT_WHT                            = 0xe
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EVFILT_AIO                        = -0x3
-       EVFILT_EXCEPT                     = -0x8
-       EVFILT_FS                         = -0xa
-       EVFILT_MARKER                     = 0xf
-       EVFILT_PROC                       = -0x5
-       EVFILT_READ                       = -0x1
-       EVFILT_SIGNAL                     = -0x6
-       EVFILT_SYSCOUNT                   = 0xa
-       EVFILT_TIMER                      = -0x7
-       EVFILT_USER                       = -0x9
-       EVFILT_VNODE                      = -0x4
-       EVFILT_WRITE                      = -0x2
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_DISPATCH                       = 0x80
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG1                          = 0x2000
-       EV_NODATA                         = 0x1000
-       EV_ONESHOT                        = 0x10
-       EV_RECEIPT                        = 0x40
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTB                              = 0x9600
-       EXTEXIT_LWP                       = 0x10000
-       EXTEXIT_PROC                      = 0x0
-       EXTEXIT_SETINT                    = 0x1
-       EXTEXIT_SIMPLE                    = 0x0
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x400
-       FLUSHO                            = 0x800000
-       F_DUP2FD                          = 0xa
-       F_DUP2FD_CLOEXEC                  = 0x12
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0x11
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0x7
-       F_GETOWN                          = 0x5
-       F_OK                              = 0x0
-       F_RDLCK                           = 0x1
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0x8
-       F_SETLKW                          = 0x9
-       F_SETOWN                          = 0x6
-       F_UNLCK                           = 0x2
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFAN_ARRIVAL                      = 0x0
-       IFAN_DEPARTURE                    = 0x1
-       IFF_ALLMULTI                      = 0x200
-       IFF_ALTPHYS                       = 0x4000
-       IFF_BROADCAST                     = 0x2
-       IFF_CANTCHANGE                    = 0x118e72
-       IFF_DEBUG                         = 0x4
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MONITOR                       = 0x40000
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_NPOLLING                      = 0x100000
-       IFF_OACTIVE                       = 0x400
-       IFF_OACTIVE_COMPAT                = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_POLLING                       = 0x10000
-       IFF_POLLING_COMPAT                = 0x10000
-       IFF_PPROMISC                      = 0x20000
-       IFF_PROMISC                       = 0x100
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_SMART                         = 0x20
-       IFF_STATICARP                     = 0x80000
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_A12MPPSWITCH                  = 0x82
-       IFT_AAL2                          = 0xbb
-       IFT_AAL5                          = 0x31
-       IFT_ADSL                          = 0x5e
-       IFT_AFLANE8023                    = 0x3b
-       IFT_AFLANE8025                    = 0x3c
-       IFT_ARAP                          = 0x58
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ASYNC                         = 0x54
-       IFT_ATM                           = 0x25
-       IFT_ATMDXI                        = 0x69
-       IFT_ATMFUNI                       = 0x6a
-       IFT_ATMIMA                        = 0x6b
-       IFT_ATMLOGICAL                    = 0x50
-       IFT_ATMRADIO                      = 0xbd
-       IFT_ATMSUBINTERFACE               = 0x86
-       IFT_ATMVCIENDPT                   = 0xc2
-       IFT_ATMVIRTUAL                    = 0x95
-       IFT_BGPPOLICYACCOUNTING           = 0xa2
-       IFT_BRIDGE                        = 0xd1
-       IFT_BSC                           = 0x53
-       IFT_CARP                          = 0xf8
-       IFT_CCTEMUL                       = 0x3d
-       IFT_CEPT                          = 0x13
-       IFT_CES                           = 0x85
-       IFT_CHANNEL                       = 0x46
-       IFT_CNR                           = 0x55
-       IFT_COFFEE                        = 0x84
-       IFT_COMPOSITELINK                 = 0x9b
-       IFT_DCN                           = 0x8d
-       IFT_DIGITALPOWERLINE              = 0x8a
-       IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
-       IFT_DLSW                          = 0x4a
-       IFT_DOCSCABLEDOWNSTREAM           = 0x80
-       IFT_DOCSCABLEMACLAYER             = 0x7f
-       IFT_DOCSCABLEUPSTREAM             = 0x81
-       IFT_DS0                           = 0x51
-       IFT_DS0BUNDLE                     = 0x52
-       IFT_DS1FDL                        = 0xaa
-       IFT_DS3                           = 0x1e
-       IFT_DTM                           = 0x8c
-       IFT_DVBASILN                      = 0xac
-       IFT_DVBASIOUT                     = 0xad
-       IFT_DVBRCCDOWNSTREAM              = 0x93
-       IFT_DVBRCCMACLAYER                = 0x92
-       IFT_DVBRCCUPSTREAM                = 0x94
-       IFT_ENC                           = 0xf4
-       IFT_EON                           = 0x19
-       IFT_EPLRS                         = 0x57
-       IFT_ESCON                         = 0x49
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0xf2
-       IFT_FAST                          = 0x7d
-       IFT_FASTETHER                     = 0x3e
-       IFT_FASTETHERFX                   = 0x45
-       IFT_FDDI                          = 0xf
-       IFT_FIBRECHANNEL                  = 0x38
-       IFT_FRAMERELAYINTERCONNECT        = 0x3a
-       IFT_FRAMERELAYMPI                 = 0x5c
-       IFT_FRDLCIENDPT                   = 0xc1
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_FRF16MFRBUNDLE                = 0xa3
-       IFT_FRFORWARD                     = 0x9e
-       IFT_G703AT2MB                     = 0x43
-       IFT_G703AT64K                     = 0x42
-       IFT_GIF                           = 0xf0
-       IFT_GIGABITETHERNET               = 0x75
-       IFT_GR303IDT                      = 0xb2
-       IFT_GR303RDT                      = 0xb1
-       IFT_H323GATEKEEPER                = 0xa4
-       IFT_H323PROXY                     = 0xa5
-       IFT_HDH1822                       = 0x3
-       IFT_HDLC                          = 0x76
-       IFT_HDSL2                         = 0xa8
-       IFT_HIPERLAN2                     = 0xb7
-       IFT_HIPPI                         = 0x2f
-       IFT_HIPPIINTERFACE                = 0x39
-       IFT_HOSTPAD                       = 0x5a
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IBM370PARCHAN                 = 0x48
-       IFT_IDSL                          = 0x9a
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE80211                     = 0x47
-       IFT_IEEE80212                     = 0x37
-       IFT_IEEE8023ADLAG                 = 0xa1
-       IFT_IFGSN                         = 0x91
-       IFT_IMT                           = 0xbe
-       IFT_INTERLEAVE                    = 0x7c
-       IFT_IP                            = 0x7e
-       IFT_IPFORWARD                     = 0x8e
-       IFT_IPOVERATM                     = 0x72
-       IFT_IPOVERCDLC                    = 0x6d
-       IFT_IPOVERCLAW                    = 0x6e
-       IFT_IPSWITCH                      = 0x4e
-       IFT_ISDN                          = 0x3f
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISDNS                         = 0x4b
-       IFT_ISDNU                         = 0x4c
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88025CRFPINT               = 0x62
-       IFT_ISO88025DTR                   = 0x56
-       IFT_ISO88025FIBER                 = 0x73
-       IFT_ISO88026                      = 0xa
-       IFT_ISUP                          = 0xb3
-       IFT_L2VLAN                        = 0x87
-       IFT_L3IPVLAN                      = 0x88
-       IFT_L3IPXVLAN                     = 0x89
-       IFT_LAPB                          = 0x10
-       IFT_LAPD                          = 0x4d
-       IFT_LAPF                          = 0x77
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MEDIAMAILOVERIP               = 0x8b
-       IFT_MFSIGLINK                     = 0xa7
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_MPC                           = 0x71
-       IFT_MPLS                          = 0xa6
-       IFT_MPLSTUNNEL                    = 0x96
-       IFT_MSDSL                         = 0x8f
-       IFT_MVL                           = 0xbf
-       IFT_MYRINET                       = 0x63
-       IFT_NFAS                          = 0xaf
-       IFT_NSIP                          = 0x1b
-       IFT_OPTICALCHANNEL                = 0xc3
-       IFT_OPTICALTRANSPORT              = 0xc4
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PFLOG                         = 0xf5
-       IFT_PFSYNC                        = 0xf6
-       IFT_PLC                           = 0xae
-       IFT_POS                           = 0xab
-       IFT_PPP                           = 0x17
-       IFT_PPPMULTILINKBUNDLE            = 0x6c
-       IFT_PROPBWAP2MP                   = 0xb8
-       IFT_PROPCNLS                      = 0x59
-       IFT_PROPDOCSWIRELESSDOWNSTREAM    = 0xb5
-       IFT_PROPDOCSWIRELESSMACLAYER      = 0xb4
-       IFT_PROPDOCSWIRELESSUPSTREAM      = 0xb6
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PROPWIRELESSP2P               = 0x9d
-       IFT_PTPSERIAL                     = 0x16
-       IFT_PVC                           = 0xf1
-       IFT_QLLC                          = 0x44
-       IFT_RADIOMAC                      = 0xbc
-       IFT_RADSL                         = 0x5f
-       IFT_REACHDSL                      = 0xc0
-       IFT_RFC1483                       = 0x9f
-       IFT_RS232                         = 0x21
-       IFT_RSRB                          = 0x4f
-       IFT_SDLC                          = 0x11
-       IFT_SDSL                          = 0x60
-       IFT_SHDSL                         = 0xa9
-       IFT_SIP                           = 0x1f
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETOVERHEADCHANNEL          = 0xb9
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_SRP                           = 0x97
-       IFT_SS7SIGLINK                    = 0x9c
-       IFT_STACKTOSTACK                  = 0x6f
-       IFT_STARLAN                       = 0xb
-       IFT_STF                           = 0xf3
-       IFT_T1                            = 0x12
-       IFT_TDLC                          = 0x74
-       IFT_TERMPAD                       = 0x5b
-       IFT_TR008                         = 0xb0
-       IFT_TRANSPHDLC                    = 0x7b
-       IFT_TUNNEL                        = 0x83
-       IFT_ULTRA                         = 0x1d
-       IFT_USB                           = 0xa0
-       IFT_V11                           = 0x40
-       IFT_V35                           = 0x2d
-       IFT_V36                           = 0x41
-       IFT_V37                           = 0x78
-       IFT_VDSL                          = 0x61
-       IFT_VIRTUALIPADDRESS              = 0x70
-       IFT_VOICEEM                       = 0x64
-       IFT_VOICEENCAP                    = 0x67
-       IFT_VOICEFXO                      = 0x65
-       IFT_VOICEFXS                      = 0x66
-       IFT_VOICEOVERATM                  = 0x98
-       IFT_VOICEOVERFRAMERELAY           = 0x99
-       IFT_VOICEOVERIP                   = 0x68
-       IFT_X213                          = 0x5d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25HUNTGROUP                  = 0x7a
-       IFT_X25MLP                        = 0x79
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LOOPBACKNET                    = 0x7f
-       IPPROTO_3PC                       = 0x22
-       IPPROTO_ADFS                      = 0x44
-       IPPROTO_AH                        = 0x33
-       IPPROTO_AHIP                      = 0x3d
-       IPPROTO_APES                      = 0x63
-       IPPROTO_ARGUS                     = 0xd
-       IPPROTO_AX25                      = 0x5d
-       IPPROTO_BHA                       = 0x31
-       IPPROTO_BLT                       = 0x1e
-       IPPROTO_BRSATMON                  = 0x4c
-       IPPROTO_CARP                      = 0x70
-       IPPROTO_CFTP                      = 0x3e
-       IPPROTO_CHAOS                     = 0x10
-       IPPROTO_CMTP                      = 0x26
-       IPPROTO_CPHB                      = 0x49
-       IPPROTO_CPNX                      = 0x48
-       IPPROTO_DDP                       = 0x25
-       IPPROTO_DGP                       = 0x56
-       IPPROTO_DIVERT                    = 0xfe
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_EMCON                     = 0xe
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GMTP                      = 0x64
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HELLO                     = 0x3f
-       IPPROTO_HMP                       = 0x14
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IDPR                      = 0x23
-       IPPROTO_IDRP                      = 0x2d
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IGP                       = 0x55
-       IPPROTO_IGRP                      = 0x58
-       IPPROTO_IL                        = 0x28
-       IPPROTO_INLSP                     = 0x34
-       IPPROTO_INP                       = 0x20
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPCV                      = 0x47
-       IPPROTO_IPEIP                     = 0x5e
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPPC                      = 0x43
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_IRTP                      = 0x1c
-       IPPROTO_KRYPTOLAN                 = 0x41
-       IPPROTO_LARP                      = 0x5b
-       IPPROTO_LEAF1                     = 0x19
-       IPPROTO_LEAF2                     = 0x1a
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x34
-       IPPROTO_MEAS                      = 0x13
-       IPPROTO_MHRP                      = 0x30
-       IPPROTO_MICP                      = 0x5f
-       IPPROTO_MOBILE                    = 0x37
-       IPPROTO_MTP                       = 0x5c
-       IPPROTO_MUX                       = 0x12
-       IPPROTO_ND                        = 0x4d
-       IPPROTO_NHRP                      = 0x36
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_NSP                       = 0x1f
-       IPPROTO_NVPII                     = 0xb
-       IPPROTO_OSPFIGP                   = 0x59
-       IPPROTO_PFSYNC                    = 0xf0
-       IPPROTO_PGM                       = 0x71
-       IPPROTO_PIGP                      = 0x9
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PRM                       = 0x15
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_PVP                       = 0x4b
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_RCCMON                    = 0xa
-       IPPROTO_RDP                       = 0x1b
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_RVD                       = 0x42
-       IPPROTO_SATEXPAK                  = 0x40
-       IPPROTO_SATMON                    = 0x45
-       IPPROTO_SCCSP                     = 0x60
-       IPPROTO_SDRP                      = 0x2a
-       IPPROTO_SEP                       = 0x21
-       IPPROTO_SKIP                      = 0x39
-       IPPROTO_SRPC                      = 0x5a
-       IPPROTO_ST                        = 0x7
-       IPPROTO_SVMTP                     = 0x52
-       IPPROTO_SWIPE                     = 0x35
-       IPPROTO_TCF                       = 0x57
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TLSP                      = 0x38
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_TPXX                      = 0x27
-       IPPROTO_TRUNK1                    = 0x17
-       IPPROTO_TRUNK2                    = 0x18
-       IPPROTO_TTP                       = 0x54
-       IPPROTO_UDP                       = 0x11
-       IPPROTO_UNKNOWN                   = 0x102
-       IPPROTO_VINES                     = 0x53
-       IPPROTO_VISA                      = 0x46
-       IPPROTO_VMTP                      = 0x51
-       IPPROTO_WBEXPAK                   = 0x4f
-       IPPROTO_WBMON                     = 0x4e
-       IPPROTO_WSN                       = 0x4a
-       IPPROTO_XNET                      = 0xf
-       IPPROTO_XTP                       = 0x24
-       IPV6_AUTOFLOWLABEL                = 0x3b
-       IPV6_BINDV6ONLY                   = 0x1b
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_DONTFRAG                     = 0x3e
-       IPV6_DSTOPTS                      = 0x32
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x78
-       IPV6_FW_ADD                       = 0x1e
-       IPV6_FW_DEL                       = 0x1f
-       IPV6_FW_FLUSH                     = 0x20
-       IPV6_FW_GET                       = 0x22
-       IPV6_FW_ZERO                      = 0x21
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_HOPLIMIT                     = 0x2f
-       IPV6_HOPOPTS                      = 0x31
-       IPV6_IPSEC_POLICY                 = 0x1c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MINHLIM                      = 0x28
-       IPV6_MMTU                         = 0x500
-       IPV6_MSFILTER                     = 0x4a
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_NEXTHOP                      = 0x30
-       IPV6_PATHMTU                      = 0x2c
-       IPV6_PKTINFO                      = 0x2e
-       IPV6_PKTOPTIONS                   = 0x34
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_PREFER_TEMPADDR              = 0x3f
-       IPV6_RECVDSTOPTS                  = 0x28
-       IPV6_RECVHOPLIMIT                 = 0x25
-       IPV6_RECVHOPOPTS                  = 0x27
-       IPV6_RECVPATHMTU                  = 0x2b
-       IPV6_RECVPKTINFO                  = 0x24
-       IPV6_RECVRTHDR                    = 0x26
-       IPV6_RECVTCLASS                   = 0x39
-       IPV6_RTHDR                        = 0x33
-       IPV6_RTHDRDSTOPTS                 = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x3d
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_USE_MIN_MTU                  = 0x2a
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_DUMMYNET_CONFIGURE             = 0x3c
-       IP_DUMMYNET_DEL                   = 0x3d
-       IP_DUMMYNET_FLUSH                 = 0x3e
-       IP_DUMMYNET_GET                   = 0x40
-       IP_FAITH                          = 0x16
-       IP_FW_ADD                         = 0x32
-       IP_FW_DEL                         = 0x33
-       IP_FW_FLUSH                       = 0x34
-       IP_FW_GET                         = 0x36
-       IP_FW_RESETLOG                    = 0x37
-       IP_FW_X                           = 0x31
-       IP_FW_ZERO                        = 0x35
-       IP_HDRINCL                        = 0x2
-       IP_IPSEC_POLICY                   = 0x15
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_MEMBERSHIPS                = 0x14
-       IP_MF                             = 0x2000
-       IP_MINTTL                         = 0x42
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_MULTICAST_VIF                  = 0xe
-       IP_OFFMASK                        = 0x1fff
-       IP_OPTIONS                        = 0x1
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVIF                         = 0x14
-       IP_RECVOPTS                       = 0x5
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVTTL                        = 0x41
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_RSVP_OFF                       = 0x10
-       IP_RSVP_ON                        = 0xf
-       IP_RSVP_VIF_OFF                   = 0x12
-       IP_RSVP_VIF_ON                    = 0x11
-       IP_TOS                            = 0x3
-       IP_TTL                            = 0x4
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_AUTOSYNC                     = 0x7
-       MADV_CONTROL_END                  = 0xb
-       MADV_CONTROL_START                = 0xa
-       MADV_CORE                         = 0x9
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x5
-       MADV_INVAL                        = 0xa
-       MADV_NOCORE                       = 0x8
-       MADV_NORMAL                       = 0x0
-       MADV_NOSYNC                       = 0x6
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_SETMAP                       = 0xb
-       MADV_WILLNEED                     = 0x3
-       MAP_ANON                          = 0x1000
-       MAP_ANONYMOUS                     = 0x1000
-       MAP_COPY                          = 0x2
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_INHERIT                       = 0x80
-       MAP_NOCORE                        = 0x20000
-       MAP_NOEXTEND                      = 0x100
-       MAP_NORESERVE                     = 0x40
-       MAP_NOSYNC                        = 0x800
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_SHARED                        = 0x1
-       MAP_SIZEALIGN                     = 0x40000
-       MAP_STACK                         = 0x400
-       MAP_TRYFIXED                      = 0x10000
-       MAP_VPAGETABLE                    = 0x2000
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_CMSG_CLOEXEC                  = 0x1000
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOF                           = 0x100
-       MSG_EOR                           = 0x8
-       MSG_FBLOCKING                     = 0x10000
-       MSG_FMASK                         = 0xffff0000
-       MSG_FNONBLOCKING                  = 0x20000
-       MSG_NOSIGNAL                      = 0x400
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_SYNC                          = 0x800
-       MSG_TRUNC                         = 0x10
-       MSG_UNUSED09                      = 0x200
-       MSG_WAITALL                       = 0x40
-       MS_ASYNC                          = 0x1
-       MS_INVALIDATE                     = 0x2
-       MS_SYNC                           = 0x0
-       NAME_MAX                          = 0xff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x3
-       NET_RT_MAXID                      = 0x4
-       NOFLSH                            = 0x80000000
-       NOKERNINFO                        = 0x2000000
-       NOTE_ATTRIB                       = 0x8
-       NOTE_CHILD                        = 0x4
-       NOTE_DELETE                       = 0x1
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FFAND                        = 0x40000000
-       NOTE_FFCOPY                       = 0xc0000000
-       NOTE_FFCTRLMASK                   = 0xc0000000
-       NOTE_FFLAGSMASK                   = 0xffffff
-       NOTE_FFNOP                        = 0x0
-       NOTE_FFOR                         = 0x80000000
-       NOTE_FORK                         = 0x40000000
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_OOB                          = 0x2
-       NOTE_PCTRLMASK                    = 0xf0000000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_TRIGGER                      = 0x1000000
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       ONLCR                             = 0x2
-       ONLRET                            = 0x40
-       ONOCR                             = 0x20
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       OXTABS                            = 0x4
-       O_ACCMODE                         = 0x3
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x20000
-       O_CREAT                           = 0x200
-       O_DIRECT                          = 0x10000
-       O_DIRECTORY                       = 0x8000000
-       O_EXCL                            = 0x800
-       O_EXLOCK                          = 0x20
-       O_FAPPEND                         = 0x100000
-       O_FASYNCWRITE                     = 0x800000
-       O_FBLOCKING                       = 0x40000
-       O_FMASK                           = 0xfc0000
-       O_FNONBLOCKING                    = 0x80000
-       O_FOFFSET                         = 0x200000
-       O_FSYNC                           = 0x80
-       O_FSYNCWRITE                      = 0x400000
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x8000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_SHLOCK                          = 0x10
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       RLIMIT_AS                         = 0xa
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_MAX                          = 0xb
-       RTAX_MPLS1                        = 0x8
-       RTAX_MPLS2                        = 0x9
-       RTAX_MPLS3                        = 0xa
-       RTAX_NETMASK                      = 0x2
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_MPLS1                         = 0x100
-       RTA_MPLS2                         = 0x200
-       RTA_MPLS3                         = 0x400
-       RTA_NETMASK                       = 0x4
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_BROADCAST                     = 0x400000
-       RTF_CLONING                       = 0x100
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_GATEWAY                       = 0x2
-       RTF_HOST                          = 0x4
-       RTF_LLINFO                        = 0x400
-       RTF_LOCAL                         = 0x200000
-       RTF_MODIFIED                      = 0x20
-       RTF_MPLSOPS                       = 0x1000000
-       RTF_MULTICAST                     = 0x800000
-       RTF_PINNED                        = 0x100000
-       RTF_PRCLONING                     = 0x10000
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_PROTO3                        = 0x40000
-       RTF_REJECT                        = 0x8
-       RTF_STATIC                        = 0x800
-       RTF_UP                            = 0x1
-       RTF_WASCLONED                     = 0x20000
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_DELMADDR                      = 0x10
-       RTM_GET                           = 0x4
-       RTM_IEEE80211                     = 0x12
-       RTM_IFANNOUNCE                    = 0x11
-       RTM_IFINFO                        = 0xe
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_NEWMADDR                      = 0xf
-       RTM_OLDADD                        = 0x9
-       RTM_OLDDEL                        = 0xa
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_VERSION                       = 0x6
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_IWCAPSEGS                     = 0x400
-       RTV_IWMAXSEGS                     = 0x200
-       RTV_MSL                           = 0x100
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       SCM_CREDS                         = 0x3
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x2
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80206931
-       SIOCADDRT                         = 0x8040720a
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCALIFADDR                      = 0x8118691b
-       SIOCATMARK                        = 0x40047307
-       SIOCDELMULTI                      = 0x80206932
-       SIOCDELRT                         = 0x8040720b
-       SIOCDIFADDR                       = 0x80206919
-       SIOCDIFPHYADDR                    = 0x80206949
-       SIOCDLIFADDR                      = 0x8118691d
-       SIOCGDRVSPEC                      = 0xc028697b
-       SIOCGETSGCNT                      = 0xc0207210
-       SIOCGETVIFCNT                     = 0xc028720f
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0206921
-       SIOCGIFBRDADDR                    = 0xc0206923
-       SIOCGIFCAP                        = 0xc020691f
-       SIOCGIFCONF                       = 0xc0106924
-       SIOCGIFDATA                       = 0xc0206926
-       SIOCGIFDSTADDR                    = 0xc0206922
-       SIOCGIFFLAGS                      = 0xc0206911
-       SIOCGIFGENERIC                    = 0xc020693a
-       SIOCGIFGMEMB                      = 0xc028698a
-       SIOCGIFINDEX                      = 0xc0206920
-       SIOCGIFMEDIA                      = 0xc0306938
-       SIOCGIFMETRIC                     = 0xc0206917
-       SIOCGIFMTU                        = 0xc0206933
-       SIOCGIFNETMASK                    = 0xc0206925
-       SIOCGIFPDSTADDR                   = 0xc0206948
-       SIOCGIFPHYS                       = 0xc0206935
-       SIOCGIFPOLLCPU                    = 0xc020697e
-       SIOCGIFPSRCADDR                   = 0xc0206947
-       SIOCGIFSTATUS                     = 0xc331693b
-       SIOCGIFTSOLEN                     = 0xc0206980
-       SIOCGLIFADDR                      = 0xc118691c
-       SIOCGLIFPHYADDR                   = 0xc118694b
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCGPRIVATE_0                    = 0xc0206950
-       SIOCGPRIVATE_1                    = 0xc0206951
-       SIOCIFCREATE                      = 0xc020697a
-       SIOCIFCREATE2                     = 0xc020697c
-       SIOCIFDESTROY                     = 0x80206979
-       SIOCIFGCLONERS                    = 0xc0106978
-       SIOCSDRVSPEC                      = 0x8028697b
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8020690c
-       SIOCSIFBRDADDR                    = 0x80206913
-       SIOCSIFCAP                        = 0x8020691e
-       SIOCSIFDSTADDR                    = 0x8020690e
-       SIOCSIFFLAGS                      = 0x80206910
-       SIOCSIFGENERIC                    = 0x80206939
-       SIOCSIFLLADDR                     = 0x8020693c
-       SIOCSIFMEDIA                      = 0xc0206937
-       SIOCSIFMETRIC                     = 0x80206918
-       SIOCSIFMTU                        = 0x80206934
-       SIOCSIFNAME                       = 0x80206928
-       SIOCSIFNETMASK                    = 0x80206916
-       SIOCSIFPHYADDR                    = 0x80406946
-       SIOCSIFPHYS                       = 0x80206936
-       SIOCSIFPOLLCPU                    = 0x8020697d
-       SIOCSIFTSOLEN                     = 0x8020697f
-       SIOCSLIFPHYADDR                   = 0x8118694a
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SOCK_CLOEXEC                      = 0x10000000
-       SOCK_DGRAM                        = 0x2
-       SOCK_MAXADDRLEN                   = 0xff
-       SOCK_NONBLOCK                     = 0x20000000
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_ACCEPTFILTER                   = 0x1000
-       SO_BROADCAST                      = 0x20
-       SO_CPUHINT                        = 0x1030
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LINGER                         = 0x80
-       SO_NOSIGPIPE                      = 0x800
-       SO_OOBINLINE                      = 0x100
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x1006
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDSPACE                       = 0x100a
-       SO_SNDTIMEO                       = 0x1005
-       SO_TIMESTAMP                      = 0x400
-       SO_TYPE                           = 0x1008
-       SO_USELOOPBACK                    = 0x40
-       TCIFLUSH                          = 0x1
-       TCIOFF                            = 0x3
-       TCIOFLUSH                         = 0x3
-       TCION                             = 0x4
-       TCOFLUSH                          = 0x2
-       TCOOFF                            = 0x1
-       TCOON                             = 0x2
-       TCP_FASTKEEP                      = 0x80
-       TCP_KEEPCNT                       = 0x400
-       TCP_KEEPIDLE                      = 0x100
-       TCP_KEEPINIT                      = 0x20
-       TCP_KEEPINTVL                     = 0x200
-       TCP_MAXBURST                      = 0x4
-       TCP_MAXHLEN                       = 0x3c
-       TCP_MAXOLEN                       = 0x28
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MINMSS                        = 0x100
-       TCP_MIN_WINSHIFT                  = 0x5
-       TCP_MSS                           = 0x200
-       TCP_NODELAY                       = 0x1
-       TCP_NOOPT                         = 0x8
-       TCP_NOPUSH                        = 0x4
-       TCP_SIGNATURE_ENABLE              = 0x10
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDCDTIMESTAMP                  = 0x40107458
-       TIOCDRAIN                         = 0x2000745e
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLUSH                         = 0x80047410
-       TIOCGDRAINWAIT                    = 0x40047456
-       TIOCGETA                          = 0x402c7413
-       TIOCGETD                          = 0x4004741a
-       TIOCGPGRP                         = 0x40047477
-       TIOCGSID                          = 0x40047463
-       TIOCGSIZE                         = 0x40087468
-       TIOCGWINSZ                        = 0x40087468
-       TIOCISPTMASTER                    = 0x20007455
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGDTRWAIT                     = 0x4004745a
-       TIOCMGET                          = 0x4004746a
-       TIOCMODG                          = 0x40047403
-       TIOCMODS                          = 0x80047404
-       TIOCMSDTRWAIT                     = 0x8004745b
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCREMOTE                        = 0x80047469
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDRAINWAIT                    = 0x80047457
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x802c7414
-       TIOCSETAF                         = 0x802c7416
-       TIOCSETAW                         = 0x802c7415
-       TIOCSETD                          = 0x8004741b
-       TIOCSIG                           = 0x2000745f
-       TIOCSPGRP                         = 0x80047476
-       TIOCSSIZE                         = 0x80087467
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x20007465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSWINSZ                        = 0x80087467
-       TIOCTIMESTAMP                     = 0x40107459
-       TIOCUCNTL                         = 0x80047466
-       TOSTOP                            = 0x400000
-       VCHECKPT                          = 0x13
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VERASE2                           = 0x7
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VM_BCACHE_SIZE_MAX                = 0x0
-       VM_SWZONE_SIZE_MAX                = 0x4000000000
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WCONTINUED                        = 0x4
-       WCOREFLAG                         = 0x80
-       WLINUXCLONE                       = 0x80000000
-       WNOHANG                           = 0x1
-       WSTOPPED                          = 0x7f
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EASYNC          = syscall.Errno(0x63)
-       EAUTH           = syscall.Errno(0x50)
-       EBADF           = syscall.Errno(0x9)
-       EBADMSG         = syscall.Errno(0x59)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x55)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDOM            = syscall.Errno(0x21)
-       EDOOFUS         = syscall.Errno(0x58)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x52)
-       EILSEQ          = syscall.Errno(0x56)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x63)
-       ELOOP           = syscall.Errno(0x3e)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       EMULTIHOP       = syscall.Errno(0x5a)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x57)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOLINK         = syscall.Errno(0x5b)
-       ENOMEDIUM       = syscall.Errno(0x5d)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x53)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x2d)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x2d)
-       EOVERFLOW       = syscall.Errno(0x54)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTO          = syscall.Errno(0x5c)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUNUSED94       = syscall.Errno(0x5e)
-       EUNUSED95       = syscall.Errno(0x5f)
-       EUNUSED96       = syscall.Errno(0x60)
-       EUNUSED97       = syscall.Errno(0x61)
-       EUNUSED98       = syscall.Errno(0x62)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT     = syscall.Signal(0x6)
-       SIGALRM     = syscall.Signal(0xe)
-       SIGBUS      = syscall.Signal(0xa)
-       SIGCHLD     = syscall.Signal(0x14)
-       SIGCKPT     = syscall.Signal(0x21)
-       SIGCKPTEXIT = syscall.Signal(0x22)
-       SIGCONT     = syscall.Signal(0x13)
-       SIGEMT      = syscall.Signal(0x7)
-       SIGFPE      = syscall.Signal(0x8)
-       SIGHUP      = syscall.Signal(0x1)
-       SIGILL      = syscall.Signal(0x4)
-       SIGINFO     = syscall.Signal(0x1d)
-       SIGINT      = syscall.Signal(0x2)
-       SIGIO       = syscall.Signal(0x17)
-       SIGIOT      = syscall.Signal(0x6)
-       SIGKILL     = syscall.Signal(0x9)
-       SIGPIPE     = syscall.Signal(0xd)
-       SIGPROF     = syscall.Signal(0x1b)
-       SIGQUIT     = syscall.Signal(0x3)
-       SIGSEGV     = syscall.Signal(0xb)
-       SIGSTOP     = syscall.Signal(0x11)
-       SIGSYS      = syscall.Signal(0xc)
-       SIGTERM     = syscall.Signal(0xf)
-       SIGTHR      = syscall.Signal(0x20)
-       SIGTRAP     = syscall.Signal(0x5)
-       SIGTSTP     = syscall.Signal(0x12)
-       SIGTTIN     = syscall.Signal(0x15)
-       SIGTTOU     = syscall.Signal(0x16)
-       SIGURG      = syscall.Signal(0x10)
-       SIGUSR1     = syscall.Signal(0x1e)
-       SIGUSR2     = syscall.Signal(0x1f)
-       SIGVTALRM   = syscall.Signal(0x1a)
-       SIGWINCH    = syscall.Signal(0x1c)
-       SIGXCPU     = syscall.Signal(0x18)
-       SIGXFSZ     = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:  "operation not permitted",
-       2:  "no such file or directory",
-       3:  "no such process",
-       4:  "interrupted system call",
-       5:  "input/output error",
-       6:  "device not configured",
-       7:  "argument list too long",
-       8:  "exec format error",
-       9:  "bad file descriptor",
-       10: "no child processes",
-       11: "resource deadlock avoided",
-       12: "cannot allocate memory",
-       13: "permission denied",
-       14: "bad address",
-       15: "block device required",
-       16: "device busy",
-       17: "file exists",
-       18: "cross-device link",
-       19: "operation not supported by device",
-       20: "not a directory",
-       21: "is a directory",
-       22: "invalid argument",
-       23: "too many open files in system",
-       24: "too many open files",
-       25: "inappropriate ioctl for device",
-       26: "text file busy",
-       27: "file too large",
-       28: "no space left on device",
-       29: "illegal seek",
-       30: "read-only file system",
-       31: "too many links",
-       32: "broken pipe",
-       33: "numerical argument out of domain",
-       34: "result too large",
-       35: "resource temporarily unavailable",
-       36: "operation now in progress",
-       37: "operation already in progress",
-       38: "socket operation on non-socket",
-       39: "destination address required",
-       40: "message too long",
-       41: "protocol wrong type for socket",
-       42: "protocol not available",
-       43: "protocol not supported",
-       44: "socket type not supported",
-       45: "operation not supported",
-       46: "protocol family not supported",
-       47: "address family not supported by protocol family",
-       48: "address already in use",
-       49: "can't assign requested address",
-       50: "network is down",
-       51: "network is unreachable",
-       52: "network dropped connection on reset",
-       53: "software caused connection abort",
-       54: "connection reset by peer",
-       55: "no buffer space available",
-       56: "socket is already connected",
-       57: "socket is not connected",
-       58: "can't send after socket shutdown",
-       59: "too many references: can't splice",
-       60: "operation timed out",
-       61: "connection refused",
-       62: "too many levels of symbolic links",
-       63: "file name too long",
-       64: "host is down",
-       65: "no route to host",
-       66: "directory not empty",
-       67: "too many processes",
-       68: "too many users",
-       69: "disc quota exceeded",
-       70: "stale NFS file handle",
-       71: "too many levels of remote in path",
-       72: "RPC struct is bad",
-       73: "RPC version wrong",
-       74: "RPC prog. not avail",
-       75: "program version wrong",
-       76: "bad procedure for program",
-       77: "no locks available",
-       78: "function not implemented",
-       79: "inappropriate file type or format",
-       80: "authentication error",
-       81: "need authenticator",
-       82: "identifier removed",
-       83: "no message of desired type",
-       84: "value too large to be stored in data type",
-       85: "operation canceled",
-       86: "illegal byte sequence",
-       87: "attribute not found",
-       88: "programming error",
-       89: "bad message",
-       90: "multihop attempted",
-       91: "link has been severed",
-       92: "protocol error",
-       93: "no medium found",
-       94: "unknown error: 94",
-       95: "unknown error: 95",
-       96: "unknown error: 96",
-       97: "unknown error: 97",
-       98: "unknown error: 98",
-       99: "unknown error: 99",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "suspended (signal)",
-       18: "suspended",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-       32: "thread Scheduler",
-       33: "checkPoint",
-       34: "checkPointExit",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go
deleted file mode 100644 (file)
index 7b95751..0000000
+++ /dev/null
@@ -1,1743 +0,0 @@
-// mkerrors.sh -m32
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build 386,freebsd
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m32 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_ARP                            = 0x23
-       AF_ATM                            = 0x1e
-       AF_BLUETOOTH                      = 0x24
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1a
-       AF_ECMA                           = 0x8
-       AF_HYLINK                         = 0xf
-       AF_IEEE80211                      = 0x25
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x1c
-       AF_INET6_SDP                      = 0x2a
-       AF_INET_SDP                       = 0x28
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1a
-       AF_ISO                            = 0x7
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x2a
-       AF_NATM                           = 0x1d
-       AF_NETBIOS                        = 0x6
-       AF_NETGRAPH                       = 0x20
-       AF_OSI                            = 0x7
-       AF_PUP                            = 0x4
-       AF_ROUTE                          = 0x11
-       AF_SCLUSTER                       = 0x22
-       AF_SIP                            = 0x18
-       AF_SLOW                           = 0x21
-       AF_SNA                            = 0xb
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       AF_VENDOR00                       = 0x27
-       AF_VENDOR01                       = 0x29
-       AF_VENDOR02                       = 0x2b
-       AF_VENDOR03                       = 0x2d
-       AF_VENDOR04                       = 0x2f
-       AF_VENDOR05                       = 0x31
-       AF_VENDOR06                       = 0x33
-       AF_VENDOR07                       = 0x35
-       AF_VENDOR08                       = 0x37
-       AF_VENDOR09                       = 0x39
-       AF_VENDOR10                       = 0x3b
-       AF_VENDOR11                       = 0x3d
-       AF_VENDOR12                       = 0x3f
-       AF_VENDOR13                       = 0x41
-       AF_VENDOR14                       = 0x43
-       AF_VENDOR15                       = 0x45
-       AF_VENDOR16                       = 0x47
-       AF_VENDOR17                       = 0x49
-       AF_VENDOR18                       = 0x4b
-       AF_VENDOR19                       = 0x4d
-       AF_VENDOR20                       = 0x4f
-       AF_VENDOR21                       = 0x51
-       AF_VENDOR22                       = 0x53
-       AF_VENDOR23                       = 0x55
-       AF_VENDOR24                       = 0x57
-       AF_VENDOR25                       = 0x59
-       AF_VENDOR26                       = 0x5b
-       AF_VENDOR27                       = 0x5d
-       AF_VENDOR28                       = 0x5f
-       AF_VENDOR29                       = 0x61
-       AF_VENDOR30                       = 0x63
-       AF_VENDOR31                       = 0x65
-       AF_VENDOR32                       = 0x67
-       AF_VENDOR33                       = 0x69
-       AF_VENDOR34                       = 0x6b
-       AF_VENDOR35                       = 0x6d
-       AF_VENDOR36                       = 0x6f
-       AF_VENDOR37                       = 0x71
-       AF_VENDOR38                       = 0x73
-       AF_VENDOR39                       = 0x75
-       AF_VENDOR40                       = 0x77
-       AF_VENDOR41                       = 0x79
-       AF_VENDOR42                       = 0x7b
-       AF_VENDOR43                       = 0x7d
-       AF_VENDOR44                       = 0x7f
-       AF_VENDOR45                       = 0x81
-       AF_VENDOR46                       = 0x83
-       AF_VENDOR47                       = 0x85
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B460800                           = 0x70800
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B921600                           = 0xe1000
-       B9600                             = 0x2580
-       BIOCFEEDBACK                      = 0x8004427c
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDIRECTION                    = 0x40044276
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc0084279
-       BIOCGETBUFMODE                    = 0x4004427d
-       BIOCGETIF                         = 0x4020426b
-       BIOCGETZMAX                       = 0x4004427f
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRSIG                         = 0x40044272
-       BIOCGRTIMEOUT                     = 0x4008426e
-       BIOCGSEESENT                      = 0x40044276
-       BIOCGSTATS                        = 0x4008426f
-       BIOCGTSTAMP                       = 0x40044283
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCLOCK                          = 0x2000427a
-       BIOCPROMISC                       = 0x20004269
-       BIOCROTZBUF                       = 0x400c4280
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDIRECTION                    = 0x80044277
-       BIOCSDLT                          = 0x80044278
-       BIOCSETBUFMODE                    = 0x8004427e
-       BIOCSETF                          = 0x80084267
-       BIOCSETFNR                        = 0x80084282
-       BIOCSETIF                         = 0x8020426c
-       BIOCSETWF                         = 0x8008427b
-       BIOCSETZBUF                       = 0x800c4281
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRSIG                         = 0x80044273
-       BIOCSRTIMEOUT                     = 0x8008426d
-       BIOCSSEESENT                      = 0x80044277
-       BIOCSTSTAMP                       = 0x80044284
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x4
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_BUFMODE_BUFFER                = 0x1
-       BPF_BUFMODE_ZBUF                  = 0x2
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x80000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_T_BINTIME                     = 0x2
-       BPF_T_BINTIME_FAST                = 0x102
-       BPF_T_BINTIME_MONOTONIC           = 0x202
-       BPF_T_BINTIME_MONOTONIC_FAST      = 0x302
-       BPF_T_FAST                        = 0x100
-       BPF_T_FLAG_MASK                   = 0x300
-       BPF_T_FORMAT_MASK                 = 0x3
-       BPF_T_MICROTIME                   = 0x0
-       BPF_T_MICROTIME_FAST              = 0x100
-       BPF_T_MICROTIME_MONOTONIC         = 0x200
-       BPF_T_MICROTIME_MONOTONIC_FAST    = 0x300
-       BPF_T_MONOTONIC                   = 0x200
-       BPF_T_MONOTONIC_FAST              = 0x300
-       BPF_T_NANOTIME                    = 0x1
-       BPF_T_NANOTIME_FAST               = 0x101
-       BPF_T_NANOTIME_MONOTONIC          = 0x201
-       BPF_T_NANOTIME_MONOTONIC_FAST     = 0x301
-       BPF_T_NONE                        = 0x3
-       BPF_T_NORMAL                      = 0x0
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CLOCK_MONOTONIC                   = 0x4
-       CLOCK_MONOTONIC_FAST              = 0xc
-       CLOCK_MONOTONIC_PRECISE           = 0xb
-       CLOCK_PROCESS_CPUTIME_ID          = 0xf
-       CLOCK_PROF                        = 0x2
-       CLOCK_REALTIME                    = 0x0
-       CLOCK_REALTIME_FAST               = 0xa
-       CLOCK_REALTIME_PRECISE            = 0x9
-       CLOCK_SECOND                      = 0xd
-       CLOCK_THREAD_CPUTIME_ID           = 0xe
-       CLOCK_UPTIME                      = 0x5
-       CLOCK_UPTIME_FAST                 = 0x8
-       CLOCK_UPTIME_PRECISE              = 0x7
-       CLOCK_VIRTUAL                     = 0x1
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0x14
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0x18
-       CTL_NET                           = 0x4
-       DLT_A429                          = 0xb8
-       DLT_A653_ICM                      = 0xb9
-       DLT_AIRONET_HEADER                = 0x78
-       DLT_AOS                           = 0xde
-       DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
-       DLT_ARCNET                        = 0x7
-       DLT_ARCNET_LINUX                  = 0x81
-       DLT_ATM_CLIP                      = 0x13
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AURORA                        = 0x7e
-       DLT_AX25                          = 0x3
-       DLT_AX25_KISS                     = 0xca
-       DLT_BACNET_MS_TP                  = 0xa5
-       DLT_BLUETOOTH_HCI_H4              = 0xbb
-       DLT_BLUETOOTH_HCI_H4_WITH_PHDR    = 0xc9
-       DLT_CAN20B                        = 0xbe
-       DLT_CAN_SOCKETCAN                 = 0xe3
-       DLT_CHAOS                         = 0x5
-       DLT_CHDLC                         = 0x68
-       DLT_CISCO_IOS                     = 0x76
-       DLT_C_HDLC                        = 0x68
-       DLT_C_HDLC_WITH_DIR               = 0xcd
-       DLT_DBUS                          = 0xe7
-       DLT_DECT                          = 0xdd
-       DLT_DOCSIS                        = 0x8f
-       DLT_DVB_CI                        = 0xeb
-       DLT_ECONET                        = 0x73
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0x6d
-       DLT_ERF                           = 0xc5
-       DLT_ERF_ETH                       = 0xaf
-       DLT_ERF_POS                       = 0xb0
-       DLT_FC_2                          = 0xe0
-       DLT_FC_2_WITH_FRAME_DELIMS        = 0xe1
-       DLT_FDDI                          = 0xa
-       DLT_FLEXRAY                       = 0xd2
-       DLT_FRELAY                        = 0x6b
-       DLT_FRELAY_WITH_DIR               = 0xce
-       DLT_GCOM_SERIAL                   = 0xad
-       DLT_GCOM_T1E1                     = 0xac
-       DLT_GPF_F                         = 0xab
-       DLT_GPF_T                         = 0xaa
-       DLT_GPRS_LLC                      = 0xa9
-       DLT_GSMTAP_ABIS                   = 0xda
-       DLT_GSMTAP_UM                     = 0xd9
-       DLT_HHDLC                         = 0x79
-       DLT_IBM_SN                        = 0x92
-       DLT_IBM_SP                        = 0x91
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_IEEE802_11_RADIO_AVS          = 0xa3
-       DLT_IEEE802_15_4                  = 0xc3
-       DLT_IEEE802_15_4_LINUX            = 0xbf
-       DLT_IEEE802_15_4_NOFCS            = 0xe6
-       DLT_IEEE802_15_4_NONASK_PHY       = 0xd7
-       DLT_IEEE802_16_MAC_CPS            = 0xbc
-       DLT_IEEE802_16_MAC_CPS_RADIO      = 0xc1
-       DLT_IPFILTER                      = 0x74
-       DLT_IPMB                          = 0xc7
-       DLT_IPMB_LINUX                    = 0xd1
-       DLT_IPNET                         = 0xe2
-       DLT_IPOIB                         = 0xf2
-       DLT_IPV4                          = 0xe4
-       DLT_IPV6                          = 0xe5
-       DLT_IP_OVER_FC                    = 0x7a
-       DLT_JUNIPER_ATM1                  = 0x89
-       DLT_JUNIPER_ATM2                  = 0x87
-       DLT_JUNIPER_ATM_CEMIC             = 0xee
-       DLT_JUNIPER_CHDLC                 = 0xb5
-       DLT_JUNIPER_ES                    = 0x84
-       DLT_JUNIPER_ETHER                 = 0xb2
-       DLT_JUNIPER_FIBRECHANNEL          = 0xea
-       DLT_JUNIPER_FRELAY                = 0xb4
-       DLT_JUNIPER_GGSN                  = 0x85
-       DLT_JUNIPER_ISM                   = 0xc2
-       DLT_JUNIPER_MFR                   = 0x86
-       DLT_JUNIPER_MLFR                  = 0x83
-       DLT_JUNIPER_MLPPP                 = 0x82
-       DLT_JUNIPER_MONITOR               = 0xa4
-       DLT_JUNIPER_PIC_PEER              = 0xae
-       DLT_JUNIPER_PPP                   = 0xb3
-       DLT_JUNIPER_PPPOE                 = 0xa7
-       DLT_JUNIPER_PPPOE_ATM             = 0xa8
-       DLT_JUNIPER_SERVICES              = 0x88
-       DLT_JUNIPER_SRX_E2E               = 0xe9
-       DLT_JUNIPER_ST                    = 0xc8
-       DLT_JUNIPER_VP                    = 0xb7
-       DLT_JUNIPER_VS                    = 0xe8
-       DLT_LAPB_WITH_DIR                 = 0xcf
-       DLT_LAPD                          = 0xcb
-       DLT_LIN                           = 0xd4
-       DLT_LINUX_EVDEV                   = 0xd8
-       DLT_LINUX_IRDA                    = 0x90
-       DLT_LINUX_LAPD                    = 0xb1
-       DLT_LINUX_PPP_WITHDIRECTION       = 0xa6
-       DLT_LINUX_SLL                     = 0x71
-       DLT_LOOP                          = 0x6c
-       DLT_LTALK                         = 0x72
-       DLT_MATCHING_MAX                  = 0xf6
-       DLT_MATCHING_MIN                  = 0x68
-       DLT_MFR                           = 0xb6
-       DLT_MOST                          = 0xd3
-       DLT_MPEG_2_TS                     = 0xf3
-       DLT_MPLS                          = 0xdb
-       DLT_MTP2                          = 0x8c
-       DLT_MTP2_WITH_PHDR                = 0x8b
-       DLT_MTP3                          = 0x8d
-       DLT_MUX27010                      = 0xec
-       DLT_NETANALYZER                   = 0xf0
-       DLT_NETANALYZER_TRANSPARENT       = 0xf1
-       DLT_NFC_LLCP                      = 0xf5
-       DLT_NFLOG                         = 0xef
-       DLT_NG40                          = 0xf4
-       DLT_NULL                          = 0x0
-       DLT_PCI_EXP                       = 0x7d
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x79
-       DLT_PPI                           = 0xc0
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0x10
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_PPPD                      = 0xa6
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PPP_WITH_DIR                  = 0xcc
-       DLT_PPP_WITH_DIRECTION            = 0xa6
-       DLT_PRISM_HEADER                  = 0x77
-       DLT_PRONET                        = 0x4
-       DLT_RAIF1                         = 0xc6
-       DLT_RAW                           = 0xc
-       DLT_RIO                           = 0x7c
-       DLT_SCCP                          = 0x8e
-       DLT_SITA                          = 0xc4
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xf
-       DLT_STANAG_5066_D_PDU             = 0xed
-       DLT_SUNATM                        = 0x7b
-       DLT_SYMANTEC_FIREWALL             = 0x63
-       DLT_TZSP                          = 0x80
-       DLT_USB                           = 0xba
-       DLT_USB_LINUX                     = 0xbd
-       DLT_USB_LINUX_MMAPPED             = 0xdc
-       DLT_USER0                         = 0x93
-       DLT_USER1                         = 0x94
-       DLT_USER10                        = 0x9d
-       DLT_USER11                        = 0x9e
-       DLT_USER12                        = 0x9f
-       DLT_USER13                        = 0xa0
-       DLT_USER14                        = 0xa1
-       DLT_USER15                        = 0xa2
-       DLT_USER2                         = 0x95
-       DLT_USER3                         = 0x96
-       DLT_USER4                         = 0x97
-       DLT_USER5                         = 0x98
-       DLT_USER6                         = 0x99
-       DLT_USER7                         = 0x9a
-       DLT_USER8                         = 0x9b
-       DLT_USER9                         = 0x9c
-       DLT_WIHART                        = 0xdf
-       DLT_X2E_SERIAL                    = 0xd5
-       DLT_X2E_XORAYA                    = 0xd6
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       DT_WHT                            = 0xe
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EVFILT_AIO                        = -0x3
-       EVFILT_FS                         = -0x9
-       EVFILT_LIO                        = -0xa
-       EVFILT_PROC                       = -0x5
-       EVFILT_READ                       = -0x1
-       EVFILT_SIGNAL                     = -0x6
-       EVFILT_SYSCOUNT                   = 0xb
-       EVFILT_TIMER                      = -0x7
-       EVFILT_USER                       = -0xb
-       EVFILT_VNODE                      = -0x4
-       EVFILT_WRITE                      = -0x2
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_DISPATCH                       = 0x80
-       EV_DROP                           = 0x1000
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_RECEIPT                        = 0x40
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTATTR_NAMESPACE_EMPTY           = 0x0
-       EXTATTR_NAMESPACE_SYSTEM          = 0x2
-       EXTATTR_NAMESPACE_USER            = 0x1
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x400
-       FLUSHO                            = 0x800000
-       F_CANCEL                          = 0x5
-       F_DUP2FD                          = 0xa
-       F_DUP2FD_CLOEXEC                  = 0x12
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0x11
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0xb
-       F_GETOWN                          = 0x5
-       F_OGETLK                          = 0x7
-       F_OK                              = 0x0
-       F_OSETLK                          = 0x8
-       F_OSETLKW                         = 0x9
-       F_RDAHEAD                         = 0x10
-       F_RDLCK                           = 0x1
-       F_READAHEAD                       = 0xf
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0xc
-       F_SETLKW                          = 0xd
-       F_SETLK_REMOTE                    = 0xe
-       F_SETOWN                          = 0x6
-       F_UNLCK                           = 0x2
-       F_UNLCKSYS                        = 0x4
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFAN_ARRIVAL                      = 0x0
-       IFAN_DEPARTURE                    = 0x1
-       IFF_ALLMULTI                      = 0x200
-       IFF_ALTPHYS                       = 0x4000
-       IFF_BROADCAST                     = 0x2
-       IFF_CANTCHANGE                    = 0x218f72
-       IFF_CANTCONFIG                    = 0x10000
-       IFF_DEBUG                         = 0x4
-       IFF_DRV_OACTIVE                   = 0x400
-       IFF_DRV_RUNNING                   = 0x40
-       IFF_DYING                         = 0x200000
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MONITOR                       = 0x40000
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PPROMISC                      = 0x20000
-       IFF_PROMISC                       = 0x100
-       IFF_RENAMING                      = 0x400000
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_SMART                         = 0x20
-       IFF_STATICARP                     = 0x80000
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_A12MPPSWITCH                  = 0x82
-       IFT_AAL2                          = 0xbb
-       IFT_AAL5                          = 0x31
-       IFT_ADSL                          = 0x5e
-       IFT_AFLANE8023                    = 0x3b
-       IFT_AFLANE8025                    = 0x3c
-       IFT_ARAP                          = 0x58
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ASYNC                         = 0x54
-       IFT_ATM                           = 0x25
-       IFT_ATMDXI                        = 0x69
-       IFT_ATMFUNI                       = 0x6a
-       IFT_ATMIMA                        = 0x6b
-       IFT_ATMLOGICAL                    = 0x50
-       IFT_ATMRADIO                      = 0xbd
-       IFT_ATMSUBINTERFACE               = 0x86
-       IFT_ATMVCIENDPT                   = 0xc2
-       IFT_ATMVIRTUAL                    = 0x95
-       IFT_BGPPOLICYACCOUNTING           = 0xa2
-       IFT_BRIDGE                        = 0xd1
-       IFT_BSC                           = 0x53
-       IFT_CARP                          = 0xf8
-       IFT_CCTEMUL                       = 0x3d
-       IFT_CEPT                          = 0x13
-       IFT_CES                           = 0x85
-       IFT_CHANNEL                       = 0x46
-       IFT_CNR                           = 0x55
-       IFT_COFFEE                        = 0x84
-       IFT_COMPOSITELINK                 = 0x9b
-       IFT_DCN                           = 0x8d
-       IFT_DIGITALPOWERLINE              = 0x8a
-       IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
-       IFT_DLSW                          = 0x4a
-       IFT_DOCSCABLEDOWNSTREAM           = 0x80
-       IFT_DOCSCABLEMACLAYER             = 0x7f
-       IFT_DOCSCABLEUPSTREAM             = 0x81
-       IFT_DS0                           = 0x51
-       IFT_DS0BUNDLE                     = 0x52
-       IFT_DS1FDL                        = 0xaa
-       IFT_DS3                           = 0x1e
-       IFT_DTM                           = 0x8c
-       IFT_DVBASILN                      = 0xac
-       IFT_DVBASIOUT                     = 0xad
-       IFT_DVBRCCDOWNSTREAM              = 0x93
-       IFT_DVBRCCMACLAYER                = 0x92
-       IFT_DVBRCCUPSTREAM                = 0x94
-       IFT_ENC                           = 0xf4
-       IFT_EON                           = 0x19
-       IFT_EPLRS                         = 0x57
-       IFT_ESCON                         = 0x49
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0xf2
-       IFT_FAST                          = 0x7d
-       IFT_FASTETHER                     = 0x3e
-       IFT_FASTETHERFX                   = 0x45
-       IFT_FDDI                          = 0xf
-       IFT_FIBRECHANNEL                  = 0x38
-       IFT_FRAMERELAYINTERCONNECT        = 0x3a
-       IFT_FRAMERELAYMPI                 = 0x5c
-       IFT_FRDLCIENDPT                   = 0xc1
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_FRF16MFRBUNDLE                = 0xa3
-       IFT_FRFORWARD                     = 0x9e
-       IFT_G703AT2MB                     = 0x43
-       IFT_G703AT64K                     = 0x42
-       IFT_GIF                           = 0xf0
-       IFT_GIGABITETHERNET               = 0x75
-       IFT_GR303IDT                      = 0xb2
-       IFT_GR303RDT                      = 0xb1
-       IFT_H323GATEKEEPER                = 0xa4
-       IFT_H323PROXY                     = 0xa5
-       IFT_HDH1822                       = 0x3
-       IFT_HDLC                          = 0x76
-       IFT_HDSL2                         = 0xa8
-       IFT_HIPERLAN2                     = 0xb7
-       IFT_HIPPI                         = 0x2f
-       IFT_HIPPIINTERFACE                = 0x39
-       IFT_HOSTPAD                       = 0x5a
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IBM370PARCHAN                 = 0x48
-       IFT_IDSL                          = 0x9a
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE80211                     = 0x47
-       IFT_IEEE80212                     = 0x37
-       IFT_IEEE8023ADLAG                 = 0xa1
-       IFT_IFGSN                         = 0x91
-       IFT_IMT                           = 0xbe
-       IFT_INFINIBAND                    = 0xc7
-       IFT_INTERLEAVE                    = 0x7c
-       IFT_IP                            = 0x7e
-       IFT_IPFORWARD                     = 0x8e
-       IFT_IPOVERATM                     = 0x72
-       IFT_IPOVERCDLC                    = 0x6d
-       IFT_IPOVERCLAW                    = 0x6e
-       IFT_IPSWITCH                      = 0x4e
-       IFT_IPXIP                         = 0xf9
-       IFT_ISDN                          = 0x3f
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISDNS                         = 0x4b
-       IFT_ISDNU                         = 0x4c
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88025CRFPINT               = 0x62
-       IFT_ISO88025DTR                   = 0x56
-       IFT_ISO88025FIBER                 = 0x73
-       IFT_ISO88026                      = 0xa
-       IFT_ISUP                          = 0xb3
-       IFT_L2VLAN                        = 0x87
-       IFT_L3IPVLAN                      = 0x88
-       IFT_L3IPXVLAN                     = 0x89
-       IFT_LAPB                          = 0x10
-       IFT_LAPD                          = 0x4d
-       IFT_LAPF                          = 0x77
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MEDIAMAILOVERIP               = 0x8b
-       IFT_MFSIGLINK                     = 0xa7
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_MPC                           = 0x71
-       IFT_MPLS                          = 0xa6
-       IFT_MPLSTUNNEL                    = 0x96
-       IFT_MSDSL                         = 0x8f
-       IFT_MVL                           = 0xbf
-       IFT_MYRINET                       = 0x63
-       IFT_NFAS                          = 0xaf
-       IFT_NSIP                          = 0x1b
-       IFT_OPTICALCHANNEL                = 0xc3
-       IFT_OPTICALTRANSPORT              = 0xc4
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PFLOG                         = 0xf6
-       IFT_PFSYNC                        = 0xf7
-       IFT_PLC                           = 0xae
-       IFT_POS                           = 0xab
-       IFT_PPP                           = 0x17
-       IFT_PPPMULTILINKBUNDLE            = 0x6c
-       IFT_PROPBWAP2MP                   = 0xb8
-       IFT_PROPCNLS                      = 0x59
-       IFT_PROPDOCSWIRELESSDOWNSTREAM    = 0xb5
-       IFT_PROPDOCSWIRELESSMACLAYER      = 0xb4
-       IFT_PROPDOCSWIRELESSUPSTREAM      = 0xb6
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PROPWIRELESSP2P               = 0x9d
-       IFT_PTPSERIAL                     = 0x16
-       IFT_PVC                           = 0xf1
-       IFT_QLLC                          = 0x44
-       IFT_RADIOMAC                      = 0xbc
-       IFT_RADSL                         = 0x5f
-       IFT_REACHDSL                      = 0xc0
-       IFT_RFC1483                       = 0x9f
-       IFT_RS232                         = 0x21
-       IFT_RSRB                          = 0x4f
-       IFT_SDLC                          = 0x11
-       IFT_SDSL                          = 0x60
-       IFT_SHDSL                         = 0xa9
-       IFT_SIP                           = 0x1f
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETOVERHEADCHANNEL          = 0xb9
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_SRP                           = 0x97
-       IFT_SS7SIGLINK                    = 0x9c
-       IFT_STACKTOSTACK                  = 0x6f
-       IFT_STARLAN                       = 0xb
-       IFT_STF                           = 0xd7
-       IFT_T1                            = 0x12
-       IFT_TDLC                          = 0x74
-       IFT_TERMPAD                       = 0x5b
-       IFT_TR008                         = 0xb0
-       IFT_TRANSPHDLC                    = 0x7b
-       IFT_TUNNEL                        = 0x83
-       IFT_ULTRA                         = 0x1d
-       IFT_USB                           = 0xa0
-       IFT_V11                           = 0x40
-       IFT_V35                           = 0x2d
-       IFT_V36                           = 0x41
-       IFT_V37                           = 0x78
-       IFT_VDSL                          = 0x61
-       IFT_VIRTUALIPADDRESS              = 0x70
-       IFT_VOICEEM                       = 0x64
-       IFT_VOICEENCAP                    = 0x67
-       IFT_VOICEFXO                      = 0x65
-       IFT_VOICEFXS                      = 0x66
-       IFT_VOICEOVERATM                  = 0x98
-       IFT_VOICEOVERFRAMERELAY           = 0x99
-       IFT_VOICEOVERIP                   = 0x68
-       IFT_X213                          = 0x5d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25HUNTGROUP                  = 0x7a
-       IFT_X25MLP                        = 0x79
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LOOPBACKNET                    = 0x7f
-       IN_RFC3021_MASK                   = 0xfffffffe
-       IPPROTO_3PC                       = 0x22
-       IPPROTO_ADFS                      = 0x44
-       IPPROTO_AH                        = 0x33
-       IPPROTO_AHIP                      = 0x3d
-       IPPROTO_APES                      = 0x63
-       IPPROTO_ARGUS                     = 0xd
-       IPPROTO_AX25                      = 0x5d
-       IPPROTO_BHA                       = 0x31
-       IPPROTO_BLT                       = 0x1e
-       IPPROTO_BRSATMON                  = 0x4c
-       IPPROTO_CARP                      = 0x70
-       IPPROTO_CFTP                      = 0x3e
-       IPPROTO_CHAOS                     = 0x10
-       IPPROTO_CMTP                      = 0x26
-       IPPROTO_CPHB                      = 0x49
-       IPPROTO_CPNX                      = 0x48
-       IPPROTO_DDP                       = 0x25
-       IPPROTO_DGP                       = 0x56
-       IPPROTO_DIVERT                    = 0x102
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_EMCON                     = 0xe
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GMTP                      = 0x64
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HELLO                     = 0x3f
-       IPPROTO_HIP                       = 0x8b
-       IPPROTO_HMP                       = 0x14
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IDPR                      = 0x23
-       IPPROTO_IDRP                      = 0x2d
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IGP                       = 0x55
-       IPPROTO_IGRP                      = 0x58
-       IPPROTO_IL                        = 0x28
-       IPPROTO_INLSP                     = 0x34
-       IPPROTO_INP                       = 0x20
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPCV                      = 0x47
-       IPPROTO_IPEIP                     = 0x5e
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPPC                      = 0x43
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_IRTP                      = 0x1c
-       IPPROTO_KRYPTOLAN                 = 0x41
-       IPPROTO_LARP                      = 0x5b
-       IPPROTO_LEAF1                     = 0x19
-       IPPROTO_LEAF2                     = 0x1a
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x34
-       IPPROTO_MEAS                      = 0x13
-       IPPROTO_MH                        = 0x87
-       IPPROTO_MHRP                      = 0x30
-       IPPROTO_MICP                      = 0x5f
-       IPPROTO_MOBILE                    = 0x37
-       IPPROTO_MPLS                      = 0x89
-       IPPROTO_MTP                       = 0x5c
-       IPPROTO_MUX                       = 0x12
-       IPPROTO_ND                        = 0x4d
-       IPPROTO_NHRP                      = 0x36
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_NSP                       = 0x1f
-       IPPROTO_NVPII                     = 0xb
-       IPPROTO_OLD_DIVERT                = 0xfe
-       IPPROTO_OSPFIGP                   = 0x59
-       IPPROTO_PFSYNC                    = 0xf0
-       IPPROTO_PGM                       = 0x71
-       IPPROTO_PIGP                      = 0x9
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PRM                       = 0x15
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_PVP                       = 0x4b
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_RCCMON                    = 0xa
-       IPPROTO_RDP                       = 0x1b
-       IPPROTO_RESERVED_253              = 0xfd
-       IPPROTO_RESERVED_254              = 0xfe
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_RVD                       = 0x42
-       IPPROTO_SATEXPAK                  = 0x40
-       IPPROTO_SATMON                    = 0x45
-       IPPROTO_SCCSP                     = 0x60
-       IPPROTO_SCTP                      = 0x84
-       IPPROTO_SDRP                      = 0x2a
-       IPPROTO_SEND                      = 0x103
-       IPPROTO_SEP                       = 0x21
-       IPPROTO_SHIM6                     = 0x8c
-       IPPROTO_SKIP                      = 0x39
-       IPPROTO_SPACER                    = 0x7fff
-       IPPROTO_SRPC                      = 0x5a
-       IPPROTO_ST                        = 0x7
-       IPPROTO_SVMTP                     = 0x52
-       IPPROTO_SWIPE                     = 0x35
-       IPPROTO_TCF                       = 0x57
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TLSP                      = 0x38
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_TPXX                      = 0x27
-       IPPROTO_TRUNK1                    = 0x17
-       IPPROTO_TRUNK2                    = 0x18
-       IPPROTO_TTP                       = 0x54
-       IPPROTO_UDP                       = 0x11
-       IPPROTO_UDPLITE                   = 0x88
-       IPPROTO_VINES                     = 0x53
-       IPPROTO_VISA                      = 0x46
-       IPPROTO_VMTP                      = 0x51
-       IPPROTO_WBEXPAK                   = 0x4f
-       IPPROTO_WBMON                     = 0x4e
-       IPPROTO_WSN                       = 0x4a
-       IPPROTO_XNET                      = 0xf
-       IPPROTO_XTP                       = 0x24
-       IPV6_AUTOFLOWLABEL                = 0x3b
-       IPV6_BINDANY                      = 0x40
-       IPV6_BINDV6ONLY                   = 0x1b
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_DONTFRAG                     = 0x3e
-       IPV6_DSTOPTS                      = 0x32
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x78
-       IPV6_FW_ADD                       = 0x1e
-       IPV6_FW_DEL                       = 0x1f
-       IPV6_FW_FLUSH                     = 0x20
-       IPV6_FW_GET                       = 0x22
-       IPV6_FW_ZERO                      = 0x21
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_HOPLIMIT                     = 0x2f
-       IPV6_HOPOPTS                      = 0x31
-       IPV6_IPSEC_POLICY                 = 0x1c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXOPTHDR                    = 0x800
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MAX_GROUP_SRC_FILTER         = 0x200
-       IPV6_MAX_MEMBERSHIPS              = 0xfff
-       IPV6_MAX_SOCK_SRC_FILTER          = 0x80
-       IPV6_MIN_MEMBERSHIPS              = 0x1f
-       IPV6_MMTU                         = 0x500
-       IPV6_MSFILTER                     = 0x4a
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_NEXTHOP                      = 0x30
-       IPV6_PATHMTU                      = 0x2c
-       IPV6_PKTINFO                      = 0x2e
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_PREFER_TEMPADDR              = 0x3f
-       IPV6_RECVDSTOPTS                  = 0x28
-       IPV6_RECVHOPLIMIT                 = 0x25
-       IPV6_RECVHOPOPTS                  = 0x27
-       IPV6_RECVPATHMTU                  = 0x2b
-       IPV6_RECVPKTINFO                  = 0x24
-       IPV6_RECVRTHDR                    = 0x26
-       IPV6_RECVTCLASS                   = 0x39
-       IPV6_RTHDR                        = 0x33
-       IPV6_RTHDRDSTOPTS                 = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x3d
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_USE_MIN_MTU                  = 0x2a
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_ADD_SOURCE_MEMBERSHIP          = 0x46
-       IP_BINDANY                        = 0x18
-       IP_BLOCK_SOURCE                   = 0x48
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DONTFRAG                       = 0x43
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_DROP_SOURCE_MEMBERSHIP         = 0x47
-       IP_DUMMYNET3                      = 0x31
-       IP_DUMMYNET_CONFIGURE             = 0x3c
-       IP_DUMMYNET_DEL                   = 0x3d
-       IP_DUMMYNET_FLUSH                 = 0x3e
-       IP_DUMMYNET_GET                   = 0x40
-       IP_FAITH                          = 0x16
-       IP_FW3                            = 0x30
-       IP_FW_ADD                         = 0x32
-       IP_FW_DEL                         = 0x33
-       IP_FW_FLUSH                       = 0x34
-       IP_FW_GET                         = 0x36
-       IP_FW_NAT_CFG                     = 0x38
-       IP_FW_NAT_DEL                     = 0x39
-       IP_FW_NAT_GET_CONFIG              = 0x3a
-       IP_FW_NAT_GET_LOG                 = 0x3b
-       IP_FW_RESETLOG                    = 0x37
-       IP_FW_TABLE_ADD                   = 0x28
-       IP_FW_TABLE_DEL                   = 0x29
-       IP_FW_TABLE_FLUSH                 = 0x2a
-       IP_FW_TABLE_GETSIZE               = 0x2b
-       IP_FW_TABLE_LIST                  = 0x2c
-       IP_FW_ZERO                        = 0x35
-       IP_HDRINCL                        = 0x2
-       IP_IPSEC_POLICY                   = 0x15
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_GROUP_SRC_FILTER           = 0x200
-       IP_MAX_MEMBERSHIPS                = 0xfff
-       IP_MAX_SOCK_MUTE_FILTER           = 0x80
-       IP_MAX_SOCK_SRC_FILTER            = 0x80
-       IP_MAX_SOURCE_FILTER              = 0x400
-       IP_MF                             = 0x2000
-       IP_MINTTL                         = 0x42
-       IP_MIN_MEMBERSHIPS                = 0x1f
-       IP_MSFILTER                       = 0x4a
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_MULTICAST_VIF                  = 0xe
-       IP_OFFMASK                        = 0x1fff
-       IP_ONESBCAST                      = 0x17
-       IP_OPTIONS                        = 0x1
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVIF                         = 0x14
-       IP_RECVOPTS                       = 0x5
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVTOS                        = 0x44
-       IP_RECVTTL                        = 0x41
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_RSVP_OFF                       = 0x10
-       IP_RSVP_ON                        = 0xf
-       IP_RSVP_VIF_OFF                   = 0x12
-       IP_RSVP_VIF_ON                    = 0x11
-       IP_SENDSRCADDR                    = 0x7
-       IP_TOS                            = 0x3
-       IP_TTL                            = 0x4
-       IP_UNBLOCK_SOURCE                 = 0x49
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_AUTOSYNC                     = 0x7
-       MADV_CORE                         = 0x9
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x5
-       MADV_NOCORE                       = 0x8
-       MADV_NORMAL                       = 0x0
-       MADV_NOSYNC                       = 0x6
-       MADV_PROTECT                      = 0xa
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_WILLNEED                     = 0x3
-       MAP_ALIGNED_SUPER                 = 0x1000000
-       MAP_ALIGNMENT_MASK                = -0x1000000
-       MAP_ALIGNMENT_SHIFT               = 0x18
-       MAP_ANON                          = 0x1000
-       MAP_ANONYMOUS                     = 0x1000
-       MAP_COPY                          = 0x2
-       MAP_EXCL                          = 0x4000
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_NOCORE                        = 0x20000
-       MAP_NORESERVE                     = 0x40
-       MAP_NOSYNC                        = 0x800
-       MAP_PREFAULT_READ                 = 0x40000
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_RESERVED0080                  = 0x80
-       MAP_RESERVED0100                  = 0x100
-       MAP_SHARED                        = 0x1
-       MAP_STACK                         = 0x400
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_CMSG_CLOEXEC                  = 0x40000
-       MSG_COMPAT                        = 0x8000
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOF                           = 0x100
-       MSG_EOR                           = 0x8
-       MSG_NBIO                          = 0x4000
-       MSG_NOSIGNAL                      = 0x20000
-       MSG_NOTIFICATION                  = 0x2000
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_TRUNC                         = 0x10
-       MSG_WAITALL                       = 0x40
-       MS_ASYNC                          = 0x1
-       MS_INVALIDATE                     = 0x2
-       MS_SYNC                           = 0x0
-       NAME_MAX                          = 0xff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x3
-       NET_RT_IFLISTL                    = 0x5
-       NET_RT_IFMALIST                   = 0x4
-       NET_RT_MAXID                      = 0x6
-       NOFLSH                            = 0x80000000
-       NOTE_ATTRIB                       = 0x8
-       NOTE_CHILD                        = 0x4
-       NOTE_DELETE                       = 0x1
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FFAND                        = 0x40000000
-       NOTE_FFCOPY                       = 0xc0000000
-       NOTE_FFCTRLMASK                   = 0xc0000000
-       NOTE_FFLAGSMASK                   = 0xffffff
-       NOTE_FFNOP                        = 0x0
-       NOTE_FFOR                         = 0x80000000
-       NOTE_FORK                         = 0x40000000
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_PCTRLMASK                    = 0xf0000000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_TRIGGER                      = 0x1000000
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       ONLCR                             = 0x2
-       ONLRET                            = 0x40
-       ONOCR                             = 0x20
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x100000
-       O_CREAT                           = 0x200
-       O_DIRECT                          = 0x10000
-       O_DIRECTORY                       = 0x20000
-       O_EXCL                            = 0x800
-       O_EXEC                            = 0x40000
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x8000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_SHLOCK                          = 0x10
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_TTY_INIT                        = 0x80000
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       RLIMIT_AS                         = 0xa
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_MAX                          = 0x8
-       RTAX_NETMASK                      = 0x2
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_NETMASK                       = 0x4
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_BROADCAST                     = 0x400000
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_FMASK                         = 0x1004d808
-       RTF_GATEWAY                       = 0x2
-       RTF_GWFLAG_COMPAT                 = 0x80000000
-       RTF_HOST                          = 0x4
-       RTF_LLDATA                        = 0x400
-       RTF_LLINFO                        = 0x400
-       RTF_LOCAL                         = 0x200000
-       RTF_MODIFIED                      = 0x20
-       RTF_MULTICAST                     = 0x800000
-       RTF_PINNED                        = 0x100000
-       RTF_PRCLONING                     = 0x10000
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_PROTO3                        = 0x40000
-       RTF_REJECT                        = 0x8
-       RTF_RNH_LOCKED                    = 0x40000000
-       RTF_STATIC                        = 0x800
-       RTF_STICKY                        = 0x10000000
-       RTF_UP                            = 0x1
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_DELMADDR                      = 0x10
-       RTM_GET                           = 0x4
-       RTM_IEEE80211                     = 0x12
-       RTM_IFANNOUNCE                    = 0x11
-       RTM_IFINFO                        = 0xe
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_NEWMADDR                      = 0xf
-       RTM_OLDADD                        = 0x9
-       RTM_OLDDEL                        = 0xa
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_VERSION                       = 0x5
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RTV_WEIGHT                        = 0x100
-       RT_ALL_FIBS                       = -0x1
-       RT_CACHING_CONTEXT                = 0x1
-       RT_DEFAULT_FIB                    = 0x0
-       RT_NORTREF                        = 0x2
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       RUSAGE_THREAD                     = 0x1
-       SCM_BINTIME                       = 0x4
-       SCM_CREDS                         = 0x3
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x2
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80206931
-       SIOCADDRT                         = 0x8030720a
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCAIFGROUP                      = 0x80246987
-       SIOCALIFADDR                      = 0x8118691b
-       SIOCATMARK                        = 0x40047307
-       SIOCDELMULTI                      = 0x80206932
-       SIOCDELRT                         = 0x8030720b
-       SIOCDIFADDR                       = 0x80206919
-       SIOCDIFGROUP                      = 0x80246989
-       SIOCDIFPHYADDR                    = 0x80206949
-       SIOCDLIFADDR                      = 0x8118691d
-       SIOCGDRVSPEC                      = 0xc01c697b
-       SIOCGETSGCNT                      = 0xc0147210
-       SIOCGETVIFCNT                     = 0xc014720f
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0206921
-       SIOCGIFBRDADDR                    = 0xc0206923
-       SIOCGIFCAP                        = 0xc020691f
-       SIOCGIFCONF                       = 0xc0086924
-       SIOCGIFDESCR                      = 0xc020692a
-       SIOCGIFDSTADDR                    = 0xc0206922
-       SIOCGIFFIB                        = 0xc020695c
-       SIOCGIFFLAGS                      = 0xc0206911
-       SIOCGIFGENERIC                    = 0xc020693a
-       SIOCGIFGMEMB                      = 0xc024698a
-       SIOCGIFGROUP                      = 0xc0246988
-       SIOCGIFINDEX                      = 0xc0206920
-       SIOCGIFMAC                        = 0xc0206926
-       SIOCGIFMEDIA                      = 0xc0286938
-       SIOCGIFMETRIC                     = 0xc0206917
-       SIOCGIFMTU                        = 0xc0206933
-       SIOCGIFNETMASK                    = 0xc0206925
-       SIOCGIFPDSTADDR                   = 0xc0206948
-       SIOCGIFPHYS                       = 0xc0206935
-       SIOCGIFPSRCADDR                   = 0xc0206947
-       SIOCGIFSTATUS                     = 0xc331693b
-       SIOCGLIFADDR                      = 0xc118691c
-       SIOCGLIFPHYADDR                   = 0xc118694b
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCGPRIVATE_0                    = 0xc0206950
-       SIOCGPRIVATE_1                    = 0xc0206951
-       SIOCIFCREATE                      = 0xc020697a
-       SIOCIFCREATE2                     = 0xc020697c
-       SIOCIFDESTROY                     = 0x80206979
-       SIOCIFGCLONERS                    = 0xc00c6978
-       SIOCSDRVSPEC                      = 0x801c697b
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8020690c
-       SIOCSIFBRDADDR                    = 0x80206913
-       SIOCSIFCAP                        = 0x8020691e
-       SIOCSIFDESCR                      = 0x80206929
-       SIOCSIFDSTADDR                    = 0x8020690e
-       SIOCSIFFIB                        = 0x8020695d
-       SIOCSIFFLAGS                      = 0x80206910
-       SIOCSIFGENERIC                    = 0x80206939
-       SIOCSIFLLADDR                     = 0x8020693c
-       SIOCSIFMAC                        = 0x80206927
-       SIOCSIFMEDIA                      = 0xc0206937
-       SIOCSIFMETRIC                     = 0x80206918
-       SIOCSIFMTU                        = 0x80206934
-       SIOCSIFNAME                       = 0x80206928
-       SIOCSIFNETMASK                    = 0x80206916
-       SIOCSIFPHYADDR                    = 0x80406946
-       SIOCSIFPHYS                       = 0x80206936
-       SIOCSIFRVNET                      = 0xc020695b
-       SIOCSIFVNET                       = 0xc020695a
-       SIOCSLIFPHYADDR                   = 0x8118694a
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SOCK_CLOEXEC                      = 0x10000000
-       SOCK_DGRAM                        = 0x2
-       SOCK_MAXADDRLEN                   = 0xff
-       SOCK_NONBLOCK                     = 0x20000000
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_ACCEPTFILTER                   = 0x1000
-       SO_BINTIME                        = 0x2000
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LABEL                          = 0x1009
-       SO_LINGER                         = 0x80
-       SO_LISTENINCQLEN                  = 0x1013
-       SO_LISTENQLEN                     = 0x1012
-       SO_LISTENQLIMIT                   = 0x1011
-       SO_NOSIGPIPE                      = 0x800
-       SO_NO_DDP                         = 0x8000
-       SO_NO_OFFLOAD                     = 0x4000
-       SO_OOBINLINE                      = 0x100
-       SO_PEERLABEL                      = 0x1010
-       SO_PROTOCOL                       = 0x1016
-       SO_PROTOTYPE                      = 0x1016
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x1006
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_SETFIB                         = 0x1014
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x1005
-       SO_TIMESTAMP                      = 0x400
-       SO_TYPE                           = 0x1008
-       SO_USELOOPBACK                    = 0x40
-       SO_USER_COOKIE                    = 0x1015
-       SO_VENDOR                         = 0x80000000
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_CA_NAME_MAX                   = 0x10
-       TCP_CONGESTION                    = 0x40
-       TCP_INFO                          = 0x20
-       TCP_KEEPCNT                       = 0x400
-       TCP_KEEPIDLE                      = 0x100
-       TCP_KEEPINIT                      = 0x80
-       TCP_KEEPINTVL                     = 0x200
-       TCP_MAXBURST                      = 0x4
-       TCP_MAXHLEN                       = 0x3c
-       TCP_MAXOLEN                       = 0x28
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_SACK                      = 0x4
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MD5SIG                        = 0x10
-       TCP_MINMSS                        = 0xd8
-       TCP_MSS                           = 0x218
-       TCP_NODELAY                       = 0x1
-       TCP_NOOPT                         = 0x8
-       TCP_NOPUSH                        = 0x4
-       TCP_VENDOR                        = 0x80000000
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDRAIN                         = 0x2000745e
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLUSH                         = 0x80047410
-       TIOCGDRAINWAIT                    = 0x40047456
-       TIOCGETA                          = 0x402c7413
-       TIOCGETD                          = 0x4004741a
-       TIOCGPGRP                         = 0x40047477
-       TIOCGPTN                          = 0x4004740f
-       TIOCGSID                          = 0x40047463
-       TIOCGWINSZ                        = 0x40087468
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGDTRWAIT                     = 0x4004745a
-       TIOCMGET                          = 0x4004746a
-       TIOCMSDTRWAIT                     = 0x8004745b
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DCD                         = 0x40
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCPTMASTER                      = 0x2000741c
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDRAINWAIT                    = 0x80047457
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x802c7414
-       TIOCSETAF                         = 0x802c7416
-       TIOCSETAW                         = 0x802c7415
-       TIOCSETD                          = 0x8004741b
-       TIOCSIG                           = 0x2004745f
-       TIOCSPGRP                         = 0x80047476
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x20007465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSWINSZ                        = 0x80087467
-       TIOCTIMESTAMP                     = 0x40087459
-       TIOCUCNTL                         = 0x80047466
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VERASE2                           = 0x7
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WCONTINUED                        = 0x4
-       WCOREFLAG                         = 0x80
-       WEXITED                           = 0x10
-       WLINUXCLONE                       = 0x80000000
-       WNOHANG                           = 0x1
-       WNOWAIT                           = 0x8
-       WSTOPPED                          = 0x2
-       WTRAPPED                          = 0x20
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADF           = syscall.Errno(0x9)
-       EBADMSG         = syscall.Errno(0x59)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x55)
-       ECAPMODE        = syscall.Errno(0x5e)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDOM            = syscall.Errno(0x21)
-       EDOOFUS         = syscall.Errno(0x58)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x52)
-       EILSEQ          = syscall.Errno(0x56)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x60)
-       ELOOP           = syscall.Errno(0x3e)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       EMULTIHOP       = syscall.Errno(0x5a)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x57)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOLINK         = syscall.Errno(0x5b)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x53)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCAPABLE     = syscall.Errno(0x5d)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTRECOVERABLE = syscall.Errno(0x5f)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x2d)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x2d)
-       EOVERFLOW       = syscall.Errno(0x54)
-       EOWNERDEAD      = syscall.Errno(0x60)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTO          = syscall.Errno(0x5c)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGLIBRT  = syscall.Signal(0x21)
-       SIGLWP    = syscall.Signal(0x20)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTHR    = syscall.Signal(0x20)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:  "operation not permitted",
-       2:  "no such file or directory",
-       3:  "no such process",
-       4:  "interrupted system call",
-       5:  "input/output error",
-       6:  "device not configured",
-       7:  "argument list too long",
-       8:  "exec format error",
-       9:  "bad file descriptor",
-       10: "no child processes",
-       11: "resource deadlock avoided",
-       12: "cannot allocate memory",
-       13: "permission denied",
-       14: "bad address",
-       15: "block device required",
-       16: "device busy",
-       17: "file exists",
-       18: "cross-device link",
-       19: "operation not supported by device",
-       20: "not a directory",
-       21: "is a directory",
-       22: "invalid argument",
-       23: "too many open files in system",
-       24: "too many open files",
-       25: "inappropriate ioctl for device",
-       26: "text file busy",
-       27: "file too large",
-       28: "no space left on device",
-       29: "illegal seek",
-       30: "read-only file system",
-       31: "too many links",
-       32: "broken pipe",
-       33: "numerical argument out of domain",
-       34: "result too large",
-       35: "resource temporarily unavailable",
-       36: "operation now in progress",
-       37: "operation already in progress",
-       38: "socket operation on non-socket",
-       39: "destination address required",
-       40: "message too long",
-       41: "protocol wrong type for socket",
-       42: "protocol not available",
-       43: "protocol not supported",
-       44: "socket type not supported",
-       45: "operation not supported",
-       46: "protocol family not supported",
-       47: "address family not supported by protocol family",
-       48: "address already in use",
-       49: "can't assign requested address",
-       50: "network is down",
-       51: "network is unreachable",
-       52: "network dropped connection on reset",
-       53: "software caused connection abort",
-       54: "connection reset by peer",
-       55: "no buffer space available",
-       56: "socket is already connected",
-       57: "socket is not connected",
-       58: "can't send after socket shutdown",
-       59: "too many references: can't splice",
-       60: "operation timed out",
-       61: "connection refused",
-       62: "too many levels of symbolic links",
-       63: "file name too long",
-       64: "host is down",
-       65: "no route to host",
-       66: "directory not empty",
-       67: "too many processes",
-       68: "too many users",
-       69: "disc quota exceeded",
-       70: "stale NFS file handle",
-       71: "too many levels of remote in path",
-       72: "RPC struct is bad",
-       73: "RPC version wrong",
-       74: "RPC prog. not avail",
-       75: "program version wrong",
-       76: "bad procedure for program",
-       77: "no locks available",
-       78: "function not implemented",
-       79: "inappropriate file type or format",
-       80: "authentication error",
-       81: "need authenticator",
-       82: "identifier removed",
-       83: "no message of desired type",
-       84: "value too large to be stored in data type",
-       85: "operation canceled",
-       86: "illegal byte sequence",
-       87: "attribute not found",
-       88: "programming error",
-       89: "bad message",
-       90: "multihop attempted",
-       91: "link has been severed",
-       92: "protocol error",
-       93: "capabilities insufficient",
-       94: "not permitted in capability mode",
-       95: "state not recoverable",
-       96: "previous owner died",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "suspended (signal)",
-       18: "suspended",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-       32: "unknown signal",
-       33: "unknown signal",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go
deleted file mode 100644 (file)
index e48e779..0000000
+++ /dev/null
@@ -1,1748 +0,0 @@
-// mkerrors.sh -m64
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build amd64,freebsd
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m64 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_ARP                            = 0x23
-       AF_ATM                            = 0x1e
-       AF_BLUETOOTH                      = 0x24
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1a
-       AF_ECMA                           = 0x8
-       AF_HYLINK                         = 0xf
-       AF_IEEE80211                      = 0x25
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x1c
-       AF_INET6_SDP                      = 0x2a
-       AF_INET_SDP                       = 0x28
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1a
-       AF_ISO                            = 0x7
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x2a
-       AF_NATM                           = 0x1d
-       AF_NETBIOS                        = 0x6
-       AF_NETGRAPH                       = 0x20
-       AF_OSI                            = 0x7
-       AF_PUP                            = 0x4
-       AF_ROUTE                          = 0x11
-       AF_SCLUSTER                       = 0x22
-       AF_SIP                            = 0x18
-       AF_SLOW                           = 0x21
-       AF_SNA                            = 0xb
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       AF_VENDOR00                       = 0x27
-       AF_VENDOR01                       = 0x29
-       AF_VENDOR02                       = 0x2b
-       AF_VENDOR03                       = 0x2d
-       AF_VENDOR04                       = 0x2f
-       AF_VENDOR05                       = 0x31
-       AF_VENDOR06                       = 0x33
-       AF_VENDOR07                       = 0x35
-       AF_VENDOR08                       = 0x37
-       AF_VENDOR09                       = 0x39
-       AF_VENDOR10                       = 0x3b
-       AF_VENDOR11                       = 0x3d
-       AF_VENDOR12                       = 0x3f
-       AF_VENDOR13                       = 0x41
-       AF_VENDOR14                       = 0x43
-       AF_VENDOR15                       = 0x45
-       AF_VENDOR16                       = 0x47
-       AF_VENDOR17                       = 0x49
-       AF_VENDOR18                       = 0x4b
-       AF_VENDOR19                       = 0x4d
-       AF_VENDOR20                       = 0x4f
-       AF_VENDOR21                       = 0x51
-       AF_VENDOR22                       = 0x53
-       AF_VENDOR23                       = 0x55
-       AF_VENDOR24                       = 0x57
-       AF_VENDOR25                       = 0x59
-       AF_VENDOR26                       = 0x5b
-       AF_VENDOR27                       = 0x5d
-       AF_VENDOR28                       = 0x5f
-       AF_VENDOR29                       = 0x61
-       AF_VENDOR30                       = 0x63
-       AF_VENDOR31                       = 0x65
-       AF_VENDOR32                       = 0x67
-       AF_VENDOR33                       = 0x69
-       AF_VENDOR34                       = 0x6b
-       AF_VENDOR35                       = 0x6d
-       AF_VENDOR36                       = 0x6f
-       AF_VENDOR37                       = 0x71
-       AF_VENDOR38                       = 0x73
-       AF_VENDOR39                       = 0x75
-       AF_VENDOR40                       = 0x77
-       AF_VENDOR41                       = 0x79
-       AF_VENDOR42                       = 0x7b
-       AF_VENDOR43                       = 0x7d
-       AF_VENDOR44                       = 0x7f
-       AF_VENDOR45                       = 0x81
-       AF_VENDOR46                       = 0x83
-       AF_VENDOR47                       = 0x85
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B460800                           = 0x70800
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B921600                           = 0xe1000
-       B9600                             = 0x2580
-       BIOCFEEDBACK                      = 0x8004427c
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDIRECTION                    = 0x40044276
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc0104279
-       BIOCGETBUFMODE                    = 0x4004427d
-       BIOCGETIF                         = 0x4020426b
-       BIOCGETZMAX                       = 0x4008427f
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRSIG                         = 0x40044272
-       BIOCGRTIMEOUT                     = 0x4010426e
-       BIOCGSEESENT                      = 0x40044276
-       BIOCGSTATS                        = 0x4008426f
-       BIOCGTSTAMP                       = 0x40044283
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCLOCK                          = 0x2000427a
-       BIOCPROMISC                       = 0x20004269
-       BIOCROTZBUF                       = 0x40184280
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDIRECTION                    = 0x80044277
-       BIOCSDLT                          = 0x80044278
-       BIOCSETBUFMODE                    = 0x8004427e
-       BIOCSETF                          = 0x80104267
-       BIOCSETFNR                        = 0x80104282
-       BIOCSETIF                         = 0x8020426c
-       BIOCSETWF                         = 0x8010427b
-       BIOCSETZBUF                       = 0x80184281
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRSIG                         = 0x80044273
-       BIOCSRTIMEOUT                     = 0x8010426d
-       BIOCSSEESENT                      = 0x80044277
-       BIOCSTSTAMP                       = 0x80044284
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x8
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_BUFMODE_BUFFER                = 0x1
-       BPF_BUFMODE_ZBUF                  = 0x2
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x80000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_T_BINTIME                     = 0x2
-       BPF_T_BINTIME_FAST                = 0x102
-       BPF_T_BINTIME_MONOTONIC           = 0x202
-       BPF_T_BINTIME_MONOTONIC_FAST      = 0x302
-       BPF_T_FAST                        = 0x100
-       BPF_T_FLAG_MASK                   = 0x300
-       BPF_T_FORMAT_MASK                 = 0x3
-       BPF_T_MICROTIME                   = 0x0
-       BPF_T_MICROTIME_FAST              = 0x100
-       BPF_T_MICROTIME_MONOTONIC         = 0x200
-       BPF_T_MICROTIME_MONOTONIC_FAST    = 0x300
-       BPF_T_MONOTONIC                   = 0x200
-       BPF_T_MONOTONIC_FAST              = 0x300
-       BPF_T_NANOTIME                    = 0x1
-       BPF_T_NANOTIME_FAST               = 0x101
-       BPF_T_NANOTIME_MONOTONIC          = 0x201
-       BPF_T_NANOTIME_MONOTONIC_FAST     = 0x301
-       BPF_T_NONE                        = 0x3
-       BPF_T_NORMAL                      = 0x0
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CLOCK_MONOTONIC                   = 0x4
-       CLOCK_MONOTONIC_FAST              = 0xc
-       CLOCK_MONOTONIC_PRECISE           = 0xb
-       CLOCK_PROCESS_CPUTIME_ID          = 0xf
-       CLOCK_PROF                        = 0x2
-       CLOCK_REALTIME                    = 0x0
-       CLOCK_REALTIME_FAST               = 0xa
-       CLOCK_REALTIME_PRECISE            = 0x9
-       CLOCK_SECOND                      = 0xd
-       CLOCK_THREAD_CPUTIME_ID           = 0xe
-       CLOCK_UPTIME                      = 0x5
-       CLOCK_UPTIME_FAST                 = 0x8
-       CLOCK_UPTIME_PRECISE              = 0x7
-       CLOCK_VIRTUAL                     = 0x1
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0x14
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0x18
-       CTL_NET                           = 0x4
-       DLT_A429                          = 0xb8
-       DLT_A653_ICM                      = 0xb9
-       DLT_AIRONET_HEADER                = 0x78
-       DLT_AOS                           = 0xde
-       DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
-       DLT_ARCNET                        = 0x7
-       DLT_ARCNET_LINUX                  = 0x81
-       DLT_ATM_CLIP                      = 0x13
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AURORA                        = 0x7e
-       DLT_AX25                          = 0x3
-       DLT_AX25_KISS                     = 0xca
-       DLT_BACNET_MS_TP                  = 0xa5
-       DLT_BLUETOOTH_HCI_H4              = 0xbb
-       DLT_BLUETOOTH_HCI_H4_WITH_PHDR    = 0xc9
-       DLT_CAN20B                        = 0xbe
-       DLT_CAN_SOCKETCAN                 = 0xe3
-       DLT_CHAOS                         = 0x5
-       DLT_CHDLC                         = 0x68
-       DLT_CISCO_IOS                     = 0x76
-       DLT_C_HDLC                        = 0x68
-       DLT_C_HDLC_WITH_DIR               = 0xcd
-       DLT_DBUS                          = 0xe7
-       DLT_DECT                          = 0xdd
-       DLT_DOCSIS                        = 0x8f
-       DLT_DVB_CI                        = 0xeb
-       DLT_ECONET                        = 0x73
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0x6d
-       DLT_ERF                           = 0xc5
-       DLT_ERF_ETH                       = 0xaf
-       DLT_ERF_POS                       = 0xb0
-       DLT_FC_2                          = 0xe0
-       DLT_FC_2_WITH_FRAME_DELIMS        = 0xe1
-       DLT_FDDI                          = 0xa
-       DLT_FLEXRAY                       = 0xd2
-       DLT_FRELAY                        = 0x6b
-       DLT_FRELAY_WITH_DIR               = 0xce
-       DLT_GCOM_SERIAL                   = 0xad
-       DLT_GCOM_T1E1                     = 0xac
-       DLT_GPF_F                         = 0xab
-       DLT_GPF_T                         = 0xaa
-       DLT_GPRS_LLC                      = 0xa9
-       DLT_GSMTAP_ABIS                   = 0xda
-       DLT_GSMTAP_UM                     = 0xd9
-       DLT_HHDLC                         = 0x79
-       DLT_IBM_SN                        = 0x92
-       DLT_IBM_SP                        = 0x91
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_IEEE802_11_RADIO_AVS          = 0xa3
-       DLT_IEEE802_15_4                  = 0xc3
-       DLT_IEEE802_15_4_LINUX            = 0xbf
-       DLT_IEEE802_15_4_NOFCS            = 0xe6
-       DLT_IEEE802_15_4_NONASK_PHY       = 0xd7
-       DLT_IEEE802_16_MAC_CPS            = 0xbc
-       DLT_IEEE802_16_MAC_CPS_RADIO      = 0xc1
-       DLT_IPFILTER                      = 0x74
-       DLT_IPMB                          = 0xc7
-       DLT_IPMB_LINUX                    = 0xd1
-       DLT_IPNET                         = 0xe2
-       DLT_IPOIB                         = 0xf2
-       DLT_IPV4                          = 0xe4
-       DLT_IPV6                          = 0xe5
-       DLT_IP_OVER_FC                    = 0x7a
-       DLT_JUNIPER_ATM1                  = 0x89
-       DLT_JUNIPER_ATM2                  = 0x87
-       DLT_JUNIPER_ATM_CEMIC             = 0xee
-       DLT_JUNIPER_CHDLC                 = 0xb5
-       DLT_JUNIPER_ES                    = 0x84
-       DLT_JUNIPER_ETHER                 = 0xb2
-       DLT_JUNIPER_FIBRECHANNEL          = 0xea
-       DLT_JUNIPER_FRELAY                = 0xb4
-       DLT_JUNIPER_GGSN                  = 0x85
-       DLT_JUNIPER_ISM                   = 0xc2
-       DLT_JUNIPER_MFR                   = 0x86
-       DLT_JUNIPER_MLFR                  = 0x83
-       DLT_JUNIPER_MLPPP                 = 0x82
-       DLT_JUNIPER_MONITOR               = 0xa4
-       DLT_JUNIPER_PIC_PEER              = 0xae
-       DLT_JUNIPER_PPP                   = 0xb3
-       DLT_JUNIPER_PPPOE                 = 0xa7
-       DLT_JUNIPER_PPPOE_ATM             = 0xa8
-       DLT_JUNIPER_SERVICES              = 0x88
-       DLT_JUNIPER_SRX_E2E               = 0xe9
-       DLT_JUNIPER_ST                    = 0xc8
-       DLT_JUNIPER_VP                    = 0xb7
-       DLT_JUNIPER_VS                    = 0xe8
-       DLT_LAPB_WITH_DIR                 = 0xcf
-       DLT_LAPD                          = 0xcb
-       DLT_LIN                           = 0xd4
-       DLT_LINUX_EVDEV                   = 0xd8
-       DLT_LINUX_IRDA                    = 0x90
-       DLT_LINUX_LAPD                    = 0xb1
-       DLT_LINUX_PPP_WITHDIRECTION       = 0xa6
-       DLT_LINUX_SLL                     = 0x71
-       DLT_LOOP                          = 0x6c
-       DLT_LTALK                         = 0x72
-       DLT_MATCHING_MAX                  = 0xf6
-       DLT_MATCHING_MIN                  = 0x68
-       DLT_MFR                           = 0xb6
-       DLT_MOST                          = 0xd3
-       DLT_MPEG_2_TS                     = 0xf3
-       DLT_MPLS                          = 0xdb
-       DLT_MTP2                          = 0x8c
-       DLT_MTP2_WITH_PHDR                = 0x8b
-       DLT_MTP3                          = 0x8d
-       DLT_MUX27010                      = 0xec
-       DLT_NETANALYZER                   = 0xf0
-       DLT_NETANALYZER_TRANSPARENT       = 0xf1
-       DLT_NFC_LLCP                      = 0xf5
-       DLT_NFLOG                         = 0xef
-       DLT_NG40                          = 0xf4
-       DLT_NULL                          = 0x0
-       DLT_PCI_EXP                       = 0x7d
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x79
-       DLT_PPI                           = 0xc0
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0x10
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_PPPD                      = 0xa6
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PPP_WITH_DIR                  = 0xcc
-       DLT_PPP_WITH_DIRECTION            = 0xa6
-       DLT_PRISM_HEADER                  = 0x77
-       DLT_PRONET                        = 0x4
-       DLT_RAIF1                         = 0xc6
-       DLT_RAW                           = 0xc
-       DLT_RIO                           = 0x7c
-       DLT_SCCP                          = 0x8e
-       DLT_SITA                          = 0xc4
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xf
-       DLT_STANAG_5066_D_PDU             = 0xed
-       DLT_SUNATM                        = 0x7b
-       DLT_SYMANTEC_FIREWALL             = 0x63
-       DLT_TZSP                          = 0x80
-       DLT_USB                           = 0xba
-       DLT_USB_LINUX                     = 0xbd
-       DLT_USB_LINUX_MMAPPED             = 0xdc
-       DLT_USER0                         = 0x93
-       DLT_USER1                         = 0x94
-       DLT_USER10                        = 0x9d
-       DLT_USER11                        = 0x9e
-       DLT_USER12                        = 0x9f
-       DLT_USER13                        = 0xa0
-       DLT_USER14                        = 0xa1
-       DLT_USER15                        = 0xa2
-       DLT_USER2                         = 0x95
-       DLT_USER3                         = 0x96
-       DLT_USER4                         = 0x97
-       DLT_USER5                         = 0x98
-       DLT_USER6                         = 0x99
-       DLT_USER7                         = 0x9a
-       DLT_USER8                         = 0x9b
-       DLT_USER9                         = 0x9c
-       DLT_WIHART                        = 0xdf
-       DLT_X2E_SERIAL                    = 0xd5
-       DLT_X2E_XORAYA                    = 0xd6
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       DT_WHT                            = 0xe
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EVFILT_AIO                        = -0x3
-       EVFILT_FS                         = -0x9
-       EVFILT_LIO                        = -0xa
-       EVFILT_PROC                       = -0x5
-       EVFILT_READ                       = -0x1
-       EVFILT_SIGNAL                     = -0x6
-       EVFILT_SYSCOUNT                   = 0xb
-       EVFILT_TIMER                      = -0x7
-       EVFILT_USER                       = -0xb
-       EVFILT_VNODE                      = -0x4
-       EVFILT_WRITE                      = -0x2
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_DISPATCH                       = 0x80
-       EV_DROP                           = 0x1000
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_RECEIPT                        = 0x40
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTATTR_NAMESPACE_EMPTY           = 0x0
-       EXTATTR_NAMESPACE_SYSTEM          = 0x2
-       EXTATTR_NAMESPACE_USER            = 0x1
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x400
-       FLUSHO                            = 0x800000
-       F_CANCEL                          = 0x5
-       F_DUP2FD                          = 0xa
-       F_DUP2FD_CLOEXEC                  = 0x12
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0x11
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0xb
-       F_GETOWN                          = 0x5
-       F_OGETLK                          = 0x7
-       F_OK                              = 0x0
-       F_OSETLK                          = 0x8
-       F_OSETLKW                         = 0x9
-       F_RDAHEAD                         = 0x10
-       F_RDLCK                           = 0x1
-       F_READAHEAD                       = 0xf
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0xc
-       F_SETLKW                          = 0xd
-       F_SETLK_REMOTE                    = 0xe
-       F_SETOWN                          = 0x6
-       F_UNLCK                           = 0x2
-       F_UNLCKSYS                        = 0x4
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFAN_ARRIVAL                      = 0x0
-       IFAN_DEPARTURE                    = 0x1
-       IFF_ALLMULTI                      = 0x200
-       IFF_ALTPHYS                       = 0x4000
-       IFF_BROADCAST                     = 0x2
-       IFF_CANTCHANGE                    = 0x218f72
-       IFF_CANTCONFIG                    = 0x10000
-       IFF_DEBUG                         = 0x4
-       IFF_DRV_OACTIVE                   = 0x400
-       IFF_DRV_RUNNING                   = 0x40
-       IFF_DYING                         = 0x200000
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MONITOR                       = 0x40000
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PPROMISC                      = 0x20000
-       IFF_PROMISC                       = 0x100
-       IFF_RENAMING                      = 0x400000
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_SMART                         = 0x20
-       IFF_STATICARP                     = 0x80000
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_A12MPPSWITCH                  = 0x82
-       IFT_AAL2                          = 0xbb
-       IFT_AAL5                          = 0x31
-       IFT_ADSL                          = 0x5e
-       IFT_AFLANE8023                    = 0x3b
-       IFT_AFLANE8025                    = 0x3c
-       IFT_ARAP                          = 0x58
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ASYNC                         = 0x54
-       IFT_ATM                           = 0x25
-       IFT_ATMDXI                        = 0x69
-       IFT_ATMFUNI                       = 0x6a
-       IFT_ATMIMA                        = 0x6b
-       IFT_ATMLOGICAL                    = 0x50
-       IFT_ATMRADIO                      = 0xbd
-       IFT_ATMSUBINTERFACE               = 0x86
-       IFT_ATMVCIENDPT                   = 0xc2
-       IFT_ATMVIRTUAL                    = 0x95
-       IFT_BGPPOLICYACCOUNTING           = 0xa2
-       IFT_BRIDGE                        = 0xd1
-       IFT_BSC                           = 0x53
-       IFT_CARP                          = 0xf8
-       IFT_CCTEMUL                       = 0x3d
-       IFT_CEPT                          = 0x13
-       IFT_CES                           = 0x85
-       IFT_CHANNEL                       = 0x46
-       IFT_CNR                           = 0x55
-       IFT_COFFEE                        = 0x84
-       IFT_COMPOSITELINK                 = 0x9b
-       IFT_DCN                           = 0x8d
-       IFT_DIGITALPOWERLINE              = 0x8a
-       IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
-       IFT_DLSW                          = 0x4a
-       IFT_DOCSCABLEDOWNSTREAM           = 0x80
-       IFT_DOCSCABLEMACLAYER             = 0x7f
-       IFT_DOCSCABLEUPSTREAM             = 0x81
-       IFT_DS0                           = 0x51
-       IFT_DS0BUNDLE                     = 0x52
-       IFT_DS1FDL                        = 0xaa
-       IFT_DS3                           = 0x1e
-       IFT_DTM                           = 0x8c
-       IFT_DVBASILN                      = 0xac
-       IFT_DVBASIOUT                     = 0xad
-       IFT_DVBRCCDOWNSTREAM              = 0x93
-       IFT_DVBRCCMACLAYER                = 0x92
-       IFT_DVBRCCUPSTREAM                = 0x94
-       IFT_ENC                           = 0xf4
-       IFT_EON                           = 0x19
-       IFT_EPLRS                         = 0x57
-       IFT_ESCON                         = 0x49
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0xf2
-       IFT_FAST                          = 0x7d
-       IFT_FASTETHER                     = 0x3e
-       IFT_FASTETHERFX                   = 0x45
-       IFT_FDDI                          = 0xf
-       IFT_FIBRECHANNEL                  = 0x38
-       IFT_FRAMERELAYINTERCONNECT        = 0x3a
-       IFT_FRAMERELAYMPI                 = 0x5c
-       IFT_FRDLCIENDPT                   = 0xc1
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_FRF16MFRBUNDLE                = 0xa3
-       IFT_FRFORWARD                     = 0x9e
-       IFT_G703AT2MB                     = 0x43
-       IFT_G703AT64K                     = 0x42
-       IFT_GIF                           = 0xf0
-       IFT_GIGABITETHERNET               = 0x75
-       IFT_GR303IDT                      = 0xb2
-       IFT_GR303RDT                      = 0xb1
-       IFT_H323GATEKEEPER                = 0xa4
-       IFT_H323PROXY                     = 0xa5
-       IFT_HDH1822                       = 0x3
-       IFT_HDLC                          = 0x76
-       IFT_HDSL2                         = 0xa8
-       IFT_HIPERLAN2                     = 0xb7
-       IFT_HIPPI                         = 0x2f
-       IFT_HIPPIINTERFACE                = 0x39
-       IFT_HOSTPAD                       = 0x5a
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IBM370PARCHAN                 = 0x48
-       IFT_IDSL                          = 0x9a
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE80211                     = 0x47
-       IFT_IEEE80212                     = 0x37
-       IFT_IEEE8023ADLAG                 = 0xa1
-       IFT_IFGSN                         = 0x91
-       IFT_IMT                           = 0xbe
-       IFT_INFINIBAND                    = 0xc7
-       IFT_INTERLEAVE                    = 0x7c
-       IFT_IP                            = 0x7e
-       IFT_IPFORWARD                     = 0x8e
-       IFT_IPOVERATM                     = 0x72
-       IFT_IPOVERCDLC                    = 0x6d
-       IFT_IPOVERCLAW                    = 0x6e
-       IFT_IPSWITCH                      = 0x4e
-       IFT_IPXIP                         = 0xf9
-       IFT_ISDN                          = 0x3f
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISDNS                         = 0x4b
-       IFT_ISDNU                         = 0x4c
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88025CRFPINT               = 0x62
-       IFT_ISO88025DTR                   = 0x56
-       IFT_ISO88025FIBER                 = 0x73
-       IFT_ISO88026                      = 0xa
-       IFT_ISUP                          = 0xb3
-       IFT_L2VLAN                        = 0x87
-       IFT_L3IPVLAN                      = 0x88
-       IFT_L3IPXVLAN                     = 0x89
-       IFT_LAPB                          = 0x10
-       IFT_LAPD                          = 0x4d
-       IFT_LAPF                          = 0x77
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MEDIAMAILOVERIP               = 0x8b
-       IFT_MFSIGLINK                     = 0xa7
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_MPC                           = 0x71
-       IFT_MPLS                          = 0xa6
-       IFT_MPLSTUNNEL                    = 0x96
-       IFT_MSDSL                         = 0x8f
-       IFT_MVL                           = 0xbf
-       IFT_MYRINET                       = 0x63
-       IFT_NFAS                          = 0xaf
-       IFT_NSIP                          = 0x1b
-       IFT_OPTICALCHANNEL                = 0xc3
-       IFT_OPTICALTRANSPORT              = 0xc4
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PFLOG                         = 0xf6
-       IFT_PFSYNC                        = 0xf7
-       IFT_PLC                           = 0xae
-       IFT_POS                           = 0xab
-       IFT_PPP                           = 0x17
-       IFT_PPPMULTILINKBUNDLE            = 0x6c
-       IFT_PROPBWAP2MP                   = 0xb8
-       IFT_PROPCNLS                      = 0x59
-       IFT_PROPDOCSWIRELESSDOWNSTREAM    = 0xb5
-       IFT_PROPDOCSWIRELESSMACLAYER      = 0xb4
-       IFT_PROPDOCSWIRELESSUPSTREAM      = 0xb6
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PROPWIRELESSP2P               = 0x9d
-       IFT_PTPSERIAL                     = 0x16
-       IFT_PVC                           = 0xf1
-       IFT_QLLC                          = 0x44
-       IFT_RADIOMAC                      = 0xbc
-       IFT_RADSL                         = 0x5f
-       IFT_REACHDSL                      = 0xc0
-       IFT_RFC1483                       = 0x9f
-       IFT_RS232                         = 0x21
-       IFT_RSRB                          = 0x4f
-       IFT_SDLC                          = 0x11
-       IFT_SDSL                          = 0x60
-       IFT_SHDSL                         = 0xa9
-       IFT_SIP                           = 0x1f
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETOVERHEADCHANNEL          = 0xb9
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_SRP                           = 0x97
-       IFT_SS7SIGLINK                    = 0x9c
-       IFT_STACKTOSTACK                  = 0x6f
-       IFT_STARLAN                       = 0xb
-       IFT_STF                           = 0xd7
-       IFT_T1                            = 0x12
-       IFT_TDLC                          = 0x74
-       IFT_TERMPAD                       = 0x5b
-       IFT_TR008                         = 0xb0
-       IFT_TRANSPHDLC                    = 0x7b
-       IFT_TUNNEL                        = 0x83
-       IFT_ULTRA                         = 0x1d
-       IFT_USB                           = 0xa0
-       IFT_V11                           = 0x40
-       IFT_V35                           = 0x2d
-       IFT_V36                           = 0x41
-       IFT_V37                           = 0x78
-       IFT_VDSL                          = 0x61
-       IFT_VIRTUALIPADDRESS              = 0x70
-       IFT_VOICEEM                       = 0x64
-       IFT_VOICEENCAP                    = 0x67
-       IFT_VOICEFXO                      = 0x65
-       IFT_VOICEFXS                      = 0x66
-       IFT_VOICEOVERATM                  = 0x98
-       IFT_VOICEOVERFRAMERELAY           = 0x99
-       IFT_VOICEOVERIP                   = 0x68
-       IFT_X213                          = 0x5d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25HUNTGROUP                  = 0x7a
-       IFT_X25MLP                        = 0x79
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LOOPBACKNET                    = 0x7f
-       IN_RFC3021_MASK                   = 0xfffffffe
-       IPPROTO_3PC                       = 0x22
-       IPPROTO_ADFS                      = 0x44
-       IPPROTO_AH                        = 0x33
-       IPPROTO_AHIP                      = 0x3d
-       IPPROTO_APES                      = 0x63
-       IPPROTO_ARGUS                     = 0xd
-       IPPROTO_AX25                      = 0x5d
-       IPPROTO_BHA                       = 0x31
-       IPPROTO_BLT                       = 0x1e
-       IPPROTO_BRSATMON                  = 0x4c
-       IPPROTO_CARP                      = 0x70
-       IPPROTO_CFTP                      = 0x3e
-       IPPROTO_CHAOS                     = 0x10
-       IPPROTO_CMTP                      = 0x26
-       IPPROTO_CPHB                      = 0x49
-       IPPROTO_CPNX                      = 0x48
-       IPPROTO_DDP                       = 0x25
-       IPPROTO_DGP                       = 0x56
-       IPPROTO_DIVERT                    = 0x102
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_EMCON                     = 0xe
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GMTP                      = 0x64
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HELLO                     = 0x3f
-       IPPROTO_HIP                       = 0x8b
-       IPPROTO_HMP                       = 0x14
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IDPR                      = 0x23
-       IPPROTO_IDRP                      = 0x2d
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IGP                       = 0x55
-       IPPROTO_IGRP                      = 0x58
-       IPPROTO_IL                        = 0x28
-       IPPROTO_INLSP                     = 0x34
-       IPPROTO_INP                       = 0x20
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPCV                      = 0x47
-       IPPROTO_IPEIP                     = 0x5e
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPPC                      = 0x43
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_IRTP                      = 0x1c
-       IPPROTO_KRYPTOLAN                 = 0x41
-       IPPROTO_LARP                      = 0x5b
-       IPPROTO_LEAF1                     = 0x19
-       IPPROTO_LEAF2                     = 0x1a
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x34
-       IPPROTO_MEAS                      = 0x13
-       IPPROTO_MH                        = 0x87
-       IPPROTO_MHRP                      = 0x30
-       IPPROTO_MICP                      = 0x5f
-       IPPROTO_MOBILE                    = 0x37
-       IPPROTO_MPLS                      = 0x89
-       IPPROTO_MTP                       = 0x5c
-       IPPROTO_MUX                       = 0x12
-       IPPROTO_ND                        = 0x4d
-       IPPROTO_NHRP                      = 0x36
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_NSP                       = 0x1f
-       IPPROTO_NVPII                     = 0xb
-       IPPROTO_OLD_DIVERT                = 0xfe
-       IPPROTO_OSPFIGP                   = 0x59
-       IPPROTO_PFSYNC                    = 0xf0
-       IPPROTO_PGM                       = 0x71
-       IPPROTO_PIGP                      = 0x9
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PRM                       = 0x15
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_PVP                       = 0x4b
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_RCCMON                    = 0xa
-       IPPROTO_RDP                       = 0x1b
-       IPPROTO_RESERVED_253              = 0xfd
-       IPPROTO_RESERVED_254              = 0xfe
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_RVD                       = 0x42
-       IPPROTO_SATEXPAK                  = 0x40
-       IPPROTO_SATMON                    = 0x45
-       IPPROTO_SCCSP                     = 0x60
-       IPPROTO_SCTP                      = 0x84
-       IPPROTO_SDRP                      = 0x2a
-       IPPROTO_SEND                      = 0x103
-       IPPROTO_SEP                       = 0x21
-       IPPROTO_SHIM6                     = 0x8c
-       IPPROTO_SKIP                      = 0x39
-       IPPROTO_SPACER                    = 0x7fff
-       IPPROTO_SRPC                      = 0x5a
-       IPPROTO_ST                        = 0x7
-       IPPROTO_SVMTP                     = 0x52
-       IPPROTO_SWIPE                     = 0x35
-       IPPROTO_TCF                       = 0x57
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TLSP                      = 0x38
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_TPXX                      = 0x27
-       IPPROTO_TRUNK1                    = 0x17
-       IPPROTO_TRUNK2                    = 0x18
-       IPPROTO_TTP                       = 0x54
-       IPPROTO_UDP                       = 0x11
-       IPPROTO_UDPLITE                   = 0x88
-       IPPROTO_VINES                     = 0x53
-       IPPROTO_VISA                      = 0x46
-       IPPROTO_VMTP                      = 0x51
-       IPPROTO_WBEXPAK                   = 0x4f
-       IPPROTO_WBMON                     = 0x4e
-       IPPROTO_WSN                       = 0x4a
-       IPPROTO_XNET                      = 0xf
-       IPPROTO_XTP                       = 0x24
-       IPV6_AUTOFLOWLABEL                = 0x3b
-       IPV6_BINDANY                      = 0x40
-       IPV6_BINDV6ONLY                   = 0x1b
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_DONTFRAG                     = 0x3e
-       IPV6_DSTOPTS                      = 0x32
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x78
-       IPV6_FW_ADD                       = 0x1e
-       IPV6_FW_DEL                       = 0x1f
-       IPV6_FW_FLUSH                     = 0x20
-       IPV6_FW_GET                       = 0x22
-       IPV6_FW_ZERO                      = 0x21
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_HOPLIMIT                     = 0x2f
-       IPV6_HOPOPTS                      = 0x31
-       IPV6_IPSEC_POLICY                 = 0x1c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXOPTHDR                    = 0x800
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MAX_GROUP_SRC_FILTER         = 0x200
-       IPV6_MAX_MEMBERSHIPS              = 0xfff
-       IPV6_MAX_SOCK_SRC_FILTER          = 0x80
-       IPV6_MIN_MEMBERSHIPS              = 0x1f
-       IPV6_MMTU                         = 0x500
-       IPV6_MSFILTER                     = 0x4a
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_NEXTHOP                      = 0x30
-       IPV6_PATHMTU                      = 0x2c
-       IPV6_PKTINFO                      = 0x2e
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_PREFER_TEMPADDR              = 0x3f
-       IPV6_RECVDSTOPTS                  = 0x28
-       IPV6_RECVHOPLIMIT                 = 0x25
-       IPV6_RECVHOPOPTS                  = 0x27
-       IPV6_RECVPATHMTU                  = 0x2b
-       IPV6_RECVPKTINFO                  = 0x24
-       IPV6_RECVRTHDR                    = 0x26
-       IPV6_RECVTCLASS                   = 0x39
-       IPV6_RTHDR                        = 0x33
-       IPV6_RTHDRDSTOPTS                 = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x3d
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_USE_MIN_MTU                  = 0x2a
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_ADD_SOURCE_MEMBERSHIP          = 0x46
-       IP_BINDANY                        = 0x18
-       IP_BLOCK_SOURCE                   = 0x48
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DONTFRAG                       = 0x43
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_DROP_SOURCE_MEMBERSHIP         = 0x47
-       IP_DUMMYNET3                      = 0x31
-       IP_DUMMYNET_CONFIGURE             = 0x3c
-       IP_DUMMYNET_DEL                   = 0x3d
-       IP_DUMMYNET_FLUSH                 = 0x3e
-       IP_DUMMYNET_GET                   = 0x40
-       IP_FAITH                          = 0x16
-       IP_FW3                            = 0x30
-       IP_FW_ADD                         = 0x32
-       IP_FW_DEL                         = 0x33
-       IP_FW_FLUSH                       = 0x34
-       IP_FW_GET                         = 0x36
-       IP_FW_NAT_CFG                     = 0x38
-       IP_FW_NAT_DEL                     = 0x39
-       IP_FW_NAT_GET_CONFIG              = 0x3a
-       IP_FW_NAT_GET_LOG                 = 0x3b
-       IP_FW_RESETLOG                    = 0x37
-       IP_FW_TABLE_ADD                   = 0x28
-       IP_FW_TABLE_DEL                   = 0x29
-       IP_FW_TABLE_FLUSH                 = 0x2a
-       IP_FW_TABLE_GETSIZE               = 0x2b
-       IP_FW_TABLE_LIST                  = 0x2c
-       IP_FW_ZERO                        = 0x35
-       IP_HDRINCL                        = 0x2
-       IP_IPSEC_POLICY                   = 0x15
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_GROUP_SRC_FILTER           = 0x200
-       IP_MAX_MEMBERSHIPS                = 0xfff
-       IP_MAX_SOCK_MUTE_FILTER           = 0x80
-       IP_MAX_SOCK_SRC_FILTER            = 0x80
-       IP_MAX_SOURCE_FILTER              = 0x400
-       IP_MF                             = 0x2000
-       IP_MINTTL                         = 0x42
-       IP_MIN_MEMBERSHIPS                = 0x1f
-       IP_MSFILTER                       = 0x4a
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_MULTICAST_VIF                  = 0xe
-       IP_OFFMASK                        = 0x1fff
-       IP_ONESBCAST                      = 0x17
-       IP_OPTIONS                        = 0x1
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVIF                         = 0x14
-       IP_RECVOPTS                       = 0x5
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVTOS                        = 0x44
-       IP_RECVTTL                        = 0x41
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_RSVP_OFF                       = 0x10
-       IP_RSVP_ON                        = 0xf
-       IP_RSVP_VIF_OFF                   = 0x12
-       IP_RSVP_VIF_ON                    = 0x11
-       IP_SENDSRCADDR                    = 0x7
-       IP_TOS                            = 0x3
-       IP_TTL                            = 0x4
-       IP_UNBLOCK_SOURCE                 = 0x49
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_AUTOSYNC                     = 0x7
-       MADV_CORE                         = 0x9
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x5
-       MADV_NOCORE                       = 0x8
-       MADV_NORMAL                       = 0x0
-       MADV_NOSYNC                       = 0x6
-       MADV_PROTECT                      = 0xa
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_WILLNEED                     = 0x3
-       MAP_32BIT                         = 0x80000
-       MAP_ALIGNED_SUPER                 = 0x1000000
-       MAP_ALIGNMENT_MASK                = -0x1000000
-       MAP_ALIGNMENT_SHIFT               = 0x18
-       MAP_ANON                          = 0x1000
-       MAP_ANONYMOUS                     = 0x1000
-       MAP_COPY                          = 0x2
-       MAP_EXCL                          = 0x4000
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_NOCORE                        = 0x20000
-       MAP_NORESERVE                     = 0x40
-       MAP_NOSYNC                        = 0x800
-       MAP_PREFAULT_READ                 = 0x40000
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_RESERVED0080                  = 0x80
-       MAP_RESERVED0100                  = 0x100
-       MAP_SHARED                        = 0x1
-       MAP_STACK                         = 0x400
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_CMSG_CLOEXEC                  = 0x40000
-       MSG_COMPAT                        = 0x8000
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOF                           = 0x100
-       MSG_EOR                           = 0x8
-       MSG_NBIO                          = 0x4000
-       MSG_NOSIGNAL                      = 0x20000
-       MSG_NOTIFICATION                  = 0x2000
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_TRUNC                         = 0x10
-       MSG_WAITALL                       = 0x40
-       MS_ASYNC                          = 0x1
-       MS_INVALIDATE                     = 0x2
-       MS_SYNC                           = 0x0
-       NAME_MAX                          = 0xff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x3
-       NET_RT_IFLISTL                    = 0x5
-       NET_RT_IFMALIST                   = 0x4
-       NET_RT_MAXID                      = 0x6
-       NOFLSH                            = 0x80000000
-       NOTE_ATTRIB                       = 0x8
-       NOTE_CHILD                        = 0x4
-       NOTE_DELETE                       = 0x1
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FFAND                        = 0x40000000
-       NOTE_FFCOPY                       = 0xc0000000
-       NOTE_FFCTRLMASK                   = 0xc0000000
-       NOTE_FFLAGSMASK                   = 0xffffff
-       NOTE_FFNOP                        = 0x0
-       NOTE_FFOR                         = 0x80000000
-       NOTE_FORK                         = 0x40000000
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_MSECONDS                     = 0x2
-       NOTE_NSECONDS                     = 0x8
-       NOTE_PCTRLMASK                    = 0xf0000000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_SECONDS                      = 0x1
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_TRIGGER                      = 0x1000000
-       NOTE_USECONDS                     = 0x4
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       ONLCR                             = 0x2
-       ONLRET                            = 0x40
-       ONOCR                             = 0x20
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x100000
-       O_CREAT                           = 0x200
-       O_DIRECT                          = 0x10000
-       O_DIRECTORY                       = 0x20000
-       O_EXCL                            = 0x800
-       O_EXEC                            = 0x40000
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x8000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_SHLOCK                          = 0x10
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_TTY_INIT                        = 0x80000
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       RLIMIT_AS                         = 0xa
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_MAX                          = 0x8
-       RTAX_NETMASK                      = 0x2
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_NETMASK                       = 0x4
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_BROADCAST                     = 0x400000
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_FMASK                         = 0x1004d808
-       RTF_GATEWAY                       = 0x2
-       RTF_GWFLAG_COMPAT                 = 0x80000000
-       RTF_HOST                          = 0x4
-       RTF_LLDATA                        = 0x400
-       RTF_LLINFO                        = 0x400
-       RTF_LOCAL                         = 0x200000
-       RTF_MODIFIED                      = 0x20
-       RTF_MULTICAST                     = 0x800000
-       RTF_PINNED                        = 0x100000
-       RTF_PRCLONING                     = 0x10000
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_PROTO3                        = 0x40000
-       RTF_REJECT                        = 0x8
-       RTF_RNH_LOCKED                    = 0x40000000
-       RTF_STATIC                        = 0x800
-       RTF_STICKY                        = 0x10000000
-       RTF_UP                            = 0x1
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_DELMADDR                      = 0x10
-       RTM_GET                           = 0x4
-       RTM_IEEE80211                     = 0x12
-       RTM_IFANNOUNCE                    = 0x11
-       RTM_IFINFO                        = 0xe
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_NEWMADDR                      = 0xf
-       RTM_OLDADD                        = 0x9
-       RTM_OLDDEL                        = 0xa
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_VERSION                       = 0x5
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RTV_WEIGHT                        = 0x100
-       RT_ALL_FIBS                       = -0x1
-       RT_CACHING_CONTEXT                = 0x1
-       RT_DEFAULT_FIB                    = 0x0
-       RT_NORTREF                        = 0x2
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       RUSAGE_THREAD                     = 0x1
-       SCM_BINTIME                       = 0x4
-       SCM_CREDS                         = 0x3
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x2
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80206931
-       SIOCADDRT                         = 0x8040720a
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCAIFGROUP                      = 0x80286987
-       SIOCALIFADDR                      = 0x8118691b
-       SIOCATMARK                        = 0x40047307
-       SIOCDELMULTI                      = 0x80206932
-       SIOCDELRT                         = 0x8040720b
-       SIOCDIFADDR                       = 0x80206919
-       SIOCDIFGROUP                      = 0x80286989
-       SIOCDIFPHYADDR                    = 0x80206949
-       SIOCDLIFADDR                      = 0x8118691d
-       SIOCGDRVSPEC                      = 0xc028697b
-       SIOCGETSGCNT                      = 0xc0207210
-       SIOCGETVIFCNT                     = 0xc028720f
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0206921
-       SIOCGIFBRDADDR                    = 0xc0206923
-       SIOCGIFCAP                        = 0xc020691f
-       SIOCGIFCONF                       = 0xc0106924
-       SIOCGIFDESCR                      = 0xc020692a
-       SIOCGIFDSTADDR                    = 0xc0206922
-       SIOCGIFFIB                        = 0xc020695c
-       SIOCGIFFLAGS                      = 0xc0206911
-       SIOCGIFGENERIC                    = 0xc020693a
-       SIOCGIFGMEMB                      = 0xc028698a
-       SIOCGIFGROUP                      = 0xc0286988
-       SIOCGIFINDEX                      = 0xc0206920
-       SIOCGIFMAC                        = 0xc0206926
-       SIOCGIFMEDIA                      = 0xc0306938
-       SIOCGIFMETRIC                     = 0xc0206917
-       SIOCGIFMTU                        = 0xc0206933
-       SIOCGIFNETMASK                    = 0xc0206925
-       SIOCGIFPDSTADDR                   = 0xc0206948
-       SIOCGIFPHYS                       = 0xc0206935
-       SIOCGIFPSRCADDR                   = 0xc0206947
-       SIOCGIFSTATUS                     = 0xc331693b
-       SIOCGLIFADDR                      = 0xc118691c
-       SIOCGLIFPHYADDR                   = 0xc118694b
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCGPRIVATE_0                    = 0xc0206950
-       SIOCGPRIVATE_1                    = 0xc0206951
-       SIOCIFCREATE                      = 0xc020697a
-       SIOCIFCREATE2                     = 0xc020697c
-       SIOCIFDESTROY                     = 0x80206979
-       SIOCIFGCLONERS                    = 0xc0106978
-       SIOCSDRVSPEC                      = 0x8028697b
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8020690c
-       SIOCSIFBRDADDR                    = 0x80206913
-       SIOCSIFCAP                        = 0x8020691e
-       SIOCSIFDESCR                      = 0x80206929
-       SIOCSIFDSTADDR                    = 0x8020690e
-       SIOCSIFFIB                        = 0x8020695d
-       SIOCSIFFLAGS                      = 0x80206910
-       SIOCSIFGENERIC                    = 0x80206939
-       SIOCSIFLLADDR                     = 0x8020693c
-       SIOCSIFMAC                        = 0x80206927
-       SIOCSIFMEDIA                      = 0xc0206937
-       SIOCSIFMETRIC                     = 0x80206918
-       SIOCSIFMTU                        = 0x80206934
-       SIOCSIFNAME                       = 0x80206928
-       SIOCSIFNETMASK                    = 0x80206916
-       SIOCSIFPHYADDR                    = 0x80406946
-       SIOCSIFPHYS                       = 0x80206936
-       SIOCSIFRVNET                      = 0xc020695b
-       SIOCSIFVNET                       = 0xc020695a
-       SIOCSLIFPHYADDR                   = 0x8118694a
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SOCK_CLOEXEC                      = 0x10000000
-       SOCK_DGRAM                        = 0x2
-       SOCK_MAXADDRLEN                   = 0xff
-       SOCK_NONBLOCK                     = 0x20000000
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_ACCEPTFILTER                   = 0x1000
-       SO_BINTIME                        = 0x2000
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LABEL                          = 0x1009
-       SO_LINGER                         = 0x80
-       SO_LISTENINCQLEN                  = 0x1013
-       SO_LISTENQLEN                     = 0x1012
-       SO_LISTENQLIMIT                   = 0x1011
-       SO_NOSIGPIPE                      = 0x800
-       SO_NO_DDP                         = 0x8000
-       SO_NO_OFFLOAD                     = 0x4000
-       SO_OOBINLINE                      = 0x100
-       SO_PEERLABEL                      = 0x1010
-       SO_PROTOCOL                       = 0x1016
-       SO_PROTOTYPE                      = 0x1016
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x1006
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_SETFIB                         = 0x1014
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x1005
-       SO_TIMESTAMP                      = 0x400
-       SO_TYPE                           = 0x1008
-       SO_USELOOPBACK                    = 0x40
-       SO_USER_COOKIE                    = 0x1015
-       SO_VENDOR                         = 0x80000000
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_CA_NAME_MAX                   = 0x10
-       TCP_CONGESTION                    = 0x40
-       TCP_INFO                          = 0x20
-       TCP_KEEPCNT                       = 0x400
-       TCP_KEEPIDLE                      = 0x100
-       TCP_KEEPINIT                      = 0x80
-       TCP_KEEPINTVL                     = 0x200
-       TCP_MAXBURST                      = 0x4
-       TCP_MAXHLEN                       = 0x3c
-       TCP_MAXOLEN                       = 0x28
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_SACK                      = 0x4
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MD5SIG                        = 0x10
-       TCP_MINMSS                        = 0xd8
-       TCP_MSS                           = 0x218
-       TCP_NODELAY                       = 0x1
-       TCP_NOOPT                         = 0x8
-       TCP_NOPUSH                        = 0x4
-       TCP_VENDOR                        = 0x80000000
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDRAIN                         = 0x2000745e
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLUSH                         = 0x80047410
-       TIOCGDRAINWAIT                    = 0x40047456
-       TIOCGETA                          = 0x402c7413
-       TIOCGETD                          = 0x4004741a
-       TIOCGPGRP                         = 0x40047477
-       TIOCGPTN                          = 0x4004740f
-       TIOCGSID                          = 0x40047463
-       TIOCGWINSZ                        = 0x40087468
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGDTRWAIT                     = 0x4004745a
-       TIOCMGET                          = 0x4004746a
-       TIOCMSDTRWAIT                     = 0x8004745b
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DCD                         = 0x40
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCPTMASTER                      = 0x2000741c
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDRAINWAIT                    = 0x80047457
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x802c7414
-       TIOCSETAF                         = 0x802c7416
-       TIOCSETAW                         = 0x802c7415
-       TIOCSETD                          = 0x8004741b
-       TIOCSIG                           = 0x2004745f
-       TIOCSPGRP                         = 0x80047476
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x20007465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSWINSZ                        = 0x80087467
-       TIOCTIMESTAMP                     = 0x40107459
-       TIOCUCNTL                         = 0x80047466
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VERASE2                           = 0x7
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WCONTINUED                        = 0x4
-       WCOREFLAG                         = 0x80
-       WEXITED                           = 0x10
-       WLINUXCLONE                       = 0x80000000
-       WNOHANG                           = 0x1
-       WNOWAIT                           = 0x8
-       WSTOPPED                          = 0x2
-       WTRAPPED                          = 0x20
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADF           = syscall.Errno(0x9)
-       EBADMSG         = syscall.Errno(0x59)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x55)
-       ECAPMODE        = syscall.Errno(0x5e)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDOM            = syscall.Errno(0x21)
-       EDOOFUS         = syscall.Errno(0x58)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x52)
-       EILSEQ          = syscall.Errno(0x56)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x60)
-       ELOOP           = syscall.Errno(0x3e)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       EMULTIHOP       = syscall.Errno(0x5a)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x57)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOLINK         = syscall.Errno(0x5b)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x53)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCAPABLE     = syscall.Errno(0x5d)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTRECOVERABLE = syscall.Errno(0x5f)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x2d)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x2d)
-       EOVERFLOW       = syscall.Errno(0x54)
-       EOWNERDEAD      = syscall.Errno(0x60)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTO          = syscall.Errno(0x5c)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGLIBRT  = syscall.Signal(0x21)
-       SIGLWP    = syscall.Signal(0x20)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTHR    = syscall.Signal(0x20)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:  "operation not permitted",
-       2:  "no such file or directory",
-       3:  "no such process",
-       4:  "interrupted system call",
-       5:  "input/output error",
-       6:  "device not configured",
-       7:  "argument list too long",
-       8:  "exec format error",
-       9:  "bad file descriptor",
-       10: "no child processes",
-       11: "resource deadlock avoided",
-       12: "cannot allocate memory",
-       13: "permission denied",
-       14: "bad address",
-       15: "block device required",
-       16: "device busy",
-       17: "file exists",
-       18: "cross-device link",
-       19: "operation not supported by device",
-       20: "not a directory",
-       21: "is a directory",
-       22: "invalid argument",
-       23: "too many open files in system",
-       24: "too many open files",
-       25: "inappropriate ioctl for device",
-       26: "text file busy",
-       27: "file too large",
-       28: "no space left on device",
-       29: "illegal seek",
-       30: "read-only file system",
-       31: "too many links",
-       32: "broken pipe",
-       33: "numerical argument out of domain",
-       34: "result too large",
-       35: "resource temporarily unavailable",
-       36: "operation now in progress",
-       37: "operation already in progress",
-       38: "socket operation on non-socket",
-       39: "destination address required",
-       40: "message too long",
-       41: "protocol wrong type for socket",
-       42: "protocol not available",
-       43: "protocol not supported",
-       44: "socket type not supported",
-       45: "operation not supported",
-       46: "protocol family not supported",
-       47: "address family not supported by protocol family",
-       48: "address already in use",
-       49: "can't assign requested address",
-       50: "network is down",
-       51: "network is unreachable",
-       52: "network dropped connection on reset",
-       53: "software caused connection abort",
-       54: "connection reset by peer",
-       55: "no buffer space available",
-       56: "socket is already connected",
-       57: "socket is not connected",
-       58: "can't send after socket shutdown",
-       59: "too many references: can't splice",
-       60: "operation timed out",
-       61: "connection refused",
-       62: "too many levels of symbolic links",
-       63: "file name too long",
-       64: "host is down",
-       65: "no route to host",
-       66: "directory not empty",
-       67: "too many processes",
-       68: "too many users",
-       69: "disc quota exceeded",
-       70: "stale NFS file handle",
-       71: "too many levels of remote in path",
-       72: "RPC struct is bad",
-       73: "RPC version wrong",
-       74: "RPC prog. not avail",
-       75: "program version wrong",
-       76: "bad procedure for program",
-       77: "no locks available",
-       78: "function not implemented",
-       79: "inappropriate file type or format",
-       80: "authentication error",
-       81: "need authenticator",
-       82: "identifier removed",
-       83: "no message of desired type",
-       84: "value too large to be stored in data type",
-       85: "operation canceled",
-       86: "illegal byte sequence",
-       87: "attribute not found",
-       88: "programming error",
-       89: "bad message",
-       90: "multihop attempted",
-       91: "link has been severed",
-       92: "protocol error",
-       93: "capabilities insufficient",
-       94: "not permitted in capability mode",
-       95: "state not recoverable",
-       96: "previous owner died",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "suspended (signal)",
-       18: "suspended",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-       32: "unknown signal",
-       33: "unknown signal",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go
deleted file mode 100644 (file)
index 2afbe2d..0000000
+++ /dev/null
@@ -1,1729 +0,0 @@
-// mkerrors.sh
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build arm,freebsd
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_ARP                            = 0x23
-       AF_ATM                            = 0x1e
-       AF_BLUETOOTH                      = 0x24
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1a
-       AF_ECMA                           = 0x8
-       AF_HYLINK                         = 0xf
-       AF_IEEE80211                      = 0x25
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x1c
-       AF_INET6_SDP                      = 0x2a
-       AF_INET_SDP                       = 0x28
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1a
-       AF_ISO                            = 0x7
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x2a
-       AF_NATM                           = 0x1d
-       AF_NETBIOS                        = 0x6
-       AF_NETGRAPH                       = 0x20
-       AF_OSI                            = 0x7
-       AF_PUP                            = 0x4
-       AF_ROUTE                          = 0x11
-       AF_SCLUSTER                       = 0x22
-       AF_SIP                            = 0x18
-       AF_SLOW                           = 0x21
-       AF_SNA                            = 0xb
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       AF_VENDOR00                       = 0x27
-       AF_VENDOR01                       = 0x29
-       AF_VENDOR02                       = 0x2b
-       AF_VENDOR03                       = 0x2d
-       AF_VENDOR04                       = 0x2f
-       AF_VENDOR05                       = 0x31
-       AF_VENDOR06                       = 0x33
-       AF_VENDOR07                       = 0x35
-       AF_VENDOR08                       = 0x37
-       AF_VENDOR09                       = 0x39
-       AF_VENDOR10                       = 0x3b
-       AF_VENDOR11                       = 0x3d
-       AF_VENDOR12                       = 0x3f
-       AF_VENDOR13                       = 0x41
-       AF_VENDOR14                       = 0x43
-       AF_VENDOR15                       = 0x45
-       AF_VENDOR16                       = 0x47
-       AF_VENDOR17                       = 0x49
-       AF_VENDOR18                       = 0x4b
-       AF_VENDOR19                       = 0x4d
-       AF_VENDOR20                       = 0x4f
-       AF_VENDOR21                       = 0x51
-       AF_VENDOR22                       = 0x53
-       AF_VENDOR23                       = 0x55
-       AF_VENDOR24                       = 0x57
-       AF_VENDOR25                       = 0x59
-       AF_VENDOR26                       = 0x5b
-       AF_VENDOR27                       = 0x5d
-       AF_VENDOR28                       = 0x5f
-       AF_VENDOR29                       = 0x61
-       AF_VENDOR30                       = 0x63
-       AF_VENDOR31                       = 0x65
-       AF_VENDOR32                       = 0x67
-       AF_VENDOR33                       = 0x69
-       AF_VENDOR34                       = 0x6b
-       AF_VENDOR35                       = 0x6d
-       AF_VENDOR36                       = 0x6f
-       AF_VENDOR37                       = 0x71
-       AF_VENDOR38                       = 0x73
-       AF_VENDOR39                       = 0x75
-       AF_VENDOR40                       = 0x77
-       AF_VENDOR41                       = 0x79
-       AF_VENDOR42                       = 0x7b
-       AF_VENDOR43                       = 0x7d
-       AF_VENDOR44                       = 0x7f
-       AF_VENDOR45                       = 0x81
-       AF_VENDOR46                       = 0x83
-       AF_VENDOR47                       = 0x85
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B460800                           = 0x70800
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B921600                           = 0xe1000
-       B9600                             = 0x2580
-       BIOCFEEDBACK                      = 0x8004427c
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDIRECTION                    = 0x40044276
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc0084279
-       BIOCGETBUFMODE                    = 0x4004427d
-       BIOCGETIF                         = 0x4020426b
-       BIOCGETZMAX                       = 0x4004427f
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRSIG                         = 0x40044272
-       BIOCGRTIMEOUT                     = 0x4008426e
-       BIOCGSEESENT                      = 0x40044276
-       BIOCGSTATS                        = 0x4008426f
-       BIOCGTSTAMP                       = 0x40044283
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCLOCK                          = 0x2000427a
-       BIOCPROMISC                       = 0x20004269
-       BIOCROTZBUF                       = 0x400c4280
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDIRECTION                    = 0x80044277
-       BIOCSDLT                          = 0x80044278
-       BIOCSETBUFMODE                    = 0x8004427e
-       BIOCSETF                          = 0x80084267
-       BIOCSETFNR                        = 0x80084282
-       BIOCSETIF                         = 0x8020426c
-       BIOCSETWF                         = 0x8008427b
-       BIOCSETZBUF                       = 0x800c4281
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRSIG                         = 0x80044273
-       BIOCSRTIMEOUT                     = 0x8008426d
-       BIOCSSEESENT                      = 0x80044277
-       BIOCSTSTAMP                       = 0x80044284
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x4
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_BUFMODE_BUFFER                = 0x1
-       BPF_BUFMODE_ZBUF                  = 0x2
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x80000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_T_BINTIME                     = 0x2
-       BPF_T_BINTIME_FAST                = 0x102
-       BPF_T_BINTIME_MONOTONIC           = 0x202
-       BPF_T_BINTIME_MONOTONIC_FAST      = 0x302
-       BPF_T_FAST                        = 0x100
-       BPF_T_FLAG_MASK                   = 0x300
-       BPF_T_FORMAT_MASK                 = 0x3
-       BPF_T_MICROTIME                   = 0x0
-       BPF_T_MICROTIME_FAST              = 0x100
-       BPF_T_MICROTIME_MONOTONIC         = 0x200
-       BPF_T_MICROTIME_MONOTONIC_FAST    = 0x300
-       BPF_T_MONOTONIC                   = 0x200
-       BPF_T_MONOTONIC_FAST              = 0x300
-       BPF_T_NANOTIME                    = 0x1
-       BPF_T_NANOTIME_FAST               = 0x101
-       BPF_T_NANOTIME_MONOTONIC          = 0x201
-       BPF_T_NANOTIME_MONOTONIC_FAST     = 0x301
-       BPF_T_NONE                        = 0x3
-       BPF_T_NORMAL                      = 0x0
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0x14
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0x18
-       CTL_NET                           = 0x4
-       DLT_A429                          = 0xb8
-       DLT_A653_ICM                      = 0xb9
-       DLT_AIRONET_HEADER                = 0x78
-       DLT_AOS                           = 0xde
-       DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
-       DLT_ARCNET                        = 0x7
-       DLT_ARCNET_LINUX                  = 0x81
-       DLT_ATM_CLIP                      = 0x13
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AURORA                        = 0x7e
-       DLT_AX25                          = 0x3
-       DLT_AX25_KISS                     = 0xca
-       DLT_BACNET_MS_TP                  = 0xa5
-       DLT_BLUETOOTH_HCI_H4              = 0xbb
-       DLT_BLUETOOTH_HCI_H4_WITH_PHDR    = 0xc9
-       DLT_CAN20B                        = 0xbe
-       DLT_CAN_SOCKETCAN                 = 0xe3
-       DLT_CHAOS                         = 0x5
-       DLT_CHDLC                         = 0x68
-       DLT_CISCO_IOS                     = 0x76
-       DLT_C_HDLC                        = 0x68
-       DLT_C_HDLC_WITH_DIR               = 0xcd
-       DLT_DBUS                          = 0xe7
-       DLT_DECT                          = 0xdd
-       DLT_DOCSIS                        = 0x8f
-       DLT_DVB_CI                        = 0xeb
-       DLT_ECONET                        = 0x73
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0x6d
-       DLT_ERF                           = 0xc5
-       DLT_ERF_ETH                       = 0xaf
-       DLT_ERF_POS                       = 0xb0
-       DLT_FC_2                          = 0xe0
-       DLT_FC_2_WITH_FRAME_DELIMS        = 0xe1
-       DLT_FDDI                          = 0xa
-       DLT_FLEXRAY                       = 0xd2
-       DLT_FRELAY                        = 0x6b
-       DLT_FRELAY_WITH_DIR               = 0xce
-       DLT_GCOM_SERIAL                   = 0xad
-       DLT_GCOM_T1E1                     = 0xac
-       DLT_GPF_F                         = 0xab
-       DLT_GPF_T                         = 0xaa
-       DLT_GPRS_LLC                      = 0xa9
-       DLT_GSMTAP_ABIS                   = 0xda
-       DLT_GSMTAP_UM                     = 0xd9
-       DLT_HHDLC                         = 0x79
-       DLT_IBM_SN                        = 0x92
-       DLT_IBM_SP                        = 0x91
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_IEEE802_11_RADIO_AVS          = 0xa3
-       DLT_IEEE802_15_4                  = 0xc3
-       DLT_IEEE802_15_4_LINUX            = 0xbf
-       DLT_IEEE802_15_4_NOFCS            = 0xe6
-       DLT_IEEE802_15_4_NONASK_PHY       = 0xd7
-       DLT_IEEE802_16_MAC_CPS            = 0xbc
-       DLT_IEEE802_16_MAC_CPS_RADIO      = 0xc1
-       DLT_IPFILTER                      = 0x74
-       DLT_IPMB                          = 0xc7
-       DLT_IPMB_LINUX                    = 0xd1
-       DLT_IPNET                         = 0xe2
-       DLT_IPOIB                         = 0xf2
-       DLT_IPV4                          = 0xe4
-       DLT_IPV6                          = 0xe5
-       DLT_IP_OVER_FC                    = 0x7a
-       DLT_JUNIPER_ATM1                  = 0x89
-       DLT_JUNIPER_ATM2                  = 0x87
-       DLT_JUNIPER_ATM_CEMIC             = 0xee
-       DLT_JUNIPER_CHDLC                 = 0xb5
-       DLT_JUNIPER_ES                    = 0x84
-       DLT_JUNIPER_ETHER                 = 0xb2
-       DLT_JUNIPER_FIBRECHANNEL          = 0xea
-       DLT_JUNIPER_FRELAY                = 0xb4
-       DLT_JUNIPER_GGSN                  = 0x85
-       DLT_JUNIPER_ISM                   = 0xc2
-       DLT_JUNIPER_MFR                   = 0x86
-       DLT_JUNIPER_MLFR                  = 0x83
-       DLT_JUNIPER_MLPPP                 = 0x82
-       DLT_JUNIPER_MONITOR               = 0xa4
-       DLT_JUNIPER_PIC_PEER              = 0xae
-       DLT_JUNIPER_PPP                   = 0xb3
-       DLT_JUNIPER_PPPOE                 = 0xa7
-       DLT_JUNIPER_PPPOE_ATM             = 0xa8
-       DLT_JUNIPER_SERVICES              = 0x88
-       DLT_JUNIPER_SRX_E2E               = 0xe9
-       DLT_JUNIPER_ST                    = 0xc8
-       DLT_JUNIPER_VP                    = 0xb7
-       DLT_JUNIPER_VS                    = 0xe8
-       DLT_LAPB_WITH_DIR                 = 0xcf
-       DLT_LAPD                          = 0xcb
-       DLT_LIN                           = 0xd4
-       DLT_LINUX_EVDEV                   = 0xd8
-       DLT_LINUX_IRDA                    = 0x90
-       DLT_LINUX_LAPD                    = 0xb1
-       DLT_LINUX_PPP_WITHDIRECTION       = 0xa6
-       DLT_LINUX_SLL                     = 0x71
-       DLT_LOOP                          = 0x6c
-       DLT_LTALK                         = 0x72
-       DLT_MATCHING_MAX                  = 0xf6
-       DLT_MATCHING_MIN                  = 0x68
-       DLT_MFR                           = 0xb6
-       DLT_MOST                          = 0xd3
-       DLT_MPEG_2_TS                     = 0xf3
-       DLT_MPLS                          = 0xdb
-       DLT_MTP2                          = 0x8c
-       DLT_MTP2_WITH_PHDR                = 0x8b
-       DLT_MTP3                          = 0x8d
-       DLT_MUX27010                      = 0xec
-       DLT_NETANALYZER                   = 0xf0
-       DLT_NETANALYZER_TRANSPARENT       = 0xf1
-       DLT_NFC_LLCP                      = 0xf5
-       DLT_NFLOG                         = 0xef
-       DLT_NG40                          = 0xf4
-       DLT_NULL                          = 0x0
-       DLT_PCI_EXP                       = 0x7d
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x79
-       DLT_PPI                           = 0xc0
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0x10
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_PPPD                      = 0xa6
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PPP_WITH_DIR                  = 0xcc
-       DLT_PPP_WITH_DIRECTION            = 0xa6
-       DLT_PRISM_HEADER                  = 0x77
-       DLT_PRONET                        = 0x4
-       DLT_RAIF1                         = 0xc6
-       DLT_RAW                           = 0xc
-       DLT_RIO                           = 0x7c
-       DLT_SCCP                          = 0x8e
-       DLT_SITA                          = 0xc4
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xf
-       DLT_STANAG_5066_D_PDU             = 0xed
-       DLT_SUNATM                        = 0x7b
-       DLT_SYMANTEC_FIREWALL             = 0x63
-       DLT_TZSP                          = 0x80
-       DLT_USB                           = 0xba
-       DLT_USB_LINUX                     = 0xbd
-       DLT_USB_LINUX_MMAPPED             = 0xdc
-       DLT_USER0                         = 0x93
-       DLT_USER1                         = 0x94
-       DLT_USER10                        = 0x9d
-       DLT_USER11                        = 0x9e
-       DLT_USER12                        = 0x9f
-       DLT_USER13                        = 0xa0
-       DLT_USER14                        = 0xa1
-       DLT_USER15                        = 0xa2
-       DLT_USER2                         = 0x95
-       DLT_USER3                         = 0x96
-       DLT_USER4                         = 0x97
-       DLT_USER5                         = 0x98
-       DLT_USER6                         = 0x99
-       DLT_USER7                         = 0x9a
-       DLT_USER8                         = 0x9b
-       DLT_USER9                         = 0x9c
-       DLT_WIHART                        = 0xdf
-       DLT_X2E_SERIAL                    = 0xd5
-       DLT_X2E_XORAYA                    = 0xd6
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       DT_WHT                            = 0xe
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EVFILT_AIO                        = -0x3
-       EVFILT_FS                         = -0x9
-       EVFILT_LIO                        = -0xa
-       EVFILT_PROC                       = -0x5
-       EVFILT_READ                       = -0x1
-       EVFILT_SIGNAL                     = -0x6
-       EVFILT_SYSCOUNT                   = 0xb
-       EVFILT_TIMER                      = -0x7
-       EVFILT_USER                       = -0xb
-       EVFILT_VNODE                      = -0x4
-       EVFILT_WRITE                      = -0x2
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_DISPATCH                       = 0x80
-       EV_DROP                           = 0x1000
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_RECEIPT                        = 0x40
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTATTR_NAMESPACE_EMPTY           = 0x0
-       EXTATTR_NAMESPACE_SYSTEM          = 0x2
-       EXTATTR_NAMESPACE_USER            = 0x1
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x400
-       FLUSHO                            = 0x800000
-       F_CANCEL                          = 0x5
-       F_DUP2FD                          = 0xa
-       F_DUP2FD_CLOEXEC                  = 0x12
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0x11
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0xb
-       F_GETOWN                          = 0x5
-       F_OGETLK                          = 0x7
-       F_OK                              = 0x0
-       F_OSETLK                          = 0x8
-       F_OSETLKW                         = 0x9
-       F_RDAHEAD                         = 0x10
-       F_RDLCK                           = 0x1
-       F_READAHEAD                       = 0xf
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0xc
-       F_SETLKW                          = 0xd
-       F_SETLK_REMOTE                    = 0xe
-       F_SETOWN                          = 0x6
-       F_UNLCK                           = 0x2
-       F_UNLCKSYS                        = 0x4
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFAN_ARRIVAL                      = 0x0
-       IFAN_DEPARTURE                    = 0x1
-       IFF_ALLMULTI                      = 0x200
-       IFF_ALTPHYS                       = 0x4000
-       IFF_BROADCAST                     = 0x2
-       IFF_CANTCHANGE                    = 0x218f72
-       IFF_CANTCONFIG                    = 0x10000
-       IFF_DEBUG                         = 0x4
-       IFF_DRV_OACTIVE                   = 0x400
-       IFF_DRV_RUNNING                   = 0x40
-       IFF_DYING                         = 0x200000
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MONITOR                       = 0x40000
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PPROMISC                      = 0x20000
-       IFF_PROMISC                       = 0x100
-       IFF_RENAMING                      = 0x400000
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_SMART                         = 0x20
-       IFF_STATICARP                     = 0x80000
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_A12MPPSWITCH                  = 0x82
-       IFT_AAL2                          = 0xbb
-       IFT_AAL5                          = 0x31
-       IFT_ADSL                          = 0x5e
-       IFT_AFLANE8023                    = 0x3b
-       IFT_AFLANE8025                    = 0x3c
-       IFT_ARAP                          = 0x58
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ASYNC                         = 0x54
-       IFT_ATM                           = 0x25
-       IFT_ATMDXI                        = 0x69
-       IFT_ATMFUNI                       = 0x6a
-       IFT_ATMIMA                        = 0x6b
-       IFT_ATMLOGICAL                    = 0x50
-       IFT_ATMRADIO                      = 0xbd
-       IFT_ATMSUBINTERFACE               = 0x86
-       IFT_ATMVCIENDPT                   = 0xc2
-       IFT_ATMVIRTUAL                    = 0x95
-       IFT_BGPPOLICYACCOUNTING           = 0xa2
-       IFT_BRIDGE                        = 0xd1
-       IFT_BSC                           = 0x53
-       IFT_CARP                          = 0xf8
-       IFT_CCTEMUL                       = 0x3d
-       IFT_CEPT                          = 0x13
-       IFT_CES                           = 0x85
-       IFT_CHANNEL                       = 0x46
-       IFT_CNR                           = 0x55
-       IFT_COFFEE                        = 0x84
-       IFT_COMPOSITELINK                 = 0x9b
-       IFT_DCN                           = 0x8d
-       IFT_DIGITALPOWERLINE              = 0x8a
-       IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
-       IFT_DLSW                          = 0x4a
-       IFT_DOCSCABLEDOWNSTREAM           = 0x80
-       IFT_DOCSCABLEMACLAYER             = 0x7f
-       IFT_DOCSCABLEUPSTREAM             = 0x81
-       IFT_DS0                           = 0x51
-       IFT_DS0BUNDLE                     = 0x52
-       IFT_DS1FDL                        = 0xaa
-       IFT_DS3                           = 0x1e
-       IFT_DTM                           = 0x8c
-       IFT_DVBASILN                      = 0xac
-       IFT_DVBASIOUT                     = 0xad
-       IFT_DVBRCCDOWNSTREAM              = 0x93
-       IFT_DVBRCCMACLAYER                = 0x92
-       IFT_DVBRCCUPSTREAM                = 0x94
-       IFT_ENC                           = 0xf4
-       IFT_EON                           = 0x19
-       IFT_EPLRS                         = 0x57
-       IFT_ESCON                         = 0x49
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0xf2
-       IFT_FAST                          = 0x7d
-       IFT_FASTETHER                     = 0x3e
-       IFT_FASTETHERFX                   = 0x45
-       IFT_FDDI                          = 0xf
-       IFT_FIBRECHANNEL                  = 0x38
-       IFT_FRAMERELAYINTERCONNECT        = 0x3a
-       IFT_FRAMERELAYMPI                 = 0x5c
-       IFT_FRDLCIENDPT                   = 0xc1
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_FRF16MFRBUNDLE                = 0xa3
-       IFT_FRFORWARD                     = 0x9e
-       IFT_G703AT2MB                     = 0x43
-       IFT_G703AT64K                     = 0x42
-       IFT_GIF                           = 0xf0
-       IFT_GIGABITETHERNET               = 0x75
-       IFT_GR303IDT                      = 0xb2
-       IFT_GR303RDT                      = 0xb1
-       IFT_H323GATEKEEPER                = 0xa4
-       IFT_H323PROXY                     = 0xa5
-       IFT_HDH1822                       = 0x3
-       IFT_HDLC                          = 0x76
-       IFT_HDSL2                         = 0xa8
-       IFT_HIPERLAN2                     = 0xb7
-       IFT_HIPPI                         = 0x2f
-       IFT_HIPPIINTERFACE                = 0x39
-       IFT_HOSTPAD                       = 0x5a
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IBM370PARCHAN                 = 0x48
-       IFT_IDSL                          = 0x9a
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE80211                     = 0x47
-       IFT_IEEE80212                     = 0x37
-       IFT_IEEE8023ADLAG                 = 0xa1
-       IFT_IFGSN                         = 0x91
-       IFT_IMT                           = 0xbe
-       IFT_INFINIBAND                    = 0xc7
-       IFT_INTERLEAVE                    = 0x7c
-       IFT_IP                            = 0x7e
-       IFT_IPFORWARD                     = 0x8e
-       IFT_IPOVERATM                     = 0x72
-       IFT_IPOVERCDLC                    = 0x6d
-       IFT_IPOVERCLAW                    = 0x6e
-       IFT_IPSWITCH                      = 0x4e
-       IFT_IPXIP                         = 0xf9
-       IFT_ISDN                          = 0x3f
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISDNS                         = 0x4b
-       IFT_ISDNU                         = 0x4c
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88025CRFPINT               = 0x62
-       IFT_ISO88025DTR                   = 0x56
-       IFT_ISO88025FIBER                 = 0x73
-       IFT_ISO88026                      = 0xa
-       IFT_ISUP                          = 0xb3
-       IFT_L2VLAN                        = 0x87
-       IFT_L3IPVLAN                      = 0x88
-       IFT_L3IPXVLAN                     = 0x89
-       IFT_LAPB                          = 0x10
-       IFT_LAPD                          = 0x4d
-       IFT_LAPF                          = 0x77
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MEDIAMAILOVERIP               = 0x8b
-       IFT_MFSIGLINK                     = 0xa7
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_MPC                           = 0x71
-       IFT_MPLS                          = 0xa6
-       IFT_MPLSTUNNEL                    = 0x96
-       IFT_MSDSL                         = 0x8f
-       IFT_MVL                           = 0xbf
-       IFT_MYRINET                       = 0x63
-       IFT_NFAS                          = 0xaf
-       IFT_NSIP                          = 0x1b
-       IFT_OPTICALCHANNEL                = 0xc3
-       IFT_OPTICALTRANSPORT              = 0xc4
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PFLOG                         = 0xf6
-       IFT_PFSYNC                        = 0xf7
-       IFT_PLC                           = 0xae
-       IFT_POS                           = 0xab
-       IFT_PPP                           = 0x17
-       IFT_PPPMULTILINKBUNDLE            = 0x6c
-       IFT_PROPBWAP2MP                   = 0xb8
-       IFT_PROPCNLS                      = 0x59
-       IFT_PROPDOCSWIRELESSDOWNSTREAM    = 0xb5
-       IFT_PROPDOCSWIRELESSMACLAYER      = 0xb4
-       IFT_PROPDOCSWIRELESSUPSTREAM      = 0xb6
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PROPWIRELESSP2P               = 0x9d
-       IFT_PTPSERIAL                     = 0x16
-       IFT_PVC                           = 0xf1
-       IFT_QLLC                          = 0x44
-       IFT_RADIOMAC                      = 0xbc
-       IFT_RADSL                         = 0x5f
-       IFT_REACHDSL                      = 0xc0
-       IFT_RFC1483                       = 0x9f
-       IFT_RS232                         = 0x21
-       IFT_RSRB                          = 0x4f
-       IFT_SDLC                          = 0x11
-       IFT_SDSL                          = 0x60
-       IFT_SHDSL                         = 0xa9
-       IFT_SIP                           = 0x1f
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETOVERHEADCHANNEL          = 0xb9
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_SRP                           = 0x97
-       IFT_SS7SIGLINK                    = 0x9c
-       IFT_STACKTOSTACK                  = 0x6f
-       IFT_STARLAN                       = 0xb
-       IFT_STF                           = 0xd7
-       IFT_T1                            = 0x12
-       IFT_TDLC                          = 0x74
-       IFT_TERMPAD                       = 0x5b
-       IFT_TR008                         = 0xb0
-       IFT_TRANSPHDLC                    = 0x7b
-       IFT_TUNNEL                        = 0x83
-       IFT_ULTRA                         = 0x1d
-       IFT_USB                           = 0xa0
-       IFT_V11                           = 0x40
-       IFT_V35                           = 0x2d
-       IFT_V36                           = 0x41
-       IFT_V37                           = 0x78
-       IFT_VDSL                          = 0x61
-       IFT_VIRTUALIPADDRESS              = 0x70
-       IFT_VOICEEM                       = 0x64
-       IFT_VOICEENCAP                    = 0x67
-       IFT_VOICEFXO                      = 0x65
-       IFT_VOICEFXS                      = 0x66
-       IFT_VOICEOVERATM                  = 0x98
-       IFT_VOICEOVERFRAMERELAY           = 0x99
-       IFT_VOICEOVERIP                   = 0x68
-       IFT_X213                          = 0x5d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25HUNTGROUP                  = 0x7a
-       IFT_X25MLP                        = 0x79
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LOOPBACKNET                    = 0x7f
-       IN_RFC3021_MASK                   = 0xfffffffe
-       IPPROTO_3PC                       = 0x22
-       IPPROTO_ADFS                      = 0x44
-       IPPROTO_AH                        = 0x33
-       IPPROTO_AHIP                      = 0x3d
-       IPPROTO_APES                      = 0x63
-       IPPROTO_ARGUS                     = 0xd
-       IPPROTO_AX25                      = 0x5d
-       IPPROTO_BHA                       = 0x31
-       IPPROTO_BLT                       = 0x1e
-       IPPROTO_BRSATMON                  = 0x4c
-       IPPROTO_CARP                      = 0x70
-       IPPROTO_CFTP                      = 0x3e
-       IPPROTO_CHAOS                     = 0x10
-       IPPROTO_CMTP                      = 0x26
-       IPPROTO_CPHB                      = 0x49
-       IPPROTO_CPNX                      = 0x48
-       IPPROTO_DDP                       = 0x25
-       IPPROTO_DGP                       = 0x56
-       IPPROTO_DIVERT                    = 0x102
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_EMCON                     = 0xe
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GMTP                      = 0x64
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HELLO                     = 0x3f
-       IPPROTO_HIP                       = 0x8b
-       IPPROTO_HMP                       = 0x14
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IDPR                      = 0x23
-       IPPROTO_IDRP                      = 0x2d
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IGP                       = 0x55
-       IPPROTO_IGRP                      = 0x58
-       IPPROTO_IL                        = 0x28
-       IPPROTO_INLSP                     = 0x34
-       IPPROTO_INP                       = 0x20
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPCV                      = 0x47
-       IPPROTO_IPEIP                     = 0x5e
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPPC                      = 0x43
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_IRTP                      = 0x1c
-       IPPROTO_KRYPTOLAN                 = 0x41
-       IPPROTO_LARP                      = 0x5b
-       IPPROTO_LEAF1                     = 0x19
-       IPPROTO_LEAF2                     = 0x1a
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x34
-       IPPROTO_MEAS                      = 0x13
-       IPPROTO_MH                        = 0x87
-       IPPROTO_MHRP                      = 0x30
-       IPPROTO_MICP                      = 0x5f
-       IPPROTO_MOBILE                    = 0x37
-       IPPROTO_MPLS                      = 0x89
-       IPPROTO_MTP                       = 0x5c
-       IPPROTO_MUX                       = 0x12
-       IPPROTO_ND                        = 0x4d
-       IPPROTO_NHRP                      = 0x36
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_NSP                       = 0x1f
-       IPPROTO_NVPII                     = 0xb
-       IPPROTO_OLD_DIVERT                = 0xfe
-       IPPROTO_OSPFIGP                   = 0x59
-       IPPROTO_PFSYNC                    = 0xf0
-       IPPROTO_PGM                       = 0x71
-       IPPROTO_PIGP                      = 0x9
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PRM                       = 0x15
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_PVP                       = 0x4b
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_RCCMON                    = 0xa
-       IPPROTO_RDP                       = 0x1b
-       IPPROTO_RESERVED_253              = 0xfd
-       IPPROTO_RESERVED_254              = 0xfe
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_RVD                       = 0x42
-       IPPROTO_SATEXPAK                  = 0x40
-       IPPROTO_SATMON                    = 0x45
-       IPPROTO_SCCSP                     = 0x60
-       IPPROTO_SCTP                      = 0x84
-       IPPROTO_SDRP                      = 0x2a
-       IPPROTO_SEND                      = 0x103
-       IPPROTO_SEP                       = 0x21
-       IPPROTO_SHIM6                     = 0x8c
-       IPPROTO_SKIP                      = 0x39
-       IPPROTO_SPACER                    = 0x7fff
-       IPPROTO_SRPC                      = 0x5a
-       IPPROTO_ST                        = 0x7
-       IPPROTO_SVMTP                     = 0x52
-       IPPROTO_SWIPE                     = 0x35
-       IPPROTO_TCF                       = 0x57
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TLSP                      = 0x38
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_TPXX                      = 0x27
-       IPPROTO_TRUNK1                    = 0x17
-       IPPROTO_TRUNK2                    = 0x18
-       IPPROTO_TTP                       = 0x54
-       IPPROTO_UDP                       = 0x11
-       IPPROTO_UDPLITE                   = 0x88
-       IPPROTO_VINES                     = 0x53
-       IPPROTO_VISA                      = 0x46
-       IPPROTO_VMTP                      = 0x51
-       IPPROTO_WBEXPAK                   = 0x4f
-       IPPROTO_WBMON                     = 0x4e
-       IPPROTO_WSN                       = 0x4a
-       IPPROTO_XNET                      = 0xf
-       IPPROTO_XTP                       = 0x24
-       IPV6_AUTOFLOWLABEL                = 0x3b
-       IPV6_BINDANY                      = 0x40
-       IPV6_BINDV6ONLY                   = 0x1b
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_DONTFRAG                     = 0x3e
-       IPV6_DSTOPTS                      = 0x32
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x78
-       IPV6_FW_ADD                       = 0x1e
-       IPV6_FW_DEL                       = 0x1f
-       IPV6_FW_FLUSH                     = 0x20
-       IPV6_FW_GET                       = 0x22
-       IPV6_FW_ZERO                      = 0x21
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_HOPLIMIT                     = 0x2f
-       IPV6_HOPOPTS                      = 0x31
-       IPV6_IPSEC_POLICY                 = 0x1c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXOPTHDR                    = 0x800
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MAX_GROUP_SRC_FILTER         = 0x200
-       IPV6_MAX_MEMBERSHIPS              = 0xfff
-       IPV6_MAX_SOCK_SRC_FILTER          = 0x80
-       IPV6_MIN_MEMBERSHIPS              = 0x1f
-       IPV6_MMTU                         = 0x500
-       IPV6_MSFILTER                     = 0x4a
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_NEXTHOP                      = 0x30
-       IPV6_PATHMTU                      = 0x2c
-       IPV6_PKTINFO                      = 0x2e
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_PREFER_TEMPADDR              = 0x3f
-       IPV6_RECVDSTOPTS                  = 0x28
-       IPV6_RECVHOPLIMIT                 = 0x25
-       IPV6_RECVHOPOPTS                  = 0x27
-       IPV6_RECVPATHMTU                  = 0x2b
-       IPV6_RECVPKTINFO                  = 0x24
-       IPV6_RECVRTHDR                    = 0x26
-       IPV6_RECVTCLASS                   = 0x39
-       IPV6_RTHDR                        = 0x33
-       IPV6_RTHDRDSTOPTS                 = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x3d
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_USE_MIN_MTU                  = 0x2a
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_ADD_SOURCE_MEMBERSHIP          = 0x46
-       IP_BINDANY                        = 0x18
-       IP_BLOCK_SOURCE                   = 0x48
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DONTFRAG                       = 0x43
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_DROP_SOURCE_MEMBERSHIP         = 0x47
-       IP_DUMMYNET3                      = 0x31
-       IP_DUMMYNET_CONFIGURE             = 0x3c
-       IP_DUMMYNET_DEL                   = 0x3d
-       IP_DUMMYNET_FLUSH                 = 0x3e
-       IP_DUMMYNET_GET                   = 0x40
-       IP_FAITH                          = 0x16
-       IP_FW3                            = 0x30
-       IP_FW_ADD                         = 0x32
-       IP_FW_DEL                         = 0x33
-       IP_FW_FLUSH                       = 0x34
-       IP_FW_GET                         = 0x36
-       IP_FW_NAT_CFG                     = 0x38
-       IP_FW_NAT_DEL                     = 0x39
-       IP_FW_NAT_GET_CONFIG              = 0x3a
-       IP_FW_NAT_GET_LOG                 = 0x3b
-       IP_FW_RESETLOG                    = 0x37
-       IP_FW_TABLE_ADD                   = 0x28
-       IP_FW_TABLE_DEL                   = 0x29
-       IP_FW_TABLE_FLUSH                 = 0x2a
-       IP_FW_TABLE_GETSIZE               = 0x2b
-       IP_FW_TABLE_LIST                  = 0x2c
-       IP_FW_ZERO                        = 0x35
-       IP_HDRINCL                        = 0x2
-       IP_IPSEC_POLICY                   = 0x15
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_GROUP_SRC_FILTER           = 0x200
-       IP_MAX_MEMBERSHIPS                = 0xfff
-       IP_MAX_SOCK_MUTE_FILTER           = 0x80
-       IP_MAX_SOCK_SRC_FILTER            = 0x80
-       IP_MAX_SOURCE_FILTER              = 0x400
-       IP_MF                             = 0x2000
-       IP_MINTTL                         = 0x42
-       IP_MIN_MEMBERSHIPS                = 0x1f
-       IP_MSFILTER                       = 0x4a
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_MULTICAST_VIF                  = 0xe
-       IP_OFFMASK                        = 0x1fff
-       IP_ONESBCAST                      = 0x17
-       IP_OPTIONS                        = 0x1
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVIF                         = 0x14
-       IP_RECVOPTS                       = 0x5
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVTOS                        = 0x44
-       IP_RECVTTL                        = 0x41
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_RSVP_OFF                       = 0x10
-       IP_RSVP_ON                        = 0xf
-       IP_RSVP_VIF_OFF                   = 0x12
-       IP_RSVP_VIF_ON                    = 0x11
-       IP_SENDSRCADDR                    = 0x7
-       IP_TOS                            = 0x3
-       IP_TTL                            = 0x4
-       IP_UNBLOCK_SOURCE                 = 0x49
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_AUTOSYNC                     = 0x7
-       MADV_CORE                         = 0x9
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x5
-       MADV_NOCORE                       = 0x8
-       MADV_NORMAL                       = 0x0
-       MADV_NOSYNC                       = 0x6
-       MADV_PROTECT                      = 0xa
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_WILLNEED                     = 0x3
-       MAP_ALIGNED_SUPER                 = 0x1000000
-       MAP_ALIGNMENT_MASK                = -0x1000000
-       MAP_ALIGNMENT_SHIFT               = 0x18
-       MAP_ANON                          = 0x1000
-       MAP_ANONYMOUS                     = 0x1000
-       MAP_COPY                          = 0x2
-       MAP_EXCL                          = 0x4000
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_NOCORE                        = 0x20000
-       MAP_NORESERVE                     = 0x40
-       MAP_NOSYNC                        = 0x800
-       MAP_PREFAULT_READ                 = 0x40000
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_RESERVED0080                  = 0x80
-       MAP_RESERVED0100                  = 0x100
-       MAP_SHARED                        = 0x1
-       MAP_STACK                         = 0x400
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_CMSG_CLOEXEC                  = 0x40000
-       MSG_COMPAT                        = 0x8000
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOF                           = 0x100
-       MSG_EOR                           = 0x8
-       MSG_NBIO                          = 0x4000
-       MSG_NOSIGNAL                      = 0x20000
-       MSG_NOTIFICATION                  = 0x2000
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_TRUNC                         = 0x10
-       MSG_WAITALL                       = 0x40
-       MS_ASYNC                          = 0x1
-       MS_INVALIDATE                     = 0x2
-       MS_SYNC                           = 0x0
-       NAME_MAX                          = 0xff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x3
-       NET_RT_IFLISTL                    = 0x5
-       NET_RT_IFMALIST                   = 0x4
-       NET_RT_MAXID                      = 0x6
-       NOFLSH                            = 0x80000000
-       NOTE_ATTRIB                       = 0x8
-       NOTE_CHILD                        = 0x4
-       NOTE_DELETE                       = 0x1
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FFAND                        = 0x40000000
-       NOTE_FFCOPY                       = 0xc0000000
-       NOTE_FFCTRLMASK                   = 0xc0000000
-       NOTE_FFLAGSMASK                   = 0xffffff
-       NOTE_FFNOP                        = 0x0
-       NOTE_FFOR                         = 0x80000000
-       NOTE_FORK                         = 0x40000000
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_PCTRLMASK                    = 0xf0000000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_TRIGGER                      = 0x1000000
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       ONLCR                             = 0x2
-       ONLRET                            = 0x40
-       ONOCR                             = 0x20
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x100000
-       O_CREAT                           = 0x200
-       O_DIRECT                          = 0x10000
-       O_DIRECTORY                       = 0x20000
-       O_EXCL                            = 0x800
-       O_EXEC                            = 0x40000
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x8000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_SHLOCK                          = 0x10
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_TTY_INIT                        = 0x80000
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       RLIMIT_AS                         = 0xa
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_MAX                          = 0x8
-       RTAX_NETMASK                      = 0x2
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_NETMASK                       = 0x4
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_BROADCAST                     = 0x400000
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_FMASK                         = 0x1004d808
-       RTF_GATEWAY                       = 0x2
-       RTF_GWFLAG_COMPAT                 = 0x80000000
-       RTF_HOST                          = 0x4
-       RTF_LLDATA                        = 0x400
-       RTF_LLINFO                        = 0x400
-       RTF_LOCAL                         = 0x200000
-       RTF_MODIFIED                      = 0x20
-       RTF_MULTICAST                     = 0x800000
-       RTF_PINNED                        = 0x100000
-       RTF_PRCLONING                     = 0x10000
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_PROTO3                        = 0x40000
-       RTF_REJECT                        = 0x8
-       RTF_RNH_LOCKED                    = 0x40000000
-       RTF_STATIC                        = 0x800
-       RTF_STICKY                        = 0x10000000
-       RTF_UP                            = 0x1
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_DELMADDR                      = 0x10
-       RTM_GET                           = 0x4
-       RTM_IEEE80211                     = 0x12
-       RTM_IFANNOUNCE                    = 0x11
-       RTM_IFINFO                        = 0xe
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_NEWMADDR                      = 0xf
-       RTM_OLDADD                        = 0x9
-       RTM_OLDDEL                        = 0xa
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_VERSION                       = 0x5
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RTV_WEIGHT                        = 0x100
-       RT_ALL_FIBS                       = -0x1
-       RT_CACHING_CONTEXT                = 0x1
-       RT_DEFAULT_FIB                    = 0x0
-       RT_NORTREF                        = 0x2
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       RUSAGE_THREAD                     = 0x1
-       SCM_BINTIME                       = 0x4
-       SCM_CREDS                         = 0x3
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x2
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80206931
-       SIOCADDRT                         = 0x8030720a
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCAIFGROUP                      = 0x80246987
-       SIOCALIFADDR                      = 0x8118691b
-       SIOCATMARK                        = 0x40047307
-       SIOCDELMULTI                      = 0x80206932
-       SIOCDELRT                         = 0x8030720b
-       SIOCDIFADDR                       = 0x80206919
-       SIOCDIFGROUP                      = 0x80246989
-       SIOCDIFPHYADDR                    = 0x80206949
-       SIOCDLIFADDR                      = 0x8118691d
-       SIOCGDRVSPEC                      = 0xc01c697b
-       SIOCGETSGCNT                      = 0xc0147210
-       SIOCGETVIFCNT                     = 0xc014720f
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0206921
-       SIOCGIFBRDADDR                    = 0xc0206923
-       SIOCGIFCAP                        = 0xc020691f
-       SIOCGIFCONF                       = 0xc0086924
-       SIOCGIFDESCR                      = 0xc020692a
-       SIOCGIFDSTADDR                    = 0xc0206922
-       SIOCGIFFIB                        = 0xc020695c
-       SIOCGIFFLAGS                      = 0xc0206911
-       SIOCGIFGENERIC                    = 0xc020693a
-       SIOCGIFGMEMB                      = 0xc024698a
-       SIOCGIFGROUP                      = 0xc0246988
-       SIOCGIFINDEX                      = 0xc0206920
-       SIOCGIFMAC                        = 0xc0206926
-       SIOCGIFMEDIA                      = 0xc0286938
-       SIOCGIFMETRIC                     = 0xc0206917
-       SIOCGIFMTU                        = 0xc0206933
-       SIOCGIFNETMASK                    = 0xc0206925
-       SIOCGIFPDSTADDR                   = 0xc0206948
-       SIOCGIFPHYS                       = 0xc0206935
-       SIOCGIFPSRCADDR                   = 0xc0206947
-       SIOCGIFSTATUS                     = 0xc331693b
-       SIOCGLIFADDR                      = 0xc118691c
-       SIOCGLIFPHYADDR                   = 0xc118694b
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCGPRIVATE_0                    = 0xc0206950
-       SIOCGPRIVATE_1                    = 0xc0206951
-       SIOCIFCREATE                      = 0xc020697a
-       SIOCIFCREATE2                     = 0xc020697c
-       SIOCIFDESTROY                     = 0x80206979
-       SIOCIFGCLONERS                    = 0xc00c6978
-       SIOCSDRVSPEC                      = 0x801c697b
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8020690c
-       SIOCSIFBRDADDR                    = 0x80206913
-       SIOCSIFCAP                        = 0x8020691e
-       SIOCSIFDESCR                      = 0x80206929
-       SIOCSIFDSTADDR                    = 0x8020690e
-       SIOCSIFFIB                        = 0x8020695d
-       SIOCSIFFLAGS                      = 0x80206910
-       SIOCSIFGENERIC                    = 0x80206939
-       SIOCSIFLLADDR                     = 0x8020693c
-       SIOCSIFMAC                        = 0x80206927
-       SIOCSIFMEDIA                      = 0xc0206937
-       SIOCSIFMETRIC                     = 0x80206918
-       SIOCSIFMTU                        = 0x80206934
-       SIOCSIFNAME                       = 0x80206928
-       SIOCSIFNETMASK                    = 0x80206916
-       SIOCSIFPHYADDR                    = 0x80406946
-       SIOCSIFPHYS                       = 0x80206936
-       SIOCSIFRVNET                      = 0xc020695b
-       SIOCSIFVNET                       = 0xc020695a
-       SIOCSLIFPHYADDR                   = 0x8118694a
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SOCK_CLOEXEC                      = 0x10000000
-       SOCK_DGRAM                        = 0x2
-       SOCK_MAXADDRLEN                   = 0xff
-       SOCK_NONBLOCK                     = 0x20000000
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_ACCEPTFILTER                   = 0x1000
-       SO_BINTIME                        = 0x2000
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LABEL                          = 0x1009
-       SO_LINGER                         = 0x80
-       SO_LISTENINCQLEN                  = 0x1013
-       SO_LISTENQLEN                     = 0x1012
-       SO_LISTENQLIMIT                   = 0x1011
-       SO_NOSIGPIPE                      = 0x800
-       SO_NO_DDP                         = 0x8000
-       SO_NO_OFFLOAD                     = 0x4000
-       SO_OOBINLINE                      = 0x100
-       SO_PEERLABEL                      = 0x1010
-       SO_PROTOCOL                       = 0x1016
-       SO_PROTOTYPE                      = 0x1016
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x1006
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_SETFIB                         = 0x1014
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x1005
-       SO_TIMESTAMP                      = 0x400
-       SO_TYPE                           = 0x1008
-       SO_USELOOPBACK                    = 0x40
-       SO_USER_COOKIE                    = 0x1015
-       SO_VENDOR                         = 0x80000000
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_CA_NAME_MAX                   = 0x10
-       TCP_CONGESTION                    = 0x40
-       TCP_INFO                          = 0x20
-       TCP_KEEPCNT                       = 0x400
-       TCP_KEEPIDLE                      = 0x100
-       TCP_KEEPINIT                      = 0x80
-       TCP_KEEPINTVL                     = 0x200
-       TCP_MAXBURST                      = 0x4
-       TCP_MAXHLEN                       = 0x3c
-       TCP_MAXOLEN                       = 0x28
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_SACK                      = 0x4
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MD5SIG                        = 0x10
-       TCP_MINMSS                        = 0xd8
-       TCP_MSS                           = 0x218
-       TCP_NODELAY                       = 0x1
-       TCP_NOOPT                         = 0x8
-       TCP_NOPUSH                        = 0x4
-       TCP_VENDOR                        = 0x80000000
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDRAIN                         = 0x2000745e
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLUSH                         = 0x80047410
-       TIOCGDRAINWAIT                    = 0x40047456
-       TIOCGETA                          = 0x402c7413
-       TIOCGETD                          = 0x4004741a
-       TIOCGPGRP                         = 0x40047477
-       TIOCGPTN                          = 0x4004740f
-       TIOCGSID                          = 0x40047463
-       TIOCGWINSZ                        = 0x40087468
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGDTRWAIT                     = 0x4004745a
-       TIOCMGET                          = 0x4004746a
-       TIOCMSDTRWAIT                     = 0x8004745b
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DCD                         = 0x40
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCPTMASTER                      = 0x2000741c
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDRAINWAIT                    = 0x80047457
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x802c7414
-       TIOCSETAF                         = 0x802c7416
-       TIOCSETAW                         = 0x802c7415
-       TIOCSETD                          = 0x8004741b
-       TIOCSIG                           = 0x2004745f
-       TIOCSPGRP                         = 0x80047476
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x20007465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSWINSZ                        = 0x80087467
-       TIOCTIMESTAMP                     = 0x40087459
-       TIOCUCNTL                         = 0x80047466
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VERASE2                           = 0x7
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WCONTINUED                        = 0x4
-       WCOREFLAG                         = 0x80
-       WEXITED                           = 0x10
-       WLINUXCLONE                       = 0x80000000
-       WNOHANG                           = 0x1
-       WNOWAIT                           = 0x8
-       WSTOPPED                          = 0x2
-       WTRAPPED                          = 0x20
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADF           = syscall.Errno(0x9)
-       EBADMSG         = syscall.Errno(0x59)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x55)
-       ECAPMODE        = syscall.Errno(0x5e)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDOM            = syscall.Errno(0x21)
-       EDOOFUS         = syscall.Errno(0x58)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x52)
-       EILSEQ          = syscall.Errno(0x56)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x60)
-       ELOOP           = syscall.Errno(0x3e)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       EMULTIHOP       = syscall.Errno(0x5a)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x57)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOLINK         = syscall.Errno(0x5b)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x53)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCAPABLE     = syscall.Errno(0x5d)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTRECOVERABLE = syscall.Errno(0x5f)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x2d)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x2d)
-       EOVERFLOW       = syscall.Errno(0x54)
-       EOWNERDEAD      = syscall.Errno(0x60)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTO          = syscall.Errno(0x5c)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGLIBRT  = syscall.Signal(0x21)
-       SIGLWP    = syscall.Signal(0x20)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTHR    = syscall.Signal(0x20)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:  "operation not permitted",
-       2:  "no such file or directory",
-       3:  "no such process",
-       4:  "interrupted system call",
-       5:  "input/output error",
-       6:  "device not configured",
-       7:  "argument list too long",
-       8:  "exec format error",
-       9:  "bad file descriptor",
-       10: "no child processes",
-       11: "resource deadlock avoided",
-       12: "cannot allocate memory",
-       13: "permission denied",
-       14: "bad address",
-       15: "block device required",
-       16: "device busy",
-       17: "file exists",
-       18: "cross-device link",
-       19: "operation not supported by device",
-       20: "not a directory",
-       21: "is a directory",
-       22: "invalid argument",
-       23: "too many open files in system",
-       24: "too many open files",
-       25: "inappropriate ioctl for device",
-       26: "text file busy",
-       27: "file too large",
-       28: "no space left on device",
-       29: "illegal seek",
-       30: "read-only file system",
-       31: "too many links",
-       32: "broken pipe",
-       33: "numerical argument out of domain",
-       34: "result too large",
-       35: "resource temporarily unavailable",
-       36: "operation now in progress",
-       37: "operation already in progress",
-       38: "socket operation on non-socket",
-       39: "destination address required",
-       40: "message too long",
-       41: "protocol wrong type for socket",
-       42: "protocol not available",
-       43: "protocol not supported",
-       44: "socket type not supported",
-       45: "operation not supported",
-       46: "protocol family not supported",
-       47: "address family not supported by protocol family",
-       48: "address already in use",
-       49: "can't assign requested address",
-       50: "network is down",
-       51: "network is unreachable",
-       52: "network dropped connection on reset",
-       53: "software caused connection abort",
-       54: "connection reset by peer",
-       55: "no buffer space available",
-       56: "socket is already connected",
-       57: "socket is not connected",
-       58: "can't send after socket shutdown",
-       59: "too many references: can't splice",
-       60: "operation timed out",
-       61: "connection refused",
-       62: "too many levels of symbolic links",
-       63: "file name too long",
-       64: "host is down",
-       65: "no route to host",
-       66: "directory not empty",
-       67: "too many processes",
-       68: "too many users",
-       69: "disc quota exceeded",
-       70: "stale NFS file handle",
-       71: "too many levels of remote in path",
-       72: "RPC struct is bad",
-       73: "RPC version wrong",
-       74: "RPC prog. not avail",
-       75: "program version wrong",
-       76: "bad procedure for program",
-       77: "no locks available",
-       78: "function not implemented",
-       79: "inappropriate file type or format",
-       80: "authentication error",
-       81: "need authenticator",
-       82: "identifier removed",
-       83: "no message of desired type",
-       84: "value too large to be stored in data type",
-       85: "operation canceled",
-       86: "illegal byte sequence",
-       87: "attribute not found",
-       88: "programming error",
-       89: "bad message",
-       90: "multihop attempted",
-       91: "link has been severed",
-       92: "protocol error",
-       93: "capabilities insufficient",
-       94: "not permitted in capability mode",
-       95: "state not recoverable",
-       96: "previous owner died",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "suspended (signal)",
-       18: "suspended",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-       32: "unknown signal",
-       33: "unknown signal",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_386.go b/vendor/golang.org/x/sys/unix/zerrors_linux_386.go
deleted file mode 100644 (file)
index 341bdfc..0000000
+++ /dev/null
@@ -1,2087 +0,0 @@
-// mkerrors.sh -Wall -Werror -static -I/tmp/include -m32
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build 386,linux
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m32 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_ALG                           = 0x26
-       AF_APPLETALK                     = 0x5
-       AF_ASH                           = 0x12
-       AF_ATMPVC                        = 0x8
-       AF_ATMSVC                        = 0x14
-       AF_AX25                          = 0x3
-       AF_BLUETOOTH                     = 0x1f
-       AF_BRIDGE                        = 0x7
-       AF_CAIF                          = 0x25
-       AF_CAN                           = 0x1d
-       AF_DECnet                        = 0xc
-       AF_ECONET                        = 0x13
-       AF_FILE                          = 0x1
-       AF_IB                            = 0x1b
-       AF_IEEE802154                    = 0x24
-       AF_INET                          = 0x2
-       AF_INET6                         = 0xa
-       AF_IPX                           = 0x4
-       AF_IRDA                          = 0x17
-       AF_ISDN                          = 0x22
-       AF_IUCV                          = 0x20
-       AF_KCM                           = 0x29
-       AF_KEY                           = 0xf
-       AF_LLC                           = 0x1a
-       AF_LOCAL                         = 0x1
-       AF_MAX                           = 0x2b
-       AF_MPLS                          = 0x1c
-       AF_NETBEUI                       = 0xd
-       AF_NETLINK                       = 0x10
-       AF_NETROM                        = 0x6
-       AF_NFC                           = 0x27
-       AF_PACKET                        = 0x11
-       AF_PHONET                        = 0x23
-       AF_PPPOX                         = 0x18
-       AF_QIPCRTR                       = 0x2a
-       AF_RDS                           = 0x15
-       AF_ROSE                          = 0xb
-       AF_ROUTE                         = 0x10
-       AF_RXRPC                         = 0x21
-       AF_SECURITY                      = 0xe
-       AF_SNA                           = 0x16
-       AF_TIPC                          = 0x1e
-       AF_UNIX                          = 0x1
-       AF_UNSPEC                        = 0x0
-       AF_VSOCK                         = 0x28
-       AF_WANPIPE                       = 0x19
-       AF_X25                           = 0x9
-       ALG_OP_DECRYPT                   = 0x0
-       ALG_OP_ENCRYPT                   = 0x1
-       ALG_SET_AEAD_ASSOCLEN            = 0x4
-       ALG_SET_AEAD_AUTHSIZE            = 0x5
-       ALG_SET_IV                       = 0x2
-       ALG_SET_KEY                      = 0x1
-       ALG_SET_OP                       = 0x3
-       ARPHRD_6LOWPAN                   = 0x339
-       ARPHRD_ADAPT                     = 0x108
-       ARPHRD_APPLETLK                  = 0x8
-       ARPHRD_ARCNET                    = 0x7
-       ARPHRD_ASH                       = 0x30d
-       ARPHRD_ATM                       = 0x13
-       ARPHRD_AX25                      = 0x3
-       ARPHRD_BIF                       = 0x307
-       ARPHRD_CAIF                      = 0x336
-       ARPHRD_CAN                       = 0x118
-       ARPHRD_CHAOS                     = 0x5
-       ARPHRD_CISCO                     = 0x201
-       ARPHRD_CSLIP                     = 0x101
-       ARPHRD_CSLIP6                    = 0x103
-       ARPHRD_DDCMP                     = 0x205
-       ARPHRD_DLCI                      = 0xf
-       ARPHRD_ECONET                    = 0x30e
-       ARPHRD_EETHER                    = 0x2
-       ARPHRD_ETHER                     = 0x1
-       ARPHRD_EUI64                     = 0x1b
-       ARPHRD_FCAL                      = 0x311
-       ARPHRD_FCFABRIC                  = 0x313
-       ARPHRD_FCPL                      = 0x312
-       ARPHRD_FCPP                      = 0x310
-       ARPHRD_FDDI                      = 0x306
-       ARPHRD_FRAD                      = 0x302
-       ARPHRD_HDLC                      = 0x201
-       ARPHRD_HIPPI                     = 0x30c
-       ARPHRD_HWX25                     = 0x110
-       ARPHRD_IEEE1394                  = 0x18
-       ARPHRD_IEEE802                   = 0x6
-       ARPHRD_IEEE80211                 = 0x321
-       ARPHRD_IEEE80211_PRISM           = 0x322
-       ARPHRD_IEEE80211_RADIOTAP        = 0x323
-       ARPHRD_IEEE802154                = 0x324
-       ARPHRD_IEEE802154_MONITOR        = 0x325
-       ARPHRD_IEEE802_TR                = 0x320
-       ARPHRD_INFINIBAND                = 0x20
-       ARPHRD_IP6GRE                    = 0x337
-       ARPHRD_IPDDP                     = 0x309
-       ARPHRD_IPGRE                     = 0x30a
-       ARPHRD_IRDA                      = 0x30f
-       ARPHRD_LAPB                      = 0x204
-       ARPHRD_LOCALTLK                  = 0x305
-       ARPHRD_LOOPBACK                  = 0x304
-       ARPHRD_METRICOM                  = 0x17
-       ARPHRD_NETLINK                   = 0x338
-       ARPHRD_NETROM                    = 0x0
-       ARPHRD_NONE                      = 0xfffe
-       ARPHRD_PHONET                    = 0x334
-       ARPHRD_PHONET_PIPE               = 0x335
-       ARPHRD_PIMREG                    = 0x30b
-       ARPHRD_PPP                       = 0x200
-       ARPHRD_PRONET                    = 0x4
-       ARPHRD_RAWHDLC                   = 0x206
-       ARPHRD_ROSE                      = 0x10e
-       ARPHRD_RSRVD                     = 0x104
-       ARPHRD_SIT                       = 0x308
-       ARPHRD_SKIP                      = 0x303
-       ARPHRD_SLIP                      = 0x100
-       ARPHRD_SLIP6                     = 0x102
-       ARPHRD_TUNNEL                    = 0x300
-       ARPHRD_TUNNEL6                   = 0x301
-       ARPHRD_VOID                      = 0xffff
-       ARPHRD_X25                       = 0x10f
-       B0                               = 0x0
-       B1000000                         = 0x1008
-       B110                             = 0x3
-       B115200                          = 0x1002
-       B1152000                         = 0x1009
-       B1200                            = 0x9
-       B134                             = 0x4
-       B150                             = 0x5
-       B1500000                         = 0x100a
-       B1800                            = 0xa
-       B19200                           = 0xe
-       B200                             = 0x6
-       B2000000                         = 0x100b
-       B230400                          = 0x1003
-       B2400                            = 0xb
-       B2500000                         = 0x100c
-       B300                             = 0x7
-       B3000000                         = 0x100d
-       B3500000                         = 0x100e
-       B38400                           = 0xf
-       B4000000                         = 0x100f
-       B460800                          = 0x1004
-       B4800                            = 0xc
-       B50                              = 0x1
-       B500000                          = 0x1005
-       B57600                           = 0x1001
-       B576000                          = 0x1006
-       B600                             = 0x8
-       B75                              = 0x2
-       B921600                          = 0x1007
-       B9600                            = 0xd
-       BLKBSZGET                        = 0x80041270
-       BLKBSZSET                        = 0x40041271
-       BLKFLSBUF                        = 0x1261
-       BLKFRAGET                        = 0x1265
-       BLKFRASET                        = 0x1264
-       BLKGETSIZE                       = 0x1260
-       BLKGETSIZE64                     = 0x80041272
-       BLKPBSZGET                       = 0x127b
-       BLKRAGET                         = 0x1263
-       BLKRASET                         = 0x1262
-       BLKROGET                         = 0x125e
-       BLKROSET                         = 0x125d
-       BLKRRPART                        = 0x125f
-       BLKSECTGET                       = 0x1267
-       BLKSECTSET                       = 0x1266
-       BLKSSZGET                        = 0x1268
-       BOTHER                           = 0x1000
-       BPF_A                            = 0x10
-       BPF_ABS                          = 0x20
-       BPF_ADD                          = 0x0
-       BPF_ALU                          = 0x4
-       BPF_AND                          = 0x50
-       BPF_B                            = 0x10
-       BPF_DIV                          = 0x30
-       BPF_H                            = 0x8
-       BPF_IMM                          = 0x0
-       BPF_IND                          = 0x40
-       BPF_JA                           = 0x0
-       BPF_JEQ                          = 0x10
-       BPF_JGE                          = 0x30
-       BPF_JGT                          = 0x20
-       BPF_JMP                          = 0x5
-       BPF_JSET                         = 0x40
-       BPF_K                            = 0x0
-       BPF_LD                           = 0x0
-       BPF_LDX                          = 0x1
-       BPF_LEN                          = 0x80
-       BPF_LL_OFF                       = -0x200000
-       BPF_LSH                          = 0x60
-       BPF_MAJOR_VERSION                = 0x1
-       BPF_MAXINSNS                     = 0x1000
-       BPF_MEM                          = 0x60
-       BPF_MEMWORDS                     = 0x10
-       BPF_MINOR_VERSION                = 0x1
-       BPF_MISC                         = 0x7
-       BPF_MOD                          = 0x90
-       BPF_MSH                          = 0xa0
-       BPF_MUL                          = 0x20
-       BPF_NEG                          = 0x80
-       BPF_NET_OFF                      = -0x100000
-       BPF_OR                           = 0x40
-       BPF_RET                          = 0x6
-       BPF_RSH                          = 0x70
-       BPF_ST                           = 0x2
-       BPF_STX                          = 0x3
-       BPF_SUB                          = 0x10
-       BPF_TAX                          = 0x0
-       BPF_TXA                          = 0x80
-       BPF_W                            = 0x0
-       BPF_X                            = 0x8
-       BPF_XOR                          = 0xa0
-       BRKINT                           = 0x2
-       BS0                              = 0x0
-       BS1                              = 0x2000
-       BSDLY                            = 0x2000
-       CAN_BCM                          = 0x2
-       CAN_EFF_FLAG                     = 0x80000000
-       CAN_EFF_ID_BITS                  = 0x1d
-       CAN_EFF_MASK                     = 0x1fffffff
-       CAN_ERR_FLAG                     = 0x20000000
-       CAN_ERR_MASK                     = 0x1fffffff
-       CAN_INV_FILTER                   = 0x20000000
-       CAN_ISOTP                        = 0x6
-       CAN_MAX_DLC                      = 0x8
-       CAN_MAX_DLEN                     = 0x8
-       CAN_MCNET                        = 0x5
-       CAN_MTU                          = 0x10
-       CAN_NPROTO                       = 0x7
-       CAN_RAW                          = 0x1
-       CAN_RAW_FILTER_MAX               = 0x200
-       CAN_RTR_FLAG                     = 0x40000000
-       CAN_SFF_ID_BITS                  = 0xb
-       CAN_SFF_MASK                     = 0x7ff
-       CAN_TP16                         = 0x3
-       CAN_TP20                         = 0x4
-       CBAUD                            = 0x100f
-       CBAUDEX                          = 0x1000
-       CFLUSH                           = 0xf
-       CIBAUD                           = 0x100f0000
-       CLOCAL                           = 0x800
-       CLOCK_BOOTTIME                   = 0x7
-       CLOCK_BOOTTIME_ALARM             = 0x9
-       CLOCK_DEFAULT                    = 0x0
-       CLOCK_EXT                        = 0x1
-       CLOCK_INT                        = 0x2
-       CLOCK_MONOTONIC                  = 0x1
-       CLOCK_MONOTONIC_COARSE           = 0x6
-       CLOCK_MONOTONIC_RAW              = 0x4
-       CLOCK_PROCESS_CPUTIME_ID         = 0x2
-       CLOCK_REALTIME                   = 0x0
-       CLOCK_REALTIME_ALARM             = 0x8
-       CLOCK_REALTIME_COARSE            = 0x5
-       CLOCK_TAI                        = 0xb
-       CLOCK_THREAD_CPUTIME_ID          = 0x3
-       CLOCK_TXFROMRX                   = 0x4
-       CLOCK_TXINT                      = 0x3
-       CLONE_CHILD_CLEARTID             = 0x200000
-       CLONE_CHILD_SETTID               = 0x1000000
-       CLONE_DETACHED                   = 0x400000
-       CLONE_FILES                      = 0x400
-       CLONE_FS                         = 0x200
-       CLONE_IO                         = 0x80000000
-       CLONE_NEWCGROUP                  = 0x2000000
-       CLONE_NEWIPC                     = 0x8000000
-       CLONE_NEWNET                     = 0x40000000
-       CLONE_NEWNS                      = 0x20000
-       CLONE_NEWPID                     = 0x20000000
-       CLONE_NEWUSER                    = 0x10000000
-       CLONE_NEWUTS                     = 0x4000000
-       CLONE_PARENT                     = 0x8000
-       CLONE_PARENT_SETTID              = 0x100000
-       CLONE_PTRACE                     = 0x2000
-       CLONE_SETTLS                     = 0x80000
-       CLONE_SIGHAND                    = 0x800
-       CLONE_SYSVSEM                    = 0x40000
-       CLONE_THREAD                     = 0x10000
-       CLONE_UNTRACED                   = 0x800000
-       CLONE_VFORK                      = 0x4000
-       CLONE_VM                         = 0x100
-       CMSPAR                           = 0x40000000
-       CR0                              = 0x0
-       CR1                              = 0x200
-       CR2                              = 0x400
-       CR3                              = 0x600
-       CRDLY                            = 0x600
-       CREAD                            = 0x80
-       CRTSCTS                          = 0x80000000
-       CS5                              = 0x0
-       CS6                              = 0x10
-       CS7                              = 0x20
-       CS8                              = 0x30
-       CSIGNAL                          = 0xff
-       CSIZE                            = 0x30
-       CSTART                           = 0x11
-       CSTATUS                          = 0x0
-       CSTOP                            = 0x13
-       CSTOPB                           = 0x40
-       CSUSP                            = 0x1a
-       DT_BLK                           = 0x6
-       DT_CHR                           = 0x2
-       DT_DIR                           = 0x4
-       DT_FIFO                          = 0x1
-       DT_LNK                           = 0xa
-       DT_REG                           = 0x8
-       DT_SOCK                          = 0xc
-       DT_UNKNOWN                       = 0x0
-       DT_WHT                           = 0xe
-       ECHO                             = 0x8
-       ECHOCTL                          = 0x200
-       ECHOE                            = 0x10
-       ECHOK                            = 0x20
-       ECHOKE                           = 0x800
-       ECHONL                           = 0x40
-       ECHOPRT                          = 0x400
-       ENCODING_DEFAULT                 = 0x0
-       ENCODING_FM_MARK                 = 0x3
-       ENCODING_FM_SPACE                = 0x4
-       ENCODING_MANCHESTER              = 0x5
-       ENCODING_NRZ                     = 0x1
-       ENCODING_NRZI                    = 0x2
-       EPOLLERR                         = 0x8
-       EPOLLET                          = 0x80000000
-       EPOLLEXCLUSIVE                   = 0x10000000
-       EPOLLHUP                         = 0x10
-       EPOLLIN                          = 0x1
-       EPOLLMSG                         = 0x400
-       EPOLLONESHOT                     = 0x40000000
-       EPOLLOUT                         = 0x4
-       EPOLLPRI                         = 0x2
-       EPOLLRDBAND                      = 0x80
-       EPOLLRDHUP                       = 0x2000
-       EPOLLRDNORM                      = 0x40
-       EPOLLWAKEUP                      = 0x20000000
-       EPOLLWRBAND                      = 0x200
-       EPOLLWRNORM                      = 0x100
-       EPOLL_CLOEXEC                    = 0x80000
-       EPOLL_CTL_ADD                    = 0x1
-       EPOLL_CTL_DEL                    = 0x2
-       EPOLL_CTL_MOD                    = 0x3
-       ETH_P_1588                       = 0x88f7
-       ETH_P_8021AD                     = 0x88a8
-       ETH_P_8021AH                     = 0x88e7
-       ETH_P_8021Q                      = 0x8100
-       ETH_P_80221                      = 0x8917
-       ETH_P_802_2                      = 0x4
-       ETH_P_802_3                      = 0x1
-       ETH_P_802_3_MIN                  = 0x600
-       ETH_P_802_EX1                    = 0x88b5
-       ETH_P_AARP                       = 0x80f3
-       ETH_P_AF_IUCV                    = 0xfbfb
-       ETH_P_ALL                        = 0x3
-       ETH_P_AOE                        = 0x88a2
-       ETH_P_ARCNET                     = 0x1a
-       ETH_P_ARP                        = 0x806
-       ETH_P_ATALK                      = 0x809b
-       ETH_P_ATMFATE                    = 0x8884
-       ETH_P_ATMMPOA                    = 0x884c
-       ETH_P_AX25                       = 0x2
-       ETH_P_BATMAN                     = 0x4305
-       ETH_P_BPQ                        = 0x8ff
-       ETH_P_CAIF                       = 0xf7
-       ETH_P_CAN                        = 0xc
-       ETH_P_CANFD                      = 0xd
-       ETH_P_CONTROL                    = 0x16
-       ETH_P_CUST                       = 0x6006
-       ETH_P_DDCMP                      = 0x6
-       ETH_P_DEC                        = 0x6000
-       ETH_P_DIAG                       = 0x6005
-       ETH_P_DNA_DL                     = 0x6001
-       ETH_P_DNA_RC                     = 0x6002
-       ETH_P_DNA_RT                     = 0x6003
-       ETH_P_DSA                        = 0x1b
-       ETH_P_ECONET                     = 0x18
-       ETH_P_EDSA                       = 0xdada
-       ETH_P_FCOE                       = 0x8906
-       ETH_P_FIP                        = 0x8914
-       ETH_P_HDLC                       = 0x19
-       ETH_P_HSR                        = 0x892f
-       ETH_P_IEEE802154                 = 0xf6
-       ETH_P_IEEEPUP                    = 0xa00
-       ETH_P_IEEEPUPAT                  = 0xa01
-       ETH_P_IP                         = 0x800
-       ETH_P_IPV6                       = 0x86dd
-       ETH_P_IPX                        = 0x8137
-       ETH_P_IRDA                       = 0x17
-       ETH_P_LAT                        = 0x6004
-       ETH_P_LINK_CTL                   = 0x886c
-       ETH_P_LOCALTALK                  = 0x9
-       ETH_P_LOOP                       = 0x60
-       ETH_P_LOOPBACK                   = 0x9000
-       ETH_P_MACSEC                     = 0x88e5
-       ETH_P_MOBITEX                    = 0x15
-       ETH_P_MPLS_MC                    = 0x8848
-       ETH_P_MPLS_UC                    = 0x8847
-       ETH_P_MVRP                       = 0x88f5
-       ETH_P_NCSI                       = 0x88f8
-       ETH_P_PAE                        = 0x888e
-       ETH_P_PAUSE                      = 0x8808
-       ETH_P_PHONET                     = 0xf5
-       ETH_P_PPPTALK                    = 0x10
-       ETH_P_PPP_DISC                   = 0x8863
-       ETH_P_PPP_MP                     = 0x8
-       ETH_P_PPP_SES                    = 0x8864
-       ETH_P_PRP                        = 0x88fb
-       ETH_P_PUP                        = 0x200
-       ETH_P_PUPAT                      = 0x201
-       ETH_P_QINQ1                      = 0x9100
-       ETH_P_QINQ2                      = 0x9200
-       ETH_P_QINQ3                      = 0x9300
-       ETH_P_RARP                       = 0x8035
-       ETH_P_SCA                        = 0x6007
-       ETH_P_SLOW                       = 0x8809
-       ETH_P_SNAP                       = 0x5
-       ETH_P_TDLS                       = 0x890d
-       ETH_P_TEB                        = 0x6558
-       ETH_P_TIPC                       = 0x88ca
-       ETH_P_TRAILER                    = 0x1c
-       ETH_P_TR_802_2                   = 0x11
-       ETH_P_TSN                        = 0x22f0
-       ETH_P_WAN_PPP                    = 0x7
-       ETH_P_WCCP                       = 0x883e
-       ETH_P_X25                        = 0x805
-       ETH_P_XDSA                       = 0xf8
-       EXTA                             = 0xe
-       EXTB                             = 0xf
-       EXTPROC                          = 0x10000
-       FALLOC_FL_COLLAPSE_RANGE         = 0x8
-       FALLOC_FL_INSERT_RANGE           = 0x20
-       FALLOC_FL_KEEP_SIZE              = 0x1
-       FALLOC_FL_NO_HIDE_STALE          = 0x4
-       FALLOC_FL_PUNCH_HOLE             = 0x2
-       FALLOC_FL_UNSHARE_RANGE          = 0x40
-       FALLOC_FL_ZERO_RANGE             = 0x10
-       FD_CLOEXEC                       = 0x1
-       FD_SETSIZE                       = 0x400
-       FF0                              = 0x0
-       FF1                              = 0x8000
-       FFDLY                            = 0x8000
-       FLUSHO                           = 0x1000
-       FS_ENCRYPTION_MODE_AES_256_CBC   = 0x3
-       FS_ENCRYPTION_MODE_AES_256_CTS   = 0x4
-       FS_ENCRYPTION_MODE_AES_256_GCM   = 0x2
-       FS_ENCRYPTION_MODE_AES_256_XTS   = 0x1
-       FS_ENCRYPTION_MODE_INVALID       = 0x0
-       FS_IOC_GET_ENCRYPTION_POLICY     = 0x400c6615
-       FS_IOC_GET_ENCRYPTION_PWSALT     = 0x40106614
-       FS_IOC_SET_ENCRYPTION_POLICY     = 0x800c6613
-       FS_KEY_DESCRIPTOR_SIZE           = 0x8
-       FS_KEY_DESC_PREFIX               = "fscrypt:"
-       FS_KEY_DESC_PREFIX_SIZE          = 0x8
-       FS_MAX_KEY_SIZE                  = 0x40
-       FS_POLICY_FLAGS_PAD_16           = 0x2
-       FS_POLICY_FLAGS_PAD_32           = 0x3
-       FS_POLICY_FLAGS_PAD_4            = 0x0
-       FS_POLICY_FLAGS_PAD_8            = 0x1
-       FS_POLICY_FLAGS_PAD_MASK         = 0x3
-       FS_POLICY_FLAGS_VALID            = 0x3
-       F_DUPFD                          = 0x0
-       F_DUPFD_CLOEXEC                  = 0x406
-       F_EXLCK                          = 0x4
-       F_GETFD                          = 0x1
-       F_GETFL                          = 0x3
-       F_GETLEASE                       = 0x401
-       F_GETLK                          = 0xc
-       F_GETLK64                        = 0xc
-       F_GETOWN                         = 0x9
-       F_GETOWN_EX                      = 0x10
-       F_GETPIPE_SZ                     = 0x408
-       F_GETSIG                         = 0xb
-       F_LOCK                           = 0x1
-       F_NOTIFY                         = 0x402
-       F_OFD_GETLK                      = 0x24
-       F_OFD_SETLK                      = 0x25
-       F_OFD_SETLKW                     = 0x26
-       F_OK                             = 0x0
-       F_RDLCK                          = 0x0
-       F_SETFD                          = 0x2
-       F_SETFL                          = 0x4
-       F_SETLEASE                       = 0x400
-       F_SETLK                          = 0xd
-       F_SETLK64                        = 0xd
-       F_SETLKW                         = 0xe
-       F_SETLKW64                       = 0xe
-       F_SETOWN                         = 0x8
-       F_SETOWN_EX                      = 0xf
-       F_SETPIPE_SZ                     = 0x407
-       F_SETSIG                         = 0xa
-       F_SHLCK                          = 0x8
-       F_TEST                           = 0x3
-       F_TLOCK                          = 0x2
-       F_ULOCK                          = 0x0
-       F_UNLCK                          = 0x2
-       F_WRLCK                          = 0x1
-       GRND_NONBLOCK                    = 0x1
-       GRND_RANDOM                      = 0x2
-       HUPCL                            = 0x400
-       IBSHIFT                          = 0x10
-       ICANON                           = 0x2
-       ICMPV6_FILTER                    = 0x1
-       ICRNL                            = 0x100
-       IEXTEN                           = 0x8000
-       IFA_F_DADFAILED                  = 0x8
-       IFA_F_DEPRECATED                 = 0x20
-       IFA_F_HOMEADDRESS                = 0x10
-       IFA_F_MANAGETEMPADDR             = 0x100
-       IFA_F_MCAUTOJOIN                 = 0x400
-       IFA_F_NODAD                      = 0x2
-       IFA_F_NOPREFIXROUTE              = 0x200
-       IFA_F_OPTIMISTIC                 = 0x4
-       IFA_F_PERMANENT                  = 0x80
-       IFA_F_SECONDARY                  = 0x1
-       IFA_F_STABLE_PRIVACY             = 0x800
-       IFA_F_TEMPORARY                  = 0x1
-       IFA_F_TENTATIVE                  = 0x40
-       IFA_MAX                          = 0x8
-       IFF_ALLMULTI                     = 0x200
-       IFF_ATTACH_QUEUE                 = 0x200
-       IFF_AUTOMEDIA                    = 0x4000
-       IFF_BROADCAST                    = 0x2
-       IFF_DEBUG                        = 0x4
-       IFF_DETACH_QUEUE                 = 0x400
-       IFF_DORMANT                      = 0x20000
-       IFF_DYNAMIC                      = 0x8000
-       IFF_ECHO                         = 0x40000
-       IFF_LOOPBACK                     = 0x8
-       IFF_LOWER_UP                     = 0x10000
-       IFF_MASTER                       = 0x400
-       IFF_MULTICAST                    = 0x1000
-       IFF_MULTI_QUEUE                  = 0x100
-       IFF_NOARP                        = 0x80
-       IFF_NOFILTER                     = 0x1000
-       IFF_NOTRAILERS                   = 0x20
-       IFF_NO_PI                        = 0x1000
-       IFF_ONE_QUEUE                    = 0x2000
-       IFF_PERSIST                      = 0x800
-       IFF_POINTOPOINT                  = 0x10
-       IFF_PORTSEL                      = 0x2000
-       IFF_PROMISC                      = 0x100
-       IFF_RUNNING                      = 0x40
-       IFF_SLAVE                        = 0x800
-       IFF_TAP                          = 0x2
-       IFF_TUN                          = 0x1
-       IFF_TUN_EXCL                     = 0x8000
-       IFF_UP                           = 0x1
-       IFF_VNET_HDR                     = 0x4000
-       IFF_VOLATILE                     = 0x70c5a
-       IFNAMSIZ                         = 0x10
-       IGNBRK                           = 0x1
-       IGNCR                            = 0x80
-       IGNPAR                           = 0x4
-       IMAXBEL                          = 0x2000
-       INLCR                            = 0x40
-       INPCK                            = 0x10
-       IN_ACCESS                        = 0x1
-       IN_ALL_EVENTS                    = 0xfff
-       IN_ATTRIB                        = 0x4
-       IN_CLASSA_HOST                   = 0xffffff
-       IN_CLASSA_MAX                    = 0x80
-       IN_CLASSA_NET                    = 0xff000000
-       IN_CLASSA_NSHIFT                 = 0x18
-       IN_CLASSB_HOST                   = 0xffff
-       IN_CLASSB_MAX                    = 0x10000
-       IN_CLASSB_NET                    = 0xffff0000
-       IN_CLASSB_NSHIFT                 = 0x10
-       IN_CLASSC_HOST                   = 0xff
-       IN_CLASSC_NET                    = 0xffffff00
-       IN_CLASSC_NSHIFT                 = 0x8
-       IN_CLOEXEC                       = 0x80000
-       IN_CLOSE                         = 0x18
-       IN_CLOSE_NOWRITE                 = 0x10
-       IN_CLOSE_WRITE                   = 0x8
-       IN_CREATE                        = 0x100
-       IN_DELETE                        = 0x200
-       IN_DELETE_SELF                   = 0x400
-       IN_DONT_FOLLOW                   = 0x2000000
-       IN_EXCL_UNLINK                   = 0x4000000
-       IN_IGNORED                       = 0x8000
-       IN_ISDIR                         = 0x40000000
-       IN_LOOPBACKNET                   = 0x7f
-       IN_MASK_ADD                      = 0x20000000
-       IN_MODIFY                        = 0x2
-       IN_MOVE                          = 0xc0
-       IN_MOVED_FROM                    = 0x40
-       IN_MOVED_TO                      = 0x80
-       IN_MOVE_SELF                     = 0x800
-       IN_NONBLOCK                      = 0x800
-       IN_ONESHOT                       = 0x80000000
-       IN_ONLYDIR                       = 0x1000000
-       IN_OPEN                          = 0x20
-       IN_Q_OVERFLOW                    = 0x4000
-       IN_UNMOUNT                       = 0x2000
-       IPPROTO_AH                       = 0x33
-       IPPROTO_BEETPH                   = 0x5e
-       IPPROTO_COMP                     = 0x6c
-       IPPROTO_DCCP                     = 0x21
-       IPPROTO_DSTOPTS                  = 0x3c
-       IPPROTO_EGP                      = 0x8
-       IPPROTO_ENCAP                    = 0x62
-       IPPROTO_ESP                      = 0x32
-       IPPROTO_FRAGMENT                 = 0x2c
-       IPPROTO_GRE                      = 0x2f
-       IPPROTO_HOPOPTS                  = 0x0
-       IPPROTO_ICMP                     = 0x1
-       IPPROTO_ICMPV6                   = 0x3a
-       IPPROTO_IDP                      = 0x16
-       IPPROTO_IGMP                     = 0x2
-       IPPROTO_IP                       = 0x0
-       IPPROTO_IPIP                     = 0x4
-       IPPROTO_IPV6                     = 0x29
-       IPPROTO_MH                       = 0x87
-       IPPROTO_MPLS                     = 0x89
-       IPPROTO_MTP                      = 0x5c
-       IPPROTO_NONE                     = 0x3b
-       IPPROTO_PIM                      = 0x67
-       IPPROTO_PUP                      = 0xc
-       IPPROTO_RAW                      = 0xff
-       IPPROTO_ROUTING                  = 0x2b
-       IPPROTO_RSVP                     = 0x2e
-       IPPROTO_SCTP                     = 0x84
-       IPPROTO_TCP                      = 0x6
-       IPPROTO_TP                       = 0x1d
-       IPPROTO_UDP                      = 0x11
-       IPPROTO_UDPLITE                  = 0x88
-       IPV6_2292DSTOPTS                 = 0x4
-       IPV6_2292HOPLIMIT                = 0x8
-       IPV6_2292HOPOPTS                 = 0x3
-       IPV6_2292PKTINFO                 = 0x2
-       IPV6_2292PKTOPTIONS              = 0x6
-       IPV6_2292RTHDR                   = 0x5
-       IPV6_ADDRFORM                    = 0x1
-       IPV6_ADD_MEMBERSHIP              = 0x14
-       IPV6_AUTHHDR                     = 0xa
-       IPV6_CHECKSUM                    = 0x7
-       IPV6_DONTFRAG                    = 0x3e
-       IPV6_DROP_MEMBERSHIP             = 0x15
-       IPV6_DSTOPTS                     = 0x3b
-       IPV6_HDRINCL                     = 0x24
-       IPV6_HOPLIMIT                    = 0x34
-       IPV6_HOPOPTS                     = 0x36
-       IPV6_IPSEC_POLICY                = 0x22
-       IPV6_JOIN_ANYCAST                = 0x1b
-       IPV6_JOIN_GROUP                  = 0x14
-       IPV6_LEAVE_ANYCAST               = 0x1c
-       IPV6_LEAVE_GROUP                 = 0x15
-       IPV6_MTU                         = 0x18
-       IPV6_MTU_DISCOVER                = 0x17
-       IPV6_MULTICAST_HOPS              = 0x12
-       IPV6_MULTICAST_IF                = 0x11
-       IPV6_MULTICAST_LOOP              = 0x13
-       IPV6_NEXTHOP                     = 0x9
-       IPV6_PATHMTU                     = 0x3d
-       IPV6_PKTINFO                     = 0x32
-       IPV6_PMTUDISC_DO                 = 0x2
-       IPV6_PMTUDISC_DONT               = 0x0
-       IPV6_PMTUDISC_INTERFACE          = 0x4
-       IPV6_PMTUDISC_OMIT               = 0x5
-       IPV6_PMTUDISC_PROBE              = 0x3
-       IPV6_PMTUDISC_WANT               = 0x1
-       IPV6_RECVDSTOPTS                 = 0x3a
-       IPV6_RECVERR                     = 0x19
-       IPV6_RECVHOPLIMIT                = 0x33
-       IPV6_RECVHOPOPTS                 = 0x35
-       IPV6_RECVPATHMTU                 = 0x3c
-       IPV6_RECVPKTINFO                 = 0x31
-       IPV6_RECVRTHDR                   = 0x38
-       IPV6_RECVTCLASS                  = 0x42
-       IPV6_ROUTER_ALERT                = 0x16
-       IPV6_RTHDR                       = 0x39
-       IPV6_RTHDRDSTOPTS                = 0x37
-       IPV6_RTHDR_LOOSE                 = 0x0
-       IPV6_RTHDR_STRICT                = 0x1
-       IPV6_RTHDR_TYPE_0                = 0x0
-       IPV6_RXDSTOPTS                   = 0x3b
-       IPV6_RXHOPOPTS                   = 0x36
-       IPV6_TCLASS                      = 0x43
-       IPV6_UNICAST_HOPS                = 0x10
-       IPV6_V6ONLY                      = 0x1a
-       IPV6_XFRM_POLICY                 = 0x23
-       IP_ADD_MEMBERSHIP                = 0x23
-       IP_ADD_SOURCE_MEMBERSHIP         = 0x27
-       IP_BIND_ADDRESS_NO_PORT          = 0x18
-       IP_BLOCK_SOURCE                  = 0x26
-       IP_CHECKSUM                      = 0x17
-       IP_DEFAULT_MULTICAST_LOOP        = 0x1
-       IP_DEFAULT_MULTICAST_TTL         = 0x1
-       IP_DF                            = 0x4000
-       IP_DROP_MEMBERSHIP               = 0x24
-       IP_DROP_SOURCE_MEMBERSHIP        = 0x28
-       IP_FREEBIND                      = 0xf
-       IP_HDRINCL                       = 0x3
-       IP_IPSEC_POLICY                  = 0x10
-       IP_MAXPACKET                     = 0xffff
-       IP_MAX_MEMBERSHIPS               = 0x14
-       IP_MF                            = 0x2000
-       IP_MINTTL                        = 0x15
-       IP_MSFILTER                      = 0x29
-       IP_MSS                           = 0x240
-       IP_MTU                           = 0xe
-       IP_MTU_DISCOVER                  = 0xa
-       IP_MULTICAST_ALL                 = 0x31
-       IP_MULTICAST_IF                  = 0x20
-       IP_MULTICAST_LOOP                = 0x22
-       IP_MULTICAST_TTL                 = 0x21
-       IP_NODEFRAG                      = 0x16
-       IP_OFFMASK                       = 0x1fff
-       IP_OPTIONS                       = 0x4
-       IP_ORIGDSTADDR                   = 0x14
-       IP_PASSSEC                       = 0x12
-       IP_PKTINFO                       = 0x8
-       IP_PKTOPTIONS                    = 0x9
-       IP_PMTUDISC                      = 0xa
-       IP_PMTUDISC_DO                   = 0x2
-       IP_PMTUDISC_DONT                 = 0x0
-       IP_PMTUDISC_INTERFACE            = 0x4
-       IP_PMTUDISC_OMIT                 = 0x5
-       IP_PMTUDISC_PROBE                = 0x3
-       IP_PMTUDISC_WANT                 = 0x1
-       IP_RECVERR                       = 0xb
-       IP_RECVOPTS                      = 0x6
-       IP_RECVORIGDSTADDR               = 0x14
-       IP_RECVRETOPTS                   = 0x7
-       IP_RECVTOS                       = 0xd
-       IP_RECVTTL                       = 0xc
-       IP_RETOPTS                       = 0x7
-       IP_RF                            = 0x8000
-       IP_ROUTER_ALERT                  = 0x5
-       IP_TOS                           = 0x1
-       IP_TRANSPARENT                   = 0x13
-       IP_TTL                           = 0x2
-       IP_UNBLOCK_SOURCE                = 0x25
-       IP_UNICAST_IF                    = 0x32
-       IP_XFRM_POLICY                   = 0x11
-       ISIG                             = 0x1
-       ISTRIP                           = 0x20
-       IUCLC                            = 0x200
-       IUTF8                            = 0x4000
-       IXANY                            = 0x800
-       IXOFF                            = 0x1000
-       IXON                             = 0x400
-       LINUX_REBOOT_CMD_CAD_OFF         = 0x0
-       LINUX_REBOOT_CMD_CAD_ON          = 0x89abcdef
-       LINUX_REBOOT_CMD_HALT            = 0xcdef0123
-       LINUX_REBOOT_CMD_KEXEC           = 0x45584543
-       LINUX_REBOOT_CMD_POWER_OFF       = 0x4321fedc
-       LINUX_REBOOT_CMD_RESTART         = 0x1234567
-       LINUX_REBOOT_CMD_RESTART2        = 0xa1b2c3d4
-       LINUX_REBOOT_CMD_SW_SUSPEND      = 0xd000fce2
-       LINUX_REBOOT_MAGIC1              = 0xfee1dead
-       LINUX_REBOOT_MAGIC2              = 0x28121969
-       LOCK_EX                          = 0x2
-       LOCK_NB                          = 0x4
-       LOCK_SH                          = 0x1
-       LOCK_UN                          = 0x8
-       MADV_DODUMP                      = 0x11
-       MADV_DOFORK                      = 0xb
-       MADV_DONTDUMP                    = 0x10
-       MADV_DONTFORK                    = 0xa
-       MADV_DONTNEED                    = 0x4
-       MADV_FREE                        = 0x8
-       MADV_HUGEPAGE                    = 0xe
-       MADV_HWPOISON                    = 0x64
-       MADV_MERGEABLE                   = 0xc
-       MADV_NOHUGEPAGE                  = 0xf
-       MADV_NORMAL                      = 0x0
-       MADV_RANDOM                      = 0x1
-       MADV_REMOVE                      = 0x9
-       MADV_SEQUENTIAL                  = 0x2
-       MADV_UNMERGEABLE                 = 0xd
-       MADV_WILLNEED                    = 0x3
-       MAP_32BIT                        = 0x40
-       MAP_ANON                         = 0x20
-       MAP_ANONYMOUS                    = 0x20
-       MAP_DENYWRITE                    = 0x800
-       MAP_EXECUTABLE                   = 0x1000
-       MAP_FILE                         = 0x0
-       MAP_FIXED                        = 0x10
-       MAP_GROWSDOWN                    = 0x100
-       MAP_HUGETLB                      = 0x40000
-       MAP_HUGE_MASK                    = 0x3f
-       MAP_HUGE_SHIFT                   = 0x1a
-       MAP_LOCKED                       = 0x2000
-       MAP_NONBLOCK                     = 0x10000
-       MAP_NORESERVE                    = 0x4000
-       MAP_POPULATE                     = 0x8000
-       MAP_PRIVATE                      = 0x2
-       MAP_SHARED                       = 0x1
-       MAP_STACK                        = 0x20000
-       MAP_TYPE                         = 0xf
-       MCL_CURRENT                      = 0x1
-       MCL_FUTURE                       = 0x2
-       MCL_ONFAULT                      = 0x4
-       MNT_DETACH                       = 0x2
-       MNT_EXPIRE                       = 0x4
-       MNT_FORCE                        = 0x1
-       MSG_BATCH                        = 0x40000
-       MSG_CMSG_CLOEXEC                 = 0x40000000
-       MSG_CONFIRM                      = 0x800
-       MSG_CTRUNC                       = 0x8
-       MSG_DONTROUTE                    = 0x4
-       MSG_DONTWAIT                     = 0x40
-       MSG_EOR                          = 0x80
-       MSG_ERRQUEUE                     = 0x2000
-       MSG_FASTOPEN                     = 0x20000000
-       MSG_FIN                          = 0x200
-       MSG_MORE                         = 0x8000
-       MSG_NOSIGNAL                     = 0x4000
-       MSG_OOB                          = 0x1
-       MSG_PEEK                         = 0x2
-       MSG_PROXY                        = 0x10
-       MSG_RST                          = 0x1000
-       MSG_SYN                          = 0x400
-       MSG_TRUNC                        = 0x20
-       MSG_TRYHARD                      = 0x4
-       MSG_WAITALL                      = 0x100
-       MSG_WAITFORONE                   = 0x10000
-       MS_ACTIVE                        = 0x40000000
-       MS_ASYNC                         = 0x1
-       MS_BIND                          = 0x1000
-       MS_BORN                          = 0x20000000
-       MS_DIRSYNC                       = 0x80
-       MS_INVALIDATE                    = 0x2
-       MS_I_VERSION                     = 0x800000
-       MS_KERNMOUNT                     = 0x400000
-       MS_LAZYTIME                      = 0x2000000
-       MS_MANDLOCK                      = 0x40
-       MS_MGC_MSK                       = 0xffff0000
-       MS_MGC_VAL                       = 0xc0ed0000
-       MS_MOVE                          = 0x2000
-       MS_NOATIME                       = 0x400
-       MS_NODEV                         = 0x4
-       MS_NODIRATIME                    = 0x800
-       MS_NOEXEC                        = 0x8
-       MS_NOREMOTELOCK                  = 0x8000000
-       MS_NOSEC                         = 0x10000000
-       MS_NOSUID                        = 0x2
-       MS_NOUSER                        = -0x80000000
-       MS_POSIXACL                      = 0x10000
-       MS_PRIVATE                       = 0x40000
-       MS_RDONLY                        = 0x1
-       MS_REC                           = 0x4000
-       MS_RELATIME                      = 0x200000
-       MS_REMOUNT                       = 0x20
-       MS_RMT_MASK                      = 0x2800051
-       MS_SHARED                        = 0x100000
-       MS_SILENT                        = 0x8000
-       MS_SLAVE                         = 0x80000
-       MS_STRICTATIME                   = 0x1000000
-       MS_SYNC                          = 0x4
-       MS_SYNCHRONOUS                   = 0x10
-       MS_UNBINDABLE                    = 0x20000
-       MS_VERBOSE                       = 0x8000
-       NAME_MAX                         = 0xff
-       NETLINK_ADD_MEMBERSHIP           = 0x1
-       NETLINK_AUDIT                    = 0x9
-       NETLINK_BROADCAST_ERROR          = 0x4
-       NETLINK_CAP_ACK                  = 0xa
-       NETLINK_CONNECTOR                = 0xb
-       NETLINK_CRYPTO                   = 0x15
-       NETLINK_DNRTMSG                  = 0xe
-       NETLINK_DROP_MEMBERSHIP          = 0x2
-       NETLINK_ECRYPTFS                 = 0x13
-       NETLINK_FIB_LOOKUP               = 0xa
-       NETLINK_FIREWALL                 = 0x3
-       NETLINK_GENERIC                  = 0x10
-       NETLINK_INET_DIAG                = 0x4
-       NETLINK_IP6_FW                   = 0xd
-       NETLINK_ISCSI                    = 0x8
-       NETLINK_KOBJECT_UEVENT           = 0xf
-       NETLINK_LISTEN_ALL_NSID          = 0x8
-       NETLINK_LIST_MEMBERSHIPS         = 0x9
-       NETLINK_NETFILTER                = 0xc
-       NETLINK_NFLOG                    = 0x5
-       NETLINK_NO_ENOBUFS               = 0x5
-       NETLINK_PKTINFO                  = 0x3
-       NETLINK_RDMA                     = 0x14
-       NETLINK_ROUTE                    = 0x0
-       NETLINK_RX_RING                  = 0x6
-       NETLINK_SCSITRANSPORT            = 0x12
-       NETLINK_SELINUX                  = 0x7
-       NETLINK_SOCK_DIAG                = 0x4
-       NETLINK_TX_RING                  = 0x7
-       NETLINK_UNUSED                   = 0x1
-       NETLINK_USERSOCK                 = 0x2
-       NETLINK_XFRM                     = 0x6
-       NL0                              = 0x0
-       NL1                              = 0x100
-       NLA_ALIGNTO                      = 0x4
-       NLA_F_NESTED                     = 0x8000
-       NLA_F_NET_BYTEORDER              = 0x4000
-       NLA_HDRLEN                       = 0x4
-       NLDLY                            = 0x100
-       NLMSG_ALIGNTO                    = 0x4
-       NLMSG_DONE                       = 0x3
-       NLMSG_ERROR                      = 0x2
-       NLMSG_HDRLEN                     = 0x10
-       NLMSG_MIN_TYPE                   = 0x10
-       NLMSG_NOOP                       = 0x1
-       NLMSG_OVERRUN                    = 0x4
-       NLM_F_ACK                        = 0x4
-       NLM_F_APPEND                     = 0x800
-       NLM_F_ATOMIC                     = 0x400
-       NLM_F_CREATE                     = 0x400
-       NLM_F_DUMP                       = 0x300
-       NLM_F_DUMP_FILTERED              = 0x20
-       NLM_F_DUMP_INTR                  = 0x10
-       NLM_F_ECHO                       = 0x8
-       NLM_F_EXCL                       = 0x200
-       NLM_F_MATCH                      = 0x200
-       NLM_F_MULTI                      = 0x2
-       NLM_F_REPLACE                    = 0x100
-       NLM_F_REQUEST                    = 0x1
-       NLM_F_ROOT                       = 0x100
-       NOFLSH                           = 0x80
-       OCRNL                            = 0x8
-       OFDEL                            = 0x80
-       OFILL                            = 0x40
-       OLCUC                            = 0x2
-       ONLCR                            = 0x4
-       ONLRET                           = 0x20
-       ONOCR                            = 0x10
-       OPOST                            = 0x1
-       O_ACCMODE                        = 0x3
-       O_APPEND                         = 0x400
-       O_ASYNC                          = 0x2000
-       O_CLOEXEC                        = 0x80000
-       O_CREAT                          = 0x40
-       O_DIRECT                         = 0x4000
-       O_DIRECTORY                      = 0x10000
-       O_DSYNC                          = 0x1000
-       O_EXCL                           = 0x80
-       O_FSYNC                          = 0x101000
-       O_LARGEFILE                      = 0x8000
-       O_NDELAY                         = 0x800
-       O_NOATIME                        = 0x40000
-       O_NOCTTY                         = 0x100
-       O_NOFOLLOW                       = 0x20000
-       O_NONBLOCK                       = 0x800
-       O_PATH                           = 0x200000
-       O_RDONLY                         = 0x0
-       O_RDWR                           = 0x2
-       O_RSYNC                          = 0x101000
-       O_SYNC                           = 0x101000
-       O_TMPFILE                        = 0x410000
-       O_TRUNC                          = 0x200
-       O_WRONLY                         = 0x1
-       PACKET_ADD_MEMBERSHIP            = 0x1
-       PACKET_AUXDATA                   = 0x8
-       PACKET_BROADCAST                 = 0x1
-       PACKET_COPY_THRESH               = 0x7
-       PACKET_DROP_MEMBERSHIP           = 0x2
-       PACKET_FANOUT                    = 0x12
-       PACKET_FANOUT_CBPF               = 0x6
-       PACKET_FANOUT_CPU                = 0x2
-       PACKET_FANOUT_DATA               = 0x16
-       PACKET_FANOUT_EBPF               = 0x7
-       PACKET_FANOUT_FLAG_DEFRAG        = 0x8000
-       PACKET_FANOUT_FLAG_ROLLOVER      = 0x1000
-       PACKET_FANOUT_HASH               = 0x0
-       PACKET_FANOUT_LB                 = 0x1
-       PACKET_FANOUT_QM                 = 0x5
-       PACKET_FANOUT_RND                = 0x4
-       PACKET_FANOUT_ROLLOVER           = 0x3
-       PACKET_FASTROUTE                 = 0x6
-       PACKET_HDRLEN                    = 0xb
-       PACKET_HOST                      = 0x0
-       PACKET_KERNEL                    = 0x7
-       PACKET_LOOPBACK                  = 0x5
-       PACKET_LOSS                      = 0xe
-       PACKET_MR_ALLMULTI               = 0x2
-       PACKET_MR_MULTICAST              = 0x0
-       PACKET_MR_PROMISC                = 0x1
-       PACKET_MR_UNICAST                = 0x3
-       PACKET_MULTICAST                 = 0x2
-       PACKET_ORIGDEV                   = 0x9
-       PACKET_OTHERHOST                 = 0x3
-       PACKET_OUTGOING                  = 0x4
-       PACKET_QDISC_BYPASS              = 0x14
-       PACKET_RECV_OUTPUT               = 0x3
-       PACKET_RESERVE                   = 0xc
-       PACKET_ROLLOVER_STATS            = 0x15
-       PACKET_RX_RING                   = 0x5
-       PACKET_STATISTICS                = 0x6
-       PACKET_TIMESTAMP                 = 0x11
-       PACKET_TX_HAS_OFF                = 0x13
-       PACKET_TX_RING                   = 0xd
-       PACKET_TX_TIMESTAMP              = 0x10
-       PACKET_USER                      = 0x6
-       PACKET_VERSION                   = 0xa
-       PACKET_VNET_HDR                  = 0xf
-       PARENB                           = 0x100
-       PARITY_CRC16_PR0                 = 0x2
-       PARITY_CRC16_PR0_CCITT           = 0x4
-       PARITY_CRC16_PR1                 = 0x3
-       PARITY_CRC16_PR1_CCITT           = 0x5
-       PARITY_CRC32_PR0_CCITT           = 0x6
-       PARITY_CRC32_PR1_CCITT           = 0x7
-       PARITY_DEFAULT                   = 0x0
-       PARITY_NONE                      = 0x1
-       PARMRK                           = 0x8
-       PARODD                           = 0x200
-       PENDIN                           = 0x4000
-       PRIO_PGRP                        = 0x1
-       PRIO_PROCESS                     = 0x0
-       PRIO_USER                        = 0x2
-       PROT_EXEC                        = 0x4
-       PROT_GROWSDOWN                   = 0x1000000
-       PROT_GROWSUP                     = 0x2000000
-       PROT_NONE                        = 0x0
-       PROT_READ                        = 0x1
-       PROT_WRITE                       = 0x2
-       PR_CAPBSET_DROP                  = 0x18
-       PR_CAPBSET_READ                  = 0x17
-       PR_CAP_AMBIENT                   = 0x2f
-       PR_CAP_AMBIENT_CLEAR_ALL         = 0x4
-       PR_CAP_AMBIENT_IS_SET            = 0x1
-       PR_CAP_AMBIENT_LOWER             = 0x3
-       PR_CAP_AMBIENT_RAISE             = 0x2
-       PR_ENDIAN_BIG                    = 0x0
-       PR_ENDIAN_LITTLE                 = 0x1
-       PR_ENDIAN_PPC_LITTLE             = 0x2
-       PR_FPEMU_NOPRINT                 = 0x1
-       PR_FPEMU_SIGFPE                  = 0x2
-       PR_FP_EXC_ASYNC                  = 0x2
-       PR_FP_EXC_DISABLED               = 0x0
-       PR_FP_EXC_DIV                    = 0x10000
-       PR_FP_EXC_INV                    = 0x100000
-       PR_FP_EXC_NONRECOV               = 0x1
-       PR_FP_EXC_OVF                    = 0x20000
-       PR_FP_EXC_PRECISE                = 0x3
-       PR_FP_EXC_RES                    = 0x80000
-       PR_FP_EXC_SW_ENABLE              = 0x80
-       PR_FP_EXC_UND                    = 0x40000
-       PR_FP_MODE_FR                    = 0x1
-       PR_FP_MODE_FRE                   = 0x2
-       PR_GET_CHILD_SUBREAPER           = 0x25
-       PR_GET_DUMPABLE                  = 0x3
-       PR_GET_ENDIAN                    = 0x13
-       PR_GET_FPEMU                     = 0x9
-       PR_GET_FPEXC                     = 0xb
-       PR_GET_FP_MODE                   = 0x2e
-       PR_GET_KEEPCAPS                  = 0x7
-       PR_GET_NAME                      = 0x10
-       PR_GET_NO_NEW_PRIVS              = 0x27
-       PR_GET_PDEATHSIG                 = 0x2
-       PR_GET_SECCOMP                   = 0x15
-       PR_GET_SECUREBITS                = 0x1b
-       PR_GET_THP_DISABLE               = 0x2a
-       PR_GET_TID_ADDRESS               = 0x28
-       PR_GET_TIMERSLACK                = 0x1e
-       PR_GET_TIMING                    = 0xd
-       PR_GET_TSC                       = 0x19
-       PR_GET_UNALIGN                   = 0x5
-       PR_MCE_KILL                      = 0x21
-       PR_MCE_KILL_CLEAR                = 0x0
-       PR_MCE_KILL_DEFAULT              = 0x2
-       PR_MCE_KILL_EARLY                = 0x1
-       PR_MCE_KILL_GET                  = 0x22
-       PR_MCE_KILL_LATE                 = 0x0
-       PR_MCE_KILL_SET                  = 0x1
-       PR_MPX_DISABLE_MANAGEMENT        = 0x2c
-       PR_MPX_ENABLE_MANAGEMENT         = 0x2b
-       PR_SET_CHILD_SUBREAPER           = 0x24
-       PR_SET_DUMPABLE                  = 0x4
-       PR_SET_ENDIAN                    = 0x14
-       PR_SET_FPEMU                     = 0xa
-       PR_SET_FPEXC                     = 0xc
-       PR_SET_FP_MODE                   = 0x2d
-       PR_SET_KEEPCAPS                  = 0x8
-       PR_SET_MM                        = 0x23
-       PR_SET_MM_ARG_END                = 0x9
-       PR_SET_MM_ARG_START              = 0x8
-       PR_SET_MM_AUXV                   = 0xc
-       PR_SET_MM_BRK                    = 0x7
-       PR_SET_MM_END_CODE               = 0x2
-       PR_SET_MM_END_DATA               = 0x4
-       PR_SET_MM_ENV_END                = 0xb
-       PR_SET_MM_ENV_START              = 0xa
-       PR_SET_MM_EXE_FILE               = 0xd
-       PR_SET_MM_MAP                    = 0xe
-       PR_SET_MM_MAP_SIZE               = 0xf
-       PR_SET_MM_START_BRK              = 0x6
-       PR_SET_MM_START_CODE             = 0x1
-       PR_SET_MM_START_DATA             = 0x3
-       PR_SET_MM_START_STACK            = 0x5
-       PR_SET_NAME                      = 0xf
-       PR_SET_NO_NEW_PRIVS              = 0x26
-       PR_SET_PDEATHSIG                 = 0x1
-       PR_SET_PTRACER                   = 0x59616d61
-       PR_SET_PTRACER_ANY               = 0xffffffff
-       PR_SET_SECCOMP                   = 0x16
-       PR_SET_SECUREBITS                = 0x1c
-       PR_SET_THP_DISABLE               = 0x29
-       PR_SET_TIMERSLACK                = 0x1d
-       PR_SET_TIMING                    = 0xe
-       PR_SET_TSC                       = 0x1a
-       PR_SET_UNALIGN                   = 0x6
-       PR_TASK_PERF_EVENTS_DISABLE      = 0x1f
-       PR_TASK_PERF_EVENTS_ENABLE       = 0x20
-       PR_TIMING_STATISTICAL            = 0x0
-       PR_TIMING_TIMESTAMP              = 0x1
-       PR_TSC_ENABLE                    = 0x1
-       PR_TSC_SIGSEGV                   = 0x2
-       PR_UNALIGN_NOPRINT               = 0x1
-       PR_UNALIGN_SIGBUS                = 0x2
-       PTRACE_ATTACH                    = 0x10
-       PTRACE_CONT                      = 0x7
-       PTRACE_DETACH                    = 0x11
-       PTRACE_EVENT_CLONE               = 0x3
-       PTRACE_EVENT_EXEC                = 0x4
-       PTRACE_EVENT_EXIT                = 0x6
-       PTRACE_EVENT_FORK                = 0x1
-       PTRACE_EVENT_SECCOMP             = 0x7
-       PTRACE_EVENT_STOP                = 0x80
-       PTRACE_EVENT_VFORK               = 0x2
-       PTRACE_EVENT_VFORK_DONE          = 0x5
-       PTRACE_GETEVENTMSG               = 0x4201
-       PTRACE_GETFPREGS                 = 0xe
-       PTRACE_GETFPXREGS                = 0x12
-       PTRACE_GETREGS                   = 0xc
-       PTRACE_GETREGSET                 = 0x4204
-       PTRACE_GETSIGINFO                = 0x4202
-       PTRACE_GETSIGMASK                = 0x420a
-       PTRACE_GET_THREAD_AREA           = 0x19
-       PTRACE_INTERRUPT                 = 0x4207
-       PTRACE_KILL                      = 0x8
-       PTRACE_LISTEN                    = 0x4208
-       PTRACE_OLDSETOPTIONS             = 0x15
-       PTRACE_O_EXITKILL                = 0x100000
-       PTRACE_O_MASK                    = 0x3000ff
-       PTRACE_O_SUSPEND_SECCOMP         = 0x200000
-       PTRACE_O_TRACECLONE              = 0x8
-       PTRACE_O_TRACEEXEC               = 0x10
-       PTRACE_O_TRACEEXIT               = 0x40
-       PTRACE_O_TRACEFORK               = 0x2
-       PTRACE_O_TRACESECCOMP            = 0x80
-       PTRACE_O_TRACESYSGOOD            = 0x1
-       PTRACE_O_TRACEVFORK              = 0x4
-       PTRACE_O_TRACEVFORKDONE          = 0x20
-       PTRACE_PEEKDATA                  = 0x2
-       PTRACE_PEEKSIGINFO               = 0x4209
-       PTRACE_PEEKSIGINFO_SHARED        = 0x1
-       PTRACE_PEEKTEXT                  = 0x1
-       PTRACE_PEEKUSR                   = 0x3
-       PTRACE_POKEDATA                  = 0x5
-       PTRACE_POKETEXT                  = 0x4
-       PTRACE_POKEUSR                   = 0x6
-       PTRACE_SECCOMP_GET_FILTER        = 0x420c
-       PTRACE_SEIZE                     = 0x4206
-       PTRACE_SETFPREGS                 = 0xf
-       PTRACE_SETFPXREGS                = 0x13
-       PTRACE_SETOPTIONS                = 0x4200
-       PTRACE_SETREGS                   = 0xd
-       PTRACE_SETREGSET                 = 0x4205
-       PTRACE_SETSIGINFO                = 0x4203
-       PTRACE_SETSIGMASK                = 0x420b
-       PTRACE_SET_THREAD_AREA           = 0x1a
-       PTRACE_SINGLEBLOCK               = 0x21
-       PTRACE_SINGLESTEP                = 0x9
-       PTRACE_SYSCALL                   = 0x18
-       PTRACE_SYSEMU                    = 0x1f
-       PTRACE_SYSEMU_SINGLESTEP         = 0x20
-       PTRACE_TRACEME                   = 0x0
-       RLIMIT_AS                        = 0x9
-       RLIMIT_CORE                      = 0x4
-       RLIMIT_CPU                       = 0x0
-       RLIMIT_DATA                      = 0x2
-       RLIMIT_FSIZE                     = 0x1
-       RLIMIT_NOFILE                    = 0x7
-       RLIMIT_STACK                     = 0x3
-       RLIM_INFINITY                    = -0x1
-       RTAX_ADVMSS                      = 0x8
-       RTAX_CC_ALGO                     = 0x10
-       RTAX_CWND                        = 0x7
-       RTAX_FEATURES                    = 0xc
-       RTAX_FEATURE_ALLFRAG             = 0x8
-       RTAX_FEATURE_ECN                 = 0x1
-       RTAX_FEATURE_MASK                = 0xf
-       RTAX_FEATURE_SACK                = 0x2
-       RTAX_FEATURE_TIMESTAMP           = 0x4
-       RTAX_HOPLIMIT                    = 0xa
-       RTAX_INITCWND                    = 0xb
-       RTAX_INITRWND                    = 0xe
-       RTAX_LOCK                        = 0x1
-       RTAX_MAX                         = 0x10
-       RTAX_MTU                         = 0x2
-       RTAX_QUICKACK                    = 0xf
-       RTAX_REORDERING                  = 0x9
-       RTAX_RTO_MIN                     = 0xd
-       RTAX_RTT                         = 0x4
-       RTAX_RTTVAR                      = 0x5
-       RTAX_SSTHRESH                    = 0x6
-       RTAX_UNSPEC                      = 0x0
-       RTAX_WINDOW                      = 0x3
-       RTA_ALIGNTO                      = 0x4
-       RTA_MAX                          = 0x19
-       RTCF_DIRECTSRC                   = 0x4000000
-       RTCF_DOREDIRECT                  = 0x1000000
-       RTCF_LOG                         = 0x2000000
-       RTCF_MASQ                        = 0x400000
-       RTCF_NAT                         = 0x800000
-       RTCF_VALVE                       = 0x200000
-       RTF_ADDRCLASSMASK                = 0xf8000000
-       RTF_ADDRCONF                     = 0x40000
-       RTF_ALLONLINK                    = 0x20000
-       RTF_BROADCAST                    = 0x10000000
-       RTF_CACHE                        = 0x1000000
-       RTF_DEFAULT                      = 0x10000
-       RTF_DYNAMIC                      = 0x10
-       RTF_FLOW                         = 0x2000000
-       RTF_GATEWAY                      = 0x2
-       RTF_HOST                         = 0x4
-       RTF_INTERFACE                    = 0x40000000
-       RTF_IRTT                         = 0x100
-       RTF_LINKRT                       = 0x100000
-       RTF_LOCAL                        = 0x80000000
-       RTF_MODIFIED                     = 0x20
-       RTF_MSS                          = 0x40
-       RTF_MTU                          = 0x40
-       RTF_MULTICAST                    = 0x20000000
-       RTF_NAT                          = 0x8000000
-       RTF_NOFORWARD                    = 0x1000
-       RTF_NONEXTHOP                    = 0x200000
-       RTF_NOPMTUDISC                   = 0x4000
-       RTF_POLICY                       = 0x4000000
-       RTF_REINSTATE                    = 0x8
-       RTF_REJECT                       = 0x200
-       RTF_STATIC                       = 0x400
-       RTF_THROW                        = 0x2000
-       RTF_UP                           = 0x1
-       RTF_WINDOW                       = 0x80
-       RTF_XRESOLVE                     = 0x800
-       RTM_BASE                         = 0x10
-       RTM_DELACTION                    = 0x31
-       RTM_DELADDR                      = 0x15
-       RTM_DELADDRLABEL                 = 0x49
-       RTM_DELLINK                      = 0x11
-       RTM_DELMDB                       = 0x55
-       RTM_DELNEIGH                     = 0x1d
-       RTM_DELNSID                      = 0x59
-       RTM_DELQDISC                     = 0x25
-       RTM_DELROUTE                     = 0x19
-       RTM_DELRULE                      = 0x21
-       RTM_DELTCLASS                    = 0x29
-       RTM_DELTFILTER                   = 0x2d
-       RTM_F_CLONED                     = 0x200
-       RTM_F_EQUALIZE                   = 0x400
-       RTM_F_LOOKUP_TABLE               = 0x1000
-       RTM_F_NOTIFY                     = 0x100
-       RTM_F_PREFIX                     = 0x800
-       RTM_GETACTION                    = 0x32
-       RTM_GETADDR                      = 0x16
-       RTM_GETADDRLABEL                 = 0x4a
-       RTM_GETANYCAST                   = 0x3e
-       RTM_GETDCB                       = 0x4e
-       RTM_GETLINK                      = 0x12
-       RTM_GETMDB                       = 0x56
-       RTM_GETMULTICAST                 = 0x3a
-       RTM_GETNEIGH                     = 0x1e
-       RTM_GETNEIGHTBL                  = 0x42
-       RTM_GETNETCONF                   = 0x52
-       RTM_GETNSID                      = 0x5a
-       RTM_GETQDISC                     = 0x26
-       RTM_GETROUTE                     = 0x1a
-       RTM_GETRULE                      = 0x22
-       RTM_GETSTATS                     = 0x5e
-       RTM_GETTCLASS                    = 0x2a
-       RTM_GETTFILTER                   = 0x2e
-       RTM_MAX                          = 0x5f
-       RTM_NEWACTION                    = 0x30
-       RTM_NEWADDR                      = 0x14
-       RTM_NEWADDRLABEL                 = 0x48
-       RTM_NEWLINK                      = 0x10
-       RTM_NEWMDB                       = 0x54
-       RTM_NEWNDUSEROPT                 = 0x44
-       RTM_NEWNEIGH                     = 0x1c
-       RTM_NEWNEIGHTBL                  = 0x40
-       RTM_NEWNETCONF                   = 0x50
-       RTM_NEWNSID                      = 0x58
-       RTM_NEWPREFIX                    = 0x34
-       RTM_NEWQDISC                     = 0x24
-       RTM_NEWROUTE                     = 0x18
-       RTM_NEWRULE                      = 0x20
-       RTM_NEWSTATS                     = 0x5c
-       RTM_NEWTCLASS                    = 0x28
-       RTM_NEWTFILTER                   = 0x2c
-       RTM_NR_FAMILIES                  = 0x14
-       RTM_NR_MSGTYPES                  = 0x50
-       RTM_SETDCB                       = 0x4f
-       RTM_SETLINK                      = 0x13
-       RTM_SETNEIGHTBL                  = 0x43
-       RTNH_ALIGNTO                     = 0x4
-       RTNH_COMPARE_MASK                = 0x19
-       RTNH_F_DEAD                      = 0x1
-       RTNH_F_LINKDOWN                  = 0x10
-       RTNH_F_OFFLOAD                   = 0x8
-       RTNH_F_ONLINK                    = 0x4
-       RTNH_F_PERVASIVE                 = 0x2
-       RTN_MAX                          = 0xb
-       RTPROT_BABEL                     = 0x2a
-       RTPROT_BIRD                      = 0xc
-       RTPROT_BOOT                      = 0x3
-       RTPROT_DHCP                      = 0x10
-       RTPROT_DNROUTED                  = 0xd
-       RTPROT_GATED                     = 0x8
-       RTPROT_KERNEL                    = 0x2
-       RTPROT_MROUTED                   = 0x11
-       RTPROT_MRT                       = 0xa
-       RTPROT_NTK                       = 0xf
-       RTPROT_RA                        = 0x9
-       RTPROT_REDIRECT                  = 0x1
-       RTPROT_STATIC                    = 0x4
-       RTPROT_UNSPEC                    = 0x0
-       RTPROT_XORP                      = 0xe
-       RTPROT_ZEBRA                     = 0xb
-       RT_CLASS_DEFAULT                 = 0xfd
-       RT_CLASS_LOCAL                   = 0xff
-       RT_CLASS_MAIN                    = 0xfe
-       RT_CLASS_MAX                     = 0xff
-       RT_CLASS_UNSPEC                  = 0x0
-       RUSAGE_CHILDREN                  = -0x1
-       RUSAGE_SELF                      = 0x0
-       RUSAGE_THREAD                    = 0x1
-       SCM_CREDENTIALS                  = 0x2
-       SCM_RIGHTS                       = 0x1
-       SCM_TIMESTAMP                    = 0x1d
-       SCM_TIMESTAMPING                 = 0x25
-       SCM_TIMESTAMPING_OPT_STATS       = 0x36
-       SCM_TIMESTAMPNS                  = 0x23
-       SCM_WIFI_STATUS                  = 0x29
-       SHUT_RD                          = 0x0
-       SHUT_RDWR                        = 0x2
-       SHUT_WR                          = 0x1
-       SIOCADDDLCI                      = 0x8980
-       SIOCADDMULTI                     = 0x8931
-       SIOCADDRT                        = 0x890b
-       SIOCATMARK                       = 0x8905
-       SIOCDARP                         = 0x8953
-       SIOCDELDLCI                      = 0x8981
-       SIOCDELMULTI                     = 0x8932
-       SIOCDELRT                        = 0x890c
-       SIOCDEVPRIVATE                   = 0x89f0
-       SIOCDIFADDR                      = 0x8936
-       SIOCDRARP                        = 0x8960
-       SIOCGARP                         = 0x8954
-       SIOCGIFADDR                      = 0x8915
-       SIOCGIFBR                        = 0x8940
-       SIOCGIFBRDADDR                   = 0x8919
-       SIOCGIFCONF                      = 0x8912
-       SIOCGIFCOUNT                     = 0x8938
-       SIOCGIFDSTADDR                   = 0x8917
-       SIOCGIFENCAP                     = 0x8925
-       SIOCGIFFLAGS                     = 0x8913
-       SIOCGIFHWADDR                    = 0x8927
-       SIOCGIFINDEX                     = 0x8933
-       SIOCGIFMAP                       = 0x8970
-       SIOCGIFMEM                       = 0x891f
-       SIOCGIFMETRIC                    = 0x891d
-       SIOCGIFMTU                       = 0x8921
-       SIOCGIFNAME                      = 0x8910
-       SIOCGIFNETMASK                   = 0x891b
-       SIOCGIFPFLAGS                    = 0x8935
-       SIOCGIFSLAVE                     = 0x8929
-       SIOCGIFTXQLEN                    = 0x8942
-       SIOCGPGRP                        = 0x8904
-       SIOCGRARP                        = 0x8961
-       SIOCGSTAMP                       = 0x8906
-       SIOCGSTAMPNS                     = 0x8907
-       SIOCPROTOPRIVATE                 = 0x89e0
-       SIOCRTMSG                        = 0x890d
-       SIOCSARP                         = 0x8955
-       SIOCSIFADDR                      = 0x8916
-       SIOCSIFBR                        = 0x8941
-       SIOCSIFBRDADDR                   = 0x891a
-       SIOCSIFDSTADDR                   = 0x8918
-       SIOCSIFENCAP                     = 0x8926
-       SIOCSIFFLAGS                     = 0x8914
-       SIOCSIFHWADDR                    = 0x8924
-       SIOCSIFHWBROADCAST               = 0x8937
-       SIOCSIFLINK                      = 0x8911
-       SIOCSIFMAP                       = 0x8971
-       SIOCSIFMEM                       = 0x8920
-       SIOCSIFMETRIC                    = 0x891e
-       SIOCSIFMTU                       = 0x8922
-       SIOCSIFNAME                      = 0x8923
-       SIOCSIFNETMASK                   = 0x891c
-       SIOCSIFPFLAGS                    = 0x8934
-       SIOCSIFSLAVE                     = 0x8930
-       SIOCSIFTXQLEN                    = 0x8943
-       SIOCSPGRP                        = 0x8902
-       SIOCSRARP                        = 0x8962
-       SOCK_CLOEXEC                     = 0x80000
-       SOCK_DCCP                        = 0x6
-       SOCK_DGRAM                       = 0x2
-       SOCK_NONBLOCK                    = 0x800
-       SOCK_PACKET                      = 0xa
-       SOCK_RAW                         = 0x3
-       SOCK_RDM                         = 0x4
-       SOCK_SEQPACKET                   = 0x5
-       SOCK_STREAM                      = 0x1
-       SOL_AAL                          = 0x109
-       SOL_ALG                          = 0x117
-       SOL_ATM                          = 0x108
-       SOL_CAIF                         = 0x116
-       SOL_CAN_BASE                     = 0x64
-       SOL_DCCP                         = 0x10d
-       SOL_DECNET                       = 0x105
-       SOL_ICMPV6                       = 0x3a
-       SOL_IP                           = 0x0
-       SOL_IPV6                         = 0x29
-       SOL_IRDA                         = 0x10a
-       SOL_IUCV                         = 0x115
-       SOL_KCM                          = 0x119
-       SOL_LLC                          = 0x10c
-       SOL_NETBEUI                      = 0x10b
-       SOL_NETLINK                      = 0x10e
-       SOL_NFC                          = 0x118
-       SOL_PACKET                       = 0x107
-       SOL_PNPIPE                       = 0x113
-       SOL_PPPOL2TP                     = 0x111
-       SOL_RAW                          = 0xff
-       SOL_RDS                          = 0x114
-       SOL_RXRPC                        = 0x110
-       SOL_SOCKET                       = 0x1
-       SOL_TCP                          = 0x6
-       SOL_TIPC                         = 0x10f
-       SOL_X25                          = 0x106
-       SOMAXCONN                        = 0x80
-       SO_ACCEPTCONN                    = 0x1e
-       SO_ATTACH_BPF                    = 0x32
-       SO_ATTACH_FILTER                 = 0x1a
-       SO_ATTACH_REUSEPORT_CBPF         = 0x33
-       SO_ATTACH_REUSEPORT_EBPF         = 0x34
-       SO_BINDTODEVICE                  = 0x19
-       SO_BPF_EXTENSIONS                = 0x30
-       SO_BROADCAST                     = 0x6
-       SO_BSDCOMPAT                     = 0xe
-       SO_BUSY_POLL                     = 0x2e
-       SO_CNX_ADVICE                    = 0x35
-       SO_DEBUG                         = 0x1
-       SO_DETACH_BPF                    = 0x1b
-       SO_DETACH_FILTER                 = 0x1b
-       SO_DOMAIN                        = 0x27
-       SO_DONTROUTE                     = 0x5
-       SO_ERROR                         = 0x4
-       SO_GET_FILTER                    = 0x1a
-       SO_INCOMING_CPU                  = 0x31
-       SO_KEEPALIVE                     = 0x9
-       SO_LINGER                        = 0xd
-       SO_LOCK_FILTER                   = 0x2c
-       SO_MARK                          = 0x24
-       SO_MAX_PACING_RATE               = 0x2f
-       SO_NOFCS                         = 0x2b
-       SO_NO_CHECK                      = 0xb
-       SO_OOBINLINE                     = 0xa
-       SO_PASSCRED                      = 0x10
-       SO_PASSSEC                       = 0x22
-       SO_PEEK_OFF                      = 0x2a
-       SO_PEERCRED                      = 0x11
-       SO_PEERNAME                      = 0x1c
-       SO_PEERSEC                       = 0x1f
-       SO_PRIORITY                      = 0xc
-       SO_PROTOCOL                      = 0x26
-       SO_RCVBUF                        = 0x8
-       SO_RCVBUFFORCE                   = 0x21
-       SO_RCVLOWAT                      = 0x12
-       SO_RCVTIMEO                      = 0x14
-       SO_REUSEADDR                     = 0x2
-       SO_REUSEPORT                     = 0xf
-       SO_RXQ_OVFL                      = 0x28
-       SO_SECURITY_AUTHENTICATION       = 0x16
-       SO_SECURITY_ENCRYPTION_NETWORK   = 0x18
-       SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-       SO_SELECT_ERR_QUEUE              = 0x2d
-       SO_SNDBUF                        = 0x7
-       SO_SNDBUFFORCE                   = 0x20
-       SO_SNDLOWAT                      = 0x13
-       SO_SNDTIMEO                      = 0x15
-       SO_TIMESTAMP                     = 0x1d
-       SO_TIMESTAMPING                  = 0x25
-       SO_TIMESTAMPNS                   = 0x23
-       SO_TYPE                          = 0x3
-       SO_VM_SOCKETS_BUFFER_MAX_SIZE    = 0x2
-       SO_VM_SOCKETS_BUFFER_MIN_SIZE    = 0x1
-       SO_VM_SOCKETS_BUFFER_SIZE        = 0x0
-       SO_VM_SOCKETS_CONNECT_TIMEOUT    = 0x6
-       SO_VM_SOCKETS_NONBLOCK_TXRX      = 0x7
-       SO_VM_SOCKETS_PEER_HOST_VM_ID    = 0x3
-       SO_VM_SOCKETS_TRUSTED            = 0x5
-       SO_WIFI_STATUS                   = 0x29
-       SPLICE_F_GIFT                    = 0x8
-       SPLICE_F_MORE                    = 0x4
-       SPLICE_F_MOVE                    = 0x1
-       SPLICE_F_NONBLOCK                = 0x2
-       S_BLKSIZE                        = 0x200
-       S_IEXEC                          = 0x40
-       S_IFBLK                          = 0x6000
-       S_IFCHR                          = 0x2000
-       S_IFDIR                          = 0x4000
-       S_IFIFO                          = 0x1000
-       S_IFLNK                          = 0xa000
-       S_IFMT                           = 0xf000
-       S_IFREG                          = 0x8000
-       S_IFSOCK                         = 0xc000
-       S_IREAD                          = 0x100
-       S_IRGRP                          = 0x20
-       S_IROTH                          = 0x4
-       S_IRUSR                          = 0x100
-       S_IRWXG                          = 0x38
-       S_IRWXO                          = 0x7
-       S_IRWXU                          = 0x1c0
-       S_ISGID                          = 0x400
-       S_ISUID                          = 0x800
-       S_ISVTX                          = 0x200
-       S_IWGRP                          = 0x10
-       S_IWOTH                          = 0x2
-       S_IWRITE                         = 0x80
-       S_IWUSR                          = 0x80
-       S_IXGRP                          = 0x8
-       S_IXOTH                          = 0x1
-       S_IXUSR                          = 0x40
-       TAB0                             = 0x0
-       TAB1                             = 0x800
-       TAB2                             = 0x1000
-       TAB3                             = 0x1800
-       TABDLY                           = 0x1800
-       TCFLSH                           = 0x540b
-       TCGETA                           = 0x5405
-       TCGETS                           = 0x5401
-       TCGETS2                          = 0x802c542a
-       TCGETX                           = 0x5432
-       TCIFLUSH                         = 0x0
-       TCIOFF                           = 0x2
-       TCIOFLUSH                        = 0x2
-       TCION                            = 0x3
-       TCOFLUSH                         = 0x1
-       TCOOFF                           = 0x0
-       TCOON                            = 0x1
-       TCP_CC_INFO                      = 0x1a
-       TCP_CONGESTION                   = 0xd
-       TCP_COOKIE_IN_ALWAYS             = 0x1
-       TCP_COOKIE_MAX                   = 0x10
-       TCP_COOKIE_MIN                   = 0x8
-       TCP_COOKIE_OUT_NEVER             = 0x2
-       TCP_COOKIE_PAIR_SIZE             = 0x20
-       TCP_COOKIE_TRANSACTIONS          = 0xf
-       TCP_CORK                         = 0x3
-       TCP_DEFER_ACCEPT                 = 0x9
-       TCP_FASTOPEN                     = 0x17
-       TCP_INFO                         = 0xb
-       TCP_KEEPCNT                      = 0x6
-       TCP_KEEPIDLE                     = 0x4
-       TCP_KEEPINTVL                    = 0x5
-       TCP_LINGER2                      = 0x8
-       TCP_MAXSEG                       = 0x2
-       TCP_MAXWIN                       = 0xffff
-       TCP_MAX_WINSHIFT                 = 0xe
-       TCP_MD5SIG                       = 0xe
-       TCP_MD5SIG_MAXKEYLEN             = 0x50
-       TCP_MSS                          = 0x200
-       TCP_MSS_DEFAULT                  = 0x218
-       TCP_MSS_DESIRED                  = 0x4c4
-       TCP_NODELAY                      = 0x1
-       TCP_NOTSENT_LOWAT                = 0x19
-       TCP_QUEUE_SEQ                    = 0x15
-       TCP_QUICKACK                     = 0xc
-       TCP_REPAIR                       = 0x13
-       TCP_REPAIR_OPTIONS               = 0x16
-       TCP_REPAIR_QUEUE                 = 0x14
-       TCP_REPAIR_WINDOW                = 0x1d
-       TCP_SAVED_SYN                    = 0x1c
-       TCP_SAVE_SYN                     = 0x1b
-       TCP_SYNCNT                       = 0x7
-       TCP_S_DATA_IN                    = 0x4
-       TCP_S_DATA_OUT                   = 0x8
-       TCP_THIN_DUPACK                  = 0x11
-       TCP_THIN_LINEAR_TIMEOUTS         = 0x10
-       TCP_TIMESTAMP                    = 0x18
-       TCP_USER_TIMEOUT                 = 0x12
-       TCP_WINDOW_CLAMP                 = 0xa
-       TCSAFLUSH                        = 0x2
-       TCSBRK                           = 0x5409
-       TCSBRKP                          = 0x5425
-       TCSETA                           = 0x5406
-       TCSETAF                          = 0x5408
-       TCSETAW                          = 0x5407
-       TCSETS                           = 0x5402
-       TCSETS2                          = 0x402c542b
-       TCSETSF                          = 0x5404
-       TCSETSF2                         = 0x402c542d
-       TCSETSW                          = 0x5403
-       TCSETSW2                         = 0x402c542c
-       TCSETX                           = 0x5433
-       TCSETXF                          = 0x5434
-       TCSETXW                          = 0x5435
-       TCXONC                           = 0x540a
-       TIOCCBRK                         = 0x5428
-       TIOCCONS                         = 0x541d
-       TIOCEXCL                         = 0x540c
-       TIOCGDEV                         = 0x80045432
-       TIOCGETD                         = 0x5424
-       TIOCGEXCL                        = 0x80045440
-       TIOCGICOUNT                      = 0x545d
-       TIOCGLCKTRMIOS                   = 0x5456
-       TIOCGPGRP                        = 0x540f
-       TIOCGPKT                         = 0x80045438
-       TIOCGPTLCK                       = 0x80045439
-       TIOCGPTN                         = 0x80045430
-       TIOCGRS485                       = 0x542e
-       TIOCGSERIAL                      = 0x541e
-       TIOCGSID                         = 0x5429
-       TIOCGSOFTCAR                     = 0x5419
-       TIOCGWINSZ                       = 0x5413
-       TIOCINQ                          = 0x541b
-       TIOCLINUX                        = 0x541c
-       TIOCMBIC                         = 0x5417
-       TIOCMBIS                         = 0x5416
-       TIOCMGET                         = 0x5415
-       TIOCMIWAIT                       = 0x545c
-       TIOCMSET                         = 0x5418
-       TIOCM_CAR                        = 0x40
-       TIOCM_CD                         = 0x40
-       TIOCM_CTS                        = 0x20
-       TIOCM_DSR                        = 0x100
-       TIOCM_DTR                        = 0x2
-       TIOCM_LE                         = 0x1
-       TIOCM_RI                         = 0x80
-       TIOCM_RNG                        = 0x80
-       TIOCM_RTS                        = 0x4
-       TIOCM_SR                         = 0x10
-       TIOCM_ST                         = 0x8
-       TIOCNOTTY                        = 0x5422
-       TIOCNXCL                         = 0x540d
-       TIOCOUTQ                         = 0x5411
-       TIOCPKT                          = 0x5420
-       TIOCPKT_DATA                     = 0x0
-       TIOCPKT_DOSTOP                   = 0x20
-       TIOCPKT_FLUSHREAD                = 0x1
-       TIOCPKT_FLUSHWRITE               = 0x2
-       TIOCPKT_IOCTL                    = 0x40
-       TIOCPKT_NOSTOP                   = 0x10
-       TIOCPKT_START                    = 0x8
-       TIOCPKT_STOP                     = 0x4
-       TIOCSBRK                         = 0x5427
-       TIOCSCTTY                        = 0x540e
-       TIOCSERCONFIG                    = 0x5453
-       TIOCSERGETLSR                    = 0x5459
-       TIOCSERGETMULTI                  = 0x545a
-       TIOCSERGSTRUCT                   = 0x5458
-       TIOCSERGWILD                     = 0x5454
-       TIOCSERSETMULTI                  = 0x545b
-       TIOCSERSWILD                     = 0x5455
-       TIOCSER_TEMT                     = 0x1
-       TIOCSETD                         = 0x5423
-       TIOCSIG                          = 0x40045436
-       TIOCSLCKTRMIOS                   = 0x5457
-       TIOCSPGRP                        = 0x5410
-       TIOCSPTLCK                       = 0x40045431
-       TIOCSRS485                       = 0x542f
-       TIOCSSERIAL                      = 0x541f
-       TIOCSSOFTCAR                     = 0x541a
-       TIOCSTI                          = 0x5412
-       TIOCSWINSZ                       = 0x5414
-       TIOCVHANGUP                      = 0x5437
-       TOSTOP                           = 0x100
-       TUNATTACHFILTER                  = 0x400854d5
-       TUNDETACHFILTER                  = 0x400854d6
-       TUNGETFEATURES                   = 0x800454cf
-       TUNGETFILTER                     = 0x800854db
-       TUNGETIFF                        = 0x800454d2
-       TUNGETSNDBUF                     = 0x800454d3
-       TUNGETVNETBE                     = 0x800454df
-       TUNGETVNETHDRSZ                  = 0x800454d7
-       TUNGETVNETLE                     = 0x800454dd
-       TUNSETDEBUG                      = 0x400454c9
-       TUNSETGROUP                      = 0x400454ce
-       TUNSETIFF                        = 0x400454ca
-       TUNSETIFINDEX                    = 0x400454da
-       TUNSETLINK                       = 0x400454cd
-       TUNSETNOCSUM                     = 0x400454c8
-       TUNSETOFFLOAD                    = 0x400454d0
-       TUNSETOWNER                      = 0x400454cc
-       TUNSETPERSIST                    = 0x400454cb
-       TUNSETQUEUE                      = 0x400454d9
-       TUNSETSNDBUF                     = 0x400454d4
-       TUNSETTXFILTER                   = 0x400454d1
-       TUNSETVNETBE                     = 0x400454de
-       TUNSETVNETHDRSZ                  = 0x400454d8
-       TUNSETVNETLE                     = 0x400454dc
-       VDISCARD                         = 0xd
-       VEOF                             = 0x4
-       VEOL                             = 0xb
-       VEOL2                            = 0x10
-       VERASE                           = 0x2
-       VINTR                            = 0x0
-       VKILL                            = 0x3
-       VLNEXT                           = 0xf
-       VMADDR_CID_ANY                   = 0xffffffff
-       VMADDR_CID_HOST                  = 0x2
-       VMADDR_CID_HYPERVISOR            = 0x0
-       VMADDR_CID_RESERVED              = 0x1
-       VMADDR_PORT_ANY                  = 0xffffffff
-       VMIN                             = 0x6
-       VM_SOCKETS_INVALID_VERSION       = 0xffffffff
-       VQUIT                            = 0x1
-       VREPRINT                         = 0xc
-       VSTART                           = 0x8
-       VSTOP                            = 0x9
-       VSUSP                            = 0xa
-       VSWTC                            = 0x7
-       VT0                              = 0x0
-       VT1                              = 0x4000
-       VTDLY                            = 0x4000
-       VTIME                            = 0x5
-       VWERASE                          = 0xe
-       WALL                             = 0x40000000
-       WCLONE                           = 0x80000000
-       WCONTINUED                       = 0x8
-       WEXITED                          = 0x4
-       WNOHANG                          = 0x1
-       WNOTHREAD                        = 0x20000000
-       WNOWAIT                          = 0x1000000
-       WORDSIZE                         = 0x20
-       WSTOPPED                         = 0x2
-       WUNTRACED                        = 0x2
-       XCASE                            = 0x4
-       XTABS                            = 0x1800
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x62)
-       EADDRNOTAVAIL   = syscall.Errno(0x63)
-       EADV            = syscall.Errno(0x44)
-       EAFNOSUPPORT    = syscall.Errno(0x61)
-       EAGAIN          = syscall.Errno(0xb)
-       EALREADY        = syscall.Errno(0x72)
-       EBADE           = syscall.Errno(0x34)
-       EBADF           = syscall.Errno(0x9)
-       EBADFD          = syscall.Errno(0x4d)
-       EBADMSG         = syscall.Errno(0x4a)
-       EBADR           = syscall.Errno(0x35)
-       EBADRQC         = syscall.Errno(0x38)
-       EBADSLT         = syscall.Errno(0x39)
-       EBFONT          = syscall.Errno(0x3b)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x7d)
-       ECHILD          = syscall.Errno(0xa)
-       ECHRNG          = syscall.Errno(0x2c)
-       ECOMM           = syscall.Errno(0x46)
-       ECONNABORTED    = syscall.Errno(0x67)
-       ECONNREFUSED    = syscall.Errno(0x6f)
-       ECONNRESET      = syscall.Errno(0x68)
-       EDEADLK         = syscall.Errno(0x23)
-       EDEADLOCK       = syscall.Errno(0x23)
-       EDESTADDRREQ    = syscall.Errno(0x59)
-       EDOM            = syscall.Errno(0x21)
-       EDOTDOT         = syscall.Errno(0x49)
-       EDQUOT          = syscall.Errno(0x7a)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EHOSTDOWN       = syscall.Errno(0x70)
-       EHOSTUNREACH    = syscall.Errno(0x71)
-       EHWPOISON       = syscall.Errno(0x85)
-       EIDRM           = syscall.Errno(0x2b)
-       EILSEQ          = syscall.Errno(0x54)
-       EINPROGRESS     = syscall.Errno(0x73)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x6a)
-       EISDIR          = syscall.Errno(0x15)
-       EISNAM          = syscall.Errno(0x78)
-       EKEYEXPIRED     = syscall.Errno(0x7f)
-       EKEYREJECTED    = syscall.Errno(0x81)
-       EKEYREVOKED     = syscall.Errno(0x80)
-       EL2HLT          = syscall.Errno(0x33)
-       EL2NSYNC        = syscall.Errno(0x2d)
-       EL3HLT          = syscall.Errno(0x2e)
-       EL3RST          = syscall.Errno(0x2f)
-       ELIBACC         = syscall.Errno(0x4f)
-       ELIBBAD         = syscall.Errno(0x50)
-       ELIBEXEC        = syscall.Errno(0x53)
-       ELIBMAX         = syscall.Errno(0x52)
-       ELIBSCN         = syscall.Errno(0x51)
-       ELNRNG          = syscall.Errno(0x30)
-       ELOOP           = syscall.Errno(0x28)
-       EMEDIUMTYPE     = syscall.Errno(0x7c)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x5a)
-       EMULTIHOP       = syscall.Errno(0x48)
-       ENAMETOOLONG    = syscall.Errno(0x24)
-       ENAVAIL         = syscall.Errno(0x77)
-       ENETDOWN        = syscall.Errno(0x64)
-       ENETRESET       = syscall.Errno(0x66)
-       ENETUNREACH     = syscall.Errno(0x65)
-       ENFILE          = syscall.Errno(0x17)
-       ENOANO          = syscall.Errno(0x37)
-       ENOBUFS         = syscall.Errno(0x69)
-       ENOCSI          = syscall.Errno(0x32)
-       ENODATA         = syscall.Errno(0x3d)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOKEY          = syscall.Errno(0x7e)
-       ENOLCK          = syscall.Errno(0x25)
-       ENOLINK         = syscall.Errno(0x43)
-       ENOMEDIUM       = syscall.Errno(0x7b)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x2a)
-       ENONET          = syscall.Errno(0x40)
-       ENOPKG          = syscall.Errno(0x41)
-       ENOPROTOOPT     = syscall.Errno(0x5c)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x3f)
-       ENOSTR          = syscall.Errno(0x3c)
-       ENOSYS          = syscall.Errno(0x26)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x6b)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x27)
-       ENOTNAM         = syscall.Errno(0x76)
-       ENOTRECOVERABLE = syscall.Errno(0x83)
-       ENOTSOCK        = syscall.Errno(0x58)
-       ENOTSUP         = syscall.Errno(0x5f)
-       ENOTTY          = syscall.Errno(0x19)
-       ENOTUNIQ        = syscall.Errno(0x4c)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x5f)
-       EOVERFLOW       = syscall.Errno(0x4b)
-       EOWNERDEAD      = syscall.Errno(0x82)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x60)
-       EPIPE           = syscall.Errno(0x20)
-       EPROTO          = syscall.Errno(0x47)
-       EPROTONOSUPPORT = syscall.Errno(0x5d)
-       EPROTOTYPE      = syscall.Errno(0x5b)
-       ERANGE          = syscall.Errno(0x22)
-       EREMCHG         = syscall.Errno(0x4e)
-       EREMOTE         = syscall.Errno(0x42)
-       EREMOTEIO       = syscall.Errno(0x79)
-       ERESTART        = syscall.Errno(0x55)
-       ERFKILL         = syscall.Errno(0x84)
-       EROFS           = syscall.Errno(0x1e)
-       ESHUTDOWN       = syscall.Errno(0x6c)
-       ESOCKTNOSUPPORT = syscall.Errno(0x5e)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESRMNT          = syscall.Errno(0x45)
-       ESTALE          = syscall.Errno(0x74)
-       ESTRPIPE        = syscall.Errno(0x56)
-       ETIME           = syscall.Errno(0x3e)
-       ETIMEDOUT       = syscall.Errno(0x6e)
-       ETOOMANYREFS    = syscall.Errno(0x6d)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUCLEAN         = syscall.Errno(0x75)
-       EUNATCH         = syscall.Errno(0x31)
-       EUSERS          = syscall.Errno(0x57)
-       EWOULDBLOCK     = syscall.Errno(0xb)
-       EXDEV           = syscall.Errno(0x12)
-       EXFULL          = syscall.Errno(0x36)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0x7)
-       SIGCHLD   = syscall.Signal(0x11)
-       SIGCLD    = syscall.Signal(0x11)
-       SIGCONT   = syscall.Signal(0x12)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x1d)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPOLL   = syscall.Signal(0x1d)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGPWR    = syscall.Signal(0x1e)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTKFLT = syscall.Signal(0x10)
-       SIGSTOP   = syscall.Signal(0x13)
-       SIGSYS    = syscall.Signal(0x1f)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x14)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGUNUSED = syscall.Signal(0x1f)
-       SIGURG    = syscall.Signal(0x17)
-       SIGUSR1   = syscall.Signal(0xa)
-       SIGUSR2   = syscall.Signal(0xc)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:   "operation not permitted",
-       2:   "no such file or directory",
-       3:   "no such process",
-       4:   "interrupted system call",
-       5:   "input/output error",
-       6:   "no such device or address",
-       7:   "argument list too long",
-       8:   "exec format error",
-       9:   "bad file descriptor",
-       10:  "no child processes",
-       11:  "resource temporarily unavailable",
-       12:  "cannot allocate memory",
-       13:  "permission denied",
-       14:  "bad address",
-       15:  "block device required",
-       16:  "device or resource busy",
-       17:  "file exists",
-       18:  "invalid cross-device link",
-       19:  "no such device",
-       20:  "not a directory",
-       21:  "is a directory",
-       22:  "invalid argument",
-       23:  "too many open files in system",
-       24:  "too many open files",
-       25:  "inappropriate ioctl for device",
-       26:  "text file busy",
-       27:  "file too large",
-       28:  "no space left on device",
-       29:  "illegal seek",
-       30:  "read-only file system",
-       31:  "too many links",
-       32:  "broken pipe",
-       33:  "numerical argument out of domain",
-       34:  "numerical result out of range",
-       35:  "resource deadlock avoided",
-       36:  "file name too long",
-       37:  "no locks available",
-       38:  "function not implemented",
-       39:  "directory not empty",
-       40:  "too many levels of symbolic links",
-       42:  "no message of desired type",
-       43:  "identifier removed",
-       44:  "channel number out of range",
-       45:  "level 2 not synchronized",
-       46:  "level 3 halted",
-       47:  "level 3 reset",
-       48:  "link number out of range",
-       49:  "protocol driver not attached",
-       50:  "no CSI structure available",
-       51:  "level 2 halted",
-       52:  "invalid exchange",
-       53:  "invalid request descriptor",
-       54:  "exchange full",
-       55:  "no anode",
-       56:  "invalid request code",
-       57:  "invalid slot",
-       59:  "bad font file format",
-       60:  "device not a stream",
-       61:  "no data available",
-       62:  "timer expired",
-       63:  "out of streams resources",
-       64:  "machine is not on the network",
-       65:  "package not installed",
-       66:  "object is remote",
-       67:  "link has been severed",
-       68:  "advertise error",
-       69:  "srmount error",
-       70:  "communication error on send",
-       71:  "protocol error",
-       72:  "multihop attempted",
-       73:  "RFS specific error",
-       74:  "bad message",
-       75:  "value too large for defined data type",
-       76:  "name not unique on network",
-       77:  "file descriptor in bad state",
-       78:  "remote address changed",
-       79:  "can not access a needed shared library",
-       80:  "accessing a corrupted shared library",
-       81:  ".lib section in a.out corrupted",
-       82:  "attempting to link in too many shared libraries",
-       83:  "cannot exec a shared library directly",
-       84:  "invalid or incomplete multibyte or wide character",
-       85:  "interrupted system call should be restarted",
-       86:  "streams pipe error",
-       87:  "too many users",
-       88:  "socket operation on non-socket",
-       89:  "destination address required",
-       90:  "message too long",
-       91:  "protocol wrong type for socket",
-       92:  "protocol not available",
-       93:  "protocol not supported",
-       94:  "socket type not supported",
-       95:  "operation not supported",
-       96:  "protocol family not supported",
-       97:  "address family not supported by protocol",
-       98:  "address already in use",
-       99:  "cannot assign requested address",
-       100: "network is down",
-       101: "network is unreachable",
-       102: "network dropped connection on reset",
-       103: "software caused connection abort",
-       104: "connection reset by peer",
-       105: "no buffer space available",
-       106: "transport endpoint is already connected",
-       107: "transport endpoint is not connected",
-       108: "cannot send after transport endpoint shutdown",
-       109: "too many references: cannot splice",
-       110: "connection timed out",
-       111: "connection refused",
-       112: "host is down",
-       113: "no route to host",
-       114: "operation already in progress",
-       115: "operation now in progress",
-       116: "stale file handle",
-       117: "structure needs cleaning",
-       118: "not a XENIX named type file",
-       119: "no XENIX semaphores available",
-       120: "is a named type file",
-       121: "remote I/O error",
-       122: "disk quota exceeded",
-       123: "no medium found",
-       124: "wrong medium type",
-       125: "operation canceled",
-       126: "required key not available",
-       127: "key has expired",
-       128: "key has been revoked",
-       129: "key was rejected by service",
-       130: "owner died",
-       131: "state not recoverable",
-       132: "operation not possible due to RF-kill",
-       133: "memory page has hardware error",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/breakpoint trap",
-       6:  "aborted",
-       7:  "bus error",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "user defined signal 1",
-       11: "segmentation fault",
-       12: "user defined signal 2",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "stack fault",
-       17: "child exited",
-       18: "continued",
-       19: "stopped (signal)",
-       20: "stopped",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "urgent I/O condition",
-       24: "CPU time limit exceeded",
-       25: "file size limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window changed",
-       29: "I/O possible",
-       30: "power failure",
-       31: "bad system call",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
deleted file mode 100644 (file)
index f636a39..0000000
+++ /dev/null
@@ -1,2088 +0,0 @@
-// mkerrors.sh -Wall -Werror -static -I/tmp/include -m64
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build amd64,linux
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m64 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_ALG                           = 0x26
-       AF_APPLETALK                     = 0x5
-       AF_ASH                           = 0x12
-       AF_ATMPVC                        = 0x8
-       AF_ATMSVC                        = 0x14
-       AF_AX25                          = 0x3
-       AF_BLUETOOTH                     = 0x1f
-       AF_BRIDGE                        = 0x7
-       AF_CAIF                          = 0x25
-       AF_CAN                           = 0x1d
-       AF_DECnet                        = 0xc
-       AF_ECONET                        = 0x13
-       AF_FILE                          = 0x1
-       AF_IB                            = 0x1b
-       AF_IEEE802154                    = 0x24
-       AF_INET                          = 0x2
-       AF_INET6                         = 0xa
-       AF_IPX                           = 0x4
-       AF_IRDA                          = 0x17
-       AF_ISDN                          = 0x22
-       AF_IUCV                          = 0x20
-       AF_KCM                           = 0x29
-       AF_KEY                           = 0xf
-       AF_LLC                           = 0x1a
-       AF_LOCAL                         = 0x1
-       AF_MAX                           = 0x2b
-       AF_MPLS                          = 0x1c
-       AF_NETBEUI                       = 0xd
-       AF_NETLINK                       = 0x10
-       AF_NETROM                        = 0x6
-       AF_NFC                           = 0x27
-       AF_PACKET                        = 0x11
-       AF_PHONET                        = 0x23
-       AF_PPPOX                         = 0x18
-       AF_QIPCRTR                       = 0x2a
-       AF_RDS                           = 0x15
-       AF_ROSE                          = 0xb
-       AF_ROUTE                         = 0x10
-       AF_RXRPC                         = 0x21
-       AF_SECURITY                      = 0xe
-       AF_SNA                           = 0x16
-       AF_TIPC                          = 0x1e
-       AF_UNIX                          = 0x1
-       AF_UNSPEC                        = 0x0
-       AF_VSOCK                         = 0x28
-       AF_WANPIPE                       = 0x19
-       AF_X25                           = 0x9
-       ALG_OP_DECRYPT                   = 0x0
-       ALG_OP_ENCRYPT                   = 0x1
-       ALG_SET_AEAD_ASSOCLEN            = 0x4
-       ALG_SET_AEAD_AUTHSIZE            = 0x5
-       ALG_SET_IV                       = 0x2
-       ALG_SET_KEY                      = 0x1
-       ALG_SET_OP                       = 0x3
-       ARPHRD_6LOWPAN                   = 0x339
-       ARPHRD_ADAPT                     = 0x108
-       ARPHRD_APPLETLK                  = 0x8
-       ARPHRD_ARCNET                    = 0x7
-       ARPHRD_ASH                       = 0x30d
-       ARPHRD_ATM                       = 0x13
-       ARPHRD_AX25                      = 0x3
-       ARPHRD_BIF                       = 0x307
-       ARPHRD_CAIF                      = 0x336
-       ARPHRD_CAN                       = 0x118
-       ARPHRD_CHAOS                     = 0x5
-       ARPHRD_CISCO                     = 0x201
-       ARPHRD_CSLIP                     = 0x101
-       ARPHRD_CSLIP6                    = 0x103
-       ARPHRD_DDCMP                     = 0x205
-       ARPHRD_DLCI                      = 0xf
-       ARPHRD_ECONET                    = 0x30e
-       ARPHRD_EETHER                    = 0x2
-       ARPHRD_ETHER                     = 0x1
-       ARPHRD_EUI64                     = 0x1b
-       ARPHRD_FCAL                      = 0x311
-       ARPHRD_FCFABRIC                  = 0x313
-       ARPHRD_FCPL                      = 0x312
-       ARPHRD_FCPP                      = 0x310
-       ARPHRD_FDDI                      = 0x306
-       ARPHRD_FRAD                      = 0x302
-       ARPHRD_HDLC                      = 0x201
-       ARPHRD_HIPPI                     = 0x30c
-       ARPHRD_HWX25                     = 0x110
-       ARPHRD_IEEE1394                  = 0x18
-       ARPHRD_IEEE802                   = 0x6
-       ARPHRD_IEEE80211                 = 0x321
-       ARPHRD_IEEE80211_PRISM           = 0x322
-       ARPHRD_IEEE80211_RADIOTAP        = 0x323
-       ARPHRD_IEEE802154                = 0x324
-       ARPHRD_IEEE802154_MONITOR        = 0x325
-       ARPHRD_IEEE802_TR                = 0x320
-       ARPHRD_INFINIBAND                = 0x20
-       ARPHRD_IP6GRE                    = 0x337
-       ARPHRD_IPDDP                     = 0x309
-       ARPHRD_IPGRE                     = 0x30a
-       ARPHRD_IRDA                      = 0x30f
-       ARPHRD_LAPB                      = 0x204
-       ARPHRD_LOCALTLK                  = 0x305
-       ARPHRD_LOOPBACK                  = 0x304
-       ARPHRD_METRICOM                  = 0x17
-       ARPHRD_NETLINK                   = 0x338
-       ARPHRD_NETROM                    = 0x0
-       ARPHRD_NONE                      = 0xfffe
-       ARPHRD_PHONET                    = 0x334
-       ARPHRD_PHONET_PIPE               = 0x335
-       ARPHRD_PIMREG                    = 0x30b
-       ARPHRD_PPP                       = 0x200
-       ARPHRD_PRONET                    = 0x4
-       ARPHRD_RAWHDLC                   = 0x206
-       ARPHRD_ROSE                      = 0x10e
-       ARPHRD_RSRVD                     = 0x104
-       ARPHRD_SIT                       = 0x308
-       ARPHRD_SKIP                      = 0x303
-       ARPHRD_SLIP                      = 0x100
-       ARPHRD_SLIP6                     = 0x102
-       ARPHRD_TUNNEL                    = 0x300
-       ARPHRD_TUNNEL6                   = 0x301
-       ARPHRD_VOID                      = 0xffff
-       ARPHRD_X25                       = 0x10f
-       B0                               = 0x0
-       B1000000                         = 0x1008
-       B110                             = 0x3
-       B115200                          = 0x1002
-       B1152000                         = 0x1009
-       B1200                            = 0x9
-       B134                             = 0x4
-       B150                             = 0x5
-       B1500000                         = 0x100a
-       B1800                            = 0xa
-       B19200                           = 0xe
-       B200                             = 0x6
-       B2000000                         = 0x100b
-       B230400                          = 0x1003
-       B2400                            = 0xb
-       B2500000                         = 0x100c
-       B300                             = 0x7
-       B3000000                         = 0x100d
-       B3500000                         = 0x100e
-       B38400                           = 0xf
-       B4000000                         = 0x100f
-       B460800                          = 0x1004
-       B4800                            = 0xc
-       B50                              = 0x1
-       B500000                          = 0x1005
-       B57600                           = 0x1001
-       B576000                          = 0x1006
-       B600                             = 0x8
-       B75                              = 0x2
-       B921600                          = 0x1007
-       B9600                            = 0xd
-       BLKBSZGET                        = 0x80081270
-       BLKBSZSET                        = 0x40081271
-       BLKFLSBUF                        = 0x1261
-       BLKFRAGET                        = 0x1265
-       BLKFRASET                        = 0x1264
-       BLKGETSIZE                       = 0x1260
-       BLKGETSIZE64                     = 0x80081272
-       BLKPBSZGET                       = 0x127b
-       BLKRAGET                         = 0x1263
-       BLKRASET                         = 0x1262
-       BLKROGET                         = 0x125e
-       BLKROSET                         = 0x125d
-       BLKRRPART                        = 0x125f
-       BLKSECTGET                       = 0x1267
-       BLKSECTSET                       = 0x1266
-       BLKSSZGET                        = 0x1268
-       BOTHER                           = 0x1000
-       BPF_A                            = 0x10
-       BPF_ABS                          = 0x20
-       BPF_ADD                          = 0x0
-       BPF_ALU                          = 0x4
-       BPF_AND                          = 0x50
-       BPF_B                            = 0x10
-       BPF_DIV                          = 0x30
-       BPF_H                            = 0x8
-       BPF_IMM                          = 0x0
-       BPF_IND                          = 0x40
-       BPF_JA                           = 0x0
-       BPF_JEQ                          = 0x10
-       BPF_JGE                          = 0x30
-       BPF_JGT                          = 0x20
-       BPF_JMP                          = 0x5
-       BPF_JSET                         = 0x40
-       BPF_K                            = 0x0
-       BPF_LD                           = 0x0
-       BPF_LDX                          = 0x1
-       BPF_LEN                          = 0x80
-       BPF_LL_OFF                       = -0x200000
-       BPF_LSH                          = 0x60
-       BPF_MAJOR_VERSION                = 0x1
-       BPF_MAXINSNS                     = 0x1000
-       BPF_MEM                          = 0x60
-       BPF_MEMWORDS                     = 0x10
-       BPF_MINOR_VERSION                = 0x1
-       BPF_MISC                         = 0x7
-       BPF_MOD                          = 0x90
-       BPF_MSH                          = 0xa0
-       BPF_MUL                          = 0x20
-       BPF_NEG                          = 0x80
-       BPF_NET_OFF                      = -0x100000
-       BPF_OR                           = 0x40
-       BPF_RET                          = 0x6
-       BPF_RSH                          = 0x70
-       BPF_ST                           = 0x2
-       BPF_STX                          = 0x3
-       BPF_SUB                          = 0x10
-       BPF_TAX                          = 0x0
-       BPF_TXA                          = 0x80
-       BPF_W                            = 0x0
-       BPF_X                            = 0x8
-       BPF_XOR                          = 0xa0
-       BRKINT                           = 0x2
-       BS0                              = 0x0
-       BS1                              = 0x2000
-       BSDLY                            = 0x2000
-       CAN_BCM                          = 0x2
-       CAN_EFF_FLAG                     = 0x80000000
-       CAN_EFF_ID_BITS                  = 0x1d
-       CAN_EFF_MASK                     = 0x1fffffff
-       CAN_ERR_FLAG                     = 0x20000000
-       CAN_ERR_MASK                     = 0x1fffffff
-       CAN_INV_FILTER                   = 0x20000000
-       CAN_ISOTP                        = 0x6
-       CAN_MAX_DLC                      = 0x8
-       CAN_MAX_DLEN                     = 0x8
-       CAN_MCNET                        = 0x5
-       CAN_MTU                          = 0x10
-       CAN_NPROTO                       = 0x7
-       CAN_RAW                          = 0x1
-       CAN_RAW_FILTER_MAX               = 0x200
-       CAN_RTR_FLAG                     = 0x40000000
-       CAN_SFF_ID_BITS                  = 0xb
-       CAN_SFF_MASK                     = 0x7ff
-       CAN_TP16                         = 0x3
-       CAN_TP20                         = 0x4
-       CBAUD                            = 0x100f
-       CBAUDEX                          = 0x1000
-       CFLUSH                           = 0xf
-       CIBAUD                           = 0x100f0000
-       CLOCAL                           = 0x800
-       CLOCK_BOOTTIME                   = 0x7
-       CLOCK_BOOTTIME_ALARM             = 0x9
-       CLOCK_DEFAULT                    = 0x0
-       CLOCK_EXT                        = 0x1
-       CLOCK_INT                        = 0x2
-       CLOCK_MONOTONIC                  = 0x1
-       CLOCK_MONOTONIC_COARSE           = 0x6
-       CLOCK_MONOTONIC_RAW              = 0x4
-       CLOCK_PROCESS_CPUTIME_ID         = 0x2
-       CLOCK_REALTIME                   = 0x0
-       CLOCK_REALTIME_ALARM             = 0x8
-       CLOCK_REALTIME_COARSE            = 0x5
-       CLOCK_TAI                        = 0xb
-       CLOCK_THREAD_CPUTIME_ID          = 0x3
-       CLOCK_TXFROMRX                   = 0x4
-       CLOCK_TXINT                      = 0x3
-       CLONE_CHILD_CLEARTID             = 0x200000
-       CLONE_CHILD_SETTID               = 0x1000000
-       CLONE_DETACHED                   = 0x400000
-       CLONE_FILES                      = 0x400
-       CLONE_FS                         = 0x200
-       CLONE_IO                         = 0x80000000
-       CLONE_NEWCGROUP                  = 0x2000000
-       CLONE_NEWIPC                     = 0x8000000
-       CLONE_NEWNET                     = 0x40000000
-       CLONE_NEWNS                      = 0x20000
-       CLONE_NEWPID                     = 0x20000000
-       CLONE_NEWUSER                    = 0x10000000
-       CLONE_NEWUTS                     = 0x4000000
-       CLONE_PARENT                     = 0x8000
-       CLONE_PARENT_SETTID              = 0x100000
-       CLONE_PTRACE                     = 0x2000
-       CLONE_SETTLS                     = 0x80000
-       CLONE_SIGHAND                    = 0x800
-       CLONE_SYSVSEM                    = 0x40000
-       CLONE_THREAD                     = 0x10000
-       CLONE_UNTRACED                   = 0x800000
-       CLONE_VFORK                      = 0x4000
-       CLONE_VM                         = 0x100
-       CMSPAR                           = 0x40000000
-       CR0                              = 0x0
-       CR1                              = 0x200
-       CR2                              = 0x400
-       CR3                              = 0x600
-       CRDLY                            = 0x600
-       CREAD                            = 0x80
-       CRTSCTS                          = 0x80000000
-       CS5                              = 0x0
-       CS6                              = 0x10
-       CS7                              = 0x20
-       CS8                              = 0x30
-       CSIGNAL                          = 0xff
-       CSIZE                            = 0x30
-       CSTART                           = 0x11
-       CSTATUS                          = 0x0
-       CSTOP                            = 0x13
-       CSTOPB                           = 0x40
-       CSUSP                            = 0x1a
-       DT_BLK                           = 0x6
-       DT_CHR                           = 0x2
-       DT_DIR                           = 0x4
-       DT_FIFO                          = 0x1
-       DT_LNK                           = 0xa
-       DT_REG                           = 0x8
-       DT_SOCK                          = 0xc
-       DT_UNKNOWN                       = 0x0
-       DT_WHT                           = 0xe
-       ECHO                             = 0x8
-       ECHOCTL                          = 0x200
-       ECHOE                            = 0x10
-       ECHOK                            = 0x20
-       ECHOKE                           = 0x800
-       ECHONL                           = 0x40
-       ECHOPRT                          = 0x400
-       ENCODING_DEFAULT                 = 0x0
-       ENCODING_FM_MARK                 = 0x3
-       ENCODING_FM_SPACE                = 0x4
-       ENCODING_MANCHESTER              = 0x5
-       ENCODING_NRZ                     = 0x1
-       ENCODING_NRZI                    = 0x2
-       EPOLLERR                         = 0x8
-       EPOLLET                          = 0x80000000
-       EPOLLEXCLUSIVE                   = 0x10000000
-       EPOLLHUP                         = 0x10
-       EPOLLIN                          = 0x1
-       EPOLLMSG                         = 0x400
-       EPOLLONESHOT                     = 0x40000000
-       EPOLLOUT                         = 0x4
-       EPOLLPRI                         = 0x2
-       EPOLLRDBAND                      = 0x80
-       EPOLLRDHUP                       = 0x2000
-       EPOLLRDNORM                      = 0x40
-       EPOLLWAKEUP                      = 0x20000000
-       EPOLLWRBAND                      = 0x200
-       EPOLLWRNORM                      = 0x100
-       EPOLL_CLOEXEC                    = 0x80000
-       EPOLL_CTL_ADD                    = 0x1
-       EPOLL_CTL_DEL                    = 0x2
-       EPOLL_CTL_MOD                    = 0x3
-       ETH_P_1588                       = 0x88f7
-       ETH_P_8021AD                     = 0x88a8
-       ETH_P_8021AH                     = 0x88e7
-       ETH_P_8021Q                      = 0x8100
-       ETH_P_80221                      = 0x8917
-       ETH_P_802_2                      = 0x4
-       ETH_P_802_3                      = 0x1
-       ETH_P_802_3_MIN                  = 0x600
-       ETH_P_802_EX1                    = 0x88b5
-       ETH_P_AARP                       = 0x80f3
-       ETH_P_AF_IUCV                    = 0xfbfb
-       ETH_P_ALL                        = 0x3
-       ETH_P_AOE                        = 0x88a2
-       ETH_P_ARCNET                     = 0x1a
-       ETH_P_ARP                        = 0x806
-       ETH_P_ATALK                      = 0x809b
-       ETH_P_ATMFATE                    = 0x8884
-       ETH_P_ATMMPOA                    = 0x884c
-       ETH_P_AX25                       = 0x2
-       ETH_P_BATMAN                     = 0x4305
-       ETH_P_BPQ                        = 0x8ff
-       ETH_P_CAIF                       = 0xf7
-       ETH_P_CAN                        = 0xc
-       ETH_P_CANFD                      = 0xd
-       ETH_P_CONTROL                    = 0x16
-       ETH_P_CUST                       = 0x6006
-       ETH_P_DDCMP                      = 0x6
-       ETH_P_DEC                        = 0x6000
-       ETH_P_DIAG                       = 0x6005
-       ETH_P_DNA_DL                     = 0x6001
-       ETH_P_DNA_RC                     = 0x6002
-       ETH_P_DNA_RT                     = 0x6003
-       ETH_P_DSA                        = 0x1b
-       ETH_P_ECONET                     = 0x18
-       ETH_P_EDSA                       = 0xdada
-       ETH_P_FCOE                       = 0x8906
-       ETH_P_FIP                        = 0x8914
-       ETH_P_HDLC                       = 0x19
-       ETH_P_HSR                        = 0x892f
-       ETH_P_IEEE802154                 = 0xf6
-       ETH_P_IEEEPUP                    = 0xa00
-       ETH_P_IEEEPUPAT                  = 0xa01
-       ETH_P_IP                         = 0x800
-       ETH_P_IPV6                       = 0x86dd
-       ETH_P_IPX                        = 0x8137
-       ETH_P_IRDA                       = 0x17
-       ETH_P_LAT                        = 0x6004
-       ETH_P_LINK_CTL                   = 0x886c
-       ETH_P_LOCALTALK                  = 0x9
-       ETH_P_LOOP                       = 0x60
-       ETH_P_LOOPBACK                   = 0x9000
-       ETH_P_MACSEC                     = 0x88e5
-       ETH_P_MOBITEX                    = 0x15
-       ETH_P_MPLS_MC                    = 0x8848
-       ETH_P_MPLS_UC                    = 0x8847
-       ETH_P_MVRP                       = 0x88f5
-       ETH_P_NCSI                       = 0x88f8
-       ETH_P_PAE                        = 0x888e
-       ETH_P_PAUSE                      = 0x8808
-       ETH_P_PHONET                     = 0xf5
-       ETH_P_PPPTALK                    = 0x10
-       ETH_P_PPP_DISC                   = 0x8863
-       ETH_P_PPP_MP                     = 0x8
-       ETH_P_PPP_SES                    = 0x8864
-       ETH_P_PRP                        = 0x88fb
-       ETH_P_PUP                        = 0x200
-       ETH_P_PUPAT                      = 0x201
-       ETH_P_QINQ1                      = 0x9100
-       ETH_P_QINQ2                      = 0x9200
-       ETH_P_QINQ3                      = 0x9300
-       ETH_P_RARP                       = 0x8035
-       ETH_P_SCA                        = 0x6007
-       ETH_P_SLOW                       = 0x8809
-       ETH_P_SNAP                       = 0x5
-       ETH_P_TDLS                       = 0x890d
-       ETH_P_TEB                        = 0x6558
-       ETH_P_TIPC                       = 0x88ca
-       ETH_P_TRAILER                    = 0x1c
-       ETH_P_TR_802_2                   = 0x11
-       ETH_P_TSN                        = 0x22f0
-       ETH_P_WAN_PPP                    = 0x7
-       ETH_P_WCCP                       = 0x883e
-       ETH_P_X25                        = 0x805
-       ETH_P_XDSA                       = 0xf8
-       EXTA                             = 0xe
-       EXTB                             = 0xf
-       EXTPROC                          = 0x10000
-       FALLOC_FL_COLLAPSE_RANGE         = 0x8
-       FALLOC_FL_INSERT_RANGE           = 0x20
-       FALLOC_FL_KEEP_SIZE              = 0x1
-       FALLOC_FL_NO_HIDE_STALE          = 0x4
-       FALLOC_FL_PUNCH_HOLE             = 0x2
-       FALLOC_FL_UNSHARE_RANGE          = 0x40
-       FALLOC_FL_ZERO_RANGE             = 0x10
-       FD_CLOEXEC                       = 0x1
-       FD_SETSIZE                       = 0x400
-       FF0                              = 0x0
-       FF1                              = 0x8000
-       FFDLY                            = 0x8000
-       FLUSHO                           = 0x1000
-       FS_ENCRYPTION_MODE_AES_256_CBC   = 0x3
-       FS_ENCRYPTION_MODE_AES_256_CTS   = 0x4
-       FS_ENCRYPTION_MODE_AES_256_GCM   = 0x2
-       FS_ENCRYPTION_MODE_AES_256_XTS   = 0x1
-       FS_ENCRYPTION_MODE_INVALID       = 0x0
-       FS_IOC_GET_ENCRYPTION_POLICY     = 0x400c6615
-       FS_IOC_GET_ENCRYPTION_PWSALT     = 0x40106614
-       FS_IOC_SET_ENCRYPTION_POLICY     = 0x800c6613
-       FS_KEY_DESCRIPTOR_SIZE           = 0x8
-       FS_KEY_DESC_PREFIX               = "fscrypt:"
-       FS_KEY_DESC_PREFIX_SIZE          = 0x8
-       FS_MAX_KEY_SIZE                  = 0x40
-       FS_POLICY_FLAGS_PAD_16           = 0x2
-       FS_POLICY_FLAGS_PAD_32           = 0x3
-       FS_POLICY_FLAGS_PAD_4            = 0x0
-       FS_POLICY_FLAGS_PAD_8            = 0x1
-       FS_POLICY_FLAGS_PAD_MASK         = 0x3
-       FS_POLICY_FLAGS_VALID            = 0x3
-       F_DUPFD                          = 0x0
-       F_DUPFD_CLOEXEC                  = 0x406
-       F_EXLCK                          = 0x4
-       F_GETFD                          = 0x1
-       F_GETFL                          = 0x3
-       F_GETLEASE                       = 0x401
-       F_GETLK                          = 0x5
-       F_GETLK64                        = 0x5
-       F_GETOWN                         = 0x9
-       F_GETOWN_EX                      = 0x10
-       F_GETPIPE_SZ                     = 0x408
-       F_GETSIG                         = 0xb
-       F_LOCK                           = 0x1
-       F_NOTIFY                         = 0x402
-       F_OFD_GETLK                      = 0x24
-       F_OFD_SETLK                      = 0x25
-       F_OFD_SETLKW                     = 0x26
-       F_OK                             = 0x0
-       F_RDLCK                          = 0x0
-       F_SETFD                          = 0x2
-       F_SETFL                          = 0x4
-       F_SETLEASE                       = 0x400
-       F_SETLK                          = 0x6
-       F_SETLK64                        = 0x6
-       F_SETLKW                         = 0x7
-       F_SETLKW64                       = 0x7
-       F_SETOWN                         = 0x8
-       F_SETOWN_EX                      = 0xf
-       F_SETPIPE_SZ                     = 0x407
-       F_SETSIG                         = 0xa
-       F_SHLCK                          = 0x8
-       F_TEST                           = 0x3
-       F_TLOCK                          = 0x2
-       F_ULOCK                          = 0x0
-       F_UNLCK                          = 0x2
-       F_WRLCK                          = 0x1
-       GRND_NONBLOCK                    = 0x1
-       GRND_RANDOM                      = 0x2
-       HUPCL                            = 0x400
-       IBSHIFT                          = 0x10
-       ICANON                           = 0x2
-       ICMPV6_FILTER                    = 0x1
-       ICRNL                            = 0x100
-       IEXTEN                           = 0x8000
-       IFA_F_DADFAILED                  = 0x8
-       IFA_F_DEPRECATED                 = 0x20
-       IFA_F_HOMEADDRESS                = 0x10
-       IFA_F_MANAGETEMPADDR             = 0x100
-       IFA_F_MCAUTOJOIN                 = 0x400
-       IFA_F_NODAD                      = 0x2
-       IFA_F_NOPREFIXROUTE              = 0x200
-       IFA_F_OPTIMISTIC                 = 0x4
-       IFA_F_PERMANENT                  = 0x80
-       IFA_F_SECONDARY                  = 0x1
-       IFA_F_STABLE_PRIVACY             = 0x800
-       IFA_F_TEMPORARY                  = 0x1
-       IFA_F_TENTATIVE                  = 0x40
-       IFA_MAX                          = 0x8
-       IFF_ALLMULTI                     = 0x200
-       IFF_ATTACH_QUEUE                 = 0x200
-       IFF_AUTOMEDIA                    = 0x4000
-       IFF_BROADCAST                    = 0x2
-       IFF_DEBUG                        = 0x4
-       IFF_DETACH_QUEUE                 = 0x400
-       IFF_DORMANT                      = 0x20000
-       IFF_DYNAMIC                      = 0x8000
-       IFF_ECHO                         = 0x40000
-       IFF_LOOPBACK                     = 0x8
-       IFF_LOWER_UP                     = 0x10000
-       IFF_MASTER                       = 0x400
-       IFF_MULTICAST                    = 0x1000
-       IFF_MULTI_QUEUE                  = 0x100
-       IFF_NOARP                        = 0x80
-       IFF_NOFILTER                     = 0x1000
-       IFF_NOTRAILERS                   = 0x20
-       IFF_NO_PI                        = 0x1000
-       IFF_ONE_QUEUE                    = 0x2000
-       IFF_PERSIST                      = 0x800
-       IFF_POINTOPOINT                  = 0x10
-       IFF_PORTSEL                      = 0x2000
-       IFF_PROMISC                      = 0x100
-       IFF_RUNNING                      = 0x40
-       IFF_SLAVE                        = 0x800
-       IFF_TAP                          = 0x2
-       IFF_TUN                          = 0x1
-       IFF_TUN_EXCL                     = 0x8000
-       IFF_UP                           = 0x1
-       IFF_VNET_HDR                     = 0x4000
-       IFF_VOLATILE                     = 0x70c5a
-       IFNAMSIZ                         = 0x10
-       IGNBRK                           = 0x1
-       IGNCR                            = 0x80
-       IGNPAR                           = 0x4
-       IMAXBEL                          = 0x2000
-       INLCR                            = 0x40
-       INPCK                            = 0x10
-       IN_ACCESS                        = 0x1
-       IN_ALL_EVENTS                    = 0xfff
-       IN_ATTRIB                        = 0x4
-       IN_CLASSA_HOST                   = 0xffffff
-       IN_CLASSA_MAX                    = 0x80
-       IN_CLASSA_NET                    = 0xff000000
-       IN_CLASSA_NSHIFT                 = 0x18
-       IN_CLASSB_HOST                   = 0xffff
-       IN_CLASSB_MAX                    = 0x10000
-       IN_CLASSB_NET                    = 0xffff0000
-       IN_CLASSB_NSHIFT                 = 0x10
-       IN_CLASSC_HOST                   = 0xff
-       IN_CLASSC_NET                    = 0xffffff00
-       IN_CLASSC_NSHIFT                 = 0x8
-       IN_CLOEXEC                       = 0x80000
-       IN_CLOSE                         = 0x18
-       IN_CLOSE_NOWRITE                 = 0x10
-       IN_CLOSE_WRITE                   = 0x8
-       IN_CREATE                        = 0x100
-       IN_DELETE                        = 0x200
-       IN_DELETE_SELF                   = 0x400
-       IN_DONT_FOLLOW                   = 0x2000000
-       IN_EXCL_UNLINK                   = 0x4000000
-       IN_IGNORED                       = 0x8000
-       IN_ISDIR                         = 0x40000000
-       IN_LOOPBACKNET                   = 0x7f
-       IN_MASK_ADD                      = 0x20000000
-       IN_MODIFY                        = 0x2
-       IN_MOVE                          = 0xc0
-       IN_MOVED_FROM                    = 0x40
-       IN_MOVED_TO                      = 0x80
-       IN_MOVE_SELF                     = 0x800
-       IN_NONBLOCK                      = 0x800
-       IN_ONESHOT                       = 0x80000000
-       IN_ONLYDIR                       = 0x1000000
-       IN_OPEN                          = 0x20
-       IN_Q_OVERFLOW                    = 0x4000
-       IN_UNMOUNT                       = 0x2000
-       IPPROTO_AH                       = 0x33
-       IPPROTO_BEETPH                   = 0x5e
-       IPPROTO_COMP                     = 0x6c
-       IPPROTO_DCCP                     = 0x21
-       IPPROTO_DSTOPTS                  = 0x3c
-       IPPROTO_EGP                      = 0x8
-       IPPROTO_ENCAP                    = 0x62
-       IPPROTO_ESP                      = 0x32
-       IPPROTO_FRAGMENT                 = 0x2c
-       IPPROTO_GRE                      = 0x2f
-       IPPROTO_HOPOPTS                  = 0x0
-       IPPROTO_ICMP                     = 0x1
-       IPPROTO_ICMPV6                   = 0x3a
-       IPPROTO_IDP                      = 0x16
-       IPPROTO_IGMP                     = 0x2
-       IPPROTO_IP                       = 0x0
-       IPPROTO_IPIP                     = 0x4
-       IPPROTO_IPV6                     = 0x29
-       IPPROTO_MH                       = 0x87
-       IPPROTO_MPLS                     = 0x89
-       IPPROTO_MTP                      = 0x5c
-       IPPROTO_NONE                     = 0x3b
-       IPPROTO_PIM                      = 0x67
-       IPPROTO_PUP                      = 0xc
-       IPPROTO_RAW                      = 0xff
-       IPPROTO_ROUTING                  = 0x2b
-       IPPROTO_RSVP                     = 0x2e
-       IPPROTO_SCTP                     = 0x84
-       IPPROTO_TCP                      = 0x6
-       IPPROTO_TP                       = 0x1d
-       IPPROTO_UDP                      = 0x11
-       IPPROTO_UDPLITE                  = 0x88
-       IPV6_2292DSTOPTS                 = 0x4
-       IPV6_2292HOPLIMIT                = 0x8
-       IPV6_2292HOPOPTS                 = 0x3
-       IPV6_2292PKTINFO                 = 0x2
-       IPV6_2292PKTOPTIONS              = 0x6
-       IPV6_2292RTHDR                   = 0x5
-       IPV6_ADDRFORM                    = 0x1
-       IPV6_ADD_MEMBERSHIP              = 0x14
-       IPV6_AUTHHDR                     = 0xa
-       IPV6_CHECKSUM                    = 0x7
-       IPV6_DONTFRAG                    = 0x3e
-       IPV6_DROP_MEMBERSHIP             = 0x15
-       IPV6_DSTOPTS                     = 0x3b
-       IPV6_HDRINCL                     = 0x24
-       IPV6_HOPLIMIT                    = 0x34
-       IPV6_HOPOPTS                     = 0x36
-       IPV6_IPSEC_POLICY                = 0x22
-       IPV6_JOIN_ANYCAST                = 0x1b
-       IPV6_JOIN_GROUP                  = 0x14
-       IPV6_LEAVE_ANYCAST               = 0x1c
-       IPV6_LEAVE_GROUP                 = 0x15
-       IPV6_MTU                         = 0x18
-       IPV6_MTU_DISCOVER                = 0x17
-       IPV6_MULTICAST_HOPS              = 0x12
-       IPV6_MULTICAST_IF                = 0x11
-       IPV6_MULTICAST_LOOP              = 0x13
-       IPV6_NEXTHOP                     = 0x9
-       IPV6_PATHMTU                     = 0x3d
-       IPV6_PKTINFO                     = 0x32
-       IPV6_PMTUDISC_DO                 = 0x2
-       IPV6_PMTUDISC_DONT               = 0x0
-       IPV6_PMTUDISC_INTERFACE          = 0x4
-       IPV6_PMTUDISC_OMIT               = 0x5
-       IPV6_PMTUDISC_PROBE              = 0x3
-       IPV6_PMTUDISC_WANT               = 0x1
-       IPV6_RECVDSTOPTS                 = 0x3a
-       IPV6_RECVERR                     = 0x19
-       IPV6_RECVHOPLIMIT                = 0x33
-       IPV6_RECVHOPOPTS                 = 0x35
-       IPV6_RECVPATHMTU                 = 0x3c
-       IPV6_RECVPKTINFO                 = 0x31
-       IPV6_RECVRTHDR                   = 0x38
-       IPV6_RECVTCLASS                  = 0x42
-       IPV6_ROUTER_ALERT                = 0x16
-       IPV6_RTHDR                       = 0x39
-       IPV6_RTHDRDSTOPTS                = 0x37
-       IPV6_RTHDR_LOOSE                 = 0x0
-       IPV6_RTHDR_STRICT                = 0x1
-       IPV6_RTHDR_TYPE_0                = 0x0
-       IPV6_RXDSTOPTS                   = 0x3b
-       IPV6_RXHOPOPTS                   = 0x36
-       IPV6_TCLASS                      = 0x43
-       IPV6_UNICAST_HOPS                = 0x10
-       IPV6_V6ONLY                      = 0x1a
-       IPV6_XFRM_POLICY                 = 0x23
-       IP_ADD_MEMBERSHIP                = 0x23
-       IP_ADD_SOURCE_MEMBERSHIP         = 0x27
-       IP_BIND_ADDRESS_NO_PORT          = 0x18
-       IP_BLOCK_SOURCE                  = 0x26
-       IP_CHECKSUM                      = 0x17
-       IP_DEFAULT_MULTICAST_LOOP        = 0x1
-       IP_DEFAULT_MULTICAST_TTL         = 0x1
-       IP_DF                            = 0x4000
-       IP_DROP_MEMBERSHIP               = 0x24
-       IP_DROP_SOURCE_MEMBERSHIP        = 0x28
-       IP_FREEBIND                      = 0xf
-       IP_HDRINCL                       = 0x3
-       IP_IPSEC_POLICY                  = 0x10
-       IP_MAXPACKET                     = 0xffff
-       IP_MAX_MEMBERSHIPS               = 0x14
-       IP_MF                            = 0x2000
-       IP_MINTTL                        = 0x15
-       IP_MSFILTER                      = 0x29
-       IP_MSS                           = 0x240
-       IP_MTU                           = 0xe
-       IP_MTU_DISCOVER                  = 0xa
-       IP_MULTICAST_ALL                 = 0x31
-       IP_MULTICAST_IF                  = 0x20
-       IP_MULTICAST_LOOP                = 0x22
-       IP_MULTICAST_TTL                 = 0x21
-       IP_NODEFRAG                      = 0x16
-       IP_OFFMASK                       = 0x1fff
-       IP_OPTIONS                       = 0x4
-       IP_ORIGDSTADDR                   = 0x14
-       IP_PASSSEC                       = 0x12
-       IP_PKTINFO                       = 0x8
-       IP_PKTOPTIONS                    = 0x9
-       IP_PMTUDISC                      = 0xa
-       IP_PMTUDISC_DO                   = 0x2
-       IP_PMTUDISC_DONT                 = 0x0
-       IP_PMTUDISC_INTERFACE            = 0x4
-       IP_PMTUDISC_OMIT                 = 0x5
-       IP_PMTUDISC_PROBE                = 0x3
-       IP_PMTUDISC_WANT                 = 0x1
-       IP_RECVERR                       = 0xb
-       IP_RECVOPTS                      = 0x6
-       IP_RECVORIGDSTADDR               = 0x14
-       IP_RECVRETOPTS                   = 0x7
-       IP_RECVTOS                       = 0xd
-       IP_RECVTTL                       = 0xc
-       IP_RETOPTS                       = 0x7
-       IP_RF                            = 0x8000
-       IP_ROUTER_ALERT                  = 0x5
-       IP_TOS                           = 0x1
-       IP_TRANSPARENT                   = 0x13
-       IP_TTL                           = 0x2
-       IP_UNBLOCK_SOURCE                = 0x25
-       IP_UNICAST_IF                    = 0x32
-       IP_XFRM_POLICY                   = 0x11
-       ISIG                             = 0x1
-       ISTRIP                           = 0x20
-       IUCLC                            = 0x200
-       IUTF8                            = 0x4000
-       IXANY                            = 0x800
-       IXOFF                            = 0x1000
-       IXON                             = 0x400
-       LINUX_REBOOT_CMD_CAD_OFF         = 0x0
-       LINUX_REBOOT_CMD_CAD_ON          = 0x89abcdef
-       LINUX_REBOOT_CMD_HALT            = 0xcdef0123
-       LINUX_REBOOT_CMD_KEXEC           = 0x45584543
-       LINUX_REBOOT_CMD_POWER_OFF       = 0x4321fedc
-       LINUX_REBOOT_CMD_RESTART         = 0x1234567
-       LINUX_REBOOT_CMD_RESTART2        = 0xa1b2c3d4
-       LINUX_REBOOT_CMD_SW_SUSPEND      = 0xd000fce2
-       LINUX_REBOOT_MAGIC1              = 0xfee1dead
-       LINUX_REBOOT_MAGIC2              = 0x28121969
-       LOCK_EX                          = 0x2
-       LOCK_NB                          = 0x4
-       LOCK_SH                          = 0x1
-       LOCK_UN                          = 0x8
-       MADV_DODUMP                      = 0x11
-       MADV_DOFORK                      = 0xb
-       MADV_DONTDUMP                    = 0x10
-       MADV_DONTFORK                    = 0xa
-       MADV_DONTNEED                    = 0x4
-       MADV_FREE                        = 0x8
-       MADV_HUGEPAGE                    = 0xe
-       MADV_HWPOISON                    = 0x64
-       MADV_MERGEABLE                   = 0xc
-       MADV_NOHUGEPAGE                  = 0xf
-       MADV_NORMAL                      = 0x0
-       MADV_RANDOM                      = 0x1
-       MADV_REMOVE                      = 0x9
-       MADV_SEQUENTIAL                  = 0x2
-       MADV_UNMERGEABLE                 = 0xd
-       MADV_WILLNEED                    = 0x3
-       MAP_32BIT                        = 0x40
-       MAP_ANON                         = 0x20
-       MAP_ANONYMOUS                    = 0x20
-       MAP_DENYWRITE                    = 0x800
-       MAP_EXECUTABLE                   = 0x1000
-       MAP_FILE                         = 0x0
-       MAP_FIXED                        = 0x10
-       MAP_GROWSDOWN                    = 0x100
-       MAP_HUGETLB                      = 0x40000
-       MAP_HUGE_MASK                    = 0x3f
-       MAP_HUGE_SHIFT                   = 0x1a
-       MAP_LOCKED                       = 0x2000
-       MAP_NONBLOCK                     = 0x10000
-       MAP_NORESERVE                    = 0x4000
-       MAP_POPULATE                     = 0x8000
-       MAP_PRIVATE                      = 0x2
-       MAP_SHARED                       = 0x1
-       MAP_STACK                        = 0x20000
-       MAP_TYPE                         = 0xf
-       MCL_CURRENT                      = 0x1
-       MCL_FUTURE                       = 0x2
-       MCL_ONFAULT                      = 0x4
-       MNT_DETACH                       = 0x2
-       MNT_EXPIRE                       = 0x4
-       MNT_FORCE                        = 0x1
-       MSG_BATCH                        = 0x40000
-       MSG_CMSG_CLOEXEC                 = 0x40000000
-       MSG_CONFIRM                      = 0x800
-       MSG_CTRUNC                       = 0x8
-       MSG_DONTROUTE                    = 0x4
-       MSG_DONTWAIT                     = 0x40
-       MSG_EOR                          = 0x80
-       MSG_ERRQUEUE                     = 0x2000
-       MSG_FASTOPEN                     = 0x20000000
-       MSG_FIN                          = 0x200
-       MSG_MORE                         = 0x8000
-       MSG_NOSIGNAL                     = 0x4000
-       MSG_OOB                          = 0x1
-       MSG_PEEK                         = 0x2
-       MSG_PROXY                        = 0x10
-       MSG_RST                          = 0x1000
-       MSG_SYN                          = 0x400
-       MSG_TRUNC                        = 0x20
-       MSG_TRYHARD                      = 0x4
-       MSG_WAITALL                      = 0x100
-       MSG_WAITFORONE                   = 0x10000
-       MS_ACTIVE                        = 0x40000000
-       MS_ASYNC                         = 0x1
-       MS_BIND                          = 0x1000
-       MS_BORN                          = 0x20000000
-       MS_DIRSYNC                       = 0x80
-       MS_INVALIDATE                    = 0x2
-       MS_I_VERSION                     = 0x800000
-       MS_KERNMOUNT                     = 0x400000
-       MS_LAZYTIME                      = 0x2000000
-       MS_MANDLOCK                      = 0x40
-       MS_MGC_MSK                       = 0xffff0000
-       MS_MGC_VAL                       = 0xc0ed0000
-       MS_MOVE                          = 0x2000
-       MS_NOATIME                       = 0x400
-       MS_NODEV                         = 0x4
-       MS_NODIRATIME                    = 0x800
-       MS_NOEXEC                        = 0x8
-       MS_NOREMOTELOCK                  = 0x8000000
-       MS_NOSEC                         = 0x10000000
-       MS_NOSUID                        = 0x2
-       MS_NOUSER                        = -0x80000000
-       MS_POSIXACL                      = 0x10000
-       MS_PRIVATE                       = 0x40000
-       MS_RDONLY                        = 0x1
-       MS_REC                           = 0x4000
-       MS_RELATIME                      = 0x200000
-       MS_REMOUNT                       = 0x20
-       MS_RMT_MASK                      = 0x2800051
-       MS_SHARED                        = 0x100000
-       MS_SILENT                        = 0x8000
-       MS_SLAVE                         = 0x80000
-       MS_STRICTATIME                   = 0x1000000
-       MS_SYNC                          = 0x4
-       MS_SYNCHRONOUS                   = 0x10
-       MS_UNBINDABLE                    = 0x20000
-       MS_VERBOSE                       = 0x8000
-       NAME_MAX                         = 0xff
-       NETLINK_ADD_MEMBERSHIP           = 0x1
-       NETLINK_AUDIT                    = 0x9
-       NETLINK_BROADCAST_ERROR          = 0x4
-       NETLINK_CAP_ACK                  = 0xa
-       NETLINK_CONNECTOR                = 0xb
-       NETLINK_CRYPTO                   = 0x15
-       NETLINK_DNRTMSG                  = 0xe
-       NETLINK_DROP_MEMBERSHIP          = 0x2
-       NETLINK_ECRYPTFS                 = 0x13
-       NETLINK_FIB_LOOKUP               = 0xa
-       NETLINK_FIREWALL                 = 0x3
-       NETLINK_GENERIC                  = 0x10
-       NETLINK_INET_DIAG                = 0x4
-       NETLINK_IP6_FW                   = 0xd
-       NETLINK_ISCSI                    = 0x8
-       NETLINK_KOBJECT_UEVENT           = 0xf
-       NETLINK_LISTEN_ALL_NSID          = 0x8
-       NETLINK_LIST_MEMBERSHIPS         = 0x9
-       NETLINK_NETFILTER                = 0xc
-       NETLINK_NFLOG                    = 0x5
-       NETLINK_NO_ENOBUFS               = 0x5
-       NETLINK_PKTINFO                  = 0x3
-       NETLINK_RDMA                     = 0x14
-       NETLINK_ROUTE                    = 0x0
-       NETLINK_RX_RING                  = 0x6
-       NETLINK_SCSITRANSPORT            = 0x12
-       NETLINK_SELINUX                  = 0x7
-       NETLINK_SOCK_DIAG                = 0x4
-       NETLINK_TX_RING                  = 0x7
-       NETLINK_UNUSED                   = 0x1
-       NETLINK_USERSOCK                 = 0x2
-       NETLINK_XFRM                     = 0x6
-       NL0                              = 0x0
-       NL1                              = 0x100
-       NLA_ALIGNTO                      = 0x4
-       NLA_F_NESTED                     = 0x8000
-       NLA_F_NET_BYTEORDER              = 0x4000
-       NLA_HDRLEN                       = 0x4
-       NLDLY                            = 0x100
-       NLMSG_ALIGNTO                    = 0x4
-       NLMSG_DONE                       = 0x3
-       NLMSG_ERROR                      = 0x2
-       NLMSG_HDRLEN                     = 0x10
-       NLMSG_MIN_TYPE                   = 0x10
-       NLMSG_NOOP                       = 0x1
-       NLMSG_OVERRUN                    = 0x4
-       NLM_F_ACK                        = 0x4
-       NLM_F_APPEND                     = 0x800
-       NLM_F_ATOMIC                     = 0x400
-       NLM_F_CREATE                     = 0x400
-       NLM_F_DUMP                       = 0x300
-       NLM_F_DUMP_FILTERED              = 0x20
-       NLM_F_DUMP_INTR                  = 0x10
-       NLM_F_ECHO                       = 0x8
-       NLM_F_EXCL                       = 0x200
-       NLM_F_MATCH                      = 0x200
-       NLM_F_MULTI                      = 0x2
-       NLM_F_REPLACE                    = 0x100
-       NLM_F_REQUEST                    = 0x1
-       NLM_F_ROOT                       = 0x100
-       NOFLSH                           = 0x80
-       OCRNL                            = 0x8
-       OFDEL                            = 0x80
-       OFILL                            = 0x40
-       OLCUC                            = 0x2
-       ONLCR                            = 0x4
-       ONLRET                           = 0x20
-       ONOCR                            = 0x10
-       OPOST                            = 0x1
-       O_ACCMODE                        = 0x3
-       O_APPEND                         = 0x400
-       O_ASYNC                          = 0x2000
-       O_CLOEXEC                        = 0x80000
-       O_CREAT                          = 0x40
-       O_DIRECT                         = 0x4000
-       O_DIRECTORY                      = 0x10000
-       O_DSYNC                          = 0x1000
-       O_EXCL                           = 0x80
-       O_FSYNC                          = 0x101000
-       O_LARGEFILE                      = 0x0
-       O_NDELAY                         = 0x800
-       O_NOATIME                        = 0x40000
-       O_NOCTTY                         = 0x100
-       O_NOFOLLOW                       = 0x20000
-       O_NONBLOCK                       = 0x800
-       O_PATH                           = 0x200000
-       O_RDONLY                         = 0x0
-       O_RDWR                           = 0x2
-       O_RSYNC                          = 0x101000
-       O_SYNC                           = 0x101000
-       O_TMPFILE                        = 0x410000
-       O_TRUNC                          = 0x200
-       O_WRONLY                         = 0x1
-       PACKET_ADD_MEMBERSHIP            = 0x1
-       PACKET_AUXDATA                   = 0x8
-       PACKET_BROADCAST                 = 0x1
-       PACKET_COPY_THRESH               = 0x7
-       PACKET_DROP_MEMBERSHIP           = 0x2
-       PACKET_FANOUT                    = 0x12
-       PACKET_FANOUT_CBPF               = 0x6
-       PACKET_FANOUT_CPU                = 0x2
-       PACKET_FANOUT_DATA               = 0x16
-       PACKET_FANOUT_EBPF               = 0x7
-       PACKET_FANOUT_FLAG_DEFRAG        = 0x8000
-       PACKET_FANOUT_FLAG_ROLLOVER      = 0x1000
-       PACKET_FANOUT_HASH               = 0x0
-       PACKET_FANOUT_LB                 = 0x1
-       PACKET_FANOUT_QM                 = 0x5
-       PACKET_FANOUT_RND                = 0x4
-       PACKET_FANOUT_ROLLOVER           = 0x3
-       PACKET_FASTROUTE                 = 0x6
-       PACKET_HDRLEN                    = 0xb
-       PACKET_HOST                      = 0x0
-       PACKET_KERNEL                    = 0x7
-       PACKET_LOOPBACK                  = 0x5
-       PACKET_LOSS                      = 0xe
-       PACKET_MR_ALLMULTI               = 0x2
-       PACKET_MR_MULTICAST              = 0x0
-       PACKET_MR_PROMISC                = 0x1
-       PACKET_MR_UNICAST                = 0x3
-       PACKET_MULTICAST                 = 0x2
-       PACKET_ORIGDEV                   = 0x9
-       PACKET_OTHERHOST                 = 0x3
-       PACKET_OUTGOING                  = 0x4
-       PACKET_QDISC_BYPASS              = 0x14
-       PACKET_RECV_OUTPUT               = 0x3
-       PACKET_RESERVE                   = 0xc
-       PACKET_ROLLOVER_STATS            = 0x15
-       PACKET_RX_RING                   = 0x5
-       PACKET_STATISTICS                = 0x6
-       PACKET_TIMESTAMP                 = 0x11
-       PACKET_TX_HAS_OFF                = 0x13
-       PACKET_TX_RING                   = 0xd
-       PACKET_TX_TIMESTAMP              = 0x10
-       PACKET_USER                      = 0x6
-       PACKET_VERSION                   = 0xa
-       PACKET_VNET_HDR                  = 0xf
-       PARENB                           = 0x100
-       PARITY_CRC16_PR0                 = 0x2
-       PARITY_CRC16_PR0_CCITT           = 0x4
-       PARITY_CRC16_PR1                 = 0x3
-       PARITY_CRC16_PR1_CCITT           = 0x5
-       PARITY_CRC32_PR0_CCITT           = 0x6
-       PARITY_CRC32_PR1_CCITT           = 0x7
-       PARITY_DEFAULT                   = 0x0
-       PARITY_NONE                      = 0x1
-       PARMRK                           = 0x8
-       PARODD                           = 0x200
-       PENDIN                           = 0x4000
-       PRIO_PGRP                        = 0x1
-       PRIO_PROCESS                     = 0x0
-       PRIO_USER                        = 0x2
-       PROT_EXEC                        = 0x4
-       PROT_GROWSDOWN                   = 0x1000000
-       PROT_GROWSUP                     = 0x2000000
-       PROT_NONE                        = 0x0
-       PROT_READ                        = 0x1
-       PROT_WRITE                       = 0x2
-       PR_CAPBSET_DROP                  = 0x18
-       PR_CAPBSET_READ                  = 0x17
-       PR_CAP_AMBIENT                   = 0x2f
-       PR_CAP_AMBIENT_CLEAR_ALL         = 0x4
-       PR_CAP_AMBIENT_IS_SET            = 0x1
-       PR_CAP_AMBIENT_LOWER             = 0x3
-       PR_CAP_AMBIENT_RAISE             = 0x2
-       PR_ENDIAN_BIG                    = 0x0
-       PR_ENDIAN_LITTLE                 = 0x1
-       PR_ENDIAN_PPC_LITTLE             = 0x2
-       PR_FPEMU_NOPRINT                 = 0x1
-       PR_FPEMU_SIGFPE                  = 0x2
-       PR_FP_EXC_ASYNC                  = 0x2
-       PR_FP_EXC_DISABLED               = 0x0
-       PR_FP_EXC_DIV                    = 0x10000
-       PR_FP_EXC_INV                    = 0x100000
-       PR_FP_EXC_NONRECOV               = 0x1
-       PR_FP_EXC_OVF                    = 0x20000
-       PR_FP_EXC_PRECISE                = 0x3
-       PR_FP_EXC_RES                    = 0x80000
-       PR_FP_EXC_SW_ENABLE              = 0x80
-       PR_FP_EXC_UND                    = 0x40000
-       PR_FP_MODE_FR                    = 0x1
-       PR_FP_MODE_FRE                   = 0x2
-       PR_GET_CHILD_SUBREAPER           = 0x25
-       PR_GET_DUMPABLE                  = 0x3
-       PR_GET_ENDIAN                    = 0x13
-       PR_GET_FPEMU                     = 0x9
-       PR_GET_FPEXC                     = 0xb
-       PR_GET_FP_MODE                   = 0x2e
-       PR_GET_KEEPCAPS                  = 0x7
-       PR_GET_NAME                      = 0x10
-       PR_GET_NO_NEW_PRIVS              = 0x27
-       PR_GET_PDEATHSIG                 = 0x2
-       PR_GET_SECCOMP                   = 0x15
-       PR_GET_SECUREBITS                = 0x1b
-       PR_GET_THP_DISABLE               = 0x2a
-       PR_GET_TID_ADDRESS               = 0x28
-       PR_GET_TIMERSLACK                = 0x1e
-       PR_GET_TIMING                    = 0xd
-       PR_GET_TSC                       = 0x19
-       PR_GET_UNALIGN                   = 0x5
-       PR_MCE_KILL                      = 0x21
-       PR_MCE_KILL_CLEAR                = 0x0
-       PR_MCE_KILL_DEFAULT              = 0x2
-       PR_MCE_KILL_EARLY                = 0x1
-       PR_MCE_KILL_GET                  = 0x22
-       PR_MCE_KILL_LATE                 = 0x0
-       PR_MCE_KILL_SET                  = 0x1
-       PR_MPX_DISABLE_MANAGEMENT        = 0x2c
-       PR_MPX_ENABLE_MANAGEMENT         = 0x2b
-       PR_SET_CHILD_SUBREAPER           = 0x24
-       PR_SET_DUMPABLE                  = 0x4
-       PR_SET_ENDIAN                    = 0x14
-       PR_SET_FPEMU                     = 0xa
-       PR_SET_FPEXC                     = 0xc
-       PR_SET_FP_MODE                   = 0x2d
-       PR_SET_KEEPCAPS                  = 0x8
-       PR_SET_MM                        = 0x23
-       PR_SET_MM_ARG_END                = 0x9
-       PR_SET_MM_ARG_START              = 0x8
-       PR_SET_MM_AUXV                   = 0xc
-       PR_SET_MM_BRK                    = 0x7
-       PR_SET_MM_END_CODE               = 0x2
-       PR_SET_MM_END_DATA               = 0x4
-       PR_SET_MM_ENV_END                = 0xb
-       PR_SET_MM_ENV_START              = 0xa
-       PR_SET_MM_EXE_FILE               = 0xd
-       PR_SET_MM_MAP                    = 0xe
-       PR_SET_MM_MAP_SIZE               = 0xf
-       PR_SET_MM_START_BRK              = 0x6
-       PR_SET_MM_START_CODE             = 0x1
-       PR_SET_MM_START_DATA             = 0x3
-       PR_SET_MM_START_STACK            = 0x5
-       PR_SET_NAME                      = 0xf
-       PR_SET_NO_NEW_PRIVS              = 0x26
-       PR_SET_PDEATHSIG                 = 0x1
-       PR_SET_PTRACER                   = 0x59616d61
-       PR_SET_PTRACER_ANY               = -0x1
-       PR_SET_SECCOMP                   = 0x16
-       PR_SET_SECUREBITS                = 0x1c
-       PR_SET_THP_DISABLE               = 0x29
-       PR_SET_TIMERSLACK                = 0x1d
-       PR_SET_TIMING                    = 0xe
-       PR_SET_TSC                       = 0x1a
-       PR_SET_UNALIGN                   = 0x6
-       PR_TASK_PERF_EVENTS_DISABLE      = 0x1f
-       PR_TASK_PERF_EVENTS_ENABLE       = 0x20
-       PR_TIMING_STATISTICAL            = 0x0
-       PR_TIMING_TIMESTAMP              = 0x1
-       PR_TSC_ENABLE                    = 0x1
-       PR_TSC_SIGSEGV                   = 0x2
-       PR_UNALIGN_NOPRINT               = 0x1
-       PR_UNALIGN_SIGBUS                = 0x2
-       PTRACE_ARCH_PRCTL                = 0x1e
-       PTRACE_ATTACH                    = 0x10
-       PTRACE_CONT                      = 0x7
-       PTRACE_DETACH                    = 0x11
-       PTRACE_EVENT_CLONE               = 0x3
-       PTRACE_EVENT_EXEC                = 0x4
-       PTRACE_EVENT_EXIT                = 0x6
-       PTRACE_EVENT_FORK                = 0x1
-       PTRACE_EVENT_SECCOMP             = 0x7
-       PTRACE_EVENT_STOP                = 0x80
-       PTRACE_EVENT_VFORK               = 0x2
-       PTRACE_EVENT_VFORK_DONE          = 0x5
-       PTRACE_GETEVENTMSG               = 0x4201
-       PTRACE_GETFPREGS                 = 0xe
-       PTRACE_GETFPXREGS                = 0x12
-       PTRACE_GETREGS                   = 0xc
-       PTRACE_GETREGSET                 = 0x4204
-       PTRACE_GETSIGINFO                = 0x4202
-       PTRACE_GETSIGMASK                = 0x420a
-       PTRACE_GET_THREAD_AREA           = 0x19
-       PTRACE_INTERRUPT                 = 0x4207
-       PTRACE_KILL                      = 0x8
-       PTRACE_LISTEN                    = 0x4208
-       PTRACE_OLDSETOPTIONS             = 0x15
-       PTRACE_O_EXITKILL                = 0x100000
-       PTRACE_O_MASK                    = 0x3000ff
-       PTRACE_O_SUSPEND_SECCOMP         = 0x200000
-       PTRACE_O_TRACECLONE              = 0x8
-       PTRACE_O_TRACEEXEC               = 0x10
-       PTRACE_O_TRACEEXIT               = 0x40
-       PTRACE_O_TRACEFORK               = 0x2
-       PTRACE_O_TRACESECCOMP            = 0x80
-       PTRACE_O_TRACESYSGOOD            = 0x1
-       PTRACE_O_TRACEVFORK              = 0x4
-       PTRACE_O_TRACEVFORKDONE          = 0x20
-       PTRACE_PEEKDATA                  = 0x2
-       PTRACE_PEEKSIGINFO               = 0x4209
-       PTRACE_PEEKSIGINFO_SHARED        = 0x1
-       PTRACE_PEEKTEXT                  = 0x1
-       PTRACE_PEEKUSR                   = 0x3
-       PTRACE_POKEDATA                  = 0x5
-       PTRACE_POKETEXT                  = 0x4
-       PTRACE_POKEUSR                   = 0x6
-       PTRACE_SECCOMP_GET_FILTER        = 0x420c
-       PTRACE_SEIZE                     = 0x4206
-       PTRACE_SETFPREGS                 = 0xf
-       PTRACE_SETFPXREGS                = 0x13
-       PTRACE_SETOPTIONS                = 0x4200
-       PTRACE_SETREGS                   = 0xd
-       PTRACE_SETREGSET                 = 0x4205
-       PTRACE_SETSIGINFO                = 0x4203
-       PTRACE_SETSIGMASK                = 0x420b
-       PTRACE_SET_THREAD_AREA           = 0x1a
-       PTRACE_SINGLEBLOCK               = 0x21
-       PTRACE_SINGLESTEP                = 0x9
-       PTRACE_SYSCALL                   = 0x18
-       PTRACE_SYSEMU                    = 0x1f
-       PTRACE_SYSEMU_SINGLESTEP         = 0x20
-       PTRACE_TRACEME                   = 0x0
-       RLIMIT_AS                        = 0x9
-       RLIMIT_CORE                      = 0x4
-       RLIMIT_CPU                       = 0x0
-       RLIMIT_DATA                      = 0x2
-       RLIMIT_FSIZE                     = 0x1
-       RLIMIT_NOFILE                    = 0x7
-       RLIMIT_STACK                     = 0x3
-       RLIM_INFINITY                    = -0x1
-       RTAX_ADVMSS                      = 0x8
-       RTAX_CC_ALGO                     = 0x10
-       RTAX_CWND                        = 0x7
-       RTAX_FEATURES                    = 0xc
-       RTAX_FEATURE_ALLFRAG             = 0x8
-       RTAX_FEATURE_ECN                 = 0x1
-       RTAX_FEATURE_MASK                = 0xf
-       RTAX_FEATURE_SACK                = 0x2
-       RTAX_FEATURE_TIMESTAMP           = 0x4
-       RTAX_HOPLIMIT                    = 0xa
-       RTAX_INITCWND                    = 0xb
-       RTAX_INITRWND                    = 0xe
-       RTAX_LOCK                        = 0x1
-       RTAX_MAX                         = 0x10
-       RTAX_MTU                         = 0x2
-       RTAX_QUICKACK                    = 0xf
-       RTAX_REORDERING                  = 0x9
-       RTAX_RTO_MIN                     = 0xd
-       RTAX_RTT                         = 0x4
-       RTAX_RTTVAR                      = 0x5
-       RTAX_SSTHRESH                    = 0x6
-       RTAX_UNSPEC                      = 0x0
-       RTAX_WINDOW                      = 0x3
-       RTA_ALIGNTO                      = 0x4
-       RTA_MAX                          = 0x19
-       RTCF_DIRECTSRC                   = 0x4000000
-       RTCF_DOREDIRECT                  = 0x1000000
-       RTCF_LOG                         = 0x2000000
-       RTCF_MASQ                        = 0x400000
-       RTCF_NAT                         = 0x800000
-       RTCF_VALVE                       = 0x200000
-       RTF_ADDRCLASSMASK                = 0xf8000000
-       RTF_ADDRCONF                     = 0x40000
-       RTF_ALLONLINK                    = 0x20000
-       RTF_BROADCAST                    = 0x10000000
-       RTF_CACHE                        = 0x1000000
-       RTF_DEFAULT                      = 0x10000
-       RTF_DYNAMIC                      = 0x10
-       RTF_FLOW                         = 0x2000000
-       RTF_GATEWAY                      = 0x2
-       RTF_HOST                         = 0x4
-       RTF_INTERFACE                    = 0x40000000
-       RTF_IRTT                         = 0x100
-       RTF_LINKRT                       = 0x100000
-       RTF_LOCAL                        = 0x80000000
-       RTF_MODIFIED                     = 0x20
-       RTF_MSS                          = 0x40
-       RTF_MTU                          = 0x40
-       RTF_MULTICAST                    = 0x20000000
-       RTF_NAT                          = 0x8000000
-       RTF_NOFORWARD                    = 0x1000
-       RTF_NONEXTHOP                    = 0x200000
-       RTF_NOPMTUDISC                   = 0x4000
-       RTF_POLICY                       = 0x4000000
-       RTF_REINSTATE                    = 0x8
-       RTF_REJECT                       = 0x200
-       RTF_STATIC                       = 0x400
-       RTF_THROW                        = 0x2000
-       RTF_UP                           = 0x1
-       RTF_WINDOW                       = 0x80
-       RTF_XRESOLVE                     = 0x800
-       RTM_BASE                         = 0x10
-       RTM_DELACTION                    = 0x31
-       RTM_DELADDR                      = 0x15
-       RTM_DELADDRLABEL                 = 0x49
-       RTM_DELLINK                      = 0x11
-       RTM_DELMDB                       = 0x55
-       RTM_DELNEIGH                     = 0x1d
-       RTM_DELNSID                      = 0x59
-       RTM_DELQDISC                     = 0x25
-       RTM_DELROUTE                     = 0x19
-       RTM_DELRULE                      = 0x21
-       RTM_DELTCLASS                    = 0x29
-       RTM_DELTFILTER                   = 0x2d
-       RTM_F_CLONED                     = 0x200
-       RTM_F_EQUALIZE                   = 0x400
-       RTM_F_LOOKUP_TABLE               = 0x1000
-       RTM_F_NOTIFY                     = 0x100
-       RTM_F_PREFIX                     = 0x800
-       RTM_GETACTION                    = 0x32
-       RTM_GETADDR                      = 0x16
-       RTM_GETADDRLABEL                 = 0x4a
-       RTM_GETANYCAST                   = 0x3e
-       RTM_GETDCB                       = 0x4e
-       RTM_GETLINK                      = 0x12
-       RTM_GETMDB                       = 0x56
-       RTM_GETMULTICAST                 = 0x3a
-       RTM_GETNEIGH                     = 0x1e
-       RTM_GETNEIGHTBL                  = 0x42
-       RTM_GETNETCONF                   = 0x52
-       RTM_GETNSID                      = 0x5a
-       RTM_GETQDISC                     = 0x26
-       RTM_GETROUTE                     = 0x1a
-       RTM_GETRULE                      = 0x22
-       RTM_GETSTATS                     = 0x5e
-       RTM_GETTCLASS                    = 0x2a
-       RTM_GETTFILTER                   = 0x2e
-       RTM_MAX                          = 0x5f
-       RTM_NEWACTION                    = 0x30
-       RTM_NEWADDR                      = 0x14
-       RTM_NEWADDRLABEL                 = 0x48
-       RTM_NEWLINK                      = 0x10
-       RTM_NEWMDB                       = 0x54
-       RTM_NEWNDUSEROPT                 = 0x44
-       RTM_NEWNEIGH                     = 0x1c
-       RTM_NEWNEIGHTBL                  = 0x40
-       RTM_NEWNETCONF                   = 0x50
-       RTM_NEWNSID                      = 0x58
-       RTM_NEWPREFIX                    = 0x34
-       RTM_NEWQDISC                     = 0x24
-       RTM_NEWROUTE                     = 0x18
-       RTM_NEWRULE                      = 0x20
-       RTM_NEWSTATS                     = 0x5c
-       RTM_NEWTCLASS                    = 0x28
-       RTM_NEWTFILTER                   = 0x2c
-       RTM_NR_FAMILIES                  = 0x14
-       RTM_NR_MSGTYPES                  = 0x50
-       RTM_SETDCB                       = 0x4f
-       RTM_SETLINK                      = 0x13
-       RTM_SETNEIGHTBL                  = 0x43
-       RTNH_ALIGNTO                     = 0x4
-       RTNH_COMPARE_MASK                = 0x19
-       RTNH_F_DEAD                      = 0x1
-       RTNH_F_LINKDOWN                  = 0x10
-       RTNH_F_OFFLOAD                   = 0x8
-       RTNH_F_ONLINK                    = 0x4
-       RTNH_F_PERVASIVE                 = 0x2
-       RTN_MAX                          = 0xb
-       RTPROT_BABEL                     = 0x2a
-       RTPROT_BIRD                      = 0xc
-       RTPROT_BOOT                      = 0x3
-       RTPROT_DHCP                      = 0x10
-       RTPROT_DNROUTED                  = 0xd
-       RTPROT_GATED                     = 0x8
-       RTPROT_KERNEL                    = 0x2
-       RTPROT_MROUTED                   = 0x11
-       RTPROT_MRT                       = 0xa
-       RTPROT_NTK                       = 0xf
-       RTPROT_RA                        = 0x9
-       RTPROT_REDIRECT                  = 0x1
-       RTPROT_STATIC                    = 0x4
-       RTPROT_UNSPEC                    = 0x0
-       RTPROT_XORP                      = 0xe
-       RTPROT_ZEBRA                     = 0xb
-       RT_CLASS_DEFAULT                 = 0xfd
-       RT_CLASS_LOCAL                   = 0xff
-       RT_CLASS_MAIN                    = 0xfe
-       RT_CLASS_MAX                     = 0xff
-       RT_CLASS_UNSPEC                  = 0x0
-       RUSAGE_CHILDREN                  = -0x1
-       RUSAGE_SELF                      = 0x0
-       RUSAGE_THREAD                    = 0x1
-       SCM_CREDENTIALS                  = 0x2
-       SCM_RIGHTS                       = 0x1
-       SCM_TIMESTAMP                    = 0x1d
-       SCM_TIMESTAMPING                 = 0x25
-       SCM_TIMESTAMPING_OPT_STATS       = 0x36
-       SCM_TIMESTAMPNS                  = 0x23
-       SCM_WIFI_STATUS                  = 0x29
-       SHUT_RD                          = 0x0
-       SHUT_RDWR                        = 0x2
-       SHUT_WR                          = 0x1
-       SIOCADDDLCI                      = 0x8980
-       SIOCADDMULTI                     = 0x8931
-       SIOCADDRT                        = 0x890b
-       SIOCATMARK                       = 0x8905
-       SIOCDARP                         = 0x8953
-       SIOCDELDLCI                      = 0x8981
-       SIOCDELMULTI                     = 0x8932
-       SIOCDELRT                        = 0x890c
-       SIOCDEVPRIVATE                   = 0x89f0
-       SIOCDIFADDR                      = 0x8936
-       SIOCDRARP                        = 0x8960
-       SIOCGARP                         = 0x8954
-       SIOCGIFADDR                      = 0x8915
-       SIOCGIFBR                        = 0x8940
-       SIOCGIFBRDADDR                   = 0x8919
-       SIOCGIFCONF                      = 0x8912
-       SIOCGIFCOUNT                     = 0x8938
-       SIOCGIFDSTADDR                   = 0x8917
-       SIOCGIFENCAP                     = 0x8925
-       SIOCGIFFLAGS                     = 0x8913
-       SIOCGIFHWADDR                    = 0x8927
-       SIOCGIFINDEX                     = 0x8933
-       SIOCGIFMAP                       = 0x8970
-       SIOCGIFMEM                       = 0x891f
-       SIOCGIFMETRIC                    = 0x891d
-       SIOCGIFMTU                       = 0x8921
-       SIOCGIFNAME                      = 0x8910
-       SIOCGIFNETMASK                   = 0x891b
-       SIOCGIFPFLAGS                    = 0x8935
-       SIOCGIFSLAVE                     = 0x8929
-       SIOCGIFTXQLEN                    = 0x8942
-       SIOCGPGRP                        = 0x8904
-       SIOCGRARP                        = 0x8961
-       SIOCGSTAMP                       = 0x8906
-       SIOCGSTAMPNS                     = 0x8907
-       SIOCPROTOPRIVATE                 = 0x89e0
-       SIOCRTMSG                        = 0x890d
-       SIOCSARP                         = 0x8955
-       SIOCSIFADDR                      = 0x8916
-       SIOCSIFBR                        = 0x8941
-       SIOCSIFBRDADDR                   = 0x891a
-       SIOCSIFDSTADDR                   = 0x8918
-       SIOCSIFENCAP                     = 0x8926
-       SIOCSIFFLAGS                     = 0x8914
-       SIOCSIFHWADDR                    = 0x8924
-       SIOCSIFHWBROADCAST               = 0x8937
-       SIOCSIFLINK                      = 0x8911
-       SIOCSIFMAP                       = 0x8971
-       SIOCSIFMEM                       = 0x8920
-       SIOCSIFMETRIC                    = 0x891e
-       SIOCSIFMTU                       = 0x8922
-       SIOCSIFNAME                      = 0x8923
-       SIOCSIFNETMASK                   = 0x891c
-       SIOCSIFPFLAGS                    = 0x8934
-       SIOCSIFSLAVE                     = 0x8930
-       SIOCSIFTXQLEN                    = 0x8943
-       SIOCSPGRP                        = 0x8902
-       SIOCSRARP                        = 0x8962
-       SOCK_CLOEXEC                     = 0x80000
-       SOCK_DCCP                        = 0x6
-       SOCK_DGRAM                       = 0x2
-       SOCK_NONBLOCK                    = 0x800
-       SOCK_PACKET                      = 0xa
-       SOCK_RAW                         = 0x3
-       SOCK_RDM                         = 0x4
-       SOCK_SEQPACKET                   = 0x5
-       SOCK_STREAM                      = 0x1
-       SOL_AAL                          = 0x109
-       SOL_ALG                          = 0x117
-       SOL_ATM                          = 0x108
-       SOL_CAIF                         = 0x116
-       SOL_CAN_BASE                     = 0x64
-       SOL_DCCP                         = 0x10d
-       SOL_DECNET                       = 0x105
-       SOL_ICMPV6                       = 0x3a
-       SOL_IP                           = 0x0
-       SOL_IPV6                         = 0x29
-       SOL_IRDA                         = 0x10a
-       SOL_IUCV                         = 0x115
-       SOL_KCM                          = 0x119
-       SOL_LLC                          = 0x10c
-       SOL_NETBEUI                      = 0x10b
-       SOL_NETLINK                      = 0x10e
-       SOL_NFC                          = 0x118
-       SOL_PACKET                       = 0x107
-       SOL_PNPIPE                       = 0x113
-       SOL_PPPOL2TP                     = 0x111
-       SOL_RAW                          = 0xff
-       SOL_RDS                          = 0x114
-       SOL_RXRPC                        = 0x110
-       SOL_SOCKET                       = 0x1
-       SOL_TCP                          = 0x6
-       SOL_TIPC                         = 0x10f
-       SOL_X25                          = 0x106
-       SOMAXCONN                        = 0x80
-       SO_ACCEPTCONN                    = 0x1e
-       SO_ATTACH_BPF                    = 0x32
-       SO_ATTACH_FILTER                 = 0x1a
-       SO_ATTACH_REUSEPORT_CBPF         = 0x33
-       SO_ATTACH_REUSEPORT_EBPF         = 0x34
-       SO_BINDTODEVICE                  = 0x19
-       SO_BPF_EXTENSIONS                = 0x30
-       SO_BROADCAST                     = 0x6
-       SO_BSDCOMPAT                     = 0xe
-       SO_BUSY_POLL                     = 0x2e
-       SO_CNX_ADVICE                    = 0x35
-       SO_DEBUG                         = 0x1
-       SO_DETACH_BPF                    = 0x1b
-       SO_DETACH_FILTER                 = 0x1b
-       SO_DOMAIN                        = 0x27
-       SO_DONTROUTE                     = 0x5
-       SO_ERROR                         = 0x4
-       SO_GET_FILTER                    = 0x1a
-       SO_INCOMING_CPU                  = 0x31
-       SO_KEEPALIVE                     = 0x9
-       SO_LINGER                        = 0xd
-       SO_LOCK_FILTER                   = 0x2c
-       SO_MARK                          = 0x24
-       SO_MAX_PACING_RATE               = 0x2f
-       SO_NOFCS                         = 0x2b
-       SO_NO_CHECK                      = 0xb
-       SO_OOBINLINE                     = 0xa
-       SO_PASSCRED                      = 0x10
-       SO_PASSSEC                       = 0x22
-       SO_PEEK_OFF                      = 0x2a
-       SO_PEERCRED                      = 0x11
-       SO_PEERNAME                      = 0x1c
-       SO_PEERSEC                       = 0x1f
-       SO_PRIORITY                      = 0xc
-       SO_PROTOCOL                      = 0x26
-       SO_RCVBUF                        = 0x8
-       SO_RCVBUFFORCE                   = 0x21
-       SO_RCVLOWAT                      = 0x12
-       SO_RCVTIMEO                      = 0x14
-       SO_REUSEADDR                     = 0x2
-       SO_REUSEPORT                     = 0xf
-       SO_RXQ_OVFL                      = 0x28
-       SO_SECURITY_AUTHENTICATION       = 0x16
-       SO_SECURITY_ENCRYPTION_NETWORK   = 0x18
-       SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-       SO_SELECT_ERR_QUEUE              = 0x2d
-       SO_SNDBUF                        = 0x7
-       SO_SNDBUFFORCE                   = 0x20
-       SO_SNDLOWAT                      = 0x13
-       SO_SNDTIMEO                      = 0x15
-       SO_TIMESTAMP                     = 0x1d
-       SO_TIMESTAMPING                  = 0x25
-       SO_TIMESTAMPNS                   = 0x23
-       SO_TYPE                          = 0x3
-       SO_VM_SOCKETS_BUFFER_MAX_SIZE    = 0x2
-       SO_VM_SOCKETS_BUFFER_MIN_SIZE    = 0x1
-       SO_VM_SOCKETS_BUFFER_SIZE        = 0x0
-       SO_VM_SOCKETS_CONNECT_TIMEOUT    = 0x6
-       SO_VM_SOCKETS_NONBLOCK_TXRX      = 0x7
-       SO_VM_SOCKETS_PEER_HOST_VM_ID    = 0x3
-       SO_VM_SOCKETS_TRUSTED            = 0x5
-       SO_WIFI_STATUS                   = 0x29
-       SPLICE_F_GIFT                    = 0x8
-       SPLICE_F_MORE                    = 0x4
-       SPLICE_F_MOVE                    = 0x1
-       SPLICE_F_NONBLOCK                = 0x2
-       S_BLKSIZE                        = 0x200
-       S_IEXEC                          = 0x40
-       S_IFBLK                          = 0x6000
-       S_IFCHR                          = 0x2000
-       S_IFDIR                          = 0x4000
-       S_IFIFO                          = 0x1000
-       S_IFLNK                          = 0xa000
-       S_IFMT                           = 0xf000
-       S_IFREG                          = 0x8000
-       S_IFSOCK                         = 0xc000
-       S_IREAD                          = 0x100
-       S_IRGRP                          = 0x20
-       S_IROTH                          = 0x4
-       S_IRUSR                          = 0x100
-       S_IRWXG                          = 0x38
-       S_IRWXO                          = 0x7
-       S_IRWXU                          = 0x1c0
-       S_ISGID                          = 0x400
-       S_ISUID                          = 0x800
-       S_ISVTX                          = 0x200
-       S_IWGRP                          = 0x10
-       S_IWOTH                          = 0x2
-       S_IWRITE                         = 0x80
-       S_IWUSR                          = 0x80
-       S_IXGRP                          = 0x8
-       S_IXOTH                          = 0x1
-       S_IXUSR                          = 0x40
-       TAB0                             = 0x0
-       TAB1                             = 0x800
-       TAB2                             = 0x1000
-       TAB3                             = 0x1800
-       TABDLY                           = 0x1800
-       TCFLSH                           = 0x540b
-       TCGETA                           = 0x5405
-       TCGETS                           = 0x5401
-       TCGETS2                          = 0x802c542a
-       TCGETX                           = 0x5432
-       TCIFLUSH                         = 0x0
-       TCIOFF                           = 0x2
-       TCIOFLUSH                        = 0x2
-       TCION                            = 0x3
-       TCOFLUSH                         = 0x1
-       TCOOFF                           = 0x0
-       TCOON                            = 0x1
-       TCP_CC_INFO                      = 0x1a
-       TCP_CONGESTION                   = 0xd
-       TCP_COOKIE_IN_ALWAYS             = 0x1
-       TCP_COOKIE_MAX                   = 0x10
-       TCP_COOKIE_MIN                   = 0x8
-       TCP_COOKIE_OUT_NEVER             = 0x2
-       TCP_COOKIE_PAIR_SIZE             = 0x20
-       TCP_COOKIE_TRANSACTIONS          = 0xf
-       TCP_CORK                         = 0x3
-       TCP_DEFER_ACCEPT                 = 0x9
-       TCP_FASTOPEN                     = 0x17
-       TCP_INFO                         = 0xb
-       TCP_KEEPCNT                      = 0x6
-       TCP_KEEPIDLE                     = 0x4
-       TCP_KEEPINTVL                    = 0x5
-       TCP_LINGER2                      = 0x8
-       TCP_MAXSEG                       = 0x2
-       TCP_MAXWIN                       = 0xffff
-       TCP_MAX_WINSHIFT                 = 0xe
-       TCP_MD5SIG                       = 0xe
-       TCP_MD5SIG_MAXKEYLEN             = 0x50
-       TCP_MSS                          = 0x200
-       TCP_MSS_DEFAULT                  = 0x218
-       TCP_MSS_DESIRED                  = 0x4c4
-       TCP_NODELAY                      = 0x1
-       TCP_NOTSENT_LOWAT                = 0x19
-       TCP_QUEUE_SEQ                    = 0x15
-       TCP_QUICKACK                     = 0xc
-       TCP_REPAIR                       = 0x13
-       TCP_REPAIR_OPTIONS               = 0x16
-       TCP_REPAIR_QUEUE                 = 0x14
-       TCP_REPAIR_WINDOW                = 0x1d
-       TCP_SAVED_SYN                    = 0x1c
-       TCP_SAVE_SYN                     = 0x1b
-       TCP_SYNCNT                       = 0x7
-       TCP_S_DATA_IN                    = 0x4
-       TCP_S_DATA_OUT                   = 0x8
-       TCP_THIN_DUPACK                  = 0x11
-       TCP_THIN_LINEAR_TIMEOUTS         = 0x10
-       TCP_TIMESTAMP                    = 0x18
-       TCP_USER_TIMEOUT                 = 0x12
-       TCP_WINDOW_CLAMP                 = 0xa
-       TCSAFLUSH                        = 0x2
-       TCSBRK                           = 0x5409
-       TCSBRKP                          = 0x5425
-       TCSETA                           = 0x5406
-       TCSETAF                          = 0x5408
-       TCSETAW                          = 0x5407
-       TCSETS                           = 0x5402
-       TCSETS2                          = 0x402c542b
-       TCSETSF                          = 0x5404
-       TCSETSF2                         = 0x402c542d
-       TCSETSW                          = 0x5403
-       TCSETSW2                         = 0x402c542c
-       TCSETX                           = 0x5433
-       TCSETXF                          = 0x5434
-       TCSETXW                          = 0x5435
-       TCXONC                           = 0x540a
-       TIOCCBRK                         = 0x5428
-       TIOCCONS                         = 0x541d
-       TIOCEXCL                         = 0x540c
-       TIOCGDEV                         = 0x80045432
-       TIOCGETD                         = 0x5424
-       TIOCGEXCL                        = 0x80045440
-       TIOCGICOUNT                      = 0x545d
-       TIOCGLCKTRMIOS                   = 0x5456
-       TIOCGPGRP                        = 0x540f
-       TIOCGPKT                         = 0x80045438
-       TIOCGPTLCK                       = 0x80045439
-       TIOCGPTN                         = 0x80045430
-       TIOCGRS485                       = 0x542e
-       TIOCGSERIAL                      = 0x541e
-       TIOCGSID                         = 0x5429
-       TIOCGSOFTCAR                     = 0x5419
-       TIOCGWINSZ                       = 0x5413
-       TIOCINQ                          = 0x541b
-       TIOCLINUX                        = 0x541c
-       TIOCMBIC                         = 0x5417
-       TIOCMBIS                         = 0x5416
-       TIOCMGET                         = 0x5415
-       TIOCMIWAIT                       = 0x545c
-       TIOCMSET                         = 0x5418
-       TIOCM_CAR                        = 0x40
-       TIOCM_CD                         = 0x40
-       TIOCM_CTS                        = 0x20
-       TIOCM_DSR                        = 0x100
-       TIOCM_DTR                        = 0x2
-       TIOCM_LE                         = 0x1
-       TIOCM_RI                         = 0x80
-       TIOCM_RNG                        = 0x80
-       TIOCM_RTS                        = 0x4
-       TIOCM_SR                         = 0x10
-       TIOCM_ST                         = 0x8
-       TIOCNOTTY                        = 0x5422
-       TIOCNXCL                         = 0x540d
-       TIOCOUTQ                         = 0x5411
-       TIOCPKT                          = 0x5420
-       TIOCPKT_DATA                     = 0x0
-       TIOCPKT_DOSTOP                   = 0x20
-       TIOCPKT_FLUSHREAD                = 0x1
-       TIOCPKT_FLUSHWRITE               = 0x2
-       TIOCPKT_IOCTL                    = 0x40
-       TIOCPKT_NOSTOP                   = 0x10
-       TIOCPKT_START                    = 0x8
-       TIOCPKT_STOP                     = 0x4
-       TIOCSBRK                         = 0x5427
-       TIOCSCTTY                        = 0x540e
-       TIOCSERCONFIG                    = 0x5453
-       TIOCSERGETLSR                    = 0x5459
-       TIOCSERGETMULTI                  = 0x545a
-       TIOCSERGSTRUCT                   = 0x5458
-       TIOCSERGWILD                     = 0x5454
-       TIOCSERSETMULTI                  = 0x545b
-       TIOCSERSWILD                     = 0x5455
-       TIOCSER_TEMT                     = 0x1
-       TIOCSETD                         = 0x5423
-       TIOCSIG                          = 0x40045436
-       TIOCSLCKTRMIOS                   = 0x5457
-       TIOCSPGRP                        = 0x5410
-       TIOCSPTLCK                       = 0x40045431
-       TIOCSRS485                       = 0x542f
-       TIOCSSERIAL                      = 0x541f
-       TIOCSSOFTCAR                     = 0x541a
-       TIOCSTI                          = 0x5412
-       TIOCSWINSZ                       = 0x5414
-       TIOCVHANGUP                      = 0x5437
-       TOSTOP                           = 0x100
-       TUNATTACHFILTER                  = 0x401054d5
-       TUNDETACHFILTER                  = 0x401054d6
-       TUNGETFEATURES                   = 0x800454cf
-       TUNGETFILTER                     = 0x801054db
-       TUNGETIFF                        = 0x800454d2
-       TUNGETSNDBUF                     = 0x800454d3
-       TUNGETVNETBE                     = 0x800454df
-       TUNGETVNETHDRSZ                  = 0x800454d7
-       TUNGETVNETLE                     = 0x800454dd
-       TUNSETDEBUG                      = 0x400454c9
-       TUNSETGROUP                      = 0x400454ce
-       TUNSETIFF                        = 0x400454ca
-       TUNSETIFINDEX                    = 0x400454da
-       TUNSETLINK                       = 0x400454cd
-       TUNSETNOCSUM                     = 0x400454c8
-       TUNSETOFFLOAD                    = 0x400454d0
-       TUNSETOWNER                      = 0x400454cc
-       TUNSETPERSIST                    = 0x400454cb
-       TUNSETQUEUE                      = 0x400454d9
-       TUNSETSNDBUF                     = 0x400454d4
-       TUNSETTXFILTER                   = 0x400454d1
-       TUNSETVNETBE                     = 0x400454de
-       TUNSETVNETHDRSZ                  = 0x400454d8
-       TUNSETVNETLE                     = 0x400454dc
-       VDISCARD                         = 0xd
-       VEOF                             = 0x4
-       VEOL                             = 0xb
-       VEOL2                            = 0x10
-       VERASE                           = 0x2
-       VINTR                            = 0x0
-       VKILL                            = 0x3
-       VLNEXT                           = 0xf
-       VMADDR_CID_ANY                   = 0xffffffff
-       VMADDR_CID_HOST                  = 0x2
-       VMADDR_CID_HYPERVISOR            = 0x0
-       VMADDR_CID_RESERVED              = 0x1
-       VMADDR_PORT_ANY                  = 0xffffffff
-       VMIN                             = 0x6
-       VM_SOCKETS_INVALID_VERSION       = 0xffffffff
-       VQUIT                            = 0x1
-       VREPRINT                         = 0xc
-       VSTART                           = 0x8
-       VSTOP                            = 0x9
-       VSUSP                            = 0xa
-       VSWTC                            = 0x7
-       VT0                              = 0x0
-       VT1                              = 0x4000
-       VTDLY                            = 0x4000
-       VTIME                            = 0x5
-       VWERASE                          = 0xe
-       WALL                             = 0x40000000
-       WCLONE                           = 0x80000000
-       WCONTINUED                       = 0x8
-       WEXITED                          = 0x4
-       WNOHANG                          = 0x1
-       WNOTHREAD                        = 0x20000000
-       WNOWAIT                          = 0x1000000
-       WORDSIZE                         = 0x40
-       WSTOPPED                         = 0x2
-       WUNTRACED                        = 0x2
-       XCASE                            = 0x4
-       XTABS                            = 0x1800
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x62)
-       EADDRNOTAVAIL   = syscall.Errno(0x63)
-       EADV            = syscall.Errno(0x44)
-       EAFNOSUPPORT    = syscall.Errno(0x61)
-       EAGAIN          = syscall.Errno(0xb)
-       EALREADY        = syscall.Errno(0x72)
-       EBADE           = syscall.Errno(0x34)
-       EBADF           = syscall.Errno(0x9)
-       EBADFD          = syscall.Errno(0x4d)
-       EBADMSG         = syscall.Errno(0x4a)
-       EBADR           = syscall.Errno(0x35)
-       EBADRQC         = syscall.Errno(0x38)
-       EBADSLT         = syscall.Errno(0x39)
-       EBFONT          = syscall.Errno(0x3b)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x7d)
-       ECHILD          = syscall.Errno(0xa)
-       ECHRNG          = syscall.Errno(0x2c)
-       ECOMM           = syscall.Errno(0x46)
-       ECONNABORTED    = syscall.Errno(0x67)
-       ECONNREFUSED    = syscall.Errno(0x6f)
-       ECONNRESET      = syscall.Errno(0x68)
-       EDEADLK         = syscall.Errno(0x23)
-       EDEADLOCK       = syscall.Errno(0x23)
-       EDESTADDRREQ    = syscall.Errno(0x59)
-       EDOM            = syscall.Errno(0x21)
-       EDOTDOT         = syscall.Errno(0x49)
-       EDQUOT          = syscall.Errno(0x7a)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EHOSTDOWN       = syscall.Errno(0x70)
-       EHOSTUNREACH    = syscall.Errno(0x71)
-       EHWPOISON       = syscall.Errno(0x85)
-       EIDRM           = syscall.Errno(0x2b)
-       EILSEQ          = syscall.Errno(0x54)
-       EINPROGRESS     = syscall.Errno(0x73)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x6a)
-       EISDIR          = syscall.Errno(0x15)
-       EISNAM          = syscall.Errno(0x78)
-       EKEYEXPIRED     = syscall.Errno(0x7f)
-       EKEYREJECTED    = syscall.Errno(0x81)
-       EKEYREVOKED     = syscall.Errno(0x80)
-       EL2HLT          = syscall.Errno(0x33)
-       EL2NSYNC        = syscall.Errno(0x2d)
-       EL3HLT          = syscall.Errno(0x2e)
-       EL3RST          = syscall.Errno(0x2f)
-       ELIBACC         = syscall.Errno(0x4f)
-       ELIBBAD         = syscall.Errno(0x50)
-       ELIBEXEC        = syscall.Errno(0x53)
-       ELIBMAX         = syscall.Errno(0x52)
-       ELIBSCN         = syscall.Errno(0x51)
-       ELNRNG          = syscall.Errno(0x30)
-       ELOOP           = syscall.Errno(0x28)
-       EMEDIUMTYPE     = syscall.Errno(0x7c)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x5a)
-       EMULTIHOP       = syscall.Errno(0x48)
-       ENAMETOOLONG    = syscall.Errno(0x24)
-       ENAVAIL         = syscall.Errno(0x77)
-       ENETDOWN        = syscall.Errno(0x64)
-       ENETRESET       = syscall.Errno(0x66)
-       ENETUNREACH     = syscall.Errno(0x65)
-       ENFILE          = syscall.Errno(0x17)
-       ENOANO          = syscall.Errno(0x37)
-       ENOBUFS         = syscall.Errno(0x69)
-       ENOCSI          = syscall.Errno(0x32)
-       ENODATA         = syscall.Errno(0x3d)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOKEY          = syscall.Errno(0x7e)
-       ENOLCK          = syscall.Errno(0x25)
-       ENOLINK         = syscall.Errno(0x43)
-       ENOMEDIUM       = syscall.Errno(0x7b)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x2a)
-       ENONET          = syscall.Errno(0x40)
-       ENOPKG          = syscall.Errno(0x41)
-       ENOPROTOOPT     = syscall.Errno(0x5c)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x3f)
-       ENOSTR          = syscall.Errno(0x3c)
-       ENOSYS          = syscall.Errno(0x26)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x6b)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x27)
-       ENOTNAM         = syscall.Errno(0x76)
-       ENOTRECOVERABLE = syscall.Errno(0x83)
-       ENOTSOCK        = syscall.Errno(0x58)
-       ENOTSUP         = syscall.Errno(0x5f)
-       ENOTTY          = syscall.Errno(0x19)
-       ENOTUNIQ        = syscall.Errno(0x4c)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x5f)
-       EOVERFLOW       = syscall.Errno(0x4b)
-       EOWNERDEAD      = syscall.Errno(0x82)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x60)
-       EPIPE           = syscall.Errno(0x20)
-       EPROTO          = syscall.Errno(0x47)
-       EPROTONOSUPPORT = syscall.Errno(0x5d)
-       EPROTOTYPE      = syscall.Errno(0x5b)
-       ERANGE          = syscall.Errno(0x22)
-       EREMCHG         = syscall.Errno(0x4e)
-       EREMOTE         = syscall.Errno(0x42)
-       EREMOTEIO       = syscall.Errno(0x79)
-       ERESTART        = syscall.Errno(0x55)
-       ERFKILL         = syscall.Errno(0x84)
-       EROFS           = syscall.Errno(0x1e)
-       ESHUTDOWN       = syscall.Errno(0x6c)
-       ESOCKTNOSUPPORT = syscall.Errno(0x5e)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESRMNT          = syscall.Errno(0x45)
-       ESTALE          = syscall.Errno(0x74)
-       ESTRPIPE        = syscall.Errno(0x56)
-       ETIME           = syscall.Errno(0x3e)
-       ETIMEDOUT       = syscall.Errno(0x6e)
-       ETOOMANYREFS    = syscall.Errno(0x6d)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUCLEAN         = syscall.Errno(0x75)
-       EUNATCH         = syscall.Errno(0x31)
-       EUSERS          = syscall.Errno(0x57)
-       EWOULDBLOCK     = syscall.Errno(0xb)
-       EXDEV           = syscall.Errno(0x12)
-       EXFULL          = syscall.Errno(0x36)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0x7)
-       SIGCHLD   = syscall.Signal(0x11)
-       SIGCLD    = syscall.Signal(0x11)
-       SIGCONT   = syscall.Signal(0x12)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x1d)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPOLL   = syscall.Signal(0x1d)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGPWR    = syscall.Signal(0x1e)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTKFLT = syscall.Signal(0x10)
-       SIGSTOP   = syscall.Signal(0x13)
-       SIGSYS    = syscall.Signal(0x1f)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x14)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGUNUSED = syscall.Signal(0x1f)
-       SIGURG    = syscall.Signal(0x17)
-       SIGUSR1   = syscall.Signal(0xa)
-       SIGUSR2   = syscall.Signal(0xc)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:   "operation not permitted",
-       2:   "no such file or directory",
-       3:   "no such process",
-       4:   "interrupted system call",
-       5:   "input/output error",
-       6:   "no such device or address",
-       7:   "argument list too long",
-       8:   "exec format error",
-       9:   "bad file descriptor",
-       10:  "no child processes",
-       11:  "resource temporarily unavailable",
-       12:  "cannot allocate memory",
-       13:  "permission denied",
-       14:  "bad address",
-       15:  "block device required",
-       16:  "device or resource busy",
-       17:  "file exists",
-       18:  "invalid cross-device link",
-       19:  "no such device",
-       20:  "not a directory",
-       21:  "is a directory",
-       22:  "invalid argument",
-       23:  "too many open files in system",
-       24:  "too many open files",
-       25:  "inappropriate ioctl for device",
-       26:  "text file busy",
-       27:  "file too large",
-       28:  "no space left on device",
-       29:  "illegal seek",
-       30:  "read-only file system",
-       31:  "too many links",
-       32:  "broken pipe",
-       33:  "numerical argument out of domain",
-       34:  "numerical result out of range",
-       35:  "resource deadlock avoided",
-       36:  "file name too long",
-       37:  "no locks available",
-       38:  "function not implemented",
-       39:  "directory not empty",
-       40:  "too many levels of symbolic links",
-       42:  "no message of desired type",
-       43:  "identifier removed",
-       44:  "channel number out of range",
-       45:  "level 2 not synchronized",
-       46:  "level 3 halted",
-       47:  "level 3 reset",
-       48:  "link number out of range",
-       49:  "protocol driver not attached",
-       50:  "no CSI structure available",
-       51:  "level 2 halted",
-       52:  "invalid exchange",
-       53:  "invalid request descriptor",
-       54:  "exchange full",
-       55:  "no anode",
-       56:  "invalid request code",
-       57:  "invalid slot",
-       59:  "bad font file format",
-       60:  "device not a stream",
-       61:  "no data available",
-       62:  "timer expired",
-       63:  "out of streams resources",
-       64:  "machine is not on the network",
-       65:  "package not installed",
-       66:  "object is remote",
-       67:  "link has been severed",
-       68:  "advertise error",
-       69:  "srmount error",
-       70:  "communication error on send",
-       71:  "protocol error",
-       72:  "multihop attempted",
-       73:  "RFS specific error",
-       74:  "bad message",
-       75:  "value too large for defined data type",
-       76:  "name not unique on network",
-       77:  "file descriptor in bad state",
-       78:  "remote address changed",
-       79:  "can not access a needed shared library",
-       80:  "accessing a corrupted shared library",
-       81:  ".lib section in a.out corrupted",
-       82:  "attempting to link in too many shared libraries",
-       83:  "cannot exec a shared library directly",
-       84:  "invalid or incomplete multibyte or wide character",
-       85:  "interrupted system call should be restarted",
-       86:  "streams pipe error",
-       87:  "too many users",
-       88:  "socket operation on non-socket",
-       89:  "destination address required",
-       90:  "message too long",
-       91:  "protocol wrong type for socket",
-       92:  "protocol not available",
-       93:  "protocol not supported",
-       94:  "socket type not supported",
-       95:  "operation not supported",
-       96:  "protocol family not supported",
-       97:  "address family not supported by protocol",
-       98:  "address already in use",
-       99:  "cannot assign requested address",
-       100: "network is down",
-       101: "network is unreachable",
-       102: "network dropped connection on reset",
-       103: "software caused connection abort",
-       104: "connection reset by peer",
-       105: "no buffer space available",
-       106: "transport endpoint is already connected",
-       107: "transport endpoint is not connected",
-       108: "cannot send after transport endpoint shutdown",
-       109: "too many references: cannot splice",
-       110: "connection timed out",
-       111: "connection refused",
-       112: "host is down",
-       113: "no route to host",
-       114: "operation already in progress",
-       115: "operation now in progress",
-       116: "stale file handle",
-       117: "structure needs cleaning",
-       118: "not a XENIX named type file",
-       119: "no XENIX semaphores available",
-       120: "is a named type file",
-       121: "remote I/O error",
-       122: "disk quota exceeded",
-       123: "no medium found",
-       124: "wrong medium type",
-       125: "operation canceled",
-       126: "required key not available",
-       127: "key has expired",
-       128: "key has been revoked",
-       129: "key was rejected by service",
-       130: "owner died",
-       131: "state not recoverable",
-       132: "operation not possible due to RF-kill",
-       133: "memory page has hardware error",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/breakpoint trap",
-       6:  "aborted",
-       7:  "bus error",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "user defined signal 1",
-       11: "segmentation fault",
-       12: "user defined signal 2",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "stack fault",
-       17: "child exited",
-       18: "continued",
-       19: "stopped (signal)",
-       20: "stopped",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "urgent I/O condition",
-       24: "CPU time limit exceeded",
-       25: "file size limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window changed",
-       29: "I/O possible",
-       30: "power failure",
-       31: "bad system call",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go b/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
deleted file mode 100644 (file)
index 986a947..0000000
+++ /dev/null
@@ -1,2092 +0,0 @@
-// mkerrors.sh -Wall -Werror -static -I/tmp/include
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build arm,linux
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_ALG                           = 0x26
-       AF_APPLETALK                     = 0x5
-       AF_ASH                           = 0x12
-       AF_ATMPVC                        = 0x8
-       AF_ATMSVC                        = 0x14
-       AF_AX25                          = 0x3
-       AF_BLUETOOTH                     = 0x1f
-       AF_BRIDGE                        = 0x7
-       AF_CAIF                          = 0x25
-       AF_CAN                           = 0x1d
-       AF_DECnet                        = 0xc
-       AF_ECONET                        = 0x13
-       AF_FILE                          = 0x1
-       AF_IB                            = 0x1b
-       AF_IEEE802154                    = 0x24
-       AF_INET                          = 0x2
-       AF_INET6                         = 0xa
-       AF_IPX                           = 0x4
-       AF_IRDA                          = 0x17
-       AF_ISDN                          = 0x22
-       AF_IUCV                          = 0x20
-       AF_KCM                           = 0x29
-       AF_KEY                           = 0xf
-       AF_LLC                           = 0x1a
-       AF_LOCAL                         = 0x1
-       AF_MAX                           = 0x2b
-       AF_MPLS                          = 0x1c
-       AF_NETBEUI                       = 0xd
-       AF_NETLINK                       = 0x10
-       AF_NETROM                        = 0x6
-       AF_NFC                           = 0x27
-       AF_PACKET                        = 0x11
-       AF_PHONET                        = 0x23
-       AF_PPPOX                         = 0x18
-       AF_QIPCRTR                       = 0x2a
-       AF_RDS                           = 0x15
-       AF_ROSE                          = 0xb
-       AF_ROUTE                         = 0x10
-       AF_RXRPC                         = 0x21
-       AF_SECURITY                      = 0xe
-       AF_SNA                           = 0x16
-       AF_TIPC                          = 0x1e
-       AF_UNIX                          = 0x1
-       AF_UNSPEC                        = 0x0
-       AF_VSOCK                         = 0x28
-       AF_WANPIPE                       = 0x19
-       AF_X25                           = 0x9
-       ALG_OP_DECRYPT                   = 0x0
-       ALG_OP_ENCRYPT                   = 0x1
-       ALG_SET_AEAD_ASSOCLEN            = 0x4
-       ALG_SET_AEAD_AUTHSIZE            = 0x5
-       ALG_SET_IV                       = 0x2
-       ALG_SET_KEY                      = 0x1
-       ALG_SET_OP                       = 0x3
-       ARPHRD_6LOWPAN                   = 0x339
-       ARPHRD_ADAPT                     = 0x108
-       ARPHRD_APPLETLK                  = 0x8
-       ARPHRD_ARCNET                    = 0x7
-       ARPHRD_ASH                       = 0x30d
-       ARPHRD_ATM                       = 0x13
-       ARPHRD_AX25                      = 0x3
-       ARPHRD_BIF                       = 0x307
-       ARPHRD_CAIF                      = 0x336
-       ARPHRD_CAN                       = 0x118
-       ARPHRD_CHAOS                     = 0x5
-       ARPHRD_CISCO                     = 0x201
-       ARPHRD_CSLIP                     = 0x101
-       ARPHRD_CSLIP6                    = 0x103
-       ARPHRD_DDCMP                     = 0x205
-       ARPHRD_DLCI                      = 0xf
-       ARPHRD_ECONET                    = 0x30e
-       ARPHRD_EETHER                    = 0x2
-       ARPHRD_ETHER                     = 0x1
-       ARPHRD_EUI64                     = 0x1b
-       ARPHRD_FCAL                      = 0x311
-       ARPHRD_FCFABRIC                  = 0x313
-       ARPHRD_FCPL                      = 0x312
-       ARPHRD_FCPP                      = 0x310
-       ARPHRD_FDDI                      = 0x306
-       ARPHRD_FRAD                      = 0x302
-       ARPHRD_HDLC                      = 0x201
-       ARPHRD_HIPPI                     = 0x30c
-       ARPHRD_HWX25                     = 0x110
-       ARPHRD_IEEE1394                  = 0x18
-       ARPHRD_IEEE802                   = 0x6
-       ARPHRD_IEEE80211                 = 0x321
-       ARPHRD_IEEE80211_PRISM           = 0x322
-       ARPHRD_IEEE80211_RADIOTAP        = 0x323
-       ARPHRD_IEEE802154                = 0x324
-       ARPHRD_IEEE802154_MONITOR        = 0x325
-       ARPHRD_IEEE802_TR                = 0x320
-       ARPHRD_INFINIBAND                = 0x20
-       ARPHRD_IP6GRE                    = 0x337
-       ARPHRD_IPDDP                     = 0x309
-       ARPHRD_IPGRE                     = 0x30a
-       ARPHRD_IRDA                      = 0x30f
-       ARPHRD_LAPB                      = 0x204
-       ARPHRD_LOCALTLK                  = 0x305
-       ARPHRD_LOOPBACK                  = 0x304
-       ARPHRD_METRICOM                  = 0x17
-       ARPHRD_NETLINK                   = 0x338
-       ARPHRD_NETROM                    = 0x0
-       ARPHRD_NONE                      = 0xfffe
-       ARPHRD_PHONET                    = 0x334
-       ARPHRD_PHONET_PIPE               = 0x335
-       ARPHRD_PIMREG                    = 0x30b
-       ARPHRD_PPP                       = 0x200
-       ARPHRD_PRONET                    = 0x4
-       ARPHRD_RAWHDLC                   = 0x206
-       ARPHRD_ROSE                      = 0x10e
-       ARPHRD_RSRVD                     = 0x104
-       ARPHRD_SIT                       = 0x308
-       ARPHRD_SKIP                      = 0x303
-       ARPHRD_SLIP                      = 0x100
-       ARPHRD_SLIP6                     = 0x102
-       ARPHRD_TUNNEL                    = 0x300
-       ARPHRD_TUNNEL6                   = 0x301
-       ARPHRD_VOID                      = 0xffff
-       ARPHRD_X25                       = 0x10f
-       B0                               = 0x0
-       B1000000                         = 0x1008
-       B110                             = 0x3
-       B115200                          = 0x1002
-       B1152000                         = 0x1009
-       B1200                            = 0x9
-       B134                             = 0x4
-       B150                             = 0x5
-       B1500000                         = 0x100a
-       B1800                            = 0xa
-       B19200                           = 0xe
-       B200                             = 0x6
-       B2000000                         = 0x100b
-       B230400                          = 0x1003
-       B2400                            = 0xb
-       B2500000                         = 0x100c
-       B300                             = 0x7
-       B3000000                         = 0x100d
-       B3500000                         = 0x100e
-       B38400                           = 0xf
-       B4000000                         = 0x100f
-       B460800                          = 0x1004
-       B4800                            = 0xc
-       B50                              = 0x1
-       B500000                          = 0x1005
-       B57600                           = 0x1001
-       B576000                          = 0x1006
-       B600                             = 0x8
-       B75                              = 0x2
-       B921600                          = 0x1007
-       B9600                            = 0xd
-       BLKBSZGET                        = 0x80041270
-       BLKBSZSET                        = 0x40041271
-       BLKFLSBUF                        = 0x1261
-       BLKFRAGET                        = 0x1265
-       BLKFRASET                        = 0x1264
-       BLKGETSIZE                       = 0x1260
-       BLKGETSIZE64                     = 0x80041272
-       BLKPBSZGET                       = 0x127b
-       BLKRAGET                         = 0x1263
-       BLKRASET                         = 0x1262
-       BLKROGET                         = 0x125e
-       BLKROSET                         = 0x125d
-       BLKRRPART                        = 0x125f
-       BLKSECTGET                       = 0x1267
-       BLKSECTSET                       = 0x1266
-       BLKSSZGET                        = 0x1268
-       BOTHER                           = 0x1000
-       BPF_A                            = 0x10
-       BPF_ABS                          = 0x20
-       BPF_ADD                          = 0x0
-       BPF_ALU                          = 0x4
-       BPF_AND                          = 0x50
-       BPF_B                            = 0x10
-       BPF_DIV                          = 0x30
-       BPF_H                            = 0x8
-       BPF_IMM                          = 0x0
-       BPF_IND                          = 0x40
-       BPF_JA                           = 0x0
-       BPF_JEQ                          = 0x10
-       BPF_JGE                          = 0x30
-       BPF_JGT                          = 0x20
-       BPF_JMP                          = 0x5
-       BPF_JSET                         = 0x40
-       BPF_K                            = 0x0
-       BPF_LD                           = 0x0
-       BPF_LDX                          = 0x1
-       BPF_LEN                          = 0x80
-       BPF_LL_OFF                       = -0x200000
-       BPF_LSH                          = 0x60
-       BPF_MAJOR_VERSION                = 0x1
-       BPF_MAXINSNS                     = 0x1000
-       BPF_MEM                          = 0x60
-       BPF_MEMWORDS                     = 0x10
-       BPF_MINOR_VERSION                = 0x1
-       BPF_MISC                         = 0x7
-       BPF_MOD                          = 0x90
-       BPF_MSH                          = 0xa0
-       BPF_MUL                          = 0x20
-       BPF_NEG                          = 0x80
-       BPF_NET_OFF                      = -0x100000
-       BPF_OR                           = 0x40
-       BPF_RET                          = 0x6
-       BPF_RSH                          = 0x70
-       BPF_ST                           = 0x2
-       BPF_STX                          = 0x3
-       BPF_SUB                          = 0x10
-       BPF_TAX                          = 0x0
-       BPF_TXA                          = 0x80
-       BPF_W                            = 0x0
-       BPF_X                            = 0x8
-       BPF_XOR                          = 0xa0
-       BRKINT                           = 0x2
-       BS0                              = 0x0
-       BS1                              = 0x2000
-       BSDLY                            = 0x2000
-       CAN_BCM                          = 0x2
-       CAN_EFF_FLAG                     = 0x80000000
-       CAN_EFF_ID_BITS                  = 0x1d
-       CAN_EFF_MASK                     = 0x1fffffff
-       CAN_ERR_FLAG                     = 0x20000000
-       CAN_ERR_MASK                     = 0x1fffffff
-       CAN_INV_FILTER                   = 0x20000000
-       CAN_ISOTP                        = 0x6
-       CAN_MAX_DLC                      = 0x8
-       CAN_MAX_DLEN                     = 0x8
-       CAN_MCNET                        = 0x5
-       CAN_MTU                          = 0x10
-       CAN_NPROTO                       = 0x7
-       CAN_RAW                          = 0x1
-       CAN_RAW_FILTER_MAX               = 0x200
-       CAN_RTR_FLAG                     = 0x40000000
-       CAN_SFF_ID_BITS                  = 0xb
-       CAN_SFF_MASK                     = 0x7ff
-       CAN_TP16                         = 0x3
-       CAN_TP20                         = 0x4
-       CBAUD                            = 0x100f
-       CBAUDEX                          = 0x1000
-       CFLUSH                           = 0xf
-       CIBAUD                           = 0x100f0000
-       CLOCAL                           = 0x800
-       CLOCK_BOOTTIME                   = 0x7
-       CLOCK_BOOTTIME_ALARM             = 0x9
-       CLOCK_DEFAULT                    = 0x0
-       CLOCK_EXT                        = 0x1
-       CLOCK_INT                        = 0x2
-       CLOCK_MONOTONIC                  = 0x1
-       CLOCK_MONOTONIC_COARSE           = 0x6
-       CLOCK_MONOTONIC_RAW              = 0x4
-       CLOCK_PROCESS_CPUTIME_ID         = 0x2
-       CLOCK_REALTIME                   = 0x0
-       CLOCK_REALTIME_ALARM             = 0x8
-       CLOCK_REALTIME_COARSE            = 0x5
-       CLOCK_TAI                        = 0xb
-       CLOCK_THREAD_CPUTIME_ID          = 0x3
-       CLOCK_TXFROMRX                   = 0x4
-       CLOCK_TXINT                      = 0x3
-       CLONE_CHILD_CLEARTID             = 0x200000
-       CLONE_CHILD_SETTID               = 0x1000000
-       CLONE_DETACHED                   = 0x400000
-       CLONE_FILES                      = 0x400
-       CLONE_FS                         = 0x200
-       CLONE_IO                         = 0x80000000
-       CLONE_NEWCGROUP                  = 0x2000000
-       CLONE_NEWIPC                     = 0x8000000
-       CLONE_NEWNET                     = 0x40000000
-       CLONE_NEWNS                      = 0x20000
-       CLONE_NEWPID                     = 0x20000000
-       CLONE_NEWUSER                    = 0x10000000
-       CLONE_NEWUTS                     = 0x4000000
-       CLONE_PARENT                     = 0x8000
-       CLONE_PARENT_SETTID              = 0x100000
-       CLONE_PTRACE                     = 0x2000
-       CLONE_SETTLS                     = 0x80000
-       CLONE_SIGHAND                    = 0x800
-       CLONE_SYSVSEM                    = 0x40000
-       CLONE_THREAD                     = 0x10000
-       CLONE_UNTRACED                   = 0x800000
-       CLONE_VFORK                      = 0x4000
-       CLONE_VM                         = 0x100
-       CMSPAR                           = 0x40000000
-       CR0                              = 0x0
-       CR1                              = 0x200
-       CR2                              = 0x400
-       CR3                              = 0x600
-       CRDLY                            = 0x600
-       CREAD                            = 0x80
-       CRTSCTS                          = 0x80000000
-       CS5                              = 0x0
-       CS6                              = 0x10
-       CS7                              = 0x20
-       CS8                              = 0x30
-       CSIGNAL                          = 0xff
-       CSIZE                            = 0x30
-       CSTART                           = 0x11
-       CSTATUS                          = 0x0
-       CSTOP                            = 0x13
-       CSTOPB                           = 0x40
-       CSUSP                            = 0x1a
-       DT_BLK                           = 0x6
-       DT_CHR                           = 0x2
-       DT_DIR                           = 0x4
-       DT_FIFO                          = 0x1
-       DT_LNK                           = 0xa
-       DT_REG                           = 0x8
-       DT_SOCK                          = 0xc
-       DT_UNKNOWN                       = 0x0
-       DT_WHT                           = 0xe
-       ECHO                             = 0x8
-       ECHOCTL                          = 0x200
-       ECHOE                            = 0x10
-       ECHOK                            = 0x20
-       ECHOKE                           = 0x800
-       ECHONL                           = 0x40
-       ECHOPRT                          = 0x400
-       ENCODING_DEFAULT                 = 0x0
-       ENCODING_FM_MARK                 = 0x3
-       ENCODING_FM_SPACE                = 0x4
-       ENCODING_MANCHESTER              = 0x5
-       ENCODING_NRZ                     = 0x1
-       ENCODING_NRZI                    = 0x2
-       EPOLLERR                         = 0x8
-       EPOLLET                          = 0x80000000
-       EPOLLEXCLUSIVE                   = 0x10000000
-       EPOLLHUP                         = 0x10
-       EPOLLIN                          = 0x1
-       EPOLLMSG                         = 0x400
-       EPOLLONESHOT                     = 0x40000000
-       EPOLLOUT                         = 0x4
-       EPOLLPRI                         = 0x2
-       EPOLLRDBAND                      = 0x80
-       EPOLLRDHUP                       = 0x2000
-       EPOLLRDNORM                      = 0x40
-       EPOLLWAKEUP                      = 0x20000000
-       EPOLLWRBAND                      = 0x200
-       EPOLLWRNORM                      = 0x100
-       EPOLL_CLOEXEC                    = 0x80000
-       EPOLL_CTL_ADD                    = 0x1
-       EPOLL_CTL_DEL                    = 0x2
-       EPOLL_CTL_MOD                    = 0x3
-       ETH_P_1588                       = 0x88f7
-       ETH_P_8021AD                     = 0x88a8
-       ETH_P_8021AH                     = 0x88e7
-       ETH_P_8021Q                      = 0x8100
-       ETH_P_80221                      = 0x8917
-       ETH_P_802_2                      = 0x4
-       ETH_P_802_3                      = 0x1
-       ETH_P_802_3_MIN                  = 0x600
-       ETH_P_802_EX1                    = 0x88b5
-       ETH_P_AARP                       = 0x80f3
-       ETH_P_AF_IUCV                    = 0xfbfb
-       ETH_P_ALL                        = 0x3
-       ETH_P_AOE                        = 0x88a2
-       ETH_P_ARCNET                     = 0x1a
-       ETH_P_ARP                        = 0x806
-       ETH_P_ATALK                      = 0x809b
-       ETH_P_ATMFATE                    = 0x8884
-       ETH_P_ATMMPOA                    = 0x884c
-       ETH_P_AX25                       = 0x2
-       ETH_P_BATMAN                     = 0x4305
-       ETH_P_BPQ                        = 0x8ff
-       ETH_P_CAIF                       = 0xf7
-       ETH_P_CAN                        = 0xc
-       ETH_P_CANFD                      = 0xd
-       ETH_P_CONTROL                    = 0x16
-       ETH_P_CUST                       = 0x6006
-       ETH_P_DDCMP                      = 0x6
-       ETH_P_DEC                        = 0x6000
-       ETH_P_DIAG                       = 0x6005
-       ETH_P_DNA_DL                     = 0x6001
-       ETH_P_DNA_RC                     = 0x6002
-       ETH_P_DNA_RT                     = 0x6003
-       ETH_P_DSA                        = 0x1b
-       ETH_P_ECONET                     = 0x18
-       ETH_P_EDSA                       = 0xdada
-       ETH_P_FCOE                       = 0x8906
-       ETH_P_FIP                        = 0x8914
-       ETH_P_HDLC                       = 0x19
-       ETH_P_HSR                        = 0x892f
-       ETH_P_IEEE802154                 = 0xf6
-       ETH_P_IEEEPUP                    = 0xa00
-       ETH_P_IEEEPUPAT                  = 0xa01
-       ETH_P_IP                         = 0x800
-       ETH_P_IPV6                       = 0x86dd
-       ETH_P_IPX                        = 0x8137
-       ETH_P_IRDA                       = 0x17
-       ETH_P_LAT                        = 0x6004
-       ETH_P_LINK_CTL                   = 0x886c
-       ETH_P_LOCALTALK                  = 0x9
-       ETH_P_LOOP                       = 0x60
-       ETH_P_LOOPBACK                   = 0x9000
-       ETH_P_MACSEC                     = 0x88e5
-       ETH_P_MOBITEX                    = 0x15
-       ETH_P_MPLS_MC                    = 0x8848
-       ETH_P_MPLS_UC                    = 0x8847
-       ETH_P_MVRP                       = 0x88f5
-       ETH_P_NCSI                       = 0x88f8
-       ETH_P_PAE                        = 0x888e
-       ETH_P_PAUSE                      = 0x8808
-       ETH_P_PHONET                     = 0xf5
-       ETH_P_PPPTALK                    = 0x10
-       ETH_P_PPP_DISC                   = 0x8863
-       ETH_P_PPP_MP                     = 0x8
-       ETH_P_PPP_SES                    = 0x8864
-       ETH_P_PRP                        = 0x88fb
-       ETH_P_PUP                        = 0x200
-       ETH_P_PUPAT                      = 0x201
-       ETH_P_QINQ1                      = 0x9100
-       ETH_P_QINQ2                      = 0x9200
-       ETH_P_QINQ3                      = 0x9300
-       ETH_P_RARP                       = 0x8035
-       ETH_P_SCA                        = 0x6007
-       ETH_P_SLOW                       = 0x8809
-       ETH_P_SNAP                       = 0x5
-       ETH_P_TDLS                       = 0x890d
-       ETH_P_TEB                        = 0x6558
-       ETH_P_TIPC                       = 0x88ca
-       ETH_P_TRAILER                    = 0x1c
-       ETH_P_TR_802_2                   = 0x11
-       ETH_P_TSN                        = 0x22f0
-       ETH_P_WAN_PPP                    = 0x7
-       ETH_P_WCCP                       = 0x883e
-       ETH_P_X25                        = 0x805
-       ETH_P_XDSA                       = 0xf8
-       EXTA                             = 0xe
-       EXTB                             = 0xf
-       EXTPROC                          = 0x10000
-       FALLOC_FL_COLLAPSE_RANGE         = 0x8
-       FALLOC_FL_INSERT_RANGE           = 0x20
-       FALLOC_FL_KEEP_SIZE              = 0x1
-       FALLOC_FL_NO_HIDE_STALE          = 0x4
-       FALLOC_FL_PUNCH_HOLE             = 0x2
-       FALLOC_FL_UNSHARE_RANGE          = 0x40
-       FALLOC_FL_ZERO_RANGE             = 0x10
-       FD_CLOEXEC                       = 0x1
-       FD_SETSIZE                       = 0x400
-       FF0                              = 0x0
-       FF1                              = 0x8000
-       FFDLY                            = 0x8000
-       FLUSHO                           = 0x1000
-       FS_ENCRYPTION_MODE_AES_256_CBC   = 0x3
-       FS_ENCRYPTION_MODE_AES_256_CTS   = 0x4
-       FS_ENCRYPTION_MODE_AES_256_GCM   = 0x2
-       FS_ENCRYPTION_MODE_AES_256_XTS   = 0x1
-       FS_ENCRYPTION_MODE_INVALID       = 0x0
-       FS_IOC_GET_ENCRYPTION_POLICY     = 0x400c6615
-       FS_IOC_GET_ENCRYPTION_PWSALT     = 0x40106614
-       FS_IOC_SET_ENCRYPTION_POLICY     = 0x800c6613
-       FS_KEY_DESCRIPTOR_SIZE           = 0x8
-       FS_KEY_DESC_PREFIX               = "fscrypt:"
-       FS_KEY_DESC_PREFIX_SIZE          = 0x8
-       FS_MAX_KEY_SIZE                  = 0x40
-       FS_POLICY_FLAGS_PAD_16           = 0x2
-       FS_POLICY_FLAGS_PAD_32           = 0x3
-       FS_POLICY_FLAGS_PAD_4            = 0x0
-       FS_POLICY_FLAGS_PAD_8            = 0x1
-       FS_POLICY_FLAGS_PAD_MASK         = 0x3
-       FS_POLICY_FLAGS_VALID            = 0x3
-       F_DUPFD                          = 0x0
-       F_DUPFD_CLOEXEC                  = 0x406
-       F_EXLCK                          = 0x4
-       F_GETFD                          = 0x1
-       F_GETFL                          = 0x3
-       F_GETLEASE                       = 0x401
-       F_GETLK                          = 0xc
-       F_GETLK64                        = 0xc
-       F_GETOWN                         = 0x9
-       F_GETOWN_EX                      = 0x10
-       F_GETPIPE_SZ                     = 0x408
-       F_GETSIG                         = 0xb
-       F_LOCK                           = 0x1
-       F_NOTIFY                         = 0x402
-       F_OFD_GETLK                      = 0x24
-       F_OFD_SETLK                      = 0x25
-       F_OFD_SETLKW                     = 0x26
-       F_OK                             = 0x0
-       F_RDLCK                          = 0x0
-       F_SETFD                          = 0x2
-       F_SETFL                          = 0x4
-       F_SETLEASE                       = 0x400
-       F_SETLK                          = 0xd
-       F_SETLK64                        = 0xd
-       F_SETLKW                         = 0xe
-       F_SETLKW64                       = 0xe
-       F_SETOWN                         = 0x8
-       F_SETOWN_EX                      = 0xf
-       F_SETPIPE_SZ                     = 0x407
-       F_SETSIG                         = 0xa
-       F_SHLCK                          = 0x8
-       F_TEST                           = 0x3
-       F_TLOCK                          = 0x2
-       F_ULOCK                          = 0x0
-       F_UNLCK                          = 0x2
-       F_WRLCK                          = 0x1
-       GRND_NONBLOCK                    = 0x1
-       GRND_RANDOM                      = 0x2
-       HUPCL                            = 0x400
-       IBSHIFT                          = 0x10
-       ICANON                           = 0x2
-       ICMPV6_FILTER                    = 0x1
-       ICRNL                            = 0x100
-       IEXTEN                           = 0x8000
-       IFA_F_DADFAILED                  = 0x8
-       IFA_F_DEPRECATED                 = 0x20
-       IFA_F_HOMEADDRESS                = 0x10
-       IFA_F_MANAGETEMPADDR             = 0x100
-       IFA_F_MCAUTOJOIN                 = 0x400
-       IFA_F_NODAD                      = 0x2
-       IFA_F_NOPREFIXROUTE              = 0x200
-       IFA_F_OPTIMISTIC                 = 0x4
-       IFA_F_PERMANENT                  = 0x80
-       IFA_F_SECONDARY                  = 0x1
-       IFA_F_STABLE_PRIVACY             = 0x800
-       IFA_F_TEMPORARY                  = 0x1
-       IFA_F_TENTATIVE                  = 0x40
-       IFA_MAX                          = 0x8
-       IFF_ALLMULTI                     = 0x200
-       IFF_ATTACH_QUEUE                 = 0x200
-       IFF_AUTOMEDIA                    = 0x4000
-       IFF_BROADCAST                    = 0x2
-       IFF_DEBUG                        = 0x4
-       IFF_DETACH_QUEUE                 = 0x400
-       IFF_DORMANT                      = 0x20000
-       IFF_DYNAMIC                      = 0x8000
-       IFF_ECHO                         = 0x40000
-       IFF_LOOPBACK                     = 0x8
-       IFF_LOWER_UP                     = 0x10000
-       IFF_MASTER                       = 0x400
-       IFF_MULTICAST                    = 0x1000
-       IFF_MULTI_QUEUE                  = 0x100
-       IFF_NOARP                        = 0x80
-       IFF_NOFILTER                     = 0x1000
-       IFF_NOTRAILERS                   = 0x20
-       IFF_NO_PI                        = 0x1000
-       IFF_ONE_QUEUE                    = 0x2000
-       IFF_PERSIST                      = 0x800
-       IFF_POINTOPOINT                  = 0x10
-       IFF_PORTSEL                      = 0x2000
-       IFF_PROMISC                      = 0x100
-       IFF_RUNNING                      = 0x40
-       IFF_SLAVE                        = 0x800
-       IFF_TAP                          = 0x2
-       IFF_TUN                          = 0x1
-       IFF_TUN_EXCL                     = 0x8000
-       IFF_UP                           = 0x1
-       IFF_VNET_HDR                     = 0x4000
-       IFF_VOLATILE                     = 0x70c5a
-       IFNAMSIZ                         = 0x10
-       IGNBRK                           = 0x1
-       IGNCR                            = 0x80
-       IGNPAR                           = 0x4
-       IMAXBEL                          = 0x2000
-       INLCR                            = 0x40
-       INPCK                            = 0x10
-       IN_ACCESS                        = 0x1
-       IN_ALL_EVENTS                    = 0xfff
-       IN_ATTRIB                        = 0x4
-       IN_CLASSA_HOST                   = 0xffffff
-       IN_CLASSA_MAX                    = 0x80
-       IN_CLASSA_NET                    = 0xff000000
-       IN_CLASSA_NSHIFT                 = 0x18
-       IN_CLASSB_HOST                   = 0xffff
-       IN_CLASSB_MAX                    = 0x10000
-       IN_CLASSB_NET                    = 0xffff0000
-       IN_CLASSB_NSHIFT                 = 0x10
-       IN_CLASSC_HOST                   = 0xff
-       IN_CLASSC_NET                    = 0xffffff00
-       IN_CLASSC_NSHIFT                 = 0x8
-       IN_CLOEXEC                       = 0x80000
-       IN_CLOSE                         = 0x18
-       IN_CLOSE_NOWRITE                 = 0x10
-       IN_CLOSE_WRITE                   = 0x8
-       IN_CREATE                        = 0x100
-       IN_DELETE                        = 0x200
-       IN_DELETE_SELF                   = 0x400
-       IN_DONT_FOLLOW                   = 0x2000000
-       IN_EXCL_UNLINK                   = 0x4000000
-       IN_IGNORED                       = 0x8000
-       IN_ISDIR                         = 0x40000000
-       IN_LOOPBACKNET                   = 0x7f
-       IN_MASK_ADD                      = 0x20000000
-       IN_MODIFY                        = 0x2
-       IN_MOVE                          = 0xc0
-       IN_MOVED_FROM                    = 0x40
-       IN_MOVED_TO                      = 0x80
-       IN_MOVE_SELF                     = 0x800
-       IN_NONBLOCK                      = 0x800
-       IN_ONESHOT                       = 0x80000000
-       IN_ONLYDIR                       = 0x1000000
-       IN_OPEN                          = 0x20
-       IN_Q_OVERFLOW                    = 0x4000
-       IN_UNMOUNT                       = 0x2000
-       IPPROTO_AH                       = 0x33
-       IPPROTO_BEETPH                   = 0x5e
-       IPPROTO_COMP                     = 0x6c
-       IPPROTO_DCCP                     = 0x21
-       IPPROTO_DSTOPTS                  = 0x3c
-       IPPROTO_EGP                      = 0x8
-       IPPROTO_ENCAP                    = 0x62
-       IPPROTO_ESP                      = 0x32
-       IPPROTO_FRAGMENT                 = 0x2c
-       IPPROTO_GRE                      = 0x2f
-       IPPROTO_HOPOPTS                  = 0x0
-       IPPROTO_ICMP                     = 0x1
-       IPPROTO_ICMPV6                   = 0x3a
-       IPPROTO_IDP                      = 0x16
-       IPPROTO_IGMP                     = 0x2
-       IPPROTO_IP                       = 0x0
-       IPPROTO_IPIP                     = 0x4
-       IPPROTO_IPV6                     = 0x29
-       IPPROTO_MH                       = 0x87
-       IPPROTO_MPLS                     = 0x89
-       IPPROTO_MTP                      = 0x5c
-       IPPROTO_NONE                     = 0x3b
-       IPPROTO_PIM                      = 0x67
-       IPPROTO_PUP                      = 0xc
-       IPPROTO_RAW                      = 0xff
-       IPPROTO_ROUTING                  = 0x2b
-       IPPROTO_RSVP                     = 0x2e
-       IPPROTO_SCTP                     = 0x84
-       IPPROTO_TCP                      = 0x6
-       IPPROTO_TP                       = 0x1d
-       IPPROTO_UDP                      = 0x11
-       IPPROTO_UDPLITE                  = 0x88
-       IPV6_2292DSTOPTS                 = 0x4
-       IPV6_2292HOPLIMIT                = 0x8
-       IPV6_2292HOPOPTS                 = 0x3
-       IPV6_2292PKTINFO                 = 0x2
-       IPV6_2292PKTOPTIONS              = 0x6
-       IPV6_2292RTHDR                   = 0x5
-       IPV6_ADDRFORM                    = 0x1
-       IPV6_ADD_MEMBERSHIP              = 0x14
-       IPV6_AUTHHDR                     = 0xa
-       IPV6_CHECKSUM                    = 0x7
-       IPV6_DONTFRAG                    = 0x3e
-       IPV6_DROP_MEMBERSHIP             = 0x15
-       IPV6_DSTOPTS                     = 0x3b
-       IPV6_HDRINCL                     = 0x24
-       IPV6_HOPLIMIT                    = 0x34
-       IPV6_HOPOPTS                     = 0x36
-       IPV6_IPSEC_POLICY                = 0x22
-       IPV6_JOIN_ANYCAST                = 0x1b
-       IPV6_JOIN_GROUP                  = 0x14
-       IPV6_LEAVE_ANYCAST               = 0x1c
-       IPV6_LEAVE_GROUP                 = 0x15
-       IPV6_MTU                         = 0x18
-       IPV6_MTU_DISCOVER                = 0x17
-       IPV6_MULTICAST_HOPS              = 0x12
-       IPV6_MULTICAST_IF                = 0x11
-       IPV6_MULTICAST_LOOP              = 0x13
-       IPV6_NEXTHOP                     = 0x9
-       IPV6_PATHMTU                     = 0x3d
-       IPV6_PKTINFO                     = 0x32
-       IPV6_PMTUDISC_DO                 = 0x2
-       IPV6_PMTUDISC_DONT               = 0x0
-       IPV6_PMTUDISC_INTERFACE          = 0x4
-       IPV6_PMTUDISC_OMIT               = 0x5
-       IPV6_PMTUDISC_PROBE              = 0x3
-       IPV6_PMTUDISC_WANT               = 0x1
-       IPV6_RECVDSTOPTS                 = 0x3a
-       IPV6_RECVERR                     = 0x19
-       IPV6_RECVHOPLIMIT                = 0x33
-       IPV6_RECVHOPOPTS                 = 0x35
-       IPV6_RECVPATHMTU                 = 0x3c
-       IPV6_RECVPKTINFO                 = 0x31
-       IPV6_RECVRTHDR                   = 0x38
-       IPV6_RECVTCLASS                  = 0x42
-       IPV6_ROUTER_ALERT                = 0x16
-       IPV6_RTHDR                       = 0x39
-       IPV6_RTHDRDSTOPTS                = 0x37
-       IPV6_RTHDR_LOOSE                 = 0x0
-       IPV6_RTHDR_STRICT                = 0x1
-       IPV6_RTHDR_TYPE_0                = 0x0
-       IPV6_RXDSTOPTS                   = 0x3b
-       IPV6_RXHOPOPTS                   = 0x36
-       IPV6_TCLASS                      = 0x43
-       IPV6_UNICAST_HOPS                = 0x10
-       IPV6_V6ONLY                      = 0x1a
-       IPV6_XFRM_POLICY                 = 0x23
-       IP_ADD_MEMBERSHIP                = 0x23
-       IP_ADD_SOURCE_MEMBERSHIP         = 0x27
-       IP_BIND_ADDRESS_NO_PORT          = 0x18
-       IP_BLOCK_SOURCE                  = 0x26
-       IP_CHECKSUM                      = 0x17
-       IP_DEFAULT_MULTICAST_LOOP        = 0x1
-       IP_DEFAULT_MULTICAST_TTL         = 0x1
-       IP_DF                            = 0x4000
-       IP_DROP_MEMBERSHIP               = 0x24
-       IP_DROP_SOURCE_MEMBERSHIP        = 0x28
-       IP_FREEBIND                      = 0xf
-       IP_HDRINCL                       = 0x3
-       IP_IPSEC_POLICY                  = 0x10
-       IP_MAXPACKET                     = 0xffff
-       IP_MAX_MEMBERSHIPS               = 0x14
-       IP_MF                            = 0x2000
-       IP_MINTTL                        = 0x15
-       IP_MSFILTER                      = 0x29
-       IP_MSS                           = 0x240
-       IP_MTU                           = 0xe
-       IP_MTU_DISCOVER                  = 0xa
-       IP_MULTICAST_ALL                 = 0x31
-       IP_MULTICAST_IF                  = 0x20
-       IP_MULTICAST_LOOP                = 0x22
-       IP_MULTICAST_TTL                 = 0x21
-       IP_NODEFRAG                      = 0x16
-       IP_OFFMASK                       = 0x1fff
-       IP_OPTIONS                       = 0x4
-       IP_ORIGDSTADDR                   = 0x14
-       IP_PASSSEC                       = 0x12
-       IP_PKTINFO                       = 0x8
-       IP_PKTOPTIONS                    = 0x9
-       IP_PMTUDISC                      = 0xa
-       IP_PMTUDISC_DO                   = 0x2
-       IP_PMTUDISC_DONT                 = 0x0
-       IP_PMTUDISC_INTERFACE            = 0x4
-       IP_PMTUDISC_OMIT                 = 0x5
-       IP_PMTUDISC_PROBE                = 0x3
-       IP_PMTUDISC_WANT                 = 0x1
-       IP_RECVERR                       = 0xb
-       IP_RECVOPTS                      = 0x6
-       IP_RECVORIGDSTADDR               = 0x14
-       IP_RECVRETOPTS                   = 0x7
-       IP_RECVTOS                       = 0xd
-       IP_RECVTTL                       = 0xc
-       IP_RETOPTS                       = 0x7
-       IP_RF                            = 0x8000
-       IP_ROUTER_ALERT                  = 0x5
-       IP_TOS                           = 0x1
-       IP_TRANSPARENT                   = 0x13
-       IP_TTL                           = 0x2
-       IP_UNBLOCK_SOURCE                = 0x25
-       IP_UNICAST_IF                    = 0x32
-       IP_XFRM_POLICY                   = 0x11
-       ISIG                             = 0x1
-       ISTRIP                           = 0x20
-       IUCLC                            = 0x200
-       IUTF8                            = 0x4000
-       IXANY                            = 0x800
-       IXOFF                            = 0x1000
-       IXON                             = 0x400
-       LINUX_REBOOT_CMD_CAD_OFF         = 0x0
-       LINUX_REBOOT_CMD_CAD_ON          = 0x89abcdef
-       LINUX_REBOOT_CMD_HALT            = 0xcdef0123
-       LINUX_REBOOT_CMD_KEXEC           = 0x45584543
-       LINUX_REBOOT_CMD_POWER_OFF       = 0x4321fedc
-       LINUX_REBOOT_CMD_RESTART         = 0x1234567
-       LINUX_REBOOT_CMD_RESTART2        = 0xa1b2c3d4
-       LINUX_REBOOT_CMD_SW_SUSPEND      = 0xd000fce2
-       LINUX_REBOOT_MAGIC1              = 0xfee1dead
-       LINUX_REBOOT_MAGIC2              = 0x28121969
-       LOCK_EX                          = 0x2
-       LOCK_NB                          = 0x4
-       LOCK_SH                          = 0x1
-       LOCK_UN                          = 0x8
-       MADV_DODUMP                      = 0x11
-       MADV_DOFORK                      = 0xb
-       MADV_DONTDUMP                    = 0x10
-       MADV_DONTFORK                    = 0xa
-       MADV_DONTNEED                    = 0x4
-       MADV_FREE                        = 0x8
-       MADV_HUGEPAGE                    = 0xe
-       MADV_HWPOISON                    = 0x64
-       MADV_MERGEABLE                   = 0xc
-       MADV_NOHUGEPAGE                  = 0xf
-       MADV_NORMAL                      = 0x0
-       MADV_RANDOM                      = 0x1
-       MADV_REMOVE                      = 0x9
-       MADV_SEQUENTIAL                  = 0x2
-       MADV_UNMERGEABLE                 = 0xd
-       MADV_WILLNEED                    = 0x3
-       MAP_ANON                         = 0x20
-       MAP_ANONYMOUS                    = 0x20
-       MAP_DENYWRITE                    = 0x800
-       MAP_EXECUTABLE                   = 0x1000
-       MAP_FILE                         = 0x0
-       MAP_FIXED                        = 0x10
-       MAP_GROWSDOWN                    = 0x100
-       MAP_HUGETLB                      = 0x40000
-       MAP_HUGE_MASK                    = 0x3f
-       MAP_HUGE_SHIFT                   = 0x1a
-       MAP_LOCKED                       = 0x2000
-       MAP_NONBLOCK                     = 0x10000
-       MAP_NORESERVE                    = 0x4000
-       MAP_POPULATE                     = 0x8000
-       MAP_PRIVATE                      = 0x2
-       MAP_SHARED                       = 0x1
-       MAP_STACK                        = 0x20000
-       MAP_TYPE                         = 0xf
-       MCL_CURRENT                      = 0x1
-       MCL_FUTURE                       = 0x2
-       MCL_ONFAULT                      = 0x4
-       MNT_DETACH                       = 0x2
-       MNT_EXPIRE                       = 0x4
-       MNT_FORCE                        = 0x1
-       MSG_BATCH                        = 0x40000
-       MSG_CMSG_CLOEXEC                 = 0x40000000
-       MSG_CONFIRM                      = 0x800
-       MSG_CTRUNC                       = 0x8
-       MSG_DONTROUTE                    = 0x4
-       MSG_DONTWAIT                     = 0x40
-       MSG_EOR                          = 0x80
-       MSG_ERRQUEUE                     = 0x2000
-       MSG_FASTOPEN                     = 0x20000000
-       MSG_FIN                          = 0x200
-       MSG_MORE                         = 0x8000
-       MSG_NOSIGNAL                     = 0x4000
-       MSG_OOB                          = 0x1
-       MSG_PEEK                         = 0x2
-       MSG_PROXY                        = 0x10
-       MSG_RST                          = 0x1000
-       MSG_SYN                          = 0x400
-       MSG_TRUNC                        = 0x20
-       MSG_TRYHARD                      = 0x4
-       MSG_WAITALL                      = 0x100
-       MSG_WAITFORONE                   = 0x10000
-       MS_ACTIVE                        = 0x40000000
-       MS_ASYNC                         = 0x1
-       MS_BIND                          = 0x1000
-       MS_BORN                          = 0x20000000
-       MS_DIRSYNC                       = 0x80
-       MS_INVALIDATE                    = 0x2
-       MS_I_VERSION                     = 0x800000
-       MS_KERNMOUNT                     = 0x400000
-       MS_LAZYTIME                      = 0x2000000
-       MS_MANDLOCK                      = 0x40
-       MS_MGC_MSK                       = 0xffff0000
-       MS_MGC_VAL                       = 0xc0ed0000
-       MS_MOVE                          = 0x2000
-       MS_NOATIME                       = 0x400
-       MS_NODEV                         = 0x4
-       MS_NODIRATIME                    = 0x800
-       MS_NOEXEC                        = 0x8
-       MS_NOREMOTELOCK                  = 0x8000000
-       MS_NOSEC                         = 0x10000000
-       MS_NOSUID                        = 0x2
-       MS_NOUSER                        = -0x80000000
-       MS_POSIXACL                      = 0x10000
-       MS_PRIVATE                       = 0x40000
-       MS_RDONLY                        = 0x1
-       MS_REC                           = 0x4000
-       MS_RELATIME                      = 0x200000
-       MS_REMOUNT                       = 0x20
-       MS_RMT_MASK                      = 0x2800051
-       MS_SHARED                        = 0x100000
-       MS_SILENT                        = 0x8000
-       MS_SLAVE                         = 0x80000
-       MS_STRICTATIME                   = 0x1000000
-       MS_SYNC                          = 0x4
-       MS_SYNCHRONOUS                   = 0x10
-       MS_UNBINDABLE                    = 0x20000
-       MS_VERBOSE                       = 0x8000
-       NAME_MAX                         = 0xff
-       NETLINK_ADD_MEMBERSHIP           = 0x1
-       NETLINK_AUDIT                    = 0x9
-       NETLINK_BROADCAST_ERROR          = 0x4
-       NETLINK_CAP_ACK                  = 0xa
-       NETLINK_CONNECTOR                = 0xb
-       NETLINK_CRYPTO                   = 0x15
-       NETLINK_DNRTMSG                  = 0xe
-       NETLINK_DROP_MEMBERSHIP          = 0x2
-       NETLINK_ECRYPTFS                 = 0x13
-       NETLINK_FIB_LOOKUP               = 0xa
-       NETLINK_FIREWALL                 = 0x3
-       NETLINK_GENERIC                  = 0x10
-       NETLINK_INET_DIAG                = 0x4
-       NETLINK_IP6_FW                   = 0xd
-       NETLINK_ISCSI                    = 0x8
-       NETLINK_KOBJECT_UEVENT           = 0xf
-       NETLINK_LISTEN_ALL_NSID          = 0x8
-       NETLINK_LIST_MEMBERSHIPS         = 0x9
-       NETLINK_NETFILTER                = 0xc
-       NETLINK_NFLOG                    = 0x5
-       NETLINK_NO_ENOBUFS               = 0x5
-       NETLINK_PKTINFO                  = 0x3
-       NETLINK_RDMA                     = 0x14
-       NETLINK_ROUTE                    = 0x0
-       NETLINK_RX_RING                  = 0x6
-       NETLINK_SCSITRANSPORT            = 0x12
-       NETLINK_SELINUX                  = 0x7
-       NETLINK_SOCK_DIAG                = 0x4
-       NETLINK_TX_RING                  = 0x7
-       NETLINK_UNUSED                   = 0x1
-       NETLINK_USERSOCK                 = 0x2
-       NETLINK_XFRM                     = 0x6
-       NL0                              = 0x0
-       NL1                              = 0x100
-       NLA_ALIGNTO                      = 0x4
-       NLA_F_NESTED                     = 0x8000
-       NLA_F_NET_BYTEORDER              = 0x4000
-       NLA_HDRLEN                       = 0x4
-       NLDLY                            = 0x100
-       NLMSG_ALIGNTO                    = 0x4
-       NLMSG_DONE                       = 0x3
-       NLMSG_ERROR                      = 0x2
-       NLMSG_HDRLEN                     = 0x10
-       NLMSG_MIN_TYPE                   = 0x10
-       NLMSG_NOOP                       = 0x1
-       NLMSG_OVERRUN                    = 0x4
-       NLM_F_ACK                        = 0x4
-       NLM_F_APPEND                     = 0x800
-       NLM_F_ATOMIC                     = 0x400
-       NLM_F_CREATE                     = 0x400
-       NLM_F_DUMP                       = 0x300
-       NLM_F_DUMP_FILTERED              = 0x20
-       NLM_F_DUMP_INTR                  = 0x10
-       NLM_F_ECHO                       = 0x8
-       NLM_F_EXCL                       = 0x200
-       NLM_F_MATCH                      = 0x200
-       NLM_F_MULTI                      = 0x2
-       NLM_F_REPLACE                    = 0x100
-       NLM_F_REQUEST                    = 0x1
-       NLM_F_ROOT                       = 0x100
-       NOFLSH                           = 0x80
-       OCRNL                            = 0x8
-       OFDEL                            = 0x80
-       OFILL                            = 0x40
-       OLCUC                            = 0x2
-       ONLCR                            = 0x4
-       ONLRET                           = 0x20
-       ONOCR                            = 0x10
-       OPOST                            = 0x1
-       O_ACCMODE                        = 0x3
-       O_APPEND                         = 0x400
-       O_ASYNC                          = 0x2000
-       O_CLOEXEC                        = 0x80000
-       O_CREAT                          = 0x40
-       O_DIRECT                         = 0x10000
-       O_DIRECTORY                      = 0x4000
-       O_DSYNC                          = 0x1000
-       O_EXCL                           = 0x80
-       O_FSYNC                          = 0x101000
-       O_LARGEFILE                      = 0x20000
-       O_NDELAY                         = 0x800
-       O_NOATIME                        = 0x40000
-       O_NOCTTY                         = 0x100
-       O_NOFOLLOW                       = 0x8000
-       O_NONBLOCK                       = 0x800
-       O_PATH                           = 0x200000
-       O_RDONLY                         = 0x0
-       O_RDWR                           = 0x2
-       O_RSYNC                          = 0x101000
-       O_SYNC                           = 0x101000
-       O_TMPFILE                        = 0x404000
-       O_TRUNC                          = 0x200
-       O_WRONLY                         = 0x1
-       PACKET_ADD_MEMBERSHIP            = 0x1
-       PACKET_AUXDATA                   = 0x8
-       PACKET_BROADCAST                 = 0x1
-       PACKET_COPY_THRESH               = 0x7
-       PACKET_DROP_MEMBERSHIP           = 0x2
-       PACKET_FANOUT                    = 0x12
-       PACKET_FANOUT_CBPF               = 0x6
-       PACKET_FANOUT_CPU                = 0x2
-       PACKET_FANOUT_DATA               = 0x16
-       PACKET_FANOUT_EBPF               = 0x7
-       PACKET_FANOUT_FLAG_DEFRAG        = 0x8000
-       PACKET_FANOUT_FLAG_ROLLOVER      = 0x1000
-       PACKET_FANOUT_HASH               = 0x0
-       PACKET_FANOUT_LB                 = 0x1
-       PACKET_FANOUT_QM                 = 0x5
-       PACKET_FANOUT_RND                = 0x4
-       PACKET_FANOUT_ROLLOVER           = 0x3
-       PACKET_FASTROUTE                 = 0x6
-       PACKET_HDRLEN                    = 0xb
-       PACKET_HOST                      = 0x0
-       PACKET_KERNEL                    = 0x7
-       PACKET_LOOPBACK                  = 0x5
-       PACKET_LOSS                      = 0xe
-       PACKET_MR_ALLMULTI               = 0x2
-       PACKET_MR_MULTICAST              = 0x0
-       PACKET_MR_PROMISC                = 0x1
-       PACKET_MR_UNICAST                = 0x3
-       PACKET_MULTICAST                 = 0x2
-       PACKET_ORIGDEV                   = 0x9
-       PACKET_OTHERHOST                 = 0x3
-       PACKET_OUTGOING                  = 0x4
-       PACKET_QDISC_BYPASS              = 0x14
-       PACKET_RECV_OUTPUT               = 0x3
-       PACKET_RESERVE                   = 0xc
-       PACKET_ROLLOVER_STATS            = 0x15
-       PACKET_RX_RING                   = 0x5
-       PACKET_STATISTICS                = 0x6
-       PACKET_TIMESTAMP                 = 0x11
-       PACKET_TX_HAS_OFF                = 0x13
-       PACKET_TX_RING                   = 0xd
-       PACKET_TX_TIMESTAMP              = 0x10
-       PACKET_USER                      = 0x6
-       PACKET_VERSION                   = 0xa
-       PACKET_VNET_HDR                  = 0xf
-       PARENB                           = 0x100
-       PARITY_CRC16_PR0                 = 0x2
-       PARITY_CRC16_PR0_CCITT           = 0x4
-       PARITY_CRC16_PR1                 = 0x3
-       PARITY_CRC16_PR1_CCITT           = 0x5
-       PARITY_CRC32_PR0_CCITT           = 0x6
-       PARITY_CRC32_PR1_CCITT           = 0x7
-       PARITY_DEFAULT                   = 0x0
-       PARITY_NONE                      = 0x1
-       PARMRK                           = 0x8
-       PARODD                           = 0x200
-       PENDIN                           = 0x4000
-       PRIO_PGRP                        = 0x1
-       PRIO_PROCESS                     = 0x0
-       PRIO_USER                        = 0x2
-       PROT_EXEC                        = 0x4
-       PROT_GROWSDOWN                   = 0x1000000
-       PROT_GROWSUP                     = 0x2000000
-       PROT_NONE                        = 0x0
-       PROT_READ                        = 0x1
-       PROT_WRITE                       = 0x2
-       PR_CAPBSET_DROP                  = 0x18
-       PR_CAPBSET_READ                  = 0x17
-       PR_CAP_AMBIENT                   = 0x2f
-       PR_CAP_AMBIENT_CLEAR_ALL         = 0x4
-       PR_CAP_AMBIENT_IS_SET            = 0x1
-       PR_CAP_AMBIENT_LOWER             = 0x3
-       PR_CAP_AMBIENT_RAISE             = 0x2
-       PR_ENDIAN_BIG                    = 0x0
-       PR_ENDIAN_LITTLE                 = 0x1
-       PR_ENDIAN_PPC_LITTLE             = 0x2
-       PR_FPEMU_NOPRINT                 = 0x1
-       PR_FPEMU_SIGFPE                  = 0x2
-       PR_FP_EXC_ASYNC                  = 0x2
-       PR_FP_EXC_DISABLED               = 0x0
-       PR_FP_EXC_DIV                    = 0x10000
-       PR_FP_EXC_INV                    = 0x100000
-       PR_FP_EXC_NONRECOV               = 0x1
-       PR_FP_EXC_OVF                    = 0x20000
-       PR_FP_EXC_PRECISE                = 0x3
-       PR_FP_EXC_RES                    = 0x80000
-       PR_FP_EXC_SW_ENABLE              = 0x80
-       PR_FP_EXC_UND                    = 0x40000
-       PR_FP_MODE_FR                    = 0x1
-       PR_FP_MODE_FRE                   = 0x2
-       PR_GET_CHILD_SUBREAPER           = 0x25
-       PR_GET_DUMPABLE                  = 0x3
-       PR_GET_ENDIAN                    = 0x13
-       PR_GET_FPEMU                     = 0x9
-       PR_GET_FPEXC                     = 0xb
-       PR_GET_FP_MODE                   = 0x2e
-       PR_GET_KEEPCAPS                  = 0x7
-       PR_GET_NAME                      = 0x10
-       PR_GET_NO_NEW_PRIVS              = 0x27
-       PR_GET_PDEATHSIG                 = 0x2
-       PR_GET_SECCOMP                   = 0x15
-       PR_GET_SECUREBITS                = 0x1b
-       PR_GET_THP_DISABLE               = 0x2a
-       PR_GET_TID_ADDRESS               = 0x28
-       PR_GET_TIMERSLACK                = 0x1e
-       PR_GET_TIMING                    = 0xd
-       PR_GET_TSC                       = 0x19
-       PR_GET_UNALIGN                   = 0x5
-       PR_MCE_KILL                      = 0x21
-       PR_MCE_KILL_CLEAR                = 0x0
-       PR_MCE_KILL_DEFAULT              = 0x2
-       PR_MCE_KILL_EARLY                = 0x1
-       PR_MCE_KILL_GET                  = 0x22
-       PR_MCE_KILL_LATE                 = 0x0
-       PR_MCE_KILL_SET                  = 0x1
-       PR_MPX_DISABLE_MANAGEMENT        = 0x2c
-       PR_MPX_ENABLE_MANAGEMENT         = 0x2b
-       PR_SET_CHILD_SUBREAPER           = 0x24
-       PR_SET_DUMPABLE                  = 0x4
-       PR_SET_ENDIAN                    = 0x14
-       PR_SET_FPEMU                     = 0xa
-       PR_SET_FPEXC                     = 0xc
-       PR_SET_FP_MODE                   = 0x2d
-       PR_SET_KEEPCAPS                  = 0x8
-       PR_SET_MM                        = 0x23
-       PR_SET_MM_ARG_END                = 0x9
-       PR_SET_MM_ARG_START              = 0x8
-       PR_SET_MM_AUXV                   = 0xc
-       PR_SET_MM_BRK                    = 0x7
-       PR_SET_MM_END_CODE               = 0x2
-       PR_SET_MM_END_DATA               = 0x4
-       PR_SET_MM_ENV_END                = 0xb
-       PR_SET_MM_ENV_START              = 0xa
-       PR_SET_MM_EXE_FILE               = 0xd
-       PR_SET_MM_MAP                    = 0xe
-       PR_SET_MM_MAP_SIZE               = 0xf
-       PR_SET_MM_START_BRK              = 0x6
-       PR_SET_MM_START_CODE             = 0x1
-       PR_SET_MM_START_DATA             = 0x3
-       PR_SET_MM_START_STACK            = 0x5
-       PR_SET_NAME                      = 0xf
-       PR_SET_NO_NEW_PRIVS              = 0x26
-       PR_SET_PDEATHSIG                 = 0x1
-       PR_SET_PTRACER                   = 0x59616d61
-       PR_SET_PTRACER_ANY               = 0xffffffff
-       PR_SET_SECCOMP                   = 0x16
-       PR_SET_SECUREBITS                = 0x1c
-       PR_SET_THP_DISABLE               = 0x29
-       PR_SET_TIMERSLACK                = 0x1d
-       PR_SET_TIMING                    = 0xe
-       PR_SET_TSC                       = 0x1a
-       PR_SET_UNALIGN                   = 0x6
-       PR_TASK_PERF_EVENTS_DISABLE      = 0x1f
-       PR_TASK_PERF_EVENTS_ENABLE       = 0x20
-       PR_TIMING_STATISTICAL            = 0x0
-       PR_TIMING_TIMESTAMP              = 0x1
-       PR_TSC_ENABLE                    = 0x1
-       PR_TSC_SIGSEGV                   = 0x2
-       PR_UNALIGN_NOPRINT               = 0x1
-       PR_UNALIGN_SIGBUS                = 0x2
-       PTRACE_ATTACH                    = 0x10
-       PTRACE_CONT                      = 0x7
-       PTRACE_DETACH                    = 0x11
-       PTRACE_EVENT_CLONE               = 0x3
-       PTRACE_EVENT_EXEC                = 0x4
-       PTRACE_EVENT_EXIT                = 0x6
-       PTRACE_EVENT_FORK                = 0x1
-       PTRACE_EVENT_SECCOMP             = 0x7
-       PTRACE_EVENT_STOP                = 0x80
-       PTRACE_EVENT_VFORK               = 0x2
-       PTRACE_EVENT_VFORK_DONE          = 0x5
-       PTRACE_GETCRUNCHREGS             = 0x19
-       PTRACE_GETEVENTMSG               = 0x4201
-       PTRACE_GETFPREGS                 = 0xe
-       PTRACE_GETHBPREGS                = 0x1d
-       PTRACE_GETREGS                   = 0xc
-       PTRACE_GETREGSET                 = 0x4204
-       PTRACE_GETSIGINFO                = 0x4202
-       PTRACE_GETSIGMASK                = 0x420a
-       PTRACE_GETVFPREGS                = 0x1b
-       PTRACE_GETWMMXREGS               = 0x12
-       PTRACE_GET_THREAD_AREA           = 0x16
-       PTRACE_INTERRUPT                 = 0x4207
-       PTRACE_KILL                      = 0x8
-       PTRACE_LISTEN                    = 0x4208
-       PTRACE_OLDSETOPTIONS             = 0x15
-       PTRACE_O_EXITKILL                = 0x100000
-       PTRACE_O_MASK                    = 0x3000ff
-       PTRACE_O_SUSPEND_SECCOMP         = 0x200000
-       PTRACE_O_TRACECLONE              = 0x8
-       PTRACE_O_TRACEEXEC               = 0x10
-       PTRACE_O_TRACEEXIT               = 0x40
-       PTRACE_O_TRACEFORK               = 0x2
-       PTRACE_O_TRACESECCOMP            = 0x80
-       PTRACE_O_TRACESYSGOOD            = 0x1
-       PTRACE_O_TRACEVFORK              = 0x4
-       PTRACE_O_TRACEVFORKDONE          = 0x20
-       PTRACE_PEEKDATA                  = 0x2
-       PTRACE_PEEKSIGINFO               = 0x4209
-       PTRACE_PEEKSIGINFO_SHARED        = 0x1
-       PTRACE_PEEKTEXT                  = 0x1
-       PTRACE_PEEKUSR                   = 0x3
-       PTRACE_POKEDATA                  = 0x5
-       PTRACE_POKETEXT                  = 0x4
-       PTRACE_POKEUSR                   = 0x6
-       PTRACE_SECCOMP_GET_FILTER        = 0x420c
-       PTRACE_SEIZE                     = 0x4206
-       PTRACE_SETCRUNCHREGS             = 0x1a
-       PTRACE_SETFPREGS                 = 0xf
-       PTRACE_SETHBPREGS                = 0x1e
-       PTRACE_SETOPTIONS                = 0x4200
-       PTRACE_SETREGS                   = 0xd
-       PTRACE_SETREGSET                 = 0x4205
-       PTRACE_SETSIGINFO                = 0x4203
-       PTRACE_SETSIGMASK                = 0x420b
-       PTRACE_SETVFPREGS                = 0x1c
-       PTRACE_SETWMMXREGS               = 0x13
-       PTRACE_SET_SYSCALL               = 0x17
-       PTRACE_SINGLESTEP                = 0x9
-       PTRACE_SYSCALL                   = 0x18
-       PTRACE_TRACEME                   = 0x0
-       PT_DATA_ADDR                     = 0x10004
-       PT_TEXT_ADDR                     = 0x10000
-       PT_TEXT_END_ADDR                 = 0x10008
-       RLIMIT_AS                        = 0x9
-       RLIMIT_CORE                      = 0x4
-       RLIMIT_CPU                       = 0x0
-       RLIMIT_DATA                      = 0x2
-       RLIMIT_FSIZE                     = 0x1
-       RLIMIT_NOFILE                    = 0x7
-       RLIMIT_STACK                     = 0x3
-       RLIM_INFINITY                    = -0x1
-       RTAX_ADVMSS                      = 0x8
-       RTAX_CC_ALGO                     = 0x10
-       RTAX_CWND                        = 0x7
-       RTAX_FEATURES                    = 0xc
-       RTAX_FEATURE_ALLFRAG             = 0x8
-       RTAX_FEATURE_ECN                 = 0x1
-       RTAX_FEATURE_MASK                = 0xf
-       RTAX_FEATURE_SACK                = 0x2
-       RTAX_FEATURE_TIMESTAMP           = 0x4
-       RTAX_HOPLIMIT                    = 0xa
-       RTAX_INITCWND                    = 0xb
-       RTAX_INITRWND                    = 0xe
-       RTAX_LOCK                        = 0x1
-       RTAX_MAX                         = 0x10
-       RTAX_MTU                         = 0x2
-       RTAX_QUICKACK                    = 0xf
-       RTAX_REORDERING                  = 0x9
-       RTAX_RTO_MIN                     = 0xd
-       RTAX_RTT                         = 0x4
-       RTAX_RTTVAR                      = 0x5
-       RTAX_SSTHRESH                    = 0x6
-       RTAX_UNSPEC                      = 0x0
-       RTAX_WINDOW                      = 0x3
-       RTA_ALIGNTO                      = 0x4
-       RTA_MAX                          = 0x19
-       RTCF_DIRECTSRC                   = 0x4000000
-       RTCF_DOREDIRECT                  = 0x1000000
-       RTCF_LOG                         = 0x2000000
-       RTCF_MASQ                        = 0x400000
-       RTCF_NAT                         = 0x800000
-       RTCF_VALVE                       = 0x200000
-       RTF_ADDRCLASSMASK                = 0xf8000000
-       RTF_ADDRCONF                     = 0x40000
-       RTF_ALLONLINK                    = 0x20000
-       RTF_BROADCAST                    = 0x10000000
-       RTF_CACHE                        = 0x1000000
-       RTF_DEFAULT                      = 0x10000
-       RTF_DYNAMIC                      = 0x10
-       RTF_FLOW                         = 0x2000000
-       RTF_GATEWAY                      = 0x2
-       RTF_HOST                         = 0x4
-       RTF_INTERFACE                    = 0x40000000
-       RTF_IRTT                         = 0x100
-       RTF_LINKRT                       = 0x100000
-       RTF_LOCAL                        = 0x80000000
-       RTF_MODIFIED                     = 0x20
-       RTF_MSS                          = 0x40
-       RTF_MTU                          = 0x40
-       RTF_MULTICAST                    = 0x20000000
-       RTF_NAT                          = 0x8000000
-       RTF_NOFORWARD                    = 0x1000
-       RTF_NONEXTHOP                    = 0x200000
-       RTF_NOPMTUDISC                   = 0x4000
-       RTF_POLICY                       = 0x4000000
-       RTF_REINSTATE                    = 0x8
-       RTF_REJECT                       = 0x200
-       RTF_STATIC                       = 0x400
-       RTF_THROW                        = 0x2000
-       RTF_UP                           = 0x1
-       RTF_WINDOW                       = 0x80
-       RTF_XRESOLVE                     = 0x800
-       RTM_BASE                         = 0x10
-       RTM_DELACTION                    = 0x31
-       RTM_DELADDR                      = 0x15
-       RTM_DELADDRLABEL                 = 0x49
-       RTM_DELLINK                      = 0x11
-       RTM_DELMDB                       = 0x55
-       RTM_DELNEIGH                     = 0x1d
-       RTM_DELNSID                      = 0x59
-       RTM_DELQDISC                     = 0x25
-       RTM_DELROUTE                     = 0x19
-       RTM_DELRULE                      = 0x21
-       RTM_DELTCLASS                    = 0x29
-       RTM_DELTFILTER                   = 0x2d
-       RTM_F_CLONED                     = 0x200
-       RTM_F_EQUALIZE                   = 0x400
-       RTM_F_LOOKUP_TABLE               = 0x1000
-       RTM_F_NOTIFY                     = 0x100
-       RTM_F_PREFIX                     = 0x800
-       RTM_GETACTION                    = 0x32
-       RTM_GETADDR                      = 0x16
-       RTM_GETADDRLABEL                 = 0x4a
-       RTM_GETANYCAST                   = 0x3e
-       RTM_GETDCB                       = 0x4e
-       RTM_GETLINK                      = 0x12
-       RTM_GETMDB                       = 0x56
-       RTM_GETMULTICAST                 = 0x3a
-       RTM_GETNEIGH                     = 0x1e
-       RTM_GETNEIGHTBL                  = 0x42
-       RTM_GETNETCONF                   = 0x52
-       RTM_GETNSID                      = 0x5a
-       RTM_GETQDISC                     = 0x26
-       RTM_GETROUTE                     = 0x1a
-       RTM_GETRULE                      = 0x22
-       RTM_GETSTATS                     = 0x5e
-       RTM_GETTCLASS                    = 0x2a
-       RTM_GETTFILTER                   = 0x2e
-       RTM_MAX                          = 0x5f
-       RTM_NEWACTION                    = 0x30
-       RTM_NEWADDR                      = 0x14
-       RTM_NEWADDRLABEL                 = 0x48
-       RTM_NEWLINK                      = 0x10
-       RTM_NEWMDB                       = 0x54
-       RTM_NEWNDUSEROPT                 = 0x44
-       RTM_NEWNEIGH                     = 0x1c
-       RTM_NEWNEIGHTBL                  = 0x40
-       RTM_NEWNETCONF                   = 0x50
-       RTM_NEWNSID                      = 0x58
-       RTM_NEWPREFIX                    = 0x34
-       RTM_NEWQDISC                     = 0x24
-       RTM_NEWROUTE                     = 0x18
-       RTM_NEWRULE                      = 0x20
-       RTM_NEWSTATS                     = 0x5c
-       RTM_NEWTCLASS                    = 0x28
-       RTM_NEWTFILTER                   = 0x2c
-       RTM_NR_FAMILIES                  = 0x14
-       RTM_NR_MSGTYPES                  = 0x50
-       RTM_SETDCB                       = 0x4f
-       RTM_SETLINK                      = 0x13
-       RTM_SETNEIGHTBL                  = 0x43
-       RTNH_ALIGNTO                     = 0x4
-       RTNH_COMPARE_MASK                = 0x19
-       RTNH_F_DEAD                      = 0x1
-       RTNH_F_LINKDOWN                  = 0x10
-       RTNH_F_OFFLOAD                   = 0x8
-       RTNH_F_ONLINK                    = 0x4
-       RTNH_F_PERVASIVE                 = 0x2
-       RTN_MAX                          = 0xb
-       RTPROT_BABEL                     = 0x2a
-       RTPROT_BIRD                      = 0xc
-       RTPROT_BOOT                      = 0x3
-       RTPROT_DHCP                      = 0x10
-       RTPROT_DNROUTED                  = 0xd
-       RTPROT_GATED                     = 0x8
-       RTPROT_KERNEL                    = 0x2
-       RTPROT_MROUTED                   = 0x11
-       RTPROT_MRT                       = 0xa
-       RTPROT_NTK                       = 0xf
-       RTPROT_RA                        = 0x9
-       RTPROT_REDIRECT                  = 0x1
-       RTPROT_STATIC                    = 0x4
-       RTPROT_UNSPEC                    = 0x0
-       RTPROT_XORP                      = 0xe
-       RTPROT_ZEBRA                     = 0xb
-       RT_CLASS_DEFAULT                 = 0xfd
-       RT_CLASS_LOCAL                   = 0xff
-       RT_CLASS_MAIN                    = 0xfe
-       RT_CLASS_MAX                     = 0xff
-       RT_CLASS_UNSPEC                  = 0x0
-       RUSAGE_CHILDREN                  = -0x1
-       RUSAGE_SELF                      = 0x0
-       RUSAGE_THREAD                    = 0x1
-       SCM_CREDENTIALS                  = 0x2
-       SCM_RIGHTS                       = 0x1
-       SCM_TIMESTAMP                    = 0x1d
-       SCM_TIMESTAMPING                 = 0x25
-       SCM_TIMESTAMPING_OPT_STATS       = 0x36
-       SCM_TIMESTAMPNS                  = 0x23
-       SCM_WIFI_STATUS                  = 0x29
-       SHUT_RD                          = 0x0
-       SHUT_RDWR                        = 0x2
-       SHUT_WR                          = 0x1
-       SIOCADDDLCI                      = 0x8980
-       SIOCADDMULTI                     = 0x8931
-       SIOCADDRT                        = 0x890b
-       SIOCATMARK                       = 0x8905
-       SIOCDARP                         = 0x8953
-       SIOCDELDLCI                      = 0x8981
-       SIOCDELMULTI                     = 0x8932
-       SIOCDELRT                        = 0x890c
-       SIOCDEVPRIVATE                   = 0x89f0
-       SIOCDIFADDR                      = 0x8936
-       SIOCDRARP                        = 0x8960
-       SIOCGARP                         = 0x8954
-       SIOCGIFADDR                      = 0x8915
-       SIOCGIFBR                        = 0x8940
-       SIOCGIFBRDADDR                   = 0x8919
-       SIOCGIFCONF                      = 0x8912
-       SIOCGIFCOUNT                     = 0x8938
-       SIOCGIFDSTADDR                   = 0x8917
-       SIOCGIFENCAP                     = 0x8925
-       SIOCGIFFLAGS                     = 0x8913
-       SIOCGIFHWADDR                    = 0x8927
-       SIOCGIFINDEX                     = 0x8933
-       SIOCGIFMAP                       = 0x8970
-       SIOCGIFMEM                       = 0x891f
-       SIOCGIFMETRIC                    = 0x891d
-       SIOCGIFMTU                       = 0x8921
-       SIOCGIFNAME                      = 0x8910
-       SIOCGIFNETMASK                   = 0x891b
-       SIOCGIFPFLAGS                    = 0x8935
-       SIOCGIFSLAVE                     = 0x8929
-       SIOCGIFTXQLEN                    = 0x8942
-       SIOCGPGRP                        = 0x8904
-       SIOCGRARP                        = 0x8961
-       SIOCGSTAMP                       = 0x8906
-       SIOCGSTAMPNS                     = 0x8907
-       SIOCPROTOPRIVATE                 = 0x89e0
-       SIOCRTMSG                        = 0x890d
-       SIOCSARP                         = 0x8955
-       SIOCSIFADDR                      = 0x8916
-       SIOCSIFBR                        = 0x8941
-       SIOCSIFBRDADDR                   = 0x891a
-       SIOCSIFDSTADDR                   = 0x8918
-       SIOCSIFENCAP                     = 0x8926
-       SIOCSIFFLAGS                     = 0x8914
-       SIOCSIFHWADDR                    = 0x8924
-       SIOCSIFHWBROADCAST               = 0x8937
-       SIOCSIFLINK                      = 0x8911
-       SIOCSIFMAP                       = 0x8971
-       SIOCSIFMEM                       = 0x8920
-       SIOCSIFMETRIC                    = 0x891e
-       SIOCSIFMTU                       = 0x8922
-       SIOCSIFNAME                      = 0x8923
-       SIOCSIFNETMASK                   = 0x891c
-       SIOCSIFPFLAGS                    = 0x8934
-       SIOCSIFSLAVE                     = 0x8930
-       SIOCSIFTXQLEN                    = 0x8943
-       SIOCSPGRP                        = 0x8902
-       SIOCSRARP                        = 0x8962
-       SOCK_CLOEXEC                     = 0x80000
-       SOCK_DCCP                        = 0x6
-       SOCK_DGRAM                       = 0x2
-       SOCK_NONBLOCK                    = 0x800
-       SOCK_PACKET                      = 0xa
-       SOCK_RAW                         = 0x3
-       SOCK_RDM                         = 0x4
-       SOCK_SEQPACKET                   = 0x5
-       SOCK_STREAM                      = 0x1
-       SOL_AAL                          = 0x109
-       SOL_ALG                          = 0x117
-       SOL_ATM                          = 0x108
-       SOL_CAIF                         = 0x116
-       SOL_CAN_BASE                     = 0x64
-       SOL_DCCP                         = 0x10d
-       SOL_DECNET                       = 0x105
-       SOL_ICMPV6                       = 0x3a
-       SOL_IP                           = 0x0
-       SOL_IPV6                         = 0x29
-       SOL_IRDA                         = 0x10a
-       SOL_IUCV                         = 0x115
-       SOL_KCM                          = 0x119
-       SOL_LLC                          = 0x10c
-       SOL_NETBEUI                      = 0x10b
-       SOL_NETLINK                      = 0x10e
-       SOL_NFC                          = 0x118
-       SOL_PACKET                       = 0x107
-       SOL_PNPIPE                       = 0x113
-       SOL_PPPOL2TP                     = 0x111
-       SOL_RAW                          = 0xff
-       SOL_RDS                          = 0x114
-       SOL_RXRPC                        = 0x110
-       SOL_SOCKET                       = 0x1
-       SOL_TCP                          = 0x6
-       SOL_TIPC                         = 0x10f
-       SOL_X25                          = 0x106
-       SOMAXCONN                        = 0x80
-       SO_ACCEPTCONN                    = 0x1e
-       SO_ATTACH_BPF                    = 0x32
-       SO_ATTACH_FILTER                 = 0x1a
-       SO_ATTACH_REUSEPORT_CBPF         = 0x33
-       SO_ATTACH_REUSEPORT_EBPF         = 0x34
-       SO_BINDTODEVICE                  = 0x19
-       SO_BPF_EXTENSIONS                = 0x30
-       SO_BROADCAST                     = 0x6
-       SO_BSDCOMPAT                     = 0xe
-       SO_BUSY_POLL                     = 0x2e
-       SO_CNX_ADVICE                    = 0x35
-       SO_DEBUG                         = 0x1
-       SO_DETACH_BPF                    = 0x1b
-       SO_DETACH_FILTER                 = 0x1b
-       SO_DOMAIN                        = 0x27
-       SO_DONTROUTE                     = 0x5
-       SO_ERROR                         = 0x4
-       SO_GET_FILTER                    = 0x1a
-       SO_INCOMING_CPU                  = 0x31
-       SO_KEEPALIVE                     = 0x9
-       SO_LINGER                        = 0xd
-       SO_LOCK_FILTER                   = 0x2c
-       SO_MARK                          = 0x24
-       SO_MAX_PACING_RATE               = 0x2f
-       SO_NOFCS                         = 0x2b
-       SO_NO_CHECK                      = 0xb
-       SO_OOBINLINE                     = 0xa
-       SO_PASSCRED                      = 0x10
-       SO_PASSSEC                       = 0x22
-       SO_PEEK_OFF                      = 0x2a
-       SO_PEERCRED                      = 0x11
-       SO_PEERNAME                      = 0x1c
-       SO_PEERSEC                       = 0x1f
-       SO_PRIORITY                      = 0xc
-       SO_PROTOCOL                      = 0x26
-       SO_RCVBUF                        = 0x8
-       SO_RCVBUFFORCE                   = 0x21
-       SO_RCVLOWAT                      = 0x12
-       SO_RCVTIMEO                      = 0x14
-       SO_REUSEADDR                     = 0x2
-       SO_REUSEPORT                     = 0xf
-       SO_RXQ_OVFL                      = 0x28
-       SO_SECURITY_AUTHENTICATION       = 0x16
-       SO_SECURITY_ENCRYPTION_NETWORK   = 0x18
-       SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-       SO_SELECT_ERR_QUEUE              = 0x2d
-       SO_SNDBUF                        = 0x7
-       SO_SNDBUFFORCE                   = 0x20
-       SO_SNDLOWAT                      = 0x13
-       SO_SNDTIMEO                      = 0x15
-       SO_TIMESTAMP                     = 0x1d
-       SO_TIMESTAMPING                  = 0x25
-       SO_TIMESTAMPNS                   = 0x23
-       SO_TYPE                          = 0x3
-       SO_VM_SOCKETS_BUFFER_MAX_SIZE    = 0x2
-       SO_VM_SOCKETS_BUFFER_MIN_SIZE    = 0x1
-       SO_VM_SOCKETS_BUFFER_SIZE        = 0x0
-       SO_VM_SOCKETS_CONNECT_TIMEOUT    = 0x6
-       SO_VM_SOCKETS_NONBLOCK_TXRX      = 0x7
-       SO_VM_SOCKETS_PEER_HOST_VM_ID    = 0x3
-       SO_VM_SOCKETS_TRUSTED            = 0x5
-       SO_WIFI_STATUS                   = 0x29
-       SPLICE_F_GIFT                    = 0x8
-       SPLICE_F_MORE                    = 0x4
-       SPLICE_F_MOVE                    = 0x1
-       SPLICE_F_NONBLOCK                = 0x2
-       S_BLKSIZE                        = 0x200
-       S_IEXEC                          = 0x40
-       S_IFBLK                          = 0x6000
-       S_IFCHR                          = 0x2000
-       S_IFDIR                          = 0x4000
-       S_IFIFO                          = 0x1000
-       S_IFLNK                          = 0xa000
-       S_IFMT                           = 0xf000
-       S_IFREG                          = 0x8000
-       S_IFSOCK                         = 0xc000
-       S_IREAD                          = 0x100
-       S_IRGRP                          = 0x20
-       S_IROTH                          = 0x4
-       S_IRUSR                          = 0x100
-       S_IRWXG                          = 0x38
-       S_IRWXO                          = 0x7
-       S_IRWXU                          = 0x1c0
-       S_ISGID                          = 0x400
-       S_ISUID                          = 0x800
-       S_ISVTX                          = 0x200
-       S_IWGRP                          = 0x10
-       S_IWOTH                          = 0x2
-       S_IWRITE                         = 0x80
-       S_IWUSR                          = 0x80
-       S_IXGRP                          = 0x8
-       S_IXOTH                          = 0x1
-       S_IXUSR                          = 0x40
-       TAB0                             = 0x0
-       TAB1                             = 0x800
-       TAB2                             = 0x1000
-       TAB3                             = 0x1800
-       TABDLY                           = 0x1800
-       TCFLSH                           = 0x540b
-       TCGETA                           = 0x5405
-       TCGETS                           = 0x5401
-       TCGETS2                          = 0x802c542a
-       TCGETX                           = 0x5432
-       TCIFLUSH                         = 0x0
-       TCIOFF                           = 0x2
-       TCIOFLUSH                        = 0x2
-       TCION                            = 0x3
-       TCOFLUSH                         = 0x1
-       TCOOFF                           = 0x0
-       TCOON                            = 0x1
-       TCP_CC_INFO                      = 0x1a
-       TCP_CONGESTION                   = 0xd
-       TCP_COOKIE_IN_ALWAYS             = 0x1
-       TCP_COOKIE_MAX                   = 0x10
-       TCP_COOKIE_MIN                   = 0x8
-       TCP_COOKIE_OUT_NEVER             = 0x2
-       TCP_COOKIE_PAIR_SIZE             = 0x20
-       TCP_COOKIE_TRANSACTIONS          = 0xf
-       TCP_CORK                         = 0x3
-       TCP_DEFER_ACCEPT                 = 0x9
-       TCP_FASTOPEN                     = 0x17
-       TCP_INFO                         = 0xb
-       TCP_KEEPCNT                      = 0x6
-       TCP_KEEPIDLE                     = 0x4
-       TCP_KEEPINTVL                    = 0x5
-       TCP_LINGER2                      = 0x8
-       TCP_MAXSEG                       = 0x2
-       TCP_MAXWIN                       = 0xffff
-       TCP_MAX_WINSHIFT                 = 0xe
-       TCP_MD5SIG                       = 0xe
-       TCP_MD5SIG_MAXKEYLEN             = 0x50
-       TCP_MSS                          = 0x200
-       TCP_MSS_DEFAULT                  = 0x218
-       TCP_MSS_DESIRED                  = 0x4c4
-       TCP_NODELAY                      = 0x1
-       TCP_NOTSENT_LOWAT                = 0x19
-       TCP_QUEUE_SEQ                    = 0x15
-       TCP_QUICKACK                     = 0xc
-       TCP_REPAIR                       = 0x13
-       TCP_REPAIR_OPTIONS               = 0x16
-       TCP_REPAIR_QUEUE                 = 0x14
-       TCP_REPAIR_WINDOW                = 0x1d
-       TCP_SAVED_SYN                    = 0x1c
-       TCP_SAVE_SYN                     = 0x1b
-       TCP_SYNCNT                       = 0x7
-       TCP_S_DATA_IN                    = 0x4
-       TCP_S_DATA_OUT                   = 0x8
-       TCP_THIN_DUPACK                  = 0x11
-       TCP_THIN_LINEAR_TIMEOUTS         = 0x10
-       TCP_TIMESTAMP                    = 0x18
-       TCP_USER_TIMEOUT                 = 0x12
-       TCP_WINDOW_CLAMP                 = 0xa
-       TCSAFLUSH                        = 0x2
-       TCSBRK                           = 0x5409
-       TCSBRKP                          = 0x5425
-       TCSETA                           = 0x5406
-       TCSETAF                          = 0x5408
-       TCSETAW                          = 0x5407
-       TCSETS                           = 0x5402
-       TCSETS2                          = 0x402c542b
-       TCSETSF                          = 0x5404
-       TCSETSF2                         = 0x402c542d
-       TCSETSW                          = 0x5403
-       TCSETSW2                         = 0x402c542c
-       TCSETX                           = 0x5433
-       TCSETXF                          = 0x5434
-       TCSETXW                          = 0x5435
-       TCXONC                           = 0x540a
-       TIOCCBRK                         = 0x5428
-       TIOCCONS                         = 0x541d
-       TIOCEXCL                         = 0x540c
-       TIOCGDEV                         = 0x80045432
-       TIOCGETD                         = 0x5424
-       TIOCGEXCL                        = 0x80045440
-       TIOCGICOUNT                      = 0x545d
-       TIOCGLCKTRMIOS                   = 0x5456
-       TIOCGPGRP                        = 0x540f
-       TIOCGPKT                         = 0x80045438
-       TIOCGPTLCK                       = 0x80045439
-       TIOCGPTN                         = 0x80045430
-       TIOCGRS485                       = 0x542e
-       TIOCGSERIAL                      = 0x541e
-       TIOCGSID                         = 0x5429
-       TIOCGSOFTCAR                     = 0x5419
-       TIOCGWINSZ                       = 0x5413
-       TIOCINQ                          = 0x541b
-       TIOCLINUX                        = 0x541c
-       TIOCMBIC                         = 0x5417
-       TIOCMBIS                         = 0x5416
-       TIOCMGET                         = 0x5415
-       TIOCMIWAIT                       = 0x545c
-       TIOCMSET                         = 0x5418
-       TIOCM_CAR                        = 0x40
-       TIOCM_CD                         = 0x40
-       TIOCM_CTS                        = 0x20
-       TIOCM_DSR                        = 0x100
-       TIOCM_DTR                        = 0x2
-       TIOCM_LE                         = 0x1
-       TIOCM_RI                         = 0x80
-       TIOCM_RNG                        = 0x80
-       TIOCM_RTS                        = 0x4
-       TIOCM_SR                         = 0x10
-       TIOCM_ST                         = 0x8
-       TIOCNOTTY                        = 0x5422
-       TIOCNXCL                         = 0x540d
-       TIOCOUTQ                         = 0x5411
-       TIOCPKT                          = 0x5420
-       TIOCPKT_DATA                     = 0x0
-       TIOCPKT_DOSTOP                   = 0x20
-       TIOCPKT_FLUSHREAD                = 0x1
-       TIOCPKT_FLUSHWRITE               = 0x2
-       TIOCPKT_IOCTL                    = 0x40
-       TIOCPKT_NOSTOP                   = 0x10
-       TIOCPKT_START                    = 0x8
-       TIOCPKT_STOP                     = 0x4
-       TIOCSBRK                         = 0x5427
-       TIOCSCTTY                        = 0x540e
-       TIOCSERCONFIG                    = 0x5453
-       TIOCSERGETLSR                    = 0x5459
-       TIOCSERGETMULTI                  = 0x545a
-       TIOCSERGSTRUCT                   = 0x5458
-       TIOCSERGWILD                     = 0x5454
-       TIOCSERSETMULTI                  = 0x545b
-       TIOCSERSWILD                     = 0x5455
-       TIOCSER_TEMT                     = 0x1
-       TIOCSETD                         = 0x5423
-       TIOCSIG                          = 0x40045436
-       TIOCSLCKTRMIOS                   = 0x5457
-       TIOCSPGRP                        = 0x5410
-       TIOCSPTLCK                       = 0x40045431
-       TIOCSRS485                       = 0x542f
-       TIOCSSERIAL                      = 0x541f
-       TIOCSSOFTCAR                     = 0x541a
-       TIOCSTI                          = 0x5412
-       TIOCSWINSZ                       = 0x5414
-       TIOCVHANGUP                      = 0x5437
-       TOSTOP                           = 0x100
-       TUNATTACHFILTER                  = 0x400854d5
-       TUNDETACHFILTER                  = 0x400854d6
-       TUNGETFEATURES                   = 0x800454cf
-       TUNGETFILTER                     = 0x800854db
-       TUNGETIFF                        = 0x800454d2
-       TUNGETSNDBUF                     = 0x800454d3
-       TUNGETVNETBE                     = 0x800454df
-       TUNGETVNETHDRSZ                  = 0x800454d7
-       TUNGETVNETLE                     = 0x800454dd
-       TUNSETDEBUG                      = 0x400454c9
-       TUNSETGROUP                      = 0x400454ce
-       TUNSETIFF                        = 0x400454ca
-       TUNSETIFINDEX                    = 0x400454da
-       TUNSETLINK                       = 0x400454cd
-       TUNSETNOCSUM                     = 0x400454c8
-       TUNSETOFFLOAD                    = 0x400454d0
-       TUNSETOWNER                      = 0x400454cc
-       TUNSETPERSIST                    = 0x400454cb
-       TUNSETQUEUE                      = 0x400454d9
-       TUNSETSNDBUF                     = 0x400454d4
-       TUNSETTXFILTER                   = 0x400454d1
-       TUNSETVNETBE                     = 0x400454de
-       TUNSETVNETHDRSZ                  = 0x400454d8
-       TUNSETVNETLE                     = 0x400454dc
-       VDISCARD                         = 0xd
-       VEOF                             = 0x4
-       VEOL                             = 0xb
-       VEOL2                            = 0x10
-       VERASE                           = 0x2
-       VINTR                            = 0x0
-       VKILL                            = 0x3
-       VLNEXT                           = 0xf
-       VMADDR_CID_ANY                   = 0xffffffff
-       VMADDR_CID_HOST                  = 0x2
-       VMADDR_CID_HYPERVISOR            = 0x0
-       VMADDR_CID_RESERVED              = 0x1
-       VMADDR_PORT_ANY                  = 0xffffffff
-       VMIN                             = 0x6
-       VM_SOCKETS_INVALID_VERSION       = 0xffffffff
-       VQUIT                            = 0x1
-       VREPRINT                         = 0xc
-       VSTART                           = 0x8
-       VSTOP                            = 0x9
-       VSUSP                            = 0xa
-       VSWTC                            = 0x7
-       VT0                              = 0x0
-       VT1                              = 0x4000
-       VTDLY                            = 0x4000
-       VTIME                            = 0x5
-       VWERASE                          = 0xe
-       WALL                             = 0x40000000
-       WCLONE                           = 0x80000000
-       WCONTINUED                       = 0x8
-       WEXITED                          = 0x4
-       WNOHANG                          = 0x1
-       WNOTHREAD                        = 0x20000000
-       WNOWAIT                          = 0x1000000
-       WORDSIZE                         = 0x20
-       WSTOPPED                         = 0x2
-       WUNTRACED                        = 0x2
-       XCASE                            = 0x4
-       XTABS                            = 0x1800
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x62)
-       EADDRNOTAVAIL   = syscall.Errno(0x63)
-       EADV            = syscall.Errno(0x44)
-       EAFNOSUPPORT    = syscall.Errno(0x61)
-       EAGAIN          = syscall.Errno(0xb)
-       EALREADY        = syscall.Errno(0x72)
-       EBADE           = syscall.Errno(0x34)
-       EBADF           = syscall.Errno(0x9)
-       EBADFD          = syscall.Errno(0x4d)
-       EBADMSG         = syscall.Errno(0x4a)
-       EBADR           = syscall.Errno(0x35)
-       EBADRQC         = syscall.Errno(0x38)
-       EBADSLT         = syscall.Errno(0x39)
-       EBFONT          = syscall.Errno(0x3b)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x7d)
-       ECHILD          = syscall.Errno(0xa)
-       ECHRNG          = syscall.Errno(0x2c)
-       ECOMM           = syscall.Errno(0x46)
-       ECONNABORTED    = syscall.Errno(0x67)
-       ECONNREFUSED    = syscall.Errno(0x6f)
-       ECONNRESET      = syscall.Errno(0x68)
-       EDEADLK         = syscall.Errno(0x23)
-       EDEADLOCK       = syscall.Errno(0x23)
-       EDESTADDRREQ    = syscall.Errno(0x59)
-       EDOM            = syscall.Errno(0x21)
-       EDOTDOT         = syscall.Errno(0x49)
-       EDQUOT          = syscall.Errno(0x7a)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EHOSTDOWN       = syscall.Errno(0x70)
-       EHOSTUNREACH    = syscall.Errno(0x71)
-       EHWPOISON       = syscall.Errno(0x85)
-       EIDRM           = syscall.Errno(0x2b)
-       EILSEQ          = syscall.Errno(0x54)
-       EINPROGRESS     = syscall.Errno(0x73)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x6a)
-       EISDIR          = syscall.Errno(0x15)
-       EISNAM          = syscall.Errno(0x78)
-       EKEYEXPIRED     = syscall.Errno(0x7f)
-       EKEYREJECTED    = syscall.Errno(0x81)
-       EKEYREVOKED     = syscall.Errno(0x80)
-       EL2HLT          = syscall.Errno(0x33)
-       EL2NSYNC        = syscall.Errno(0x2d)
-       EL3HLT          = syscall.Errno(0x2e)
-       EL3RST          = syscall.Errno(0x2f)
-       ELIBACC         = syscall.Errno(0x4f)
-       ELIBBAD         = syscall.Errno(0x50)
-       ELIBEXEC        = syscall.Errno(0x53)
-       ELIBMAX         = syscall.Errno(0x52)
-       ELIBSCN         = syscall.Errno(0x51)
-       ELNRNG          = syscall.Errno(0x30)
-       ELOOP           = syscall.Errno(0x28)
-       EMEDIUMTYPE     = syscall.Errno(0x7c)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x5a)
-       EMULTIHOP       = syscall.Errno(0x48)
-       ENAMETOOLONG    = syscall.Errno(0x24)
-       ENAVAIL         = syscall.Errno(0x77)
-       ENETDOWN        = syscall.Errno(0x64)
-       ENETRESET       = syscall.Errno(0x66)
-       ENETUNREACH     = syscall.Errno(0x65)
-       ENFILE          = syscall.Errno(0x17)
-       ENOANO          = syscall.Errno(0x37)
-       ENOBUFS         = syscall.Errno(0x69)
-       ENOCSI          = syscall.Errno(0x32)
-       ENODATA         = syscall.Errno(0x3d)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOKEY          = syscall.Errno(0x7e)
-       ENOLCK          = syscall.Errno(0x25)
-       ENOLINK         = syscall.Errno(0x43)
-       ENOMEDIUM       = syscall.Errno(0x7b)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x2a)
-       ENONET          = syscall.Errno(0x40)
-       ENOPKG          = syscall.Errno(0x41)
-       ENOPROTOOPT     = syscall.Errno(0x5c)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x3f)
-       ENOSTR          = syscall.Errno(0x3c)
-       ENOSYS          = syscall.Errno(0x26)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x6b)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x27)
-       ENOTNAM         = syscall.Errno(0x76)
-       ENOTRECOVERABLE = syscall.Errno(0x83)
-       ENOTSOCK        = syscall.Errno(0x58)
-       ENOTSUP         = syscall.Errno(0x5f)
-       ENOTTY          = syscall.Errno(0x19)
-       ENOTUNIQ        = syscall.Errno(0x4c)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x5f)
-       EOVERFLOW       = syscall.Errno(0x4b)
-       EOWNERDEAD      = syscall.Errno(0x82)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x60)
-       EPIPE           = syscall.Errno(0x20)
-       EPROTO          = syscall.Errno(0x47)
-       EPROTONOSUPPORT = syscall.Errno(0x5d)
-       EPROTOTYPE      = syscall.Errno(0x5b)
-       ERANGE          = syscall.Errno(0x22)
-       EREMCHG         = syscall.Errno(0x4e)
-       EREMOTE         = syscall.Errno(0x42)
-       EREMOTEIO       = syscall.Errno(0x79)
-       ERESTART        = syscall.Errno(0x55)
-       ERFKILL         = syscall.Errno(0x84)
-       EROFS           = syscall.Errno(0x1e)
-       ESHUTDOWN       = syscall.Errno(0x6c)
-       ESOCKTNOSUPPORT = syscall.Errno(0x5e)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESRMNT          = syscall.Errno(0x45)
-       ESTALE          = syscall.Errno(0x74)
-       ESTRPIPE        = syscall.Errno(0x56)
-       ETIME           = syscall.Errno(0x3e)
-       ETIMEDOUT       = syscall.Errno(0x6e)
-       ETOOMANYREFS    = syscall.Errno(0x6d)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUCLEAN         = syscall.Errno(0x75)
-       EUNATCH         = syscall.Errno(0x31)
-       EUSERS          = syscall.Errno(0x57)
-       EWOULDBLOCK     = syscall.Errno(0xb)
-       EXDEV           = syscall.Errno(0x12)
-       EXFULL          = syscall.Errno(0x36)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0x7)
-       SIGCHLD   = syscall.Signal(0x11)
-       SIGCLD    = syscall.Signal(0x11)
-       SIGCONT   = syscall.Signal(0x12)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x1d)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPOLL   = syscall.Signal(0x1d)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGPWR    = syscall.Signal(0x1e)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTKFLT = syscall.Signal(0x10)
-       SIGSTOP   = syscall.Signal(0x13)
-       SIGSYS    = syscall.Signal(0x1f)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x14)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGUNUSED = syscall.Signal(0x1f)
-       SIGURG    = syscall.Signal(0x17)
-       SIGUSR1   = syscall.Signal(0xa)
-       SIGUSR2   = syscall.Signal(0xc)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:   "operation not permitted",
-       2:   "no such file or directory",
-       3:   "no such process",
-       4:   "interrupted system call",
-       5:   "input/output error",
-       6:   "no such device or address",
-       7:   "argument list too long",
-       8:   "exec format error",
-       9:   "bad file descriptor",
-       10:  "no child processes",
-       11:  "resource temporarily unavailable",
-       12:  "cannot allocate memory",
-       13:  "permission denied",
-       14:  "bad address",
-       15:  "block device required",
-       16:  "device or resource busy",
-       17:  "file exists",
-       18:  "invalid cross-device link",
-       19:  "no such device",
-       20:  "not a directory",
-       21:  "is a directory",
-       22:  "invalid argument",
-       23:  "too many open files in system",
-       24:  "too many open files",
-       25:  "inappropriate ioctl for device",
-       26:  "text file busy",
-       27:  "file too large",
-       28:  "no space left on device",
-       29:  "illegal seek",
-       30:  "read-only file system",
-       31:  "too many links",
-       32:  "broken pipe",
-       33:  "numerical argument out of domain",
-       34:  "numerical result out of range",
-       35:  "resource deadlock avoided",
-       36:  "file name too long",
-       37:  "no locks available",
-       38:  "function not implemented",
-       39:  "directory not empty",
-       40:  "too many levels of symbolic links",
-       42:  "no message of desired type",
-       43:  "identifier removed",
-       44:  "channel number out of range",
-       45:  "level 2 not synchronized",
-       46:  "level 3 halted",
-       47:  "level 3 reset",
-       48:  "link number out of range",
-       49:  "protocol driver not attached",
-       50:  "no CSI structure available",
-       51:  "level 2 halted",
-       52:  "invalid exchange",
-       53:  "invalid request descriptor",
-       54:  "exchange full",
-       55:  "no anode",
-       56:  "invalid request code",
-       57:  "invalid slot",
-       59:  "bad font file format",
-       60:  "device not a stream",
-       61:  "no data available",
-       62:  "timer expired",
-       63:  "out of streams resources",
-       64:  "machine is not on the network",
-       65:  "package not installed",
-       66:  "object is remote",
-       67:  "link has been severed",
-       68:  "advertise error",
-       69:  "srmount error",
-       70:  "communication error on send",
-       71:  "protocol error",
-       72:  "multihop attempted",
-       73:  "RFS specific error",
-       74:  "bad message",
-       75:  "value too large for defined data type",
-       76:  "name not unique on network",
-       77:  "file descriptor in bad state",
-       78:  "remote address changed",
-       79:  "can not access a needed shared library",
-       80:  "accessing a corrupted shared library",
-       81:  ".lib section in a.out corrupted",
-       82:  "attempting to link in too many shared libraries",
-       83:  "cannot exec a shared library directly",
-       84:  "invalid or incomplete multibyte or wide character",
-       85:  "interrupted system call should be restarted",
-       86:  "streams pipe error",
-       87:  "too many users",
-       88:  "socket operation on non-socket",
-       89:  "destination address required",
-       90:  "message too long",
-       91:  "protocol wrong type for socket",
-       92:  "protocol not available",
-       93:  "protocol not supported",
-       94:  "socket type not supported",
-       95:  "operation not supported",
-       96:  "protocol family not supported",
-       97:  "address family not supported by protocol",
-       98:  "address already in use",
-       99:  "cannot assign requested address",
-       100: "network is down",
-       101: "network is unreachable",
-       102: "network dropped connection on reset",
-       103: "software caused connection abort",
-       104: "connection reset by peer",
-       105: "no buffer space available",
-       106: "transport endpoint is already connected",
-       107: "transport endpoint is not connected",
-       108: "cannot send after transport endpoint shutdown",
-       109: "too many references: cannot splice",
-       110: "connection timed out",
-       111: "connection refused",
-       112: "host is down",
-       113: "no route to host",
-       114: "operation already in progress",
-       115: "operation now in progress",
-       116: "stale file handle",
-       117: "structure needs cleaning",
-       118: "not a XENIX named type file",
-       119: "no XENIX semaphores available",
-       120: "is a named type file",
-       121: "remote I/O error",
-       122: "disk quota exceeded",
-       123: "no medium found",
-       124: "wrong medium type",
-       125: "operation canceled",
-       126: "required key not available",
-       127: "key has expired",
-       128: "key has been revoked",
-       129: "key was rejected by service",
-       130: "owner died",
-       131: "state not recoverable",
-       132: "operation not possible due to RF-kill",
-       133: "memory page has hardware error",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/breakpoint trap",
-       6:  "aborted",
-       7:  "bus error",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "user defined signal 1",
-       11: "segmentation fault",
-       12: "user defined signal 2",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "stack fault",
-       17: "child exited",
-       18: "continued",
-       19: "stopped (signal)",
-       20: "stopped",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "urgent I/O condition",
-       24: "CPU time limit exceeded",
-       25: "file size limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window changed",
-       29: "I/O possible",
-       30: "power failure",
-       31: "bad system call",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
deleted file mode 100644 (file)
index b72a645..0000000
+++ /dev/null
@@ -1,2077 +0,0 @@
-// mkerrors.sh -Wall -Werror -static -I/tmp/include -fsigned-char
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build arm64,linux
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_ALG                           = 0x26
-       AF_APPLETALK                     = 0x5
-       AF_ASH                           = 0x12
-       AF_ATMPVC                        = 0x8
-       AF_ATMSVC                        = 0x14
-       AF_AX25                          = 0x3
-       AF_BLUETOOTH                     = 0x1f
-       AF_BRIDGE                        = 0x7
-       AF_CAIF                          = 0x25
-       AF_CAN                           = 0x1d
-       AF_DECnet                        = 0xc
-       AF_ECONET                        = 0x13
-       AF_FILE                          = 0x1
-       AF_IB                            = 0x1b
-       AF_IEEE802154                    = 0x24
-       AF_INET                          = 0x2
-       AF_INET6                         = 0xa
-       AF_IPX                           = 0x4
-       AF_IRDA                          = 0x17
-       AF_ISDN                          = 0x22
-       AF_IUCV                          = 0x20
-       AF_KCM                           = 0x29
-       AF_KEY                           = 0xf
-       AF_LLC                           = 0x1a
-       AF_LOCAL                         = 0x1
-       AF_MAX                           = 0x2b
-       AF_MPLS                          = 0x1c
-       AF_NETBEUI                       = 0xd
-       AF_NETLINK                       = 0x10
-       AF_NETROM                        = 0x6
-       AF_NFC                           = 0x27
-       AF_PACKET                        = 0x11
-       AF_PHONET                        = 0x23
-       AF_PPPOX                         = 0x18
-       AF_QIPCRTR                       = 0x2a
-       AF_RDS                           = 0x15
-       AF_ROSE                          = 0xb
-       AF_ROUTE                         = 0x10
-       AF_RXRPC                         = 0x21
-       AF_SECURITY                      = 0xe
-       AF_SNA                           = 0x16
-       AF_TIPC                          = 0x1e
-       AF_UNIX                          = 0x1
-       AF_UNSPEC                        = 0x0
-       AF_VSOCK                         = 0x28
-       AF_WANPIPE                       = 0x19
-       AF_X25                           = 0x9
-       ALG_OP_DECRYPT                   = 0x0
-       ALG_OP_ENCRYPT                   = 0x1
-       ALG_SET_AEAD_ASSOCLEN            = 0x4
-       ALG_SET_AEAD_AUTHSIZE            = 0x5
-       ALG_SET_IV                       = 0x2
-       ALG_SET_KEY                      = 0x1
-       ALG_SET_OP                       = 0x3
-       ARPHRD_6LOWPAN                   = 0x339
-       ARPHRD_ADAPT                     = 0x108
-       ARPHRD_APPLETLK                  = 0x8
-       ARPHRD_ARCNET                    = 0x7
-       ARPHRD_ASH                       = 0x30d
-       ARPHRD_ATM                       = 0x13
-       ARPHRD_AX25                      = 0x3
-       ARPHRD_BIF                       = 0x307
-       ARPHRD_CAIF                      = 0x336
-       ARPHRD_CAN                       = 0x118
-       ARPHRD_CHAOS                     = 0x5
-       ARPHRD_CISCO                     = 0x201
-       ARPHRD_CSLIP                     = 0x101
-       ARPHRD_CSLIP6                    = 0x103
-       ARPHRD_DDCMP                     = 0x205
-       ARPHRD_DLCI                      = 0xf
-       ARPHRD_ECONET                    = 0x30e
-       ARPHRD_EETHER                    = 0x2
-       ARPHRD_ETHER                     = 0x1
-       ARPHRD_EUI64                     = 0x1b
-       ARPHRD_FCAL                      = 0x311
-       ARPHRD_FCFABRIC                  = 0x313
-       ARPHRD_FCPL                      = 0x312
-       ARPHRD_FCPP                      = 0x310
-       ARPHRD_FDDI                      = 0x306
-       ARPHRD_FRAD                      = 0x302
-       ARPHRD_HDLC                      = 0x201
-       ARPHRD_HIPPI                     = 0x30c
-       ARPHRD_HWX25                     = 0x110
-       ARPHRD_IEEE1394                  = 0x18
-       ARPHRD_IEEE802                   = 0x6
-       ARPHRD_IEEE80211                 = 0x321
-       ARPHRD_IEEE80211_PRISM           = 0x322
-       ARPHRD_IEEE80211_RADIOTAP        = 0x323
-       ARPHRD_IEEE802154                = 0x324
-       ARPHRD_IEEE802154_MONITOR        = 0x325
-       ARPHRD_IEEE802_TR                = 0x320
-       ARPHRD_INFINIBAND                = 0x20
-       ARPHRD_IP6GRE                    = 0x337
-       ARPHRD_IPDDP                     = 0x309
-       ARPHRD_IPGRE                     = 0x30a
-       ARPHRD_IRDA                      = 0x30f
-       ARPHRD_LAPB                      = 0x204
-       ARPHRD_LOCALTLK                  = 0x305
-       ARPHRD_LOOPBACK                  = 0x304
-       ARPHRD_METRICOM                  = 0x17
-       ARPHRD_NETLINK                   = 0x338
-       ARPHRD_NETROM                    = 0x0
-       ARPHRD_NONE                      = 0xfffe
-       ARPHRD_PHONET                    = 0x334
-       ARPHRD_PHONET_PIPE               = 0x335
-       ARPHRD_PIMREG                    = 0x30b
-       ARPHRD_PPP                       = 0x200
-       ARPHRD_PRONET                    = 0x4
-       ARPHRD_RAWHDLC                   = 0x206
-       ARPHRD_ROSE                      = 0x10e
-       ARPHRD_RSRVD                     = 0x104
-       ARPHRD_SIT                       = 0x308
-       ARPHRD_SKIP                      = 0x303
-       ARPHRD_SLIP                      = 0x100
-       ARPHRD_SLIP6                     = 0x102
-       ARPHRD_TUNNEL                    = 0x300
-       ARPHRD_TUNNEL6                   = 0x301
-       ARPHRD_VOID                      = 0xffff
-       ARPHRD_X25                       = 0x10f
-       B0                               = 0x0
-       B1000000                         = 0x1008
-       B110                             = 0x3
-       B115200                          = 0x1002
-       B1152000                         = 0x1009
-       B1200                            = 0x9
-       B134                             = 0x4
-       B150                             = 0x5
-       B1500000                         = 0x100a
-       B1800                            = 0xa
-       B19200                           = 0xe
-       B200                             = 0x6
-       B2000000                         = 0x100b
-       B230400                          = 0x1003
-       B2400                            = 0xb
-       B2500000                         = 0x100c
-       B300                             = 0x7
-       B3000000                         = 0x100d
-       B3500000                         = 0x100e
-       B38400                           = 0xf
-       B4000000                         = 0x100f
-       B460800                          = 0x1004
-       B4800                            = 0xc
-       B50                              = 0x1
-       B500000                          = 0x1005
-       B57600                           = 0x1001
-       B576000                          = 0x1006
-       B600                             = 0x8
-       B75                              = 0x2
-       B921600                          = 0x1007
-       B9600                            = 0xd
-       BLKBSZGET                        = 0x80081270
-       BLKBSZSET                        = 0x40081271
-       BLKFLSBUF                        = 0x1261
-       BLKFRAGET                        = 0x1265
-       BLKFRASET                        = 0x1264
-       BLKGETSIZE                       = 0x1260
-       BLKGETSIZE64                     = 0x80081272
-       BLKPBSZGET                       = 0x127b
-       BLKRAGET                         = 0x1263
-       BLKRASET                         = 0x1262
-       BLKROGET                         = 0x125e
-       BLKROSET                         = 0x125d
-       BLKRRPART                        = 0x125f
-       BLKSECTGET                       = 0x1267
-       BLKSECTSET                       = 0x1266
-       BLKSSZGET                        = 0x1268
-       BOTHER                           = 0x1000
-       BPF_A                            = 0x10
-       BPF_ABS                          = 0x20
-       BPF_ADD                          = 0x0
-       BPF_ALU                          = 0x4
-       BPF_AND                          = 0x50
-       BPF_B                            = 0x10
-       BPF_DIV                          = 0x30
-       BPF_H                            = 0x8
-       BPF_IMM                          = 0x0
-       BPF_IND                          = 0x40
-       BPF_JA                           = 0x0
-       BPF_JEQ                          = 0x10
-       BPF_JGE                          = 0x30
-       BPF_JGT                          = 0x20
-       BPF_JMP                          = 0x5
-       BPF_JSET                         = 0x40
-       BPF_K                            = 0x0
-       BPF_LD                           = 0x0
-       BPF_LDX                          = 0x1
-       BPF_LEN                          = 0x80
-       BPF_LL_OFF                       = -0x200000
-       BPF_LSH                          = 0x60
-       BPF_MAJOR_VERSION                = 0x1
-       BPF_MAXINSNS                     = 0x1000
-       BPF_MEM                          = 0x60
-       BPF_MEMWORDS                     = 0x10
-       BPF_MINOR_VERSION                = 0x1
-       BPF_MISC                         = 0x7
-       BPF_MOD                          = 0x90
-       BPF_MSH                          = 0xa0
-       BPF_MUL                          = 0x20
-       BPF_NEG                          = 0x80
-       BPF_NET_OFF                      = -0x100000
-       BPF_OR                           = 0x40
-       BPF_RET                          = 0x6
-       BPF_RSH                          = 0x70
-       BPF_ST                           = 0x2
-       BPF_STX                          = 0x3
-       BPF_SUB                          = 0x10
-       BPF_TAX                          = 0x0
-       BPF_TXA                          = 0x80
-       BPF_W                            = 0x0
-       BPF_X                            = 0x8
-       BPF_XOR                          = 0xa0
-       BRKINT                           = 0x2
-       BS0                              = 0x0
-       BS1                              = 0x2000
-       BSDLY                            = 0x2000
-       CAN_BCM                          = 0x2
-       CAN_EFF_FLAG                     = 0x80000000
-       CAN_EFF_ID_BITS                  = 0x1d
-       CAN_EFF_MASK                     = 0x1fffffff
-       CAN_ERR_FLAG                     = 0x20000000
-       CAN_ERR_MASK                     = 0x1fffffff
-       CAN_INV_FILTER                   = 0x20000000
-       CAN_ISOTP                        = 0x6
-       CAN_MAX_DLC                      = 0x8
-       CAN_MAX_DLEN                     = 0x8
-       CAN_MCNET                        = 0x5
-       CAN_MTU                          = 0x10
-       CAN_NPROTO                       = 0x7
-       CAN_RAW                          = 0x1
-       CAN_RAW_FILTER_MAX               = 0x200
-       CAN_RTR_FLAG                     = 0x40000000
-       CAN_SFF_ID_BITS                  = 0xb
-       CAN_SFF_MASK                     = 0x7ff
-       CAN_TP16                         = 0x3
-       CAN_TP20                         = 0x4
-       CBAUD                            = 0x100f
-       CBAUDEX                          = 0x1000
-       CFLUSH                           = 0xf
-       CIBAUD                           = 0x100f0000
-       CLOCAL                           = 0x800
-       CLOCK_BOOTTIME                   = 0x7
-       CLOCK_BOOTTIME_ALARM             = 0x9
-       CLOCK_DEFAULT                    = 0x0
-       CLOCK_EXT                        = 0x1
-       CLOCK_INT                        = 0x2
-       CLOCK_MONOTONIC                  = 0x1
-       CLOCK_MONOTONIC_COARSE           = 0x6
-       CLOCK_MONOTONIC_RAW              = 0x4
-       CLOCK_PROCESS_CPUTIME_ID         = 0x2
-       CLOCK_REALTIME                   = 0x0
-       CLOCK_REALTIME_ALARM             = 0x8
-       CLOCK_REALTIME_COARSE            = 0x5
-       CLOCK_TAI                        = 0xb
-       CLOCK_THREAD_CPUTIME_ID          = 0x3
-       CLOCK_TXFROMRX                   = 0x4
-       CLOCK_TXINT                      = 0x3
-       CLONE_CHILD_CLEARTID             = 0x200000
-       CLONE_CHILD_SETTID               = 0x1000000
-       CLONE_DETACHED                   = 0x400000
-       CLONE_FILES                      = 0x400
-       CLONE_FS                         = 0x200
-       CLONE_IO                         = 0x80000000
-       CLONE_NEWCGROUP                  = 0x2000000
-       CLONE_NEWIPC                     = 0x8000000
-       CLONE_NEWNET                     = 0x40000000
-       CLONE_NEWNS                      = 0x20000
-       CLONE_NEWPID                     = 0x20000000
-       CLONE_NEWUSER                    = 0x10000000
-       CLONE_NEWUTS                     = 0x4000000
-       CLONE_PARENT                     = 0x8000
-       CLONE_PARENT_SETTID              = 0x100000
-       CLONE_PTRACE                     = 0x2000
-       CLONE_SETTLS                     = 0x80000
-       CLONE_SIGHAND                    = 0x800
-       CLONE_SYSVSEM                    = 0x40000
-       CLONE_THREAD                     = 0x10000
-       CLONE_UNTRACED                   = 0x800000
-       CLONE_VFORK                      = 0x4000
-       CLONE_VM                         = 0x100
-       CMSPAR                           = 0x40000000
-       CR0                              = 0x0
-       CR1                              = 0x200
-       CR2                              = 0x400
-       CR3                              = 0x600
-       CRDLY                            = 0x600
-       CREAD                            = 0x80
-       CRTSCTS                          = 0x80000000
-       CS5                              = 0x0
-       CS6                              = 0x10
-       CS7                              = 0x20
-       CS8                              = 0x30
-       CSIGNAL                          = 0xff
-       CSIZE                            = 0x30
-       CSTART                           = 0x11
-       CSTATUS                          = 0x0
-       CSTOP                            = 0x13
-       CSTOPB                           = 0x40
-       CSUSP                            = 0x1a
-       DT_BLK                           = 0x6
-       DT_CHR                           = 0x2
-       DT_DIR                           = 0x4
-       DT_FIFO                          = 0x1
-       DT_LNK                           = 0xa
-       DT_REG                           = 0x8
-       DT_SOCK                          = 0xc
-       DT_UNKNOWN                       = 0x0
-       DT_WHT                           = 0xe
-       ECHO                             = 0x8
-       ECHOCTL                          = 0x200
-       ECHOE                            = 0x10
-       ECHOK                            = 0x20
-       ECHOKE                           = 0x800
-       ECHONL                           = 0x40
-       ECHOPRT                          = 0x400
-       ENCODING_DEFAULT                 = 0x0
-       ENCODING_FM_MARK                 = 0x3
-       ENCODING_FM_SPACE                = 0x4
-       ENCODING_MANCHESTER              = 0x5
-       ENCODING_NRZ                     = 0x1
-       ENCODING_NRZI                    = 0x2
-       EPOLLERR                         = 0x8
-       EPOLLET                          = 0x80000000
-       EPOLLEXCLUSIVE                   = 0x10000000
-       EPOLLHUP                         = 0x10
-       EPOLLIN                          = 0x1
-       EPOLLMSG                         = 0x400
-       EPOLLONESHOT                     = 0x40000000
-       EPOLLOUT                         = 0x4
-       EPOLLPRI                         = 0x2
-       EPOLLRDBAND                      = 0x80
-       EPOLLRDHUP                       = 0x2000
-       EPOLLRDNORM                      = 0x40
-       EPOLLWAKEUP                      = 0x20000000
-       EPOLLWRBAND                      = 0x200
-       EPOLLWRNORM                      = 0x100
-       EPOLL_CLOEXEC                    = 0x80000
-       EPOLL_CTL_ADD                    = 0x1
-       EPOLL_CTL_DEL                    = 0x2
-       EPOLL_CTL_MOD                    = 0x3
-       ESR_MAGIC                        = 0x45535201
-       ETH_P_1588                       = 0x88f7
-       ETH_P_8021AD                     = 0x88a8
-       ETH_P_8021AH                     = 0x88e7
-       ETH_P_8021Q                      = 0x8100
-       ETH_P_80221                      = 0x8917
-       ETH_P_802_2                      = 0x4
-       ETH_P_802_3                      = 0x1
-       ETH_P_802_3_MIN                  = 0x600
-       ETH_P_802_EX1                    = 0x88b5
-       ETH_P_AARP                       = 0x80f3
-       ETH_P_AF_IUCV                    = 0xfbfb
-       ETH_P_ALL                        = 0x3
-       ETH_P_AOE                        = 0x88a2
-       ETH_P_ARCNET                     = 0x1a
-       ETH_P_ARP                        = 0x806
-       ETH_P_ATALK                      = 0x809b
-       ETH_P_ATMFATE                    = 0x8884
-       ETH_P_ATMMPOA                    = 0x884c
-       ETH_P_AX25                       = 0x2
-       ETH_P_BATMAN                     = 0x4305
-       ETH_P_BPQ                        = 0x8ff
-       ETH_P_CAIF                       = 0xf7
-       ETH_P_CAN                        = 0xc
-       ETH_P_CANFD                      = 0xd
-       ETH_P_CONTROL                    = 0x16
-       ETH_P_CUST                       = 0x6006
-       ETH_P_DDCMP                      = 0x6
-       ETH_P_DEC                        = 0x6000
-       ETH_P_DIAG                       = 0x6005
-       ETH_P_DNA_DL                     = 0x6001
-       ETH_P_DNA_RC                     = 0x6002
-       ETH_P_DNA_RT                     = 0x6003
-       ETH_P_DSA                        = 0x1b
-       ETH_P_ECONET                     = 0x18
-       ETH_P_EDSA                       = 0xdada
-       ETH_P_FCOE                       = 0x8906
-       ETH_P_FIP                        = 0x8914
-       ETH_P_HDLC                       = 0x19
-       ETH_P_HSR                        = 0x892f
-       ETH_P_IEEE802154                 = 0xf6
-       ETH_P_IEEEPUP                    = 0xa00
-       ETH_P_IEEEPUPAT                  = 0xa01
-       ETH_P_IP                         = 0x800
-       ETH_P_IPV6                       = 0x86dd
-       ETH_P_IPX                        = 0x8137
-       ETH_P_IRDA                       = 0x17
-       ETH_P_LAT                        = 0x6004
-       ETH_P_LINK_CTL                   = 0x886c
-       ETH_P_LOCALTALK                  = 0x9
-       ETH_P_LOOP                       = 0x60
-       ETH_P_LOOPBACK                   = 0x9000
-       ETH_P_MACSEC                     = 0x88e5
-       ETH_P_MOBITEX                    = 0x15
-       ETH_P_MPLS_MC                    = 0x8848
-       ETH_P_MPLS_UC                    = 0x8847
-       ETH_P_MVRP                       = 0x88f5
-       ETH_P_NCSI                       = 0x88f8
-       ETH_P_PAE                        = 0x888e
-       ETH_P_PAUSE                      = 0x8808
-       ETH_P_PHONET                     = 0xf5
-       ETH_P_PPPTALK                    = 0x10
-       ETH_P_PPP_DISC                   = 0x8863
-       ETH_P_PPP_MP                     = 0x8
-       ETH_P_PPP_SES                    = 0x8864
-       ETH_P_PRP                        = 0x88fb
-       ETH_P_PUP                        = 0x200
-       ETH_P_PUPAT                      = 0x201
-       ETH_P_QINQ1                      = 0x9100
-       ETH_P_QINQ2                      = 0x9200
-       ETH_P_QINQ3                      = 0x9300
-       ETH_P_RARP                       = 0x8035
-       ETH_P_SCA                        = 0x6007
-       ETH_P_SLOW                       = 0x8809
-       ETH_P_SNAP                       = 0x5
-       ETH_P_TDLS                       = 0x890d
-       ETH_P_TEB                        = 0x6558
-       ETH_P_TIPC                       = 0x88ca
-       ETH_P_TRAILER                    = 0x1c
-       ETH_P_TR_802_2                   = 0x11
-       ETH_P_TSN                        = 0x22f0
-       ETH_P_WAN_PPP                    = 0x7
-       ETH_P_WCCP                       = 0x883e
-       ETH_P_X25                        = 0x805
-       ETH_P_XDSA                       = 0xf8
-       EXTA                             = 0xe
-       EXTB                             = 0xf
-       EXTPROC                          = 0x10000
-       FALLOC_FL_COLLAPSE_RANGE         = 0x8
-       FALLOC_FL_INSERT_RANGE           = 0x20
-       FALLOC_FL_KEEP_SIZE              = 0x1
-       FALLOC_FL_NO_HIDE_STALE          = 0x4
-       FALLOC_FL_PUNCH_HOLE             = 0x2
-       FALLOC_FL_UNSHARE_RANGE          = 0x40
-       FALLOC_FL_ZERO_RANGE             = 0x10
-       FD_CLOEXEC                       = 0x1
-       FD_SETSIZE                       = 0x400
-       FF0                              = 0x0
-       FF1                              = 0x8000
-       FFDLY                            = 0x8000
-       FLUSHO                           = 0x1000
-       FS_ENCRYPTION_MODE_AES_256_CBC   = 0x3
-       FS_ENCRYPTION_MODE_AES_256_CTS   = 0x4
-       FS_ENCRYPTION_MODE_AES_256_GCM   = 0x2
-       FS_ENCRYPTION_MODE_AES_256_XTS   = 0x1
-       FS_ENCRYPTION_MODE_INVALID       = 0x0
-       FS_IOC_GET_ENCRYPTION_POLICY     = 0x400c6615
-       FS_IOC_GET_ENCRYPTION_PWSALT     = 0x40106614
-       FS_IOC_SET_ENCRYPTION_POLICY     = 0x800c6613
-       FS_KEY_DESCRIPTOR_SIZE           = 0x8
-       FS_KEY_DESC_PREFIX               = "fscrypt:"
-       FS_KEY_DESC_PREFIX_SIZE          = 0x8
-       FS_MAX_KEY_SIZE                  = 0x40
-       FS_POLICY_FLAGS_PAD_16           = 0x2
-       FS_POLICY_FLAGS_PAD_32           = 0x3
-       FS_POLICY_FLAGS_PAD_4            = 0x0
-       FS_POLICY_FLAGS_PAD_8            = 0x1
-       FS_POLICY_FLAGS_PAD_MASK         = 0x3
-       FS_POLICY_FLAGS_VALID            = 0x3
-       F_DUPFD                          = 0x0
-       F_DUPFD_CLOEXEC                  = 0x406
-       F_EXLCK                          = 0x4
-       F_GETFD                          = 0x1
-       F_GETFL                          = 0x3
-       F_GETLEASE                       = 0x401
-       F_GETLK                          = 0x5
-       F_GETLK64                        = 0x5
-       F_GETOWN                         = 0x9
-       F_GETOWN_EX                      = 0x10
-       F_GETPIPE_SZ                     = 0x408
-       F_GETSIG                         = 0xb
-       F_LOCK                           = 0x1
-       F_NOTIFY                         = 0x402
-       F_OFD_GETLK                      = 0x24
-       F_OFD_SETLK                      = 0x25
-       F_OFD_SETLKW                     = 0x26
-       F_OK                             = 0x0
-       F_RDLCK                          = 0x0
-       F_SETFD                          = 0x2
-       F_SETFL                          = 0x4
-       F_SETLEASE                       = 0x400
-       F_SETLK                          = 0x6
-       F_SETLK64                        = 0x6
-       F_SETLKW                         = 0x7
-       F_SETLKW64                       = 0x7
-       F_SETOWN                         = 0x8
-       F_SETOWN_EX                      = 0xf
-       F_SETPIPE_SZ                     = 0x407
-       F_SETSIG                         = 0xa
-       F_SHLCK                          = 0x8
-       F_TEST                           = 0x3
-       F_TLOCK                          = 0x2
-       F_ULOCK                          = 0x0
-       F_UNLCK                          = 0x2
-       F_WRLCK                          = 0x1
-       GRND_NONBLOCK                    = 0x1
-       GRND_RANDOM                      = 0x2
-       HUPCL                            = 0x400
-       IBSHIFT                          = 0x10
-       ICANON                           = 0x2
-       ICMPV6_FILTER                    = 0x1
-       ICRNL                            = 0x100
-       IEXTEN                           = 0x8000
-       IFA_F_DADFAILED                  = 0x8
-       IFA_F_DEPRECATED                 = 0x20
-       IFA_F_HOMEADDRESS                = 0x10
-       IFA_F_MANAGETEMPADDR             = 0x100
-       IFA_F_MCAUTOJOIN                 = 0x400
-       IFA_F_NODAD                      = 0x2
-       IFA_F_NOPREFIXROUTE              = 0x200
-       IFA_F_OPTIMISTIC                 = 0x4
-       IFA_F_PERMANENT                  = 0x80
-       IFA_F_SECONDARY                  = 0x1
-       IFA_F_STABLE_PRIVACY             = 0x800
-       IFA_F_TEMPORARY                  = 0x1
-       IFA_F_TENTATIVE                  = 0x40
-       IFA_MAX                          = 0x8
-       IFF_ALLMULTI                     = 0x200
-       IFF_ATTACH_QUEUE                 = 0x200
-       IFF_AUTOMEDIA                    = 0x4000
-       IFF_BROADCAST                    = 0x2
-       IFF_DEBUG                        = 0x4
-       IFF_DETACH_QUEUE                 = 0x400
-       IFF_DORMANT                      = 0x20000
-       IFF_DYNAMIC                      = 0x8000
-       IFF_ECHO                         = 0x40000
-       IFF_LOOPBACK                     = 0x8
-       IFF_LOWER_UP                     = 0x10000
-       IFF_MASTER                       = 0x400
-       IFF_MULTICAST                    = 0x1000
-       IFF_MULTI_QUEUE                  = 0x100
-       IFF_NOARP                        = 0x80
-       IFF_NOFILTER                     = 0x1000
-       IFF_NOTRAILERS                   = 0x20
-       IFF_NO_PI                        = 0x1000
-       IFF_ONE_QUEUE                    = 0x2000
-       IFF_PERSIST                      = 0x800
-       IFF_POINTOPOINT                  = 0x10
-       IFF_PORTSEL                      = 0x2000
-       IFF_PROMISC                      = 0x100
-       IFF_RUNNING                      = 0x40
-       IFF_SLAVE                        = 0x800
-       IFF_TAP                          = 0x2
-       IFF_TUN                          = 0x1
-       IFF_TUN_EXCL                     = 0x8000
-       IFF_UP                           = 0x1
-       IFF_VNET_HDR                     = 0x4000
-       IFF_VOLATILE                     = 0x70c5a
-       IFNAMSIZ                         = 0x10
-       IGNBRK                           = 0x1
-       IGNCR                            = 0x80
-       IGNPAR                           = 0x4
-       IMAXBEL                          = 0x2000
-       INLCR                            = 0x40
-       INPCK                            = 0x10
-       IN_ACCESS                        = 0x1
-       IN_ALL_EVENTS                    = 0xfff
-       IN_ATTRIB                        = 0x4
-       IN_CLASSA_HOST                   = 0xffffff
-       IN_CLASSA_MAX                    = 0x80
-       IN_CLASSA_NET                    = 0xff000000
-       IN_CLASSA_NSHIFT                 = 0x18
-       IN_CLASSB_HOST                   = 0xffff
-       IN_CLASSB_MAX                    = 0x10000
-       IN_CLASSB_NET                    = 0xffff0000
-       IN_CLASSB_NSHIFT                 = 0x10
-       IN_CLASSC_HOST                   = 0xff
-       IN_CLASSC_NET                    = 0xffffff00
-       IN_CLASSC_NSHIFT                 = 0x8
-       IN_CLOEXEC                       = 0x80000
-       IN_CLOSE                         = 0x18
-       IN_CLOSE_NOWRITE                 = 0x10
-       IN_CLOSE_WRITE                   = 0x8
-       IN_CREATE                        = 0x100
-       IN_DELETE                        = 0x200
-       IN_DELETE_SELF                   = 0x400
-       IN_DONT_FOLLOW                   = 0x2000000
-       IN_EXCL_UNLINK                   = 0x4000000
-       IN_IGNORED                       = 0x8000
-       IN_ISDIR                         = 0x40000000
-       IN_LOOPBACKNET                   = 0x7f
-       IN_MASK_ADD                      = 0x20000000
-       IN_MODIFY                        = 0x2
-       IN_MOVE                          = 0xc0
-       IN_MOVED_FROM                    = 0x40
-       IN_MOVED_TO                      = 0x80
-       IN_MOVE_SELF                     = 0x800
-       IN_NONBLOCK                      = 0x800
-       IN_ONESHOT                       = 0x80000000
-       IN_ONLYDIR                       = 0x1000000
-       IN_OPEN                          = 0x20
-       IN_Q_OVERFLOW                    = 0x4000
-       IN_UNMOUNT                       = 0x2000
-       IPPROTO_AH                       = 0x33
-       IPPROTO_BEETPH                   = 0x5e
-       IPPROTO_COMP                     = 0x6c
-       IPPROTO_DCCP                     = 0x21
-       IPPROTO_DSTOPTS                  = 0x3c
-       IPPROTO_EGP                      = 0x8
-       IPPROTO_ENCAP                    = 0x62
-       IPPROTO_ESP                      = 0x32
-       IPPROTO_FRAGMENT                 = 0x2c
-       IPPROTO_GRE                      = 0x2f
-       IPPROTO_HOPOPTS                  = 0x0
-       IPPROTO_ICMP                     = 0x1
-       IPPROTO_ICMPV6                   = 0x3a
-       IPPROTO_IDP                      = 0x16
-       IPPROTO_IGMP                     = 0x2
-       IPPROTO_IP                       = 0x0
-       IPPROTO_IPIP                     = 0x4
-       IPPROTO_IPV6                     = 0x29
-       IPPROTO_MH                       = 0x87
-       IPPROTO_MPLS                     = 0x89
-       IPPROTO_MTP                      = 0x5c
-       IPPROTO_NONE                     = 0x3b
-       IPPROTO_PIM                      = 0x67
-       IPPROTO_PUP                      = 0xc
-       IPPROTO_RAW                      = 0xff
-       IPPROTO_ROUTING                  = 0x2b
-       IPPROTO_RSVP                     = 0x2e
-       IPPROTO_SCTP                     = 0x84
-       IPPROTO_TCP                      = 0x6
-       IPPROTO_TP                       = 0x1d
-       IPPROTO_UDP                      = 0x11
-       IPPROTO_UDPLITE                  = 0x88
-       IPV6_2292DSTOPTS                 = 0x4
-       IPV6_2292HOPLIMIT                = 0x8
-       IPV6_2292HOPOPTS                 = 0x3
-       IPV6_2292PKTINFO                 = 0x2
-       IPV6_2292PKTOPTIONS              = 0x6
-       IPV6_2292RTHDR                   = 0x5
-       IPV6_ADDRFORM                    = 0x1
-       IPV6_ADD_MEMBERSHIP              = 0x14
-       IPV6_AUTHHDR                     = 0xa
-       IPV6_CHECKSUM                    = 0x7
-       IPV6_DONTFRAG                    = 0x3e
-       IPV6_DROP_MEMBERSHIP             = 0x15
-       IPV6_DSTOPTS                     = 0x3b
-       IPV6_HDRINCL                     = 0x24
-       IPV6_HOPLIMIT                    = 0x34
-       IPV6_HOPOPTS                     = 0x36
-       IPV6_IPSEC_POLICY                = 0x22
-       IPV6_JOIN_ANYCAST                = 0x1b
-       IPV6_JOIN_GROUP                  = 0x14
-       IPV6_LEAVE_ANYCAST               = 0x1c
-       IPV6_LEAVE_GROUP                 = 0x15
-       IPV6_MTU                         = 0x18
-       IPV6_MTU_DISCOVER                = 0x17
-       IPV6_MULTICAST_HOPS              = 0x12
-       IPV6_MULTICAST_IF                = 0x11
-       IPV6_MULTICAST_LOOP              = 0x13
-       IPV6_NEXTHOP                     = 0x9
-       IPV6_PATHMTU                     = 0x3d
-       IPV6_PKTINFO                     = 0x32
-       IPV6_PMTUDISC_DO                 = 0x2
-       IPV6_PMTUDISC_DONT               = 0x0
-       IPV6_PMTUDISC_INTERFACE          = 0x4
-       IPV6_PMTUDISC_OMIT               = 0x5
-       IPV6_PMTUDISC_PROBE              = 0x3
-       IPV6_PMTUDISC_WANT               = 0x1
-       IPV6_RECVDSTOPTS                 = 0x3a
-       IPV6_RECVERR                     = 0x19
-       IPV6_RECVHOPLIMIT                = 0x33
-       IPV6_RECVHOPOPTS                 = 0x35
-       IPV6_RECVPATHMTU                 = 0x3c
-       IPV6_RECVPKTINFO                 = 0x31
-       IPV6_RECVRTHDR                   = 0x38
-       IPV6_RECVTCLASS                  = 0x42
-       IPV6_ROUTER_ALERT                = 0x16
-       IPV6_RTHDR                       = 0x39
-       IPV6_RTHDRDSTOPTS                = 0x37
-       IPV6_RTHDR_LOOSE                 = 0x0
-       IPV6_RTHDR_STRICT                = 0x1
-       IPV6_RTHDR_TYPE_0                = 0x0
-       IPV6_RXDSTOPTS                   = 0x3b
-       IPV6_RXHOPOPTS                   = 0x36
-       IPV6_TCLASS                      = 0x43
-       IPV6_UNICAST_HOPS                = 0x10
-       IPV6_V6ONLY                      = 0x1a
-       IPV6_XFRM_POLICY                 = 0x23
-       IP_ADD_MEMBERSHIP                = 0x23
-       IP_ADD_SOURCE_MEMBERSHIP         = 0x27
-       IP_BIND_ADDRESS_NO_PORT          = 0x18
-       IP_BLOCK_SOURCE                  = 0x26
-       IP_CHECKSUM                      = 0x17
-       IP_DEFAULT_MULTICAST_LOOP        = 0x1
-       IP_DEFAULT_MULTICAST_TTL         = 0x1
-       IP_DF                            = 0x4000
-       IP_DROP_MEMBERSHIP               = 0x24
-       IP_DROP_SOURCE_MEMBERSHIP        = 0x28
-       IP_FREEBIND                      = 0xf
-       IP_HDRINCL                       = 0x3
-       IP_IPSEC_POLICY                  = 0x10
-       IP_MAXPACKET                     = 0xffff
-       IP_MAX_MEMBERSHIPS               = 0x14
-       IP_MF                            = 0x2000
-       IP_MINTTL                        = 0x15
-       IP_MSFILTER                      = 0x29
-       IP_MSS                           = 0x240
-       IP_MTU                           = 0xe
-       IP_MTU_DISCOVER                  = 0xa
-       IP_MULTICAST_ALL                 = 0x31
-       IP_MULTICAST_IF                  = 0x20
-       IP_MULTICAST_LOOP                = 0x22
-       IP_MULTICAST_TTL                 = 0x21
-       IP_NODEFRAG                      = 0x16
-       IP_OFFMASK                       = 0x1fff
-       IP_OPTIONS                       = 0x4
-       IP_ORIGDSTADDR                   = 0x14
-       IP_PASSSEC                       = 0x12
-       IP_PKTINFO                       = 0x8
-       IP_PKTOPTIONS                    = 0x9
-       IP_PMTUDISC                      = 0xa
-       IP_PMTUDISC_DO                   = 0x2
-       IP_PMTUDISC_DONT                 = 0x0
-       IP_PMTUDISC_INTERFACE            = 0x4
-       IP_PMTUDISC_OMIT                 = 0x5
-       IP_PMTUDISC_PROBE                = 0x3
-       IP_PMTUDISC_WANT                 = 0x1
-       IP_RECVERR                       = 0xb
-       IP_RECVOPTS                      = 0x6
-       IP_RECVORIGDSTADDR               = 0x14
-       IP_RECVRETOPTS                   = 0x7
-       IP_RECVTOS                       = 0xd
-       IP_RECVTTL                       = 0xc
-       IP_RETOPTS                       = 0x7
-       IP_RF                            = 0x8000
-       IP_ROUTER_ALERT                  = 0x5
-       IP_TOS                           = 0x1
-       IP_TRANSPARENT                   = 0x13
-       IP_TTL                           = 0x2
-       IP_UNBLOCK_SOURCE                = 0x25
-       IP_UNICAST_IF                    = 0x32
-       IP_XFRM_POLICY                   = 0x11
-       ISIG                             = 0x1
-       ISTRIP                           = 0x20
-       IUCLC                            = 0x200
-       IUTF8                            = 0x4000
-       IXANY                            = 0x800
-       IXOFF                            = 0x1000
-       IXON                             = 0x400
-       LINUX_REBOOT_CMD_CAD_OFF         = 0x0
-       LINUX_REBOOT_CMD_CAD_ON          = 0x89abcdef
-       LINUX_REBOOT_CMD_HALT            = 0xcdef0123
-       LINUX_REBOOT_CMD_KEXEC           = 0x45584543
-       LINUX_REBOOT_CMD_POWER_OFF       = 0x4321fedc
-       LINUX_REBOOT_CMD_RESTART         = 0x1234567
-       LINUX_REBOOT_CMD_RESTART2        = 0xa1b2c3d4
-       LINUX_REBOOT_CMD_SW_SUSPEND      = 0xd000fce2
-       LINUX_REBOOT_MAGIC1              = 0xfee1dead
-       LINUX_REBOOT_MAGIC2              = 0x28121969
-       LOCK_EX                          = 0x2
-       LOCK_NB                          = 0x4
-       LOCK_SH                          = 0x1
-       LOCK_UN                          = 0x8
-       MADV_DODUMP                      = 0x11
-       MADV_DOFORK                      = 0xb
-       MADV_DONTDUMP                    = 0x10
-       MADV_DONTFORK                    = 0xa
-       MADV_DONTNEED                    = 0x4
-       MADV_FREE                        = 0x8
-       MADV_HUGEPAGE                    = 0xe
-       MADV_HWPOISON                    = 0x64
-       MADV_MERGEABLE                   = 0xc
-       MADV_NOHUGEPAGE                  = 0xf
-       MADV_NORMAL                      = 0x0
-       MADV_RANDOM                      = 0x1
-       MADV_REMOVE                      = 0x9
-       MADV_SEQUENTIAL                  = 0x2
-       MADV_UNMERGEABLE                 = 0xd
-       MADV_WILLNEED                    = 0x3
-       MAP_ANON                         = 0x20
-       MAP_ANONYMOUS                    = 0x20
-       MAP_DENYWRITE                    = 0x800
-       MAP_EXECUTABLE                   = 0x1000
-       MAP_FILE                         = 0x0
-       MAP_FIXED                        = 0x10
-       MAP_GROWSDOWN                    = 0x100
-       MAP_HUGETLB                      = 0x40000
-       MAP_HUGE_MASK                    = 0x3f
-       MAP_HUGE_SHIFT                   = 0x1a
-       MAP_LOCKED                       = 0x2000
-       MAP_NONBLOCK                     = 0x10000
-       MAP_NORESERVE                    = 0x4000
-       MAP_POPULATE                     = 0x8000
-       MAP_PRIVATE                      = 0x2
-       MAP_SHARED                       = 0x1
-       MAP_STACK                        = 0x20000
-       MAP_TYPE                         = 0xf
-       MCL_CURRENT                      = 0x1
-       MCL_FUTURE                       = 0x2
-       MCL_ONFAULT                      = 0x4
-       MNT_DETACH                       = 0x2
-       MNT_EXPIRE                       = 0x4
-       MNT_FORCE                        = 0x1
-       MSG_BATCH                        = 0x40000
-       MSG_CMSG_CLOEXEC                 = 0x40000000
-       MSG_CONFIRM                      = 0x800
-       MSG_CTRUNC                       = 0x8
-       MSG_DONTROUTE                    = 0x4
-       MSG_DONTWAIT                     = 0x40
-       MSG_EOR                          = 0x80
-       MSG_ERRQUEUE                     = 0x2000
-       MSG_FASTOPEN                     = 0x20000000
-       MSG_FIN                          = 0x200
-       MSG_MORE                         = 0x8000
-       MSG_NOSIGNAL                     = 0x4000
-       MSG_OOB                          = 0x1
-       MSG_PEEK                         = 0x2
-       MSG_PROXY                        = 0x10
-       MSG_RST                          = 0x1000
-       MSG_SYN                          = 0x400
-       MSG_TRUNC                        = 0x20
-       MSG_TRYHARD                      = 0x4
-       MSG_WAITALL                      = 0x100
-       MSG_WAITFORONE                   = 0x10000
-       MS_ACTIVE                        = 0x40000000
-       MS_ASYNC                         = 0x1
-       MS_BIND                          = 0x1000
-       MS_BORN                          = 0x20000000
-       MS_DIRSYNC                       = 0x80
-       MS_INVALIDATE                    = 0x2
-       MS_I_VERSION                     = 0x800000
-       MS_KERNMOUNT                     = 0x400000
-       MS_LAZYTIME                      = 0x2000000
-       MS_MANDLOCK                      = 0x40
-       MS_MGC_MSK                       = 0xffff0000
-       MS_MGC_VAL                       = 0xc0ed0000
-       MS_MOVE                          = 0x2000
-       MS_NOATIME                       = 0x400
-       MS_NODEV                         = 0x4
-       MS_NODIRATIME                    = 0x800
-       MS_NOEXEC                        = 0x8
-       MS_NOREMOTELOCK                  = 0x8000000
-       MS_NOSEC                         = 0x10000000
-       MS_NOSUID                        = 0x2
-       MS_NOUSER                        = -0x80000000
-       MS_POSIXACL                      = 0x10000
-       MS_PRIVATE                       = 0x40000
-       MS_RDONLY                        = 0x1
-       MS_REC                           = 0x4000
-       MS_RELATIME                      = 0x200000
-       MS_REMOUNT                       = 0x20
-       MS_RMT_MASK                      = 0x2800051
-       MS_SHARED                        = 0x100000
-       MS_SILENT                        = 0x8000
-       MS_SLAVE                         = 0x80000
-       MS_STRICTATIME                   = 0x1000000
-       MS_SYNC                          = 0x4
-       MS_SYNCHRONOUS                   = 0x10
-       MS_UNBINDABLE                    = 0x20000
-       MS_VERBOSE                       = 0x8000
-       NAME_MAX                         = 0xff
-       NETLINK_ADD_MEMBERSHIP           = 0x1
-       NETLINK_AUDIT                    = 0x9
-       NETLINK_BROADCAST_ERROR          = 0x4
-       NETLINK_CAP_ACK                  = 0xa
-       NETLINK_CONNECTOR                = 0xb
-       NETLINK_CRYPTO                   = 0x15
-       NETLINK_DNRTMSG                  = 0xe
-       NETLINK_DROP_MEMBERSHIP          = 0x2
-       NETLINK_ECRYPTFS                 = 0x13
-       NETLINK_FIB_LOOKUP               = 0xa
-       NETLINK_FIREWALL                 = 0x3
-       NETLINK_GENERIC                  = 0x10
-       NETLINK_INET_DIAG                = 0x4
-       NETLINK_IP6_FW                   = 0xd
-       NETLINK_ISCSI                    = 0x8
-       NETLINK_KOBJECT_UEVENT           = 0xf
-       NETLINK_LISTEN_ALL_NSID          = 0x8
-       NETLINK_LIST_MEMBERSHIPS         = 0x9
-       NETLINK_NETFILTER                = 0xc
-       NETLINK_NFLOG                    = 0x5
-       NETLINK_NO_ENOBUFS               = 0x5
-       NETLINK_PKTINFO                  = 0x3
-       NETLINK_RDMA                     = 0x14
-       NETLINK_ROUTE                    = 0x0
-       NETLINK_RX_RING                  = 0x6
-       NETLINK_SCSITRANSPORT            = 0x12
-       NETLINK_SELINUX                  = 0x7
-       NETLINK_SOCK_DIAG                = 0x4
-       NETLINK_TX_RING                  = 0x7
-       NETLINK_UNUSED                   = 0x1
-       NETLINK_USERSOCK                 = 0x2
-       NETLINK_XFRM                     = 0x6
-       NL0                              = 0x0
-       NL1                              = 0x100
-       NLA_ALIGNTO                      = 0x4
-       NLA_F_NESTED                     = 0x8000
-       NLA_F_NET_BYTEORDER              = 0x4000
-       NLA_HDRLEN                       = 0x4
-       NLDLY                            = 0x100
-       NLMSG_ALIGNTO                    = 0x4
-       NLMSG_DONE                       = 0x3
-       NLMSG_ERROR                      = 0x2
-       NLMSG_HDRLEN                     = 0x10
-       NLMSG_MIN_TYPE                   = 0x10
-       NLMSG_NOOP                       = 0x1
-       NLMSG_OVERRUN                    = 0x4
-       NLM_F_ACK                        = 0x4
-       NLM_F_APPEND                     = 0x800
-       NLM_F_ATOMIC                     = 0x400
-       NLM_F_CREATE                     = 0x400
-       NLM_F_DUMP                       = 0x300
-       NLM_F_DUMP_FILTERED              = 0x20
-       NLM_F_DUMP_INTR                  = 0x10
-       NLM_F_ECHO                       = 0x8
-       NLM_F_EXCL                       = 0x200
-       NLM_F_MATCH                      = 0x200
-       NLM_F_MULTI                      = 0x2
-       NLM_F_REPLACE                    = 0x100
-       NLM_F_REQUEST                    = 0x1
-       NLM_F_ROOT                       = 0x100
-       NOFLSH                           = 0x80
-       OCRNL                            = 0x8
-       OFDEL                            = 0x80
-       OFILL                            = 0x40
-       OLCUC                            = 0x2
-       ONLCR                            = 0x4
-       ONLRET                           = 0x20
-       ONOCR                            = 0x10
-       OPOST                            = 0x1
-       O_ACCMODE                        = 0x3
-       O_APPEND                         = 0x400
-       O_ASYNC                          = 0x2000
-       O_CLOEXEC                        = 0x80000
-       O_CREAT                          = 0x40
-       O_DIRECT                         = 0x10000
-       O_DIRECTORY                      = 0x4000
-       O_DSYNC                          = 0x1000
-       O_EXCL                           = 0x80
-       O_FSYNC                          = 0x101000
-       O_LARGEFILE                      = 0x0
-       O_NDELAY                         = 0x800
-       O_NOATIME                        = 0x40000
-       O_NOCTTY                         = 0x100
-       O_NOFOLLOW                       = 0x8000
-       O_NONBLOCK                       = 0x800
-       O_PATH                           = 0x200000
-       O_RDONLY                         = 0x0
-       O_RDWR                           = 0x2
-       O_RSYNC                          = 0x101000
-       O_SYNC                           = 0x101000
-       O_TMPFILE                        = 0x404000
-       O_TRUNC                          = 0x200
-       O_WRONLY                         = 0x1
-       PACKET_ADD_MEMBERSHIP            = 0x1
-       PACKET_AUXDATA                   = 0x8
-       PACKET_BROADCAST                 = 0x1
-       PACKET_COPY_THRESH               = 0x7
-       PACKET_DROP_MEMBERSHIP           = 0x2
-       PACKET_FANOUT                    = 0x12
-       PACKET_FANOUT_CBPF               = 0x6
-       PACKET_FANOUT_CPU                = 0x2
-       PACKET_FANOUT_DATA               = 0x16
-       PACKET_FANOUT_EBPF               = 0x7
-       PACKET_FANOUT_FLAG_DEFRAG        = 0x8000
-       PACKET_FANOUT_FLAG_ROLLOVER      = 0x1000
-       PACKET_FANOUT_HASH               = 0x0
-       PACKET_FANOUT_LB                 = 0x1
-       PACKET_FANOUT_QM                 = 0x5
-       PACKET_FANOUT_RND                = 0x4
-       PACKET_FANOUT_ROLLOVER           = 0x3
-       PACKET_FASTROUTE                 = 0x6
-       PACKET_HDRLEN                    = 0xb
-       PACKET_HOST                      = 0x0
-       PACKET_KERNEL                    = 0x7
-       PACKET_LOOPBACK                  = 0x5
-       PACKET_LOSS                      = 0xe
-       PACKET_MR_ALLMULTI               = 0x2
-       PACKET_MR_MULTICAST              = 0x0
-       PACKET_MR_PROMISC                = 0x1
-       PACKET_MR_UNICAST                = 0x3
-       PACKET_MULTICAST                 = 0x2
-       PACKET_ORIGDEV                   = 0x9
-       PACKET_OTHERHOST                 = 0x3
-       PACKET_OUTGOING                  = 0x4
-       PACKET_QDISC_BYPASS              = 0x14
-       PACKET_RECV_OUTPUT               = 0x3
-       PACKET_RESERVE                   = 0xc
-       PACKET_ROLLOVER_STATS            = 0x15
-       PACKET_RX_RING                   = 0x5
-       PACKET_STATISTICS                = 0x6
-       PACKET_TIMESTAMP                 = 0x11
-       PACKET_TX_HAS_OFF                = 0x13
-       PACKET_TX_RING                   = 0xd
-       PACKET_TX_TIMESTAMP              = 0x10
-       PACKET_USER                      = 0x6
-       PACKET_VERSION                   = 0xa
-       PACKET_VNET_HDR                  = 0xf
-       PARENB                           = 0x100
-       PARITY_CRC16_PR0                 = 0x2
-       PARITY_CRC16_PR0_CCITT           = 0x4
-       PARITY_CRC16_PR1                 = 0x3
-       PARITY_CRC16_PR1_CCITT           = 0x5
-       PARITY_CRC32_PR0_CCITT           = 0x6
-       PARITY_CRC32_PR1_CCITT           = 0x7
-       PARITY_DEFAULT                   = 0x0
-       PARITY_NONE                      = 0x1
-       PARMRK                           = 0x8
-       PARODD                           = 0x200
-       PENDIN                           = 0x4000
-       PRIO_PGRP                        = 0x1
-       PRIO_PROCESS                     = 0x0
-       PRIO_USER                        = 0x2
-       PROT_EXEC                        = 0x4
-       PROT_GROWSDOWN                   = 0x1000000
-       PROT_GROWSUP                     = 0x2000000
-       PROT_NONE                        = 0x0
-       PROT_READ                        = 0x1
-       PROT_WRITE                       = 0x2
-       PR_CAPBSET_DROP                  = 0x18
-       PR_CAPBSET_READ                  = 0x17
-       PR_CAP_AMBIENT                   = 0x2f
-       PR_CAP_AMBIENT_CLEAR_ALL         = 0x4
-       PR_CAP_AMBIENT_IS_SET            = 0x1
-       PR_CAP_AMBIENT_LOWER             = 0x3
-       PR_CAP_AMBIENT_RAISE             = 0x2
-       PR_ENDIAN_BIG                    = 0x0
-       PR_ENDIAN_LITTLE                 = 0x1
-       PR_ENDIAN_PPC_LITTLE             = 0x2
-       PR_FPEMU_NOPRINT                 = 0x1
-       PR_FPEMU_SIGFPE                  = 0x2
-       PR_FP_EXC_ASYNC                  = 0x2
-       PR_FP_EXC_DISABLED               = 0x0
-       PR_FP_EXC_DIV                    = 0x10000
-       PR_FP_EXC_INV                    = 0x100000
-       PR_FP_EXC_NONRECOV               = 0x1
-       PR_FP_EXC_OVF                    = 0x20000
-       PR_FP_EXC_PRECISE                = 0x3
-       PR_FP_EXC_RES                    = 0x80000
-       PR_FP_EXC_SW_ENABLE              = 0x80
-       PR_FP_EXC_UND                    = 0x40000
-       PR_FP_MODE_FR                    = 0x1
-       PR_FP_MODE_FRE                   = 0x2
-       PR_GET_CHILD_SUBREAPER           = 0x25
-       PR_GET_DUMPABLE                  = 0x3
-       PR_GET_ENDIAN                    = 0x13
-       PR_GET_FPEMU                     = 0x9
-       PR_GET_FPEXC                     = 0xb
-       PR_GET_FP_MODE                   = 0x2e
-       PR_GET_KEEPCAPS                  = 0x7
-       PR_GET_NAME                      = 0x10
-       PR_GET_NO_NEW_PRIVS              = 0x27
-       PR_GET_PDEATHSIG                 = 0x2
-       PR_GET_SECCOMP                   = 0x15
-       PR_GET_SECUREBITS                = 0x1b
-       PR_GET_THP_DISABLE               = 0x2a
-       PR_GET_TID_ADDRESS               = 0x28
-       PR_GET_TIMERSLACK                = 0x1e
-       PR_GET_TIMING                    = 0xd
-       PR_GET_TSC                       = 0x19
-       PR_GET_UNALIGN                   = 0x5
-       PR_MCE_KILL                      = 0x21
-       PR_MCE_KILL_CLEAR                = 0x0
-       PR_MCE_KILL_DEFAULT              = 0x2
-       PR_MCE_KILL_EARLY                = 0x1
-       PR_MCE_KILL_GET                  = 0x22
-       PR_MCE_KILL_LATE                 = 0x0
-       PR_MCE_KILL_SET                  = 0x1
-       PR_MPX_DISABLE_MANAGEMENT        = 0x2c
-       PR_MPX_ENABLE_MANAGEMENT         = 0x2b
-       PR_SET_CHILD_SUBREAPER           = 0x24
-       PR_SET_DUMPABLE                  = 0x4
-       PR_SET_ENDIAN                    = 0x14
-       PR_SET_FPEMU                     = 0xa
-       PR_SET_FPEXC                     = 0xc
-       PR_SET_FP_MODE                   = 0x2d
-       PR_SET_KEEPCAPS                  = 0x8
-       PR_SET_MM                        = 0x23
-       PR_SET_MM_ARG_END                = 0x9
-       PR_SET_MM_ARG_START              = 0x8
-       PR_SET_MM_AUXV                   = 0xc
-       PR_SET_MM_BRK                    = 0x7
-       PR_SET_MM_END_CODE               = 0x2
-       PR_SET_MM_END_DATA               = 0x4
-       PR_SET_MM_ENV_END                = 0xb
-       PR_SET_MM_ENV_START              = 0xa
-       PR_SET_MM_EXE_FILE               = 0xd
-       PR_SET_MM_MAP                    = 0xe
-       PR_SET_MM_MAP_SIZE               = 0xf
-       PR_SET_MM_START_BRK              = 0x6
-       PR_SET_MM_START_CODE             = 0x1
-       PR_SET_MM_START_DATA             = 0x3
-       PR_SET_MM_START_STACK            = 0x5
-       PR_SET_NAME                      = 0xf
-       PR_SET_NO_NEW_PRIVS              = 0x26
-       PR_SET_PDEATHSIG                 = 0x1
-       PR_SET_PTRACER                   = 0x59616d61
-       PR_SET_PTRACER_ANY               = -0x1
-       PR_SET_SECCOMP                   = 0x16
-       PR_SET_SECUREBITS                = 0x1c
-       PR_SET_THP_DISABLE               = 0x29
-       PR_SET_TIMERSLACK                = 0x1d
-       PR_SET_TIMING                    = 0xe
-       PR_SET_TSC                       = 0x1a
-       PR_SET_UNALIGN                   = 0x6
-       PR_TASK_PERF_EVENTS_DISABLE      = 0x1f
-       PR_TASK_PERF_EVENTS_ENABLE       = 0x20
-       PR_TIMING_STATISTICAL            = 0x0
-       PR_TIMING_TIMESTAMP              = 0x1
-       PR_TSC_ENABLE                    = 0x1
-       PR_TSC_SIGSEGV                   = 0x2
-       PR_UNALIGN_NOPRINT               = 0x1
-       PR_UNALIGN_SIGBUS                = 0x2
-       PTRACE_ATTACH                    = 0x10
-       PTRACE_CONT                      = 0x7
-       PTRACE_DETACH                    = 0x11
-       PTRACE_EVENT_CLONE               = 0x3
-       PTRACE_EVENT_EXEC                = 0x4
-       PTRACE_EVENT_EXIT                = 0x6
-       PTRACE_EVENT_FORK                = 0x1
-       PTRACE_EVENT_SECCOMP             = 0x7
-       PTRACE_EVENT_STOP                = 0x80
-       PTRACE_EVENT_VFORK               = 0x2
-       PTRACE_EVENT_VFORK_DONE          = 0x5
-       PTRACE_GETEVENTMSG               = 0x4201
-       PTRACE_GETREGS                   = 0xc
-       PTRACE_GETREGSET                 = 0x4204
-       PTRACE_GETSIGINFO                = 0x4202
-       PTRACE_GETSIGMASK                = 0x420a
-       PTRACE_INTERRUPT                 = 0x4207
-       PTRACE_KILL                      = 0x8
-       PTRACE_LISTEN                    = 0x4208
-       PTRACE_O_EXITKILL                = 0x100000
-       PTRACE_O_MASK                    = 0x3000ff
-       PTRACE_O_SUSPEND_SECCOMP         = 0x200000
-       PTRACE_O_TRACECLONE              = 0x8
-       PTRACE_O_TRACEEXEC               = 0x10
-       PTRACE_O_TRACEEXIT               = 0x40
-       PTRACE_O_TRACEFORK               = 0x2
-       PTRACE_O_TRACESECCOMP            = 0x80
-       PTRACE_O_TRACESYSGOOD            = 0x1
-       PTRACE_O_TRACEVFORK              = 0x4
-       PTRACE_O_TRACEVFORKDONE          = 0x20
-       PTRACE_PEEKDATA                  = 0x2
-       PTRACE_PEEKSIGINFO               = 0x4209
-       PTRACE_PEEKSIGINFO_SHARED        = 0x1
-       PTRACE_PEEKTEXT                  = 0x1
-       PTRACE_PEEKUSR                   = 0x3
-       PTRACE_POKEDATA                  = 0x5
-       PTRACE_POKETEXT                  = 0x4
-       PTRACE_POKEUSR                   = 0x6
-       PTRACE_SECCOMP_GET_FILTER        = 0x420c
-       PTRACE_SEIZE                     = 0x4206
-       PTRACE_SETOPTIONS                = 0x4200
-       PTRACE_SETREGS                   = 0xd
-       PTRACE_SETREGSET                 = 0x4205
-       PTRACE_SETSIGINFO                = 0x4203
-       PTRACE_SETSIGMASK                = 0x420b
-       PTRACE_SINGLESTEP                = 0x9
-       PTRACE_SYSCALL                   = 0x18
-       PTRACE_TRACEME                   = 0x0
-       RLIMIT_AS                        = 0x9
-       RLIMIT_CORE                      = 0x4
-       RLIMIT_CPU                       = 0x0
-       RLIMIT_DATA                      = 0x2
-       RLIMIT_FSIZE                     = 0x1
-       RLIMIT_NOFILE                    = 0x7
-       RLIMIT_STACK                     = 0x3
-       RLIM_INFINITY                    = -0x1
-       RTAX_ADVMSS                      = 0x8
-       RTAX_CC_ALGO                     = 0x10
-       RTAX_CWND                        = 0x7
-       RTAX_FEATURES                    = 0xc
-       RTAX_FEATURE_ALLFRAG             = 0x8
-       RTAX_FEATURE_ECN                 = 0x1
-       RTAX_FEATURE_MASK                = 0xf
-       RTAX_FEATURE_SACK                = 0x2
-       RTAX_FEATURE_TIMESTAMP           = 0x4
-       RTAX_HOPLIMIT                    = 0xa
-       RTAX_INITCWND                    = 0xb
-       RTAX_INITRWND                    = 0xe
-       RTAX_LOCK                        = 0x1
-       RTAX_MAX                         = 0x10
-       RTAX_MTU                         = 0x2
-       RTAX_QUICKACK                    = 0xf
-       RTAX_REORDERING                  = 0x9
-       RTAX_RTO_MIN                     = 0xd
-       RTAX_RTT                         = 0x4
-       RTAX_RTTVAR                      = 0x5
-       RTAX_SSTHRESH                    = 0x6
-       RTAX_UNSPEC                      = 0x0
-       RTAX_WINDOW                      = 0x3
-       RTA_ALIGNTO                      = 0x4
-       RTA_MAX                          = 0x19
-       RTCF_DIRECTSRC                   = 0x4000000
-       RTCF_DOREDIRECT                  = 0x1000000
-       RTCF_LOG                         = 0x2000000
-       RTCF_MASQ                        = 0x400000
-       RTCF_NAT                         = 0x800000
-       RTCF_VALVE                       = 0x200000
-       RTF_ADDRCLASSMASK                = 0xf8000000
-       RTF_ADDRCONF                     = 0x40000
-       RTF_ALLONLINK                    = 0x20000
-       RTF_BROADCAST                    = 0x10000000
-       RTF_CACHE                        = 0x1000000
-       RTF_DEFAULT                      = 0x10000
-       RTF_DYNAMIC                      = 0x10
-       RTF_FLOW                         = 0x2000000
-       RTF_GATEWAY                      = 0x2
-       RTF_HOST                         = 0x4
-       RTF_INTERFACE                    = 0x40000000
-       RTF_IRTT                         = 0x100
-       RTF_LINKRT                       = 0x100000
-       RTF_LOCAL                        = 0x80000000
-       RTF_MODIFIED                     = 0x20
-       RTF_MSS                          = 0x40
-       RTF_MTU                          = 0x40
-       RTF_MULTICAST                    = 0x20000000
-       RTF_NAT                          = 0x8000000
-       RTF_NOFORWARD                    = 0x1000
-       RTF_NONEXTHOP                    = 0x200000
-       RTF_NOPMTUDISC                   = 0x4000
-       RTF_POLICY                       = 0x4000000
-       RTF_REINSTATE                    = 0x8
-       RTF_REJECT                       = 0x200
-       RTF_STATIC                       = 0x400
-       RTF_THROW                        = 0x2000
-       RTF_UP                           = 0x1
-       RTF_WINDOW                       = 0x80
-       RTF_XRESOLVE                     = 0x800
-       RTM_BASE                         = 0x10
-       RTM_DELACTION                    = 0x31
-       RTM_DELADDR                      = 0x15
-       RTM_DELADDRLABEL                 = 0x49
-       RTM_DELLINK                      = 0x11
-       RTM_DELMDB                       = 0x55
-       RTM_DELNEIGH                     = 0x1d
-       RTM_DELNSID                      = 0x59
-       RTM_DELQDISC                     = 0x25
-       RTM_DELROUTE                     = 0x19
-       RTM_DELRULE                      = 0x21
-       RTM_DELTCLASS                    = 0x29
-       RTM_DELTFILTER                   = 0x2d
-       RTM_F_CLONED                     = 0x200
-       RTM_F_EQUALIZE                   = 0x400
-       RTM_F_LOOKUP_TABLE               = 0x1000
-       RTM_F_NOTIFY                     = 0x100
-       RTM_F_PREFIX                     = 0x800
-       RTM_GETACTION                    = 0x32
-       RTM_GETADDR                      = 0x16
-       RTM_GETADDRLABEL                 = 0x4a
-       RTM_GETANYCAST                   = 0x3e
-       RTM_GETDCB                       = 0x4e
-       RTM_GETLINK                      = 0x12
-       RTM_GETMDB                       = 0x56
-       RTM_GETMULTICAST                 = 0x3a
-       RTM_GETNEIGH                     = 0x1e
-       RTM_GETNEIGHTBL                  = 0x42
-       RTM_GETNETCONF                   = 0x52
-       RTM_GETNSID                      = 0x5a
-       RTM_GETQDISC                     = 0x26
-       RTM_GETROUTE                     = 0x1a
-       RTM_GETRULE                      = 0x22
-       RTM_GETSTATS                     = 0x5e
-       RTM_GETTCLASS                    = 0x2a
-       RTM_GETTFILTER                   = 0x2e
-       RTM_MAX                          = 0x5f
-       RTM_NEWACTION                    = 0x30
-       RTM_NEWADDR                      = 0x14
-       RTM_NEWADDRLABEL                 = 0x48
-       RTM_NEWLINK                      = 0x10
-       RTM_NEWMDB                       = 0x54
-       RTM_NEWNDUSEROPT                 = 0x44
-       RTM_NEWNEIGH                     = 0x1c
-       RTM_NEWNEIGHTBL                  = 0x40
-       RTM_NEWNETCONF                   = 0x50
-       RTM_NEWNSID                      = 0x58
-       RTM_NEWPREFIX                    = 0x34
-       RTM_NEWQDISC                     = 0x24
-       RTM_NEWROUTE                     = 0x18
-       RTM_NEWRULE                      = 0x20
-       RTM_NEWSTATS                     = 0x5c
-       RTM_NEWTCLASS                    = 0x28
-       RTM_NEWTFILTER                   = 0x2c
-       RTM_NR_FAMILIES                  = 0x14
-       RTM_NR_MSGTYPES                  = 0x50
-       RTM_SETDCB                       = 0x4f
-       RTM_SETLINK                      = 0x13
-       RTM_SETNEIGHTBL                  = 0x43
-       RTNH_ALIGNTO                     = 0x4
-       RTNH_COMPARE_MASK                = 0x19
-       RTNH_F_DEAD                      = 0x1
-       RTNH_F_LINKDOWN                  = 0x10
-       RTNH_F_OFFLOAD                   = 0x8
-       RTNH_F_ONLINK                    = 0x4
-       RTNH_F_PERVASIVE                 = 0x2
-       RTN_MAX                          = 0xb
-       RTPROT_BABEL                     = 0x2a
-       RTPROT_BIRD                      = 0xc
-       RTPROT_BOOT                      = 0x3
-       RTPROT_DHCP                      = 0x10
-       RTPROT_DNROUTED                  = 0xd
-       RTPROT_GATED                     = 0x8
-       RTPROT_KERNEL                    = 0x2
-       RTPROT_MROUTED                   = 0x11
-       RTPROT_MRT                       = 0xa
-       RTPROT_NTK                       = 0xf
-       RTPROT_RA                        = 0x9
-       RTPROT_REDIRECT                  = 0x1
-       RTPROT_STATIC                    = 0x4
-       RTPROT_UNSPEC                    = 0x0
-       RTPROT_XORP                      = 0xe
-       RTPROT_ZEBRA                     = 0xb
-       RT_CLASS_DEFAULT                 = 0xfd
-       RT_CLASS_LOCAL                   = 0xff
-       RT_CLASS_MAIN                    = 0xfe
-       RT_CLASS_MAX                     = 0xff
-       RT_CLASS_UNSPEC                  = 0x0
-       RUSAGE_CHILDREN                  = -0x1
-       RUSAGE_SELF                      = 0x0
-       RUSAGE_THREAD                    = 0x1
-       SCM_CREDENTIALS                  = 0x2
-       SCM_RIGHTS                       = 0x1
-       SCM_TIMESTAMP                    = 0x1d
-       SCM_TIMESTAMPING                 = 0x25
-       SCM_TIMESTAMPING_OPT_STATS       = 0x36
-       SCM_TIMESTAMPNS                  = 0x23
-       SCM_WIFI_STATUS                  = 0x29
-       SHUT_RD                          = 0x0
-       SHUT_RDWR                        = 0x2
-       SHUT_WR                          = 0x1
-       SIOCADDDLCI                      = 0x8980
-       SIOCADDMULTI                     = 0x8931
-       SIOCADDRT                        = 0x890b
-       SIOCATMARK                       = 0x8905
-       SIOCDARP                         = 0x8953
-       SIOCDELDLCI                      = 0x8981
-       SIOCDELMULTI                     = 0x8932
-       SIOCDELRT                        = 0x890c
-       SIOCDEVPRIVATE                   = 0x89f0
-       SIOCDIFADDR                      = 0x8936
-       SIOCDRARP                        = 0x8960
-       SIOCGARP                         = 0x8954
-       SIOCGIFADDR                      = 0x8915
-       SIOCGIFBR                        = 0x8940
-       SIOCGIFBRDADDR                   = 0x8919
-       SIOCGIFCONF                      = 0x8912
-       SIOCGIFCOUNT                     = 0x8938
-       SIOCGIFDSTADDR                   = 0x8917
-       SIOCGIFENCAP                     = 0x8925
-       SIOCGIFFLAGS                     = 0x8913
-       SIOCGIFHWADDR                    = 0x8927
-       SIOCGIFINDEX                     = 0x8933
-       SIOCGIFMAP                       = 0x8970
-       SIOCGIFMEM                       = 0x891f
-       SIOCGIFMETRIC                    = 0x891d
-       SIOCGIFMTU                       = 0x8921
-       SIOCGIFNAME                      = 0x8910
-       SIOCGIFNETMASK                   = 0x891b
-       SIOCGIFPFLAGS                    = 0x8935
-       SIOCGIFSLAVE                     = 0x8929
-       SIOCGIFTXQLEN                    = 0x8942
-       SIOCGPGRP                        = 0x8904
-       SIOCGRARP                        = 0x8961
-       SIOCGSTAMP                       = 0x8906
-       SIOCGSTAMPNS                     = 0x8907
-       SIOCPROTOPRIVATE                 = 0x89e0
-       SIOCRTMSG                        = 0x890d
-       SIOCSARP                         = 0x8955
-       SIOCSIFADDR                      = 0x8916
-       SIOCSIFBR                        = 0x8941
-       SIOCSIFBRDADDR                   = 0x891a
-       SIOCSIFDSTADDR                   = 0x8918
-       SIOCSIFENCAP                     = 0x8926
-       SIOCSIFFLAGS                     = 0x8914
-       SIOCSIFHWADDR                    = 0x8924
-       SIOCSIFHWBROADCAST               = 0x8937
-       SIOCSIFLINK                      = 0x8911
-       SIOCSIFMAP                       = 0x8971
-       SIOCSIFMEM                       = 0x8920
-       SIOCSIFMETRIC                    = 0x891e
-       SIOCSIFMTU                       = 0x8922
-       SIOCSIFNAME                      = 0x8923
-       SIOCSIFNETMASK                   = 0x891c
-       SIOCSIFPFLAGS                    = 0x8934
-       SIOCSIFSLAVE                     = 0x8930
-       SIOCSIFTXQLEN                    = 0x8943
-       SIOCSPGRP                        = 0x8902
-       SIOCSRARP                        = 0x8962
-       SOCK_CLOEXEC                     = 0x80000
-       SOCK_DCCP                        = 0x6
-       SOCK_DGRAM                       = 0x2
-       SOCK_NONBLOCK                    = 0x800
-       SOCK_PACKET                      = 0xa
-       SOCK_RAW                         = 0x3
-       SOCK_RDM                         = 0x4
-       SOCK_SEQPACKET                   = 0x5
-       SOCK_STREAM                      = 0x1
-       SOL_AAL                          = 0x109
-       SOL_ALG                          = 0x117
-       SOL_ATM                          = 0x108
-       SOL_CAIF                         = 0x116
-       SOL_CAN_BASE                     = 0x64
-       SOL_DCCP                         = 0x10d
-       SOL_DECNET                       = 0x105
-       SOL_ICMPV6                       = 0x3a
-       SOL_IP                           = 0x0
-       SOL_IPV6                         = 0x29
-       SOL_IRDA                         = 0x10a
-       SOL_IUCV                         = 0x115
-       SOL_KCM                          = 0x119
-       SOL_LLC                          = 0x10c
-       SOL_NETBEUI                      = 0x10b
-       SOL_NETLINK                      = 0x10e
-       SOL_NFC                          = 0x118
-       SOL_PACKET                       = 0x107
-       SOL_PNPIPE                       = 0x113
-       SOL_PPPOL2TP                     = 0x111
-       SOL_RAW                          = 0xff
-       SOL_RDS                          = 0x114
-       SOL_RXRPC                        = 0x110
-       SOL_SOCKET                       = 0x1
-       SOL_TCP                          = 0x6
-       SOL_TIPC                         = 0x10f
-       SOL_X25                          = 0x106
-       SOMAXCONN                        = 0x80
-       SO_ACCEPTCONN                    = 0x1e
-       SO_ATTACH_BPF                    = 0x32
-       SO_ATTACH_FILTER                 = 0x1a
-       SO_ATTACH_REUSEPORT_CBPF         = 0x33
-       SO_ATTACH_REUSEPORT_EBPF         = 0x34
-       SO_BINDTODEVICE                  = 0x19
-       SO_BPF_EXTENSIONS                = 0x30
-       SO_BROADCAST                     = 0x6
-       SO_BSDCOMPAT                     = 0xe
-       SO_BUSY_POLL                     = 0x2e
-       SO_CNX_ADVICE                    = 0x35
-       SO_DEBUG                         = 0x1
-       SO_DETACH_BPF                    = 0x1b
-       SO_DETACH_FILTER                 = 0x1b
-       SO_DOMAIN                        = 0x27
-       SO_DONTROUTE                     = 0x5
-       SO_ERROR                         = 0x4
-       SO_GET_FILTER                    = 0x1a
-       SO_INCOMING_CPU                  = 0x31
-       SO_KEEPALIVE                     = 0x9
-       SO_LINGER                        = 0xd
-       SO_LOCK_FILTER                   = 0x2c
-       SO_MARK                          = 0x24
-       SO_MAX_PACING_RATE               = 0x2f
-       SO_NOFCS                         = 0x2b
-       SO_NO_CHECK                      = 0xb
-       SO_OOBINLINE                     = 0xa
-       SO_PASSCRED                      = 0x10
-       SO_PASSSEC                       = 0x22
-       SO_PEEK_OFF                      = 0x2a
-       SO_PEERCRED                      = 0x11
-       SO_PEERNAME                      = 0x1c
-       SO_PEERSEC                       = 0x1f
-       SO_PRIORITY                      = 0xc
-       SO_PROTOCOL                      = 0x26
-       SO_RCVBUF                        = 0x8
-       SO_RCVBUFFORCE                   = 0x21
-       SO_RCVLOWAT                      = 0x12
-       SO_RCVTIMEO                      = 0x14
-       SO_REUSEADDR                     = 0x2
-       SO_REUSEPORT                     = 0xf
-       SO_RXQ_OVFL                      = 0x28
-       SO_SECURITY_AUTHENTICATION       = 0x16
-       SO_SECURITY_ENCRYPTION_NETWORK   = 0x18
-       SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-       SO_SELECT_ERR_QUEUE              = 0x2d
-       SO_SNDBUF                        = 0x7
-       SO_SNDBUFFORCE                   = 0x20
-       SO_SNDLOWAT                      = 0x13
-       SO_SNDTIMEO                      = 0x15
-       SO_TIMESTAMP                     = 0x1d
-       SO_TIMESTAMPING                  = 0x25
-       SO_TIMESTAMPNS                   = 0x23
-       SO_TYPE                          = 0x3
-       SO_VM_SOCKETS_BUFFER_MAX_SIZE    = 0x2
-       SO_VM_SOCKETS_BUFFER_MIN_SIZE    = 0x1
-       SO_VM_SOCKETS_BUFFER_SIZE        = 0x0
-       SO_VM_SOCKETS_CONNECT_TIMEOUT    = 0x6
-       SO_VM_SOCKETS_NONBLOCK_TXRX      = 0x7
-       SO_VM_SOCKETS_PEER_HOST_VM_ID    = 0x3
-       SO_VM_SOCKETS_TRUSTED            = 0x5
-       SO_WIFI_STATUS                   = 0x29
-       SPLICE_F_GIFT                    = 0x8
-       SPLICE_F_MORE                    = 0x4
-       SPLICE_F_MOVE                    = 0x1
-       SPLICE_F_NONBLOCK                = 0x2
-       S_BLKSIZE                        = 0x200
-       S_IEXEC                          = 0x40
-       S_IFBLK                          = 0x6000
-       S_IFCHR                          = 0x2000
-       S_IFDIR                          = 0x4000
-       S_IFIFO                          = 0x1000
-       S_IFLNK                          = 0xa000
-       S_IFMT                           = 0xf000
-       S_IFREG                          = 0x8000
-       S_IFSOCK                         = 0xc000
-       S_IREAD                          = 0x100
-       S_IRGRP                          = 0x20
-       S_IROTH                          = 0x4
-       S_IRUSR                          = 0x100
-       S_IRWXG                          = 0x38
-       S_IRWXO                          = 0x7
-       S_IRWXU                          = 0x1c0
-       S_ISGID                          = 0x400
-       S_ISUID                          = 0x800
-       S_ISVTX                          = 0x200
-       S_IWGRP                          = 0x10
-       S_IWOTH                          = 0x2
-       S_IWRITE                         = 0x80
-       S_IWUSR                          = 0x80
-       S_IXGRP                          = 0x8
-       S_IXOTH                          = 0x1
-       S_IXUSR                          = 0x40
-       TAB0                             = 0x0
-       TAB1                             = 0x800
-       TAB2                             = 0x1000
-       TAB3                             = 0x1800
-       TABDLY                           = 0x1800
-       TCFLSH                           = 0x540b
-       TCGETA                           = 0x5405
-       TCGETS                           = 0x5401
-       TCGETS2                          = 0x802c542a
-       TCGETX                           = 0x5432
-       TCIFLUSH                         = 0x0
-       TCIOFF                           = 0x2
-       TCIOFLUSH                        = 0x2
-       TCION                            = 0x3
-       TCOFLUSH                         = 0x1
-       TCOOFF                           = 0x0
-       TCOON                            = 0x1
-       TCP_CC_INFO                      = 0x1a
-       TCP_CONGESTION                   = 0xd
-       TCP_COOKIE_IN_ALWAYS             = 0x1
-       TCP_COOKIE_MAX                   = 0x10
-       TCP_COOKIE_MIN                   = 0x8
-       TCP_COOKIE_OUT_NEVER             = 0x2
-       TCP_COOKIE_PAIR_SIZE             = 0x20
-       TCP_COOKIE_TRANSACTIONS          = 0xf
-       TCP_CORK                         = 0x3
-       TCP_DEFER_ACCEPT                 = 0x9
-       TCP_FASTOPEN                     = 0x17
-       TCP_INFO                         = 0xb
-       TCP_KEEPCNT                      = 0x6
-       TCP_KEEPIDLE                     = 0x4
-       TCP_KEEPINTVL                    = 0x5
-       TCP_LINGER2                      = 0x8
-       TCP_MAXSEG                       = 0x2
-       TCP_MAXWIN                       = 0xffff
-       TCP_MAX_WINSHIFT                 = 0xe
-       TCP_MD5SIG                       = 0xe
-       TCP_MD5SIG_MAXKEYLEN             = 0x50
-       TCP_MSS                          = 0x200
-       TCP_MSS_DEFAULT                  = 0x218
-       TCP_MSS_DESIRED                  = 0x4c4
-       TCP_NODELAY                      = 0x1
-       TCP_NOTSENT_LOWAT                = 0x19
-       TCP_QUEUE_SEQ                    = 0x15
-       TCP_QUICKACK                     = 0xc
-       TCP_REPAIR                       = 0x13
-       TCP_REPAIR_OPTIONS               = 0x16
-       TCP_REPAIR_QUEUE                 = 0x14
-       TCP_REPAIR_WINDOW                = 0x1d
-       TCP_SAVED_SYN                    = 0x1c
-       TCP_SAVE_SYN                     = 0x1b
-       TCP_SYNCNT                       = 0x7
-       TCP_S_DATA_IN                    = 0x4
-       TCP_S_DATA_OUT                   = 0x8
-       TCP_THIN_DUPACK                  = 0x11
-       TCP_THIN_LINEAR_TIMEOUTS         = 0x10
-       TCP_TIMESTAMP                    = 0x18
-       TCP_USER_TIMEOUT                 = 0x12
-       TCP_WINDOW_CLAMP                 = 0xa
-       TCSAFLUSH                        = 0x2
-       TCSBRK                           = 0x5409
-       TCSBRKP                          = 0x5425
-       TCSETA                           = 0x5406
-       TCSETAF                          = 0x5408
-       TCSETAW                          = 0x5407
-       TCSETS                           = 0x5402
-       TCSETS2                          = 0x402c542b
-       TCSETSF                          = 0x5404
-       TCSETSF2                         = 0x402c542d
-       TCSETSW                          = 0x5403
-       TCSETSW2                         = 0x402c542c
-       TCSETX                           = 0x5433
-       TCSETXF                          = 0x5434
-       TCSETXW                          = 0x5435
-       TCXONC                           = 0x540a
-       TIOCCBRK                         = 0x5428
-       TIOCCONS                         = 0x541d
-       TIOCEXCL                         = 0x540c
-       TIOCGDEV                         = 0x80045432
-       TIOCGETD                         = 0x5424
-       TIOCGEXCL                        = 0x80045440
-       TIOCGICOUNT                      = 0x545d
-       TIOCGLCKTRMIOS                   = 0x5456
-       TIOCGPGRP                        = 0x540f
-       TIOCGPKT                         = 0x80045438
-       TIOCGPTLCK                       = 0x80045439
-       TIOCGPTN                         = 0x80045430
-       TIOCGRS485                       = 0x542e
-       TIOCGSERIAL                      = 0x541e
-       TIOCGSID                         = 0x5429
-       TIOCGSOFTCAR                     = 0x5419
-       TIOCGWINSZ                       = 0x5413
-       TIOCINQ                          = 0x541b
-       TIOCLINUX                        = 0x541c
-       TIOCMBIC                         = 0x5417
-       TIOCMBIS                         = 0x5416
-       TIOCMGET                         = 0x5415
-       TIOCMIWAIT                       = 0x545c
-       TIOCMSET                         = 0x5418
-       TIOCM_CAR                        = 0x40
-       TIOCM_CD                         = 0x40
-       TIOCM_CTS                        = 0x20
-       TIOCM_DSR                        = 0x100
-       TIOCM_DTR                        = 0x2
-       TIOCM_LE                         = 0x1
-       TIOCM_RI                         = 0x80
-       TIOCM_RNG                        = 0x80
-       TIOCM_RTS                        = 0x4
-       TIOCM_SR                         = 0x10
-       TIOCM_ST                         = 0x8
-       TIOCNOTTY                        = 0x5422
-       TIOCNXCL                         = 0x540d
-       TIOCOUTQ                         = 0x5411
-       TIOCPKT                          = 0x5420
-       TIOCPKT_DATA                     = 0x0
-       TIOCPKT_DOSTOP                   = 0x20
-       TIOCPKT_FLUSHREAD                = 0x1
-       TIOCPKT_FLUSHWRITE               = 0x2
-       TIOCPKT_IOCTL                    = 0x40
-       TIOCPKT_NOSTOP                   = 0x10
-       TIOCPKT_START                    = 0x8
-       TIOCPKT_STOP                     = 0x4
-       TIOCSBRK                         = 0x5427
-       TIOCSCTTY                        = 0x540e
-       TIOCSERCONFIG                    = 0x5453
-       TIOCSERGETLSR                    = 0x5459
-       TIOCSERGETMULTI                  = 0x545a
-       TIOCSERGSTRUCT                   = 0x5458
-       TIOCSERGWILD                     = 0x5454
-       TIOCSERSETMULTI                  = 0x545b
-       TIOCSERSWILD                     = 0x5455
-       TIOCSER_TEMT                     = 0x1
-       TIOCSETD                         = 0x5423
-       TIOCSIG                          = 0x40045436
-       TIOCSLCKTRMIOS                   = 0x5457
-       TIOCSPGRP                        = 0x5410
-       TIOCSPTLCK                       = 0x40045431
-       TIOCSRS485                       = 0x542f
-       TIOCSSERIAL                      = 0x541f
-       TIOCSSOFTCAR                     = 0x541a
-       TIOCSTI                          = 0x5412
-       TIOCSWINSZ                       = 0x5414
-       TIOCVHANGUP                      = 0x5437
-       TOSTOP                           = 0x100
-       TUNATTACHFILTER                  = 0x401054d5
-       TUNDETACHFILTER                  = 0x401054d6
-       TUNGETFEATURES                   = 0x800454cf
-       TUNGETFILTER                     = 0x801054db
-       TUNGETIFF                        = 0x800454d2
-       TUNGETSNDBUF                     = 0x800454d3
-       TUNGETVNETBE                     = 0x800454df
-       TUNGETVNETHDRSZ                  = 0x800454d7
-       TUNGETVNETLE                     = 0x800454dd
-       TUNSETDEBUG                      = 0x400454c9
-       TUNSETGROUP                      = 0x400454ce
-       TUNSETIFF                        = 0x400454ca
-       TUNSETIFINDEX                    = 0x400454da
-       TUNSETLINK                       = 0x400454cd
-       TUNSETNOCSUM                     = 0x400454c8
-       TUNSETOFFLOAD                    = 0x400454d0
-       TUNSETOWNER                      = 0x400454cc
-       TUNSETPERSIST                    = 0x400454cb
-       TUNSETQUEUE                      = 0x400454d9
-       TUNSETSNDBUF                     = 0x400454d4
-       TUNSETTXFILTER                   = 0x400454d1
-       TUNSETVNETBE                     = 0x400454de
-       TUNSETVNETHDRSZ                  = 0x400454d8
-       TUNSETVNETLE                     = 0x400454dc
-       VDISCARD                         = 0xd
-       VEOF                             = 0x4
-       VEOL                             = 0xb
-       VEOL2                            = 0x10
-       VERASE                           = 0x2
-       VINTR                            = 0x0
-       VKILL                            = 0x3
-       VLNEXT                           = 0xf
-       VMADDR_CID_ANY                   = 0xffffffff
-       VMADDR_CID_HOST                  = 0x2
-       VMADDR_CID_HYPERVISOR            = 0x0
-       VMADDR_CID_RESERVED              = 0x1
-       VMADDR_PORT_ANY                  = 0xffffffff
-       VMIN                             = 0x6
-       VM_SOCKETS_INVALID_VERSION       = 0xffffffff
-       VQUIT                            = 0x1
-       VREPRINT                         = 0xc
-       VSTART                           = 0x8
-       VSTOP                            = 0x9
-       VSUSP                            = 0xa
-       VSWTC                            = 0x7
-       VT0                              = 0x0
-       VT1                              = 0x4000
-       VTDLY                            = 0x4000
-       VTIME                            = 0x5
-       VWERASE                          = 0xe
-       WALL                             = 0x40000000
-       WCLONE                           = 0x80000000
-       WCONTINUED                       = 0x8
-       WEXITED                          = 0x4
-       WNOHANG                          = 0x1
-       WNOTHREAD                        = 0x20000000
-       WNOWAIT                          = 0x1000000
-       WORDSIZE                         = 0x40
-       WSTOPPED                         = 0x2
-       WUNTRACED                        = 0x2
-       XCASE                            = 0x4
-       XTABS                            = 0x1800
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x62)
-       EADDRNOTAVAIL   = syscall.Errno(0x63)
-       EADV            = syscall.Errno(0x44)
-       EAFNOSUPPORT    = syscall.Errno(0x61)
-       EAGAIN          = syscall.Errno(0xb)
-       EALREADY        = syscall.Errno(0x72)
-       EBADE           = syscall.Errno(0x34)
-       EBADF           = syscall.Errno(0x9)
-       EBADFD          = syscall.Errno(0x4d)
-       EBADMSG         = syscall.Errno(0x4a)
-       EBADR           = syscall.Errno(0x35)
-       EBADRQC         = syscall.Errno(0x38)
-       EBADSLT         = syscall.Errno(0x39)
-       EBFONT          = syscall.Errno(0x3b)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x7d)
-       ECHILD          = syscall.Errno(0xa)
-       ECHRNG          = syscall.Errno(0x2c)
-       ECOMM           = syscall.Errno(0x46)
-       ECONNABORTED    = syscall.Errno(0x67)
-       ECONNREFUSED    = syscall.Errno(0x6f)
-       ECONNRESET      = syscall.Errno(0x68)
-       EDEADLK         = syscall.Errno(0x23)
-       EDEADLOCK       = syscall.Errno(0x23)
-       EDESTADDRREQ    = syscall.Errno(0x59)
-       EDOM            = syscall.Errno(0x21)
-       EDOTDOT         = syscall.Errno(0x49)
-       EDQUOT          = syscall.Errno(0x7a)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EHOSTDOWN       = syscall.Errno(0x70)
-       EHOSTUNREACH    = syscall.Errno(0x71)
-       EHWPOISON       = syscall.Errno(0x85)
-       EIDRM           = syscall.Errno(0x2b)
-       EILSEQ          = syscall.Errno(0x54)
-       EINPROGRESS     = syscall.Errno(0x73)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x6a)
-       EISDIR          = syscall.Errno(0x15)
-       EISNAM          = syscall.Errno(0x78)
-       EKEYEXPIRED     = syscall.Errno(0x7f)
-       EKEYREJECTED    = syscall.Errno(0x81)
-       EKEYREVOKED     = syscall.Errno(0x80)
-       EL2HLT          = syscall.Errno(0x33)
-       EL2NSYNC        = syscall.Errno(0x2d)
-       EL3HLT          = syscall.Errno(0x2e)
-       EL3RST          = syscall.Errno(0x2f)
-       ELIBACC         = syscall.Errno(0x4f)
-       ELIBBAD         = syscall.Errno(0x50)
-       ELIBEXEC        = syscall.Errno(0x53)
-       ELIBMAX         = syscall.Errno(0x52)
-       ELIBSCN         = syscall.Errno(0x51)
-       ELNRNG          = syscall.Errno(0x30)
-       ELOOP           = syscall.Errno(0x28)
-       EMEDIUMTYPE     = syscall.Errno(0x7c)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x5a)
-       EMULTIHOP       = syscall.Errno(0x48)
-       ENAMETOOLONG    = syscall.Errno(0x24)
-       ENAVAIL         = syscall.Errno(0x77)
-       ENETDOWN        = syscall.Errno(0x64)
-       ENETRESET       = syscall.Errno(0x66)
-       ENETUNREACH     = syscall.Errno(0x65)
-       ENFILE          = syscall.Errno(0x17)
-       ENOANO          = syscall.Errno(0x37)
-       ENOBUFS         = syscall.Errno(0x69)
-       ENOCSI          = syscall.Errno(0x32)
-       ENODATA         = syscall.Errno(0x3d)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOKEY          = syscall.Errno(0x7e)
-       ENOLCK          = syscall.Errno(0x25)
-       ENOLINK         = syscall.Errno(0x43)
-       ENOMEDIUM       = syscall.Errno(0x7b)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x2a)
-       ENONET          = syscall.Errno(0x40)
-       ENOPKG          = syscall.Errno(0x41)
-       ENOPROTOOPT     = syscall.Errno(0x5c)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x3f)
-       ENOSTR          = syscall.Errno(0x3c)
-       ENOSYS          = syscall.Errno(0x26)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x6b)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x27)
-       ENOTNAM         = syscall.Errno(0x76)
-       ENOTRECOVERABLE = syscall.Errno(0x83)
-       ENOTSOCK        = syscall.Errno(0x58)
-       ENOTSUP         = syscall.Errno(0x5f)
-       ENOTTY          = syscall.Errno(0x19)
-       ENOTUNIQ        = syscall.Errno(0x4c)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x5f)
-       EOVERFLOW       = syscall.Errno(0x4b)
-       EOWNERDEAD      = syscall.Errno(0x82)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x60)
-       EPIPE           = syscall.Errno(0x20)
-       EPROTO          = syscall.Errno(0x47)
-       EPROTONOSUPPORT = syscall.Errno(0x5d)
-       EPROTOTYPE      = syscall.Errno(0x5b)
-       ERANGE          = syscall.Errno(0x22)
-       EREMCHG         = syscall.Errno(0x4e)
-       EREMOTE         = syscall.Errno(0x42)
-       EREMOTEIO       = syscall.Errno(0x79)
-       ERESTART        = syscall.Errno(0x55)
-       ERFKILL         = syscall.Errno(0x84)
-       EROFS           = syscall.Errno(0x1e)
-       ESHUTDOWN       = syscall.Errno(0x6c)
-       ESOCKTNOSUPPORT = syscall.Errno(0x5e)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESRMNT          = syscall.Errno(0x45)
-       ESTALE          = syscall.Errno(0x74)
-       ESTRPIPE        = syscall.Errno(0x56)
-       ETIME           = syscall.Errno(0x3e)
-       ETIMEDOUT       = syscall.Errno(0x6e)
-       ETOOMANYREFS    = syscall.Errno(0x6d)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUCLEAN         = syscall.Errno(0x75)
-       EUNATCH         = syscall.Errno(0x31)
-       EUSERS          = syscall.Errno(0x57)
-       EWOULDBLOCK     = syscall.Errno(0xb)
-       EXDEV           = syscall.Errno(0x12)
-       EXFULL          = syscall.Errno(0x36)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0x7)
-       SIGCHLD   = syscall.Signal(0x11)
-       SIGCLD    = syscall.Signal(0x11)
-       SIGCONT   = syscall.Signal(0x12)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x1d)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPOLL   = syscall.Signal(0x1d)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGPWR    = syscall.Signal(0x1e)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTKFLT = syscall.Signal(0x10)
-       SIGSTOP   = syscall.Signal(0x13)
-       SIGSYS    = syscall.Signal(0x1f)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x14)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGUNUSED = syscall.Signal(0x1f)
-       SIGURG    = syscall.Signal(0x17)
-       SIGUSR1   = syscall.Signal(0xa)
-       SIGUSR2   = syscall.Signal(0xc)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:   "operation not permitted",
-       2:   "no such file or directory",
-       3:   "no such process",
-       4:   "interrupted system call",
-       5:   "input/output error",
-       6:   "no such device or address",
-       7:   "argument list too long",
-       8:   "exec format error",
-       9:   "bad file descriptor",
-       10:  "no child processes",
-       11:  "resource temporarily unavailable",
-       12:  "cannot allocate memory",
-       13:  "permission denied",
-       14:  "bad address",
-       15:  "block device required",
-       16:  "device or resource busy",
-       17:  "file exists",
-       18:  "invalid cross-device link",
-       19:  "no such device",
-       20:  "not a directory",
-       21:  "is a directory",
-       22:  "invalid argument",
-       23:  "too many open files in system",
-       24:  "too many open files",
-       25:  "inappropriate ioctl for device",
-       26:  "text file busy",
-       27:  "file too large",
-       28:  "no space left on device",
-       29:  "illegal seek",
-       30:  "read-only file system",
-       31:  "too many links",
-       32:  "broken pipe",
-       33:  "numerical argument out of domain",
-       34:  "numerical result out of range",
-       35:  "resource deadlock avoided",
-       36:  "file name too long",
-       37:  "no locks available",
-       38:  "function not implemented",
-       39:  "directory not empty",
-       40:  "too many levels of symbolic links",
-       42:  "no message of desired type",
-       43:  "identifier removed",
-       44:  "channel number out of range",
-       45:  "level 2 not synchronized",
-       46:  "level 3 halted",
-       47:  "level 3 reset",
-       48:  "link number out of range",
-       49:  "protocol driver not attached",
-       50:  "no CSI structure available",
-       51:  "level 2 halted",
-       52:  "invalid exchange",
-       53:  "invalid request descriptor",
-       54:  "exchange full",
-       55:  "no anode",
-       56:  "invalid request code",
-       57:  "invalid slot",
-       59:  "bad font file format",
-       60:  "device not a stream",
-       61:  "no data available",
-       62:  "timer expired",
-       63:  "out of streams resources",
-       64:  "machine is not on the network",
-       65:  "package not installed",
-       66:  "object is remote",
-       67:  "link has been severed",
-       68:  "advertise error",
-       69:  "srmount error",
-       70:  "communication error on send",
-       71:  "protocol error",
-       72:  "multihop attempted",
-       73:  "RFS specific error",
-       74:  "bad message",
-       75:  "value too large for defined data type",
-       76:  "name not unique on network",
-       77:  "file descriptor in bad state",
-       78:  "remote address changed",
-       79:  "can not access a needed shared library",
-       80:  "accessing a corrupted shared library",
-       81:  ".lib section in a.out corrupted",
-       82:  "attempting to link in too many shared libraries",
-       83:  "cannot exec a shared library directly",
-       84:  "invalid or incomplete multibyte or wide character",
-       85:  "interrupted system call should be restarted",
-       86:  "streams pipe error",
-       87:  "too many users",
-       88:  "socket operation on non-socket",
-       89:  "destination address required",
-       90:  "message too long",
-       91:  "protocol wrong type for socket",
-       92:  "protocol not available",
-       93:  "protocol not supported",
-       94:  "socket type not supported",
-       95:  "operation not supported",
-       96:  "protocol family not supported",
-       97:  "address family not supported by protocol",
-       98:  "address already in use",
-       99:  "cannot assign requested address",
-       100: "network is down",
-       101: "network is unreachable",
-       102: "network dropped connection on reset",
-       103: "software caused connection abort",
-       104: "connection reset by peer",
-       105: "no buffer space available",
-       106: "transport endpoint is already connected",
-       107: "transport endpoint is not connected",
-       108: "cannot send after transport endpoint shutdown",
-       109: "too many references: cannot splice",
-       110: "connection timed out",
-       111: "connection refused",
-       112: "host is down",
-       113: "no route to host",
-       114: "operation already in progress",
-       115: "operation now in progress",
-       116: "stale file handle",
-       117: "structure needs cleaning",
-       118: "not a XENIX named type file",
-       119: "no XENIX semaphores available",
-       120: "is a named type file",
-       121: "remote I/O error",
-       122: "disk quota exceeded",
-       123: "no medium found",
-       124: "wrong medium type",
-       125: "operation canceled",
-       126: "required key not available",
-       127: "key has expired",
-       128: "key has been revoked",
-       129: "key was rejected by service",
-       130: "owner died",
-       131: "state not recoverable",
-       132: "operation not possible due to RF-kill",
-       133: "memory page has hardware error",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/breakpoint trap",
-       6:  "aborted",
-       7:  "bus error",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "user defined signal 1",
-       11: "segmentation fault",
-       12: "user defined signal 2",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "stack fault",
-       17: "child exited",
-       18: "continued",
-       19: "stopped (signal)",
-       20: "stopped",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "urgent I/O condition",
-       24: "CPU time limit exceeded",
-       25: "file size limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window changed",
-       29: "I/O possible",
-       30: "power failure",
-       31: "bad system call",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
deleted file mode 100644 (file)
index 198a305..0000000
+++ /dev/null
@@ -1,2096 +0,0 @@
-// mkerrors.sh -Wall -Werror -static -I/tmp/include
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build mips,linux
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_ALG                           = 0x26
-       AF_APPLETALK                     = 0x5
-       AF_ASH                           = 0x12
-       AF_ATMPVC                        = 0x8
-       AF_ATMSVC                        = 0x14
-       AF_AX25                          = 0x3
-       AF_BLUETOOTH                     = 0x1f
-       AF_BRIDGE                        = 0x7
-       AF_CAIF                          = 0x25
-       AF_CAN                           = 0x1d
-       AF_DECnet                        = 0xc
-       AF_ECONET                        = 0x13
-       AF_FILE                          = 0x1
-       AF_IB                            = 0x1b
-       AF_IEEE802154                    = 0x24
-       AF_INET                          = 0x2
-       AF_INET6                         = 0xa
-       AF_IPX                           = 0x4
-       AF_IRDA                          = 0x17
-       AF_ISDN                          = 0x22
-       AF_IUCV                          = 0x20
-       AF_KCM                           = 0x29
-       AF_KEY                           = 0xf
-       AF_LLC                           = 0x1a
-       AF_LOCAL                         = 0x1
-       AF_MAX                           = 0x2b
-       AF_MPLS                          = 0x1c
-       AF_NETBEUI                       = 0xd
-       AF_NETLINK                       = 0x10
-       AF_NETROM                        = 0x6
-       AF_NFC                           = 0x27
-       AF_PACKET                        = 0x11
-       AF_PHONET                        = 0x23
-       AF_PPPOX                         = 0x18
-       AF_QIPCRTR                       = 0x2a
-       AF_RDS                           = 0x15
-       AF_ROSE                          = 0xb
-       AF_ROUTE                         = 0x10
-       AF_RXRPC                         = 0x21
-       AF_SECURITY                      = 0xe
-       AF_SNA                           = 0x16
-       AF_TIPC                          = 0x1e
-       AF_UNIX                          = 0x1
-       AF_UNSPEC                        = 0x0
-       AF_VSOCK                         = 0x28
-       AF_WANPIPE                       = 0x19
-       AF_X25                           = 0x9
-       ALG_OP_DECRYPT                   = 0x0
-       ALG_OP_ENCRYPT                   = 0x1
-       ALG_SET_AEAD_ASSOCLEN            = 0x4
-       ALG_SET_AEAD_AUTHSIZE            = 0x5
-       ALG_SET_IV                       = 0x2
-       ALG_SET_KEY                      = 0x1
-       ALG_SET_OP                       = 0x3
-       ARPHRD_6LOWPAN                   = 0x339
-       ARPHRD_ADAPT                     = 0x108
-       ARPHRD_APPLETLK                  = 0x8
-       ARPHRD_ARCNET                    = 0x7
-       ARPHRD_ASH                       = 0x30d
-       ARPHRD_ATM                       = 0x13
-       ARPHRD_AX25                      = 0x3
-       ARPHRD_BIF                       = 0x307
-       ARPHRD_CAIF                      = 0x336
-       ARPHRD_CAN                       = 0x118
-       ARPHRD_CHAOS                     = 0x5
-       ARPHRD_CISCO                     = 0x201
-       ARPHRD_CSLIP                     = 0x101
-       ARPHRD_CSLIP6                    = 0x103
-       ARPHRD_DDCMP                     = 0x205
-       ARPHRD_DLCI                      = 0xf
-       ARPHRD_ECONET                    = 0x30e
-       ARPHRD_EETHER                    = 0x2
-       ARPHRD_ETHER                     = 0x1
-       ARPHRD_EUI64                     = 0x1b
-       ARPHRD_FCAL                      = 0x311
-       ARPHRD_FCFABRIC                  = 0x313
-       ARPHRD_FCPL                      = 0x312
-       ARPHRD_FCPP                      = 0x310
-       ARPHRD_FDDI                      = 0x306
-       ARPHRD_FRAD                      = 0x302
-       ARPHRD_HDLC                      = 0x201
-       ARPHRD_HIPPI                     = 0x30c
-       ARPHRD_HWX25                     = 0x110
-       ARPHRD_IEEE1394                  = 0x18
-       ARPHRD_IEEE802                   = 0x6
-       ARPHRD_IEEE80211                 = 0x321
-       ARPHRD_IEEE80211_PRISM           = 0x322
-       ARPHRD_IEEE80211_RADIOTAP        = 0x323
-       ARPHRD_IEEE802154                = 0x324
-       ARPHRD_IEEE802154_MONITOR        = 0x325
-       ARPHRD_IEEE802_TR                = 0x320
-       ARPHRD_INFINIBAND                = 0x20
-       ARPHRD_IP6GRE                    = 0x337
-       ARPHRD_IPDDP                     = 0x309
-       ARPHRD_IPGRE                     = 0x30a
-       ARPHRD_IRDA                      = 0x30f
-       ARPHRD_LAPB                      = 0x204
-       ARPHRD_LOCALTLK                  = 0x305
-       ARPHRD_LOOPBACK                  = 0x304
-       ARPHRD_METRICOM                  = 0x17
-       ARPHRD_NETLINK                   = 0x338
-       ARPHRD_NETROM                    = 0x0
-       ARPHRD_NONE                      = 0xfffe
-       ARPHRD_PHONET                    = 0x334
-       ARPHRD_PHONET_PIPE               = 0x335
-       ARPHRD_PIMREG                    = 0x30b
-       ARPHRD_PPP                       = 0x200
-       ARPHRD_PRONET                    = 0x4
-       ARPHRD_RAWHDLC                   = 0x206
-       ARPHRD_ROSE                      = 0x10e
-       ARPHRD_RSRVD                     = 0x104
-       ARPHRD_SIT                       = 0x308
-       ARPHRD_SKIP                      = 0x303
-       ARPHRD_SLIP                      = 0x100
-       ARPHRD_SLIP6                     = 0x102
-       ARPHRD_TUNNEL                    = 0x300
-       ARPHRD_TUNNEL6                   = 0x301
-       ARPHRD_VOID                      = 0xffff
-       ARPHRD_X25                       = 0x10f
-       B0                               = 0x0
-       B1000000                         = 0x1008
-       B110                             = 0x3
-       B115200                          = 0x1002
-       B1152000                         = 0x1009
-       B1200                            = 0x9
-       B134                             = 0x4
-       B150                             = 0x5
-       B1500000                         = 0x100a
-       B1800                            = 0xa
-       B19200                           = 0xe
-       B200                             = 0x6
-       B2000000                         = 0x100b
-       B230400                          = 0x1003
-       B2400                            = 0xb
-       B2500000                         = 0x100c
-       B300                             = 0x7
-       B3000000                         = 0x100d
-       B3500000                         = 0x100e
-       B38400                           = 0xf
-       B4000000                         = 0x100f
-       B460800                          = 0x1004
-       B4800                            = 0xc
-       B50                              = 0x1
-       B500000                          = 0x1005
-       B57600                           = 0x1001
-       B576000                          = 0x1006
-       B600                             = 0x8
-       B75                              = 0x2
-       B921600                          = 0x1007
-       B9600                            = 0xd
-       BLKBSZGET                        = 0x40041270
-       BLKBSZSET                        = 0x80041271
-       BLKFLSBUF                        = 0x20001261
-       BLKFRAGET                        = 0x20001265
-       BLKFRASET                        = 0x20001264
-       BLKGETSIZE                       = 0x20001260
-       BLKGETSIZE64                     = 0x40041272
-       BLKPBSZGET                       = 0x2000127b
-       BLKRAGET                         = 0x20001263
-       BLKRASET                         = 0x20001262
-       BLKROGET                         = 0x2000125e
-       BLKROSET                         = 0x2000125d
-       BLKRRPART                        = 0x2000125f
-       BLKSECTGET                       = 0x20001267
-       BLKSECTSET                       = 0x20001266
-       BLKSSZGET                        = 0x20001268
-       BOTHER                           = 0x1000
-       BPF_A                            = 0x10
-       BPF_ABS                          = 0x20
-       BPF_ADD                          = 0x0
-       BPF_ALU                          = 0x4
-       BPF_AND                          = 0x50
-       BPF_B                            = 0x10
-       BPF_DIV                          = 0x30
-       BPF_H                            = 0x8
-       BPF_IMM                          = 0x0
-       BPF_IND                          = 0x40
-       BPF_JA                           = 0x0
-       BPF_JEQ                          = 0x10
-       BPF_JGE                          = 0x30
-       BPF_JGT                          = 0x20
-       BPF_JMP                          = 0x5
-       BPF_JSET                         = 0x40
-       BPF_K                            = 0x0
-       BPF_LD                           = 0x0
-       BPF_LDX                          = 0x1
-       BPF_LEN                          = 0x80
-       BPF_LL_OFF                       = -0x200000
-       BPF_LSH                          = 0x60
-       BPF_MAJOR_VERSION                = 0x1
-       BPF_MAXINSNS                     = 0x1000
-       BPF_MEM                          = 0x60
-       BPF_MEMWORDS                     = 0x10
-       BPF_MINOR_VERSION                = 0x1
-       BPF_MISC                         = 0x7
-       BPF_MOD                          = 0x90
-       BPF_MSH                          = 0xa0
-       BPF_MUL                          = 0x20
-       BPF_NEG                          = 0x80
-       BPF_NET_OFF                      = -0x100000
-       BPF_OR                           = 0x40
-       BPF_RET                          = 0x6
-       BPF_RSH                          = 0x70
-       BPF_ST                           = 0x2
-       BPF_STX                          = 0x3
-       BPF_SUB                          = 0x10
-       BPF_TAX                          = 0x0
-       BPF_TXA                          = 0x80
-       BPF_W                            = 0x0
-       BPF_X                            = 0x8
-       BPF_XOR                          = 0xa0
-       BRKINT                           = 0x2
-       BS0                              = 0x0
-       BS1                              = 0x2000
-       BSDLY                            = 0x2000
-       CAN_BCM                          = 0x2
-       CAN_EFF_FLAG                     = 0x80000000
-       CAN_EFF_ID_BITS                  = 0x1d
-       CAN_EFF_MASK                     = 0x1fffffff
-       CAN_ERR_FLAG                     = 0x20000000
-       CAN_ERR_MASK                     = 0x1fffffff
-       CAN_INV_FILTER                   = 0x20000000
-       CAN_ISOTP                        = 0x6
-       CAN_MAX_DLC                      = 0x8
-       CAN_MAX_DLEN                     = 0x8
-       CAN_MCNET                        = 0x5
-       CAN_MTU                          = 0x10
-       CAN_NPROTO                       = 0x7
-       CAN_RAW                          = 0x1
-       CAN_RAW_FILTER_MAX               = 0x200
-       CAN_RTR_FLAG                     = 0x40000000
-       CAN_SFF_ID_BITS                  = 0xb
-       CAN_SFF_MASK                     = 0x7ff
-       CAN_TP16                         = 0x3
-       CAN_TP20                         = 0x4
-       CBAUD                            = 0x100f
-       CBAUDEX                          = 0x1000
-       CFLUSH                           = 0xf
-       CIBAUD                           = 0x100f0000
-       CLOCAL                           = 0x800
-       CLOCK_BOOTTIME                   = 0x7
-       CLOCK_BOOTTIME_ALARM             = 0x9
-       CLOCK_DEFAULT                    = 0x0
-       CLOCK_EXT                        = 0x1
-       CLOCK_INT                        = 0x2
-       CLOCK_MONOTONIC                  = 0x1
-       CLOCK_MONOTONIC_COARSE           = 0x6
-       CLOCK_MONOTONIC_RAW              = 0x4
-       CLOCK_PROCESS_CPUTIME_ID         = 0x2
-       CLOCK_REALTIME                   = 0x0
-       CLOCK_REALTIME_ALARM             = 0x8
-       CLOCK_REALTIME_COARSE            = 0x5
-       CLOCK_TAI                        = 0xb
-       CLOCK_THREAD_CPUTIME_ID          = 0x3
-       CLOCK_TXFROMRX                   = 0x4
-       CLOCK_TXINT                      = 0x3
-       CLONE_CHILD_CLEARTID             = 0x200000
-       CLONE_CHILD_SETTID               = 0x1000000
-       CLONE_DETACHED                   = 0x400000
-       CLONE_FILES                      = 0x400
-       CLONE_FS                         = 0x200
-       CLONE_IO                         = 0x80000000
-       CLONE_NEWCGROUP                  = 0x2000000
-       CLONE_NEWIPC                     = 0x8000000
-       CLONE_NEWNET                     = 0x40000000
-       CLONE_NEWNS                      = 0x20000
-       CLONE_NEWPID                     = 0x20000000
-       CLONE_NEWUSER                    = 0x10000000
-       CLONE_NEWUTS                     = 0x4000000
-       CLONE_PARENT                     = 0x8000
-       CLONE_PARENT_SETTID              = 0x100000
-       CLONE_PTRACE                     = 0x2000
-       CLONE_SETTLS                     = 0x80000
-       CLONE_SIGHAND                    = 0x800
-       CLONE_SYSVSEM                    = 0x40000
-       CLONE_THREAD                     = 0x10000
-       CLONE_UNTRACED                   = 0x800000
-       CLONE_VFORK                      = 0x4000
-       CLONE_VM                         = 0x100
-       CMSPAR                           = 0x40000000
-       CR0                              = 0x0
-       CR1                              = 0x200
-       CR2                              = 0x400
-       CR3                              = 0x600
-       CRDLY                            = 0x600
-       CREAD                            = 0x80
-       CRTSCTS                          = 0x80000000
-       CS5                              = 0x0
-       CS6                              = 0x10
-       CS7                              = 0x20
-       CS8                              = 0x30
-       CSIGNAL                          = 0xff
-       CSIZE                            = 0x30
-       CSTART                           = 0x11
-       CSTATUS                          = 0x0
-       CSTOP                            = 0x13
-       CSTOPB                           = 0x40
-       CSUSP                            = 0x1a
-       DT_BLK                           = 0x6
-       DT_CHR                           = 0x2
-       DT_DIR                           = 0x4
-       DT_FIFO                          = 0x1
-       DT_LNK                           = 0xa
-       DT_REG                           = 0x8
-       DT_SOCK                          = 0xc
-       DT_UNKNOWN                       = 0x0
-       DT_WHT                           = 0xe
-       ECHO                             = 0x8
-       ECHOCTL                          = 0x200
-       ECHOE                            = 0x10
-       ECHOK                            = 0x20
-       ECHOKE                           = 0x800
-       ECHONL                           = 0x40
-       ECHOPRT                          = 0x400
-       ENCODING_DEFAULT                 = 0x0
-       ENCODING_FM_MARK                 = 0x3
-       ENCODING_FM_SPACE                = 0x4
-       ENCODING_MANCHESTER              = 0x5
-       ENCODING_NRZ                     = 0x1
-       ENCODING_NRZI                    = 0x2
-       EPOLLERR                         = 0x8
-       EPOLLET                          = 0x80000000
-       EPOLLEXCLUSIVE                   = 0x10000000
-       EPOLLHUP                         = 0x10
-       EPOLLIN                          = 0x1
-       EPOLLMSG                         = 0x400
-       EPOLLONESHOT                     = 0x40000000
-       EPOLLOUT                         = 0x4
-       EPOLLPRI                         = 0x2
-       EPOLLRDBAND                      = 0x80
-       EPOLLRDHUP                       = 0x2000
-       EPOLLRDNORM                      = 0x40
-       EPOLLWAKEUP                      = 0x20000000
-       EPOLLWRBAND                      = 0x200
-       EPOLLWRNORM                      = 0x100
-       EPOLL_CLOEXEC                    = 0x80000
-       EPOLL_CTL_ADD                    = 0x1
-       EPOLL_CTL_DEL                    = 0x2
-       EPOLL_CTL_MOD                    = 0x3
-       ETH_P_1588                       = 0x88f7
-       ETH_P_8021AD                     = 0x88a8
-       ETH_P_8021AH                     = 0x88e7
-       ETH_P_8021Q                      = 0x8100
-       ETH_P_80221                      = 0x8917
-       ETH_P_802_2                      = 0x4
-       ETH_P_802_3                      = 0x1
-       ETH_P_802_3_MIN                  = 0x600
-       ETH_P_802_EX1                    = 0x88b5
-       ETH_P_AARP                       = 0x80f3
-       ETH_P_AF_IUCV                    = 0xfbfb
-       ETH_P_ALL                        = 0x3
-       ETH_P_AOE                        = 0x88a2
-       ETH_P_ARCNET                     = 0x1a
-       ETH_P_ARP                        = 0x806
-       ETH_P_ATALK                      = 0x809b
-       ETH_P_ATMFATE                    = 0x8884
-       ETH_P_ATMMPOA                    = 0x884c
-       ETH_P_AX25                       = 0x2
-       ETH_P_BATMAN                     = 0x4305
-       ETH_P_BPQ                        = 0x8ff
-       ETH_P_CAIF                       = 0xf7
-       ETH_P_CAN                        = 0xc
-       ETH_P_CANFD                      = 0xd
-       ETH_P_CONTROL                    = 0x16
-       ETH_P_CUST                       = 0x6006
-       ETH_P_DDCMP                      = 0x6
-       ETH_P_DEC                        = 0x6000
-       ETH_P_DIAG                       = 0x6005
-       ETH_P_DNA_DL                     = 0x6001
-       ETH_P_DNA_RC                     = 0x6002
-       ETH_P_DNA_RT                     = 0x6003
-       ETH_P_DSA                        = 0x1b
-       ETH_P_ECONET                     = 0x18
-       ETH_P_EDSA                       = 0xdada
-       ETH_P_FCOE                       = 0x8906
-       ETH_P_FIP                        = 0x8914
-       ETH_P_HDLC                       = 0x19
-       ETH_P_HSR                        = 0x892f
-       ETH_P_IEEE802154                 = 0xf6
-       ETH_P_IEEEPUP                    = 0xa00
-       ETH_P_IEEEPUPAT                  = 0xa01
-       ETH_P_IP                         = 0x800
-       ETH_P_IPV6                       = 0x86dd
-       ETH_P_IPX                        = 0x8137
-       ETH_P_IRDA                       = 0x17
-       ETH_P_LAT                        = 0x6004
-       ETH_P_LINK_CTL                   = 0x886c
-       ETH_P_LOCALTALK                  = 0x9
-       ETH_P_LOOP                       = 0x60
-       ETH_P_LOOPBACK                   = 0x9000
-       ETH_P_MACSEC                     = 0x88e5
-       ETH_P_MOBITEX                    = 0x15
-       ETH_P_MPLS_MC                    = 0x8848
-       ETH_P_MPLS_UC                    = 0x8847
-       ETH_P_MVRP                       = 0x88f5
-       ETH_P_NCSI                       = 0x88f8
-       ETH_P_PAE                        = 0x888e
-       ETH_P_PAUSE                      = 0x8808
-       ETH_P_PHONET                     = 0xf5
-       ETH_P_PPPTALK                    = 0x10
-       ETH_P_PPP_DISC                   = 0x8863
-       ETH_P_PPP_MP                     = 0x8
-       ETH_P_PPP_SES                    = 0x8864
-       ETH_P_PRP                        = 0x88fb
-       ETH_P_PUP                        = 0x200
-       ETH_P_PUPAT                      = 0x201
-       ETH_P_QINQ1                      = 0x9100
-       ETH_P_QINQ2                      = 0x9200
-       ETH_P_QINQ3                      = 0x9300
-       ETH_P_RARP                       = 0x8035
-       ETH_P_SCA                        = 0x6007
-       ETH_P_SLOW                       = 0x8809
-       ETH_P_SNAP                       = 0x5
-       ETH_P_TDLS                       = 0x890d
-       ETH_P_TEB                        = 0x6558
-       ETH_P_TIPC                       = 0x88ca
-       ETH_P_TRAILER                    = 0x1c
-       ETH_P_TR_802_2                   = 0x11
-       ETH_P_TSN                        = 0x22f0
-       ETH_P_WAN_PPP                    = 0x7
-       ETH_P_WCCP                       = 0x883e
-       ETH_P_X25                        = 0x805
-       ETH_P_XDSA                       = 0xf8
-       EXTA                             = 0xe
-       EXTB                             = 0xf
-       EXTPROC                          = 0x10000
-       FALLOC_FL_COLLAPSE_RANGE         = 0x8
-       FALLOC_FL_INSERT_RANGE           = 0x20
-       FALLOC_FL_KEEP_SIZE              = 0x1
-       FALLOC_FL_NO_HIDE_STALE          = 0x4
-       FALLOC_FL_PUNCH_HOLE             = 0x2
-       FALLOC_FL_UNSHARE_RANGE          = 0x40
-       FALLOC_FL_ZERO_RANGE             = 0x10
-       FD_CLOEXEC                       = 0x1
-       FD_SETSIZE                       = 0x400
-       FF0                              = 0x0
-       FF1                              = 0x8000
-       FFDLY                            = 0x8000
-       FLUSHO                           = 0x2000
-       FS_ENCRYPTION_MODE_AES_256_CBC   = 0x3
-       FS_ENCRYPTION_MODE_AES_256_CTS   = 0x4
-       FS_ENCRYPTION_MODE_AES_256_GCM   = 0x2
-       FS_ENCRYPTION_MODE_AES_256_XTS   = 0x1
-       FS_ENCRYPTION_MODE_INVALID       = 0x0
-       FS_IOC_GET_ENCRYPTION_POLICY     = 0x800c6615
-       FS_IOC_GET_ENCRYPTION_PWSALT     = 0x80106614
-       FS_IOC_SET_ENCRYPTION_POLICY     = 0x400c6613
-       FS_KEY_DESCRIPTOR_SIZE           = 0x8
-       FS_KEY_DESC_PREFIX               = "fscrypt:"
-       FS_KEY_DESC_PREFIX_SIZE          = 0x8
-       FS_MAX_KEY_SIZE                  = 0x40
-       FS_POLICY_FLAGS_PAD_16           = 0x2
-       FS_POLICY_FLAGS_PAD_32           = 0x3
-       FS_POLICY_FLAGS_PAD_4            = 0x0
-       FS_POLICY_FLAGS_PAD_8            = 0x1
-       FS_POLICY_FLAGS_PAD_MASK         = 0x3
-       FS_POLICY_FLAGS_VALID            = 0x3
-       F_DUPFD                          = 0x0
-       F_DUPFD_CLOEXEC                  = 0x406
-       F_EXLCK                          = 0x4
-       F_GETFD                          = 0x1
-       F_GETFL                          = 0x3
-       F_GETLEASE                       = 0x401
-       F_GETLK                          = 0x21
-       F_GETLK64                        = 0x21
-       F_GETOWN                         = 0x17
-       F_GETOWN_EX                      = 0x10
-       F_GETPIPE_SZ                     = 0x408
-       F_GETSIG                         = 0xb
-       F_LOCK                           = 0x1
-       F_NOTIFY                         = 0x402
-       F_OFD_GETLK                      = 0x24
-       F_OFD_SETLK                      = 0x25
-       F_OFD_SETLKW                     = 0x26
-       F_OK                             = 0x0
-       F_RDLCK                          = 0x0
-       F_SETFD                          = 0x2
-       F_SETFL                          = 0x4
-       F_SETLEASE                       = 0x400
-       F_SETLK                          = 0x22
-       F_SETLK64                        = 0x22
-       F_SETLKW                         = 0x23
-       F_SETLKW64                       = 0x23
-       F_SETOWN                         = 0x18
-       F_SETOWN_EX                      = 0xf
-       F_SETPIPE_SZ                     = 0x407
-       F_SETSIG                         = 0xa
-       F_SHLCK                          = 0x8
-       F_TEST                           = 0x3
-       F_TLOCK                          = 0x2
-       F_ULOCK                          = 0x0
-       F_UNLCK                          = 0x2
-       F_WRLCK                          = 0x1
-       GRND_NONBLOCK                    = 0x1
-       GRND_RANDOM                      = 0x2
-       HUPCL                            = 0x400
-       IBSHIFT                          = 0x10
-       ICANON                           = 0x2
-       ICMPV6_FILTER                    = 0x1
-       ICRNL                            = 0x100
-       IEXTEN                           = 0x100
-       IFA_F_DADFAILED                  = 0x8
-       IFA_F_DEPRECATED                 = 0x20
-       IFA_F_HOMEADDRESS                = 0x10
-       IFA_F_MANAGETEMPADDR             = 0x100
-       IFA_F_MCAUTOJOIN                 = 0x400
-       IFA_F_NODAD                      = 0x2
-       IFA_F_NOPREFIXROUTE              = 0x200
-       IFA_F_OPTIMISTIC                 = 0x4
-       IFA_F_PERMANENT                  = 0x80
-       IFA_F_SECONDARY                  = 0x1
-       IFA_F_STABLE_PRIVACY             = 0x800
-       IFA_F_TEMPORARY                  = 0x1
-       IFA_F_TENTATIVE                  = 0x40
-       IFA_MAX                          = 0x8
-       IFF_ALLMULTI                     = 0x200
-       IFF_ATTACH_QUEUE                 = 0x200
-       IFF_AUTOMEDIA                    = 0x4000
-       IFF_BROADCAST                    = 0x2
-       IFF_DEBUG                        = 0x4
-       IFF_DETACH_QUEUE                 = 0x400
-       IFF_DORMANT                      = 0x20000
-       IFF_DYNAMIC                      = 0x8000
-       IFF_ECHO                         = 0x40000
-       IFF_LOOPBACK                     = 0x8
-       IFF_LOWER_UP                     = 0x10000
-       IFF_MASTER                       = 0x400
-       IFF_MULTICAST                    = 0x1000
-       IFF_MULTI_QUEUE                  = 0x100
-       IFF_NOARP                        = 0x80
-       IFF_NOFILTER                     = 0x1000
-       IFF_NOTRAILERS                   = 0x20
-       IFF_NO_PI                        = 0x1000
-       IFF_ONE_QUEUE                    = 0x2000
-       IFF_PERSIST                      = 0x800
-       IFF_POINTOPOINT                  = 0x10
-       IFF_PORTSEL                      = 0x2000
-       IFF_PROMISC                      = 0x100
-       IFF_RUNNING                      = 0x40
-       IFF_SLAVE                        = 0x800
-       IFF_TAP                          = 0x2
-       IFF_TUN                          = 0x1
-       IFF_TUN_EXCL                     = 0x8000
-       IFF_UP                           = 0x1
-       IFF_VNET_HDR                     = 0x4000
-       IFF_VOLATILE                     = 0x70c5a
-       IFNAMSIZ                         = 0x10
-       IGNBRK                           = 0x1
-       IGNCR                            = 0x80
-       IGNPAR                           = 0x4
-       IMAXBEL                          = 0x2000
-       INLCR                            = 0x40
-       INPCK                            = 0x10
-       IN_ACCESS                        = 0x1
-       IN_ALL_EVENTS                    = 0xfff
-       IN_ATTRIB                        = 0x4
-       IN_CLASSA_HOST                   = 0xffffff
-       IN_CLASSA_MAX                    = 0x80
-       IN_CLASSA_NET                    = 0xff000000
-       IN_CLASSA_NSHIFT                 = 0x18
-       IN_CLASSB_HOST                   = 0xffff
-       IN_CLASSB_MAX                    = 0x10000
-       IN_CLASSB_NET                    = 0xffff0000
-       IN_CLASSB_NSHIFT                 = 0x10
-       IN_CLASSC_HOST                   = 0xff
-       IN_CLASSC_NET                    = 0xffffff00
-       IN_CLASSC_NSHIFT                 = 0x8
-       IN_CLOEXEC                       = 0x80000
-       IN_CLOSE                         = 0x18
-       IN_CLOSE_NOWRITE                 = 0x10
-       IN_CLOSE_WRITE                   = 0x8
-       IN_CREATE                        = 0x100
-       IN_DELETE                        = 0x200
-       IN_DELETE_SELF                   = 0x400
-       IN_DONT_FOLLOW                   = 0x2000000
-       IN_EXCL_UNLINK                   = 0x4000000
-       IN_IGNORED                       = 0x8000
-       IN_ISDIR                         = 0x40000000
-       IN_LOOPBACKNET                   = 0x7f
-       IN_MASK_ADD                      = 0x20000000
-       IN_MODIFY                        = 0x2
-       IN_MOVE                          = 0xc0
-       IN_MOVED_FROM                    = 0x40
-       IN_MOVED_TO                      = 0x80
-       IN_MOVE_SELF                     = 0x800
-       IN_NONBLOCK                      = 0x80
-       IN_ONESHOT                       = 0x80000000
-       IN_ONLYDIR                       = 0x1000000
-       IN_OPEN                          = 0x20
-       IN_Q_OVERFLOW                    = 0x4000
-       IN_UNMOUNT                       = 0x2000
-       IPPROTO_AH                       = 0x33
-       IPPROTO_BEETPH                   = 0x5e
-       IPPROTO_COMP                     = 0x6c
-       IPPROTO_DCCP                     = 0x21
-       IPPROTO_DSTOPTS                  = 0x3c
-       IPPROTO_EGP                      = 0x8
-       IPPROTO_ENCAP                    = 0x62
-       IPPROTO_ESP                      = 0x32
-       IPPROTO_FRAGMENT                 = 0x2c
-       IPPROTO_GRE                      = 0x2f
-       IPPROTO_HOPOPTS                  = 0x0
-       IPPROTO_ICMP                     = 0x1
-       IPPROTO_ICMPV6                   = 0x3a
-       IPPROTO_IDP                      = 0x16
-       IPPROTO_IGMP                     = 0x2
-       IPPROTO_IP                       = 0x0
-       IPPROTO_IPIP                     = 0x4
-       IPPROTO_IPV6                     = 0x29
-       IPPROTO_MH                       = 0x87
-       IPPROTO_MPLS                     = 0x89
-       IPPROTO_MTP                      = 0x5c
-       IPPROTO_NONE                     = 0x3b
-       IPPROTO_PIM                      = 0x67
-       IPPROTO_PUP                      = 0xc
-       IPPROTO_RAW                      = 0xff
-       IPPROTO_ROUTING                  = 0x2b
-       IPPROTO_RSVP                     = 0x2e
-       IPPROTO_SCTP                     = 0x84
-       IPPROTO_TCP                      = 0x6
-       IPPROTO_TP                       = 0x1d
-       IPPROTO_UDP                      = 0x11
-       IPPROTO_UDPLITE                  = 0x88
-       IPV6_2292DSTOPTS                 = 0x4
-       IPV6_2292HOPLIMIT                = 0x8
-       IPV6_2292HOPOPTS                 = 0x3
-       IPV6_2292PKTINFO                 = 0x2
-       IPV6_2292PKTOPTIONS              = 0x6
-       IPV6_2292RTHDR                   = 0x5
-       IPV6_ADDRFORM                    = 0x1
-       IPV6_ADD_MEMBERSHIP              = 0x14
-       IPV6_AUTHHDR                     = 0xa
-       IPV6_CHECKSUM                    = 0x7
-       IPV6_DONTFRAG                    = 0x3e
-       IPV6_DROP_MEMBERSHIP             = 0x15
-       IPV6_DSTOPTS                     = 0x3b
-       IPV6_HDRINCL                     = 0x24
-       IPV6_HOPLIMIT                    = 0x34
-       IPV6_HOPOPTS                     = 0x36
-       IPV6_IPSEC_POLICY                = 0x22
-       IPV6_JOIN_ANYCAST                = 0x1b
-       IPV6_JOIN_GROUP                  = 0x14
-       IPV6_LEAVE_ANYCAST               = 0x1c
-       IPV6_LEAVE_GROUP                 = 0x15
-       IPV6_MTU                         = 0x18
-       IPV6_MTU_DISCOVER                = 0x17
-       IPV6_MULTICAST_HOPS              = 0x12
-       IPV6_MULTICAST_IF                = 0x11
-       IPV6_MULTICAST_LOOP              = 0x13
-       IPV6_NEXTHOP                     = 0x9
-       IPV6_PATHMTU                     = 0x3d
-       IPV6_PKTINFO                     = 0x32
-       IPV6_PMTUDISC_DO                 = 0x2
-       IPV6_PMTUDISC_DONT               = 0x0
-       IPV6_PMTUDISC_INTERFACE          = 0x4
-       IPV6_PMTUDISC_OMIT               = 0x5
-       IPV6_PMTUDISC_PROBE              = 0x3
-       IPV6_PMTUDISC_WANT               = 0x1
-       IPV6_RECVDSTOPTS                 = 0x3a
-       IPV6_RECVERR                     = 0x19
-       IPV6_RECVHOPLIMIT                = 0x33
-       IPV6_RECVHOPOPTS                 = 0x35
-       IPV6_RECVPATHMTU                 = 0x3c
-       IPV6_RECVPKTINFO                 = 0x31
-       IPV6_RECVRTHDR                   = 0x38
-       IPV6_RECVTCLASS                  = 0x42
-       IPV6_ROUTER_ALERT                = 0x16
-       IPV6_RTHDR                       = 0x39
-       IPV6_RTHDRDSTOPTS                = 0x37
-       IPV6_RTHDR_LOOSE                 = 0x0
-       IPV6_RTHDR_STRICT                = 0x1
-       IPV6_RTHDR_TYPE_0                = 0x0
-       IPV6_RXDSTOPTS                   = 0x3b
-       IPV6_RXHOPOPTS                   = 0x36
-       IPV6_TCLASS                      = 0x43
-       IPV6_UNICAST_HOPS                = 0x10
-       IPV6_V6ONLY                      = 0x1a
-       IPV6_XFRM_POLICY                 = 0x23
-       IP_ADD_MEMBERSHIP                = 0x23
-       IP_ADD_SOURCE_MEMBERSHIP         = 0x27
-       IP_BIND_ADDRESS_NO_PORT          = 0x18
-       IP_BLOCK_SOURCE                  = 0x26
-       IP_CHECKSUM                      = 0x17
-       IP_DEFAULT_MULTICAST_LOOP        = 0x1
-       IP_DEFAULT_MULTICAST_TTL         = 0x1
-       IP_DF                            = 0x4000
-       IP_DROP_MEMBERSHIP               = 0x24
-       IP_DROP_SOURCE_MEMBERSHIP        = 0x28
-       IP_FREEBIND                      = 0xf
-       IP_HDRINCL                       = 0x3
-       IP_IPSEC_POLICY                  = 0x10
-       IP_MAXPACKET                     = 0xffff
-       IP_MAX_MEMBERSHIPS               = 0x14
-       IP_MF                            = 0x2000
-       IP_MINTTL                        = 0x15
-       IP_MSFILTER                      = 0x29
-       IP_MSS                           = 0x240
-       IP_MTU                           = 0xe
-       IP_MTU_DISCOVER                  = 0xa
-       IP_MULTICAST_ALL                 = 0x31
-       IP_MULTICAST_IF                  = 0x20
-       IP_MULTICAST_LOOP                = 0x22
-       IP_MULTICAST_TTL                 = 0x21
-       IP_NODEFRAG                      = 0x16
-       IP_OFFMASK                       = 0x1fff
-       IP_OPTIONS                       = 0x4
-       IP_ORIGDSTADDR                   = 0x14
-       IP_PASSSEC                       = 0x12
-       IP_PKTINFO                       = 0x8
-       IP_PKTOPTIONS                    = 0x9
-       IP_PMTUDISC                      = 0xa
-       IP_PMTUDISC_DO                   = 0x2
-       IP_PMTUDISC_DONT                 = 0x0
-       IP_PMTUDISC_INTERFACE            = 0x4
-       IP_PMTUDISC_OMIT                 = 0x5
-       IP_PMTUDISC_PROBE                = 0x3
-       IP_PMTUDISC_WANT                 = 0x1
-       IP_RECVERR                       = 0xb
-       IP_RECVOPTS                      = 0x6
-       IP_RECVORIGDSTADDR               = 0x14
-       IP_RECVRETOPTS                   = 0x7
-       IP_RECVTOS                       = 0xd
-       IP_RECVTTL                       = 0xc
-       IP_RETOPTS                       = 0x7
-       IP_RF                            = 0x8000
-       IP_ROUTER_ALERT                  = 0x5
-       IP_TOS                           = 0x1
-       IP_TRANSPARENT                   = 0x13
-       IP_TTL                           = 0x2
-       IP_UNBLOCK_SOURCE                = 0x25
-       IP_UNICAST_IF                    = 0x32
-       IP_XFRM_POLICY                   = 0x11
-       ISIG                             = 0x1
-       ISTRIP                           = 0x20
-       IUCLC                            = 0x200
-       IUTF8                            = 0x4000
-       IXANY                            = 0x800
-       IXOFF                            = 0x1000
-       IXON                             = 0x400
-       LINUX_REBOOT_CMD_CAD_OFF         = 0x0
-       LINUX_REBOOT_CMD_CAD_ON          = 0x89abcdef
-       LINUX_REBOOT_CMD_HALT            = 0xcdef0123
-       LINUX_REBOOT_CMD_KEXEC           = 0x45584543
-       LINUX_REBOOT_CMD_POWER_OFF       = 0x4321fedc
-       LINUX_REBOOT_CMD_RESTART         = 0x1234567
-       LINUX_REBOOT_CMD_RESTART2        = 0xa1b2c3d4
-       LINUX_REBOOT_CMD_SW_SUSPEND      = 0xd000fce2
-       LINUX_REBOOT_MAGIC1              = 0xfee1dead
-       LINUX_REBOOT_MAGIC2              = 0x28121969
-       LOCK_EX                          = 0x2
-       LOCK_NB                          = 0x4
-       LOCK_SH                          = 0x1
-       LOCK_UN                          = 0x8
-       MADV_DODUMP                      = 0x11
-       MADV_DOFORK                      = 0xb
-       MADV_DONTDUMP                    = 0x10
-       MADV_DONTFORK                    = 0xa
-       MADV_DONTNEED                    = 0x4
-       MADV_FREE                        = 0x8
-       MADV_HUGEPAGE                    = 0xe
-       MADV_HWPOISON                    = 0x64
-       MADV_MERGEABLE                   = 0xc
-       MADV_NOHUGEPAGE                  = 0xf
-       MADV_NORMAL                      = 0x0
-       MADV_RANDOM                      = 0x1
-       MADV_REMOVE                      = 0x9
-       MADV_SEQUENTIAL                  = 0x2
-       MADV_UNMERGEABLE                 = 0xd
-       MADV_WILLNEED                    = 0x3
-       MAP_ANON                         = 0x800
-       MAP_ANONYMOUS                    = 0x800
-       MAP_DENYWRITE                    = 0x2000
-       MAP_EXECUTABLE                   = 0x4000
-       MAP_FILE                         = 0x0
-       MAP_FIXED                        = 0x10
-       MAP_GROWSDOWN                    = 0x1000
-       MAP_HUGETLB                      = 0x80000
-       MAP_HUGE_MASK                    = 0x3f
-       MAP_HUGE_SHIFT                   = 0x1a
-       MAP_LOCKED                       = 0x8000
-       MAP_NONBLOCK                     = 0x20000
-       MAP_NORESERVE                    = 0x400
-       MAP_POPULATE                     = 0x10000
-       MAP_PRIVATE                      = 0x2
-       MAP_RENAME                       = 0x800
-       MAP_SHARED                       = 0x1
-       MAP_STACK                        = 0x40000
-       MAP_TYPE                         = 0xf
-       MCL_CURRENT                      = 0x1
-       MCL_FUTURE                       = 0x2
-       MCL_ONFAULT                      = 0x4
-       MNT_DETACH                       = 0x2
-       MNT_EXPIRE                       = 0x4
-       MNT_FORCE                        = 0x1
-       MSG_BATCH                        = 0x40000
-       MSG_CMSG_CLOEXEC                 = 0x40000000
-       MSG_CONFIRM                      = 0x800
-       MSG_CTRUNC                       = 0x8
-       MSG_DONTROUTE                    = 0x4
-       MSG_DONTWAIT                     = 0x40
-       MSG_EOR                          = 0x80
-       MSG_ERRQUEUE                     = 0x2000
-       MSG_FASTOPEN                     = 0x20000000
-       MSG_FIN                          = 0x200
-       MSG_MORE                         = 0x8000
-       MSG_NOSIGNAL                     = 0x4000
-       MSG_OOB                          = 0x1
-       MSG_PEEK                         = 0x2
-       MSG_PROXY                        = 0x10
-       MSG_RST                          = 0x1000
-       MSG_SYN                          = 0x400
-       MSG_TRUNC                        = 0x20
-       MSG_TRYHARD                      = 0x4
-       MSG_WAITALL                      = 0x100
-       MSG_WAITFORONE                   = 0x10000
-       MS_ACTIVE                        = 0x40000000
-       MS_ASYNC                         = 0x1
-       MS_BIND                          = 0x1000
-       MS_BORN                          = 0x20000000
-       MS_DIRSYNC                       = 0x80
-       MS_INVALIDATE                    = 0x2
-       MS_I_VERSION                     = 0x800000
-       MS_KERNMOUNT                     = 0x400000
-       MS_LAZYTIME                      = 0x2000000
-       MS_MANDLOCK                      = 0x40
-       MS_MGC_MSK                       = 0xffff0000
-       MS_MGC_VAL                       = 0xc0ed0000
-       MS_MOVE                          = 0x2000
-       MS_NOATIME                       = 0x400
-       MS_NODEV                         = 0x4
-       MS_NODIRATIME                    = 0x800
-       MS_NOEXEC                        = 0x8
-       MS_NOREMOTELOCK                  = 0x8000000
-       MS_NOSEC                         = 0x10000000
-       MS_NOSUID                        = 0x2
-       MS_NOUSER                        = -0x80000000
-       MS_POSIXACL                      = 0x10000
-       MS_PRIVATE                       = 0x40000
-       MS_RDONLY                        = 0x1
-       MS_REC                           = 0x4000
-       MS_RELATIME                      = 0x200000
-       MS_REMOUNT                       = 0x20
-       MS_RMT_MASK                      = 0x2800051
-       MS_SHARED                        = 0x100000
-       MS_SILENT                        = 0x8000
-       MS_SLAVE                         = 0x80000
-       MS_STRICTATIME                   = 0x1000000
-       MS_SYNC                          = 0x4
-       MS_SYNCHRONOUS                   = 0x10
-       MS_UNBINDABLE                    = 0x20000
-       MS_VERBOSE                       = 0x8000
-       NAME_MAX                         = 0xff
-       NETLINK_ADD_MEMBERSHIP           = 0x1
-       NETLINK_AUDIT                    = 0x9
-       NETLINK_BROADCAST_ERROR          = 0x4
-       NETLINK_CAP_ACK                  = 0xa
-       NETLINK_CONNECTOR                = 0xb
-       NETLINK_CRYPTO                   = 0x15
-       NETLINK_DNRTMSG                  = 0xe
-       NETLINK_DROP_MEMBERSHIP          = 0x2
-       NETLINK_ECRYPTFS                 = 0x13
-       NETLINK_FIB_LOOKUP               = 0xa
-       NETLINK_FIREWALL                 = 0x3
-       NETLINK_GENERIC                  = 0x10
-       NETLINK_INET_DIAG                = 0x4
-       NETLINK_IP6_FW                   = 0xd
-       NETLINK_ISCSI                    = 0x8
-       NETLINK_KOBJECT_UEVENT           = 0xf
-       NETLINK_LISTEN_ALL_NSID          = 0x8
-       NETLINK_LIST_MEMBERSHIPS         = 0x9
-       NETLINK_NETFILTER                = 0xc
-       NETLINK_NFLOG                    = 0x5
-       NETLINK_NO_ENOBUFS               = 0x5
-       NETLINK_PKTINFO                  = 0x3
-       NETLINK_RDMA                     = 0x14
-       NETLINK_ROUTE                    = 0x0
-       NETLINK_RX_RING                  = 0x6
-       NETLINK_SCSITRANSPORT            = 0x12
-       NETLINK_SELINUX                  = 0x7
-       NETLINK_SOCK_DIAG                = 0x4
-       NETLINK_TX_RING                  = 0x7
-       NETLINK_UNUSED                   = 0x1
-       NETLINK_USERSOCK                 = 0x2
-       NETLINK_XFRM                     = 0x6
-       NL0                              = 0x0
-       NL1                              = 0x100
-       NLA_ALIGNTO                      = 0x4
-       NLA_F_NESTED                     = 0x8000
-       NLA_F_NET_BYTEORDER              = 0x4000
-       NLA_HDRLEN                       = 0x4
-       NLDLY                            = 0x100
-       NLMSG_ALIGNTO                    = 0x4
-       NLMSG_DONE                       = 0x3
-       NLMSG_ERROR                      = 0x2
-       NLMSG_HDRLEN                     = 0x10
-       NLMSG_MIN_TYPE                   = 0x10
-       NLMSG_NOOP                       = 0x1
-       NLMSG_OVERRUN                    = 0x4
-       NLM_F_ACK                        = 0x4
-       NLM_F_APPEND                     = 0x800
-       NLM_F_ATOMIC                     = 0x400
-       NLM_F_CREATE                     = 0x400
-       NLM_F_DUMP                       = 0x300
-       NLM_F_DUMP_FILTERED              = 0x20
-       NLM_F_DUMP_INTR                  = 0x10
-       NLM_F_ECHO                       = 0x8
-       NLM_F_EXCL                       = 0x200
-       NLM_F_MATCH                      = 0x200
-       NLM_F_MULTI                      = 0x2
-       NLM_F_REPLACE                    = 0x100
-       NLM_F_REQUEST                    = 0x1
-       NLM_F_ROOT                       = 0x100
-       NOFLSH                           = 0x80
-       OCRNL                            = 0x8
-       OFDEL                            = 0x80
-       OFILL                            = 0x40
-       OLCUC                            = 0x2
-       ONLCR                            = 0x4
-       ONLRET                           = 0x20
-       ONOCR                            = 0x10
-       OPOST                            = 0x1
-       O_ACCMODE                        = 0x3
-       O_APPEND                         = 0x8
-       O_ASYNC                          = 0x1000
-       O_CLOEXEC                        = 0x80000
-       O_CREAT                          = 0x100
-       O_DIRECT                         = 0x8000
-       O_DIRECTORY                      = 0x10000
-       O_DSYNC                          = 0x10
-       O_EXCL                           = 0x400
-       O_FSYNC                          = 0x4010
-       O_LARGEFILE                      = 0x2000
-       O_NDELAY                         = 0x80
-       O_NOATIME                        = 0x40000
-       O_NOCTTY                         = 0x800
-       O_NOFOLLOW                       = 0x20000
-       O_NONBLOCK                       = 0x80
-       O_PATH                           = 0x200000
-       O_RDONLY                         = 0x0
-       O_RDWR                           = 0x2
-       O_RSYNC                          = 0x4010
-       O_SYNC                           = 0x4010
-       O_TMPFILE                        = 0x410000
-       O_TRUNC                          = 0x200
-       O_WRONLY                         = 0x1
-       PACKET_ADD_MEMBERSHIP            = 0x1
-       PACKET_AUXDATA                   = 0x8
-       PACKET_BROADCAST                 = 0x1
-       PACKET_COPY_THRESH               = 0x7
-       PACKET_DROP_MEMBERSHIP           = 0x2
-       PACKET_FANOUT                    = 0x12
-       PACKET_FANOUT_CBPF               = 0x6
-       PACKET_FANOUT_CPU                = 0x2
-       PACKET_FANOUT_DATA               = 0x16
-       PACKET_FANOUT_EBPF               = 0x7
-       PACKET_FANOUT_FLAG_DEFRAG        = 0x8000
-       PACKET_FANOUT_FLAG_ROLLOVER      = 0x1000
-       PACKET_FANOUT_HASH               = 0x0
-       PACKET_FANOUT_LB                 = 0x1
-       PACKET_FANOUT_QM                 = 0x5
-       PACKET_FANOUT_RND                = 0x4
-       PACKET_FANOUT_ROLLOVER           = 0x3
-       PACKET_FASTROUTE                 = 0x6
-       PACKET_HDRLEN                    = 0xb
-       PACKET_HOST                      = 0x0
-       PACKET_KERNEL                    = 0x7
-       PACKET_LOOPBACK                  = 0x5
-       PACKET_LOSS                      = 0xe
-       PACKET_MR_ALLMULTI               = 0x2
-       PACKET_MR_MULTICAST              = 0x0
-       PACKET_MR_PROMISC                = 0x1
-       PACKET_MR_UNICAST                = 0x3
-       PACKET_MULTICAST                 = 0x2
-       PACKET_ORIGDEV                   = 0x9
-       PACKET_OTHERHOST                 = 0x3
-       PACKET_OUTGOING                  = 0x4
-       PACKET_QDISC_BYPASS              = 0x14
-       PACKET_RECV_OUTPUT               = 0x3
-       PACKET_RESERVE                   = 0xc
-       PACKET_ROLLOVER_STATS            = 0x15
-       PACKET_RX_RING                   = 0x5
-       PACKET_STATISTICS                = 0x6
-       PACKET_TIMESTAMP                 = 0x11
-       PACKET_TX_HAS_OFF                = 0x13
-       PACKET_TX_RING                   = 0xd
-       PACKET_TX_TIMESTAMP              = 0x10
-       PACKET_USER                      = 0x6
-       PACKET_VERSION                   = 0xa
-       PACKET_VNET_HDR                  = 0xf
-       PARENB                           = 0x100
-       PARITY_CRC16_PR0                 = 0x2
-       PARITY_CRC16_PR0_CCITT           = 0x4
-       PARITY_CRC16_PR1                 = 0x3
-       PARITY_CRC16_PR1_CCITT           = 0x5
-       PARITY_CRC32_PR0_CCITT           = 0x6
-       PARITY_CRC32_PR1_CCITT           = 0x7
-       PARITY_DEFAULT                   = 0x0
-       PARITY_NONE                      = 0x1
-       PARMRK                           = 0x8
-       PARODD                           = 0x200
-       PENDIN                           = 0x4000
-       PRIO_PGRP                        = 0x1
-       PRIO_PROCESS                     = 0x0
-       PRIO_USER                        = 0x2
-       PROT_EXEC                        = 0x4
-       PROT_GROWSDOWN                   = 0x1000000
-       PROT_GROWSUP                     = 0x2000000
-       PROT_NONE                        = 0x0
-       PROT_READ                        = 0x1
-       PROT_WRITE                       = 0x2
-       PR_CAPBSET_DROP                  = 0x18
-       PR_CAPBSET_READ                  = 0x17
-       PR_CAP_AMBIENT                   = 0x2f
-       PR_CAP_AMBIENT_CLEAR_ALL         = 0x4
-       PR_CAP_AMBIENT_IS_SET            = 0x1
-       PR_CAP_AMBIENT_LOWER             = 0x3
-       PR_CAP_AMBIENT_RAISE             = 0x2
-       PR_ENDIAN_BIG                    = 0x0
-       PR_ENDIAN_LITTLE                 = 0x1
-       PR_ENDIAN_PPC_LITTLE             = 0x2
-       PR_FPEMU_NOPRINT                 = 0x1
-       PR_FPEMU_SIGFPE                  = 0x2
-       PR_FP_EXC_ASYNC                  = 0x2
-       PR_FP_EXC_DISABLED               = 0x0
-       PR_FP_EXC_DIV                    = 0x10000
-       PR_FP_EXC_INV                    = 0x100000
-       PR_FP_EXC_NONRECOV               = 0x1
-       PR_FP_EXC_OVF                    = 0x20000
-       PR_FP_EXC_PRECISE                = 0x3
-       PR_FP_EXC_RES                    = 0x80000
-       PR_FP_EXC_SW_ENABLE              = 0x80
-       PR_FP_EXC_UND                    = 0x40000
-       PR_FP_MODE_FR                    = 0x1
-       PR_FP_MODE_FRE                   = 0x2
-       PR_GET_CHILD_SUBREAPER           = 0x25
-       PR_GET_DUMPABLE                  = 0x3
-       PR_GET_ENDIAN                    = 0x13
-       PR_GET_FPEMU                     = 0x9
-       PR_GET_FPEXC                     = 0xb
-       PR_GET_FP_MODE                   = 0x2e
-       PR_GET_KEEPCAPS                  = 0x7
-       PR_GET_NAME                      = 0x10
-       PR_GET_NO_NEW_PRIVS              = 0x27
-       PR_GET_PDEATHSIG                 = 0x2
-       PR_GET_SECCOMP                   = 0x15
-       PR_GET_SECUREBITS                = 0x1b
-       PR_GET_THP_DISABLE               = 0x2a
-       PR_GET_TID_ADDRESS               = 0x28
-       PR_GET_TIMERSLACK                = 0x1e
-       PR_GET_TIMING                    = 0xd
-       PR_GET_TSC                       = 0x19
-       PR_GET_UNALIGN                   = 0x5
-       PR_MCE_KILL                      = 0x21
-       PR_MCE_KILL_CLEAR                = 0x0
-       PR_MCE_KILL_DEFAULT              = 0x2
-       PR_MCE_KILL_EARLY                = 0x1
-       PR_MCE_KILL_GET                  = 0x22
-       PR_MCE_KILL_LATE                 = 0x0
-       PR_MCE_KILL_SET                  = 0x1
-       PR_MPX_DISABLE_MANAGEMENT        = 0x2c
-       PR_MPX_ENABLE_MANAGEMENT         = 0x2b
-       PR_SET_CHILD_SUBREAPER           = 0x24
-       PR_SET_DUMPABLE                  = 0x4
-       PR_SET_ENDIAN                    = 0x14
-       PR_SET_FPEMU                     = 0xa
-       PR_SET_FPEXC                     = 0xc
-       PR_SET_FP_MODE                   = 0x2d
-       PR_SET_KEEPCAPS                  = 0x8
-       PR_SET_MM                        = 0x23
-       PR_SET_MM_ARG_END                = 0x9
-       PR_SET_MM_ARG_START              = 0x8
-       PR_SET_MM_AUXV                   = 0xc
-       PR_SET_MM_BRK                    = 0x7
-       PR_SET_MM_END_CODE               = 0x2
-       PR_SET_MM_END_DATA               = 0x4
-       PR_SET_MM_ENV_END                = 0xb
-       PR_SET_MM_ENV_START              = 0xa
-       PR_SET_MM_EXE_FILE               = 0xd
-       PR_SET_MM_MAP                    = 0xe
-       PR_SET_MM_MAP_SIZE               = 0xf
-       PR_SET_MM_START_BRK              = 0x6
-       PR_SET_MM_START_CODE             = 0x1
-       PR_SET_MM_START_DATA             = 0x3
-       PR_SET_MM_START_STACK            = 0x5
-       PR_SET_NAME                      = 0xf
-       PR_SET_NO_NEW_PRIVS              = 0x26
-       PR_SET_PDEATHSIG                 = 0x1
-       PR_SET_PTRACER                   = 0x59616d61
-       PR_SET_PTRACER_ANY               = 0xffffffff
-       PR_SET_SECCOMP                   = 0x16
-       PR_SET_SECUREBITS                = 0x1c
-       PR_SET_THP_DISABLE               = 0x29
-       PR_SET_TIMERSLACK                = 0x1d
-       PR_SET_TIMING                    = 0xe
-       PR_SET_TSC                       = 0x1a
-       PR_SET_UNALIGN                   = 0x6
-       PR_TASK_PERF_EVENTS_DISABLE      = 0x1f
-       PR_TASK_PERF_EVENTS_ENABLE       = 0x20
-       PR_TIMING_STATISTICAL            = 0x0
-       PR_TIMING_TIMESTAMP              = 0x1
-       PR_TSC_ENABLE                    = 0x1
-       PR_TSC_SIGSEGV                   = 0x2
-       PR_UNALIGN_NOPRINT               = 0x1
-       PR_UNALIGN_SIGBUS                = 0x2
-       PTRACE_ATTACH                    = 0x10
-       PTRACE_CONT                      = 0x7
-       PTRACE_DETACH                    = 0x11
-       PTRACE_EVENT_CLONE               = 0x3
-       PTRACE_EVENT_EXEC                = 0x4
-       PTRACE_EVENT_EXIT                = 0x6
-       PTRACE_EVENT_FORK                = 0x1
-       PTRACE_EVENT_SECCOMP             = 0x7
-       PTRACE_EVENT_STOP                = 0x80
-       PTRACE_EVENT_VFORK               = 0x2
-       PTRACE_EVENT_VFORK_DONE          = 0x5
-       PTRACE_GETEVENTMSG               = 0x4201
-       PTRACE_GETFPREGS                 = 0xe
-       PTRACE_GETREGS                   = 0xc
-       PTRACE_GETREGSET                 = 0x4204
-       PTRACE_GETSIGINFO                = 0x4202
-       PTRACE_GETSIGMASK                = 0x420a
-       PTRACE_GET_THREAD_AREA           = 0x19
-       PTRACE_GET_THREAD_AREA_3264      = 0xc4
-       PTRACE_GET_WATCH_REGS            = 0xd0
-       PTRACE_INTERRUPT                 = 0x4207
-       PTRACE_KILL                      = 0x8
-       PTRACE_LISTEN                    = 0x4208
-       PTRACE_OLDSETOPTIONS             = 0x15
-       PTRACE_O_EXITKILL                = 0x100000
-       PTRACE_O_MASK                    = 0x3000ff
-       PTRACE_O_SUSPEND_SECCOMP         = 0x200000
-       PTRACE_O_TRACECLONE              = 0x8
-       PTRACE_O_TRACEEXEC               = 0x10
-       PTRACE_O_TRACEEXIT               = 0x40
-       PTRACE_O_TRACEFORK               = 0x2
-       PTRACE_O_TRACESECCOMP            = 0x80
-       PTRACE_O_TRACESYSGOOD            = 0x1
-       PTRACE_O_TRACEVFORK              = 0x4
-       PTRACE_O_TRACEVFORKDONE          = 0x20
-       PTRACE_PEEKDATA                  = 0x2
-       PTRACE_PEEKDATA_3264             = 0xc1
-       PTRACE_PEEKSIGINFO               = 0x4209
-       PTRACE_PEEKSIGINFO_SHARED        = 0x1
-       PTRACE_PEEKTEXT                  = 0x1
-       PTRACE_PEEKTEXT_3264             = 0xc0
-       PTRACE_PEEKUSR                   = 0x3
-       PTRACE_POKEDATA                  = 0x5
-       PTRACE_POKEDATA_3264             = 0xc3
-       PTRACE_POKETEXT                  = 0x4
-       PTRACE_POKETEXT_3264             = 0xc2
-       PTRACE_POKEUSR                   = 0x6
-       PTRACE_SECCOMP_GET_FILTER        = 0x420c
-       PTRACE_SEIZE                     = 0x4206
-       PTRACE_SETFPREGS                 = 0xf
-       PTRACE_SETOPTIONS                = 0x4200
-       PTRACE_SETREGS                   = 0xd
-       PTRACE_SETREGSET                 = 0x4205
-       PTRACE_SETSIGINFO                = 0x4203
-       PTRACE_SETSIGMASK                = 0x420b
-       PTRACE_SET_THREAD_AREA           = 0x1a
-       PTRACE_SET_WATCH_REGS            = 0xd1
-       PTRACE_SINGLESTEP                = 0x9
-       PTRACE_SYSCALL                   = 0x18
-       PTRACE_TRACEME                   = 0x0
-       RLIMIT_AS                        = 0x6
-       RLIMIT_CORE                      = 0x4
-       RLIMIT_CPU                       = 0x0
-       RLIMIT_DATA                      = 0x2
-       RLIMIT_FSIZE                     = 0x1
-       RLIMIT_NOFILE                    = 0x5
-       RLIMIT_STACK                     = 0x3
-       RLIM_INFINITY                    = -0x1
-       RTAX_ADVMSS                      = 0x8
-       RTAX_CC_ALGO                     = 0x10
-       RTAX_CWND                        = 0x7
-       RTAX_FEATURES                    = 0xc
-       RTAX_FEATURE_ALLFRAG             = 0x8
-       RTAX_FEATURE_ECN                 = 0x1
-       RTAX_FEATURE_MASK                = 0xf
-       RTAX_FEATURE_SACK                = 0x2
-       RTAX_FEATURE_TIMESTAMP           = 0x4
-       RTAX_HOPLIMIT                    = 0xa
-       RTAX_INITCWND                    = 0xb
-       RTAX_INITRWND                    = 0xe
-       RTAX_LOCK                        = 0x1
-       RTAX_MAX                         = 0x10
-       RTAX_MTU                         = 0x2
-       RTAX_QUICKACK                    = 0xf
-       RTAX_REORDERING                  = 0x9
-       RTAX_RTO_MIN                     = 0xd
-       RTAX_RTT                         = 0x4
-       RTAX_RTTVAR                      = 0x5
-       RTAX_SSTHRESH                    = 0x6
-       RTAX_UNSPEC                      = 0x0
-       RTAX_WINDOW                      = 0x3
-       RTA_ALIGNTO                      = 0x4
-       RTA_MAX                          = 0x19
-       RTCF_DIRECTSRC                   = 0x4000000
-       RTCF_DOREDIRECT                  = 0x1000000
-       RTCF_LOG                         = 0x2000000
-       RTCF_MASQ                        = 0x400000
-       RTCF_NAT                         = 0x800000
-       RTCF_VALVE                       = 0x200000
-       RTF_ADDRCLASSMASK                = 0xf8000000
-       RTF_ADDRCONF                     = 0x40000
-       RTF_ALLONLINK                    = 0x20000
-       RTF_BROADCAST                    = 0x10000000
-       RTF_CACHE                        = 0x1000000
-       RTF_DEFAULT                      = 0x10000
-       RTF_DYNAMIC                      = 0x10
-       RTF_FLOW                         = 0x2000000
-       RTF_GATEWAY                      = 0x2
-       RTF_HOST                         = 0x4
-       RTF_INTERFACE                    = 0x40000000
-       RTF_IRTT                         = 0x100
-       RTF_LINKRT                       = 0x100000
-       RTF_LOCAL                        = 0x80000000
-       RTF_MODIFIED                     = 0x20
-       RTF_MSS                          = 0x40
-       RTF_MTU                          = 0x40
-       RTF_MULTICAST                    = 0x20000000
-       RTF_NAT                          = 0x8000000
-       RTF_NOFORWARD                    = 0x1000
-       RTF_NONEXTHOP                    = 0x200000
-       RTF_NOPMTUDISC                   = 0x4000
-       RTF_POLICY                       = 0x4000000
-       RTF_REINSTATE                    = 0x8
-       RTF_REJECT                       = 0x200
-       RTF_STATIC                       = 0x400
-       RTF_THROW                        = 0x2000
-       RTF_UP                           = 0x1
-       RTF_WINDOW                       = 0x80
-       RTF_XRESOLVE                     = 0x800
-       RTM_BASE                         = 0x10
-       RTM_DELACTION                    = 0x31
-       RTM_DELADDR                      = 0x15
-       RTM_DELADDRLABEL                 = 0x49
-       RTM_DELLINK                      = 0x11
-       RTM_DELMDB                       = 0x55
-       RTM_DELNEIGH                     = 0x1d
-       RTM_DELNSID                      = 0x59
-       RTM_DELQDISC                     = 0x25
-       RTM_DELROUTE                     = 0x19
-       RTM_DELRULE                      = 0x21
-       RTM_DELTCLASS                    = 0x29
-       RTM_DELTFILTER                   = 0x2d
-       RTM_F_CLONED                     = 0x200
-       RTM_F_EQUALIZE                   = 0x400
-       RTM_F_LOOKUP_TABLE               = 0x1000
-       RTM_F_NOTIFY                     = 0x100
-       RTM_F_PREFIX                     = 0x800
-       RTM_GETACTION                    = 0x32
-       RTM_GETADDR                      = 0x16
-       RTM_GETADDRLABEL                 = 0x4a
-       RTM_GETANYCAST                   = 0x3e
-       RTM_GETDCB                       = 0x4e
-       RTM_GETLINK                      = 0x12
-       RTM_GETMDB                       = 0x56
-       RTM_GETMULTICAST                 = 0x3a
-       RTM_GETNEIGH                     = 0x1e
-       RTM_GETNEIGHTBL                  = 0x42
-       RTM_GETNETCONF                   = 0x52
-       RTM_GETNSID                      = 0x5a
-       RTM_GETQDISC                     = 0x26
-       RTM_GETROUTE                     = 0x1a
-       RTM_GETRULE                      = 0x22
-       RTM_GETSTATS                     = 0x5e
-       RTM_GETTCLASS                    = 0x2a
-       RTM_GETTFILTER                   = 0x2e
-       RTM_MAX                          = 0x5f
-       RTM_NEWACTION                    = 0x30
-       RTM_NEWADDR                      = 0x14
-       RTM_NEWADDRLABEL                 = 0x48
-       RTM_NEWLINK                      = 0x10
-       RTM_NEWMDB                       = 0x54
-       RTM_NEWNDUSEROPT                 = 0x44
-       RTM_NEWNEIGH                     = 0x1c
-       RTM_NEWNEIGHTBL                  = 0x40
-       RTM_NEWNETCONF                   = 0x50
-       RTM_NEWNSID                      = 0x58
-       RTM_NEWPREFIX                    = 0x34
-       RTM_NEWQDISC                     = 0x24
-       RTM_NEWROUTE                     = 0x18
-       RTM_NEWRULE                      = 0x20
-       RTM_NEWSTATS                     = 0x5c
-       RTM_NEWTCLASS                    = 0x28
-       RTM_NEWTFILTER                   = 0x2c
-       RTM_NR_FAMILIES                  = 0x14
-       RTM_NR_MSGTYPES                  = 0x50
-       RTM_SETDCB                       = 0x4f
-       RTM_SETLINK                      = 0x13
-       RTM_SETNEIGHTBL                  = 0x43
-       RTNH_ALIGNTO                     = 0x4
-       RTNH_COMPARE_MASK                = 0x19
-       RTNH_F_DEAD                      = 0x1
-       RTNH_F_LINKDOWN                  = 0x10
-       RTNH_F_OFFLOAD                   = 0x8
-       RTNH_F_ONLINK                    = 0x4
-       RTNH_F_PERVASIVE                 = 0x2
-       RTN_MAX                          = 0xb
-       RTPROT_BABEL                     = 0x2a
-       RTPROT_BIRD                      = 0xc
-       RTPROT_BOOT                      = 0x3
-       RTPROT_DHCP                      = 0x10
-       RTPROT_DNROUTED                  = 0xd
-       RTPROT_GATED                     = 0x8
-       RTPROT_KERNEL                    = 0x2
-       RTPROT_MROUTED                   = 0x11
-       RTPROT_MRT                       = 0xa
-       RTPROT_NTK                       = 0xf
-       RTPROT_RA                        = 0x9
-       RTPROT_REDIRECT                  = 0x1
-       RTPROT_STATIC                    = 0x4
-       RTPROT_UNSPEC                    = 0x0
-       RTPROT_XORP                      = 0xe
-       RTPROT_ZEBRA                     = 0xb
-       RT_CLASS_DEFAULT                 = 0xfd
-       RT_CLASS_LOCAL                   = 0xff
-       RT_CLASS_MAIN                    = 0xfe
-       RT_CLASS_MAX                     = 0xff
-       RT_CLASS_UNSPEC                  = 0x0
-       RUSAGE_CHILDREN                  = -0x1
-       RUSAGE_SELF                      = 0x0
-       RUSAGE_THREAD                    = 0x1
-       SCM_CREDENTIALS                  = 0x2
-       SCM_RIGHTS                       = 0x1
-       SCM_TIMESTAMP                    = 0x1d
-       SCM_TIMESTAMPING                 = 0x25
-       SCM_TIMESTAMPING_OPT_STATS       = 0x36
-       SCM_TIMESTAMPNS                  = 0x23
-       SCM_WIFI_STATUS                  = 0x29
-       SHUT_RD                          = 0x0
-       SHUT_RDWR                        = 0x2
-       SHUT_WR                          = 0x1
-       SIOCADDDLCI                      = 0x8980
-       SIOCADDMULTI                     = 0x8931
-       SIOCADDRT                        = 0x890b
-       SIOCATMARK                       = 0x40047307
-       SIOCDARP                         = 0x8953
-       SIOCDELDLCI                      = 0x8981
-       SIOCDELMULTI                     = 0x8932
-       SIOCDELRT                        = 0x890c
-       SIOCDEVPRIVATE                   = 0x89f0
-       SIOCDIFADDR                      = 0x8936
-       SIOCDRARP                        = 0x8960
-       SIOCGARP                         = 0x8954
-       SIOCGIFADDR                      = 0x8915
-       SIOCGIFBR                        = 0x8940
-       SIOCGIFBRDADDR                   = 0x8919
-       SIOCGIFCONF                      = 0x8912
-       SIOCGIFCOUNT                     = 0x8938
-       SIOCGIFDSTADDR                   = 0x8917
-       SIOCGIFENCAP                     = 0x8925
-       SIOCGIFFLAGS                     = 0x8913
-       SIOCGIFHWADDR                    = 0x8927
-       SIOCGIFINDEX                     = 0x8933
-       SIOCGIFMAP                       = 0x8970
-       SIOCGIFMEM                       = 0x891f
-       SIOCGIFMETRIC                    = 0x891d
-       SIOCGIFMTU                       = 0x8921
-       SIOCGIFNAME                      = 0x8910
-       SIOCGIFNETMASK                   = 0x891b
-       SIOCGIFPFLAGS                    = 0x8935
-       SIOCGIFSLAVE                     = 0x8929
-       SIOCGIFTXQLEN                    = 0x8942
-       SIOCGPGRP                        = 0x40047309
-       SIOCGRARP                        = 0x8961
-       SIOCGSTAMP                       = 0x8906
-       SIOCGSTAMPNS                     = 0x8907
-       SIOCPROTOPRIVATE                 = 0x89e0
-       SIOCRTMSG                        = 0x890d
-       SIOCSARP                         = 0x8955
-       SIOCSIFADDR                      = 0x8916
-       SIOCSIFBR                        = 0x8941
-       SIOCSIFBRDADDR                   = 0x891a
-       SIOCSIFDSTADDR                   = 0x8918
-       SIOCSIFENCAP                     = 0x8926
-       SIOCSIFFLAGS                     = 0x8914
-       SIOCSIFHWADDR                    = 0x8924
-       SIOCSIFHWBROADCAST               = 0x8937
-       SIOCSIFLINK                      = 0x8911
-       SIOCSIFMAP                       = 0x8971
-       SIOCSIFMEM                       = 0x8920
-       SIOCSIFMETRIC                    = 0x891e
-       SIOCSIFMTU                       = 0x8922
-       SIOCSIFNAME                      = 0x8923
-       SIOCSIFNETMASK                   = 0x891c
-       SIOCSIFPFLAGS                    = 0x8934
-       SIOCSIFSLAVE                     = 0x8930
-       SIOCSIFTXQLEN                    = 0x8943
-       SIOCSPGRP                        = 0x80047308
-       SIOCSRARP                        = 0x8962
-       SOCK_CLOEXEC                     = 0x80000
-       SOCK_DCCP                        = 0x6
-       SOCK_DGRAM                       = 0x1
-       SOCK_NONBLOCK                    = 0x80
-       SOCK_PACKET                      = 0xa
-       SOCK_RAW                         = 0x3
-       SOCK_RDM                         = 0x4
-       SOCK_SEQPACKET                   = 0x5
-       SOCK_STREAM                      = 0x2
-       SOL_AAL                          = 0x109
-       SOL_ALG                          = 0x117
-       SOL_ATM                          = 0x108
-       SOL_CAIF                         = 0x116
-       SOL_CAN_BASE                     = 0x64
-       SOL_DCCP                         = 0x10d
-       SOL_DECNET                       = 0x105
-       SOL_ICMPV6                       = 0x3a
-       SOL_IP                           = 0x0
-       SOL_IPV6                         = 0x29
-       SOL_IRDA                         = 0x10a
-       SOL_IUCV                         = 0x115
-       SOL_KCM                          = 0x119
-       SOL_LLC                          = 0x10c
-       SOL_NETBEUI                      = 0x10b
-       SOL_NETLINK                      = 0x10e
-       SOL_NFC                          = 0x118
-       SOL_PACKET                       = 0x107
-       SOL_PNPIPE                       = 0x113
-       SOL_PPPOL2TP                     = 0x111
-       SOL_RAW                          = 0xff
-       SOL_RDS                          = 0x114
-       SOL_RXRPC                        = 0x110
-       SOL_SOCKET                       = 0xffff
-       SOL_TCP                          = 0x6
-       SOL_TIPC                         = 0x10f
-       SOL_X25                          = 0x106
-       SOMAXCONN                        = 0x80
-       SO_ACCEPTCONN                    = 0x1009
-       SO_ATTACH_BPF                    = 0x32
-       SO_ATTACH_FILTER                 = 0x1a
-       SO_ATTACH_REUSEPORT_CBPF         = 0x33
-       SO_ATTACH_REUSEPORT_EBPF         = 0x34
-       SO_BINDTODEVICE                  = 0x19
-       SO_BPF_EXTENSIONS                = 0x30
-       SO_BROADCAST                     = 0x20
-       SO_BSDCOMPAT                     = 0xe
-       SO_BUSY_POLL                     = 0x2e
-       SO_CNX_ADVICE                    = 0x35
-       SO_DEBUG                         = 0x1
-       SO_DETACH_BPF                    = 0x1b
-       SO_DETACH_FILTER                 = 0x1b
-       SO_DOMAIN                        = 0x1029
-       SO_DONTROUTE                     = 0x10
-       SO_ERROR                         = 0x1007
-       SO_GET_FILTER                    = 0x1a
-       SO_INCOMING_CPU                  = 0x31
-       SO_KEEPALIVE                     = 0x8
-       SO_LINGER                        = 0x80
-       SO_LOCK_FILTER                   = 0x2c
-       SO_MARK                          = 0x24
-       SO_MAX_PACING_RATE               = 0x2f
-       SO_NOFCS                         = 0x2b
-       SO_NO_CHECK                      = 0xb
-       SO_OOBINLINE                     = 0x100
-       SO_PASSCRED                      = 0x11
-       SO_PASSSEC                       = 0x22
-       SO_PEEK_OFF                      = 0x2a
-       SO_PEERCRED                      = 0x12
-       SO_PEERNAME                      = 0x1c
-       SO_PEERSEC                       = 0x1e
-       SO_PRIORITY                      = 0xc
-       SO_PROTOCOL                      = 0x1028
-       SO_RCVBUF                        = 0x1002
-       SO_RCVBUFFORCE                   = 0x21
-       SO_RCVLOWAT                      = 0x1004
-       SO_RCVTIMEO                      = 0x1006
-       SO_REUSEADDR                     = 0x4
-       SO_REUSEPORT                     = 0x200
-       SO_RXQ_OVFL                      = 0x28
-       SO_SECURITY_AUTHENTICATION       = 0x16
-       SO_SECURITY_ENCRYPTION_NETWORK   = 0x18
-       SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-       SO_SELECT_ERR_QUEUE              = 0x2d
-       SO_SNDBUF                        = 0x1001
-       SO_SNDBUFFORCE                   = 0x1f
-       SO_SNDLOWAT                      = 0x1003
-       SO_SNDTIMEO                      = 0x1005
-       SO_STYLE                         = 0x1008
-       SO_TIMESTAMP                     = 0x1d
-       SO_TIMESTAMPING                  = 0x25
-       SO_TIMESTAMPNS                   = 0x23
-       SO_TYPE                          = 0x1008
-       SO_VM_SOCKETS_BUFFER_MAX_SIZE    = 0x2
-       SO_VM_SOCKETS_BUFFER_MIN_SIZE    = 0x1
-       SO_VM_SOCKETS_BUFFER_SIZE        = 0x0
-       SO_VM_SOCKETS_CONNECT_TIMEOUT    = 0x6
-       SO_VM_SOCKETS_NONBLOCK_TXRX      = 0x7
-       SO_VM_SOCKETS_PEER_HOST_VM_ID    = 0x3
-       SO_VM_SOCKETS_TRUSTED            = 0x5
-       SO_WIFI_STATUS                   = 0x29
-       SPLICE_F_GIFT                    = 0x8
-       SPLICE_F_MORE                    = 0x4
-       SPLICE_F_MOVE                    = 0x1
-       SPLICE_F_NONBLOCK                = 0x2
-       S_BLKSIZE                        = 0x200
-       S_IEXEC                          = 0x40
-       S_IFBLK                          = 0x6000
-       S_IFCHR                          = 0x2000
-       S_IFDIR                          = 0x4000
-       S_IFIFO                          = 0x1000
-       S_IFLNK                          = 0xa000
-       S_IFMT                           = 0xf000
-       S_IFREG                          = 0x8000
-       S_IFSOCK                         = 0xc000
-       S_IREAD                          = 0x100
-       S_IRGRP                          = 0x20
-       S_IROTH                          = 0x4
-       S_IRUSR                          = 0x100
-       S_IRWXG                          = 0x38
-       S_IRWXO                          = 0x7
-       S_IRWXU                          = 0x1c0
-       S_ISGID                          = 0x400
-       S_ISUID                          = 0x800
-       S_ISVTX                          = 0x200
-       S_IWGRP                          = 0x10
-       S_IWOTH                          = 0x2
-       S_IWRITE                         = 0x80
-       S_IWUSR                          = 0x80
-       S_IXGRP                          = 0x8
-       S_IXOTH                          = 0x1
-       S_IXUSR                          = 0x40
-       TAB0                             = 0x0
-       TAB1                             = 0x800
-       TAB2                             = 0x1000
-       TAB3                             = 0x1800
-       TABDLY                           = 0x1800
-       TCFLSH                           = 0x5407
-       TCGETA                           = 0x5401
-       TCGETS                           = 0x540d
-       TCGETS2                          = 0x4030542a
-       TCIFLUSH                         = 0x0
-       TCIOFF                           = 0x2
-       TCIOFLUSH                        = 0x2
-       TCION                            = 0x3
-       TCOFLUSH                         = 0x1
-       TCOOFF                           = 0x0
-       TCOON                            = 0x1
-       TCP_CC_INFO                      = 0x1a
-       TCP_CONGESTION                   = 0xd
-       TCP_COOKIE_IN_ALWAYS             = 0x1
-       TCP_COOKIE_MAX                   = 0x10
-       TCP_COOKIE_MIN                   = 0x8
-       TCP_COOKIE_OUT_NEVER             = 0x2
-       TCP_COOKIE_PAIR_SIZE             = 0x20
-       TCP_COOKIE_TRANSACTIONS          = 0xf
-       TCP_CORK                         = 0x3
-       TCP_DEFER_ACCEPT                 = 0x9
-       TCP_FASTOPEN                     = 0x17
-       TCP_INFO                         = 0xb
-       TCP_KEEPCNT                      = 0x6
-       TCP_KEEPIDLE                     = 0x4
-       TCP_KEEPINTVL                    = 0x5
-       TCP_LINGER2                      = 0x8
-       TCP_MAXSEG                       = 0x2
-       TCP_MAXWIN                       = 0xffff
-       TCP_MAX_WINSHIFT                 = 0xe
-       TCP_MD5SIG                       = 0xe
-       TCP_MD5SIG_MAXKEYLEN             = 0x50
-       TCP_MSS                          = 0x200
-       TCP_MSS_DEFAULT                  = 0x218
-       TCP_MSS_DESIRED                  = 0x4c4
-       TCP_NODELAY                      = 0x1
-       TCP_NOTSENT_LOWAT                = 0x19
-       TCP_QUEUE_SEQ                    = 0x15
-       TCP_QUICKACK                     = 0xc
-       TCP_REPAIR                       = 0x13
-       TCP_REPAIR_OPTIONS               = 0x16
-       TCP_REPAIR_QUEUE                 = 0x14
-       TCP_REPAIR_WINDOW                = 0x1d
-       TCP_SAVED_SYN                    = 0x1c
-       TCP_SAVE_SYN                     = 0x1b
-       TCP_SYNCNT                       = 0x7
-       TCP_S_DATA_IN                    = 0x4
-       TCP_S_DATA_OUT                   = 0x8
-       TCP_THIN_DUPACK                  = 0x11
-       TCP_THIN_LINEAR_TIMEOUTS         = 0x10
-       TCP_TIMESTAMP                    = 0x18
-       TCP_USER_TIMEOUT                 = 0x12
-       TCP_WINDOW_CLAMP                 = 0xa
-       TCSAFLUSH                        = 0x5410
-       TCSBRK                           = 0x5405
-       TCSBRKP                          = 0x5486
-       TCSETA                           = 0x5402
-       TCSETAF                          = 0x5404
-       TCSETAW                          = 0x5403
-       TCSETS                           = 0x540e
-       TCSETS2                          = 0x8030542b
-       TCSETSF                          = 0x5410
-       TCSETSF2                         = 0x8030542d
-       TCSETSW                          = 0x540f
-       TCSETSW2                         = 0x8030542c
-       TCXONC                           = 0x5406
-       TIOCCBRK                         = 0x5428
-       TIOCCONS                         = 0x80047478
-       TIOCEXCL                         = 0x740d
-       TIOCGDEV                         = 0x40045432
-       TIOCGETD                         = 0x7400
-       TIOCGETP                         = 0x7408
-       TIOCGEXCL                        = 0x40045440
-       TIOCGICOUNT                      = 0x5492
-       TIOCGLCKTRMIOS                   = 0x548b
-       TIOCGLTC                         = 0x7474
-       TIOCGPGRP                        = 0x40047477
-       TIOCGPKT                         = 0x40045438
-       TIOCGPTLCK                       = 0x40045439
-       TIOCGPTN                         = 0x40045430
-       TIOCGRS485                       = 0x4020542e
-       TIOCGSERIAL                      = 0x5484
-       TIOCGSID                         = 0x7416
-       TIOCGSOFTCAR                     = 0x5481
-       TIOCGWINSZ                       = 0x40087468
-       TIOCINQ                          = 0x467f
-       TIOCLINUX                        = 0x5483
-       TIOCMBIC                         = 0x741c
-       TIOCMBIS                         = 0x741b
-       TIOCMGET                         = 0x741d
-       TIOCMIWAIT                       = 0x5491
-       TIOCMSET                         = 0x741a
-       TIOCM_CAR                        = 0x100
-       TIOCM_CD                         = 0x100
-       TIOCM_CTS                        = 0x40
-       TIOCM_DSR                        = 0x400
-       TIOCM_DTR                        = 0x2
-       TIOCM_LE                         = 0x1
-       TIOCM_RI                         = 0x200
-       TIOCM_RNG                        = 0x200
-       TIOCM_RTS                        = 0x4
-       TIOCM_SR                         = 0x20
-       TIOCM_ST                         = 0x10
-       TIOCNOTTY                        = 0x5471
-       TIOCNXCL                         = 0x740e
-       TIOCOUTQ                         = 0x7472
-       TIOCPKT                          = 0x5470
-       TIOCPKT_DATA                     = 0x0
-       TIOCPKT_DOSTOP                   = 0x20
-       TIOCPKT_FLUSHREAD                = 0x1
-       TIOCPKT_FLUSHWRITE               = 0x2
-       TIOCPKT_IOCTL                    = 0x40
-       TIOCPKT_NOSTOP                   = 0x10
-       TIOCPKT_START                    = 0x8
-       TIOCPKT_STOP                     = 0x4
-       TIOCSBRK                         = 0x5427
-       TIOCSCTTY                        = 0x5480
-       TIOCSERCONFIG                    = 0x5488
-       TIOCSERGETLSR                    = 0x548e
-       TIOCSERGETMULTI                  = 0x548f
-       TIOCSERGSTRUCT                   = 0x548d
-       TIOCSERGWILD                     = 0x5489
-       TIOCSERSETMULTI                  = 0x5490
-       TIOCSERSWILD                     = 0x548a
-       TIOCSER_TEMT                     = 0x1
-       TIOCSETD                         = 0x7401
-       TIOCSETN                         = 0x740a
-       TIOCSETP                         = 0x7409
-       TIOCSIG                          = 0x80045436
-       TIOCSLCKTRMIOS                   = 0x548c
-       TIOCSLTC                         = 0x7475
-       TIOCSPGRP                        = 0x80047476
-       TIOCSPTLCK                       = 0x80045431
-       TIOCSRS485                       = 0xc020542f
-       TIOCSSERIAL                      = 0x5485
-       TIOCSSOFTCAR                     = 0x5482
-       TIOCSTI                          = 0x5472
-       TIOCSWINSZ                       = 0x80087467
-       TIOCVHANGUP                      = 0x5437
-       TOSTOP                           = 0x8000
-       TUNATTACHFILTER                  = 0x800854d5
-       TUNDETACHFILTER                  = 0x800854d6
-       TUNGETFEATURES                   = 0x400454cf
-       TUNGETFILTER                     = 0x400854db
-       TUNGETIFF                        = 0x400454d2
-       TUNGETSNDBUF                     = 0x400454d3
-       TUNGETVNETBE                     = 0x400454df
-       TUNGETVNETHDRSZ                  = 0x400454d7
-       TUNGETVNETLE                     = 0x400454dd
-       TUNSETDEBUG                      = 0x800454c9
-       TUNSETGROUP                      = 0x800454ce
-       TUNSETIFF                        = 0x800454ca
-       TUNSETIFINDEX                    = 0x800454da
-       TUNSETLINK                       = 0x800454cd
-       TUNSETNOCSUM                     = 0x800454c8
-       TUNSETOFFLOAD                    = 0x800454d0
-       TUNSETOWNER                      = 0x800454cc
-       TUNSETPERSIST                    = 0x800454cb
-       TUNSETQUEUE                      = 0x800454d9
-       TUNSETSNDBUF                     = 0x800454d4
-       TUNSETTXFILTER                   = 0x800454d1
-       TUNSETVNETBE                     = 0x800454de
-       TUNSETVNETHDRSZ                  = 0x800454d8
-       TUNSETVNETLE                     = 0x800454dc
-       VDISCARD                         = 0xd
-       VEOF                             = 0x10
-       VEOL                             = 0x11
-       VEOL2                            = 0x6
-       VERASE                           = 0x2
-       VINTR                            = 0x0
-       VKILL                            = 0x3
-       VLNEXT                           = 0xf
-       VMADDR_CID_ANY                   = 0xffffffff
-       VMADDR_CID_HOST                  = 0x2
-       VMADDR_CID_HYPERVISOR            = 0x0
-       VMADDR_CID_RESERVED              = 0x1
-       VMADDR_PORT_ANY                  = 0xffffffff
-       VMIN                             = 0x4
-       VM_SOCKETS_INVALID_VERSION       = 0xffffffff
-       VQUIT                            = 0x1
-       VREPRINT                         = 0xc
-       VSTART                           = 0x8
-       VSTOP                            = 0x9
-       VSUSP                            = 0xa
-       VSWTC                            = 0x7
-       VSWTCH                           = 0x7
-       VT0                              = 0x0
-       VT1                              = 0x4000
-       VTDLY                            = 0x4000
-       VTIME                            = 0x5
-       VWERASE                          = 0xe
-       WALL                             = 0x40000000
-       WCLONE                           = 0x80000000
-       WCONTINUED                       = 0x8
-       WEXITED                          = 0x4
-       WNOHANG                          = 0x1
-       WNOTHREAD                        = 0x20000000
-       WNOWAIT                          = 0x1000000
-       WORDSIZE                         = 0x20
-       WSTOPPED                         = 0x2
-       WUNTRACED                        = 0x2
-       XCASE                            = 0x4
-       XTABS                            = 0x1800
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x7d)
-       EADDRNOTAVAIL   = syscall.Errno(0x7e)
-       EADV            = syscall.Errno(0x44)
-       EAFNOSUPPORT    = syscall.Errno(0x7c)
-       EAGAIN          = syscall.Errno(0xb)
-       EALREADY        = syscall.Errno(0x95)
-       EBADE           = syscall.Errno(0x32)
-       EBADF           = syscall.Errno(0x9)
-       EBADFD          = syscall.Errno(0x51)
-       EBADMSG         = syscall.Errno(0x4d)
-       EBADR           = syscall.Errno(0x33)
-       EBADRQC         = syscall.Errno(0x36)
-       EBADSLT         = syscall.Errno(0x37)
-       EBFONT          = syscall.Errno(0x3b)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x9e)
-       ECHILD          = syscall.Errno(0xa)
-       ECHRNG          = syscall.Errno(0x25)
-       ECOMM           = syscall.Errno(0x46)
-       ECONNABORTED    = syscall.Errno(0x82)
-       ECONNREFUSED    = syscall.Errno(0x92)
-       ECONNRESET      = syscall.Errno(0x83)
-       EDEADLK         = syscall.Errno(0x2d)
-       EDEADLOCK       = syscall.Errno(0x38)
-       EDESTADDRREQ    = syscall.Errno(0x60)
-       EDOM            = syscall.Errno(0x21)
-       EDOTDOT         = syscall.Errno(0x49)
-       EDQUOT          = syscall.Errno(0x46d)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EHOSTDOWN       = syscall.Errno(0x93)
-       EHOSTUNREACH    = syscall.Errno(0x94)
-       EHWPOISON       = syscall.Errno(0xa8)
-       EIDRM           = syscall.Errno(0x24)
-       EILSEQ          = syscall.Errno(0x58)
-       EINIT           = syscall.Errno(0x8d)
-       EINPROGRESS     = syscall.Errno(0x96)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x85)
-       EISDIR          = syscall.Errno(0x15)
-       EISNAM          = syscall.Errno(0x8b)
-       EKEYEXPIRED     = syscall.Errno(0xa2)
-       EKEYREJECTED    = syscall.Errno(0xa4)
-       EKEYREVOKED     = syscall.Errno(0xa3)
-       EL2HLT          = syscall.Errno(0x2c)
-       EL2NSYNC        = syscall.Errno(0x26)
-       EL3HLT          = syscall.Errno(0x27)
-       EL3RST          = syscall.Errno(0x28)
-       ELIBACC         = syscall.Errno(0x53)
-       ELIBBAD         = syscall.Errno(0x54)
-       ELIBEXEC        = syscall.Errno(0x57)
-       ELIBMAX         = syscall.Errno(0x56)
-       ELIBSCN         = syscall.Errno(0x55)
-       ELNRNG          = syscall.Errno(0x29)
-       ELOOP           = syscall.Errno(0x5a)
-       EMEDIUMTYPE     = syscall.Errno(0xa0)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x61)
-       EMULTIHOP       = syscall.Errno(0x4a)
-       ENAMETOOLONG    = syscall.Errno(0x4e)
-       ENAVAIL         = syscall.Errno(0x8a)
-       ENETDOWN        = syscall.Errno(0x7f)
-       ENETRESET       = syscall.Errno(0x81)
-       ENETUNREACH     = syscall.Errno(0x80)
-       ENFILE          = syscall.Errno(0x17)
-       ENOANO          = syscall.Errno(0x35)
-       ENOBUFS         = syscall.Errno(0x84)
-       ENOCSI          = syscall.Errno(0x2b)
-       ENODATA         = syscall.Errno(0x3d)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOKEY          = syscall.Errno(0xa1)
-       ENOLCK          = syscall.Errno(0x2e)
-       ENOLINK         = syscall.Errno(0x43)
-       ENOMEDIUM       = syscall.Errno(0x9f)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x23)
-       ENONET          = syscall.Errno(0x40)
-       ENOPKG          = syscall.Errno(0x41)
-       ENOPROTOOPT     = syscall.Errno(0x63)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x3f)
-       ENOSTR          = syscall.Errno(0x3c)
-       ENOSYS          = syscall.Errno(0x59)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x86)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x5d)
-       ENOTNAM         = syscall.Errno(0x89)
-       ENOTRECOVERABLE = syscall.Errno(0xa6)
-       ENOTSOCK        = syscall.Errno(0x5f)
-       ENOTSUP         = syscall.Errno(0x7a)
-       ENOTTY          = syscall.Errno(0x19)
-       ENOTUNIQ        = syscall.Errno(0x50)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x7a)
-       EOVERFLOW       = syscall.Errno(0x4f)
-       EOWNERDEAD      = syscall.Errno(0xa5)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x7b)
-       EPIPE           = syscall.Errno(0x20)
-       EPROTO          = syscall.Errno(0x47)
-       EPROTONOSUPPORT = syscall.Errno(0x78)
-       EPROTOTYPE      = syscall.Errno(0x62)
-       ERANGE          = syscall.Errno(0x22)
-       EREMCHG         = syscall.Errno(0x52)
-       EREMDEV         = syscall.Errno(0x8e)
-       EREMOTE         = syscall.Errno(0x42)
-       EREMOTEIO       = syscall.Errno(0x8c)
-       ERESTART        = syscall.Errno(0x5b)
-       ERFKILL         = syscall.Errno(0xa7)
-       EROFS           = syscall.Errno(0x1e)
-       ESHUTDOWN       = syscall.Errno(0x8f)
-       ESOCKTNOSUPPORT = syscall.Errno(0x79)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESRMNT          = syscall.Errno(0x45)
-       ESTALE          = syscall.Errno(0x97)
-       ESTRPIPE        = syscall.Errno(0x5c)
-       ETIME           = syscall.Errno(0x3e)
-       ETIMEDOUT       = syscall.Errno(0x91)
-       ETOOMANYREFS    = syscall.Errno(0x90)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUCLEAN         = syscall.Errno(0x87)
-       EUNATCH         = syscall.Errno(0x2a)
-       EUSERS          = syscall.Errno(0x5e)
-       EWOULDBLOCK     = syscall.Errno(0xb)
-       EXDEV           = syscall.Errno(0x12)
-       EXFULL          = syscall.Errno(0x34)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x12)
-       SIGCLD    = syscall.Signal(0x12)
-       SIGCONT   = syscall.Signal(0x19)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x16)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPOLL   = syscall.Signal(0x16)
-       SIGPROF   = syscall.Signal(0x1d)
-       SIGPWR    = syscall.Signal(0x13)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x17)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x18)
-       SIGTTIN   = syscall.Signal(0x1a)
-       SIGTTOU   = syscall.Signal(0x1b)
-       SIGURG    = syscall.Signal(0x15)
-       SIGUSR1   = syscall.Signal(0x10)
-       SIGUSR2   = syscall.Signal(0x11)
-       SIGVTALRM = syscall.Signal(0x1c)
-       SIGWINCH  = syscall.Signal(0x14)
-       SIGXCPU   = syscall.Signal(0x1e)
-       SIGXFSZ   = syscall.Signal(0x1f)
-)
-
-// Error table
-var errors = [...]string{
-       1:    "operation not permitted",
-       2:    "no such file or directory",
-       3:    "no such process",
-       4:    "interrupted system call",
-       5:    "input/output error",
-       6:    "no such device or address",
-       7:    "argument list too long",
-       8:    "exec format error",
-       9:    "bad file descriptor",
-       10:   "no child processes",
-       11:   "resource temporarily unavailable",
-       12:   "cannot allocate memory",
-       13:   "permission denied",
-       14:   "bad address",
-       15:   "block device required",
-       16:   "device or resource busy",
-       17:   "file exists",
-       18:   "invalid cross-device link",
-       19:   "no such device",
-       20:   "not a directory",
-       21:   "is a directory",
-       22:   "invalid argument",
-       23:   "too many open files in system",
-       24:   "too many open files",
-       25:   "inappropriate ioctl for device",
-       26:   "text file busy",
-       27:   "file too large",
-       28:   "no space left on device",
-       29:   "illegal seek",
-       30:   "read-only file system",
-       31:   "too many links",
-       32:   "broken pipe",
-       33:   "numerical argument out of domain",
-       34:   "numerical result out of range",
-       35:   "no message of desired type",
-       36:   "identifier removed",
-       37:   "channel number out of range",
-       38:   "level 2 not synchronized",
-       39:   "level 3 halted",
-       40:   "level 3 reset",
-       41:   "link number out of range",
-       42:   "protocol driver not attached",
-       43:   "no CSI structure available",
-       44:   "level 2 halted",
-       45:   "resource deadlock avoided",
-       46:   "no locks available",
-       50:   "invalid exchange",
-       51:   "invalid request descriptor",
-       52:   "exchange full",
-       53:   "no anode",
-       54:   "invalid request code",
-       55:   "invalid slot",
-       56:   "file locking deadlock error",
-       59:   "bad font file format",
-       60:   "device not a stream",
-       61:   "no data available",
-       62:   "timer expired",
-       63:   "out of streams resources",
-       64:   "machine is not on the network",
-       65:   "package not installed",
-       66:   "object is remote",
-       67:   "link has been severed",
-       68:   "advertise error",
-       69:   "srmount error",
-       70:   "communication error on send",
-       71:   "protocol error",
-       73:   "RFS specific error",
-       74:   "multihop attempted",
-       77:   "bad message",
-       78:   "file name too long",
-       79:   "value too large for defined data type",
-       80:   "name not unique on network",
-       81:   "file descriptor in bad state",
-       82:   "remote address changed",
-       83:   "can not access a needed shared library",
-       84:   "accessing a corrupted shared library",
-       85:   ".lib section in a.out corrupted",
-       86:   "attempting to link in too many shared libraries",
-       87:   "cannot exec a shared library directly",
-       88:   "invalid or incomplete multibyte or wide character",
-       89:   "function not implemented",
-       90:   "too many levels of symbolic links",
-       91:   "interrupted system call should be restarted",
-       92:   "streams pipe error",
-       93:   "directory not empty",
-       94:   "too many users",
-       95:   "socket operation on non-socket",
-       96:   "destination address required",
-       97:   "message too long",
-       98:   "protocol wrong type for socket",
-       99:   "protocol not available",
-       120:  "protocol not supported",
-       121:  "socket type not supported",
-       122:  "operation not supported",
-       123:  "protocol family not supported",
-       124:  "address family not supported by protocol",
-       125:  "address already in use",
-       126:  "cannot assign requested address",
-       127:  "network is down",
-       128:  "network is unreachable",
-       129:  "network dropped connection on reset",
-       130:  "software caused connection abort",
-       131:  "connection reset by peer",
-       132:  "no buffer space available",
-       133:  "transport endpoint is already connected",
-       134:  "transport endpoint is not connected",
-       135:  "structure needs cleaning",
-       137:  "not a XENIX named type file",
-       138:  "no XENIX semaphores available",
-       139:  "is a named type file",
-       140:  "remote I/O error",
-       141:  "unknown error 141",
-       142:  "unknown error 142",
-       143:  "cannot send after transport endpoint shutdown",
-       144:  "too many references: cannot splice",
-       145:  "connection timed out",
-       146:  "connection refused",
-       147:  "host is down",
-       148:  "no route to host",
-       149:  "operation already in progress",
-       150:  "operation now in progress",
-       151:  "stale file handle",
-       158:  "operation canceled",
-       159:  "no medium found",
-       160:  "wrong medium type",
-       161:  "required key not available",
-       162:  "key has expired",
-       163:  "key has been revoked",
-       164:  "key was rejected by service",
-       165:  "owner died",
-       166:  "state not recoverable",
-       167:  "operation not possible due to RF-kill",
-       168:  "memory page has hardware error",
-       1133: "disk quota exceeded",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/breakpoint trap",
-       6:  "aborted",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "user defined signal 1",
-       17: "user defined signal 2",
-       18: "child exited",
-       19: "power failure",
-       20: "window changed",
-       21: "urgent I/O condition",
-       22: "I/O possible",
-       23: "stopped (signal)",
-       24: "stopped",
-       25: "continued",
-       26: "stopped (tty input)",
-       27: "stopped (tty output)",
-       28: "virtual timer expired",
-       29: "profiling timer expired",
-       30: "CPU time limit exceeded",
-       31: "file size limit exceeded",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
deleted file mode 100644 (file)
index 37d66f3..0000000
+++ /dev/null
@@ -1,2096 +0,0 @@
-// mkerrors.sh -Wall -Werror -static -I/tmp/include
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build mips64,linux
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_ALG                           = 0x26
-       AF_APPLETALK                     = 0x5
-       AF_ASH                           = 0x12
-       AF_ATMPVC                        = 0x8
-       AF_ATMSVC                        = 0x14
-       AF_AX25                          = 0x3
-       AF_BLUETOOTH                     = 0x1f
-       AF_BRIDGE                        = 0x7
-       AF_CAIF                          = 0x25
-       AF_CAN                           = 0x1d
-       AF_DECnet                        = 0xc
-       AF_ECONET                        = 0x13
-       AF_FILE                          = 0x1
-       AF_IB                            = 0x1b
-       AF_IEEE802154                    = 0x24
-       AF_INET                          = 0x2
-       AF_INET6                         = 0xa
-       AF_IPX                           = 0x4
-       AF_IRDA                          = 0x17
-       AF_ISDN                          = 0x22
-       AF_IUCV                          = 0x20
-       AF_KCM                           = 0x29
-       AF_KEY                           = 0xf
-       AF_LLC                           = 0x1a
-       AF_LOCAL                         = 0x1
-       AF_MAX                           = 0x2b
-       AF_MPLS                          = 0x1c
-       AF_NETBEUI                       = 0xd
-       AF_NETLINK                       = 0x10
-       AF_NETROM                        = 0x6
-       AF_NFC                           = 0x27
-       AF_PACKET                        = 0x11
-       AF_PHONET                        = 0x23
-       AF_PPPOX                         = 0x18
-       AF_QIPCRTR                       = 0x2a
-       AF_RDS                           = 0x15
-       AF_ROSE                          = 0xb
-       AF_ROUTE                         = 0x10
-       AF_RXRPC                         = 0x21
-       AF_SECURITY                      = 0xe
-       AF_SNA                           = 0x16
-       AF_TIPC                          = 0x1e
-       AF_UNIX                          = 0x1
-       AF_UNSPEC                        = 0x0
-       AF_VSOCK                         = 0x28
-       AF_WANPIPE                       = 0x19
-       AF_X25                           = 0x9
-       ALG_OP_DECRYPT                   = 0x0
-       ALG_OP_ENCRYPT                   = 0x1
-       ALG_SET_AEAD_ASSOCLEN            = 0x4
-       ALG_SET_AEAD_AUTHSIZE            = 0x5
-       ALG_SET_IV                       = 0x2
-       ALG_SET_KEY                      = 0x1
-       ALG_SET_OP                       = 0x3
-       ARPHRD_6LOWPAN                   = 0x339
-       ARPHRD_ADAPT                     = 0x108
-       ARPHRD_APPLETLK                  = 0x8
-       ARPHRD_ARCNET                    = 0x7
-       ARPHRD_ASH                       = 0x30d
-       ARPHRD_ATM                       = 0x13
-       ARPHRD_AX25                      = 0x3
-       ARPHRD_BIF                       = 0x307
-       ARPHRD_CAIF                      = 0x336
-       ARPHRD_CAN                       = 0x118
-       ARPHRD_CHAOS                     = 0x5
-       ARPHRD_CISCO                     = 0x201
-       ARPHRD_CSLIP                     = 0x101
-       ARPHRD_CSLIP6                    = 0x103
-       ARPHRD_DDCMP                     = 0x205
-       ARPHRD_DLCI                      = 0xf
-       ARPHRD_ECONET                    = 0x30e
-       ARPHRD_EETHER                    = 0x2
-       ARPHRD_ETHER                     = 0x1
-       ARPHRD_EUI64                     = 0x1b
-       ARPHRD_FCAL                      = 0x311
-       ARPHRD_FCFABRIC                  = 0x313
-       ARPHRD_FCPL                      = 0x312
-       ARPHRD_FCPP                      = 0x310
-       ARPHRD_FDDI                      = 0x306
-       ARPHRD_FRAD                      = 0x302
-       ARPHRD_HDLC                      = 0x201
-       ARPHRD_HIPPI                     = 0x30c
-       ARPHRD_HWX25                     = 0x110
-       ARPHRD_IEEE1394                  = 0x18
-       ARPHRD_IEEE802                   = 0x6
-       ARPHRD_IEEE80211                 = 0x321
-       ARPHRD_IEEE80211_PRISM           = 0x322
-       ARPHRD_IEEE80211_RADIOTAP        = 0x323
-       ARPHRD_IEEE802154                = 0x324
-       ARPHRD_IEEE802154_MONITOR        = 0x325
-       ARPHRD_IEEE802_TR                = 0x320
-       ARPHRD_INFINIBAND                = 0x20
-       ARPHRD_IP6GRE                    = 0x337
-       ARPHRD_IPDDP                     = 0x309
-       ARPHRD_IPGRE                     = 0x30a
-       ARPHRD_IRDA                      = 0x30f
-       ARPHRD_LAPB                      = 0x204
-       ARPHRD_LOCALTLK                  = 0x305
-       ARPHRD_LOOPBACK                  = 0x304
-       ARPHRD_METRICOM                  = 0x17
-       ARPHRD_NETLINK                   = 0x338
-       ARPHRD_NETROM                    = 0x0
-       ARPHRD_NONE                      = 0xfffe
-       ARPHRD_PHONET                    = 0x334
-       ARPHRD_PHONET_PIPE               = 0x335
-       ARPHRD_PIMREG                    = 0x30b
-       ARPHRD_PPP                       = 0x200
-       ARPHRD_PRONET                    = 0x4
-       ARPHRD_RAWHDLC                   = 0x206
-       ARPHRD_ROSE                      = 0x10e
-       ARPHRD_RSRVD                     = 0x104
-       ARPHRD_SIT                       = 0x308
-       ARPHRD_SKIP                      = 0x303
-       ARPHRD_SLIP                      = 0x100
-       ARPHRD_SLIP6                     = 0x102
-       ARPHRD_TUNNEL                    = 0x300
-       ARPHRD_TUNNEL6                   = 0x301
-       ARPHRD_VOID                      = 0xffff
-       ARPHRD_X25                       = 0x10f
-       B0                               = 0x0
-       B1000000                         = 0x1008
-       B110                             = 0x3
-       B115200                          = 0x1002
-       B1152000                         = 0x1009
-       B1200                            = 0x9
-       B134                             = 0x4
-       B150                             = 0x5
-       B1500000                         = 0x100a
-       B1800                            = 0xa
-       B19200                           = 0xe
-       B200                             = 0x6
-       B2000000                         = 0x100b
-       B230400                          = 0x1003
-       B2400                            = 0xb
-       B2500000                         = 0x100c
-       B300                             = 0x7
-       B3000000                         = 0x100d
-       B3500000                         = 0x100e
-       B38400                           = 0xf
-       B4000000                         = 0x100f
-       B460800                          = 0x1004
-       B4800                            = 0xc
-       B50                              = 0x1
-       B500000                          = 0x1005
-       B57600                           = 0x1001
-       B576000                          = 0x1006
-       B600                             = 0x8
-       B75                              = 0x2
-       B921600                          = 0x1007
-       B9600                            = 0xd
-       BLKBSZGET                        = 0x40081270
-       BLKBSZSET                        = 0x80081271
-       BLKFLSBUF                        = 0x20001261
-       BLKFRAGET                        = 0x20001265
-       BLKFRASET                        = 0x20001264
-       BLKGETSIZE                       = 0x20001260
-       BLKGETSIZE64                     = 0x40081272
-       BLKPBSZGET                       = 0x2000127b
-       BLKRAGET                         = 0x20001263
-       BLKRASET                         = 0x20001262
-       BLKROGET                         = 0x2000125e
-       BLKROSET                         = 0x2000125d
-       BLKRRPART                        = 0x2000125f
-       BLKSECTGET                       = 0x20001267
-       BLKSECTSET                       = 0x20001266
-       BLKSSZGET                        = 0x20001268
-       BOTHER                           = 0x1000
-       BPF_A                            = 0x10
-       BPF_ABS                          = 0x20
-       BPF_ADD                          = 0x0
-       BPF_ALU                          = 0x4
-       BPF_AND                          = 0x50
-       BPF_B                            = 0x10
-       BPF_DIV                          = 0x30
-       BPF_H                            = 0x8
-       BPF_IMM                          = 0x0
-       BPF_IND                          = 0x40
-       BPF_JA                           = 0x0
-       BPF_JEQ                          = 0x10
-       BPF_JGE                          = 0x30
-       BPF_JGT                          = 0x20
-       BPF_JMP                          = 0x5
-       BPF_JSET                         = 0x40
-       BPF_K                            = 0x0
-       BPF_LD                           = 0x0
-       BPF_LDX                          = 0x1
-       BPF_LEN                          = 0x80
-       BPF_LL_OFF                       = -0x200000
-       BPF_LSH                          = 0x60
-       BPF_MAJOR_VERSION                = 0x1
-       BPF_MAXINSNS                     = 0x1000
-       BPF_MEM                          = 0x60
-       BPF_MEMWORDS                     = 0x10
-       BPF_MINOR_VERSION                = 0x1
-       BPF_MISC                         = 0x7
-       BPF_MOD                          = 0x90
-       BPF_MSH                          = 0xa0
-       BPF_MUL                          = 0x20
-       BPF_NEG                          = 0x80
-       BPF_NET_OFF                      = -0x100000
-       BPF_OR                           = 0x40
-       BPF_RET                          = 0x6
-       BPF_RSH                          = 0x70
-       BPF_ST                           = 0x2
-       BPF_STX                          = 0x3
-       BPF_SUB                          = 0x10
-       BPF_TAX                          = 0x0
-       BPF_TXA                          = 0x80
-       BPF_W                            = 0x0
-       BPF_X                            = 0x8
-       BPF_XOR                          = 0xa0
-       BRKINT                           = 0x2
-       BS0                              = 0x0
-       BS1                              = 0x2000
-       BSDLY                            = 0x2000
-       CAN_BCM                          = 0x2
-       CAN_EFF_FLAG                     = 0x80000000
-       CAN_EFF_ID_BITS                  = 0x1d
-       CAN_EFF_MASK                     = 0x1fffffff
-       CAN_ERR_FLAG                     = 0x20000000
-       CAN_ERR_MASK                     = 0x1fffffff
-       CAN_INV_FILTER                   = 0x20000000
-       CAN_ISOTP                        = 0x6
-       CAN_MAX_DLC                      = 0x8
-       CAN_MAX_DLEN                     = 0x8
-       CAN_MCNET                        = 0x5
-       CAN_MTU                          = 0x10
-       CAN_NPROTO                       = 0x7
-       CAN_RAW                          = 0x1
-       CAN_RAW_FILTER_MAX               = 0x200
-       CAN_RTR_FLAG                     = 0x40000000
-       CAN_SFF_ID_BITS                  = 0xb
-       CAN_SFF_MASK                     = 0x7ff
-       CAN_TP16                         = 0x3
-       CAN_TP20                         = 0x4
-       CBAUD                            = 0x100f
-       CBAUDEX                          = 0x1000
-       CFLUSH                           = 0xf
-       CIBAUD                           = 0x100f0000
-       CLOCAL                           = 0x800
-       CLOCK_BOOTTIME                   = 0x7
-       CLOCK_BOOTTIME_ALARM             = 0x9
-       CLOCK_DEFAULT                    = 0x0
-       CLOCK_EXT                        = 0x1
-       CLOCK_INT                        = 0x2
-       CLOCK_MONOTONIC                  = 0x1
-       CLOCK_MONOTONIC_COARSE           = 0x6
-       CLOCK_MONOTONIC_RAW              = 0x4
-       CLOCK_PROCESS_CPUTIME_ID         = 0x2
-       CLOCK_REALTIME                   = 0x0
-       CLOCK_REALTIME_ALARM             = 0x8
-       CLOCK_REALTIME_COARSE            = 0x5
-       CLOCK_TAI                        = 0xb
-       CLOCK_THREAD_CPUTIME_ID          = 0x3
-       CLOCK_TXFROMRX                   = 0x4
-       CLOCK_TXINT                      = 0x3
-       CLONE_CHILD_CLEARTID             = 0x200000
-       CLONE_CHILD_SETTID               = 0x1000000
-       CLONE_DETACHED                   = 0x400000
-       CLONE_FILES                      = 0x400
-       CLONE_FS                         = 0x200
-       CLONE_IO                         = 0x80000000
-       CLONE_NEWCGROUP                  = 0x2000000
-       CLONE_NEWIPC                     = 0x8000000
-       CLONE_NEWNET                     = 0x40000000
-       CLONE_NEWNS                      = 0x20000
-       CLONE_NEWPID                     = 0x20000000
-       CLONE_NEWUSER                    = 0x10000000
-       CLONE_NEWUTS                     = 0x4000000
-       CLONE_PARENT                     = 0x8000
-       CLONE_PARENT_SETTID              = 0x100000
-       CLONE_PTRACE                     = 0x2000
-       CLONE_SETTLS                     = 0x80000
-       CLONE_SIGHAND                    = 0x800
-       CLONE_SYSVSEM                    = 0x40000
-       CLONE_THREAD                     = 0x10000
-       CLONE_UNTRACED                   = 0x800000
-       CLONE_VFORK                      = 0x4000
-       CLONE_VM                         = 0x100
-       CMSPAR                           = 0x40000000
-       CR0                              = 0x0
-       CR1                              = 0x200
-       CR2                              = 0x400
-       CR3                              = 0x600
-       CRDLY                            = 0x600
-       CREAD                            = 0x80
-       CRTSCTS                          = 0x80000000
-       CS5                              = 0x0
-       CS6                              = 0x10
-       CS7                              = 0x20
-       CS8                              = 0x30
-       CSIGNAL                          = 0xff
-       CSIZE                            = 0x30
-       CSTART                           = 0x11
-       CSTATUS                          = 0x0
-       CSTOP                            = 0x13
-       CSTOPB                           = 0x40
-       CSUSP                            = 0x1a
-       DT_BLK                           = 0x6
-       DT_CHR                           = 0x2
-       DT_DIR                           = 0x4
-       DT_FIFO                          = 0x1
-       DT_LNK                           = 0xa
-       DT_REG                           = 0x8
-       DT_SOCK                          = 0xc
-       DT_UNKNOWN                       = 0x0
-       DT_WHT                           = 0xe
-       ECHO                             = 0x8
-       ECHOCTL                          = 0x200
-       ECHOE                            = 0x10
-       ECHOK                            = 0x20
-       ECHOKE                           = 0x800
-       ECHONL                           = 0x40
-       ECHOPRT                          = 0x400
-       ENCODING_DEFAULT                 = 0x0
-       ENCODING_FM_MARK                 = 0x3
-       ENCODING_FM_SPACE                = 0x4
-       ENCODING_MANCHESTER              = 0x5
-       ENCODING_NRZ                     = 0x1
-       ENCODING_NRZI                    = 0x2
-       EPOLLERR                         = 0x8
-       EPOLLET                          = 0x80000000
-       EPOLLEXCLUSIVE                   = 0x10000000
-       EPOLLHUP                         = 0x10
-       EPOLLIN                          = 0x1
-       EPOLLMSG                         = 0x400
-       EPOLLONESHOT                     = 0x40000000
-       EPOLLOUT                         = 0x4
-       EPOLLPRI                         = 0x2
-       EPOLLRDBAND                      = 0x80
-       EPOLLRDHUP                       = 0x2000
-       EPOLLRDNORM                      = 0x40
-       EPOLLWAKEUP                      = 0x20000000
-       EPOLLWRBAND                      = 0x200
-       EPOLLWRNORM                      = 0x100
-       EPOLL_CLOEXEC                    = 0x80000
-       EPOLL_CTL_ADD                    = 0x1
-       EPOLL_CTL_DEL                    = 0x2
-       EPOLL_CTL_MOD                    = 0x3
-       ETH_P_1588                       = 0x88f7
-       ETH_P_8021AD                     = 0x88a8
-       ETH_P_8021AH                     = 0x88e7
-       ETH_P_8021Q                      = 0x8100
-       ETH_P_80221                      = 0x8917
-       ETH_P_802_2                      = 0x4
-       ETH_P_802_3                      = 0x1
-       ETH_P_802_3_MIN                  = 0x600
-       ETH_P_802_EX1                    = 0x88b5
-       ETH_P_AARP                       = 0x80f3
-       ETH_P_AF_IUCV                    = 0xfbfb
-       ETH_P_ALL                        = 0x3
-       ETH_P_AOE                        = 0x88a2
-       ETH_P_ARCNET                     = 0x1a
-       ETH_P_ARP                        = 0x806
-       ETH_P_ATALK                      = 0x809b
-       ETH_P_ATMFATE                    = 0x8884
-       ETH_P_ATMMPOA                    = 0x884c
-       ETH_P_AX25                       = 0x2
-       ETH_P_BATMAN                     = 0x4305
-       ETH_P_BPQ                        = 0x8ff
-       ETH_P_CAIF                       = 0xf7
-       ETH_P_CAN                        = 0xc
-       ETH_P_CANFD                      = 0xd
-       ETH_P_CONTROL                    = 0x16
-       ETH_P_CUST                       = 0x6006
-       ETH_P_DDCMP                      = 0x6
-       ETH_P_DEC                        = 0x6000
-       ETH_P_DIAG                       = 0x6005
-       ETH_P_DNA_DL                     = 0x6001
-       ETH_P_DNA_RC                     = 0x6002
-       ETH_P_DNA_RT                     = 0x6003
-       ETH_P_DSA                        = 0x1b
-       ETH_P_ECONET                     = 0x18
-       ETH_P_EDSA                       = 0xdada
-       ETH_P_FCOE                       = 0x8906
-       ETH_P_FIP                        = 0x8914
-       ETH_P_HDLC                       = 0x19
-       ETH_P_HSR                        = 0x892f
-       ETH_P_IEEE802154                 = 0xf6
-       ETH_P_IEEEPUP                    = 0xa00
-       ETH_P_IEEEPUPAT                  = 0xa01
-       ETH_P_IP                         = 0x800
-       ETH_P_IPV6                       = 0x86dd
-       ETH_P_IPX                        = 0x8137
-       ETH_P_IRDA                       = 0x17
-       ETH_P_LAT                        = 0x6004
-       ETH_P_LINK_CTL                   = 0x886c
-       ETH_P_LOCALTALK                  = 0x9
-       ETH_P_LOOP                       = 0x60
-       ETH_P_LOOPBACK                   = 0x9000
-       ETH_P_MACSEC                     = 0x88e5
-       ETH_P_MOBITEX                    = 0x15
-       ETH_P_MPLS_MC                    = 0x8848
-       ETH_P_MPLS_UC                    = 0x8847
-       ETH_P_MVRP                       = 0x88f5
-       ETH_P_NCSI                       = 0x88f8
-       ETH_P_PAE                        = 0x888e
-       ETH_P_PAUSE                      = 0x8808
-       ETH_P_PHONET                     = 0xf5
-       ETH_P_PPPTALK                    = 0x10
-       ETH_P_PPP_DISC                   = 0x8863
-       ETH_P_PPP_MP                     = 0x8
-       ETH_P_PPP_SES                    = 0x8864
-       ETH_P_PRP                        = 0x88fb
-       ETH_P_PUP                        = 0x200
-       ETH_P_PUPAT                      = 0x201
-       ETH_P_QINQ1                      = 0x9100
-       ETH_P_QINQ2                      = 0x9200
-       ETH_P_QINQ3                      = 0x9300
-       ETH_P_RARP                       = 0x8035
-       ETH_P_SCA                        = 0x6007
-       ETH_P_SLOW                       = 0x8809
-       ETH_P_SNAP                       = 0x5
-       ETH_P_TDLS                       = 0x890d
-       ETH_P_TEB                        = 0x6558
-       ETH_P_TIPC                       = 0x88ca
-       ETH_P_TRAILER                    = 0x1c
-       ETH_P_TR_802_2                   = 0x11
-       ETH_P_TSN                        = 0x22f0
-       ETH_P_WAN_PPP                    = 0x7
-       ETH_P_WCCP                       = 0x883e
-       ETH_P_X25                        = 0x805
-       ETH_P_XDSA                       = 0xf8
-       EXTA                             = 0xe
-       EXTB                             = 0xf
-       EXTPROC                          = 0x10000
-       FALLOC_FL_COLLAPSE_RANGE         = 0x8
-       FALLOC_FL_INSERT_RANGE           = 0x20
-       FALLOC_FL_KEEP_SIZE              = 0x1
-       FALLOC_FL_NO_HIDE_STALE          = 0x4
-       FALLOC_FL_PUNCH_HOLE             = 0x2
-       FALLOC_FL_UNSHARE_RANGE          = 0x40
-       FALLOC_FL_ZERO_RANGE             = 0x10
-       FD_CLOEXEC                       = 0x1
-       FD_SETSIZE                       = 0x400
-       FF0                              = 0x0
-       FF1                              = 0x8000
-       FFDLY                            = 0x8000
-       FLUSHO                           = 0x2000
-       FS_ENCRYPTION_MODE_AES_256_CBC   = 0x3
-       FS_ENCRYPTION_MODE_AES_256_CTS   = 0x4
-       FS_ENCRYPTION_MODE_AES_256_GCM   = 0x2
-       FS_ENCRYPTION_MODE_AES_256_XTS   = 0x1
-       FS_ENCRYPTION_MODE_INVALID       = 0x0
-       FS_IOC_GET_ENCRYPTION_POLICY     = 0x800c6615
-       FS_IOC_GET_ENCRYPTION_PWSALT     = 0x80106614
-       FS_IOC_SET_ENCRYPTION_POLICY     = 0x400c6613
-       FS_KEY_DESCRIPTOR_SIZE           = 0x8
-       FS_KEY_DESC_PREFIX               = "fscrypt:"
-       FS_KEY_DESC_PREFIX_SIZE          = 0x8
-       FS_MAX_KEY_SIZE                  = 0x40
-       FS_POLICY_FLAGS_PAD_16           = 0x2
-       FS_POLICY_FLAGS_PAD_32           = 0x3
-       FS_POLICY_FLAGS_PAD_4            = 0x0
-       FS_POLICY_FLAGS_PAD_8            = 0x1
-       FS_POLICY_FLAGS_PAD_MASK         = 0x3
-       FS_POLICY_FLAGS_VALID            = 0x3
-       F_DUPFD                          = 0x0
-       F_DUPFD_CLOEXEC                  = 0x406
-       F_EXLCK                          = 0x4
-       F_GETFD                          = 0x1
-       F_GETFL                          = 0x3
-       F_GETLEASE                       = 0x401
-       F_GETLK                          = 0xe
-       F_GETLK64                        = 0xe
-       F_GETOWN                         = 0x17
-       F_GETOWN_EX                      = 0x10
-       F_GETPIPE_SZ                     = 0x408
-       F_GETSIG                         = 0xb
-       F_LOCK                           = 0x1
-       F_NOTIFY                         = 0x402
-       F_OFD_GETLK                      = 0x24
-       F_OFD_SETLK                      = 0x25
-       F_OFD_SETLKW                     = 0x26
-       F_OK                             = 0x0
-       F_RDLCK                          = 0x0
-       F_SETFD                          = 0x2
-       F_SETFL                          = 0x4
-       F_SETLEASE                       = 0x400
-       F_SETLK                          = 0x6
-       F_SETLK64                        = 0x6
-       F_SETLKW                         = 0x7
-       F_SETLKW64                       = 0x7
-       F_SETOWN                         = 0x18
-       F_SETOWN_EX                      = 0xf
-       F_SETPIPE_SZ                     = 0x407
-       F_SETSIG                         = 0xa
-       F_SHLCK                          = 0x8
-       F_TEST                           = 0x3
-       F_TLOCK                          = 0x2
-       F_ULOCK                          = 0x0
-       F_UNLCK                          = 0x2
-       F_WRLCK                          = 0x1
-       GRND_NONBLOCK                    = 0x1
-       GRND_RANDOM                      = 0x2
-       HUPCL                            = 0x400
-       IBSHIFT                          = 0x10
-       ICANON                           = 0x2
-       ICMPV6_FILTER                    = 0x1
-       ICRNL                            = 0x100
-       IEXTEN                           = 0x100
-       IFA_F_DADFAILED                  = 0x8
-       IFA_F_DEPRECATED                 = 0x20
-       IFA_F_HOMEADDRESS                = 0x10
-       IFA_F_MANAGETEMPADDR             = 0x100
-       IFA_F_MCAUTOJOIN                 = 0x400
-       IFA_F_NODAD                      = 0x2
-       IFA_F_NOPREFIXROUTE              = 0x200
-       IFA_F_OPTIMISTIC                 = 0x4
-       IFA_F_PERMANENT                  = 0x80
-       IFA_F_SECONDARY                  = 0x1
-       IFA_F_STABLE_PRIVACY             = 0x800
-       IFA_F_TEMPORARY                  = 0x1
-       IFA_F_TENTATIVE                  = 0x40
-       IFA_MAX                          = 0x8
-       IFF_ALLMULTI                     = 0x200
-       IFF_ATTACH_QUEUE                 = 0x200
-       IFF_AUTOMEDIA                    = 0x4000
-       IFF_BROADCAST                    = 0x2
-       IFF_DEBUG                        = 0x4
-       IFF_DETACH_QUEUE                 = 0x400
-       IFF_DORMANT                      = 0x20000
-       IFF_DYNAMIC                      = 0x8000
-       IFF_ECHO                         = 0x40000
-       IFF_LOOPBACK                     = 0x8
-       IFF_LOWER_UP                     = 0x10000
-       IFF_MASTER                       = 0x400
-       IFF_MULTICAST                    = 0x1000
-       IFF_MULTI_QUEUE                  = 0x100
-       IFF_NOARP                        = 0x80
-       IFF_NOFILTER                     = 0x1000
-       IFF_NOTRAILERS                   = 0x20
-       IFF_NO_PI                        = 0x1000
-       IFF_ONE_QUEUE                    = 0x2000
-       IFF_PERSIST                      = 0x800
-       IFF_POINTOPOINT                  = 0x10
-       IFF_PORTSEL                      = 0x2000
-       IFF_PROMISC                      = 0x100
-       IFF_RUNNING                      = 0x40
-       IFF_SLAVE                        = 0x800
-       IFF_TAP                          = 0x2
-       IFF_TUN                          = 0x1
-       IFF_TUN_EXCL                     = 0x8000
-       IFF_UP                           = 0x1
-       IFF_VNET_HDR                     = 0x4000
-       IFF_VOLATILE                     = 0x70c5a
-       IFNAMSIZ                         = 0x10
-       IGNBRK                           = 0x1
-       IGNCR                            = 0x80
-       IGNPAR                           = 0x4
-       IMAXBEL                          = 0x2000
-       INLCR                            = 0x40
-       INPCK                            = 0x10
-       IN_ACCESS                        = 0x1
-       IN_ALL_EVENTS                    = 0xfff
-       IN_ATTRIB                        = 0x4
-       IN_CLASSA_HOST                   = 0xffffff
-       IN_CLASSA_MAX                    = 0x80
-       IN_CLASSA_NET                    = 0xff000000
-       IN_CLASSA_NSHIFT                 = 0x18
-       IN_CLASSB_HOST                   = 0xffff
-       IN_CLASSB_MAX                    = 0x10000
-       IN_CLASSB_NET                    = 0xffff0000
-       IN_CLASSB_NSHIFT                 = 0x10
-       IN_CLASSC_HOST                   = 0xff
-       IN_CLASSC_NET                    = 0xffffff00
-       IN_CLASSC_NSHIFT                 = 0x8
-       IN_CLOEXEC                       = 0x80000
-       IN_CLOSE                         = 0x18
-       IN_CLOSE_NOWRITE                 = 0x10
-       IN_CLOSE_WRITE                   = 0x8
-       IN_CREATE                        = 0x100
-       IN_DELETE                        = 0x200
-       IN_DELETE_SELF                   = 0x400
-       IN_DONT_FOLLOW                   = 0x2000000
-       IN_EXCL_UNLINK                   = 0x4000000
-       IN_IGNORED                       = 0x8000
-       IN_ISDIR                         = 0x40000000
-       IN_LOOPBACKNET                   = 0x7f
-       IN_MASK_ADD                      = 0x20000000
-       IN_MODIFY                        = 0x2
-       IN_MOVE                          = 0xc0
-       IN_MOVED_FROM                    = 0x40
-       IN_MOVED_TO                      = 0x80
-       IN_MOVE_SELF                     = 0x800
-       IN_NONBLOCK                      = 0x80
-       IN_ONESHOT                       = 0x80000000
-       IN_ONLYDIR                       = 0x1000000
-       IN_OPEN                          = 0x20
-       IN_Q_OVERFLOW                    = 0x4000
-       IN_UNMOUNT                       = 0x2000
-       IPPROTO_AH                       = 0x33
-       IPPROTO_BEETPH                   = 0x5e
-       IPPROTO_COMP                     = 0x6c
-       IPPROTO_DCCP                     = 0x21
-       IPPROTO_DSTOPTS                  = 0x3c
-       IPPROTO_EGP                      = 0x8
-       IPPROTO_ENCAP                    = 0x62
-       IPPROTO_ESP                      = 0x32
-       IPPROTO_FRAGMENT                 = 0x2c
-       IPPROTO_GRE                      = 0x2f
-       IPPROTO_HOPOPTS                  = 0x0
-       IPPROTO_ICMP                     = 0x1
-       IPPROTO_ICMPV6                   = 0x3a
-       IPPROTO_IDP                      = 0x16
-       IPPROTO_IGMP                     = 0x2
-       IPPROTO_IP                       = 0x0
-       IPPROTO_IPIP                     = 0x4
-       IPPROTO_IPV6                     = 0x29
-       IPPROTO_MH                       = 0x87
-       IPPROTO_MPLS                     = 0x89
-       IPPROTO_MTP                      = 0x5c
-       IPPROTO_NONE                     = 0x3b
-       IPPROTO_PIM                      = 0x67
-       IPPROTO_PUP                      = 0xc
-       IPPROTO_RAW                      = 0xff
-       IPPROTO_ROUTING                  = 0x2b
-       IPPROTO_RSVP                     = 0x2e
-       IPPROTO_SCTP                     = 0x84
-       IPPROTO_TCP                      = 0x6
-       IPPROTO_TP                       = 0x1d
-       IPPROTO_UDP                      = 0x11
-       IPPROTO_UDPLITE                  = 0x88
-       IPV6_2292DSTOPTS                 = 0x4
-       IPV6_2292HOPLIMIT                = 0x8
-       IPV6_2292HOPOPTS                 = 0x3
-       IPV6_2292PKTINFO                 = 0x2
-       IPV6_2292PKTOPTIONS              = 0x6
-       IPV6_2292RTHDR                   = 0x5
-       IPV6_ADDRFORM                    = 0x1
-       IPV6_ADD_MEMBERSHIP              = 0x14
-       IPV6_AUTHHDR                     = 0xa
-       IPV6_CHECKSUM                    = 0x7
-       IPV6_DONTFRAG                    = 0x3e
-       IPV6_DROP_MEMBERSHIP             = 0x15
-       IPV6_DSTOPTS                     = 0x3b
-       IPV6_HDRINCL                     = 0x24
-       IPV6_HOPLIMIT                    = 0x34
-       IPV6_HOPOPTS                     = 0x36
-       IPV6_IPSEC_POLICY                = 0x22
-       IPV6_JOIN_ANYCAST                = 0x1b
-       IPV6_JOIN_GROUP                  = 0x14
-       IPV6_LEAVE_ANYCAST               = 0x1c
-       IPV6_LEAVE_GROUP                 = 0x15
-       IPV6_MTU                         = 0x18
-       IPV6_MTU_DISCOVER                = 0x17
-       IPV6_MULTICAST_HOPS              = 0x12
-       IPV6_MULTICAST_IF                = 0x11
-       IPV6_MULTICAST_LOOP              = 0x13
-       IPV6_NEXTHOP                     = 0x9
-       IPV6_PATHMTU                     = 0x3d
-       IPV6_PKTINFO                     = 0x32
-       IPV6_PMTUDISC_DO                 = 0x2
-       IPV6_PMTUDISC_DONT               = 0x0
-       IPV6_PMTUDISC_INTERFACE          = 0x4
-       IPV6_PMTUDISC_OMIT               = 0x5
-       IPV6_PMTUDISC_PROBE              = 0x3
-       IPV6_PMTUDISC_WANT               = 0x1
-       IPV6_RECVDSTOPTS                 = 0x3a
-       IPV6_RECVERR                     = 0x19
-       IPV6_RECVHOPLIMIT                = 0x33
-       IPV6_RECVHOPOPTS                 = 0x35
-       IPV6_RECVPATHMTU                 = 0x3c
-       IPV6_RECVPKTINFO                 = 0x31
-       IPV6_RECVRTHDR                   = 0x38
-       IPV6_RECVTCLASS                  = 0x42
-       IPV6_ROUTER_ALERT                = 0x16
-       IPV6_RTHDR                       = 0x39
-       IPV6_RTHDRDSTOPTS                = 0x37
-       IPV6_RTHDR_LOOSE                 = 0x0
-       IPV6_RTHDR_STRICT                = 0x1
-       IPV6_RTHDR_TYPE_0                = 0x0
-       IPV6_RXDSTOPTS                   = 0x3b
-       IPV6_RXHOPOPTS                   = 0x36
-       IPV6_TCLASS                      = 0x43
-       IPV6_UNICAST_HOPS                = 0x10
-       IPV6_V6ONLY                      = 0x1a
-       IPV6_XFRM_POLICY                 = 0x23
-       IP_ADD_MEMBERSHIP                = 0x23
-       IP_ADD_SOURCE_MEMBERSHIP         = 0x27
-       IP_BIND_ADDRESS_NO_PORT          = 0x18
-       IP_BLOCK_SOURCE                  = 0x26
-       IP_CHECKSUM                      = 0x17
-       IP_DEFAULT_MULTICAST_LOOP        = 0x1
-       IP_DEFAULT_MULTICAST_TTL         = 0x1
-       IP_DF                            = 0x4000
-       IP_DROP_MEMBERSHIP               = 0x24
-       IP_DROP_SOURCE_MEMBERSHIP        = 0x28
-       IP_FREEBIND                      = 0xf
-       IP_HDRINCL                       = 0x3
-       IP_IPSEC_POLICY                  = 0x10
-       IP_MAXPACKET                     = 0xffff
-       IP_MAX_MEMBERSHIPS               = 0x14
-       IP_MF                            = 0x2000
-       IP_MINTTL                        = 0x15
-       IP_MSFILTER                      = 0x29
-       IP_MSS                           = 0x240
-       IP_MTU                           = 0xe
-       IP_MTU_DISCOVER                  = 0xa
-       IP_MULTICAST_ALL                 = 0x31
-       IP_MULTICAST_IF                  = 0x20
-       IP_MULTICAST_LOOP                = 0x22
-       IP_MULTICAST_TTL                 = 0x21
-       IP_NODEFRAG                      = 0x16
-       IP_OFFMASK                       = 0x1fff
-       IP_OPTIONS                       = 0x4
-       IP_ORIGDSTADDR                   = 0x14
-       IP_PASSSEC                       = 0x12
-       IP_PKTINFO                       = 0x8
-       IP_PKTOPTIONS                    = 0x9
-       IP_PMTUDISC                      = 0xa
-       IP_PMTUDISC_DO                   = 0x2
-       IP_PMTUDISC_DONT                 = 0x0
-       IP_PMTUDISC_INTERFACE            = 0x4
-       IP_PMTUDISC_OMIT                 = 0x5
-       IP_PMTUDISC_PROBE                = 0x3
-       IP_PMTUDISC_WANT                 = 0x1
-       IP_RECVERR                       = 0xb
-       IP_RECVOPTS                      = 0x6
-       IP_RECVORIGDSTADDR               = 0x14
-       IP_RECVRETOPTS                   = 0x7
-       IP_RECVTOS                       = 0xd
-       IP_RECVTTL                       = 0xc
-       IP_RETOPTS                       = 0x7
-       IP_RF                            = 0x8000
-       IP_ROUTER_ALERT                  = 0x5
-       IP_TOS                           = 0x1
-       IP_TRANSPARENT                   = 0x13
-       IP_TTL                           = 0x2
-       IP_UNBLOCK_SOURCE                = 0x25
-       IP_UNICAST_IF                    = 0x32
-       IP_XFRM_POLICY                   = 0x11
-       ISIG                             = 0x1
-       ISTRIP                           = 0x20
-       IUCLC                            = 0x200
-       IUTF8                            = 0x4000
-       IXANY                            = 0x800
-       IXOFF                            = 0x1000
-       IXON                             = 0x400
-       LINUX_REBOOT_CMD_CAD_OFF         = 0x0
-       LINUX_REBOOT_CMD_CAD_ON          = 0x89abcdef
-       LINUX_REBOOT_CMD_HALT            = 0xcdef0123
-       LINUX_REBOOT_CMD_KEXEC           = 0x45584543
-       LINUX_REBOOT_CMD_POWER_OFF       = 0x4321fedc
-       LINUX_REBOOT_CMD_RESTART         = 0x1234567
-       LINUX_REBOOT_CMD_RESTART2        = 0xa1b2c3d4
-       LINUX_REBOOT_CMD_SW_SUSPEND      = 0xd000fce2
-       LINUX_REBOOT_MAGIC1              = 0xfee1dead
-       LINUX_REBOOT_MAGIC2              = 0x28121969
-       LOCK_EX                          = 0x2
-       LOCK_NB                          = 0x4
-       LOCK_SH                          = 0x1
-       LOCK_UN                          = 0x8
-       MADV_DODUMP                      = 0x11
-       MADV_DOFORK                      = 0xb
-       MADV_DONTDUMP                    = 0x10
-       MADV_DONTFORK                    = 0xa
-       MADV_DONTNEED                    = 0x4
-       MADV_FREE                        = 0x8
-       MADV_HUGEPAGE                    = 0xe
-       MADV_HWPOISON                    = 0x64
-       MADV_MERGEABLE                   = 0xc
-       MADV_NOHUGEPAGE                  = 0xf
-       MADV_NORMAL                      = 0x0
-       MADV_RANDOM                      = 0x1
-       MADV_REMOVE                      = 0x9
-       MADV_SEQUENTIAL                  = 0x2
-       MADV_UNMERGEABLE                 = 0xd
-       MADV_WILLNEED                    = 0x3
-       MAP_ANON                         = 0x800
-       MAP_ANONYMOUS                    = 0x800
-       MAP_DENYWRITE                    = 0x2000
-       MAP_EXECUTABLE                   = 0x4000
-       MAP_FILE                         = 0x0
-       MAP_FIXED                        = 0x10
-       MAP_GROWSDOWN                    = 0x1000
-       MAP_HUGETLB                      = 0x80000
-       MAP_HUGE_MASK                    = 0x3f
-       MAP_HUGE_SHIFT                   = 0x1a
-       MAP_LOCKED                       = 0x8000
-       MAP_NONBLOCK                     = 0x20000
-       MAP_NORESERVE                    = 0x400
-       MAP_POPULATE                     = 0x10000
-       MAP_PRIVATE                      = 0x2
-       MAP_RENAME                       = 0x800
-       MAP_SHARED                       = 0x1
-       MAP_STACK                        = 0x40000
-       MAP_TYPE                         = 0xf
-       MCL_CURRENT                      = 0x1
-       MCL_FUTURE                       = 0x2
-       MCL_ONFAULT                      = 0x4
-       MNT_DETACH                       = 0x2
-       MNT_EXPIRE                       = 0x4
-       MNT_FORCE                        = 0x1
-       MSG_BATCH                        = 0x40000
-       MSG_CMSG_CLOEXEC                 = 0x40000000
-       MSG_CONFIRM                      = 0x800
-       MSG_CTRUNC                       = 0x8
-       MSG_DONTROUTE                    = 0x4
-       MSG_DONTWAIT                     = 0x40
-       MSG_EOR                          = 0x80
-       MSG_ERRQUEUE                     = 0x2000
-       MSG_FASTOPEN                     = 0x20000000
-       MSG_FIN                          = 0x200
-       MSG_MORE                         = 0x8000
-       MSG_NOSIGNAL                     = 0x4000
-       MSG_OOB                          = 0x1
-       MSG_PEEK                         = 0x2
-       MSG_PROXY                        = 0x10
-       MSG_RST                          = 0x1000
-       MSG_SYN                          = 0x400
-       MSG_TRUNC                        = 0x20
-       MSG_TRYHARD                      = 0x4
-       MSG_WAITALL                      = 0x100
-       MSG_WAITFORONE                   = 0x10000
-       MS_ACTIVE                        = 0x40000000
-       MS_ASYNC                         = 0x1
-       MS_BIND                          = 0x1000
-       MS_BORN                          = 0x20000000
-       MS_DIRSYNC                       = 0x80
-       MS_INVALIDATE                    = 0x2
-       MS_I_VERSION                     = 0x800000
-       MS_KERNMOUNT                     = 0x400000
-       MS_LAZYTIME                      = 0x2000000
-       MS_MANDLOCK                      = 0x40
-       MS_MGC_MSK                       = 0xffff0000
-       MS_MGC_VAL                       = 0xc0ed0000
-       MS_MOVE                          = 0x2000
-       MS_NOATIME                       = 0x400
-       MS_NODEV                         = 0x4
-       MS_NODIRATIME                    = 0x800
-       MS_NOEXEC                        = 0x8
-       MS_NOREMOTELOCK                  = 0x8000000
-       MS_NOSEC                         = 0x10000000
-       MS_NOSUID                        = 0x2
-       MS_NOUSER                        = -0x80000000
-       MS_POSIXACL                      = 0x10000
-       MS_PRIVATE                       = 0x40000
-       MS_RDONLY                        = 0x1
-       MS_REC                           = 0x4000
-       MS_RELATIME                      = 0x200000
-       MS_REMOUNT                       = 0x20
-       MS_RMT_MASK                      = 0x2800051
-       MS_SHARED                        = 0x100000
-       MS_SILENT                        = 0x8000
-       MS_SLAVE                         = 0x80000
-       MS_STRICTATIME                   = 0x1000000
-       MS_SYNC                          = 0x4
-       MS_SYNCHRONOUS                   = 0x10
-       MS_UNBINDABLE                    = 0x20000
-       MS_VERBOSE                       = 0x8000
-       NAME_MAX                         = 0xff
-       NETLINK_ADD_MEMBERSHIP           = 0x1
-       NETLINK_AUDIT                    = 0x9
-       NETLINK_BROADCAST_ERROR          = 0x4
-       NETLINK_CAP_ACK                  = 0xa
-       NETLINK_CONNECTOR                = 0xb
-       NETLINK_CRYPTO                   = 0x15
-       NETLINK_DNRTMSG                  = 0xe
-       NETLINK_DROP_MEMBERSHIP          = 0x2
-       NETLINK_ECRYPTFS                 = 0x13
-       NETLINK_FIB_LOOKUP               = 0xa
-       NETLINK_FIREWALL                 = 0x3
-       NETLINK_GENERIC                  = 0x10
-       NETLINK_INET_DIAG                = 0x4
-       NETLINK_IP6_FW                   = 0xd
-       NETLINK_ISCSI                    = 0x8
-       NETLINK_KOBJECT_UEVENT           = 0xf
-       NETLINK_LISTEN_ALL_NSID          = 0x8
-       NETLINK_LIST_MEMBERSHIPS         = 0x9
-       NETLINK_NETFILTER                = 0xc
-       NETLINK_NFLOG                    = 0x5
-       NETLINK_NO_ENOBUFS               = 0x5
-       NETLINK_PKTINFO                  = 0x3
-       NETLINK_RDMA                     = 0x14
-       NETLINK_ROUTE                    = 0x0
-       NETLINK_RX_RING                  = 0x6
-       NETLINK_SCSITRANSPORT            = 0x12
-       NETLINK_SELINUX                  = 0x7
-       NETLINK_SOCK_DIAG                = 0x4
-       NETLINK_TX_RING                  = 0x7
-       NETLINK_UNUSED                   = 0x1
-       NETLINK_USERSOCK                 = 0x2
-       NETLINK_XFRM                     = 0x6
-       NL0                              = 0x0
-       NL1                              = 0x100
-       NLA_ALIGNTO                      = 0x4
-       NLA_F_NESTED                     = 0x8000
-       NLA_F_NET_BYTEORDER              = 0x4000
-       NLA_HDRLEN                       = 0x4
-       NLDLY                            = 0x100
-       NLMSG_ALIGNTO                    = 0x4
-       NLMSG_DONE                       = 0x3
-       NLMSG_ERROR                      = 0x2
-       NLMSG_HDRLEN                     = 0x10
-       NLMSG_MIN_TYPE                   = 0x10
-       NLMSG_NOOP                       = 0x1
-       NLMSG_OVERRUN                    = 0x4
-       NLM_F_ACK                        = 0x4
-       NLM_F_APPEND                     = 0x800
-       NLM_F_ATOMIC                     = 0x400
-       NLM_F_CREATE                     = 0x400
-       NLM_F_DUMP                       = 0x300
-       NLM_F_DUMP_FILTERED              = 0x20
-       NLM_F_DUMP_INTR                  = 0x10
-       NLM_F_ECHO                       = 0x8
-       NLM_F_EXCL                       = 0x200
-       NLM_F_MATCH                      = 0x200
-       NLM_F_MULTI                      = 0x2
-       NLM_F_REPLACE                    = 0x100
-       NLM_F_REQUEST                    = 0x1
-       NLM_F_ROOT                       = 0x100
-       NOFLSH                           = 0x80
-       OCRNL                            = 0x8
-       OFDEL                            = 0x80
-       OFILL                            = 0x40
-       OLCUC                            = 0x2
-       ONLCR                            = 0x4
-       ONLRET                           = 0x20
-       ONOCR                            = 0x10
-       OPOST                            = 0x1
-       O_ACCMODE                        = 0x3
-       O_APPEND                         = 0x8
-       O_ASYNC                          = 0x1000
-       O_CLOEXEC                        = 0x80000
-       O_CREAT                          = 0x100
-       O_DIRECT                         = 0x8000
-       O_DIRECTORY                      = 0x10000
-       O_DSYNC                          = 0x10
-       O_EXCL                           = 0x400
-       O_FSYNC                          = 0x4010
-       O_LARGEFILE                      = 0x0
-       O_NDELAY                         = 0x80
-       O_NOATIME                        = 0x40000
-       O_NOCTTY                         = 0x800
-       O_NOFOLLOW                       = 0x20000
-       O_NONBLOCK                       = 0x80
-       O_PATH                           = 0x200000
-       O_RDONLY                         = 0x0
-       O_RDWR                           = 0x2
-       O_RSYNC                          = 0x4010
-       O_SYNC                           = 0x4010
-       O_TMPFILE                        = 0x410000
-       O_TRUNC                          = 0x200
-       O_WRONLY                         = 0x1
-       PACKET_ADD_MEMBERSHIP            = 0x1
-       PACKET_AUXDATA                   = 0x8
-       PACKET_BROADCAST                 = 0x1
-       PACKET_COPY_THRESH               = 0x7
-       PACKET_DROP_MEMBERSHIP           = 0x2
-       PACKET_FANOUT                    = 0x12
-       PACKET_FANOUT_CBPF               = 0x6
-       PACKET_FANOUT_CPU                = 0x2
-       PACKET_FANOUT_DATA               = 0x16
-       PACKET_FANOUT_EBPF               = 0x7
-       PACKET_FANOUT_FLAG_DEFRAG        = 0x8000
-       PACKET_FANOUT_FLAG_ROLLOVER      = 0x1000
-       PACKET_FANOUT_HASH               = 0x0
-       PACKET_FANOUT_LB                 = 0x1
-       PACKET_FANOUT_QM                 = 0x5
-       PACKET_FANOUT_RND                = 0x4
-       PACKET_FANOUT_ROLLOVER           = 0x3
-       PACKET_FASTROUTE                 = 0x6
-       PACKET_HDRLEN                    = 0xb
-       PACKET_HOST                      = 0x0
-       PACKET_KERNEL                    = 0x7
-       PACKET_LOOPBACK                  = 0x5
-       PACKET_LOSS                      = 0xe
-       PACKET_MR_ALLMULTI               = 0x2
-       PACKET_MR_MULTICAST              = 0x0
-       PACKET_MR_PROMISC                = 0x1
-       PACKET_MR_UNICAST                = 0x3
-       PACKET_MULTICAST                 = 0x2
-       PACKET_ORIGDEV                   = 0x9
-       PACKET_OTHERHOST                 = 0x3
-       PACKET_OUTGOING                  = 0x4
-       PACKET_QDISC_BYPASS              = 0x14
-       PACKET_RECV_OUTPUT               = 0x3
-       PACKET_RESERVE                   = 0xc
-       PACKET_ROLLOVER_STATS            = 0x15
-       PACKET_RX_RING                   = 0x5
-       PACKET_STATISTICS                = 0x6
-       PACKET_TIMESTAMP                 = 0x11
-       PACKET_TX_HAS_OFF                = 0x13
-       PACKET_TX_RING                   = 0xd
-       PACKET_TX_TIMESTAMP              = 0x10
-       PACKET_USER                      = 0x6
-       PACKET_VERSION                   = 0xa
-       PACKET_VNET_HDR                  = 0xf
-       PARENB                           = 0x100
-       PARITY_CRC16_PR0                 = 0x2
-       PARITY_CRC16_PR0_CCITT           = 0x4
-       PARITY_CRC16_PR1                 = 0x3
-       PARITY_CRC16_PR1_CCITT           = 0x5
-       PARITY_CRC32_PR0_CCITT           = 0x6
-       PARITY_CRC32_PR1_CCITT           = 0x7
-       PARITY_DEFAULT                   = 0x0
-       PARITY_NONE                      = 0x1
-       PARMRK                           = 0x8
-       PARODD                           = 0x200
-       PENDIN                           = 0x4000
-       PRIO_PGRP                        = 0x1
-       PRIO_PROCESS                     = 0x0
-       PRIO_USER                        = 0x2
-       PROT_EXEC                        = 0x4
-       PROT_GROWSDOWN                   = 0x1000000
-       PROT_GROWSUP                     = 0x2000000
-       PROT_NONE                        = 0x0
-       PROT_READ                        = 0x1
-       PROT_WRITE                       = 0x2
-       PR_CAPBSET_DROP                  = 0x18
-       PR_CAPBSET_READ                  = 0x17
-       PR_CAP_AMBIENT                   = 0x2f
-       PR_CAP_AMBIENT_CLEAR_ALL         = 0x4
-       PR_CAP_AMBIENT_IS_SET            = 0x1
-       PR_CAP_AMBIENT_LOWER             = 0x3
-       PR_CAP_AMBIENT_RAISE             = 0x2
-       PR_ENDIAN_BIG                    = 0x0
-       PR_ENDIAN_LITTLE                 = 0x1
-       PR_ENDIAN_PPC_LITTLE             = 0x2
-       PR_FPEMU_NOPRINT                 = 0x1
-       PR_FPEMU_SIGFPE                  = 0x2
-       PR_FP_EXC_ASYNC                  = 0x2
-       PR_FP_EXC_DISABLED               = 0x0
-       PR_FP_EXC_DIV                    = 0x10000
-       PR_FP_EXC_INV                    = 0x100000
-       PR_FP_EXC_NONRECOV               = 0x1
-       PR_FP_EXC_OVF                    = 0x20000
-       PR_FP_EXC_PRECISE                = 0x3
-       PR_FP_EXC_RES                    = 0x80000
-       PR_FP_EXC_SW_ENABLE              = 0x80
-       PR_FP_EXC_UND                    = 0x40000
-       PR_FP_MODE_FR                    = 0x1
-       PR_FP_MODE_FRE                   = 0x2
-       PR_GET_CHILD_SUBREAPER           = 0x25
-       PR_GET_DUMPABLE                  = 0x3
-       PR_GET_ENDIAN                    = 0x13
-       PR_GET_FPEMU                     = 0x9
-       PR_GET_FPEXC                     = 0xb
-       PR_GET_FP_MODE                   = 0x2e
-       PR_GET_KEEPCAPS                  = 0x7
-       PR_GET_NAME                      = 0x10
-       PR_GET_NO_NEW_PRIVS              = 0x27
-       PR_GET_PDEATHSIG                 = 0x2
-       PR_GET_SECCOMP                   = 0x15
-       PR_GET_SECUREBITS                = 0x1b
-       PR_GET_THP_DISABLE               = 0x2a
-       PR_GET_TID_ADDRESS               = 0x28
-       PR_GET_TIMERSLACK                = 0x1e
-       PR_GET_TIMING                    = 0xd
-       PR_GET_TSC                       = 0x19
-       PR_GET_UNALIGN                   = 0x5
-       PR_MCE_KILL                      = 0x21
-       PR_MCE_KILL_CLEAR                = 0x0
-       PR_MCE_KILL_DEFAULT              = 0x2
-       PR_MCE_KILL_EARLY                = 0x1
-       PR_MCE_KILL_GET                  = 0x22
-       PR_MCE_KILL_LATE                 = 0x0
-       PR_MCE_KILL_SET                  = 0x1
-       PR_MPX_DISABLE_MANAGEMENT        = 0x2c
-       PR_MPX_ENABLE_MANAGEMENT         = 0x2b
-       PR_SET_CHILD_SUBREAPER           = 0x24
-       PR_SET_DUMPABLE                  = 0x4
-       PR_SET_ENDIAN                    = 0x14
-       PR_SET_FPEMU                     = 0xa
-       PR_SET_FPEXC                     = 0xc
-       PR_SET_FP_MODE                   = 0x2d
-       PR_SET_KEEPCAPS                  = 0x8
-       PR_SET_MM                        = 0x23
-       PR_SET_MM_ARG_END                = 0x9
-       PR_SET_MM_ARG_START              = 0x8
-       PR_SET_MM_AUXV                   = 0xc
-       PR_SET_MM_BRK                    = 0x7
-       PR_SET_MM_END_CODE               = 0x2
-       PR_SET_MM_END_DATA               = 0x4
-       PR_SET_MM_ENV_END                = 0xb
-       PR_SET_MM_ENV_START              = 0xa
-       PR_SET_MM_EXE_FILE               = 0xd
-       PR_SET_MM_MAP                    = 0xe
-       PR_SET_MM_MAP_SIZE               = 0xf
-       PR_SET_MM_START_BRK              = 0x6
-       PR_SET_MM_START_CODE             = 0x1
-       PR_SET_MM_START_DATA             = 0x3
-       PR_SET_MM_START_STACK            = 0x5
-       PR_SET_NAME                      = 0xf
-       PR_SET_NO_NEW_PRIVS              = 0x26
-       PR_SET_PDEATHSIG                 = 0x1
-       PR_SET_PTRACER                   = 0x59616d61
-       PR_SET_PTRACER_ANY               = -0x1
-       PR_SET_SECCOMP                   = 0x16
-       PR_SET_SECUREBITS                = 0x1c
-       PR_SET_THP_DISABLE               = 0x29
-       PR_SET_TIMERSLACK                = 0x1d
-       PR_SET_TIMING                    = 0xe
-       PR_SET_TSC                       = 0x1a
-       PR_SET_UNALIGN                   = 0x6
-       PR_TASK_PERF_EVENTS_DISABLE      = 0x1f
-       PR_TASK_PERF_EVENTS_ENABLE       = 0x20
-       PR_TIMING_STATISTICAL            = 0x0
-       PR_TIMING_TIMESTAMP              = 0x1
-       PR_TSC_ENABLE                    = 0x1
-       PR_TSC_SIGSEGV                   = 0x2
-       PR_UNALIGN_NOPRINT               = 0x1
-       PR_UNALIGN_SIGBUS                = 0x2
-       PTRACE_ATTACH                    = 0x10
-       PTRACE_CONT                      = 0x7
-       PTRACE_DETACH                    = 0x11
-       PTRACE_EVENT_CLONE               = 0x3
-       PTRACE_EVENT_EXEC                = 0x4
-       PTRACE_EVENT_EXIT                = 0x6
-       PTRACE_EVENT_FORK                = 0x1
-       PTRACE_EVENT_SECCOMP             = 0x7
-       PTRACE_EVENT_STOP                = 0x80
-       PTRACE_EVENT_VFORK               = 0x2
-       PTRACE_EVENT_VFORK_DONE          = 0x5
-       PTRACE_GETEVENTMSG               = 0x4201
-       PTRACE_GETFPREGS                 = 0xe
-       PTRACE_GETREGS                   = 0xc
-       PTRACE_GETREGSET                 = 0x4204
-       PTRACE_GETSIGINFO                = 0x4202
-       PTRACE_GETSIGMASK                = 0x420a
-       PTRACE_GET_THREAD_AREA           = 0x19
-       PTRACE_GET_THREAD_AREA_3264      = 0xc4
-       PTRACE_GET_WATCH_REGS            = 0xd0
-       PTRACE_INTERRUPT                 = 0x4207
-       PTRACE_KILL                      = 0x8
-       PTRACE_LISTEN                    = 0x4208
-       PTRACE_OLDSETOPTIONS             = 0x15
-       PTRACE_O_EXITKILL                = 0x100000
-       PTRACE_O_MASK                    = 0x3000ff
-       PTRACE_O_SUSPEND_SECCOMP         = 0x200000
-       PTRACE_O_TRACECLONE              = 0x8
-       PTRACE_O_TRACEEXEC               = 0x10
-       PTRACE_O_TRACEEXIT               = 0x40
-       PTRACE_O_TRACEFORK               = 0x2
-       PTRACE_O_TRACESECCOMP            = 0x80
-       PTRACE_O_TRACESYSGOOD            = 0x1
-       PTRACE_O_TRACEVFORK              = 0x4
-       PTRACE_O_TRACEVFORKDONE          = 0x20
-       PTRACE_PEEKDATA                  = 0x2
-       PTRACE_PEEKDATA_3264             = 0xc1
-       PTRACE_PEEKSIGINFO               = 0x4209
-       PTRACE_PEEKSIGINFO_SHARED        = 0x1
-       PTRACE_PEEKTEXT                  = 0x1
-       PTRACE_PEEKTEXT_3264             = 0xc0
-       PTRACE_PEEKUSR                   = 0x3
-       PTRACE_POKEDATA                  = 0x5
-       PTRACE_POKEDATA_3264             = 0xc3
-       PTRACE_POKETEXT                  = 0x4
-       PTRACE_POKETEXT_3264             = 0xc2
-       PTRACE_POKEUSR                   = 0x6
-       PTRACE_SECCOMP_GET_FILTER        = 0x420c
-       PTRACE_SEIZE                     = 0x4206
-       PTRACE_SETFPREGS                 = 0xf
-       PTRACE_SETOPTIONS                = 0x4200
-       PTRACE_SETREGS                   = 0xd
-       PTRACE_SETREGSET                 = 0x4205
-       PTRACE_SETSIGINFO                = 0x4203
-       PTRACE_SETSIGMASK                = 0x420b
-       PTRACE_SET_THREAD_AREA           = 0x1a
-       PTRACE_SET_WATCH_REGS            = 0xd1
-       PTRACE_SINGLESTEP                = 0x9
-       PTRACE_SYSCALL                   = 0x18
-       PTRACE_TRACEME                   = 0x0
-       RLIMIT_AS                        = 0x6
-       RLIMIT_CORE                      = 0x4
-       RLIMIT_CPU                       = 0x0
-       RLIMIT_DATA                      = 0x2
-       RLIMIT_FSIZE                     = 0x1
-       RLIMIT_NOFILE                    = 0x5
-       RLIMIT_STACK                     = 0x3
-       RLIM_INFINITY                    = -0x1
-       RTAX_ADVMSS                      = 0x8
-       RTAX_CC_ALGO                     = 0x10
-       RTAX_CWND                        = 0x7
-       RTAX_FEATURES                    = 0xc
-       RTAX_FEATURE_ALLFRAG             = 0x8
-       RTAX_FEATURE_ECN                 = 0x1
-       RTAX_FEATURE_MASK                = 0xf
-       RTAX_FEATURE_SACK                = 0x2
-       RTAX_FEATURE_TIMESTAMP           = 0x4
-       RTAX_HOPLIMIT                    = 0xa
-       RTAX_INITCWND                    = 0xb
-       RTAX_INITRWND                    = 0xe
-       RTAX_LOCK                        = 0x1
-       RTAX_MAX                         = 0x10
-       RTAX_MTU                         = 0x2
-       RTAX_QUICKACK                    = 0xf
-       RTAX_REORDERING                  = 0x9
-       RTAX_RTO_MIN                     = 0xd
-       RTAX_RTT                         = 0x4
-       RTAX_RTTVAR                      = 0x5
-       RTAX_SSTHRESH                    = 0x6
-       RTAX_UNSPEC                      = 0x0
-       RTAX_WINDOW                      = 0x3
-       RTA_ALIGNTO                      = 0x4
-       RTA_MAX                          = 0x19
-       RTCF_DIRECTSRC                   = 0x4000000
-       RTCF_DOREDIRECT                  = 0x1000000
-       RTCF_LOG                         = 0x2000000
-       RTCF_MASQ                        = 0x400000
-       RTCF_NAT                         = 0x800000
-       RTCF_VALVE                       = 0x200000
-       RTF_ADDRCLASSMASK                = 0xf8000000
-       RTF_ADDRCONF                     = 0x40000
-       RTF_ALLONLINK                    = 0x20000
-       RTF_BROADCAST                    = 0x10000000
-       RTF_CACHE                        = 0x1000000
-       RTF_DEFAULT                      = 0x10000
-       RTF_DYNAMIC                      = 0x10
-       RTF_FLOW                         = 0x2000000
-       RTF_GATEWAY                      = 0x2
-       RTF_HOST                         = 0x4
-       RTF_INTERFACE                    = 0x40000000
-       RTF_IRTT                         = 0x100
-       RTF_LINKRT                       = 0x100000
-       RTF_LOCAL                        = 0x80000000
-       RTF_MODIFIED                     = 0x20
-       RTF_MSS                          = 0x40
-       RTF_MTU                          = 0x40
-       RTF_MULTICAST                    = 0x20000000
-       RTF_NAT                          = 0x8000000
-       RTF_NOFORWARD                    = 0x1000
-       RTF_NONEXTHOP                    = 0x200000
-       RTF_NOPMTUDISC                   = 0x4000
-       RTF_POLICY                       = 0x4000000
-       RTF_REINSTATE                    = 0x8
-       RTF_REJECT                       = 0x200
-       RTF_STATIC                       = 0x400
-       RTF_THROW                        = 0x2000
-       RTF_UP                           = 0x1
-       RTF_WINDOW                       = 0x80
-       RTF_XRESOLVE                     = 0x800
-       RTM_BASE                         = 0x10
-       RTM_DELACTION                    = 0x31
-       RTM_DELADDR                      = 0x15
-       RTM_DELADDRLABEL                 = 0x49
-       RTM_DELLINK                      = 0x11
-       RTM_DELMDB                       = 0x55
-       RTM_DELNEIGH                     = 0x1d
-       RTM_DELNSID                      = 0x59
-       RTM_DELQDISC                     = 0x25
-       RTM_DELROUTE                     = 0x19
-       RTM_DELRULE                      = 0x21
-       RTM_DELTCLASS                    = 0x29
-       RTM_DELTFILTER                   = 0x2d
-       RTM_F_CLONED                     = 0x200
-       RTM_F_EQUALIZE                   = 0x400
-       RTM_F_LOOKUP_TABLE               = 0x1000
-       RTM_F_NOTIFY                     = 0x100
-       RTM_F_PREFIX                     = 0x800
-       RTM_GETACTION                    = 0x32
-       RTM_GETADDR                      = 0x16
-       RTM_GETADDRLABEL                 = 0x4a
-       RTM_GETANYCAST                   = 0x3e
-       RTM_GETDCB                       = 0x4e
-       RTM_GETLINK                      = 0x12
-       RTM_GETMDB                       = 0x56
-       RTM_GETMULTICAST                 = 0x3a
-       RTM_GETNEIGH                     = 0x1e
-       RTM_GETNEIGHTBL                  = 0x42
-       RTM_GETNETCONF                   = 0x52
-       RTM_GETNSID                      = 0x5a
-       RTM_GETQDISC                     = 0x26
-       RTM_GETROUTE                     = 0x1a
-       RTM_GETRULE                      = 0x22
-       RTM_GETSTATS                     = 0x5e
-       RTM_GETTCLASS                    = 0x2a
-       RTM_GETTFILTER                   = 0x2e
-       RTM_MAX                          = 0x5f
-       RTM_NEWACTION                    = 0x30
-       RTM_NEWADDR                      = 0x14
-       RTM_NEWADDRLABEL                 = 0x48
-       RTM_NEWLINK                      = 0x10
-       RTM_NEWMDB                       = 0x54
-       RTM_NEWNDUSEROPT                 = 0x44
-       RTM_NEWNEIGH                     = 0x1c
-       RTM_NEWNEIGHTBL                  = 0x40
-       RTM_NEWNETCONF                   = 0x50
-       RTM_NEWNSID                      = 0x58
-       RTM_NEWPREFIX                    = 0x34
-       RTM_NEWQDISC                     = 0x24
-       RTM_NEWROUTE                     = 0x18
-       RTM_NEWRULE                      = 0x20
-       RTM_NEWSTATS                     = 0x5c
-       RTM_NEWTCLASS                    = 0x28
-       RTM_NEWTFILTER                   = 0x2c
-       RTM_NR_FAMILIES                  = 0x14
-       RTM_NR_MSGTYPES                  = 0x50
-       RTM_SETDCB                       = 0x4f
-       RTM_SETLINK                      = 0x13
-       RTM_SETNEIGHTBL                  = 0x43
-       RTNH_ALIGNTO                     = 0x4
-       RTNH_COMPARE_MASK                = 0x19
-       RTNH_F_DEAD                      = 0x1
-       RTNH_F_LINKDOWN                  = 0x10
-       RTNH_F_OFFLOAD                   = 0x8
-       RTNH_F_ONLINK                    = 0x4
-       RTNH_F_PERVASIVE                 = 0x2
-       RTN_MAX                          = 0xb
-       RTPROT_BABEL                     = 0x2a
-       RTPROT_BIRD                      = 0xc
-       RTPROT_BOOT                      = 0x3
-       RTPROT_DHCP                      = 0x10
-       RTPROT_DNROUTED                  = 0xd
-       RTPROT_GATED                     = 0x8
-       RTPROT_KERNEL                    = 0x2
-       RTPROT_MROUTED                   = 0x11
-       RTPROT_MRT                       = 0xa
-       RTPROT_NTK                       = 0xf
-       RTPROT_RA                        = 0x9
-       RTPROT_REDIRECT                  = 0x1
-       RTPROT_STATIC                    = 0x4
-       RTPROT_UNSPEC                    = 0x0
-       RTPROT_XORP                      = 0xe
-       RTPROT_ZEBRA                     = 0xb
-       RT_CLASS_DEFAULT                 = 0xfd
-       RT_CLASS_LOCAL                   = 0xff
-       RT_CLASS_MAIN                    = 0xfe
-       RT_CLASS_MAX                     = 0xff
-       RT_CLASS_UNSPEC                  = 0x0
-       RUSAGE_CHILDREN                  = -0x1
-       RUSAGE_SELF                      = 0x0
-       RUSAGE_THREAD                    = 0x1
-       SCM_CREDENTIALS                  = 0x2
-       SCM_RIGHTS                       = 0x1
-       SCM_TIMESTAMP                    = 0x1d
-       SCM_TIMESTAMPING                 = 0x25
-       SCM_TIMESTAMPING_OPT_STATS       = 0x36
-       SCM_TIMESTAMPNS                  = 0x23
-       SCM_WIFI_STATUS                  = 0x29
-       SHUT_RD                          = 0x0
-       SHUT_RDWR                        = 0x2
-       SHUT_WR                          = 0x1
-       SIOCADDDLCI                      = 0x8980
-       SIOCADDMULTI                     = 0x8931
-       SIOCADDRT                        = 0x890b
-       SIOCATMARK                       = 0x40047307
-       SIOCDARP                         = 0x8953
-       SIOCDELDLCI                      = 0x8981
-       SIOCDELMULTI                     = 0x8932
-       SIOCDELRT                        = 0x890c
-       SIOCDEVPRIVATE                   = 0x89f0
-       SIOCDIFADDR                      = 0x8936
-       SIOCDRARP                        = 0x8960
-       SIOCGARP                         = 0x8954
-       SIOCGIFADDR                      = 0x8915
-       SIOCGIFBR                        = 0x8940
-       SIOCGIFBRDADDR                   = 0x8919
-       SIOCGIFCONF                      = 0x8912
-       SIOCGIFCOUNT                     = 0x8938
-       SIOCGIFDSTADDR                   = 0x8917
-       SIOCGIFENCAP                     = 0x8925
-       SIOCGIFFLAGS                     = 0x8913
-       SIOCGIFHWADDR                    = 0x8927
-       SIOCGIFINDEX                     = 0x8933
-       SIOCGIFMAP                       = 0x8970
-       SIOCGIFMEM                       = 0x891f
-       SIOCGIFMETRIC                    = 0x891d
-       SIOCGIFMTU                       = 0x8921
-       SIOCGIFNAME                      = 0x8910
-       SIOCGIFNETMASK                   = 0x891b
-       SIOCGIFPFLAGS                    = 0x8935
-       SIOCGIFSLAVE                     = 0x8929
-       SIOCGIFTXQLEN                    = 0x8942
-       SIOCGPGRP                        = 0x40047309
-       SIOCGRARP                        = 0x8961
-       SIOCGSTAMP                       = 0x8906
-       SIOCGSTAMPNS                     = 0x8907
-       SIOCPROTOPRIVATE                 = 0x89e0
-       SIOCRTMSG                        = 0x890d
-       SIOCSARP                         = 0x8955
-       SIOCSIFADDR                      = 0x8916
-       SIOCSIFBR                        = 0x8941
-       SIOCSIFBRDADDR                   = 0x891a
-       SIOCSIFDSTADDR                   = 0x8918
-       SIOCSIFENCAP                     = 0x8926
-       SIOCSIFFLAGS                     = 0x8914
-       SIOCSIFHWADDR                    = 0x8924
-       SIOCSIFHWBROADCAST               = 0x8937
-       SIOCSIFLINK                      = 0x8911
-       SIOCSIFMAP                       = 0x8971
-       SIOCSIFMEM                       = 0x8920
-       SIOCSIFMETRIC                    = 0x891e
-       SIOCSIFMTU                       = 0x8922
-       SIOCSIFNAME                      = 0x8923
-       SIOCSIFNETMASK                   = 0x891c
-       SIOCSIFPFLAGS                    = 0x8934
-       SIOCSIFSLAVE                     = 0x8930
-       SIOCSIFTXQLEN                    = 0x8943
-       SIOCSPGRP                        = 0x80047308
-       SIOCSRARP                        = 0x8962
-       SOCK_CLOEXEC                     = 0x80000
-       SOCK_DCCP                        = 0x6
-       SOCK_DGRAM                       = 0x1
-       SOCK_NONBLOCK                    = 0x80
-       SOCK_PACKET                      = 0xa
-       SOCK_RAW                         = 0x3
-       SOCK_RDM                         = 0x4
-       SOCK_SEQPACKET                   = 0x5
-       SOCK_STREAM                      = 0x2
-       SOL_AAL                          = 0x109
-       SOL_ALG                          = 0x117
-       SOL_ATM                          = 0x108
-       SOL_CAIF                         = 0x116
-       SOL_CAN_BASE                     = 0x64
-       SOL_DCCP                         = 0x10d
-       SOL_DECNET                       = 0x105
-       SOL_ICMPV6                       = 0x3a
-       SOL_IP                           = 0x0
-       SOL_IPV6                         = 0x29
-       SOL_IRDA                         = 0x10a
-       SOL_IUCV                         = 0x115
-       SOL_KCM                          = 0x119
-       SOL_LLC                          = 0x10c
-       SOL_NETBEUI                      = 0x10b
-       SOL_NETLINK                      = 0x10e
-       SOL_NFC                          = 0x118
-       SOL_PACKET                       = 0x107
-       SOL_PNPIPE                       = 0x113
-       SOL_PPPOL2TP                     = 0x111
-       SOL_RAW                          = 0xff
-       SOL_RDS                          = 0x114
-       SOL_RXRPC                        = 0x110
-       SOL_SOCKET                       = 0xffff
-       SOL_TCP                          = 0x6
-       SOL_TIPC                         = 0x10f
-       SOL_X25                          = 0x106
-       SOMAXCONN                        = 0x80
-       SO_ACCEPTCONN                    = 0x1009
-       SO_ATTACH_BPF                    = 0x32
-       SO_ATTACH_FILTER                 = 0x1a
-       SO_ATTACH_REUSEPORT_CBPF         = 0x33
-       SO_ATTACH_REUSEPORT_EBPF         = 0x34
-       SO_BINDTODEVICE                  = 0x19
-       SO_BPF_EXTENSIONS                = 0x30
-       SO_BROADCAST                     = 0x20
-       SO_BSDCOMPAT                     = 0xe
-       SO_BUSY_POLL                     = 0x2e
-       SO_CNX_ADVICE                    = 0x35
-       SO_DEBUG                         = 0x1
-       SO_DETACH_BPF                    = 0x1b
-       SO_DETACH_FILTER                 = 0x1b
-       SO_DOMAIN                        = 0x1029
-       SO_DONTROUTE                     = 0x10
-       SO_ERROR                         = 0x1007
-       SO_GET_FILTER                    = 0x1a
-       SO_INCOMING_CPU                  = 0x31
-       SO_KEEPALIVE                     = 0x8
-       SO_LINGER                        = 0x80
-       SO_LOCK_FILTER                   = 0x2c
-       SO_MARK                          = 0x24
-       SO_MAX_PACING_RATE               = 0x2f
-       SO_NOFCS                         = 0x2b
-       SO_NO_CHECK                      = 0xb
-       SO_OOBINLINE                     = 0x100
-       SO_PASSCRED                      = 0x11
-       SO_PASSSEC                       = 0x22
-       SO_PEEK_OFF                      = 0x2a
-       SO_PEERCRED                      = 0x12
-       SO_PEERNAME                      = 0x1c
-       SO_PEERSEC                       = 0x1e
-       SO_PRIORITY                      = 0xc
-       SO_PROTOCOL                      = 0x1028
-       SO_RCVBUF                        = 0x1002
-       SO_RCVBUFFORCE                   = 0x21
-       SO_RCVLOWAT                      = 0x1004
-       SO_RCVTIMEO                      = 0x1006
-       SO_REUSEADDR                     = 0x4
-       SO_REUSEPORT                     = 0x200
-       SO_RXQ_OVFL                      = 0x28
-       SO_SECURITY_AUTHENTICATION       = 0x16
-       SO_SECURITY_ENCRYPTION_NETWORK   = 0x18
-       SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-       SO_SELECT_ERR_QUEUE              = 0x2d
-       SO_SNDBUF                        = 0x1001
-       SO_SNDBUFFORCE                   = 0x1f
-       SO_SNDLOWAT                      = 0x1003
-       SO_SNDTIMEO                      = 0x1005
-       SO_STYLE                         = 0x1008
-       SO_TIMESTAMP                     = 0x1d
-       SO_TIMESTAMPING                  = 0x25
-       SO_TIMESTAMPNS                   = 0x23
-       SO_TYPE                          = 0x1008
-       SO_VM_SOCKETS_BUFFER_MAX_SIZE    = 0x2
-       SO_VM_SOCKETS_BUFFER_MIN_SIZE    = 0x1
-       SO_VM_SOCKETS_BUFFER_SIZE        = 0x0
-       SO_VM_SOCKETS_CONNECT_TIMEOUT    = 0x6
-       SO_VM_SOCKETS_NONBLOCK_TXRX      = 0x7
-       SO_VM_SOCKETS_PEER_HOST_VM_ID    = 0x3
-       SO_VM_SOCKETS_TRUSTED            = 0x5
-       SO_WIFI_STATUS                   = 0x29
-       SPLICE_F_GIFT                    = 0x8
-       SPLICE_F_MORE                    = 0x4
-       SPLICE_F_MOVE                    = 0x1
-       SPLICE_F_NONBLOCK                = 0x2
-       S_BLKSIZE                        = 0x200
-       S_IEXEC                          = 0x40
-       S_IFBLK                          = 0x6000
-       S_IFCHR                          = 0x2000
-       S_IFDIR                          = 0x4000
-       S_IFIFO                          = 0x1000
-       S_IFLNK                          = 0xa000
-       S_IFMT                           = 0xf000
-       S_IFREG                          = 0x8000
-       S_IFSOCK                         = 0xc000
-       S_IREAD                          = 0x100
-       S_IRGRP                          = 0x20
-       S_IROTH                          = 0x4
-       S_IRUSR                          = 0x100
-       S_IRWXG                          = 0x38
-       S_IRWXO                          = 0x7
-       S_IRWXU                          = 0x1c0
-       S_ISGID                          = 0x400
-       S_ISUID                          = 0x800
-       S_ISVTX                          = 0x200
-       S_IWGRP                          = 0x10
-       S_IWOTH                          = 0x2
-       S_IWRITE                         = 0x80
-       S_IWUSR                          = 0x80
-       S_IXGRP                          = 0x8
-       S_IXOTH                          = 0x1
-       S_IXUSR                          = 0x40
-       TAB0                             = 0x0
-       TAB1                             = 0x800
-       TAB2                             = 0x1000
-       TAB3                             = 0x1800
-       TABDLY                           = 0x1800
-       TCFLSH                           = 0x5407
-       TCGETA                           = 0x5401
-       TCGETS                           = 0x540d
-       TCGETS2                          = 0x4030542a
-       TCIFLUSH                         = 0x0
-       TCIOFF                           = 0x2
-       TCIOFLUSH                        = 0x2
-       TCION                            = 0x3
-       TCOFLUSH                         = 0x1
-       TCOOFF                           = 0x0
-       TCOON                            = 0x1
-       TCP_CC_INFO                      = 0x1a
-       TCP_CONGESTION                   = 0xd
-       TCP_COOKIE_IN_ALWAYS             = 0x1
-       TCP_COOKIE_MAX                   = 0x10
-       TCP_COOKIE_MIN                   = 0x8
-       TCP_COOKIE_OUT_NEVER             = 0x2
-       TCP_COOKIE_PAIR_SIZE             = 0x20
-       TCP_COOKIE_TRANSACTIONS          = 0xf
-       TCP_CORK                         = 0x3
-       TCP_DEFER_ACCEPT                 = 0x9
-       TCP_FASTOPEN                     = 0x17
-       TCP_INFO                         = 0xb
-       TCP_KEEPCNT                      = 0x6
-       TCP_KEEPIDLE                     = 0x4
-       TCP_KEEPINTVL                    = 0x5
-       TCP_LINGER2                      = 0x8
-       TCP_MAXSEG                       = 0x2
-       TCP_MAXWIN                       = 0xffff
-       TCP_MAX_WINSHIFT                 = 0xe
-       TCP_MD5SIG                       = 0xe
-       TCP_MD5SIG_MAXKEYLEN             = 0x50
-       TCP_MSS                          = 0x200
-       TCP_MSS_DEFAULT                  = 0x218
-       TCP_MSS_DESIRED                  = 0x4c4
-       TCP_NODELAY                      = 0x1
-       TCP_NOTSENT_LOWAT                = 0x19
-       TCP_QUEUE_SEQ                    = 0x15
-       TCP_QUICKACK                     = 0xc
-       TCP_REPAIR                       = 0x13
-       TCP_REPAIR_OPTIONS               = 0x16
-       TCP_REPAIR_QUEUE                 = 0x14
-       TCP_REPAIR_WINDOW                = 0x1d
-       TCP_SAVED_SYN                    = 0x1c
-       TCP_SAVE_SYN                     = 0x1b
-       TCP_SYNCNT                       = 0x7
-       TCP_S_DATA_IN                    = 0x4
-       TCP_S_DATA_OUT                   = 0x8
-       TCP_THIN_DUPACK                  = 0x11
-       TCP_THIN_LINEAR_TIMEOUTS         = 0x10
-       TCP_TIMESTAMP                    = 0x18
-       TCP_USER_TIMEOUT                 = 0x12
-       TCP_WINDOW_CLAMP                 = 0xa
-       TCSAFLUSH                        = 0x5410
-       TCSBRK                           = 0x5405
-       TCSBRKP                          = 0x5486
-       TCSETA                           = 0x5402
-       TCSETAF                          = 0x5404
-       TCSETAW                          = 0x5403
-       TCSETS                           = 0x540e
-       TCSETS2                          = 0x8030542b
-       TCSETSF                          = 0x5410
-       TCSETSF2                         = 0x8030542d
-       TCSETSW                          = 0x540f
-       TCSETSW2                         = 0x8030542c
-       TCXONC                           = 0x5406
-       TIOCCBRK                         = 0x5428
-       TIOCCONS                         = 0x80047478
-       TIOCEXCL                         = 0x740d
-       TIOCGDEV                         = 0x40045432
-       TIOCGETD                         = 0x7400
-       TIOCGETP                         = 0x7408
-       TIOCGEXCL                        = 0x40045440
-       TIOCGICOUNT                      = 0x5492
-       TIOCGLCKTRMIOS                   = 0x548b
-       TIOCGLTC                         = 0x7474
-       TIOCGPGRP                        = 0x40047477
-       TIOCGPKT                         = 0x40045438
-       TIOCGPTLCK                       = 0x40045439
-       TIOCGPTN                         = 0x40045430
-       TIOCGRS485                       = 0x4020542e
-       TIOCGSERIAL                      = 0x5484
-       TIOCGSID                         = 0x7416
-       TIOCGSOFTCAR                     = 0x5481
-       TIOCGWINSZ                       = 0x40087468
-       TIOCINQ                          = 0x467f
-       TIOCLINUX                        = 0x5483
-       TIOCMBIC                         = 0x741c
-       TIOCMBIS                         = 0x741b
-       TIOCMGET                         = 0x741d
-       TIOCMIWAIT                       = 0x5491
-       TIOCMSET                         = 0x741a
-       TIOCM_CAR                        = 0x100
-       TIOCM_CD                         = 0x100
-       TIOCM_CTS                        = 0x40
-       TIOCM_DSR                        = 0x400
-       TIOCM_DTR                        = 0x2
-       TIOCM_LE                         = 0x1
-       TIOCM_RI                         = 0x200
-       TIOCM_RNG                        = 0x200
-       TIOCM_RTS                        = 0x4
-       TIOCM_SR                         = 0x20
-       TIOCM_ST                         = 0x10
-       TIOCNOTTY                        = 0x5471
-       TIOCNXCL                         = 0x740e
-       TIOCOUTQ                         = 0x7472
-       TIOCPKT                          = 0x5470
-       TIOCPKT_DATA                     = 0x0
-       TIOCPKT_DOSTOP                   = 0x20
-       TIOCPKT_FLUSHREAD                = 0x1
-       TIOCPKT_FLUSHWRITE               = 0x2
-       TIOCPKT_IOCTL                    = 0x40
-       TIOCPKT_NOSTOP                   = 0x10
-       TIOCPKT_START                    = 0x8
-       TIOCPKT_STOP                     = 0x4
-       TIOCSBRK                         = 0x5427
-       TIOCSCTTY                        = 0x5480
-       TIOCSERCONFIG                    = 0x5488
-       TIOCSERGETLSR                    = 0x548e
-       TIOCSERGETMULTI                  = 0x548f
-       TIOCSERGSTRUCT                   = 0x548d
-       TIOCSERGWILD                     = 0x5489
-       TIOCSERSETMULTI                  = 0x5490
-       TIOCSERSWILD                     = 0x548a
-       TIOCSER_TEMT                     = 0x1
-       TIOCSETD                         = 0x7401
-       TIOCSETN                         = 0x740a
-       TIOCSETP                         = 0x7409
-       TIOCSIG                          = 0x80045436
-       TIOCSLCKTRMIOS                   = 0x548c
-       TIOCSLTC                         = 0x7475
-       TIOCSPGRP                        = 0x80047476
-       TIOCSPTLCK                       = 0x80045431
-       TIOCSRS485                       = 0xc020542f
-       TIOCSSERIAL                      = 0x5485
-       TIOCSSOFTCAR                     = 0x5482
-       TIOCSTI                          = 0x5472
-       TIOCSWINSZ                       = 0x80087467
-       TIOCVHANGUP                      = 0x5437
-       TOSTOP                           = 0x8000
-       TUNATTACHFILTER                  = 0x801054d5
-       TUNDETACHFILTER                  = 0x801054d6
-       TUNGETFEATURES                   = 0x400454cf
-       TUNGETFILTER                     = 0x401054db
-       TUNGETIFF                        = 0x400454d2
-       TUNGETSNDBUF                     = 0x400454d3
-       TUNGETVNETBE                     = 0x400454df
-       TUNGETVNETHDRSZ                  = 0x400454d7
-       TUNGETVNETLE                     = 0x400454dd
-       TUNSETDEBUG                      = 0x800454c9
-       TUNSETGROUP                      = 0x800454ce
-       TUNSETIFF                        = 0x800454ca
-       TUNSETIFINDEX                    = 0x800454da
-       TUNSETLINK                       = 0x800454cd
-       TUNSETNOCSUM                     = 0x800454c8
-       TUNSETOFFLOAD                    = 0x800454d0
-       TUNSETOWNER                      = 0x800454cc
-       TUNSETPERSIST                    = 0x800454cb
-       TUNSETQUEUE                      = 0x800454d9
-       TUNSETSNDBUF                     = 0x800454d4
-       TUNSETTXFILTER                   = 0x800454d1
-       TUNSETVNETBE                     = 0x800454de
-       TUNSETVNETHDRSZ                  = 0x800454d8
-       TUNSETVNETLE                     = 0x800454dc
-       VDISCARD                         = 0xd
-       VEOF                             = 0x10
-       VEOL                             = 0x11
-       VEOL2                            = 0x6
-       VERASE                           = 0x2
-       VINTR                            = 0x0
-       VKILL                            = 0x3
-       VLNEXT                           = 0xf
-       VMADDR_CID_ANY                   = 0xffffffff
-       VMADDR_CID_HOST                  = 0x2
-       VMADDR_CID_HYPERVISOR            = 0x0
-       VMADDR_CID_RESERVED              = 0x1
-       VMADDR_PORT_ANY                  = 0xffffffff
-       VMIN                             = 0x4
-       VM_SOCKETS_INVALID_VERSION       = 0xffffffff
-       VQUIT                            = 0x1
-       VREPRINT                         = 0xc
-       VSTART                           = 0x8
-       VSTOP                            = 0x9
-       VSUSP                            = 0xa
-       VSWTC                            = 0x7
-       VSWTCH                           = 0x7
-       VT0                              = 0x0
-       VT1                              = 0x4000
-       VTDLY                            = 0x4000
-       VTIME                            = 0x5
-       VWERASE                          = 0xe
-       WALL                             = 0x40000000
-       WCLONE                           = 0x80000000
-       WCONTINUED                       = 0x8
-       WEXITED                          = 0x4
-       WNOHANG                          = 0x1
-       WNOTHREAD                        = 0x20000000
-       WNOWAIT                          = 0x1000000
-       WORDSIZE                         = 0x40
-       WSTOPPED                         = 0x2
-       WUNTRACED                        = 0x2
-       XCASE                            = 0x4
-       XTABS                            = 0x1800
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x7d)
-       EADDRNOTAVAIL   = syscall.Errno(0x7e)
-       EADV            = syscall.Errno(0x44)
-       EAFNOSUPPORT    = syscall.Errno(0x7c)
-       EAGAIN          = syscall.Errno(0xb)
-       EALREADY        = syscall.Errno(0x95)
-       EBADE           = syscall.Errno(0x32)
-       EBADF           = syscall.Errno(0x9)
-       EBADFD          = syscall.Errno(0x51)
-       EBADMSG         = syscall.Errno(0x4d)
-       EBADR           = syscall.Errno(0x33)
-       EBADRQC         = syscall.Errno(0x36)
-       EBADSLT         = syscall.Errno(0x37)
-       EBFONT          = syscall.Errno(0x3b)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x9e)
-       ECHILD          = syscall.Errno(0xa)
-       ECHRNG          = syscall.Errno(0x25)
-       ECOMM           = syscall.Errno(0x46)
-       ECONNABORTED    = syscall.Errno(0x82)
-       ECONNREFUSED    = syscall.Errno(0x92)
-       ECONNRESET      = syscall.Errno(0x83)
-       EDEADLK         = syscall.Errno(0x2d)
-       EDEADLOCK       = syscall.Errno(0x38)
-       EDESTADDRREQ    = syscall.Errno(0x60)
-       EDOM            = syscall.Errno(0x21)
-       EDOTDOT         = syscall.Errno(0x49)
-       EDQUOT          = syscall.Errno(0x46d)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EHOSTDOWN       = syscall.Errno(0x93)
-       EHOSTUNREACH    = syscall.Errno(0x94)
-       EHWPOISON       = syscall.Errno(0xa8)
-       EIDRM           = syscall.Errno(0x24)
-       EILSEQ          = syscall.Errno(0x58)
-       EINIT           = syscall.Errno(0x8d)
-       EINPROGRESS     = syscall.Errno(0x96)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x85)
-       EISDIR          = syscall.Errno(0x15)
-       EISNAM          = syscall.Errno(0x8b)
-       EKEYEXPIRED     = syscall.Errno(0xa2)
-       EKEYREJECTED    = syscall.Errno(0xa4)
-       EKEYREVOKED     = syscall.Errno(0xa3)
-       EL2HLT          = syscall.Errno(0x2c)
-       EL2NSYNC        = syscall.Errno(0x26)
-       EL3HLT          = syscall.Errno(0x27)
-       EL3RST          = syscall.Errno(0x28)
-       ELIBACC         = syscall.Errno(0x53)
-       ELIBBAD         = syscall.Errno(0x54)
-       ELIBEXEC        = syscall.Errno(0x57)
-       ELIBMAX         = syscall.Errno(0x56)
-       ELIBSCN         = syscall.Errno(0x55)
-       ELNRNG          = syscall.Errno(0x29)
-       ELOOP           = syscall.Errno(0x5a)
-       EMEDIUMTYPE     = syscall.Errno(0xa0)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x61)
-       EMULTIHOP       = syscall.Errno(0x4a)
-       ENAMETOOLONG    = syscall.Errno(0x4e)
-       ENAVAIL         = syscall.Errno(0x8a)
-       ENETDOWN        = syscall.Errno(0x7f)
-       ENETRESET       = syscall.Errno(0x81)
-       ENETUNREACH     = syscall.Errno(0x80)
-       ENFILE          = syscall.Errno(0x17)
-       ENOANO          = syscall.Errno(0x35)
-       ENOBUFS         = syscall.Errno(0x84)
-       ENOCSI          = syscall.Errno(0x2b)
-       ENODATA         = syscall.Errno(0x3d)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOKEY          = syscall.Errno(0xa1)
-       ENOLCK          = syscall.Errno(0x2e)
-       ENOLINK         = syscall.Errno(0x43)
-       ENOMEDIUM       = syscall.Errno(0x9f)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x23)
-       ENONET          = syscall.Errno(0x40)
-       ENOPKG          = syscall.Errno(0x41)
-       ENOPROTOOPT     = syscall.Errno(0x63)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x3f)
-       ENOSTR          = syscall.Errno(0x3c)
-       ENOSYS          = syscall.Errno(0x59)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x86)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x5d)
-       ENOTNAM         = syscall.Errno(0x89)
-       ENOTRECOVERABLE = syscall.Errno(0xa6)
-       ENOTSOCK        = syscall.Errno(0x5f)
-       ENOTSUP         = syscall.Errno(0x7a)
-       ENOTTY          = syscall.Errno(0x19)
-       ENOTUNIQ        = syscall.Errno(0x50)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x7a)
-       EOVERFLOW       = syscall.Errno(0x4f)
-       EOWNERDEAD      = syscall.Errno(0xa5)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x7b)
-       EPIPE           = syscall.Errno(0x20)
-       EPROTO          = syscall.Errno(0x47)
-       EPROTONOSUPPORT = syscall.Errno(0x78)
-       EPROTOTYPE      = syscall.Errno(0x62)
-       ERANGE          = syscall.Errno(0x22)
-       EREMCHG         = syscall.Errno(0x52)
-       EREMDEV         = syscall.Errno(0x8e)
-       EREMOTE         = syscall.Errno(0x42)
-       EREMOTEIO       = syscall.Errno(0x8c)
-       ERESTART        = syscall.Errno(0x5b)
-       ERFKILL         = syscall.Errno(0xa7)
-       EROFS           = syscall.Errno(0x1e)
-       ESHUTDOWN       = syscall.Errno(0x8f)
-       ESOCKTNOSUPPORT = syscall.Errno(0x79)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESRMNT          = syscall.Errno(0x45)
-       ESTALE          = syscall.Errno(0x97)
-       ESTRPIPE        = syscall.Errno(0x5c)
-       ETIME           = syscall.Errno(0x3e)
-       ETIMEDOUT       = syscall.Errno(0x91)
-       ETOOMANYREFS    = syscall.Errno(0x90)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUCLEAN         = syscall.Errno(0x87)
-       EUNATCH         = syscall.Errno(0x2a)
-       EUSERS          = syscall.Errno(0x5e)
-       EWOULDBLOCK     = syscall.Errno(0xb)
-       EXDEV           = syscall.Errno(0x12)
-       EXFULL          = syscall.Errno(0x34)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x12)
-       SIGCLD    = syscall.Signal(0x12)
-       SIGCONT   = syscall.Signal(0x19)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x16)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPOLL   = syscall.Signal(0x16)
-       SIGPROF   = syscall.Signal(0x1d)
-       SIGPWR    = syscall.Signal(0x13)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x17)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x18)
-       SIGTTIN   = syscall.Signal(0x1a)
-       SIGTTOU   = syscall.Signal(0x1b)
-       SIGURG    = syscall.Signal(0x15)
-       SIGUSR1   = syscall.Signal(0x10)
-       SIGUSR2   = syscall.Signal(0x11)
-       SIGVTALRM = syscall.Signal(0x1c)
-       SIGWINCH  = syscall.Signal(0x14)
-       SIGXCPU   = syscall.Signal(0x1e)
-       SIGXFSZ   = syscall.Signal(0x1f)
-)
-
-// Error table
-var errors = [...]string{
-       1:    "operation not permitted",
-       2:    "no such file or directory",
-       3:    "no such process",
-       4:    "interrupted system call",
-       5:    "input/output error",
-       6:    "no such device or address",
-       7:    "argument list too long",
-       8:    "exec format error",
-       9:    "bad file descriptor",
-       10:   "no child processes",
-       11:   "resource temporarily unavailable",
-       12:   "cannot allocate memory",
-       13:   "permission denied",
-       14:   "bad address",
-       15:   "block device required",
-       16:   "device or resource busy",
-       17:   "file exists",
-       18:   "invalid cross-device link",
-       19:   "no such device",
-       20:   "not a directory",
-       21:   "is a directory",
-       22:   "invalid argument",
-       23:   "too many open files in system",
-       24:   "too many open files",
-       25:   "inappropriate ioctl for device",
-       26:   "text file busy",
-       27:   "file too large",
-       28:   "no space left on device",
-       29:   "illegal seek",
-       30:   "read-only file system",
-       31:   "too many links",
-       32:   "broken pipe",
-       33:   "numerical argument out of domain",
-       34:   "numerical result out of range",
-       35:   "no message of desired type",
-       36:   "identifier removed",
-       37:   "channel number out of range",
-       38:   "level 2 not synchronized",
-       39:   "level 3 halted",
-       40:   "level 3 reset",
-       41:   "link number out of range",
-       42:   "protocol driver not attached",
-       43:   "no CSI structure available",
-       44:   "level 2 halted",
-       45:   "resource deadlock avoided",
-       46:   "no locks available",
-       50:   "invalid exchange",
-       51:   "invalid request descriptor",
-       52:   "exchange full",
-       53:   "no anode",
-       54:   "invalid request code",
-       55:   "invalid slot",
-       56:   "file locking deadlock error",
-       59:   "bad font file format",
-       60:   "device not a stream",
-       61:   "no data available",
-       62:   "timer expired",
-       63:   "out of streams resources",
-       64:   "machine is not on the network",
-       65:   "package not installed",
-       66:   "object is remote",
-       67:   "link has been severed",
-       68:   "advertise error",
-       69:   "srmount error",
-       70:   "communication error on send",
-       71:   "protocol error",
-       73:   "RFS specific error",
-       74:   "multihop attempted",
-       77:   "bad message",
-       78:   "file name too long",
-       79:   "value too large for defined data type",
-       80:   "name not unique on network",
-       81:   "file descriptor in bad state",
-       82:   "remote address changed",
-       83:   "can not access a needed shared library",
-       84:   "accessing a corrupted shared library",
-       85:   ".lib section in a.out corrupted",
-       86:   "attempting to link in too many shared libraries",
-       87:   "cannot exec a shared library directly",
-       88:   "invalid or incomplete multibyte or wide character",
-       89:   "function not implemented",
-       90:   "too many levels of symbolic links",
-       91:   "interrupted system call should be restarted",
-       92:   "streams pipe error",
-       93:   "directory not empty",
-       94:   "too many users",
-       95:   "socket operation on non-socket",
-       96:   "destination address required",
-       97:   "message too long",
-       98:   "protocol wrong type for socket",
-       99:   "protocol not available",
-       120:  "protocol not supported",
-       121:  "socket type not supported",
-       122:  "operation not supported",
-       123:  "protocol family not supported",
-       124:  "address family not supported by protocol",
-       125:  "address already in use",
-       126:  "cannot assign requested address",
-       127:  "network is down",
-       128:  "network is unreachable",
-       129:  "network dropped connection on reset",
-       130:  "software caused connection abort",
-       131:  "connection reset by peer",
-       132:  "no buffer space available",
-       133:  "transport endpoint is already connected",
-       134:  "transport endpoint is not connected",
-       135:  "structure needs cleaning",
-       137:  "not a XENIX named type file",
-       138:  "no XENIX semaphores available",
-       139:  "is a named type file",
-       140:  "remote I/O error",
-       141:  "unknown error 141",
-       142:  "unknown error 142",
-       143:  "cannot send after transport endpoint shutdown",
-       144:  "too many references: cannot splice",
-       145:  "connection timed out",
-       146:  "connection refused",
-       147:  "host is down",
-       148:  "no route to host",
-       149:  "operation already in progress",
-       150:  "operation now in progress",
-       151:  "stale file handle",
-       158:  "operation canceled",
-       159:  "no medium found",
-       160:  "wrong medium type",
-       161:  "required key not available",
-       162:  "key has expired",
-       163:  "key has been revoked",
-       164:  "key was rejected by service",
-       165:  "owner died",
-       166:  "state not recoverable",
-       167:  "operation not possible due to RF-kill",
-       168:  "memory page has hardware error",
-       1133: "disk quota exceeded",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/breakpoint trap",
-       6:  "aborted",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "user defined signal 1",
-       17: "user defined signal 2",
-       18: "child exited",
-       19: "power failure",
-       20: "window changed",
-       21: "urgent I/O condition",
-       22: "I/O possible",
-       23: "stopped (signal)",
-       24: "stopped",
-       25: "continued",
-       26: "stopped (tty input)",
-       27: "stopped (tty output)",
-       28: "virtual timer expired",
-       29: "profiling timer expired",
-       30: "CPU time limit exceeded",
-       31: "file size limit exceeded",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
deleted file mode 100644 (file)
index 0f33f0f..0000000
+++ /dev/null
@@ -1,2096 +0,0 @@
-// mkerrors.sh -Wall -Werror -static -I/tmp/include
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build mips64le,linux
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_ALG                           = 0x26
-       AF_APPLETALK                     = 0x5
-       AF_ASH                           = 0x12
-       AF_ATMPVC                        = 0x8
-       AF_ATMSVC                        = 0x14
-       AF_AX25                          = 0x3
-       AF_BLUETOOTH                     = 0x1f
-       AF_BRIDGE                        = 0x7
-       AF_CAIF                          = 0x25
-       AF_CAN                           = 0x1d
-       AF_DECnet                        = 0xc
-       AF_ECONET                        = 0x13
-       AF_FILE                          = 0x1
-       AF_IB                            = 0x1b
-       AF_IEEE802154                    = 0x24
-       AF_INET                          = 0x2
-       AF_INET6                         = 0xa
-       AF_IPX                           = 0x4
-       AF_IRDA                          = 0x17
-       AF_ISDN                          = 0x22
-       AF_IUCV                          = 0x20
-       AF_KCM                           = 0x29
-       AF_KEY                           = 0xf
-       AF_LLC                           = 0x1a
-       AF_LOCAL                         = 0x1
-       AF_MAX                           = 0x2b
-       AF_MPLS                          = 0x1c
-       AF_NETBEUI                       = 0xd
-       AF_NETLINK                       = 0x10
-       AF_NETROM                        = 0x6
-       AF_NFC                           = 0x27
-       AF_PACKET                        = 0x11
-       AF_PHONET                        = 0x23
-       AF_PPPOX                         = 0x18
-       AF_QIPCRTR                       = 0x2a
-       AF_RDS                           = 0x15
-       AF_ROSE                          = 0xb
-       AF_ROUTE                         = 0x10
-       AF_RXRPC                         = 0x21
-       AF_SECURITY                      = 0xe
-       AF_SNA                           = 0x16
-       AF_TIPC                          = 0x1e
-       AF_UNIX                          = 0x1
-       AF_UNSPEC                        = 0x0
-       AF_VSOCK                         = 0x28
-       AF_WANPIPE                       = 0x19
-       AF_X25                           = 0x9
-       ALG_OP_DECRYPT                   = 0x0
-       ALG_OP_ENCRYPT                   = 0x1
-       ALG_SET_AEAD_ASSOCLEN            = 0x4
-       ALG_SET_AEAD_AUTHSIZE            = 0x5
-       ALG_SET_IV                       = 0x2
-       ALG_SET_KEY                      = 0x1
-       ALG_SET_OP                       = 0x3
-       ARPHRD_6LOWPAN                   = 0x339
-       ARPHRD_ADAPT                     = 0x108
-       ARPHRD_APPLETLK                  = 0x8
-       ARPHRD_ARCNET                    = 0x7
-       ARPHRD_ASH                       = 0x30d
-       ARPHRD_ATM                       = 0x13
-       ARPHRD_AX25                      = 0x3
-       ARPHRD_BIF                       = 0x307
-       ARPHRD_CAIF                      = 0x336
-       ARPHRD_CAN                       = 0x118
-       ARPHRD_CHAOS                     = 0x5
-       ARPHRD_CISCO                     = 0x201
-       ARPHRD_CSLIP                     = 0x101
-       ARPHRD_CSLIP6                    = 0x103
-       ARPHRD_DDCMP                     = 0x205
-       ARPHRD_DLCI                      = 0xf
-       ARPHRD_ECONET                    = 0x30e
-       ARPHRD_EETHER                    = 0x2
-       ARPHRD_ETHER                     = 0x1
-       ARPHRD_EUI64                     = 0x1b
-       ARPHRD_FCAL                      = 0x311
-       ARPHRD_FCFABRIC                  = 0x313
-       ARPHRD_FCPL                      = 0x312
-       ARPHRD_FCPP                      = 0x310
-       ARPHRD_FDDI                      = 0x306
-       ARPHRD_FRAD                      = 0x302
-       ARPHRD_HDLC                      = 0x201
-       ARPHRD_HIPPI                     = 0x30c
-       ARPHRD_HWX25                     = 0x110
-       ARPHRD_IEEE1394                  = 0x18
-       ARPHRD_IEEE802                   = 0x6
-       ARPHRD_IEEE80211                 = 0x321
-       ARPHRD_IEEE80211_PRISM           = 0x322
-       ARPHRD_IEEE80211_RADIOTAP        = 0x323
-       ARPHRD_IEEE802154                = 0x324
-       ARPHRD_IEEE802154_MONITOR        = 0x325
-       ARPHRD_IEEE802_TR                = 0x320
-       ARPHRD_INFINIBAND                = 0x20
-       ARPHRD_IP6GRE                    = 0x337
-       ARPHRD_IPDDP                     = 0x309
-       ARPHRD_IPGRE                     = 0x30a
-       ARPHRD_IRDA                      = 0x30f
-       ARPHRD_LAPB                      = 0x204
-       ARPHRD_LOCALTLK                  = 0x305
-       ARPHRD_LOOPBACK                  = 0x304
-       ARPHRD_METRICOM                  = 0x17
-       ARPHRD_NETLINK                   = 0x338
-       ARPHRD_NETROM                    = 0x0
-       ARPHRD_NONE                      = 0xfffe
-       ARPHRD_PHONET                    = 0x334
-       ARPHRD_PHONET_PIPE               = 0x335
-       ARPHRD_PIMREG                    = 0x30b
-       ARPHRD_PPP                       = 0x200
-       ARPHRD_PRONET                    = 0x4
-       ARPHRD_RAWHDLC                   = 0x206
-       ARPHRD_ROSE                      = 0x10e
-       ARPHRD_RSRVD                     = 0x104
-       ARPHRD_SIT                       = 0x308
-       ARPHRD_SKIP                      = 0x303
-       ARPHRD_SLIP                      = 0x100
-       ARPHRD_SLIP6                     = 0x102
-       ARPHRD_TUNNEL                    = 0x300
-       ARPHRD_TUNNEL6                   = 0x301
-       ARPHRD_VOID                      = 0xffff
-       ARPHRD_X25                       = 0x10f
-       B0                               = 0x0
-       B1000000                         = 0x1008
-       B110                             = 0x3
-       B115200                          = 0x1002
-       B1152000                         = 0x1009
-       B1200                            = 0x9
-       B134                             = 0x4
-       B150                             = 0x5
-       B1500000                         = 0x100a
-       B1800                            = 0xa
-       B19200                           = 0xe
-       B200                             = 0x6
-       B2000000                         = 0x100b
-       B230400                          = 0x1003
-       B2400                            = 0xb
-       B2500000                         = 0x100c
-       B300                             = 0x7
-       B3000000                         = 0x100d
-       B3500000                         = 0x100e
-       B38400                           = 0xf
-       B4000000                         = 0x100f
-       B460800                          = 0x1004
-       B4800                            = 0xc
-       B50                              = 0x1
-       B500000                          = 0x1005
-       B57600                           = 0x1001
-       B576000                          = 0x1006
-       B600                             = 0x8
-       B75                              = 0x2
-       B921600                          = 0x1007
-       B9600                            = 0xd
-       BLKBSZGET                        = 0x40081270
-       BLKBSZSET                        = 0x80081271
-       BLKFLSBUF                        = 0x20001261
-       BLKFRAGET                        = 0x20001265
-       BLKFRASET                        = 0x20001264
-       BLKGETSIZE                       = 0x20001260
-       BLKGETSIZE64                     = 0x40081272
-       BLKPBSZGET                       = 0x2000127b
-       BLKRAGET                         = 0x20001263
-       BLKRASET                         = 0x20001262
-       BLKROGET                         = 0x2000125e
-       BLKROSET                         = 0x2000125d
-       BLKRRPART                        = 0x2000125f
-       BLKSECTGET                       = 0x20001267
-       BLKSECTSET                       = 0x20001266
-       BLKSSZGET                        = 0x20001268
-       BOTHER                           = 0x1000
-       BPF_A                            = 0x10
-       BPF_ABS                          = 0x20
-       BPF_ADD                          = 0x0
-       BPF_ALU                          = 0x4
-       BPF_AND                          = 0x50
-       BPF_B                            = 0x10
-       BPF_DIV                          = 0x30
-       BPF_H                            = 0x8
-       BPF_IMM                          = 0x0
-       BPF_IND                          = 0x40
-       BPF_JA                           = 0x0
-       BPF_JEQ                          = 0x10
-       BPF_JGE                          = 0x30
-       BPF_JGT                          = 0x20
-       BPF_JMP                          = 0x5
-       BPF_JSET                         = 0x40
-       BPF_K                            = 0x0
-       BPF_LD                           = 0x0
-       BPF_LDX                          = 0x1
-       BPF_LEN                          = 0x80
-       BPF_LL_OFF                       = -0x200000
-       BPF_LSH                          = 0x60
-       BPF_MAJOR_VERSION                = 0x1
-       BPF_MAXINSNS                     = 0x1000
-       BPF_MEM                          = 0x60
-       BPF_MEMWORDS                     = 0x10
-       BPF_MINOR_VERSION                = 0x1
-       BPF_MISC                         = 0x7
-       BPF_MOD                          = 0x90
-       BPF_MSH                          = 0xa0
-       BPF_MUL                          = 0x20
-       BPF_NEG                          = 0x80
-       BPF_NET_OFF                      = -0x100000
-       BPF_OR                           = 0x40
-       BPF_RET                          = 0x6
-       BPF_RSH                          = 0x70
-       BPF_ST                           = 0x2
-       BPF_STX                          = 0x3
-       BPF_SUB                          = 0x10
-       BPF_TAX                          = 0x0
-       BPF_TXA                          = 0x80
-       BPF_W                            = 0x0
-       BPF_X                            = 0x8
-       BPF_XOR                          = 0xa0
-       BRKINT                           = 0x2
-       BS0                              = 0x0
-       BS1                              = 0x2000
-       BSDLY                            = 0x2000
-       CAN_BCM                          = 0x2
-       CAN_EFF_FLAG                     = 0x80000000
-       CAN_EFF_ID_BITS                  = 0x1d
-       CAN_EFF_MASK                     = 0x1fffffff
-       CAN_ERR_FLAG                     = 0x20000000
-       CAN_ERR_MASK                     = 0x1fffffff
-       CAN_INV_FILTER                   = 0x20000000
-       CAN_ISOTP                        = 0x6
-       CAN_MAX_DLC                      = 0x8
-       CAN_MAX_DLEN                     = 0x8
-       CAN_MCNET                        = 0x5
-       CAN_MTU                          = 0x10
-       CAN_NPROTO                       = 0x7
-       CAN_RAW                          = 0x1
-       CAN_RAW_FILTER_MAX               = 0x200
-       CAN_RTR_FLAG                     = 0x40000000
-       CAN_SFF_ID_BITS                  = 0xb
-       CAN_SFF_MASK                     = 0x7ff
-       CAN_TP16                         = 0x3
-       CAN_TP20                         = 0x4
-       CBAUD                            = 0x100f
-       CBAUDEX                          = 0x1000
-       CFLUSH                           = 0xf
-       CIBAUD                           = 0x100f0000
-       CLOCAL                           = 0x800
-       CLOCK_BOOTTIME                   = 0x7
-       CLOCK_BOOTTIME_ALARM             = 0x9
-       CLOCK_DEFAULT                    = 0x0
-       CLOCK_EXT                        = 0x1
-       CLOCK_INT                        = 0x2
-       CLOCK_MONOTONIC                  = 0x1
-       CLOCK_MONOTONIC_COARSE           = 0x6
-       CLOCK_MONOTONIC_RAW              = 0x4
-       CLOCK_PROCESS_CPUTIME_ID         = 0x2
-       CLOCK_REALTIME                   = 0x0
-       CLOCK_REALTIME_ALARM             = 0x8
-       CLOCK_REALTIME_COARSE            = 0x5
-       CLOCK_TAI                        = 0xb
-       CLOCK_THREAD_CPUTIME_ID          = 0x3
-       CLOCK_TXFROMRX                   = 0x4
-       CLOCK_TXINT                      = 0x3
-       CLONE_CHILD_CLEARTID             = 0x200000
-       CLONE_CHILD_SETTID               = 0x1000000
-       CLONE_DETACHED                   = 0x400000
-       CLONE_FILES                      = 0x400
-       CLONE_FS                         = 0x200
-       CLONE_IO                         = 0x80000000
-       CLONE_NEWCGROUP                  = 0x2000000
-       CLONE_NEWIPC                     = 0x8000000
-       CLONE_NEWNET                     = 0x40000000
-       CLONE_NEWNS                      = 0x20000
-       CLONE_NEWPID                     = 0x20000000
-       CLONE_NEWUSER                    = 0x10000000
-       CLONE_NEWUTS                     = 0x4000000
-       CLONE_PARENT                     = 0x8000
-       CLONE_PARENT_SETTID              = 0x100000
-       CLONE_PTRACE                     = 0x2000
-       CLONE_SETTLS                     = 0x80000
-       CLONE_SIGHAND                    = 0x800
-       CLONE_SYSVSEM                    = 0x40000
-       CLONE_THREAD                     = 0x10000
-       CLONE_UNTRACED                   = 0x800000
-       CLONE_VFORK                      = 0x4000
-       CLONE_VM                         = 0x100
-       CMSPAR                           = 0x40000000
-       CR0                              = 0x0
-       CR1                              = 0x200
-       CR2                              = 0x400
-       CR3                              = 0x600
-       CRDLY                            = 0x600
-       CREAD                            = 0x80
-       CRTSCTS                          = 0x80000000
-       CS5                              = 0x0
-       CS6                              = 0x10
-       CS7                              = 0x20
-       CS8                              = 0x30
-       CSIGNAL                          = 0xff
-       CSIZE                            = 0x30
-       CSTART                           = 0x11
-       CSTATUS                          = 0x0
-       CSTOP                            = 0x13
-       CSTOPB                           = 0x40
-       CSUSP                            = 0x1a
-       DT_BLK                           = 0x6
-       DT_CHR                           = 0x2
-       DT_DIR                           = 0x4
-       DT_FIFO                          = 0x1
-       DT_LNK                           = 0xa
-       DT_REG                           = 0x8
-       DT_SOCK                          = 0xc
-       DT_UNKNOWN                       = 0x0
-       DT_WHT                           = 0xe
-       ECHO                             = 0x8
-       ECHOCTL                          = 0x200
-       ECHOE                            = 0x10
-       ECHOK                            = 0x20
-       ECHOKE                           = 0x800
-       ECHONL                           = 0x40
-       ECHOPRT                          = 0x400
-       ENCODING_DEFAULT                 = 0x0
-       ENCODING_FM_MARK                 = 0x3
-       ENCODING_FM_SPACE                = 0x4
-       ENCODING_MANCHESTER              = 0x5
-       ENCODING_NRZ                     = 0x1
-       ENCODING_NRZI                    = 0x2
-       EPOLLERR                         = 0x8
-       EPOLLET                          = 0x80000000
-       EPOLLEXCLUSIVE                   = 0x10000000
-       EPOLLHUP                         = 0x10
-       EPOLLIN                          = 0x1
-       EPOLLMSG                         = 0x400
-       EPOLLONESHOT                     = 0x40000000
-       EPOLLOUT                         = 0x4
-       EPOLLPRI                         = 0x2
-       EPOLLRDBAND                      = 0x80
-       EPOLLRDHUP                       = 0x2000
-       EPOLLRDNORM                      = 0x40
-       EPOLLWAKEUP                      = 0x20000000
-       EPOLLWRBAND                      = 0x200
-       EPOLLWRNORM                      = 0x100
-       EPOLL_CLOEXEC                    = 0x80000
-       EPOLL_CTL_ADD                    = 0x1
-       EPOLL_CTL_DEL                    = 0x2
-       EPOLL_CTL_MOD                    = 0x3
-       ETH_P_1588                       = 0x88f7
-       ETH_P_8021AD                     = 0x88a8
-       ETH_P_8021AH                     = 0x88e7
-       ETH_P_8021Q                      = 0x8100
-       ETH_P_80221                      = 0x8917
-       ETH_P_802_2                      = 0x4
-       ETH_P_802_3                      = 0x1
-       ETH_P_802_3_MIN                  = 0x600
-       ETH_P_802_EX1                    = 0x88b5
-       ETH_P_AARP                       = 0x80f3
-       ETH_P_AF_IUCV                    = 0xfbfb
-       ETH_P_ALL                        = 0x3
-       ETH_P_AOE                        = 0x88a2
-       ETH_P_ARCNET                     = 0x1a
-       ETH_P_ARP                        = 0x806
-       ETH_P_ATALK                      = 0x809b
-       ETH_P_ATMFATE                    = 0x8884
-       ETH_P_ATMMPOA                    = 0x884c
-       ETH_P_AX25                       = 0x2
-       ETH_P_BATMAN                     = 0x4305
-       ETH_P_BPQ                        = 0x8ff
-       ETH_P_CAIF                       = 0xf7
-       ETH_P_CAN                        = 0xc
-       ETH_P_CANFD                      = 0xd
-       ETH_P_CONTROL                    = 0x16
-       ETH_P_CUST                       = 0x6006
-       ETH_P_DDCMP                      = 0x6
-       ETH_P_DEC                        = 0x6000
-       ETH_P_DIAG                       = 0x6005
-       ETH_P_DNA_DL                     = 0x6001
-       ETH_P_DNA_RC                     = 0x6002
-       ETH_P_DNA_RT                     = 0x6003
-       ETH_P_DSA                        = 0x1b
-       ETH_P_ECONET                     = 0x18
-       ETH_P_EDSA                       = 0xdada
-       ETH_P_FCOE                       = 0x8906
-       ETH_P_FIP                        = 0x8914
-       ETH_P_HDLC                       = 0x19
-       ETH_P_HSR                        = 0x892f
-       ETH_P_IEEE802154                 = 0xf6
-       ETH_P_IEEEPUP                    = 0xa00
-       ETH_P_IEEEPUPAT                  = 0xa01
-       ETH_P_IP                         = 0x800
-       ETH_P_IPV6                       = 0x86dd
-       ETH_P_IPX                        = 0x8137
-       ETH_P_IRDA                       = 0x17
-       ETH_P_LAT                        = 0x6004
-       ETH_P_LINK_CTL                   = 0x886c
-       ETH_P_LOCALTALK                  = 0x9
-       ETH_P_LOOP                       = 0x60
-       ETH_P_LOOPBACK                   = 0x9000
-       ETH_P_MACSEC                     = 0x88e5
-       ETH_P_MOBITEX                    = 0x15
-       ETH_P_MPLS_MC                    = 0x8848
-       ETH_P_MPLS_UC                    = 0x8847
-       ETH_P_MVRP                       = 0x88f5
-       ETH_P_NCSI                       = 0x88f8
-       ETH_P_PAE                        = 0x888e
-       ETH_P_PAUSE                      = 0x8808
-       ETH_P_PHONET                     = 0xf5
-       ETH_P_PPPTALK                    = 0x10
-       ETH_P_PPP_DISC                   = 0x8863
-       ETH_P_PPP_MP                     = 0x8
-       ETH_P_PPP_SES                    = 0x8864
-       ETH_P_PRP                        = 0x88fb
-       ETH_P_PUP                        = 0x200
-       ETH_P_PUPAT                      = 0x201
-       ETH_P_QINQ1                      = 0x9100
-       ETH_P_QINQ2                      = 0x9200
-       ETH_P_QINQ3                      = 0x9300
-       ETH_P_RARP                       = 0x8035
-       ETH_P_SCA                        = 0x6007
-       ETH_P_SLOW                       = 0x8809
-       ETH_P_SNAP                       = 0x5
-       ETH_P_TDLS                       = 0x890d
-       ETH_P_TEB                        = 0x6558
-       ETH_P_TIPC                       = 0x88ca
-       ETH_P_TRAILER                    = 0x1c
-       ETH_P_TR_802_2                   = 0x11
-       ETH_P_TSN                        = 0x22f0
-       ETH_P_WAN_PPP                    = 0x7
-       ETH_P_WCCP                       = 0x883e
-       ETH_P_X25                        = 0x805
-       ETH_P_XDSA                       = 0xf8
-       EXTA                             = 0xe
-       EXTB                             = 0xf
-       EXTPROC                          = 0x10000
-       FALLOC_FL_COLLAPSE_RANGE         = 0x8
-       FALLOC_FL_INSERT_RANGE           = 0x20
-       FALLOC_FL_KEEP_SIZE              = 0x1
-       FALLOC_FL_NO_HIDE_STALE          = 0x4
-       FALLOC_FL_PUNCH_HOLE             = 0x2
-       FALLOC_FL_UNSHARE_RANGE          = 0x40
-       FALLOC_FL_ZERO_RANGE             = 0x10
-       FD_CLOEXEC                       = 0x1
-       FD_SETSIZE                       = 0x400
-       FF0                              = 0x0
-       FF1                              = 0x8000
-       FFDLY                            = 0x8000
-       FLUSHO                           = 0x2000
-       FS_ENCRYPTION_MODE_AES_256_CBC   = 0x3
-       FS_ENCRYPTION_MODE_AES_256_CTS   = 0x4
-       FS_ENCRYPTION_MODE_AES_256_GCM   = 0x2
-       FS_ENCRYPTION_MODE_AES_256_XTS   = 0x1
-       FS_ENCRYPTION_MODE_INVALID       = 0x0
-       FS_IOC_GET_ENCRYPTION_POLICY     = 0x800c6615
-       FS_IOC_GET_ENCRYPTION_PWSALT     = 0x80106614
-       FS_IOC_SET_ENCRYPTION_POLICY     = 0x400c6613
-       FS_KEY_DESCRIPTOR_SIZE           = 0x8
-       FS_KEY_DESC_PREFIX               = "fscrypt:"
-       FS_KEY_DESC_PREFIX_SIZE          = 0x8
-       FS_MAX_KEY_SIZE                  = 0x40
-       FS_POLICY_FLAGS_PAD_16           = 0x2
-       FS_POLICY_FLAGS_PAD_32           = 0x3
-       FS_POLICY_FLAGS_PAD_4            = 0x0
-       FS_POLICY_FLAGS_PAD_8            = 0x1
-       FS_POLICY_FLAGS_PAD_MASK         = 0x3
-       FS_POLICY_FLAGS_VALID            = 0x3
-       F_DUPFD                          = 0x0
-       F_DUPFD_CLOEXEC                  = 0x406
-       F_EXLCK                          = 0x4
-       F_GETFD                          = 0x1
-       F_GETFL                          = 0x3
-       F_GETLEASE                       = 0x401
-       F_GETLK                          = 0xe
-       F_GETLK64                        = 0xe
-       F_GETOWN                         = 0x17
-       F_GETOWN_EX                      = 0x10
-       F_GETPIPE_SZ                     = 0x408
-       F_GETSIG                         = 0xb
-       F_LOCK                           = 0x1
-       F_NOTIFY                         = 0x402
-       F_OFD_GETLK                      = 0x24
-       F_OFD_SETLK                      = 0x25
-       F_OFD_SETLKW                     = 0x26
-       F_OK                             = 0x0
-       F_RDLCK                          = 0x0
-       F_SETFD                          = 0x2
-       F_SETFL                          = 0x4
-       F_SETLEASE                       = 0x400
-       F_SETLK                          = 0x6
-       F_SETLK64                        = 0x6
-       F_SETLKW                         = 0x7
-       F_SETLKW64                       = 0x7
-       F_SETOWN                         = 0x18
-       F_SETOWN_EX                      = 0xf
-       F_SETPIPE_SZ                     = 0x407
-       F_SETSIG                         = 0xa
-       F_SHLCK                          = 0x8
-       F_TEST                           = 0x3
-       F_TLOCK                          = 0x2
-       F_ULOCK                          = 0x0
-       F_UNLCK                          = 0x2
-       F_WRLCK                          = 0x1
-       GRND_NONBLOCK                    = 0x1
-       GRND_RANDOM                      = 0x2
-       HUPCL                            = 0x400
-       IBSHIFT                          = 0x10
-       ICANON                           = 0x2
-       ICMPV6_FILTER                    = 0x1
-       ICRNL                            = 0x100
-       IEXTEN                           = 0x100
-       IFA_F_DADFAILED                  = 0x8
-       IFA_F_DEPRECATED                 = 0x20
-       IFA_F_HOMEADDRESS                = 0x10
-       IFA_F_MANAGETEMPADDR             = 0x100
-       IFA_F_MCAUTOJOIN                 = 0x400
-       IFA_F_NODAD                      = 0x2
-       IFA_F_NOPREFIXROUTE              = 0x200
-       IFA_F_OPTIMISTIC                 = 0x4
-       IFA_F_PERMANENT                  = 0x80
-       IFA_F_SECONDARY                  = 0x1
-       IFA_F_STABLE_PRIVACY             = 0x800
-       IFA_F_TEMPORARY                  = 0x1
-       IFA_F_TENTATIVE                  = 0x40
-       IFA_MAX                          = 0x8
-       IFF_ALLMULTI                     = 0x200
-       IFF_ATTACH_QUEUE                 = 0x200
-       IFF_AUTOMEDIA                    = 0x4000
-       IFF_BROADCAST                    = 0x2
-       IFF_DEBUG                        = 0x4
-       IFF_DETACH_QUEUE                 = 0x400
-       IFF_DORMANT                      = 0x20000
-       IFF_DYNAMIC                      = 0x8000
-       IFF_ECHO                         = 0x40000
-       IFF_LOOPBACK                     = 0x8
-       IFF_LOWER_UP                     = 0x10000
-       IFF_MASTER                       = 0x400
-       IFF_MULTICAST                    = 0x1000
-       IFF_MULTI_QUEUE                  = 0x100
-       IFF_NOARP                        = 0x80
-       IFF_NOFILTER                     = 0x1000
-       IFF_NOTRAILERS                   = 0x20
-       IFF_NO_PI                        = 0x1000
-       IFF_ONE_QUEUE                    = 0x2000
-       IFF_PERSIST                      = 0x800
-       IFF_POINTOPOINT                  = 0x10
-       IFF_PORTSEL                      = 0x2000
-       IFF_PROMISC                      = 0x100
-       IFF_RUNNING                      = 0x40
-       IFF_SLAVE                        = 0x800
-       IFF_TAP                          = 0x2
-       IFF_TUN                          = 0x1
-       IFF_TUN_EXCL                     = 0x8000
-       IFF_UP                           = 0x1
-       IFF_VNET_HDR                     = 0x4000
-       IFF_VOLATILE                     = 0x70c5a
-       IFNAMSIZ                         = 0x10
-       IGNBRK                           = 0x1
-       IGNCR                            = 0x80
-       IGNPAR                           = 0x4
-       IMAXBEL                          = 0x2000
-       INLCR                            = 0x40
-       INPCK                            = 0x10
-       IN_ACCESS                        = 0x1
-       IN_ALL_EVENTS                    = 0xfff
-       IN_ATTRIB                        = 0x4
-       IN_CLASSA_HOST                   = 0xffffff
-       IN_CLASSA_MAX                    = 0x80
-       IN_CLASSA_NET                    = 0xff000000
-       IN_CLASSA_NSHIFT                 = 0x18
-       IN_CLASSB_HOST                   = 0xffff
-       IN_CLASSB_MAX                    = 0x10000
-       IN_CLASSB_NET                    = 0xffff0000
-       IN_CLASSB_NSHIFT                 = 0x10
-       IN_CLASSC_HOST                   = 0xff
-       IN_CLASSC_NET                    = 0xffffff00
-       IN_CLASSC_NSHIFT                 = 0x8
-       IN_CLOEXEC                       = 0x80000
-       IN_CLOSE                         = 0x18
-       IN_CLOSE_NOWRITE                 = 0x10
-       IN_CLOSE_WRITE                   = 0x8
-       IN_CREATE                        = 0x100
-       IN_DELETE                        = 0x200
-       IN_DELETE_SELF                   = 0x400
-       IN_DONT_FOLLOW                   = 0x2000000
-       IN_EXCL_UNLINK                   = 0x4000000
-       IN_IGNORED                       = 0x8000
-       IN_ISDIR                         = 0x40000000
-       IN_LOOPBACKNET                   = 0x7f
-       IN_MASK_ADD                      = 0x20000000
-       IN_MODIFY                        = 0x2
-       IN_MOVE                          = 0xc0
-       IN_MOVED_FROM                    = 0x40
-       IN_MOVED_TO                      = 0x80
-       IN_MOVE_SELF                     = 0x800
-       IN_NONBLOCK                      = 0x80
-       IN_ONESHOT                       = 0x80000000
-       IN_ONLYDIR                       = 0x1000000
-       IN_OPEN                          = 0x20
-       IN_Q_OVERFLOW                    = 0x4000
-       IN_UNMOUNT                       = 0x2000
-       IPPROTO_AH                       = 0x33
-       IPPROTO_BEETPH                   = 0x5e
-       IPPROTO_COMP                     = 0x6c
-       IPPROTO_DCCP                     = 0x21
-       IPPROTO_DSTOPTS                  = 0x3c
-       IPPROTO_EGP                      = 0x8
-       IPPROTO_ENCAP                    = 0x62
-       IPPROTO_ESP                      = 0x32
-       IPPROTO_FRAGMENT                 = 0x2c
-       IPPROTO_GRE                      = 0x2f
-       IPPROTO_HOPOPTS                  = 0x0
-       IPPROTO_ICMP                     = 0x1
-       IPPROTO_ICMPV6                   = 0x3a
-       IPPROTO_IDP                      = 0x16
-       IPPROTO_IGMP                     = 0x2
-       IPPROTO_IP                       = 0x0
-       IPPROTO_IPIP                     = 0x4
-       IPPROTO_IPV6                     = 0x29
-       IPPROTO_MH                       = 0x87
-       IPPROTO_MPLS                     = 0x89
-       IPPROTO_MTP                      = 0x5c
-       IPPROTO_NONE                     = 0x3b
-       IPPROTO_PIM                      = 0x67
-       IPPROTO_PUP                      = 0xc
-       IPPROTO_RAW                      = 0xff
-       IPPROTO_ROUTING                  = 0x2b
-       IPPROTO_RSVP                     = 0x2e
-       IPPROTO_SCTP                     = 0x84
-       IPPROTO_TCP                      = 0x6
-       IPPROTO_TP                       = 0x1d
-       IPPROTO_UDP                      = 0x11
-       IPPROTO_UDPLITE                  = 0x88
-       IPV6_2292DSTOPTS                 = 0x4
-       IPV6_2292HOPLIMIT                = 0x8
-       IPV6_2292HOPOPTS                 = 0x3
-       IPV6_2292PKTINFO                 = 0x2
-       IPV6_2292PKTOPTIONS              = 0x6
-       IPV6_2292RTHDR                   = 0x5
-       IPV6_ADDRFORM                    = 0x1
-       IPV6_ADD_MEMBERSHIP              = 0x14
-       IPV6_AUTHHDR                     = 0xa
-       IPV6_CHECKSUM                    = 0x7
-       IPV6_DONTFRAG                    = 0x3e
-       IPV6_DROP_MEMBERSHIP             = 0x15
-       IPV6_DSTOPTS                     = 0x3b
-       IPV6_HDRINCL                     = 0x24
-       IPV6_HOPLIMIT                    = 0x34
-       IPV6_HOPOPTS                     = 0x36
-       IPV6_IPSEC_POLICY                = 0x22
-       IPV6_JOIN_ANYCAST                = 0x1b
-       IPV6_JOIN_GROUP                  = 0x14
-       IPV6_LEAVE_ANYCAST               = 0x1c
-       IPV6_LEAVE_GROUP                 = 0x15
-       IPV6_MTU                         = 0x18
-       IPV6_MTU_DISCOVER                = 0x17
-       IPV6_MULTICAST_HOPS              = 0x12
-       IPV6_MULTICAST_IF                = 0x11
-       IPV6_MULTICAST_LOOP              = 0x13
-       IPV6_NEXTHOP                     = 0x9
-       IPV6_PATHMTU                     = 0x3d
-       IPV6_PKTINFO                     = 0x32
-       IPV6_PMTUDISC_DO                 = 0x2
-       IPV6_PMTUDISC_DONT               = 0x0
-       IPV6_PMTUDISC_INTERFACE          = 0x4
-       IPV6_PMTUDISC_OMIT               = 0x5
-       IPV6_PMTUDISC_PROBE              = 0x3
-       IPV6_PMTUDISC_WANT               = 0x1
-       IPV6_RECVDSTOPTS                 = 0x3a
-       IPV6_RECVERR                     = 0x19
-       IPV6_RECVHOPLIMIT                = 0x33
-       IPV6_RECVHOPOPTS                 = 0x35
-       IPV6_RECVPATHMTU                 = 0x3c
-       IPV6_RECVPKTINFO                 = 0x31
-       IPV6_RECVRTHDR                   = 0x38
-       IPV6_RECVTCLASS                  = 0x42
-       IPV6_ROUTER_ALERT                = 0x16
-       IPV6_RTHDR                       = 0x39
-       IPV6_RTHDRDSTOPTS                = 0x37
-       IPV6_RTHDR_LOOSE                 = 0x0
-       IPV6_RTHDR_STRICT                = 0x1
-       IPV6_RTHDR_TYPE_0                = 0x0
-       IPV6_RXDSTOPTS                   = 0x3b
-       IPV6_RXHOPOPTS                   = 0x36
-       IPV6_TCLASS                      = 0x43
-       IPV6_UNICAST_HOPS                = 0x10
-       IPV6_V6ONLY                      = 0x1a
-       IPV6_XFRM_POLICY                 = 0x23
-       IP_ADD_MEMBERSHIP                = 0x23
-       IP_ADD_SOURCE_MEMBERSHIP         = 0x27
-       IP_BIND_ADDRESS_NO_PORT          = 0x18
-       IP_BLOCK_SOURCE                  = 0x26
-       IP_CHECKSUM                      = 0x17
-       IP_DEFAULT_MULTICAST_LOOP        = 0x1
-       IP_DEFAULT_MULTICAST_TTL         = 0x1
-       IP_DF                            = 0x4000
-       IP_DROP_MEMBERSHIP               = 0x24
-       IP_DROP_SOURCE_MEMBERSHIP        = 0x28
-       IP_FREEBIND                      = 0xf
-       IP_HDRINCL                       = 0x3
-       IP_IPSEC_POLICY                  = 0x10
-       IP_MAXPACKET                     = 0xffff
-       IP_MAX_MEMBERSHIPS               = 0x14
-       IP_MF                            = 0x2000
-       IP_MINTTL                        = 0x15
-       IP_MSFILTER                      = 0x29
-       IP_MSS                           = 0x240
-       IP_MTU                           = 0xe
-       IP_MTU_DISCOVER                  = 0xa
-       IP_MULTICAST_ALL                 = 0x31
-       IP_MULTICAST_IF                  = 0x20
-       IP_MULTICAST_LOOP                = 0x22
-       IP_MULTICAST_TTL                 = 0x21
-       IP_NODEFRAG                      = 0x16
-       IP_OFFMASK                       = 0x1fff
-       IP_OPTIONS                       = 0x4
-       IP_ORIGDSTADDR                   = 0x14
-       IP_PASSSEC                       = 0x12
-       IP_PKTINFO                       = 0x8
-       IP_PKTOPTIONS                    = 0x9
-       IP_PMTUDISC                      = 0xa
-       IP_PMTUDISC_DO                   = 0x2
-       IP_PMTUDISC_DONT                 = 0x0
-       IP_PMTUDISC_INTERFACE            = 0x4
-       IP_PMTUDISC_OMIT                 = 0x5
-       IP_PMTUDISC_PROBE                = 0x3
-       IP_PMTUDISC_WANT                 = 0x1
-       IP_RECVERR                       = 0xb
-       IP_RECVOPTS                      = 0x6
-       IP_RECVORIGDSTADDR               = 0x14
-       IP_RECVRETOPTS                   = 0x7
-       IP_RECVTOS                       = 0xd
-       IP_RECVTTL                       = 0xc
-       IP_RETOPTS                       = 0x7
-       IP_RF                            = 0x8000
-       IP_ROUTER_ALERT                  = 0x5
-       IP_TOS                           = 0x1
-       IP_TRANSPARENT                   = 0x13
-       IP_TTL                           = 0x2
-       IP_UNBLOCK_SOURCE                = 0x25
-       IP_UNICAST_IF                    = 0x32
-       IP_XFRM_POLICY                   = 0x11
-       ISIG                             = 0x1
-       ISTRIP                           = 0x20
-       IUCLC                            = 0x200
-       IUTF8                            = 0x4000
-       IXANY                            = 0x800
-       IXOFF                            = 0x1000
-       IXON                             = 0x400
-       LINUX_REBOOT_CMD_CAD_OFF         = 0x0
-       LINUX_REBOOT_CMD_CAD_ON          = 0x89abcdef
-       LINUX_REBOOT_CMD_HALT            = 0xcdef0123
-       LINUX_REBOOT_CMD_KEXEC           = 0x45584543
-       LINUX_REBOOT_CMD_POWER_OFF       = 0x4321fedc
-       LINUX_REBOOT_CMD_RESTART         = 0x1234567
-       LINUX_REBOOT_CMD_RESTART2        = 0xa1b2c3d4
-       LINUX_REBOOT_CMD_SW_SUSPEND      = 0xd000fce2
-       LINUX_REBOOT_MAGIC1              = 0xfee1dead
-       LINUX_REBOOT_MAGIC2              = 0x28121969
-       LOCK_EX                          = 0x2
-       LOCK_NB                          = 0x4
-       LOCK_SH                          = 0x1
-       LOCK_UN                          = 0x8
-       MADV_DODUMP                      = 0x11
-       MADV_DOFORK                      = 0xb
-       MADV_DONTDUMP                    = 0x10
-       MADV_DONTFORK                    = 0xa
-       MADV_DONTNEED                    = 0x4
-       MADV_FREE                        = 0x8
-       MADV_HUGEPAGE                    = 0xe
-       MADV_HWPOISON                    = 0x64
-       MADV_MERGEABLE                   = 0xc
-       MADV_NOHUGEPAGE                  = 0xf
-       MADV_NORMAL                      = 0x0
-       MADV_RANDOM                      = 0x1
-       MADV_REMOVE                      = 0x9
-       MADV_SEQUENTIAL                  = 0x2
-       MADV_UNMERGEABLE                 = 0xd
-       MADV_WILLNEED                    = 0x3
-       MAP_ANON                         = 0x800
-       MAP_ANONYMOUS                    = 0x800
-       MAP_DENYWRITE                    = 0x2000
-       MAP_EXECUTABLE                   = 0x4000
-       MAP_FILE                         = 0x0
-       MAP_FIXED                        = 0x10
-       MAP_GROWSDOWN                    = 0x1000
-       MAP_HUGETLB                      = 0x80000
-       MAP_HUGE_MASK                    = 0x3f
-       MAP_HUGE_SHIFT                   = 0x1a
-       MAP_LOCKED                       = 0x8000
-       MAP_NONBLOCK                     = 0x20000
-       MAP_NORESERVE                    = 0x400
-       MAP_POPULATE                     = 0x10000
-       MAP_PRIVATE                      = 0x2
-       MAP_RENAME                       = 0x800
-       MAP_SHARED                       = 0x1
-       MAP_STACK                        = 0x40000
-       MAP_TYPE                         = 0xf
-       MCL_CURRENT                      = 0x1
-       MCL_FUTURE                       = 0x2
-       MCL_ONFAULT                      = 0x4
-       MNT_DETACH                       = 0x2
-       MNT_EXPIRE                       = 0x4
-       MNT_FORCE                        = 0x1
-       MSG_BATCH                        = 0x40000
-       MSG_CMSG_CLOEXEC                 = 0x40000000
-       MSG_CONFIRM                      = 0x800
-       MSG_CTRUNC                       = 0x8
-       MSG_DONTROUTE                    = 0x4
-       MSG_DONTWAIT                     = 0x40
-       MSG_EOR                          = 0x80
-       MSG_ERRQUEUE                     = 0x2000
-       MSG_FASTOPEN                     = 0x20000000
-       MSG_FIN                          = 0x200
-       MSG_MORE                         = 0x8000
-       MSG_NOSIGNAL                     = 0x4000
-       MSG_OOB                          = 0x1
-       MSG_PEEK                         = 0x2
-       MSG_PROXY                        = 0x10
-       MSG_RST                          = 0x1000
-       MSG_SYN                          = 0x400
-       MSG_TRUNC                        = 0x20
-       MSG_TRYHARD                      = 0x4
-       MSG_WAITALL                      = 0x100
-       MSG_WAITFORONE                   = 0x10000
-       MS_ACTIVE                        = 0x40000000
-       MS_ASYNC                         = 0x1
-       MS_BIND                          = 0x1000
-       MS_BORN                          = 0x20000000
-       MS_DIRSYNC                       = 0x80
-       MS_INVALIDATE                    = 0x2
-       MS_I_VERSION                     = 0x800000
-       MS_KERNMOUNT                     = 0x400000
-       MS_LAZYTIME                      = 0x2000000
-       MS_MANDLOCK                      = 0x40
-       MS_MGC_MSK                       = 0xffff0000
-       MS_MGC_VAL                       = 0xc0ed0000
-       MS_MOVE                          = 0x2000
-       MS_NOATIME                       = 0x400
-       MS_NODEV                         = 0x4
-       MS_NODIRATIME                    = 0x800
-       MS_NOEXEC                        = 0x8
-       MS_NOREMOTELOCK                  = 0x8000000
-       MS_NOSEC                         = 0x10000000
-       MS_NOSUID                        = 0x2
-       MS_NOUSER                        = -0x80000000
-       MS_POSIXACL                      = 0x10000
-       MS_PRIVATE                       = 0x40000
-       MS_RDONLY                        = 0x1
-       MS_REC                           = 0x4000
-       MS_RELATIME                      = 0x200000
-       MS_REMOUNT                       = 0x20
-       MS_RMT_MASK                      = 0x2800051
-       MS_SHARED                        = 0x100000
-       MS_SILENT                        = 0x8000
-       MS_SLAVE                         = 0x80000
-       MS_STRICTATIME                   = 0x1000000
-       MS_SYNC                          = 0x4
-       MS_SYNCHRONOUS                   = 0x10
-       MS_UNBINDABLE                    = 0x20000
-       MS_VERBOSE                       = 0x8000
-       NAME_MAX                         = 0xff
-       NETLINK_ADD_MEMBERSHIP           = 0x1
-       NETLINK_AUDIT                    = 0x9
-       NETLINK_BROADCAST_ERROR          = 0x4
-       NETLINK_CAP_ACK                  = 0xa
-       NETLINK_CONNECTOR                = 0xb
-       NETLINK_CRYPTO                   = 0x15
-       NETLINK_DNRTMSG                  = 0xe
-       NETLINK_DROP_MEMBERSHIP          = 0x2
-       NETLINK_ECRYPTFS                 = 0x13
-       NETLINK_FIB_LOOKUP               = 0xa
-       NETLINK_FIREWALL                 = 0x3
-       NETLINK_GENERIC                  = 0x10
-       NETLINK_INET_DIAG                = 0x4
-       NETLINK_IP6_FW                   = 0xd
-       NETLINK_ISCSI                    = 0x8
-       NETLINK_KOBJECT_UEVENT           = 0xf
-       NETLINK_LISTEN_ALL_NSID          = 0x8
-       NETLINK_LIST_MEMBERSHIPS         = 0x9
-       NETLINK_NETFILTER                = 0xc
-       NETLINK_NFLOG                    = 0x5
-       NETLINK_NO_ENOBUFS               = 0x5
-       NETLINK_PKTINFO                  = 0x3
-       NETLINK_RDMA                     = 0x14
-       NETLINK_ROUTE                    = 0x0
-       NETLINK_RX_RING                  = 0x6
-       NETLINK_SCSITRANSPORT            = 0x12
-       NETLINK_SELINUX                  = 0x7
-       NETLINK_SOCK_DIAG                = 0x4
-       NETLINK_TX_RING                  = 0x7
-       NETLINK_UNUSED                   = 0x1
-       NETLINK_USERSOCK                 = 0x2
-       NETLINK_XFRM                     = 0x6
-       NL0                              = 0x0
-       NL1                              = 0x100
-       NLA_ALIGNTO                      = 0x4
-       NLA_F_NESTED                     = 0x8000
-       NLA_F_NET_BYTEORDER              = 0x4000
-       NLA_HDRLEN                       = 0x4
-       NLDLY                            = 0x100
-       NLMSG_ALIGNTO                    = 0x4
-       NLMSG_DONE                       = 0x3
-       NLMSG_ERROR                      = 0x2
-       NLMSG_HDRLEN                     = 0x10
-       NLMSG_MIN_TYPE                   = 0x10
-       NLMSG_NOOP                       = 0x1
-       NLMSG_OVERRUN                    = 0x4
-       NLM_F_ACK                        = 0x4
-       NLM_F_APPEND                     = 0x800
-       NLM_F_ATOMIC                     = 0x400
-       NLM_F_CREATE                     = 0x400
-       NLM_F_DUMP                       = 0x300
-       NLM_F_DUMP_FILTERED              = 0x20
-       NLM_F_DUMP_INTR                  = 0x10
-       NLM_F_ECHO                       = 0x8
-       NLM_F_EXCL                       = 0x200
-       NLM_F_MATCH                      = 0x200
-       NLM_F_MULTI                      = 0x2
-       NLM_F_REPLACE                    = 0x100
-       NLM_F_REQUEST                    = 0x1
-       NLM_F_ROOT                       = 0x100
-       NOFLSH                           = 0x80
-       OCRNL                            = 0x8
-       OFDEL                            = 0x80
-       OFILL                            = 0x40
-       OLCUC                            = 0x2
-       ONLCR                            = 0x4
-       ONLRET                           = 0x20
-       ONOCR                            = 0x10
-       OPOST                            = 0x1
-       O_ACCMODE                        = 0x3
-       O_APPEND                         = 0x8
-       O_ASYNC                          = 0x1000
-       O_CLOEXEC                        = 0x80000
-       O_CREAT                          = 0x100
-       O_DIRECT                         = 0x8000
-       O_DIRECTORY                      = 0x10000
-       O_DSYNC                          = 0x10
-       O_EXCL                           = 0x400
-       O_FSYNC                          = 0x4010
-       O_LARGEFILE                      = 0x0
-       O_NDELAY                         = 0x80
-       O_NOATIME                        = 0x40000
-       O_NOCTTY                         = 0x800
-       O_NOFOLLOW                       = 0x20000
-       O_NONBLOCK                       = 0x80
-       O_PATH                           = 0x200000
-       O_RDONLY                         = 0x0
-       O_RDWR                           = 0x2
-       O_RSYNC                          = 0x4010
-       O_SYNC                           = 0x4010
-       O_TMPFILE                        = 0x410000
-       O_TRUNC                          = 0x200
-       O_WRONLY                         = 0x1
-       PACKET_ADD_MEMBERSHIP            = 0x1
-       PACKET_AUXDATA                   = 0x8
-       PACKET_BROADCAST                 = 0x1
-       PACKET_COPY_THRESH               = 0x7
-       PACKET_DROP_MEMBERSHIP           = 0x2
-       PACKET_FANOUT                    = 0x12
-       PACKET_FANOUT_CBPF               = 0x6
-       PACKET_FANOUT_CPU                = 0x2
-       PACKET_FANOUT_DATA               = 0x16
-       PACKET_FANOUT_EBPF               = 0x7
-       PACKET_FANOUT_FLAG_DEFRAG        = 0x8000
-       PACKET_FANOUT_FLAG_ROLLOVER      = 0x1000
-       PACKET_FANOUT_HASH               = 0x0
-       PACKET_FANOUT_LB                 = 0x1
-       PACKET_FANOUT_QM                 = 0x5
-       PACKET_FANOUT_RND                = 0x4
-       PACKET_FANOUT_ROLLOVER           = 0x3
-       PACKET_FASTROUTE                 = 0x6
-       PACKET_HDRLEN                    = 0xb
-       PACKET_HOST                      = 0x0
-       PACKET_KERNEL                    = 0x7
-       PACKET_LOOPBACK                  = 0x5
-       PACKET_LOSS                      = 0xe
-       PACKET_MR_ALLMULTI               = 0x2
-       PACKET_MR_MULTICAST              = 0x0
-       PACKET_MR_PROMISC                = 0x1
-       PACKET_MR_UNICAST                = 0x3
-       PACKET_MULTICAST                 = 0x2
-       PACKET_ORIGDEV                   = 0x9
-       PACKET_OTHERHOST                 = 0x3
-       PACKET_OUTGOING                  = 0x4
-       PACKET_QDISC_BYPASS              = 0x14
-       PACKET_RECV_OUTPUT               = 0x3
-       PACKET_RESERVE                   = 0xc
-       PACKET_ROLLOVER_STATS            = 0x15
-       PACKET_RX_RING                   = 0x5
-       PACKET_STATISTICS                = 0x6
-       PACKET_TIMESTAMP                 = 0x11
-       PACKET_TX_HAS_OFF                = 0x13
-       PACKET_TX_RING                   = 0xd
-       PACKET_TX_TIMESTAMP              = 0x10
-       PACKET_USER                      = 0x6
-       PACKET_VERSION                   = 0xa
-       PACKET_VNET_HDR                  = 0xf
-       PARENB                           = 0x100
-       PARITY_CRC16_PR0                 = 0x2
-       PARITY_CRC16_PR0_CCITT           = 0x4
-       PARITY_CRC16_PR1                 = 0x3
-       PARITY_CRC16_PR1_CCITT           = 0x5
-       PARITY_CRC32_PR0_CCITT           = 0x6
-       PARITY_CRC32_PR1_CCITT           = 0x7
-       PARITY_DEFAULT                   = 0x0
-       PARITY_NONE                      = 0x1
-       PARMRK                           = 0x8
-       PARODD                           = 0x200
-       PENDIN                           = 0x4000
-       PRIO_PGRP                        = 0x1
-       PRIO_PROCESS                     = 0x0
-       PRIO_USER                        = 0x2
-       PROT_EXEC                        = 0x4
-       PROT_GROWSDOWN                   = 0x1000000
-       PROT_GROWSUP                     = 0x2000000
-       PROT_NONE                        = 0x0
-       PROT_READ                        = 0x1
-       PROT_WRITE                       = 0x2
-       PR_CAPBSET_DROP                  = 0x18
-       PR_CAPBSET_READ                  = 0x17
-       PR_CAP_AMBIENT                   = 0x2f
-       PR_CAP_AMBIENT_CLEAR_ALL         = 0x4
-       PR_CAP_AMBIENT_IS_SET            = 0x1
-       PR_CAP_AMBIENT_LOWER             = 0x3
-       PR_CAP_AMBIENT_RAISE             = 0x2
-       PR_ENDIAN_BIG                    = 0x0
-       PR_ENDIAN_LITTLE                 = 0x1
-       PR_ENDIAN_PPC_LITTLE             = 0x2
-       PR_FPEMU_NOPRINT                 = 0x1
-       PR_FPEMU_SIGFPE                  = 0x2
-       PR_FP_EXC_ASYNC                  = 0x2
-       PR_FP_EXC_DISABLED               = 0x0
-       PR_FP_EXC_DIV                    = 0x10000
-       PR_FP_EXC_INV                    = 0x100000
-       PR_FP_EXC_NONRECOV               = 0x1
-       PR_FP_EXC_OVF                    = 0x20000
-       PR_FP_EXC_PRECISE                = 0x3
-       PR_FP_EXC_RES                    = 0x80000
-       PR_FP_EXC_SW_ENABLE              = 0x80
-       PR_FP_EXC_UND                    = 0x40000
-       PR_FP_MODE_FR                    = 0x1
-       PR_FP_MODE_FRE                   = 0x2
-       PR_GET_CHILD_SUBREAPER           = 0x25
-       PR_GET_DUMPABLE                  = 0x3
-       PR_GET_ENDIAN                    = 0x13
-       PR_GET_FPEMU                     = 0x9
-       PR_GET_FPEXC                     = 0xb
-       PR_GET_FP_MODE                   = 0x2e
-       PR_GET_KEEPCAPS                  = 0x7
-       PR_GET_NAME                      = 0x10
-       PR_GET_NO_NEW_PRIVS              = 0x27
-       PR_GET_PDEATHSIG                 = 0x2
-       PR_GET_SECCOMP                   = 0x15
-       PR_GET_SECUREBITS                = 0x1b
-       PR_GET_THP_DISABLE               = 0x2a
-       PR_GET_TID_ADDRESS               = 0x28
-       PR_GET_TIMERSLACK                = 0x1e
-       PR_GET_TIMING                    = 0xd
-       PR_GET_TSC                       = 0x19
-       PR_GET_UNALIGN                   = 0x5
-       PR_MCE_KILL                      = 0x21
-       PR_MCE_KILL_CLEAR                = 0x0
-       PR_MCE_KILL_DEFAULT              = 0x2
-       PR_MCE_KILL_EARLY                = 0x1
-       PR_MCE_KILL_GET                  = 0x22
-       PR_MCE_KILL_LATE                 = 0x0
-       PR_MCE_KILL_SET                  = 0x1
-       PR_MPX_DISABLE_MANAGEMENT        = 0x2c
-       PR_MPX_ENABLE_MANAGEMENT         = 0x2b
-       PR_SET_CHILD_SUBREAPER           = 0x24
-       PR_SET_DUMPABLE                  = 0x4
-       PR_SET_ENDIAN                    = 0x14
-       PR_SET_FPEMU                     = 0xa
-       PR_SET_FPEXC                     = 0xc
-       PR_SET_FP_MODE                   = 0x2d
-       PR_SET_KEEPCAPS                  = 0x8
-       PR_SET_MM                        = 0x23
-       PR_SET_MM_ARG_END                = 0x9
-       PR_SET_MM_ARG_START              = 0x8
-       PR_SET_MM_AUXV                   = 0xc
-       PR_SET_MM_BRK                    = 0x7
-       PR_SET_MM_END_CODE               = 0x2
-       PR_SET_MM_END_DATA               = 0x4
-       PR_SET_MM_ENV_END                = 0xb
-       PR_SET_MM_ENV_START              = 0xa
-       PR_SET_MM_EXE_FILE               = 0xd
-       PR_SET_MM_MAP                    = 0xe
-       PR_SET_MM_MAP_SIZE               = 0xf
-       PR_SET_MM_START_BRK              = 0x6
-       PR_SET_MM_START_CODE             = 0x1
-       PR_SET_MM_START_DATA             = 0x3
-       PR_SET_MM_START_STACK            = 0x5
-       PR_SET_NAME                      = 0xf
-       PR_SET_NO_NEW_PRIVS              = 0x26
-       PR_SET_PDEATHSIG                 = 0x1
-       PR_SET_PTRACER                   = 0x59616d61
-       PR_SET_PTRACER_ANY               = -0x1
-       PR_SET_SECCOMP                   = 0x16
-       PR_SET_SECUREBITS                = 0x1c
-       PR_SET_THP_DISABLE               = 0x29
-       PR_SET_TIMERSLACK                = 0x1d
-       PR_SET_TIMING                    = 0xe
-       PR_SET_TSC                       = 0x1a
-       PR_SET_UNALIGN                   = 0x6
-       PR_TASK_PERF_EVENTS_DISABLE      = 0x1f
-       PR_TASK_PERF_EVENTS_ENABLE       = 0x20
-       PR_TIMING_STATISTICAL            = 0x0
-       PR_TIMING_TIMESTAMP              = 0x1
-       PR_TSC_ENABLE                    = 0x1
-       PR_TSC_SIGSEGV                   = 0x2
-       PR_UNALIGN_NOPRINT               = 0x1
-       PR_UNALIGN_SIGBUS                = 0x2
-       PTRACE_ATTACH                    = 0x10
-       PTRACE_CONT                      = 0x7
-       PTRACE_DETACH                    = 0x11
-       PTRACE_EVENT_CLONE               = 0x3
-       PTRACE_EVENT_EXEC                = 0x4
-       PTRACE_EVENT_EXIT                = 0x6
-       PTRACE_EVENT_FORK                = 0x1
-       PTRACE_EVENT_SECCOMP             = 0x7
-       PTRACE_EVENT_STOP                = 0x80
-       PTRACE_EVENT_VFORK               = 0x2
-       PTRACE_EVENT_VFORK_DONE          = 0x5
-       PTRACE_GETEVENTMSG               = 0x4201
-       PTRACE_GETFPREGS                 = 0xe
-       PTRACE_GETREGS                   = 0xc
-       PTRACE_GETREGSET                 = 0x4204
-       PTRACE_GETSIGINFO                = 0x4202
-       PTRACE_GETSIGMASK                = 0x420a
-       PTRACE_GET_THREAD_AREA           = 0x19
-       PTRACE_GET_THREAD_AREA_3264      = 0xc4
-       PTRACE_GET_WATCH_REGS            = 0xd0
-       PTRACE_INTERRUPT                 = 0x4207
-       PTRACE_KILL                      = 0x8
-       PTRACE_LISTEN                    = 0x4208
-       PTRACE_OLDSETOPTIONS             = 0x15
-       PTRACE_O_EXITKILL                = 0x100000
-       PTRACE_O_MASK                    = 0x3000ff
-       PTRACE_O_SUSPEND_SECCOMP         = 0x200000
-       PTRACE_O_TRACECLONE              = 0x8
-       PTRACE_O_TRACEEXEC               = 0x10
-       PTRACE_O_TRACEEXIT               = 0x40
-       PTRACE_O_TRACEFORK               = 0x2
-       PTRACE_O_TRACESECCOMP            = 0x80
-       PTRACE_O_TRACESYSGOOD            = 0x1
-       PTRACE_O_TRACEVFORK              = 0x4
-       PTRACE_O_TRACEVFORKDONE          = 0x20
-       PTRACE_PEEKDATA                  = 0x2
-       PTRACE_PEEKDATA_3264             = 0xc1
-       PTRACE_PEEKSIGINFO               = 0x4209
-       PTRACE_PEEKSIGINFO_SHARED        = 0x1
-       PTRACE_PEEKTEXT                  = 0x1
-       PTRACE_PEEKTEXT_3264             = 0xc0
-       PTRACE_PEEKUSR                   = 0x3
-       PTRACE_POKEDATA                  = 0x5
-       PTRACE_POKEDATA_3264             = 0xc3
-       PTRACE_POKETEXT                  = 0x4
-       PTRACE_POKETEXT_3264             = 0xc2
-       PTRACE_POKEUSR                   = 0x6
-       PTRACE_SECCOMP_GET_FILTER        = 0x420c
-       PTRACE_SEIZE                     = 0x4206
-       PTRACE_SETFPREGS                 = 0xf
-       PTRACE_SETOPTIONS                = 0x4200
-       PTRACE_SETREGS                   = 0xd
-       PTRACE_SETREGSET                 = 0x4205
-       PTRACE_SETSIGINFO                = 0x4203
-       PTRACE_SETSIGMASK                = 0x420b
-       PTRACE_SET_THREAD_AREA           = 0x1a
-       PTRACE_SET_WATCH_REGS            = 0xd1
-       PTRACE_SINGLESTEP                = 0x9
-       PTRACE_SYSCALL                   = 0x18
-       PTRACE_TRACEME                   = 0x0
-       RLIMIT_AS                        = 0x6
-       RLIMIT_CORE                      = 0x4
-       RLIMIT_CPU                       = 0x0
-       RLIMIT_DATA                      = 0x2
-       RLIMIT_FSIZE                     = 0x1
-       RLIMIT_NOFILE                    = 0x5
-       RLIMIT_STACK                     = 0x3
-       RLIM_INFINITY                    = -0x1
-       RTAX_ADVMSS                      = 0x8
-       RTAX_CC_ALGO                     = 0x10
-       RTAX_CWND                        = 0x7
-       RTAX_FEATURES                    = 0xc
-       RTAX_FEATURE_ALLFRAG             = 0x8
-       RTAX_FEATURE_ECN                 = 0x1
-       RTAX_FEATURE_MASK                = 0xf
-       RTAX_FEATURE_SACK                = 0x2
-       RTAX_FEATURE_TIMESTAMP           = 0x4
-       RTAX_HOPLIMIT                    = 0xa
-       RTAX_INITCWND                    = 0xb
-       RTAX_INITRWND                    = 0xe
-       RTAX_LOCK                        = 0x1
-       RTAX_MAX                         = 0x10
-       RTAX_MTU                         = 0x2
-       RTAX_QUICKACK                    = 0xf
-       RTAX_REORDERING                  = 0x9
-       RTAX_RTO_MIN                     = 0xd
-       RTAX_RTT                         = 0x4
-       RTAX_RTTVAR                      = 0x5
-       RTAX_SSTHRESH                    = 0x6
-       RTAX_UNSPEC                      = 0x0
-       RTAX_WINDOW                      = 0x3
-       RTA_ALIGNTO                      = 0x4
-       RTA_MAX                          = 0x19
-       RTCF_DIRECTSRC                   = 0x4000000
-       RTCF_DOREDIRECT                  = 0x1000000
-       RTCF_LOG                         = 0x2000000
-       RTCF_MASQ                        = 0x400000
-       RTCF_NAT                         = 0x800000
-       RTCF_VALVE                       = 0x200000
-       RTF_ADDRCLASSMASK                = 0xf8000000
-       RTF_ADDRCONF                     = 0x40000
-       RTF_ALLONLINK                    = 0x20000
-       RTF_BROADCAST                    = 0x10000000
-       RTF_CACHE                        = 0x1000000
-       RTF_DEFAULT                      = 0x10000
-       RTF_DYNAMIC                      = 0x10
-       RTF_FLOW                         = 0x2000000
-       RTF_GATEWAY                      = 0x2
-       RTF_HOST                         = 0x4
-       RTF_INTERFACE                    = 0x40000000
-       RTF_IRTT                         = 0x100
-       RTF_LINKRT                       = 0x100000
-       RTF_LOCAL                        = 0x80000000
-       RTF_MODIFIED                     = 0x20
-       RTF_MSS                          = 0x40
-       RTF_MTU                          = 0x40
-       RTF_MULTICAST                    = 0x20000000
-       RTF_NAT                          = 0x8000000
-       RTF_NOFORWARD                    = 0x1000
-       RTF_NONEXTHOP                    = 0x200000
-       RTF_NOPMTUDISC                   = 0x4000
-       RTF_POLICY                       = 0x4000000
-       RTF_REINSTATE                    = 0x8
-       RTF_REJECT                       = 0x200
-       RTF_STATIC                       = 0x400
-       RTF_THROW                        = 0x2000
-       RTF_UP                           = 0x1
-       RTF_WINDOW                       = 0x80
-       RTF_XRESOLVE                     = 0x800
-       RTM_BASE                         = 0x10
-       RTM_DELACTION                    = 0x31
-       RTM_DELADDR                      = 0x15
-       RTM_DELADDRLABEL                 = 0x49
-       RTM_DELLINK                      = 0x11
-       RTM_DELMDB                       = 0x55
-       RTM_DELNEIGH                     = 0x1d
-       RTM_DELNSID                      = 0x59
-       RTM_DELQDISC                     = 0x25
-       RTM_DELROUTE                     = 0x19
-       RTM_DELRULE                      = 0x21
-       RTM_DELTCLASS                    = 0x29
-       RTM_DELTFILTER                   = 0x2d
-       RTM_F_CLONED                     = 0x200
-       RTM_F_EQUALIZE                   = 0x400
-       RTM_F_LOOKUP_TABLE               = 0x1000
-       RTM_F_NOTIFY                     = 0x100
-       RTM_F_PREFIX                     = 0x800
-       RTM_GETACTION                    = 0x32
-       RTM_GETADDR                      = 0x16
-       RTM_GETADDRLABEL                 = 0x4a
-       RTM_GETANYCAST                   = 0x3e
-       RTM_GETDCB                       = 0x4e
-       RTM_GETLINK                      = 0x12
-       RTM_GETMDB                       = 0x56
-       RTM_GETMULTICAST                 = 0x3a
-       RTM_GETNEIGH                     = 0x1e
-       RTM_GETNEIGHTBL                  = 0x42
-       RTM_GETNETCONF                   = 0x52
-       RTM_GETNSID                      = 0x5a
-       RTM_GETQDISC                     = 0x26
-       RTM_GETROUTE                     = 0x1a
-       RTM_GETRULE                      = 0x22
-       RTM_GETSTATS                     = 0x5e
-       RTM_GETTCLASS                    = 0x2a
-       RTM_GETTFILTER                   = 0x2e
-       RTM_MAX                          = 0x5f
-       RTM_NEWACTION                    = 0x30
-       RTM_NEWADDR                      = 0x14
-       RTM_NEWADDRLABEL                 = 0x48
-       RTM_NEWLINK                      = 0x10
-       RTM_NEWMDB                       = 0x54
-       RTM_NEWNDUSEROPT                 = 0x44
-       RTM_NEWNEIGH                     = 0x1c
-       RTM_NEWNEIGHTBL                  = 0x40
-       RTM_NEWNETCONF                   = 0x50
-       RTM_NEWNSID                      = 0x58
-       RTM_NEWPREFIX                    = 0x34
-       RTM_NEWQDISC                     = 0x24
-       RTM_NEWROUTE                     = 0x18
-       RTM_NEWRULE                      = 0x20
-       RTM_NEWSTATS                     = 0x5c
-       RTM_NEWTCLASS                    = 0x28
-       RTM_NEWTFILTER                   = 0x2c
-       RTM_NR_FAMILIES                  = 0x14
-       RTM_NR_MSGTYPES                  = 0x50
-       RTM_SETDCB                       = 0x4f
-       RTM_SETLINK                      = 0x13
-       RTM_SETNEIGHTBL                  = 0x43
-       RTNH_ALIGNTO                     = 0x4
-       RTNH_COMPARE_MASK                = 0x19
-       RTNH_F_DEAD                      = 0x1
-       RTNH_F_LINKDOWN                  = 0x10
-       RTNH_F_OFFLOAD                   = 0x8
-       RTNH_F_ONLINK                    = 0x4
-       RTNH_F_PERVASIVE                 = 0x2
-       RTN_MAX                          = 0xb
-       RTPROT_BABEL                     = 0x2a
-       RTPROT_BIRD                      = 0xc
-       RTPROT_BOOT                      = 0x3
-       RTPROT_DHCP                      = 0x10
-       RTPROT_DNROUTED                  = 0xd
-       RTPROT_GATED                     = 0x8
-       RTPROT_KERNEL                    = 0x2
-       RTPROT_MROUTED                   = 0x11
-       RTPROT_MRT                       = 0xa
-       RTPROT_NTK                       = 0xf
-       RTPROT_RA                        = 0x9
-       RTPROT_REDIRECT                  = 0x1
-       RTPROT_STATIC                    = 0x4
-       RTPROT_UNSPEC                    = 0x0
-       RTPROT_XORP                      = 0xe
-       RTPROT_ZEBRA                     = 0xb
-       RT_CLASS_DEFAULT                 = 0xfd
-       RT_CLASS_LOCAL                   = 0xff
-       RT_CLASS_MAIN                    = 0xfe
-       RT_CLASS_MAX                     = 0xff
-       RT_CLASS_UNSPEC                  = 0x0
-       RUSAGE_CHILDREN                  = -0x1
-       RUSAGE_SELF                      = 0x0
-       RUSAGE_THREAD                    = 0x1
-       SCM_CREDENTIALS                  = 0x2
-       SCM_RIGHTS                       = 0x1
-       SCM_TIMESTAMP                    = 0x1d
-       SCM_TIMESTAMPING                 = 0x25
-       SCM_TIMESTAMPING_OPT_STATS       = 0x36
-       SCM_TIMESTAMPNS                  = 0x23
-       SCM_WIFI_STATUS                  = 0x29
-       SHUT_RD                          = 0x0
-       SHUT_RDWR                        = 0x2
-       SHUT_WR                          = 0x1
-       SIOCADDDLCI                      = 0x8980
-       SIOCADDMULTI                     = 0x8931
-       SIOCADDRT                        = 0x890b
-       SIOCATMARK                       = 0x40047307
-       SIOCDARP                         = 0x8953
-       SIOCDELDLCI                      = 0x8981
-       SIOCDELMULTI                     = 0x8932
-       SIOCDELRT                        = 0x890c
-       SIOCDEVPRIVATE                   = 0x89f0
-       SIOCDIFADDR                      = 0x8936
-       SIOCDRARP                        = 0x8960
-       SIOCGARP                         = 0x8954
-       SIOCGIFADDR                      = 0x8915
-       SIOCGIFBR                        = 0x8940
-       SIOCGIFBRDADDR                   = 0x8919
-       SIOCGIFCONF                      = 0x8912
-       SIOCGIFCOUNT                     = 0x8938
-       SIOCGIFDSTADDR                   = 0x8917
-       SIOCGIFENCAP                     = 0x8925
-       SIOCGIFFLAGS                     = 0x8913
-       SIOCGIFHWADDR                    = 0x8927
-       SIOCGIFINDEX                     = 0x8933
-       SIOCGIFMAP                       = 0x8970
-       SIOCGIFMEM                       = 0x891f
-       SIOCGIFMETRIC                    = 0x891d
-       SIOCGIFMTU                       = 0x8921
-       SIOCGIFNAME                      = 0x8910
-       SIOCGIFNETMASK                   = 0x891b
-       SIOCGIFPFLAGS                    = 0x8935
-       SIOCGIFSLAVE                     = 0x8929
-       SIOCGIFTXQLEN                    = 0x8942
-       SIOCGPGRP                        = 0x40047309
-       SIOCGRARP                        = 0x8961
-       SIOCGSTAMP                       = 0x8906
-       SIOCGSTAMPNS                     = 0x8907
-       SIOCPROTOPRIVATE                 = 0x89e0
-       SIOCRTMSG                        = 0x890d
-       SIOCSARP                         = 0x8955
-       SIOCSIFADDR                      = 0x8916
-       SIOCSIFBR                        = 0x8941
-       SIOCSIFBRDADDR                   = 0x891a
-       SIOCSIFDSTADDR                   = 0x8918
-       SIOCSIFENCAP                     = 0x8926
-       SIOCSIFFLAGS                     = 0x8914
-       SIOCSIFHWADDR                    = 0x8924
-       SIOCSIFHWBROADCAST               = 0x8937
-       SIOCSIFLINK                      = 0x8911
-       SIOCSIFMAP                       = 0x8971
-       SIOCSIFMEM                       = 0x8920
-       SIOCSIFMETRIC                    = 0x891e
-       SIOCSIFMTU                       = 0x8922
-       SIOCSIFNAME                      = 0x8923
-       SIOCSIFNETMASK                   = 0x891c
-       SIOCSIFPFLAGS                    = 0x8934
-       SIOCSIFSLAVE                     = 0x8930
-       SIOCSIFTXQLEN                    = 0x8943
-       SIOCSPGRP                        = 0x80047308
-       SIOCSRARP                        = 0x8962
-       SOCK_CLOEXEC                     = 0x80000
-       SOCK_DCCP                        = 0x6
-       SOCK_DGRAM                       = 0x1
-       SOCK_NONBLOCK                    = 0x80
-       SOCK_PACKET                      = 0xa
-       SOCK_RAW                         = 0x3
-       SOCK_RDM                         = 0x4
-       SOCK_SEQPACKET                   = 0x5
-       SOCK_STREAM                      = 0x2
-       SOL_AAL                          = 0x109
-       SOL_ALG                          = 0x117
-       SOL_ATM                          = 0x108
-       SOL_CAIF                         = 0x116
-       SOL_CAN_BASE                     = 0x64
-       SOL_DCCP                         = 0x10d
-       SOL_DECNET                       = 0x105
-       SOL_ICMPV6                       = 0x3a
-       SOL_IP                           = 0x0
-       SOL_IPV6                         = 0x29
-       SOL_IRDA                         = 0x10a
-       SOL_IUCV                         = 0x115
-       SOL_KCM                          = 0x119
-       SOL_LLC                          = 0x10c
-       SOL_NETBEUI                      = 0x10b
-       SOL_NETLINK                      = 0x10e
-       SOL_NFC                          = 0x118
-       SOL_PACKET                       = 0x107
-       SOL_PNPIPE                       = 0x113
-       SOL_PPPOL2TP                     = 0x111
-       SOL_RAW                          = 0xff
-       SOL_RDS                          = 0x114
-       SOL_RXRPC                        = 0x110
-       SOL_SOCKET                       = 0xffff
-       SOL_TCP                          = 0x6
-       SOL_TIPC                         = 0x10f
-       SOL_X25                          = 0x106
-       SOMAXCONN                        = 0x80
-       SO_ACCEPTCONN                    = 0x1009
-       SO_ATTACH_BPF                    = 0x32
-       SO_ATTACH_FILTER                 = 0x1a
-       SO_ATTACH_REUSEPORT_CBPF         = 0x33
-       SO_ATTACH_REUSEPORT_EBPF         = 0x34
-       SO_BINDTODEVICE                  = 0x19
-       SO_BPF_EXTENSIONS                = 0x30
-       SO_BROADCAST                     = 0x20
-       SO_BSDCOMPAT                     = 0xe
-       SO_BUSY_POLL                     = 0x2e
-       SO_CNX_ADVICE                    = 0x35
-       SO_DEBUG                         = 0x1
-       SO_DETACH_BPF                    = 0x1b
-       SO_DETACH_FILTER                 = 0x1b
-       SO_DOMAIN                        = 0x1029
-       SO_DONTROUTE                     = 0x10
-       SO_ERROR                         = 0x1007
-       SO_GET_FILTER                    = 0x1a
-       SO_INCOMING_CPU                  = 0x31
-       SO_KEEPALIVE                     = 0x8
-       SO_LINGER                        = 0x80
-       SO_LOCK_FILTER                   = 0x2c
-       SO_MARK                          = 0x24
-       SO_MAX_PACING_RATE               = 0x2f
-       SO_NOFCS                         = 0x2b
-       SO_NO_CHECK                      = 0xb
-       SO_OOBINLINE                     = 0x100
-       SO_PASSCRED                      = 0x11
-       SO_PASSSEC                       = 0x22
-       SO_PEEK_OFF                      = 0x2a
-       SO_PEERCRED                      = 0x12
-       SO_PEERNAME                      = 0x1c
-       SO_PEERSEC                       = 0x1e
-       SO_PRIORITY                      = 0xc
-       SO_PROTOCOL                      = 0x1028
-       SO_RCVBUF                        = 0x1002
-       SO_RCVBUFFORCE                   = 0x21
-       SO_RCVLOWAT                      = 0x1004
-       SO_RCVTIMEO                      = 0x1006
-       SO_REUSEADDR                     = 0x4
-       SO_REUSEPORT                     = 0x200
-       SO_RXQ_OVFL                      = 0x28
-       SO_SECURITY_AUTHENTICATION       = 0x16
-       SO_SECURITY_ENCRYPTION_NETWORK   = 0x18
-       SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-       SO_SELECT_ERR_QUEUE              = 0x2d
-       SO_SNDBUF                        = 0x1001
-       SO_SNDBUFFORCE                   = 0x1f
-       SO_SNDLOWAT                      = 0x1003
-       SO_SNDTIMEO                      = 0x1005
-       SO_STYLE                         = 0x1008
-       SO_TIMESTAMP                     = 0x1d
-       SO_TIMESTAMPING                  = 0x25
-       SO_TIMESTAMPNS                   = 0x23
-       SO_TYPE                          = 0x1008
-       SO_VM_SOCKETS_BUFFER_MAX_SIZE    = 0x2
-       SO_VM_SOCKETS_BUFFER_MIN_SIZE    = 0x1
-       SO_VM_SOCKETS_BUFFER_SIZE        = 0x0
-       SO_VM_SOCKETS_CONNECT_TIMEOUT    = 0x6
-       SO_VM_SOCKETS_NONBLOCK_TXRX      = 0x7
-       SO_VM_SOCKETS_PEER_HOST_VM_ID    = 0x3
-       SO_VM_SOCKETS_TRUSTED            = 0x5
-       SO_WIFI_STATUS                   = 0x29
-       SPLICE_F_GIFT                    = 0x8
-       SPLICE_F_MORE                    = 0x4
-       SPLICE_F_MOVE                    = 0x1
-       SPLICE_F_NONBLOCK                = 0x2
-       S_BLKSIZE                        = 0x200
-       S_IEXEC                          = 0x40
-       S_IFBLK                          = 0x6000
-       S_IFCHR                          = 0x2000
-       S_IFDIR                          = 0x4000
-       S_IFIFO                          = 0x1000
-       S_IFLNK                          = 0xa000
-       S_IFMT                           = 0xf000
-       S_IFREG                          = 0x8000
-       S_IFSOCK                         = 0xc000
-       S_IREAD                          = 0x100
-       S_IRGRP                          = 0x20
-       S_IROTH                          = 0x4
-       S_IRUSR                          = 0x100
-       S_IRWXG                          = 0x38
-       S_IRWXO                          = 0x7
-       S_IRWXU                          = 0x1c0
-       S_ISGID                          = 0x400
-       S_ISUID                          = 0x800
-       S_ISVTX                          = 0x200
-       S_IWGRP                          = 0x10
-       S_IWOTH                          = 0x2
-       S_IWRITE                         = 0x80
-       S_IWUSR                          = 0x80
-       S_IXGRP                          = 0x8
-       S_IXOTH                          = 0x1
-       S_IXUSR                          = 0x40
-       TAB0                             = 0x0
-       TAB1                             = 0x800
-       TAB2                             = 0x1000
-       TAB3                             = 0x1800
-       TABDLY                           = 0x1800
-       TCFLSH                           = 0x5407
-       TCGETA                           = 0x5401
-       TCGETS                           = 0x540d
-       TCGETS2                          = 0x4030542a
-       TCIFLUSH                         = 0x0
-       TCIOFF                           = 0x2
-       TCIOFLUSH                        = 0x2
-       TCION                            = 0x3
-       TCOFLUSH                         = 0x1
-       TCOOFF                           = 0x0
-       TCOON                            = 0x1
-       TCP_CC_INFO                      = 0x1a
-       TCP_CONGESTION                   = 0xd
-       TCP_COOKIE_IN_ALWAYS             = 0x1
-       TCP_COOKIE_MAX                   = 0x10
-       TCP_COOKIE_MIN                   = 0x8
-       TCP_COOKIE_OUT_NEVER             = 0x2
-       TCP_COOKIE_PAIR_SIZE             = 0x20
-       TCP_COOKIE_TRANSACTIONS          = 0xf
-       TCP_CORK                         = 0x3
-       TCP_DEFER_ACCEPT                 = 0x9
-       TCP_FASTOPEN                     = 0x17
-       TCP_INFO                         = 0xb
-       TCP_KEEPCNT                      = 0x6
-       TCP_KEEPIDLE                     = 0x4
-       TCP_KEEPINTVL                    = 0x5
-       TCP_LINGER2                      = 0x8
-       TCP_MAXSEG                       = 0x2
-       TCP_MAXWIN                       = 0xffff
-       TCP_MAX_WINSHIFT                 = 0xe
-       TCP_MD5SIG                       = 0xe
-       TCP_MD5SIG_MAXKEYLEN             = 0x50
-       TCP_MSS                          = 0x200
-       TCP_MSS_DEFAULT                  = 0x218
-       TCP_MSS_DESIRED                  = 0x4c4
-       TCP_NODELAY                      = 0x1
-       TCP_NOTSENT_LOWAT                = 0x19
-       TCP_QUEUE_SEQ                    = 0x15
-       TCP_QUICKACK                     = 0xc
-       TCP_REPAIR                       = 0x13
-       TCP_REPAIR_OPTIONS               = 0x16
-       TCP_REPAIR_QUEUE                 = 0x14
-       TCP_REPAIR_WINDOW                = 0x1d
-       TCP_SAVED_SYN                    = 0x1c
-       TCP_SAVE_SYN                     = 0x1b
-       TCP_SYNCNT                       = 0x7
-       TCP_S_DATA_IN                    = 0x4
-       TCP_S_DATA_OUT                   = 0x8
-       TCP_THIN_DUPACK                  = 0x11
-       TCP_THIN_LINEAR_TIMEOUTS         = 0x10
-       TCP_TIMESTAMP                    = 0x18
-       TCP_USER_TIMEOUT                 = 0x12
-       TCP_WINDOW_CLAMP                 = 0xa
-       TCSAFLUSH                        = 0x5410
-       TCSBRK                           = 0x5405
-       TCSBRKP                          = 0x5486
-       TCSETA                           = 0x5402
-       TCSETAF                          = 0x5404
-       TCSETAW                          = 0x5403
-       TCSETS                           = 0x540e
-       TCSETS2                          = 0x8030542b
-       TCSETSF                          = 0x5410
-       TCSETSF2                         = 0x8030542d
-       TCSETSW                          = 0x540f
-       TCSETSW2                         = 0x8030542c
-       TCXONC                           = 0x5406
-       TIOCCBRK                         = 0x5428
-       TIOCCONS                         = 0x80047478
-       TIOCEXCL                         = 0x740d
-       TIOCGDEV                         = 0x40045432
-       TIOCGETD                         = 0x7400
-       TIOCGETP                         = 0x7408
-       TIOCGEXCL                        = 0x40045440
-       TIOCGICOUNT                      = 0x5492
-       TIOCGLCKTRMIOS                   = 0x548b
-       TIOCGLTC                         = 0x7474
-       TIOCGPGRP                        = 0x40047477
-       TIOCGPKT                         = 0x40045438
-       TIOCGPTLCK                       = 0x40045439
-       TIOCGPTN                         = 0x40045430
-       TIOCGRS485                       = 0x4020542e
-       TIOCGSERIAL                      = 0x5484
-       TIOCGSID                         = 0x7416
-       TIOCGSOFTCAR                     = 0x5481
-       TIOCGWINSZ                       = 0x40087468
-       TIOCINQ                          = 0x467f
-       TIOCLINUX                        = 0x5483
-       TIOCMBIC                         = 0x741c
-       TIOCMBIS                         = 0x741b
-       TIOCMGET                         = 0x741d
-       TIOCMIWAIT                       = 0x5491
-       TIOCMSET                         = 0x741a
-       TIOCM_CAR                        = 0x100
-       TIOCM_CD                         = 0x100
-       TIOCM_CTS                        = 0x40
-       TIOCM_DSR                        = 0x400
-       TIOCM_DTR                        = 0x2
-       TIOCM_LE                         = 0x1
-       TIOCM_RI                         = 0x200
-       TIOCM_RNG                        = 0x200
-       TIOCM_RTS                        = 0x4
-       TIOCM_SR                         = 0x20
-       TIOCM_ST                         = 0x10
-       TIOCNOTTY                        = 0x5471
-       TIOCNXCL                         = 0x740e
-       TIOCOUTQ                         = 0x7472
-       TIOCPKT                          = 0x5470
-       TIOCPKT_DATA                     = 0x0
-       TIOCPKT_DOSTOP                   = 0x20
-       TIOCPKT_FLUSHREAD                = 0x1
-       TIOCPKT_FLUSHWRITE               = 0x2
-       TIOCPKT_IOCTL                    = 0x40
-       TIOCPKT_NOSTOP                   = 0x10
-       TIOCPKT_START                    = 0x8
-       TIOCPKT_STOP                     = 0x4
-       TIOCSBRK                         = 0x5427
-       TIOCSCTTY                        = 0x5480
-       TIOCSERCONFIG                    = 0x5488
-       TIOCSERGETLSR                    = 0x548e
-       TIOCSERGETMULTI                  = 0x548f
-       TIOCSERGSTRUCT                   = 0x548d
-       TIOCSERGWILD                     = 0x5489
-       TIOCSERSETMULTI                  = 0x5490
-       TIOCSERSWILD                     = 0x548a
-       TIOCSER_TEMT                     = 0x1
-       TIOCSETD                         = 0x7401
-       TIOCSETN                         = 0x740a
-       TIOCSETP                         = 0x7409
-       TIOCSIG                          = 0x80045436
-       TIOCSLCKTRMIOS                   = 0x548c
-       TIOCSLTC                         = 0x7475
-       TIOCSPGRP                        = 0x80047476
-       TIOCSPTLCK                       = 0x80045431
-       TIOCSRS485                       = 0xc020542f
-       TIOCSSERIAL                      = 0x5485
-       TIOCSSOFTCAR                     = 0x5482
-       TIOCSTI                          = 0x5472
-       TIOCSWINSZ                       = 0x80087467
-       TIOCVHANGUP                      = 0x5437
-       TOSTOP                           = 0x8000
-       TUNATTACHFILTER                  = 0x801054d5
-       TUNDETACHFILTER                  = 0x801054d6
-       TUNGETFEATURES                   = 0x400454cf
-       TUNGETFILTER                     = 0x401054db
-       TUNGETIFF                        = 0x400454d2
-       TUNGETSNDBUF                     = 0x400454d3
-       TUNGETVNETBE                     = 0x400454df
-       TUNGETVNETHDRSZ                  = 0x400454d7
-       TUNGETVNETLE                     = 0x400454dd
-       TUNSETDEBUG                      = 0x800454c9
-       TUNSETGROUP                      = 0x800454ce
-       TUNSETIFF                        = 0x800454ca
-       TUNSETIFINDEX                    = 0x800454da
-       TUNSETLINK                       = 0x800454cd
-       TUNSETNOCSUM                     = 0x800454c8
-       TUNSETOFFLOAD                    = 0x800454d0
-       TUNSETOWNER                      = 0x800454cc
-       TUNSETPERSIST                    = 0x800454cb
-       TUNSETQUEUE                      = 0x800454d9
-       TUNSETSNDBUF                     = 0x800454d4
-       TUNSETTXFILTER                   = 0x800454d1
-       TUNSETVNETBE                     = 0x800454de
-       TUNSETVNETHDRSZ                  = 0x800454d8
-       TUNSETVNETLE                     = 0x800454dc
-       VDISCARD                         = 0xd
-       VEOF                             = 0x10
-       VEOL                             = 0x11
-       VEOL2                            = 0x6
-       VERASE                           = 0x2
-       VINTR                            = 0x0
-       VKILL                            = 0x3
-       VLNEXT                           = 0xf
-       VMADDR_CID_ANY                   = 0xffffffff
-       VMADDR_CID_HOST                  = 0x2
-       VMADDR_CID_HYPERVISOR            = 0x0
-       VMADDR_CID_RESERVED              = 0x1
-       VMADDR_PORT_ANY                  = 0xffffffff
-       VMIN                             = 0x4
-       VM_SOCKETS_INVALID_VERSION       = 0xffffffff
-       VQUIT                            = 0x1
-       VREPRINT                         = 0xc
-       VSTART                           = 0x8
-       VSTOP                            = 0x9
-       VSUSP                            = 0xa
-       VSWTC                            = 0x7
-       VSWTCH                           = 0x7
-       VT0                              = 0x0
-       VT1                              = 0x4000
-       VTDLY                            = 0x4000
-       VTIME                            = 0x5
-       VWERASE                          = 0xe
-       WALL                             = 0x40000000
-       WCLONE                           = 0x80000000
-       WCONTINUED                       = 0x8
-       WEXITED                          = 0x4
-       WNOHANG                          = 0x1
-       WNOTHREAD                        = 0x20000000
-       WNOWAIT                          = 0x1000000
-       WORDSIZE                         = 0x40
-       WSTOPPED                         = 0x2
-       WUNTRACED                        = 0x2
-       XCASE                            = 0x4
-       XTABS                            = 0x1800
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x7d)
-       EADDRNOTAVAIL   = syscall.Errno(0x7e)
-       EADV            = syscall.Errno(0x44)
-       EAFNOSUPPORT    = syscall.Errno(0x7c)
-       EAGAIN          = syscall.Errno(0xb)
-       EALREADY        = syscall.Errno(0x95)
-       EBADE           = syscall.Errno(0x32)
-       EBADF           = syscall.Errno(0x9)
-       EBADFD          = syscall.Errno(0x51)
-       EBADMSG         = syscall.Errno(0x4d)
-       EBADR           = syscall.Errno(0x33)
-       EBADRQC         = syscall.Errno(0x36)
-       EBADSLT         = syscall.Errno(0x37)
-       EBFONT          = syscall.Errno(0x3b)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x9e)
-       ECHILD          = syscall.Errno(0xa)
-       ECHRNG          = syscall.Errno(0x25)
-       ECOMM           = syscall.Errno(0x46)
-       ECONNABORTED    = syscall.Errno(0x82)
-       ECONNREFUSED    = syscall.Errno(0x92)
-       ECONNRESET      = syscall.Errno(0x83)
-       EDEADLK         = syscall.Errno(0x2d)
-       EDEADLOCK       = syscall.Errno(0x38)
-       EDESTADDRREQ    = syscall.Errno(0x60)
-       EDOM            = syscall.Errno(0x21)
-       EDOTDOT         = syscall.Errno(0x49)
-       EDQUOT          = syscall.Errno(0x46d)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EHOSTDOWN       = syscall.Errno(0x93)
-       EHOSTUNREACH    = syscall.Errno(0x94)
-       EHWPOISON       = syscall.Errno(0xa8)
-       EIDRM           = syscall.Errno(0x24)
-       EILSEQ          = syscall.Errno(0x58)
-       EINIT           = syscall.Errno(0x8d)
-       EINPROGRESS     = syscall.Errno(0x96)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x85)
-       EISDIR          = syscall.Errno(0x15)
-       EISNAM          = syscall.Errno(0x8b)
-       EKEYEXPIRED     = syscall.Errno(0xa2)
-       EKEYREJECTED    = syscall.Errno(0xa4)
-       EKEYREVOKED     = syscall.Errno(0xa3)
-       EL2HLT          = syscall.Errno(0x2c)
-       EL2NSYNC        = syscall.Errno(0x26)
-       EL3HLT          = syscall.Errno(0x27)
-       EL3RST          = syscall.Errno(0x28)
-       ELIBACC         = syscall.Errno(0x53)
-       ELIBBAD         = syscall.Errno(0x54)
-       ELIBEXEC        = syscall.Errno(0x57)
-       ELIBMAX         = syscall.Errno(0x56)
-       ELIBSCN         = syscall.Errno(0x55)
-       ELNRNG          = syscall.Errno(0x29)
-       ELOOP           = syscall.Errno(0x5a)
-       EMEDIUMTYPE     = syscall.Errno(0xa0)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x61)
-       EMULTIHOP       = syscall.Errno(0x4a)
-       ENAMETOOLONG    = syscall.Errno(0x4e)
-       ENAVAIL         = syscall.Errno(0x8a)
-       ENETDOWN        = syscall.Errno(0x7f)
-       ENETRESET       = syscall.Errno(0x81)
-       ENETUNREACH     = syscall.Errno(0x80)
-       ENFILE          = syscall.Errno(0x17)
-       ENOANO          = syscall.Errno(0x35)
-       ENOBUFS         = syscall.Errno(0x84)
-       ENOCSI          = syscall.Errno(0x2b)
-       ENODATA         = syscall.Errno(0x3d)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOKEY          = syscall.Errno(0xa1)
-       ENOLCK          = syscall.Errno(0x2e)
-       ENOLINK         = syscall.Errno(0x43)
-       ENOMEDIUM       = syscall.Errno(0x9f)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x23)
-       ENONET          = syscall.Errno(0x40)
-       ENOPKG          = syscall.Errno(0x41)
-       ENOPROTOOPT     = syscall.Errno(0x63)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x3f)
-       ENOSTR          = syscall.Errno(0x3c)
-       ENOSYS          = syscall.Errno(0x59)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x86)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x5d)
-       ENOTNAM         = syscall.Errno(0x89)
-       ENOTRECOVERABLE = syscall.Errno(0xa6)
-       ENOTSOCK        = syscall.Errno(0x5f)
-       ENOTSUP         = syscall.Errno(0x7a)
-       ENOTTY          = syscall.Errno(0x19)
-       ENOTUNIQ        = syscall.Errno(0x50)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x7a)
-       EOVERFLOW       = syscall.Errno(0x4f)
-       EOWNERDEAD      = syscall.Errno(0xa5)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x7b)
-       EPIPE           = syscall.Errno(0x20)
-       EPROTO          = syscall.Errno(0x47)
-       EPROTONOSUPPORT = syscall.Errno(0x78)
-       EPROTOTYPE      = syscall.Errno(0x62)
-       ERANGE          = syscall.Errno(0x22)
-       EREMCHG         = syscall.Errno(0x52)
-       EREMDEV         = syscall.Errno(0x8e)
-       EREMOTE         = syscall.Errno(0x42)
-       EREMOTEIO       = syscall.Errno(0x8c)
-       ERESTART        = syscall.Errno(0x5b)
-       ERFKILL         = syscall.Errno(0xa7)
-       EROFS           = syscall.Errno(0x1e)
-       ESHUTDOWN       = syscall.Errno(0x8f)
-       ESOCKTNOSUPPORT = syscall.Errno(0x79)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESRMNT          = syscall.Errno(0x45)
-       ESTALE          = syscall.Errno(0x97)
-       ESTRPIPE        = syscall.Errno(0x5c)
-       ETIME           = syscall.Errno(0x3e)
-       ETIMEDOUT       = syscall.Errno(0x91)
-       ETOOMANYREFS    = syscall.Errno(0x90)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUCLEAN         = syscall.Errno(0x87)
-       EUNATCH         = syscall.Errno(0x2a)
-       EUSERS          = syscall.Errno(0x5e)
-       EWOULDBLOCK     = syscall.Errno(0xb)
-       EXDEV           = syscall.Errno(0x12)
-       EXFULL          = syscall.Errno(0x34)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x12)
-       SIGCLD    = syscall.Signal(0x12)
-       SIGCONT   = syscall.Signal(0x19)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x16)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPOLL   = syscall.Signal(0x16)
-       SIGPROF   = syscall.Signal(0x1d)
-       SIGPWR    = syscall.Signal(0x13)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x17)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x18)
-       SIGTTIN   = syscall.Signal(0x1a)
-       SIGTTOU   = syscall.Signal(0x1b)
-       SIGURG    = syscall.Signal(0x15)
-       SIGUSR1   = syscall.Signal(0x10)
-       SIGUSR2   = syscall.Signal(0x11)
-       SIGVTALRM = syscall.Signal(0x1c)
-       SIGWINCH  = syscall.Signal(0x14)
-       SIGXCPU   = syscall.Signal(0x1e)
-       SIGXFSZ   = syscall.Signal(0x1f)
-)
-
-// Error table
-var errors = [...]string{
-       1:    "operation not permitted",
-       2:    "no such file or directory",
-       3:    "no such process",
-       4:    "interrupted system call",
-       5:    "input/output error",
-       6:    "no such device or address",
-       7:    "argument list too long",
-       8:    "exec format error",
-       9:    "bad file descriptor",
-       10:   "no child processes",
-       11:   "resource temporarily unavailable",
-       12:   "cannot allocate memory",
-       13:   "permission denied",
-       14:   "bad address",
-       15:   "block device required",
-       16:   "device or resource busy",
-       17:   "file exists",
-       18:   "invalid cross-device link",
-       19:   "no such device",
-       20:   "not a directory",
-       21:   "is a directory",
-       22:   "invalid argument",
-       23:   "too many open files in system",
-       24:   "too many open files",
-       25:   "inappropriate ioctl for device",
-       26:   "text file busy",
-       27:   "file too large",
-       28:   "no space left on device",
-       29:   "illegal seek",
-       30:   "read-only file system",
-       31:   "too many links",
-       32:   "broken pipe",
-       33:   "numerical argument out of domain",
-       34:   "numerical result out of range",
-       35:   "no message of desired type",
-       36:   "identifier removed",
-       37:   "channel number out of range",
-       38:   "level 2 not synchronized",
-       39:   "level 3 halted",
-       40:   "level 3 reset",
-       41:   "link number out of range",
-       42:   "protocol driver not attached",
-       43:   "no CSI structure available",
-       44:   "level 2 halted",
-       45:   "resource deadlock avoided",
-       46:   "no locks available",
-       50:   "invalid exchange",
-       51:   "invalid request descriptor",
-       52:   "exchange full",
-       53:   "no anode",
-       54:   "invalid request code",
-       55:   "invalid slot",
-       56:   "file locking deadlock error",
-       59:   "bad font file format",
-       60:   "device not a stream",
-       61:   "no data available",
-       62:   "timer expired",
-       63:   "out of streams resources",
-       64:   "machine is not on the network",
-       65:   "package not installed",
-       66:   "object is remote",
-       67:   "link has been severed",
-       68:   "advertise error",
-       69:   "srmount error",
-       70:   "communication error on send",
-       71:   "protocol error",
-       73:   "RFS specific error",
-       74:   "multihop attempted",
-       77:   "bad message",
-       78:   "file name too long",
-       79:   "value too large for defined data type",
-       80:   "name not unique on network",
-       81:   "file descriptor in bad state",
-       82:   "remote address changed",
-       83:   "can not access a needed shared library",
-       84:   "accessing a corrupted shared library",
-       85:   ".lib section in a.out corrupted",
-       86:   "attempting to link in too many shared libraries",
-       87:   "cannot exec a shared library directly",
-       88:   "invalid or incomplete multibyte or wide character",
-       89:   "function not implemented",
-       90:   "too many levels of symbolic links",
-       91:   "interrupted system call should be restarted",
-       92:   "streams pipe error",
-       93:   "directory not empty",
-       94:   "too many users",
-       95:   "socket operation on non-socket",
-       96:   "destination address required",
-       97:   "message too long",
-       98:   "protocol wrong type for socket",
-       99:   "protocol not available",
-       120:  "protocol not supported",
-       121:  "socket type not supported",
-       122:  "operation not supported",
-       123:  "protocol family not supported",
-       124:  "address family not supported by protocol",
-       125:  "address already in use",
-       126:  "cannot assign requested address",
-       127:  "network is down",
-       128:  "network is unreachable",
-       129:  "network dropped connection on reset",
-       130:  "software caused connection abort",
-       131:  "connection reset by peer",
-       132:  "no buffer space available",
-       133:  "transport endpoint is already connected",
-       134:  "transport endpoint is not connected",
-       135:  "structure needs cleaning",
-       137:  "not a XENIX named type file",
-       138:  "no XENIX semaphores available",
-       139:  "is a named type file",
-       140:  "remote I/O error",
-       141:  "unknown error 141",
-       142:  "unknown error 142",
-       143:  "cannot send after transport endpoint shutdown",
-       144:  "too many references: cannot splice",
-       145:  "connection timed out",
-       146:  "connection refused",
-       147:  "host is down",
-       148:  "no route to host",
-       149:  "operation already in progress",
-       150:  "operation now in progress",
-       151:  "stale file handle",
-       158:  "operation canceled",
-       159:  "no medium found",
-       160:  "wrong medium type",
-       161:  "required key not available",
-       162:  "key has expired",
-       163:  "key has been revoked",
-       164:  "key was rejected by service",
-       165:  "owner died",
-       166:  "state not recoverable",
-       167:  "operation not possible due to RF-kill",
-       168:  "memory page has hardware error",
-       1133: "disk quota exceeded",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/breakpoint trap",
-       6:  "aborted",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "user defined signal 1",
-       17: "user defined signal 2",
-       18: "child exited",
-       19: "power failure",
-       20: "window changed",
-       21: "urgent I/O condition",
-       22: "I/O possible",
-       23: "stopped (signal)",
-       24: "stopped",
-       25: "continued",
-       26: "stopped (tty input)",
-       27: "stopped (tty output)",
-       28: "virtual timer expired",
-       29: "profiling timer expired",
-       30: "CPU time limit exceeded",
-       31: "file size limit exceeded",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
deleted file mode 100644 (file)
index 3fa39fa..0000000
+++ /dev/null
@@ -1,2096 +0,0 @@
-// mkerrors.sh -Wall -Werror -static -I/tmp/include
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build mipsle,linux
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_ALG                           = 0x26
-       AF_APPLETALK                     = 0x5
-       AF_ASH                           = 0x12
-       AF_ATMPVC                        = 0x8
-       AF_ATMSVC                        = 0x14
-       AF_AX25                          = 0x3
-       AF_BLUETOOTH                     = 0x1f
-       AF_BRIDGE                        = 0x7
-       AF_CAIF                          = 0x25
-       AF_CAN                           = 0x1d
-       AF_DECnet                        = 0xc
-       AF_ECONET                        = 0x13
-       AF_FILE                          = 0x1
-       AF_IB                            = 0x1b
-       AF_IEEE802154                    = 0x24
-       AF_INET                          = 0x2
-       AF_INET6                         = 0xa
-       AF_IPX                           = 0x4
-       AF_IRDA                          = 0x17
-       AF_ISDN                          = 0x22
-       AF_IUCV                          = 0x20
-       AF_KCM                           = 0x29
-       AF_KEY                           = 0xf
-       AF_LLC                           = 0x1a
-       AF_LOCAL                         = 0x1
-       AF_MAX                           = 0x2b
-       AF_MPLS                          = 0x1c
-       AF_NETBEUI                       = 0xd
-       AF_NETLINK                       = 0x10
-       AF_NETROM                        = 0x6
-       AF_NFC                           = 0x27
-       AF_PACKET                        = 0x11
-       AF_PHONET                        = 0x23
-       AF_PPPOX                         = 0x18
-       AF_QIPCRTR                       = 0x2a
-       AF_RDS                           = 0x15
-       AF_ROSE                          = 0xb
-       AF_ROUTE                         = 0x10
-       AF_RXRPC                         = 0x21
-       AF_SECURITY                      = 0xe
-       AF_SNA                           = 0x16
-       AF_TIPC                          = 0x1e
-       AF_UNIX                          = 0x1
-       AF_UNSPEC                        = 0x0
-       AF_VSOCK                         = 0x28
-       AF_WANPIPE                       = 0x19
-       AF_X25                           = 0x9
-       ALG_OP_DECRYPT                   = 0x0
-       ALG_OP_ENCRYPT                   = 0x1
-       ALG_SET_AEAD_ASSOCLEN            = 0x4
-       ALG_SET_AEAD_AUTHSIZE            = 0x5
-       ALG_SET_IV                       = 0x2
-       ALG_SET_KEY                      = 0x1
-       ALG_SET_OP                       = 0x3
-       ARPHRD_6LOWPAN                   = 0x339
-       ARPHRD_ADAPT                     = 0x108
-       ARPHRD_APPLETLK                  = 0x8
-       ARPHRD_ARCNET                    = 0x7
-       ARPHRD_ASH                       = 0x30d
-       ARPHRD_ATM                       = 0x13
-       ARPHRD_AX25                      = 0x3
-       ARPHRD_BIF                       = 0x307
-       ARPHRD_CAIF                      = 0x336
-       ARPHRD_CAN                       = 0x118
-       ARPHRD_CHAOS                     = 0x5
-       ARPHRD_CISCO                     = 0x201
-       ARPHRD_CSLIP                     = 0x101
-       ARPHRD_CSLIP6                    = 0x103
-       ARPHRD_DDCMP                     = 0x205
-       ARPHRD_DLCI                      = 0xf
-       ARPHRD_ECONET                    = 0x30e
-       ARPHRD_EETHER                    = 0x2
-       ARPHRD_ETHER                     = 0x1
-       ARPHRD_EUI64                     = 0x1b
-       ARPHRD_FCAL                      = 0x311
-       ARPHRD_FCFABRIC                  = 0x313
-       ARPHRD_FCPL                      = 0x312
-       ARPHRD_FCPP                      = 0x310
-       ARPHRD_FDDI                      = 0x306
-       ARPHRD_FRAD                      = 0x302
-       ARPHRD_HDLC                      = 0x201
-       ARPHRD_HIPPI                     = 0x30c
-       ARPHRD_HWX25                     = 0x110
-       ARPHRD_IEEE1394                  = 0x18
-       ARPHRD_IEEE802                   = 0x6
-       ARPHRD_IEEE80211                 = 0x321
-       ARPHRD_IEEE80211_PRISM           = 0x322
-       ARPHRD_IEEE80211_RADIOTAP        = 0x323
-       ARPHRD_IEEE802154                = 0x324
-       ARPHRD_IEEE802154_MONITOR        = 0x325
-       ARPHRD_IEEE802_TR                = 0x320
-       ARPHRD_INFINIBAND                = 0x20
-       ARPHRD_IP6GRE                    = 0x337
-       ARPHRD_IPDDP                     = 0x309
-       ARPHRD_IPGRE                     = 0x30a
-       ARPHRD_IRDA                      = 0x30f
-       ARPHRD_LAPB                      = 0x204
-       ARPHRD_LOCALTLK                  = 0x305
-       ARPHRD_LOOPBACK                  = 0x304
-       ARPHRD_METRICOM                  = 0x17
-       ARPHRD_NETLINK                   = 0x338
-       ARPHRD_NETROM                    = 0x0
-       ARPHRD_NONE                      = 0xfffe
-       ARPHRD_PHONET                    = 0x334
-       ARPHRD_PHONET_PIPE               = 0x335
-       ARPHRD_PIMREG                    = 0x30b
-       ARPHRD_PPP                       = 0x200
-       ARPHRD_PRONET                    = 0x4
-       ARPHRD_RAWHDLC                   = 0x206
-       ARPHRD_ROSE                      = 0x10e
-       ARPHRD_RSRVD                     = 0x104
-       ARPHRD_SIT                       = 0x308
-       ARPHRD_SKIP                      = 0x303
-       ARPHRD_SLIP                      = 0x100
-       ARPHRD_SLIP6                     = 0x102
-       ARPHRD_TUNNEL                    = 0x300
-       ARPHRD_TUNNEL6                   = 0x301
-       ARPHRD_VOID                      = 0xffff
-       ARPHRD_X25                       = 0x10f
-       B0                               = 0x0
-       B1000000                         = 0x1008
-       B110                             = 0x3
-       B115200                          = 0x1002
-       B1152000                         = 0x1009
-       B1200                            = 0x9
-       B134                             = 0x4
-       B150                             = 0x5
-       B1500000                         = 0x100a
-       B1800                            = 0xa
-       B19200                           = 0xe
-       B200                             = 0x6
-       B2000000                         = 0x100b
-       B230400                          = 0x1003
-       B2400                            = 0xb
-       B2500000                         = 0x100c
-       B300                             = 0x7
-       B3000000                         = 0x100d
-       B3500000                         = 0x100e
-       B38400                           = 0xf
-       B4000000                         = 0x100f
-       B460800                          = 0x1004
-       B4800                            = 0xc
-       B50                              = 0x1
-       B500000                          = 0x1005
-       B57600                           = 0x1001
-       B576000                          = 0x1006
-       B600                             = 0x8
-       B75                              = 0x2
-       B921600                          = 0x1007
-       B9600                            = 0xd
-       BLKBSZGET                        = 0x40041270
-       BLKBSZSET                        = 0x80041271
-       BLKFLSBUF                        = 0x20001261
-       BLKFRAGET                        = 0x20001265
-       BLKFRASET                        = 0x20001264
-       BLKGETSIZE                       = 0x20001260
-       BLKGETSIZE64                     = 0x40041272
-       BLKPBSZGET                       = 0x2000127b
-       BLKRAGET                         = 0x20001263
-       BLKRASET                         = 0x20001262
-       BLKROGET                         = 0x2000125e
-       BLKROSET                         = 0x2000125d
-       BLKRRPART                        = 0x2000125f
-       BLKSECTGET                       = 0x20001267
-       BLKSECTSET                       = 0x20001266
-       BLKSSZGET                        = 0x20001268
-       BOTHER                           = 0x1000
-       BPF_A                            = 0x10
-       BPF_ABS                          = 0x20
-       BPF_ADD                          = 0x0
-       BPF_ALU                          = 0x4
-       BPF_AND                          = 0x50
-       BPF_B                            = 0x10
-       BPF_DIV                          = 0x30
-       BPF_H                            = 0x8
-       BPF_IMM                          = 0x0
-       BPF_IND                          = 0x40
-       BPF_JA                           = 0x0
-       BPF_JEQ                          = 0x10
-       BPF_JGE                          = 0x30
-       BPF_JGT                          = 0x20
-       BPF_JMP                          = 0x5
-       BPF_JSET                         = 0x40
-       BPF_K                            = 0x0
-       BPF_LD                           = 0x0
-       BPF_LDX                          = 0x1
-       BPF_LEN                          = 0x80
-       BPF_LL_OFF                       = -0x200000
-       BPF_LSH                          = 0x60
-       BPF_MAJOR_VERSION                = 0x1
-       BPF_MAXINSNS                     = 0x1000
-       BPF_MEM                          = 0x60
-       BPF_MEMWORDS                     = 0x10
-       BPF_MINOR_VERSION                = 0x1
-       BPF_MISC                         = 0x7
-       BPF_MOD                          = 0x90
-       BPF_MSH                          = 0xa0
-       BPF_MUL                          = 0x20
-       BPF_NEG                          = 0x80
-       BPF_NET_OFF                      = -0x100000
-       BPF_OR                           = 0x40
-       BPF_RET                          = 0x6
-       BPF_RSH                          = 0x70
-       BPF_ST                           = 0x2
-       BPF_STX                          = 0x3
-       BPF_SUB                          = 0x10
-       BPF_TAX                          = 0x0
-       BPF_TXA                          = 0x80
-       BPF_W                            = 0x0
-       BPF_X                            = 0x8
-       BPF_XOR                          = 0xa0
-       BRKINT                           = 0x2
-       BS0                              = 0x0
-       BS1                              = 0x2000
-       BSDLY                            = 0x2000
-       CAN_BCM                          = 0x2
-       CAN_EFF_FLAG                     = 0x80000000
-       CAN_EFF_ID_BITS                  = 0x1d
-       CAN_EFF_MASK                     = 0x1fffffff
-       CAN_ERR_FLAG                     = 0x20000000
-       CAN_ERR_MASK                     = 0x1fffffff
-       CAN_INV_FILTER                   = 0x20000000
-       CAN_ISOTP                        = 0x6
-       CAN_MAX_DLC                      = 0x8
-       CAN_MAX_DLEN                     = 0x8
-       CAN_MCNET                        = 0x5
-       CAN_MTU                          = 0x10
-       CAN_NPROTO                       = 0x7
-       CAN_RAW                          = 0x1
-       CAN_RAW_FILTER_MAX               = 0x200
-       CAN_RTR_FLAG                     = 0x40000000
-       CAN_SFF_ID_BITS                  = 0xb
-       CAN_SFF_MASK                     = 0x7ff
-       CAN_TP16                         = 0x3
-       CAN_TP20                         = 0x4
-       CBAUD                            = 0x100f
-       CBAUDEX                          = 0x1000
-       CFLUSH                           = 0xf
-       CIBAUD                           = 0x100f0000
-       CLOCAL                           = 0x800
-       CLOCK_BOOTTIME                   = 0x7
-       CLOCK_BOOTTIME_ALARM             = 0x9
-       CLOCK_DEFAULT                    = 0x0
-       CLOCK_EXT                        = 0x1
-       CLOCK_INT                        = 0x2
-       CLOCK_MONOTONIC                  = 0x1
-       CLOCK_MONOTONIC_COARSE           = 0x6
-       CLOCK_MONOTONIC_RAW              = 0x4
-       CLOCK_PROCESS_CPUTIME_ID         = 0x2
-       CLOCK_REALTIME                   = 0x0
-       CLOCK_REALTIME_ALARM             = 0x8
-       CLOCK_REALTIME_COARSE            = 0x5
-       CLOCK_TAI                        = 0xb
-       CLOCK_THREAD_CPUTIME_ID          = 0x3
-       CLOCK_TXFROMRX                   = 0x4
-       CLOCK_TXINT                      = 0x3
-       CLONE_CHILD_CLEARTID             = 0x200000
-       CLONE_CHILD_SETTID               = 0x1000000
-       CLONE_DETACHED                   = 0x400000
-       CLONE_FILES                      = 0x400
-       CLONE_FS                         = 0x200
-       CLONE_IO                         = 0x80000000
-       CLONE_NEWCGROUP                  = 0x2000000
-       CLONE_NEWIPC                     = 0x8000000
-       CLONE_NEWNET                     = 0x40000000
-       CLONE_NEWNS                      = 0x20000
-       CLONE_NEWPID                     = 0x20000000
-       CLONE_NEWUSER                    = 0x10000000
-       CLONE_NEWUTS                     = 0x4000000
-       CLONE_PARENT                     = 0x8000
-       CLONE_PARENT_SETTID              = 0x100000
-       CLONE_PTRACE                     = 0x2000
-       CLONE_SETTLS                     = 0x80000
-       CLONE_SIGHAND                    = 0x800
-       CLONE_SYSVSEM                    = 0x40000
-       CLONE_THREAD                     = 0x10000
-       CLONE_UNTRACED                   = 0x800000
-       CLONE_VFORK                      = 0x4000
-       CLONE_VM                         = 0x100
-       CMSPAR                           = 0x40000000
-       CR0                              = 0x0
-       CR1                              = 0x200
-       CR2                              = 0x400
-       CR3                              = 0x600
-       CRDLY                            = 0x600
-       CREAD                            = 0x80
-       CRTSCTS                          = 0x80000000
-       CS5                              = 0x0
-       CS6                              = 0x10
-       CS7                              = 0x20
-       CS8                              = 0x30
-       CSIGNAL                          = 0xff
-       CSIZE                            = 0x30
-       CSTART                           = 0x11
-       CSTATUS                          = 0x0
-       CSTOP                            = 0x13
-       CSTOPB                           = 0x40
-       CSUSP                            = 0x1a
-       DT_BLK                           = 0x6
-       DT_CHR                           = 0x2
-       DT_DIR                           = 0x4
-       DT_FIFO                          = 0x1
-       DT_LNK                           = 0xa
-       DT_REG                           = 0x8
-       DT_SOCK                          = 0xc
-       DT_UNKNOWN                       = 0x0
-       DT_WHT                           = 0xe
-       ECHO                             = 0x8
-       ECHOCTL                          = 0x200
-       ECHOE                            = 0x10
-       ECHOK                            = 0x20
-       ECHOKE                           = 0x800
-       ECHONL                           = 0x40
-       ECHOPRT                          = 0x400
-       ENCODING_DEFAULT                 = 0x0
-       ENCODING_FM_MARK                 = 0x3
-       ENCODING_FM_SPACE                = 0x4
-       ENCODING_MANCHESTER              = 0x5
-       ENCODING_NRZ                     = 0x1
-       ENCODING_NRZI                    = 0x2
-       EPOLLERR                         = 0x8
-       EPOLLET                          = 0x80000000
-       EPOLLEXCLUSIVE                   = 0x10000000
-       EPOLLHUP                         = 0x10
-       EPOLLIN                          = 0x1
-       EPOLLMSG                         = 0x400
-       EPOLLONESHOT                     = 0x40000000
-       EPOLLOUT                         = 0x4
-       EPOLLPRI                         = 0x2
-       EPOLLRDBAND                      = 0x80
-       EPOLLRDHUP                       = 0x2000
-       EPOLLRDNORM                      = 0x40
-       EPOLLWAKEUP                      = 0x20000000
-       EPOLLWRBAND                      = 0x200
-       EPOLLWRNORM                      = 0x100
-       EPOLL_CLOEXEC                    = 0x80000
-       EPOLL_CTL_ADD                    = 0x1
-       EPOLL_CTL_DEL                    = 0x2
-       EPOLL_CTL_MOD                    = 0x3
-       ETH_P_1588                       = 0x88f7
-       ETH_P_8021AD                     = 0x88a8
-       ETH_P_8021AH                     = 0x88e7
-       ETH_P_8021Q                      = 0x8100
-       ETH_P_80221                      = 0x8917
-       ETH_P_802_2                      = 0x4
-       ETH_P_802_3                      = 0x1
-       ETH_P_802_3_MIN                  = 0x600
-       ETH_P_802_EX1                    = 0x88b5
-       ETH_P_AARP                       = 0x80f3
-       ETH_P_AF_IUCV                    = 0xfbfb
-       ETH_P_ALL                        = 0x3
-       ETH_P_AOE                        = 0x88a2
-       ETH_P_ARCNET                     = 0x1a
-       ETH_P_ARP                        = 0x806
-       ETH_P_ATALK                      = 0x809b
-       ETH_P_ATMFATE                    = 0x8884
-       ETH_P_ATMMPOA                    = 0x884c
-       ETH_P_AX25                       = 0x2
-       ETH_P_BATMAN                     = 0x4305
-       ETH_P_BPQ                        = 0x8ff
-       ETH_P_CAIF                       = 0xf7
-       ETH_P_CAN                        = 0xc
-       ETH_P_CANFD                      = 0xd
-       ETH_P_CONTROL                    = 0x16
-       ETH_P_CUST                       = 0x6006
-       ETH_P_DDCMP                      = 0x6
-       ETH_P_DEC                        = 0x6000
-       ETH_P_DIAG                       = 0x6005
-       ETH_P_DNA_DL                     = 0x6001
-       ETH_P_DNA_RC                     = 0x6002
-       ETH_P_DNA_RT                     = 0x6003
-       ETH_P_DSA                        = 0x1b
-       ETH_P_ECONET                     = 0x18
-       ETH_P_EDSA                       = 0xdada
-       ETH_P_FCOE                       = 0x8906
-       ETH_P_FIP                        = 0x8914
-       ETH_P_HDLC                       = 0x19
-       ETH_P_HSR                        = 0x892f
-       ETH_P_IEEE802154                 = 0xf6
-       ETH_P_IEEEPUP                    = 0xa00
-       ETH_P_IEEEPUPAT                  = 0xa01
-       ETH_P_IP                         = 0x800
-       ETH_P_IPV6                       = 0x86dd
-       ETH_P_IPX                        = 0x8137
-       ETH_P_IRDA                       = 0x17
-       ETH_P_LAT                        = 0x6004
-       ETH_P_LINK_CTL                   = 0x886c
-       ETH_P_LOCALTALK                  = 0x9
-       ETH_P_LOOP                       = 0x60
-       ETH_P_LOOPBACK                   = 0x9000
-       ETH_P_MACSEC                     = 0x88e5
-       ETH_P_MOBITEX                    = 0x15
-       ETH_P_MPLS_MC                    = 0x8848
-       ETH_P_MPLS_UC                    = 0x8847
-       ETH_P_MVRP                       = 0x88f5
-       ETH_P_NCSI                       = 0x88f8
-       ETH_P_PAE                        = 0x888e
-       ETH_P_PAUSE                      = 0x8808
-       ETH_P_PHONET                     = 0xf5
-       ETH_P_PPPTALK                    = 0x10
-       ETH_P_PPP_DISC                   = 0x8863
-       ETH_P_PPP_MP                     = 0x8
-       ETH_P_PPP_SES                    = 0x8864
-       ETH_P_PRP                        = 0x88fb
-       ETH_P_PUP                        = 0x200
-       ETH_P_PUPAT                      = 0x201
-       ETH_P_QINQ1                      = 0x9100
-       ETH_P_QINQ2                      = 0x9200
-       ETH_P_QINQ3                      = 0x9300
-       ETH_P_RARP                       = 0x8035
-       ETH_P_SCA                        = 0x6007
-       ETH_P_SLOW                       = 0x8809
-       ETH_P_SNAP                       = 0x5
-       ETH_P_TDLS                       = 0x890d
-       ETH_P_TEB                        = 0x6558
-       ETH_P_TIPC                       = 0x88ca
-       ETH_P_TRAILER                    = 0x1c
-       ETH_P_TR_802_2                   = 0x11
-       ETH_P_TSN                        = 0x22f0
-       ETH_P_WAN_PPP                    = 0x7
-       ETH_P_WCCP                       = 0x883e
-       ETH_P_X25                        = 0x805
-       ETH_P_XDSA                       = 0xf8
-       EXTA                             = 0xe
-       EXTB                             = 0xf
-       EXTPROC                          = 0x10000
-       FALLOC_FL_COLLAPSE_RANGE         = 0x8
-       FALLOC_FL_INSERT_RANGE           = 0x20
-       FALLOC_FL_KEEP_SIZE              = 0x1
-       FALLOC_FL_NO_HIDE_STALE          = 0x4
-       FALLOC_FL_PUNCH_HOLE             = 0x2
-       FALLOC_FL_UNSHARE_RANGE          = 0x40
-       FALLOC_FL_ZERO_RANGE             = 0x10
-       FD_CLOEXEC                       = 0x1
-       FD_SETSIZE                       = 0x400
-       FF0                              = 0x0
-       FF1                              = 0x8000
-       FFDLY                            = 0x8000
-       FLUSHO                           = 0x2000
-       FS_ENCRYPTION_MODE_AES_256_CBC   = 0x3
-       FS_ENCRYPTION_MODE_AES_256_CTS   = 0x4
-       FS_ENCRYPTION_MODE_AES_256_GCM   = 0x2
-       FS_ENCRYPTION_MODE_AES_256_XTS   = 0x1
-       FS_ENCRYPTION_MODE_INVALID       = 0x0
-       FS_IOC_GET_ENCRYPTION_POLICY     = 0x800c6615
-       FS_IOC_GET_ENCRYPTION_PWSALT     = 0x80106614
-       FS_IOC_SET_ENCRYPTION_POLICY     = 0x400c6613
-       FS_KEY_DESCRIPTOR_SIZE           = 0x8
-       FS_KEY_DESC_PREFIX               = "fscrypt:"
-       FS_KEY_DESC_PREFIX_SIZE          = 0x8
-       FS_MAX_KEY_SIZE                  = 0x40
-       FS_POLICY_FLAGS_PAD_16           = 0x2
-       FS_POLICY_FLAGS_PAD_32           = 0x3
-       FS_POLICY_FLAGS_PAD_4            = 0x0
-       FS_POLICY_FLAGS_PAD_8            = 0x1
-       FS_POLICY_FLAGS_PAD_MASK         = 0x3
-       FS_POLICY_FLAGS_VALID            = 0x3
-       F_DUPFD                          = 0x0
-       F_DUPFD_CLOEXEC                  = 0x406
-       F_EXLCK                          = 0x4
-       F_GETFD                          = 0x1
-       F_GETFL                          = 0x3
-       F_GETLEASE                       = 0x401
-       F_GETLK                          = 0x21
-       F_GETLK64                        = 0x21
-       F_GETOWN                         = 0x17
-       F_GETOWN_EX                      = 0x10
-       F_GETPIPE_SZ                     = 0x408
-       F_GETSIG                         = 0xb
-       F_LOCK                           = 0x1
-       F_NOTIFY                         = 0x402
-       F_OFD_GETLK                      = 0x24
-       F_OFD_SETLK                      = 0x25
-       F_OFD_SETLKW                     = 0x26
-       F_OK                             = 0x0
-       F_RDLCK                          = 0x0
-       F_SETFD                          = 0x2
-       F_SETFL                          = 0x4
-       F_SETLEASE                       = 0x400
-       F_SETLK                          = 0x22
-       F_SETLK64                        = 0x22
-       F_SETLKW                         = 0x23
-       F_SETLKW64                       = 0x23
-       F_SETOWN                         = 0x18
-       F_SETOWN_EX                      = 0xf
-       F_SETPIPE_SZ                     = 0x407
-       F_SETSIG                         = 0xa
-       F_SHLCK                          = 0x8
-       F_TEST                           = 0x3
-       F_TLOCK                          = 0x2
-       F_ULOCK                          = 0x0
-       F_UNLCK                          = 0x2
-       F_WRLCK                          = 0x1
-       GRND_NONBLOCK                    = 0x1
-       GRND_RANDOM                      = 0x2
-       HUPCL                            = 0x400
-       IBSHIFT                          = 0x10
-       ICANON                           = 0x2
-       ICMPV6_FILTER                    = 0x1
-       ICRNL                            = 0x100
-       IEXTEN                           = 0x100
-       IFA_F_DADFAILED                  = 0x8
-       IFA_F_DEPRECATED                 = 0x20
-       IFA_F_HOMEADDRESS                = 0x10
-       IFA_F_MANAGETEMPADDR             = 0x100
-       IFA_F_MCAUTOJOIN                 = 0x400
-       IFA_F_NODAD                      = 0x2
-       IFA_F_NOPREFIXROUTE              = 0x200
-       IFA_F_OPTIMISTIC                 = 0x4
-       IFA_F_PERMANENT                  = 0x80
-       IFA_F_SECONDARY                  = 0x1
-       IFA_F_STABLE_PRIVACY             = 0x800
-       IFA_F_TEMPORARY                  = 0x1
-       IFA_F_TENTATIVE                  = 0x40
-       IFA_MAX                          = 0x8
-       IFF_ALLMULTI                     = 0x200
-       IFF_ATTACH_QUEUE                 = 0x200
-       IFF_AUTOMEDIA                    = 0x4000
-       IFF_BROADCAST                    = 0x2
-       IFF_DEBUG                        = 0x4
-       IFF_DETACH_QUEUE                 = 0x400
-       IFF_DORMANT                      = 0x20000
-       IFF_DYNAMIC                      = 0x8000
-       IFF_ECHO                         = 0x40000
-       IFF_LOOPBACK                     = 0x8
-       IFF_LOWER_UP                     = 0x10000
-       IFF_MASTER                       = 0x400
-       IFF_MULTICAST                    = 0x1000
-       IFF_MULTI_QUEUE                  = 0x100
-       IFF_NOARP                        = 0x80
-       IFF_NOFILTER                     = 0x1000
-       IFF_NOTRAILERS                   = 0x20
-       IFF_NO_PI                        = 0x1000
-       IFF_ONE_QUEUE                    = 0x2000
-       IFF_PERSIST                      = 0x800
-       IFF_POINTOPOINT                  = 0x10
-       IFF_PORTSEL                      = 0x2000
-       IFF_PROMISC                      = 0x100
-       IFF_RUNNING                      = 0x40
-       IFF_SLAVE                        = 0x800
-       IFF_TAP                          = 0x2
-       IFF_TUN                          = 0x1
-       IFF_TUN_EXCL                     = 0x8000
-       IFF_UP                           = 0x1
-       IFF_VNET_HDR                     = 0x4000
-       IFF_VOLATILE                     = 0x70c5a
-       IFNAMSIZ                         = 0x10
-       IGNBRK                           = 0x1
-       IGNCR                            = 0x80
-       IGNPAR                           = 0x4
-       IMAXBEL                          = 0x2000
-       INLCR                            = 0x40
-       INPCK                            = 0x10
-       IN_ACCESS                        = 0x1
-       IN_ALL_EVENTS                    = 0xfff
-       IN_ATTRIB                        = 0x4
-       IN_CLASSA_HOST                   = 0xffffff
-       IN_CLASSA_MAX                    = 0x80
-       IN_CLASSA_NET                    = 0xff000000
-       IN_CLASSA_NSHIFT                 = 0x18
-       IN_CLASSB_HOST                   = 0xffff
-       IN_CLASSB_MAX                    = 0x10000
-       IN_CLASSB_NET                    = 0xffff0000
-       IN_CLASSB_NSHIFT                 = 0x10
-       IN_CLASSC_HOST                   = 0xff
-       IN_CLASSC_NET                    = 0xffffff00
-       IN_CLASSC_NSHIFT                 = 0x8
-       IN_CLOEXEC                       = 0x80000
-       IN_CLOSE                         = 0x18
-       IN_CLOSE_NOWRITE                 = 0x10
-       IN_CLOSE_WRITE                   = 0x8
-       IN_CREATE                        = 0x100
-       IN_DELETE                        = 0x200
-       IN_DELETE_SELF                   = 0x400
-       IN_DONT_FOLLOW                   = 0x2000000
-       IN_EXCL_UNLINK                   = 0x4000000
-       IN_IGNORED                       = 0x8000
-       IN_ISDIR                         = 0x40000000
-       IN_LOOPBACKNET                   = 0x7f
-       IN_MASK_ADD                      = 0x20000000
-       IN_MODIFY                        = 0x2
-       IN_MOVE                          = 0xc0
-       IN_MOVED_FROM                    = 0x40
-       IN_MOVED_TO                      = 0x80
-       IN_MOVE_SELF                     = 0x800
-       IN_NONBLOCK                      = 0x80
-       IN_ONESHOT                       = 0x80000000
-       IN_ONLYDIR                       = 0x1000000
-       IN_OPEN                          = 0x20
-       IN_Q_OVERFLOW                    = 0x4000
-       IN_UNMOUNT                       = 0x2000
-       IPPROTO_AH                       = 0x33
-       IPPROTO_BEETPH                   = 0x5e
-       IPPROTO_COMP                     = 0x6c
-       IPPROTO_DCCP                     = 0x21
-       IPPROTO_DSTOPTS                  = 0x3c
-       IPPROTO_EGP                      = 0x8
-       IPPROTO_ENCAP                    = 0x62
-       IPPROTO_ESP                      = 0x32
-       IPPROTO_FRAGMENT                 = 0x2c
-       IPPROTO_GRE                      = 0x2f
-       IPPROTO_HOPOPTS                  = 0x0
-       IPPROTO_ICMP                     = 0x1
-       IPPROTO_ICMPV6                   = 0x3a
-       IPPROTO_IDP                      = 0x16
-       IPPROTO_IGMP                     = 0x2
-       IPPROTO_IP                       = 0x0
-       IPPROTO_IPIP                     = 0x4
-       IPPROTO_IPV6                     = 0x29
-       IPPROTO_MH                       = 0x87
-       IPPROTO_MPLS                     = 0x89
-       IPPROTO_MTP                      = 0x5c
-       IPPROTO_NONE                     = 0x3b
-       IPPROTO_PIM                      = 0x67
-       IPPROTO_PUP                      = 0xc
-       IPPROTO_RAW                      = 0xff
-       IPPROTO_ROUTING                  = 0x2b
-       IPPROTO_RSVP                     = 0x2e
-       IPPROTO_SCTP                     = 0x84
-       IPPROTO_TCP                      = 0x6
-       IPPROTO_TP                       = 0x1d
-       IPPROTO_UDP                      = 0x11
-       IPPROTO_UDPLITE                  = 0x88
-       IPV6_2292DSTOPTS                 = 0x4
-       IPV6_2292HOPLIMIT                = 0x8
-       IPV6_2292HOPOPTS                 = 0x3
-       IPV6_2292PKTINFO                 = 0x2
-       IPV6_2292PKTOPTIONS              = 0x6
-       IPV6_2292RTHDR                   = 0x5
-       IPV6_ADDRFORM                    = 0x1
-       IPV6_ADD_MEMBERSHIP              = 0x14
-       IPV6_AUTHHDR                     = 0xa
-       IPV6_CHECKSUM                    = 0x7
-       IPV6_DONTFRAG                    = 0x3e
-       IPV6_DROP_MEMBERSHIP             = 0x15
-       IPV6_DSTOPTS                     = 0x3b
-       IPV6_HDRINCL                     = 0x24
-       IPV6_HOPLIMIT                    = 0x34
-       IPV6_HOPOPTS                     = 0x36
-       IPV6_IPSEC_POLICY                = 0x22
-       IPV6_JOIN_ANYCAST                = 0x1b
-       IPV6_JOIN_GROUP                  = 0x14
-       IPV6_LEAVE_ANYCAST               = 0x1c
-       IPV6_LEAVE_GROUP                 = 0x15
-       IPV6_MTU                         = 0x18
-       IPV6_MTU_DISCOVER                = 0x17
-       IPV6_MULTICAST_HOPS              = 0x12
-       IPV6_MULTICAST_IF                = 0x11
-       IPV6_MULTICAST_LOOP              = 0x13
-       IPV6_NEXTHOP                     = 0x9
-       IPV6_PATHMTU                     = 0x3d
-       IPV6_PKTINFO                     = 0x32
-       IPV6_PMTUDISC_DO                 = 0x2
-       IPV6_PMTUDISC_DONT               = 0x0
-       IPV6_PMTUDISC_INTERFACE          = 0x4
-       IPV6_PMTUDISC_OMIT               = 0x5
-       IPV6_PMTUDISC_PROBE              = 0x3
-       IPV6_PMTUDISC_WANT               = 0x1
-       IPV6_RECVDSTOPTS                 = 0x3a
-       IPV6_RECVERR                     = 0x19
-       IPV6_RECVHOPLIMIT                = 0x33
-       IPV6_RECVHOPOPTS                 = 0x35
-       IPV6_RECVPATHMTU                 = 0x3c
-       IPV6_RECVPKTINFO                 = 0x31
-       IPV6_RECVRTHDR                   = 0x38
-       IPV6_RECVTCLASS                  = 0x42
-       IPV6_ROUTER_ALERT                = 0x16
-       IPV6_RTHDR                       = 0x39
-       IPV6_RTHDRDSTOPTS                = 0x37
-       IPV6_RTHDR_LOOSE                 = 0x0
-       IPV6_RTHDR_STRICT                = 0x1
-       IPV6_RTHDR_TYPE_0                = 0x0
-       IPV6_RXDSTOPTS                   = 0x3b
-       IPV6_RXHOPOPTS                   = 0x36
-       IPV6_TCLASS                      = 0x43
-       IPV6_UNICAST_HOPS                = 0x10
-       IPV6_V6ONLY                      = 0x1a
-       IPV6_XFRM_POLICY                 = 0x23
-       IP_ADD_MEMBERSHIP                = 0x23
-       IP_ADD_SOURCE_MEMBERSHIP         = 0x27
-       IP_BIND_ADDRESS_NO_PORT          = 0x18
-       IP_BLOCK_SOURCE                  = 0x26
-       IP_CHECKSUM                      = 0x17
-       IP_DEFAULT_MULTICAST_LOOP        = 0x1
-       IP_DEFAULT_MULTICAST_TTL         = 0x1
-       IP_DF                            = 0x4000
-       IP_DROP_MEMBERSHIP               = 0x24
-       IP_DROP_SOURCE_MEMBERSHIP        = 0x28
-       IP_FREEBIND                      = 0xf
-       IP_HDRINCL                       = 0x3
-       IP_IPSEC_POLICY                  = 0x10
-       IP_MAXPACKET                     = 0xffff
-       IP_MAX_MEMBERSHIPS               = 0x14
-       IP_MF                            = 0x2000
-       IP_MINTTL                        = 0x15
-       IP_MSFILTER                      = 0x29
-       IP_MSS                           = 0x240
-       IP_MTU                           = 0xe
-       IP_MTU_DISCOVER                  = 0xa
-       IP_MULTICAST_ALL                 = 0x31
-       IP_MULTICAST_IF                  = 0x20
-       IP_MULTICAST_LOOP                = 0x22
-       IP_MULTICAST_TTL                 = 0x21
-       IP_NODEFRAG                      = 0x16
-       IP_OFFMASK                       = 0x1fff
-       IP_OPTIONS                       = 0x4
-       IP_ORIGDSTADDR                   = 0x14
-       IP_PASSSEC                       = 0x12
-       IP_PKTINFO                       = 0x8
-       IP_PKTOPTIONS                    = 0x9
-       IP_PMTUDISC                      = 0xa
-       IP_PMTUDISC_DO                   = 0x2
-       IP_PMTUDISC_DONT                 = 0x0
-       IP_PMTUDISC_INTERFACE            = 0x4
-       IP_PMTUDISC_OMIT                 = 0x5
-       IP_PMTUDISC_PROBE                = 0x3
-       IP_PMTUDISC_WANT                 = 0x1
-       IP_RECVERR                       = 0xb
-       IP_RECVOPTS                      = 0x6
-       IP_RECVORIGDSTADDR               = 0x14
-       IP_RECVRETOPTS                   = 0x7
-       IP_RECVTOS                       = 0xd
-       IP_RECVTTL                       = 0xc
-       IP_RETOPTS                       = 0x7
-       IP_RF                            = 0x8000
-       IP_ROUTER_ALERT                  = 0x5
-       IP_TOS                           = 0x1
-       IP_TRANSPARENT                   = 0x13
-       IP_TTL                           = 0x2
-       IP_UNBLOCK_SOURCE                = 0x25
-       IP_UNICAST_IF                    = 0x32
-       IP_XFRM_POLICY                   = 0x11
-       ISIG                             = 0x1
-       ISTRIP                           = 0x20
-       IUCLC                            = 0x200
-       IUTF8                            = 0x4000
-       IXANY                            = 0x800
-       IXOFF                            = 0x1000
-       IXON                             = 0x400
-       LINUX_REBOOT_CMD_CAD_OFF         = 0x0
-       LINUX_REBOOT_CMD_CAD_ON          = 0x89abcdef
-       LINUX_REBOOT_CMD_HALT            = 0xcdef0123
-       LINUX_REBOOT_CMD_KEXEC           = 0x45584543
-       LINUX_REBOOT_CMD_POWER_OFF       = 0x4321fedc
-       LINUX_REBOOT_CMD_RESTART         = 0x1234567
-       LINUX_REBOOT_CMD_RESTART2        = 0xa1b2c3d4
-       LINUX_REBOOT_CMD_SW_SUSPEND      = 0xd000fce2
-       LINUX_REBOOT_MAGIC1              = 0xfee1dead
-       LINUX_REBOOT_MAGIC2              = 0x28121969
-       LOCK_EX                          = 0x2
-       LOCK_NB                          = 0x4
-       LOCK_SH                          = 0x1
-       LOCK_UN                          = 0x8
-       MADV_DODUMP                      = 0x11
-       MADV_DOFORK                      = 0xb
-       MADV_DONTDUMP                    = 0x10
-       MADV_DONTFORK                    = 0xa
-       MADV_DONTNEED                    = 0x4
-       MADV_FREE                        = 0x8
-       MADV_HUGEPAGE                    = 0xe
-       MADV_HWPOISON                    = 0x64
-       MADV_MERGEABLE                   = 0xc
-       MADV_NOHUGEPAGE                  = 0xf
-       MADV_NORMAL                      = 0x0
-       MADV_RANDOM                      = 0x1
-       MADV_REMOVE                      = 0x9
-       MADV_SEQUENTIAL                  = 0x2
-       MADV_UNMERGEABLE                 = 0xd
-       MADV_WILLNEED                    = 0x3
-       MAP_ANON                         = 0x800
-       MAP_ANONYMOUS                    = 0x800
-       MAP_DENYWRITE                    = 0x2000
-       MAP_EXECUTABLE                   = 0x4000
-       MAP_FILE                         = 0x0
-       MAP_FIXED                        = 0x10
-       MAP_GROWSDOWN                    = 0x1000
-       MAP_HUGETLB                      = 0x80000
-       MAP_HUGE_MASK                    = 0x3f
-       MAP_HUGE_SHIFT                   = 0x1a
-       MAP_LOCKED                       = 0x8000
-       MAP_NONBLOCK                     = 0x20000
-       MAP_NORESERVE                    = 0x400
-       MAP_POPULATE                     = 0x10000
-       MAP_PRIVATE                      = 0x2
-       MAP_RENAME                       = 0x800
-       MAP_SHARED                       = 0x1
-       MAP_STACK                        = 0x40000
-       MAP_TYPE                         = 0xf
-       MCL_CURRENT                      = 0x1
-       MCL_FUTURE                       = 0x2
-       MCL_ONFAULT                      = 0x4
-       MNT_DETACH                       = 0x2
-       MNT_EXPIRE                       = 0x4
-       MNT_FORCE                        = 0x1
-       MSG_BATCH                        = 0x40000
-       MSG_CMSG_CLOEXEC                 = 0x40000000
-       MSG_CONFIRM                      = 0x800
-       MSG_CTRUNC                       = 0x8
-       MSG_DONTROUTE                    = 0x4
-       MSG_DONTWAIT                     = 0x40
-       MSG_EOR                          = 0x80
-       MSG_ERRQUEUE                     = 0x2000
-       MSG_FASTOPEN                     = 0x20000000
-       MSG_FIN                          = 0x200
-       MSG_MORE                         = 0x8000
-       MSG_NOSIGNAL                     = 0x4000
-       MSG_OOB                          = 0x1
-       MSG_PEEK                         = 0x2
-       MSG_PROXY                        = 0x10
-       MSG_RST                          = 0x1000
-       MSG_SYN                          = 0x400
-       MSG_TRUNC                        = 0x20
-       MSG_TRYHARD                      = 0x4
-       MSG_WAITALL                      = 0x100
-       MSG_WAITFORONE                   = 0x10000
-       MS_ACTIVE                        = 0x40000000
-       MS_ASYNC                         = 0x1
-       MS_BIND                          = 0x1000
-       MS_BORN                          = 0x20000000
-       MS_DIRSYNC                       = 0x80
-       MS_INVALIDATE                    = 0x2
-       MS_I_VERSION                     = 0x800000
-       MS_KERNMOUNT                     = 0x400000
-       MS_LAZYTIME                      = 0x2000000
-       MS_MANDLOCK                      = 0x40
-       MS_MGC_MSK                       = 0xffff0000
-       MS_MGC_VAL                       = 0xc0ed0000
-       MS_MOVE                          = 0x2000
-       MS_NOATIME                       = 0x400
-       MS_NODEV                         = 0x4
-       MS_NODIRATIME                    = 0x800
-       MS_NOEXEC                        = 0x8
-       MS_NOREMOTELOCK                  = 0x8000000
-       MS_NOSEC                         = 0x10000000
-       MS_NOSUID                        = 0x2
-       MS_NOUSER                        = -0x80000000
-       MS_POSIXACL                      = 0x10000
-       MS_PRIVATE                       = 0x40000
-       MS_RDONLY                        = 0x1
-       MS_REC                           = 0x4000
-       MS_RELATIME                      = 0x200000
-       MS_REMOUNT                       = 0x20
-       MS_RMT_MASK                      = 0x2800051
-       MS_SHARED                        = 0x100000
-       MS_SILENT                        = 0x8000
-       MS_SLAVE                         = 0x80000
-       MS_STRICTATIME                   = 0x1000000
-       MS_SYNC                          = 0x4
-       MS_SYNCHRONOUS                   = 0x10
-       MS_UNBINDABLE                    = 0x20000
-       MS_VERBOSE                       = 0x8000
-       NAME_MAX                         = 0xff
-       NETLINK_ADD_MEMBERSHIP           = 0x1
-       NETLINK_AUDIT                    = 0x9
-       NETLINK_BROADCAST_ERROR          = 0x4
-       NETLINK_CAP_ACK                  = 0xa
-       NETLINK_CONNECTOR                = 0xb
-       NETLINK_CRYPTO                   = 0x15
-       NETLINK_DNRTMSG                  = 0xe
-       NETLINK_DROP_MEMBERSHIP          = 0x2
-       NETLINK_ECRYPTFS                 = 0x13
-       NETLINK_FIB_LOOKUP               = 0xa
-       NETLINK_FIREWALL                 = 0x3
-       NETLINK_GENERIC                  = 0x10
-       NETLINK_INET_DIAG                = 0x4
-       NETLINK_IP6_FW                   = 0xd
-       NETLINK_ISCSI                    = 0x8
-       NETLINK_KOBJECT_UEVENT           = 0xf
-       NETLINK_LISTEN_ALL_NSID          = 0x8
-       NETLINK_LIST_MEMBERSHIPS         = 0x9
-       NETLINK_NETFILTER                = 0xc
-       NETLINK_NFLOG                    = 0x5
-       NETLINK_NO_ENOBUFS               = 0x5
-       NETLINK_PKTINFO                  = 0x3
-       NETLINK_RDMA                     = 0x14
-       NETLINK_ROUTE                    = 0x0
-       NETLINK_RX_RING                  = 0x6
-       NETLINK_SCSITRANSPORT            = 0x12
-       NETLINK_SELINUX                  = 0x7
-       NETLINK_SOCK_DIAG                = 0x4
-       NETLINK_TX_RING                  = 0x7
-       NETLINK_UNUSED                   = 0x1
-       NETLINK_USERSOCK                 = 0x2
-       NETLINK_XFRM                     = 0x6
-       NL0                              = 0x0
-       NL1                              = 0x100
-       NLA_ALIGNTO                      = 0x4
-       NLA_F_NESTED                     = 0x8000
-       NLA_F_NET_BYTEORDER              = 0x4000
-       NLA_HDRLEN                       = 0x4
-       NLDLY                            = 0x100
-       NLMSG_ALIGNTO                    = 0x4
-       NLMSG_DONE                       = 0x3
-       NLMSG_ERROR                      = 0x2
-       NLMSG_HDRLEN                     = 0x10
-       NLMSG_MIN_TYPE                   = 0x10
-       NLMSG_NOOP                       = 0x1
-       NLMSG_OVERRUN                    = 0x4
-       NLM_F_ACK                        = 0x4
-       NLM_F_APPEND                     = 0x800
-       NLM_F_ATOMIC                     = 0x400
-       NLM_F_CREATE                     = 0x400
-       NLM_F_DUMP                       = 0x300
-       NLM_F_DUMP_FILTERED              = 0x20
-       NLM_F_DUMP_INTR                  = 0x10
-       NLM_F_ECHO                       = 0x8
-       NLM_F_EXCL                       = 0x200
-       NLM_F_MATCH                      = 0x200
-       NLM_F_MULTI                      = 0x2
-       NLM_F_REPLACE                    = 0x100
-       NLM_F_REQUEST                    = 0x1
-       NLM_F_ROOT                       = 0x100
-       NOFLSH                           = 0x80
-       OCRNL                            = 0x8
-       OFDEL                            = 0x80
-       OFILL                            = 0x40
-       OLCUC                            = 0x2
-       ONLCR                            = 0x4
-       ONLRET                           = 0x20
-       ONOCR                            = 0x10
-       OPOST                            = 0x1
-       O_ACCMODE                        = 0x3
-       O_APPEND                         = 0x8
-       O_ASYNC                          = 0x1000
-       O_CLOEXEC                        = 0x80000
-       O_CREAT                          = 0x100
-       O_DIRECT                         = 0x8000
-       O_DIRECTORY                      = 0x10000
-       O_DSYNC                          = 0x10
-       O_EXCL                           = 0x400
-       O_FSYNC                          = 0x4010
-       O_LARGEFILE                      = 0x2000
-       O_NDELAY                         = 0x80
-       O_NOATIME                        = 0x40000
-       O_NOCTTY                         = 0x800
-       O_NOFOLLOW                       = 0x20000
-       O_NONBLOCK                       = 0x80
-       O_PATH                           = 0x200000
-       O_RDONLY                         = 0x0
-       O_RDWR                           = 0x2
-       O_RSYNC                          = 0x4010
-       O_SYNC                           = 0x4010
-       O_TMPFILE                        = 0x410000
-       O_TRUNC                          = 0x200
-       O_WRONLY                         = 0x1
-       PACKET_ADD_MEMBERSHIP            = 0x1
-       PACKET_AUXDATA                   = 0x8
-       PACKET_BROADCAST                 = 0x1
-       PACKET_COPY_THRESH               = 0x7
-       PACKET_DROP_MEMBERSHIP           = 0x2
-       PACKET_FANOUT                    = 0x12
-       PACKET_FANOUT_CBPF               = 0x6
-       PACKET_FANOUT_CPU                = 0x2
-       PACKET_FANOUT_DATA               = 0x16
-       PACKET_FANOUT_EBPF               = 0x7
-       PACKET_FANOUT_FLAG_DEFRAG        = 0x8000
-       PACKET_FANOUT_FLAG_ROLLOVER      = 0x1000
-       PACKET_FANOUT_HASH               = 0x0
-       PACKET_FANOUT_LB                 = 0x1
-       PACKET_FANOUT_QM                 = 0x5
-       PACKET_FANOUT_RND                = 0x4
-       PACKET_FANOUT_ROLLOVER           = 0x3
-       PACKET_FASTROUTE                 = 0x6
-       PACKET_HDRLEN                    = 0xb
-       PACKET_HOST                      = 0x0
-       PACKET_KERNEL                    = 0x7
-       PACKET_LOOPBACK                  = 0x5
-       PACKET_LOSS                      = 0xe
-       PACKET_MR_ALLMULTI               = 0x2
-       PACKET_MR_MULTICAST              = 0x0
-       PACKET_MR_PROMISC                = 0x1
-       PACKET_MR_UNICAST                = 0x3
-       PACKET_MULTICAST                 = 0x2
-       PACKET_ORIGDEV                   = 0x9
-       PACKET_OTHERHOST                 = 0x3
-       PACKET_OUTGOING                  = 0x4
-       PACKET_QDISC_BYPASS              = 0x14
-       PACKET_RECV_OUTPUT               = 0x3
-       PACKET_RESERVE                   = 0xc
-       PACKET_ROLLOVER_STATS            = 0x15
-       PACKET_RX_RING                   = 0x5
-       PACKET_STATISTICS                = 0x6
-       PACKET_TIMESTAMP                 = 0x11
-       PACKET_TX_HAS_OFF                = 0x13
-       PACKET_TX_RING                   = 0xd
-       PACKET_TX_TIMESTAMP              = 0x10
-       PACKET_USER                      = 0x6
-       PACKET_VERSION                   = 0xa
-       PACKET_VNET_HDR                  = 0xf
-       PARENB                           = 0x100
-       PARITY_CRC16_PR0                 = 0x2
-       PARITY_CRC16_PR0_CCITT           = 0x4
-       PARITY_CRC16_PR1                 = 0x3
-       PARITY_CRC16_PR1_CCITT           = 0x5
-       PARITY_CRC32_PR0_CCITT           = 0x6
-       PARITY_CRC32_PR1_CCITT           = 0x7
-       PARITY_DEFAULT                   = 0x0
-       PARITY_NONE                      = 0x1
-       PARMRK                           = 0x8
-       PARODD                           = 0x200
-       PENDIN                           = 0x4000
-       PRIO_PGRP                        = 0x1
-       PRIO_PROCESS                     = 0x0
-       PRIO_USER                        = 0x2
-       PROT_EXEC                        = 0x4
-       PROT_GROWSDOWN                   = 0x1000000
-       PROT_GROWSUP                     = 0x2000000
-       PROT_NONE                        = 0x0
-       PROT_READ                        = 0x1
-       PROT_WRITE                       = 0x2
-       PR_CAPBSET_DROP                  = 0x18
-       PR_CAPBSET_READ                  = 0x17
-       PR_CAP_AMBIENT                   = 0x2f
-       PR_CAP_AMBIENT_CLEAR_ALL         = 0x4
-       PR_CAP_AMBIENT_IS_SET            = 0x1
-       PR_CAP_AMBIENT_LOWER             = 0x3
-       PR_CAP_AMBIENT_RAISE             = 0x2
-       PR_ENDIAN_BIG                    = 0x0
-       PR_ENDIAN_LITTLE                 = 0x1
-       PR_ENDIAN_PPC_LITTLE             = 0x2
-       PR_FPEMU_NOPRINT                 = 0x1
-       PR_FPEMU_SIGFPE                  = 0x2
-       PR_FP_EXC_ASYNC                  = 0x2
-       PR_FP_EXC_DISABLED               = 0x0
-       PR_FP_EXC_DIV                    = 0x10000
-       PR_FP_EXC_INV                    = 0x100000
-       PR_FP_EXC_NONRECOV               = 0x1
-       PR_FP_EXC_OVF                    = 0x20000
-       PR_FP_EXC_PRECISE                = 0x3
-       PR_FP_EXC_RES                    = 0x80000
-       PR_FP_EXC_SW_ENABLE              = 0x80
-       PR_FP_EXC_UND                    = 0x40000
-       PR_FP_MODE_FR                    = 0x1
-       PR_FP_MODE_FRE                   = 0x2
-       PR_GET_CHILD_SUBREAPER           = 0x25
-       PR_GET_DUMPABLE                  = 0x3
-       PR_GET_ENDIAN                    = 0x13
-       PR_GET_FPEMU                     = 0x9
-       PR_GET_FPEXC                     = 0xb
-       PR_GET_FP_MODE                   = 0x2e
-       PR_GET_KEEPCAPS                  = 0x7
-       PR_GET_NAME                      = 0x10
-       PR_GET_NO_NEW_PRIVS              = 0x27
-       PR_GET_PDEATHSIG                 = 0x2
-       PR_GET_SECCOMP                   = 0x15
-       PR_GET_SECUREBITS                = 0x1b
-       PR_GET_THP_DISABLE               = 0x2a
-       PR_GET_TID_ADDRESS               = 0x28
-       PR_GET_TIMERSLACK                = 0x1e
-       PR_GET_TIMING                    = 0xd
-       PR_GET_TSC                       = 0x19
-       PR_GET_UNALIGN                   = 0x5
-       PR_MCE_KILL                      = 0x21
-       PR_MCE_KILL_CLEAR                = 0x0
-       PR_MCE_KILL_DEFAULT              = 0x2
-       PR_MCE_KILL_EARLY                = 0x1
-       PR_MCE_KILL_GET                  = 0x22
-       PR_MCE_KILL_LATE                 = 0x0
-       PR_MCE_KILL_SET                  = 0x1
-       PR_MPX_DISABLE_MANAGEMENT        = 0x2c
-       PR_MPX_ENABLE_MANAGEMENT         = 0x2b
-       PR_SET_CHILD_SUBREAPER           = 0x24
-       PR_SET_DUMPABLE                  = 0x4
-       PR_SET_ENDIAN                    = 0x14
-       PR_SET_FPEMU                     = 0xa
-       PR_SET_FPEXC                     = 0xc
-       PR_SET_FP_MODE                   = 0x2d
-       PR_SET_KEEPCAPS                  = 0x8
-       PR_SET_MM                        = 0x23
-       PR_SET_MM_ARG_END                = 0x9
-       PR_SET_MM_ARG_START              = 0x8
-       PR_SET_MM_AUXV                   = 0xc
-       PR_SET_MM_BRK                    = 0x7
-       PR_SET_MM_END_CODE               = 0x2
-       PR_SET_MM_END_DATA               = 0x4
-       PR_SET_MM_ENV_END                = 0xb
-       PR_SET_MM_ENV_START              = 0xa
-       PR_SET_MM_EXE_FILE               = 0xd
-       PR_SET_MM_MAP                    = 0xe
-       PR_SET_MM_MAP_SIZE               = 0xf
-       PR_SET_MM_START_BRK              = 0x6
-       PR_SET_MM_START_CODE             = 0x1
-       PR_SET_MM_START_DATA             = 0x3
-       PR_SET_MM_START_STACK            = 0x5
-       PR_SET_NAME                      = 0xf
-       PR_SET_NO_NEW_PRIVS              = 0x26
-       PR_SET_PDEATHSIG                 = 0x1
-       PR_SET_PTRACER                   = 0x59616d61
-       PR_SET_PTRACER_ANY               = 0xffffffff
-       PR_SET_SECCOMP                   = 0x16
-       PR_SET_SECUREBITS                = 0x1c
-       PR_SET_THP_DISABLE               = 0x29
-       PR_SET_TIMERSLACK                = 0x1d
-       PR_SET_TIMING                    = 0xe
-       PR_SET_TSC                       = 0x1a
-       PR_SET_UNALIGN                   = 0x6
-       PR_TASK_PERF_EVENTS_DISABLE      = 0x1f
-       PR_TASK_PERF_EVENTS_ENABLE       = 0x20
-       PR_TIMING_STATISTICAL            = 0x0
-       PR_TIMING_TIMESTAMP              = 0x1
-       PR_TSC_ENABLE                    = 0x1
-       PR_TSC_SIGSEGV                   = 0x2
-       PR_UNALIGN_NOPRINT               = 0x1
-       PR_UNALIGN_SIGBUS                = 0x2
-       PTRACE_ATTACH                    = 0x10
-       PTRACE_CONT                      = 0x7
-       PTRACE_DETACH                    = 0x11
-       PTRACE_EVENT_CLONE               = 0x3
-       PTRACE_EVENT_EXEC                = 0x4
-       PTRACE_EVENT_EXIT                = 0x6
-       PTRACE_EVENT_FORK                = 0x1
-       PTRACE_EVENT_SECCOMP             = 0x7
-       PTRACE_EVENT_STOP                = 0x80
-       PTRACE_EVENT_VFORK               = 0x2
-       PTRACE_EVENT_VFORK_DONE          = 0x5
-       PTRACE_GETEVENTMSG               = 0x4201
-       PTRACE_GETFPREGS                 = 0xe
-       PTRACE_GETREGS                   = 0xc
-       PTRACE_GETREGSET                 = 0x4204
-       PTRACE_GETSIGINFO                = 0x4202
-       PTRACE_GETSIGMASK                = 0x420a
-       PTRACE_GET_THREAD_AREA           = 0x19
-       PTRACE_GET_THREAD_AREA_3264      = 0xc4
-       PTRACE_GET_WATCH_REGS            = 0xd0
-       PTRACE_INTERRUPT                 = 0x4207
-       PTRACE_KILL                      = 0x8
-       PTRACE_LISTEN                    = 0x4208
-       PTRACE_OLDSETOPTIONS             = 0x15
-       PTRACE_O_EXITKILL                = 0x100000
-       PTRACE_O_MASK                    = 0x3000ff
-       PTRACE_O_SUSPEND_SECCOMP         = 0x200000
-       PTRACE_O_TRACECLONE              = 0x8
-       PTRACE_O_TRACEEXEC               = 0x10
-       PTRACE_O_TRACEEXIT               = 0x40
-       PTRACE_O_TRACEFORK               = 0x2
-       PTRACE_O_TRACESECCOMP            = 0x80
-       PTRACE_O_TRACESYSGOOD            = 0x1
-       PTRACE_O_TRACEVFORK              = 0x4
-       PTRACE_O_TRACEVFORKDONE          = 0x20
-       PTRACE_PEEKDATA                  = 0x2
-       PTRACE_PEEKDATA_3264             = 0xc1
-       PTRACE_PEEKSIGINFO               = 0x4209
-       PTRACE_PEEKSIGINFO_SHARED        = 0x1
-       PTRACE_PEEKTEXT                  = 0x1
-       PTRACE_PEEKTEXT_3264             = 0xc0
-       PTRACE_PEEKUSR                   = 0x3
-       PTRACE_POKEDATA                  = 0x5
-       PTRACE_POKEDATA_3264             = 0xc3
-       PTRACE_POKETEXT                  = 0x4
-       PTRACE_POKETEXT_3264             = 0xc2
-       PTRACE_POKEUSR                   = 0x6
-       PTRACE_SECCOMP_GET_FILTER        = 0x420c
-       PTRACE_SEIZE                     = 0x4206
-       PTRACE_SETFPREGS                 = 0xf
-       PTRACE_SETOPTIONS                = 0x4200
-       PTRACE_SETREGS                   = 0xd
-       PTRACE_SETREGSET                 = 0x4205
-       PTRACE_SETSIGINFO                = 0x4203
-       PTRACE_SETSIGMASK                = 0x420b
-       PTRACE_SET_THREAD_AREA           = 0x1a
-       PTRACE_SET_WATCH_REGS            = 0xd1
-       PTRACE_SINGLESTEP                = 0x9
-       PTRACE_SYSCALL                   = 0x18
-       PTRACE_TRACEME                   = 0x0
-       RLIMIT_AS                        = 0x6
-       RLIMIT_CORE                      = 0x4
-       RLIMIT_CPU                       = 0x0
-       RLIMIT_DATA                      = 0x2
-       RLIMIT_FSIZE                     = 0x1
-       RLIMIT_NOFILE                    = 0x5
-       RLIMIT_STACK                     = 0x3
-       RLIM_INFINITY                    = -0x1
-       RTAX_ADVMSS                      = 0x8
-       RTAX_CC_ALGO                     = 0x10
-       RTAX_CWND                        = 0x7
-       RTAX_FEATURES                    = 0xc
-       RTAX_FEATURE_ALLFRAG             = 0x8
-       RTAX_FEATURE_ECN                 = 0x1
-       RTAX_FEATURE_MASK                = 0xf
-       RTAX_FEATURE_SACK                = 0x2
-       RTAX_FEATURE_TIMESTAMP           = 0x4
-       RTAX_HOPLIMIT                    = 0xa
-       RTAX_INITCWND                    = 0xb
-       RTAX_INITRWND                    = 0xe
-       RTAX_LOCK                        = 0x1
-       RTAX_MAX                         = 0x10
-       RTAX_MTU                         = 0x2
-       RTAX_QUICKACK                    = 0xf
-       RTAX_REORDERING                  = 0x9
-       RTAX_RTO_MIN                     = 0xd
-       RTAX_RTT                         = 0x4
-       RTAX_RTTVAR                      = 0x5
-       RTAX_SSTHRESH                    = 0x6
-       RTAX_UNSPEC                      = 0x0
-       RTAX_WINDOW                      = 0x3
-       RTA_ALIGNTO                      = 0x4
-       RTA_MAX                          = 0x19
-       RTCF_DIRECTSRC                   = 0x4000000
-       RTCF_DOREDIRECT                  = 0x1000000
-       RTCF_LOG                         = 0x2000000
-       RTCF_MASQ                        = 0x400000
-       RTCF_NAT                         = 0x800000
-       RTCF_VALVE                       = 0x200000
-       RTF_ADDRCLASSMASK                = 0xf8000000
-       RTF_ADDRCONF                     = 0x40000
-       RTF_ALLONLINK                    = 0x20000
-       RTF_BROADCAST                    = 0x10000000
-       RTF_CACHE                        = 0x1000000
-       RTF_DEFAULT                      = 0x10000
-       RTF_DYNAMIC                      = 0x10
-       RTF_FLOW                         = 0x2000000
-       RTF_GATEWAY                      = 0x2
-       RTF_HOST                         = 0x4
-       RTF_INTERFACE                    = 0x40000000
-       RTF_IRTT                         = 0x100
-       RTF_LINKRT                       = 0x100000
-       RTF_LOCAL                        = 0x80000000
-       RTF_MODIFIED                     = 0x20
-       RTF_MSS                          = 0x40
-       RTF_MTU                          = 0x40
-       RTF_MULTICAST                    = 0x20000000
-       RTF_NAT                          = 0x8000000
-       RTF_NOFORWARD                    = 0x1000
-       RTF_NONEXTHOP                    = 0x200000
-       RTF_NOPMTUDISC                   = 0x4000
-       RTF_POLICY                       = 0x4000000
-       RTF_REINSTATE                    = 0x8
-       RTF_REJECT                       = 0x200
-       RTF_STATIC                       = 0x400
-       RTF_THROW                        = 0x2000
-       RTF_UP                           = 0x1
-       RTF_WINDOW                       = 0x80
-       RTF_XRESOLVE                     = 0x800
-       RTM_BASE                         = 0x10
-       RTM_DELACTION                    = 0x31
-       RTM_DELADDR                      = 0x15
-       RTM_DELADDRLABEL                 = 0x49
-       RTM_DELLINK                      = 0x11
-       RTM_DELMDB                       = 0x55
-       RTM_DELNEIGH                     = 0x1d
-       RTM_DELNSID                      = 0x59
-       RTM_DELQDISC                     = 0x25
-       RTM_DELROUTE                     = 0x19
-       RTM_DELRULE                      = 0x21
-       RTM_DELTCLASS                    = 0x29
-       RTM_DELTFILTER                   = 0x2d
-       RTM_F_CLONED                     = 0x200
-       RTM_F_EQUALIZE                   = 0x400
-       RTM_F_LOOKUP_TABLE               = 0x1000
-       RTM_F_NOTIFY                     = 0x100
-       RTM_F_PREFIX                     = 0x800
-       RTM_GETACTION                    = 0x32
-       RTM_GETADDR                      = 0x16
-       RTM_GETADDRLABEL                 = 0x4a
-       RTM_GETANYCAST                   = 0x3e
-       RTM_GETDCB                       = 0x4e
-       RTM_GETLINK                      = 0x12
-       RTM_GETMDB                       = 0x56
-       RTM_GETMULTICAST                 = 0x3a
-       RTM_GETNEIGH                     = 0x1e
-       RTM_GETNEIGHTBL                  = 0x42
-       RTM_GETNETCONF                   = 0x52
-       RTM_GETNSID                      = 0x5a
-       RTM_GETQDISC                     = 0x26
-       RTM_GETROUTE                     = 0x1a
-       RTM_GETRULE                      = 0x22
-       RTM_GETSTATS                     = 0x5e
-       RTM_GETTCLASS                    = 0x2a
-       RTM_GETTFILTER                   = 0x2e
-       RTM_MAX                          = 0x5f
-       RTM_NEWACTION                    = 0x30
-       RTM_NEWADDR                      = 0x14
-       RTM_NEWADDRLABEL                 = 0x48
-       RTM_NEWLINK                      = 0x10
-       RTM_NEWMDB                       = 0x54
-       RTM_NEWNDUSEROPT                 = 0x44
-       RTM_NEWNEIGH                     = 0x1c
-       RTM_NEWNEIGHTBL                  = 0x40
-       RTM_NEWNETCONF                   = 0x50
-       RTM_NEWNSID                      = 0x58
-       RTM_NEWPREFIX                    = 0x34
-       RTM_NEWQDISC                     = 0x24
-       RTM_NEWROUTE                     = 0x18
-       RTM_NEWRULE                      = 0x20
-       RTM_NEWSTATS                     = 0x5c
-       RTM_NEWTCLASS                    = 0x28
-       RTM_NEWTFILTER                   = 0x2c
-       RTM_NR_FAMILIES                  = 0x14
-       RTM_NR_MSGTYPES                  = 0x50
-       RTM_SETDCB                       = 0x4f
-       RTM_SETLINK                      = 0x13
-       RTM_SETNEIGHTBL                  = 0x43
-       RTNH_ALIGNTO                     = 0x4
-       RTNH_COMPARE_MASK                = 0x19
-       RTNH_F_DEAD                      = 0x1
-       RTNH_F_LINKDOWN                  = 0x10
-       RTNH_F_OFFLOAD                   = 0x8
-       RTNH_F_ONLINK                    = 0x4
-       RTNH_F_PERVASIVE                 = 0x2
-       RTN_MAX                          = 0xb
-       RTPROT_BABEL                     = 0x2a
-       RTPROT_BIRD                      = 0xc
-       RTPROT_BOOT                      = 0x3
-       RTPROT_DHCP                      = 0x10
-       RTPROT_DNROUTED                  = 0xd
-       RTPROT_GATED                     = 0x8
-       RTPROT_KERNEL                    = 0x2
-       RTPROT_MROUTED                   = 0x11
-       RTPROT_MRT                       = 0xa
-       RTPROT_NTK                       = 0xf
-       RTPROT_RA                        = 0x9
-       RTPROT_REDIRECT                  = 0x1
-       RTPROT_STATIC                    = 0x4
-       RTPROT_UNSPEC                    = 0x0
-       RTPROT_XORP                      = 0xe
-       RTPROT_ZEBRA                     = 0xb
-       RT_CLASS_DEFAULT                 = 0xfd
-       RT_CLASS_LOCAL                   = 0xff
-       RT_CLASS_MAIN                    = 0xfe
-       RT_CLASS_MAX                     = 0xff
-       RT_CLASS_UNSPEC                  = 0x0
-       RUSAGE_CHILDREN                  = -0x1
-       RUSAGE_SELF                      = 0x0
-       RUSAGE_THREAD                    = 0x1
-       SCM_CREDENTIALS                  = 0x2
-       SCM_RIGHTS                       = 0x1
-       SCM_TIMESTAMP                    = 0x1d
-       SCM_TIMESTAMPING                 = 0x25
-       SCM_TIMESTAMPING_OPT_STATS       = 0x36
-       SCM_TIMESTAMPNS                  = 0x23
-       SCM_WIFI_STATUS                  = 0x29
-       SHUT_RD                          = 0x0
-       SHUT_RDWR                        = 0x2
-       SHUT_WR                          = 0x1
-       SIOCADDDLCI                      = 0x8980
-       SIOCADDMULTI                     = 0x8931
-       SIOCADDRT                        = 0x890b
-       SIOCATMARK                       = 0x40047307
-       SIOCDARP                         = 0x8953
-       SIOCDELDLCI                      = 0x8981
-       SIOCDELMULTI                     = 0x8932
-       SIOCDELRT                        = 0x890c
-       SIOCDEVPRIVATE                   = 0x89f0
-       SIOCDIFADDR                      = 0x8936
-       SIOCDRARP                        = 0x8960
-       SIOCGARP                         = 0x8954
-       SIOCGIFADDR                      = 0x8915
-       SIOCGIFBR                        = 0x8940
-       SIOCGIFBRDADDR                   = 0x8919
-       SIOCGIFCONF                      = 0x8912
-       SIOCGIFCOUNT                     = 0x8938
-       SIOCGIFDSTADDR                   = 0x8917
-       SIOCGIFENCAP                     = 0x8925
-       SIOCGIFFLAGS                     = 0x8913
-       SIOCGIFHWADDR                    = 0x8927
-       SIOCGIFINDEX                     = 0x8933
-       SIOCGIFMAP                       = 0x8970
-       SIOCGIFMEM                       = 0x891f
-       SIOCGIFMETRIC                    = 0x891d
-       SIOCGIFMTU                       = 0x8921
-       SIOCGIFNAME                      = 0x8910
-       SIOCGIFNETMASK                   = 0x891b
-       SIOCGIFPFLAGS                    = 0x8935
-       SIOCGIFSLAVE                     = 0x8929
-       SIOCGIFTXQLEN                    = 0x8942
-       SIOCGPGRP                        = 0x40047309
-       SIOCGRARP                        = 0x8961
-       SIOCGSTAMP                       = 0x8906
-       SIOCGSTAMPNS                     = 0x8907
-       SIOCPROTOPRIVATE                 = 0x89e0
-       SIOCRTMSG                        = 0x890d
-       SIOCSARP                         = 0x8955
-       SIOCSIFADDR                      = 0x8916
-       SIOCSIFBR                        = 0x8941
-       SIOCSIFBRDADDR                   = 0x891a
-       SIOCSIFDSTADDR                   = 0x8918
-       SIOCSIFENCAP                     = 0x8926
-       SIOCSIFFLAGS                     = 0x8914
-       SIOCSIFHWADDR                    = 0x8924
-       SIOCSIFHWBROADCAST               = 0x8937
-       SIOCSIFLINK                      = 0x8911
-       SIOCSIFMAP                       = 0x8971
-       SIOCSIFMEM                       = 0x8920
-       SIOCSIFMETRIC                    = 0x891e
-       SIOCSIFMTU                       = 0x8922
-       SIOCSIFNAME                      = 0x8923
-       SIOCSIFNETMASK                   = 0x891c
-       SIOCSIFPFLAGS                    = 0x8934
-       SIOCSIFSLAVE                     = 0x8930
-       SIOCSIFTXQLEN                    = 0x8943
-       SIOCSPGRP                        = 0x80047308
-       SIOCSRARP                        = 0x8962
-       SOCK_CLOEXEC                     = 0x80000
-       SOCK_DCCP                        = 0x6
-       SOCK_DGRAM                       = 0x1
-       SOCK_NONBLOCK                    = 0x80
-       SOCK_PACKET                      = 0xa
-       SOCK_RAW                         = 0x3
-       SOCK_RDM                         = 0x4
-       SOCK_SEQPACKET                   = 0x5
-       SOCK_STREAM                      = 0x2
-       SOL_AAL                          = 0x109
-       SOL_ALG                          = 0x117
-       SOL_ATM                          = 0x108
-       SOL_CAIF                         = 0x116
-       SOL_CAN_BASE                     = 0x64
-       SOL_DCCP                         = 0x10d
-       SOL_DECNET                       = 0x105
-       SOL_ICMPV6                       = 0x3a
-       SOL_IP                           = 0x0
-       SOL_IPV6                         = 0x29
-       SOL_IRDA                         = 0x10a
-       SOL_IUCV                         = 0x115
-       SOL_KCM                          = 0x119
-       SOL_LLC                          = 0x10c
-       SOL_NETBEUI                      = 0x10b
-       SOL_NETLINK                      = 0x10e
-       SOL_NFC                          = 0x118
-       SOL_PACKET                       = 0x107
-       SOL_PNPIPE                       = 0x113
-       SOL_PPPOL2TP                     = 0x111
-       SOL_RAW                          = 0xff
-       SOL_RDS                          = 0x114
-       SOL_RXRPC                        = 0x110
-       SOL_SOCKET                       = 0xffff
-       SOL_TCP                          = 0x6
-       SOL_TIPC                         = 0x10f
-       SOL_X25                          = 0x106
-       SOMAXCONN                        = 0x80
-       SO_ACCEPTCONN                    = 0x1009
-       SO_ATTACH_BPF                    = 0x32
-       SO_ATTACH_FILTER                 = 0x1a
-       SO_ATTACH_REUSEPORT_CBPF         = 0x33
-       SO_ATTACH_REUSEPORT_EBPF         = 0x34
-       SO_BINDTODEVICE                  = 0x19
-       SO_BPF_EXTENSIONS                = 0x30
-       SO_BROADCAST                     = 0x20
-       SO_BSDCOMPAT                     = 0xe
-       SO_BUSY_POLL                     = 0x2e
-       SO_CNX_ADVICE                    = 0x35
-       SO_DEBUG                         = 0x1
-       SO_DETACH_BPF                    = 0x1b
-       SO_DETACH_FILTER                 = 0x1b
-       SO_DOMAIN                        = 0x1029
-       SO_DONTROUTE                     = 0x10
-       SO_ERROR                         = 0x1007
-       SO_GET_FILTER                    = 0x1a
-       SO_INCOMING_CPU                  = 0x31
-       SO_KEEPALIVE                     = 0x8
-       SO_LINGER                        = 0x80
-       SO_LOCK_FILTER                   = 0x2c
-       SO_MARK                          = 0x24
-       SO_MAX_PACING_RATE               = 0x2f
-       SO_NOFCS                         = 0x2b
-       SO_NO_CHECK                      = 0xb
-       SO_OOBINLINE                     = 0x100
-       SO_PASSCRED                      = 0x11
-       SO_PASSSEC                       = 0x22
-       SO_PEEK_OFF                      = 0x2a
-       SO_PEERCRED                      = 0x12
-       SO_PEERNAME                      = 0x1c
-       SO_PEERSEC                       = 0x1e
-       SO_PRIORITY                      = 0xc
-       SO_PROTOCOL                      = 0x1028
-       SO_RCVBUF                        = 0x1002
-       SO_RCVBUFFORCE                   = 0x21
-       SO_RCVLOWAT                      = 0x1004
-       SO_RCVTIMEO                      = 0x1006
-       SO_REUSEADDR                     = 0x4
-       SO_REUSEPORT                     = 0x200
-       SO_RXQ_OVFL                      = 0x28
-       SO_SECURITY_AUTHENTICATION       = 0x16
-       SO_SECURITY_ENCRYPTION_NETWORK   = 0x18
-       SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-       SO_SELECT_ERR_QUEUE              = 0x2d
-       SO_SNDBUF                        = 0x1001
-       SO_SNDBUFFORCE                   = 0x1f
-       SO_SNDLOWAT                      = 0x1003
-       SO_SNDTIMEO                      = 0x1005
-       SO_STYLE                         = 0x1008
-       SO_TIMESTAMP                     = 0x1d
-       SO_TIMESTAMPING                  = 0x25
-       SO_TIMESTAMPNS                   = 0x23
-       SO_TYPE                          = 0x1008
-       SO_VM_SOCKETS_BUFFER_MAX_SIZE    = 0x2
-       SO_VM_SOCKETS_BUFFER_MIN_SIZE    = 0x1
-       SO_VM_SOCKETS_BUFFER_SIZE        = 0x0
-       SO_VM_SOCKETS_CONNECT_TIMEOUT    = 0x6
-       SO_VM_SOCKETS_NONBLOCK_TXRX      = 0x7
-       SO_VM_SOCKETS_PEER_HOST_VM_ID    = 0x3
-       SO_VM_SOCKETS_TRUSTED            = 0x5
-       SO_WIFI_STATUS                   = 0x29
-       SPLICE_F_GIFT                    = 0x8
-       SPLICE_F_MORE                    = 0x4
-       SPLICE_F_MOVE                    = 0x1
-       SPLICE_F_NONBLOCK                = 0x2
-       S_BLKSIZE                        = 0x200
-       S_IEXEC                          = 0x40
-       S_IFBLK                          = 0x6000
-       S_IFCHR                          = 0x2000
-       S_IFDIR                          = 0x4000
-       S_IFIFO                          = 0x1000
-       S_IFLNK                          = 0xa000
-       S_IFMT                           = 0xf000
-       S_IFREG                          = 0x8000
-       S_IFSOCK                         = 0xc000
-       S_IREAD                          = 0x100
-       S_IRGRP                          = 0x20
-       S_IROTH                          = 0x4
-       S_IRUSR                          = 0x100
-       S_IRWXG                          = 0x38
-       S_IRWXO                          = 0x7
-       S_IRWXU                          = 0x1c0
-       S_ISGID                          = 0x400
-       S_ISUID                          = 0x800
-       S_ISVTX                          = 0x200
-       S_IWGRP                          = 0x10
-       S_IWOTH                          = 0x2
-       S_IWRITE                         = 0x80
-       S_IWUSR                          = 0x80
-       S_IXGRP                          = 0x8
-       S_IXOTH                          = 0x1
-       S_IXUSR                          = 0x40
-       TAB0                             = 0x0
-       TAB1                             = 0x800
-       TAB2                             = 0x1000
-       TAB3                             = 0x1800
-       TABDLY                           = 0x1800
-       TCFLSH                           = 0x5407
-       TCGETA                           = 0x5401
-       TCGETS                           = 0x540d
-       TCGETS2                          = 0x4030542a
-       TCIFLUSH                         = 0x0
-       TCIOFF                           = 0x2
-       TCIOFLUSH                        = 0x2
-       TCION                            = 0x3
-       TCOFLUSH                         = 0x1
-       TCOOFF                           = 0x0
-       TCOON                            = 0x1
-       TCP_CC_INFO                      = 0x1a
-       TCP_CONGESTION                   = 0xd
-       TCP_COOKIE_IN_ALWAYS             = 0x1
-       TCP_COOKIE_MAX                   = 0x10
-       TCP_COOKIE_MIN                   = 0x8
-       TCP_COOKIE_OUT_NEVER             = 0x2
-       TCP_COOKIE_PAIR_SIZE             = 0x20
-       TCP_COOKIE_TRANSACTIONS          = 0xf
-       TCP_CORK                         = 0x3
-       TCP_DEFER_ACCEPT                 = 0x9
-       TCP_FASTOPEN                     = 0x17
-       TCP_INFO                         = 0xb
-       TCP_KEEPCNT                      = 0x6
-       TCP_KEEPIDLE                     = 0x4
-       TCP_KEEPINTVL                    = 0x5
-       TCP_LINGER2                      = 0x8
-       TCP_MAXSEG                       = 0x2
-       TCP_MAXWIN                       = 0xffff
-       TCP_MAX_WINSHIFT                 = 0xe
-       TCP_MD5SIG                       = 0xe
-       TCP_MD5SIG_MAXKEYLEN             = 0x50
-       TCP_MSS                          = 0x200
-       TCP_MSS_DEFAULT                  = 0x218
-       TCP_MSS_DESIRED                  = 0x4c4
-       TCP_NODELAY                      = 0x1
-       TCP_NOTSENT_LOWAT                = 0x19
-       TCP_QUEUE_SEQ                    = 0x15
-       TCP_QUICKACK                     = 0xc
-       TCP_REPAIR                       = 0x13
-       TCP_REPAIR_OPTIONS               = 0x16
-       TCP_REPAIR_QUEUE                 = 0x14
-       TCP_REPAIR_WINDOW                = 0x1d
-       TCP_SAVED_SYN                    = 0x1c
-       TCP_SAVE_SYN                     = 0x1b
-       TCP_SYNCNT                       = 0x7
-       TCP_S_DATA_IN                    = 0x4
-       TCP_S_DATA_OUT                   = 0x8
-       TCP_THIN_DUPACK                  = 0x11
-       TCP_THIN_LINEAR_TIMEOUTS         = 0x10
-       TCP_TIMESTAMP                    = 0x18
-       TCP_USER_TIMEOUT                 = 0x12
-       TCP_WINDOW_CLAMP                 = 0xa
-       TCSAFLUSH                        = 0x5410
-       TCSBRK                           = 0x5405
-       TCSBRKP                          = 0x5486
-       TCSETA                           = 0x5402
-       TCSETAF                          = 0x5404
-       TCSETAW                          = 0x5403
-       TCSETS                           = 0x540e
-       TCSETS2                          = 0x8030542b
-       TCSETSF                          = 0x5410
-       TCSETSF2                         = 0x8030542d
-       TCSETSW                          = 0x540f
-       TCSETSW2                         = 0x8030542c
-       TCXONC                           = 0x5406
-       TIOCCBRK                         = 0x5428
-       TIOCCONS                         = 0x80047478
-       TIOCEXCL                         = 0x740d
-       TIOCGDEV                         = 0x40045432
-       TIOCGETD                         = 0x7400
-       TIOCGETP                         = 0x7408
-       TIOCGEXCL                        = 0x40045440
-       TIOCGICOUNT                      = 0x5492
-       TIOCGLCKTRMIOS                   = 0x548b
-       TIOCGLTC                         = 0x7474
-       TIOCGPGRP                        = 0x40047477
-       TIOCGPKT                         = 0x40045438
-       TIOCGPTLCK                       = 0x40045439
-       TIOCGPTN                         = 0x40045430
-       TIOCGRS485                       = 0x4020542e
-       TIOCGSERIAL                      = 0x5484
-       TIOCGSID                         = 0x7416
-       TIOCGSOFTCAR                     = 0x5481
-       TIOCGWINSZ                       = 0x40087468
-       TIOCINQ                          = 0x467f
-       TIOCLINUX                        = 0x5483
-       TIOCMBIC                         = 0x741c
-       TIOCMBIS                         = 0x741b
-       TIOCMGET                         = 0x741d
-       TIOCMIWAIT                       = 0x5491
-       TIOCMSET                         = 0x741a
-       TIOCM_CAR                        = 0x100
-       TIOCM_CD                         = 0x100
-       TIOCM_CTS                        = 0x40
-       TIOCM_DSR                        = 0x400
-       TIOCM_DTR                        = 0x2
-       TIOCM_LE                         = 0x1
-       TIOCM_RI                         = 0x200
-       TIOCM_RNG                        = 0x200
-       TIOCM_RTS                        = 0x4
-       TIOCM_SR                         = 0x20
-       TIOCM_ST                         = 0x10
-       TIOCNOTTY                        = 0x5471
-       TIOCNXCL                         = 0x740e
-       TIOCOUTQ                         = 0x7472
-       TIOCPKT                          = 0x5470
-       TIOCPKT_DATA                     = 0x0
-       TIOCPKT_DOSTOP                   = 0x20
-       TIOCPKT_FLUSHREAD                = 0x1
-       TIOCPKT_FLUSHWRITE               = 0x2
-       TIOCPKT_IOCTL                    = 0x40
-       TIOCPKT_NOSTOP                   = 0x10
-       TIOCPKT_START                    = 0x8
-       TIOCPKT_STOP                     = 0x4
-       TIOCSBRK                         = 0x5427
-       TIOCSCTTY                        = 0x5480
-       TIOCSERCONFIG                    = 0x5488
-       TIOCSERGETLSR                    = 0x548e
-       TIOCSERGETMULTI                  = 0x548f
-       TIOCSERGSTRUCT                   = 0x548d
-       TIOCSERGWILD                     = 0x5489
-       TIOCSERSETMULTI                  = 0x5490
-       TIOCSERSWILD                     = 0x548a
-       TIOCSER_TEMT                     = 0x1
-       TIOCSETD                         = 0x7401
-       TIOCSETN                         = 0x740a
-       TIOCSETP                         = 0x7409
-       TIOCSIG                          = 0x80045436
-       TIOCSLCKTRMIOS                   = 0x548c
-       TIOCSLTC                         = 0x7475
-       TIOCSPGRP                        = 0x80047476
-       TIOCSPTLCK                       = 0x80045431
-       TIOCSRS485                       = 0xc020542f
-       TIOCSSERIAL                      = 0x5485
-       TIOCSSOFTCAR                     = 0x5482
-       TIOCSTI                          = 0x5472
-       TIOCSWINSZ                       = 0x80087467
-       TIOCVHANGUP                      = 0x5437
-       TOSTOP                           = 0x8000
-       TUNATTACHFILTER                  = 0x800854d5
-       TUNDETACHFILTER                  = 0x800854d6
-       TUNGETFEATURES                   = 0x400454cf
-       TUNGETFILTER                     = 0x400854db
-       TUNGETIFF                        = 0x400454d2
-       TUNGETSNDBUF                     = 0x400454d3
-       TUNGETVNETBE                     = 0x400454df
-       TUNGETVNETHDRSZ                  = 0x400454d7
-       TUNGETVNETLE                     = 0x400454dd
-       TUNSETDEBUG                      = 0x800454c9
-       TUNSETGROUP                      = 0x800454ce
-       TUNSETIFF                        = 0x800454ca
-       TUNSETIFINDEX                    = 0x800454da
-       TUNSETLINK                       = 0x800454cd
-       TUNSETNOCSUM                     = 0x800454c8
-       TUNSETOFFLOAD                    = 0x800454d0
-       TUNSETOWNER                      = 0x800454cc
-       TUNSETPERSIST                    = 0x800454cb
-       TUNSETQUEUE                      = 0x800454d9
-       TUNSETSNDBUF                     = 0x800454d4
-       TUNSETTXFILTER                   = 0x800454d1
-       TUNSETVNETBE                     = 0x800454de
-       TUNSETVNETHDRSZ                  = 0x800454d8
-       TUNSETVNETLE                     = 0x800454dc
-       VDISCARD                         = 0xd
-       VEOF                             = 0x10
-       VEOL                             = 0x11
-       VEOL2                            = 0x6
-       VERASE                           = 0x2
-       VINTR                            = 0x0
-       VKILL                            = 0x3
-       VLNEXT                           = 0xf
-       VMADDR_CID_ANY                   = 0xffffffff
-       VMADDR_CID_HOST                  = 0x2
-       VMADDR_CID_HYPERVISOR            = 0x0
-       VMADDR_CID_RESERVED              = 0x1
-       VMADDR_PORT_ANY                  = 0xffffffff
-       VMIN                             = 0x4
-       VM_SOCKETS_INVALID_VERSION       = 0xffffffff
-       VQUIT                            = 0x1
-       VREPRINT                         = 0xc
-       VSTART                           = 0x8
-       VSTOP                            = 0x9
-       VSUSP                            = 0xa
-       VSWTC                            = 0x7
-       VSWTCH                           = 0x7
-       VT0                              = 0x0
-       VT1                              = 0x4000
-       VTDLY                            = 0x4000
-       VTIME                            = 0x5
-       VWERASE                          = 0xe
-       WALL                             = 0x40000000
-       WCLONE                           = 0x80000000
-       WCONTINUED                       = 0x8
-       WEXITED                          = 0x4
-       WNOHANG                          = 0x1
-       WNOTHREAD                        = 0x20000000
-       WNOWAIT                          = 0x1000000
-       WORDSIZE                         = 0x20
-       WSTOPPED                         = 0x2
-       WUNTRACED                        = 0x2
-       XCASE                            = 0x4
-       XTABS                            = 0x1800
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x7d)
-       EADDRNOTAVAIL   = syscall.Errno(0x7e)
-       EADV            = syscall.Errno(0x44)
-       EAFNOSUPPORT    = syscall.Errno(0x7c)
-       EAGAIN          = syscall.Errno(0xb)
-       EALREADY        = syscall.Errno(0x95)
-       EBADE           = syscall.Errno(0x32)
-       EBADF           = syscall.Errno(0x9)
-       EBADFD          = syscall.Errno(0x51)
-       EBADMSG         = syscall.Errno(0x4d)
-       EBADR           = syscall.Errno(0x33)
-       EBADRQC         = syscall.Errno(0x36)
-       EBADSLT         = syscall.Errno(0x37)
-       EBFONT          = syscall.Errno(0x3b)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x9e)
-       ECHILD          = syscall.Errno(0xa)
-       ECHRNG          = syscall.Errno(0x25)
-       ECOMM           = syscall.Errno(0x46)
-       ECONNABORTED    = syscall.Errno(0x82)
-       ECONNREFUSED    = syscall.Errno(0x92)
-       ECONNRESET      = syscall.Errno(0x83)
-       EDEADLK         = syscall.Errno(0x2d)
-       EDEADLOCK       = syscall.Errno(0x38)
-       EDESTADDRREQ    = syscall.Errno(0x60)
-       EDOM            = syscall.Errno(0x21)
-       EDOTDOT         = syscall.Errno(0x49)
-       EDQUOT          = syscall.Errno(0x46d)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EHOSTDOWN       = syscall.Errno(0x93)
-       EHOSTUNREACH    = syscall.Errno(0x94)
-       EHWPOISON       = syscall.Errno(0xa8)
-       EIDRM           = syscall.Errno(0x24)
-       EILSEQ          = syscall.Errno(0x58)
-       EINIT           = syscall.Errno(0x8d)
-       EINPROGRESS     = syscall.Errno(0x96)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x85)
-       EISDIR          = syscall.Errno(0x15)
-       EISNAM          = syscall.Errno(0x8b)
-       EKEYEXPIRED     = syscall.Errno(0xa2)
-       EKEYREJECTED    = syscall.Errno(0xa4)
-       EKEYREVOKED     = syscall.Errno(0xa3)
-       EL2HLT          = syscall.Errno(0x2c)
-       EL2NSYNC        = syscall.Errno(0x26)
-       EL3HLT          = syscall.Errno(0x27)
-       EL3RST          = syscall.Errno(0x28)
-       ELIBACC         = syscall.Errno(0x53)
-       ELIBBAD         = syscall.Errno(0x54)
-       ELIBEXEC        = syscall.Errno(0x57)
-       ELIBMAX         = syscall.Errno(0x56)
-       ELIBSCN         = syscall.Errno(0x55)
-       ELNRNG          = syscall.Errno(0x29)
-       ELOOP           = syscall.Errno(0x5a)
-       EMEDIUMTYPE     = syscall.Errno(0xa0)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x61)
-       EMULTIHOP       = syscall.Errno(0x4a)
-       ENAMETOOLONG    = syscall.Errno(0x4e)
-       ENAVAIL         = syscall.Errno(0x8a)
-       ENETDOWN        = syscall.Errno(0x7f)
-       ENETRESET       = syscall.Errno(0x81)
-       ENETUNREACH     = syscall.Errno(0x80)
-       ENFILE          = syscall.Errno(0x17)
-       ENOANO          = syscall.Errno(0x35)
-       ENOBUFS         = syscall.Errno(0x84)
-       ENOCSI          = syscall.Errno(0x2b)
-       ENODATA         = syscall.Errno(0x3d)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOKEY          = syscall.Errno(0xa1)
-       ENOLCK          = syscall.Errno(0x2e)
-       ENOLINK         = syscall.Errno(0x43)
-       ENOMEDIUM       = syscall.Errno(0x9f)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x23)
-       ENONET          = syscall.Errno(0x40)
-       ENOPKG          = syscall.Errno(0x41)
-       ENOPROTOOPT     = syscall.Errno(0x63)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x3f)
-       ENOSTR          = syscall.Errno(0x3c)
-       ENOSYS          = syscall.Errno(0x59)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x86)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x5d)
-       ENOTNAM         = syscall.Errno(0x89)
-       ENOTRECOVERABLE = syscall.Errno(0xa6)
-       ENOTSOCK        = syscall.Errno(0x5f)
-       ENOTSUP         = syscall.Errno(0x7a)
-       ENOTTY          = syscall.Errno(0x19)
-       ENOTUNIQ        = syscall.Errno(0x50)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x7a)
-       EOVERFLOW       = syscall.Errno(0x4f)
-       EOWNERDEAD      = syscall.Errno(0xa5)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x7b)
-       EPIPE           = syscall.Errno(0x20)
-       EPROTO          = syscall.Errno(0x47)
-       EPROTONOSUPPORT = syscall.Errno(0x78)
-       EPROTOTYPE      = syscall.Errno(0x62)
-       ERANGE          = syscall.Errno(0x22)
-       EREMCHG         = syscall.Errno(0x52)
-       EREMDEV         = syscall.Errno(0x8e)
-       EREMOTE         = syscall.Errno(0x42)
-       EREMOTEIO       = syscall.Errno(0x8c)
-       ERESTART        = syscall.Errno(0x5b)
-       ERFKILL         = syscall.Errno(0xa7)
-       EROFS           = syscall.Errno(0x1e)
-       ESHUTDOWN       = syscall.Errno(0x8f)
-       ESOCKTNOSUPPORT = syscall.Errno(0x79)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESRMNT          = syscall.Errno(0x45)
-       ESTALE          = syscall.Errno(0x97)
-       ESTRPIPE        = syscall.Errno(0x5c)
-       ETIME           = syscall.Errno(0x3e)
-       ETIMEDOUT       = syscall.Errno(0x91)
-       ETOOMANYREFS    = syscall.Errno(0x90)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUCLEAN         = syscall.Errno(0x87)
-       EUNATCH         = syscall.Errno(0x2a)
-       EUSERS          = syscall.Errno(0x5e)
-       EWOULDBLOCK     = syscall.Errno(0xb)
-       EXDEV           = syscall.Errno(0x12)
-       EXFULL          = syscall.Errno(0x34)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x12)
-       SIGCLD    = syscall.Signal(0x12)
-       SIGCONT   = syscall.Signal(0x19)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x16)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPOLL   = syscall.Signal(0x16)
-       SIGPROF   = syscall.Signal(0x1d)
-       SIGPWR    = syscall.Signal(0x13)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x17)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x18)
-       SIGTTIN   = syscall.Signal(0x1a)
-       SIGTTOU   = syscall.Signal(0x1b)
-       SIGURG    = syscall.Signal(0x15)
-       SIGUSR1   = syscall.Signal(0x10)
-       SIGUSR2   = syscall.Signal(0x11)
-       SIGVTALRM = syscall.Signal(0x1c)
-       SIGWINCH  = syscall.Signal(0x14)
-       SIGXCPU   = syscall.Signal(0x1e)
-       SIGXFSZ   = syscall.Signal(0x1f)
-)
-
-// Error table
-var errors = [...]string{
-       1:    "operation not permitted",
-       2:    "no such file or directory",
-       3:    "no such process",
-       4:    "interrupted system call",
-       5:    "input/output error",
-       6:    "no such device or address",
-       7:    "argument list too long",
-       8:    "exec format error",
-       9:    "bad file descriptor",
-       10:   "no child processes",
-       11:   "resource temporarily unavailable",
-       12:   "cannot allocate memory",
-       13:   "permission denied",
-       14:   "bad address",
-       15:   "block device required",
-       16:   "device or resource busy",
-       17:   "file exists",
-       18:   "invalid cross-device link",
-       19:   "no such device",
-       20:   "not a directory",
-       21:   "is a directory",
-       22:   "invalid argument",
-       23:   "too many open files in system",
-       24:   "too many open files",
-       25:   "inappropriate ioctl for device",
-       26:   "text file busy",
-       27:   "file too large",
-       28:   "no space left on device",
-       29:   "illegal seek",
-       30:   "read-only file system",
-       31:   "too many links",
-       32:   "broken pipe",
-       33:   "numerical argument out of domain",
-       34:   "numerical result out of range",
-       35:   "no message of desired type",
-       36:   "identifier removed",
-       37:   "channel number out of range",
-       38:   "level 2 not synchronized",
-       39:   "level 3 halted",
-       40:   "level 3 reset",
-       41:   "link number out of range",
-       42:   "protocol driver not attached",
-       43:   "no CSI structure available",
-       44:   "level 2 halted",
-       45:   "resource deadlock avoided",
-       46:   "no locks available",
-       50:   "invalid exchange",
-       51:   "invalid request descriptor",
-       52:   "exchange full",
-       53:   "no anode",
-       54:   "invalid request code",
-       55:   "invalid slot",
-       56:   "file locking deadlock error",
-       59:   "bad font file format",
-       60:   "device not a stream",
-       61:   "no data available",
-       62:   "timer expired",
-       63:   "out of streams resources",
-       64:   "machine is not on the network",
-       65:   "package not installed",
-       66:   "object is remote",
-       67:   "link has been severed",
-       68:   "advertise error",
-       69:   "srmount error",
-       70:   "communication error on send",
-       71:   "protocol error",
-       73:   "RFS specific error",
-       74:   "multihop attempted",
-       77:   "bad message",
-       78:   "file name too long",
-       79:   "value too large for defined data type",
-       80:   "name not unique on network",
-       81:   "file descriptor in bad state",
-       82:   "remote address changed",
-       83:   "can not access a needed shared library",
-       84:   "accessing a corrupted shared library",
-       85:   ".lib section in a.out corrupted",
-       86:   "attempting to link in too many shared libraries",
-       87:   "cannot exec a shared library directly",
-       88:   "invalid or incomplete multibyte or wide character",
-       89:   "function not implemented",
-       90:   "too many levels of symbolic links",
-       91:   "interrupted system call should be restarted",
-       92:   "streams pipe error",
-       93:   "directory not empty",
-       94:   "too many users",
-       95:   "socket operation on non-socket",
-       96:   "destination address required",
-       97:   "message too long",
-       98:   "protocol wrong type for socket",
-       99:   "protocol not available",
-       120:  "protocol not supported",
-       121:  "socket type not supported",
-       122:  "operation not supported",
-       123:  "protocol family not supported",
-       124:  "address family not supported by protocol",
-       125:  "address already in use",
-       126:  "cannot assign requested address",
-       127:  "network is down",
-       128:  "network is unreachable",
-       129:  "network dropped connection on reset",
-       130:  "software caused connection abort",
-       131:  "connection reset by peer",
-       132:  "no buffer space available",
-       133:  "transport endpoint is already connected",
-       134:  "transport endpoint is not connected",
-       135:  "structure needs cleaning",
-       137:  "not a XENIX named type file",
-       138:  "no XENIX semaphores available",
-       139:  "is a named type file",
-       140:  "remote I/O error",
-       141:  "unknown error 141",
-       142:  "unknown error 142",
-       143:  "cannot send after transport endpoint shutdown",
-       144:  "too many references: cannot splice",
-       145:  "connection timed out",
-       146:  "connection refused",
-       147:  "host is down",
-       148:  "no route to host",
-       149:  "operation already in progress",
-       150:  "operation now in progress",
-       151:  "stale file handle",
-       158:  "operation canceled",
-       159:  "no medium found",
-       160:  "wrong medium type",
-       161:  "required key not available",
-       162:  "key has expired",
-       163:  "key has been revoked",
-       164:  "key was rejected by service",
-       165:  "owner died",
-       166:  "state not recoverable",
-       167:  "operation not possible due to RF-kill",
-       168:  "memory page has hardware error",
-       1133: "disk quota exceeded",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/breakpoint trap",
-       6:  "aborted",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "user defined signal 1",
-       17: "user defined signal 2",
-       18: "child exited",
-       19: "power failure",
-       20: "window changed",
-       21: "urgent I/O condition",
-       22: "I/O possible",
-       23: "stopped (signal)",
-       24: "stopped",
-       25: "continued",
-       26: "stopped (tty input)",
-       27: "stopped (tty output)",
-       28: "virtual timer expired",
-       29: "profiling timer expired",
-       30: "CPU time limit exceeded",
-       31: "file size limit exceeded",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
deleted file mode 100644 (file)
index 4585ef7..0000000
+++ /dev/null
@@ -1,2150 +0,0 @@
-// mkerrors.sh -Wall -Werror -static -I/tmp/include
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build ppc64,linux
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_ALG                           = 0x26
-       AF_APPLETALK                     = 0x5
-       AF_ASH                           = 0x12
-       AF_ATMPVC                        = 0x8
-       AF_ATMSVC                        = 0x14
-       AF_AX25                          = 0x3
-       AF_BLUETOOTH                     = 0x1f
-       AF_BRIDGE                        = 0x7
-       AF_CAIF                          = 0x25
-       AF_CAN                           = 0x1d
-       AF_DECnet                        = 0xc
-       AF_ECONET                        = 0x13
-       AF_FILE                          = 0x1
-       AF_IB                            = 0x1b
-       AF_IEEE802154                    = 0x24
-       AF_INET                          = 0x2
-       AF_INET6                         = 0xa
-       AF_IPX                           = 0x4
-       AF_IRDA                          = 0x17
-       AF_ISDN                          = 0x22
-       AF_IUCV                          = 0x20
-       AF_KCM                           = 0x29
-       AF_KEY                           = 0xf
-       AF_LLC                           = 0x1a
-       AF_LOCAL                         = 0x1
-       AF_MAX                           = 0x2b
-       AF_MPLS                          = 0x1c
-       AF_NETBEUI                       = 0xd
-       AF_NETLINK                       = 0x10
-       AF_NETROM                        = 0x6
-       AF_NFC                           = 0x27
-       AF_PACKET                        = 0x11
-       AF_PHONET                        = 0x23
-       AF_PPPOX                         = 0x18
-       AF_QIPCRTR                       = 0x2a
-       AF_RDS                           = 0x15
-       AF_ROSE                          = 0xb
-       AF_ROUTE                         = 0x10
-       AF_RXRPC                         = 0x21
-       AF_SECURITY                      = 0xe
-       AF_SNA                           = 0x16
-       AF_TIPC                          = 0x1e
-       AF_UNIX                          = 0x1
-       AF_UNSPEC                        = 0x0
-       AF_VSOCK                         = 0x28
-       AF_WANPIPE                       = 0x19
-       AF_X25                           = 0x9
-       ALG_OP_DECRYPT                   = 0x0
-       ALG_OP_ENCRYPT                   = 0x1
-       ALG_SET_AEAD_ASSOCLEN            = 0x4
-       ALG_SET_AEAD_AUTHSIZE            = 0x5
-       ALG_SET_IV                       = 0x2
-       ALG_SET_KEY                      = 0x1
-       ALG_SET_OP                       = 0x3
-       ARPHRD_6LOWPAN                   = 0x339
-       ARPHRD_ADAPT                     = 0x108
-       ARPHRD_APPLETLK                  = 0x8
-       ARPHRD_ARCNET                    = 0x7
-       ARPHRD_ASH                       = 0x30d
-       ARPHRD_ATM                       = 0x13
-       ARPHRD_AX25                      = 0x3
-       ARPHRD_BIF                       = 0x307
-       ARPHRD_CAIF                      = 0x336
-       ARPHRD_CAN                       = 0x118
-       ARPHRD_CHAOS                     = 0x5
-       ARPHRD_CISCO                     = 0x201
-       ARPHRD_CSLIP                     = 0x101
-       ARPHRD_CSLIP6                    = 0x103
-       ARPHRD_DDCMP                     = 0x205
-       ARPHRD_DLCI                      = 0xf
-       ARPHRD_ECONET                    = 0x30e
-       ARPHRD_EETHER                    = 0x2
-       ARPHRD_ETHER                     = 0x1
-       ARPHRD_EUI64                     = 0x1b
-       ARPHRD_FCAL                      = 0x311
-       ARPHRD_FCFABRIC                  = 0x313
-       ARPHRD_FCPL                      = 0x312
-       ARPHRD_FCPP                      = 0x310
-       ARPHRD_FDDI                      = 0x306
-       ARPHRD_FRAD                      = 0x302
-       ARPHRD_HDLC                      = 0x201
-       ARPHRD_HIPPI                     = 0x30c
-       ARPHRD_HWX25                     = 0x110
-       ARPHRD_IEEE1394                  = 0x18
-       ARPHRD_IEEE802                   = 0x6
-       ARPHRD_IEEE80211                 = 0x321
-       ARPHRD_IEEE80211_PRISM           = 0x322
-       ARPHRD_IEEE80211_RADIOTAP        = 0x323
-       ARPHRD_IEEE802154                = 0x324
-       ARPHRD_IEEE802154_MONITOR        = 0x325
-       ARPHRD_IEEE802_TR                = 0x320
-       ARPHRD_INFINIBAND                = 0x20
-       ARPHRD_IP6GRE                    = 0x337
-       ARPHRD_IPDDP                     = 0x309
-       ARPHRD_IPGRE                     = 0x30a
-       ARPHRD_IRDA                      = 0x30f
-       ARPHRD_LAPB                      = 0x204
-       ARPHRD_LOCALTLK                  = 0x305
-       ARPHRD_LOOPBACK                  = 0x304
-       ARPHRD_METRICOM                  = 0x17
-       ARPHRD_NETLINK                   = 0x338
-       ARPHRD_NETROM                    = 0x0
-       ARPHRD_NONE                      = 0xfffe
-       ARPHRD_PHONET                    = 0x334
-       ARPHRD_PHONET_PIPE               = 0x335
-       ARPHRD_PIMREG                    = 0x30b
-       ARPHRD_PPP                       = 0x200
-       ARPHRD_PRONET                    = 0x4
-       ARPHRD_RAWHDLC                   = 0x206
-       ARPHRD_ROSE                      = 0x10e
-       ARPHRD_RSRVD                     = 0x104
-       ARPHRD_SIT                       = 0x308
-       ARPHRD_SKIP                      = 0x303
-       ARPHRD_SLIP                      = 0x100
-       ARPHRD_SLIP6                     = 0x102
-       ARPHRD_TUNNEL                    = 0x300
-       ARPHRD_TUNNEL6                   = 0x301
-       ARPHRD_VOID                      = 0xffff
-       ARPHRD_X25                       = 0x10f
-       B0                               = 0x0
-       B1000000                         = 0x17
-       B110                             = 0x3
-       B115200                          = 0x11
-       B1152000                         = 0x18
-       B1200                            = 0x9
-       B134                             = 0x4
-       B150                             = 0x5
-       B1500000                         = 0x19
-       B1800                            = 0xa
-       B19200                           = 0xe
-       B200                             = 0x6
-       B2000000                         = 0x1a
-       B230400                          = 0x12
-       B2400                            = 0xb
-       B2500000                         = 0x1b
-       B300                             = 0x7
-       B3000000                         = 0x1c
-       B3500000                         = 0x1d
-       B38400                           = 0xf
-       B4000000                         = 0x1e
-       B460800                          = 0x13
-       B4800                            = 0xc
-       B50                              = 0x1
-       B500000                          = 0x14
-       B57600                           = 0x10
-       B576000                          = 0x15
-       B600                             = 0x8
-       B75                              = 0x2
-       B921600                          = 0x16
-       B9600                            = 0xd
-       BLKBSZGET                        = 0x40081270
-       BLKBSZSET                        = 0x80081271
-       BLKFLSBUF                        = 0x20001261
-       BLKFRAGET                        = 0x20001265
-       BLKFRASET                        = 0x20001264
-       BLKGETSIZE                       = 0x20001260
-       BLKGETSIZE64                     = 0x40081272
-       BLKPBSZGET                       = 0x2000127b
-       BLKRAGET                         = 0x20001263
-       BLKRASET                         = 0x20001262
-       BLKROGET                         = 0x2000125e
-       BLKROSET                         = 0x2000125d
-       BLKRRPART                        = 0x2000125f
-       BLKSECTGET                       = 0x20001267
-       BLKSECTSET                       = 0x20001266
-       BLKSSZGET                        = 0x20001268
-       BOTHER                           = 0x1f
-       BPF_A                            = 0x10
-       BPF_ABS                          = 0x20
-       BPF_ADD                          = 0x0
-       BPF_ALU                          = 0x4
-       BPF_AND                          = 0x50
-       BPF_B                            = 0x10
-       BPF_DIV                          = 0x30
-       BPF_H                            = 0x8
-       BPF_IMM                          = 0x0
-       BPF_IND                          = 0x40
-       BPF_JA                           = 0x0
-       BPF_JEQ                          = 0x10
-       BPF_JGE                          = 0x30
-       BPF_JGT                          = 0x20
-       BPF_JMP                          = 0x5
-       BPF_JSET                         = 0x40
-       BPF_K                            = 0x0
-       BPF_LD                           = 0x0
-       BPF_LDX                          = 0x1
-       BPF_LEN                          = 0x80
-       BPF_LL_OFF                       = -0x200000
-       BPF_LSH                          = 0x60
-       BPF_MAJOR_VERSION                = 0x1
-       BPF_MAXINSNS                     = 0x1000
-       BPF_MEM                          = 0x60
-       BPF_MEMWORDS                     = 0x10
-       BPF_MINOR_VERSION                = 0x1
-       BPF_MISC                         = 0x7
-       BPF_MOD                          = 0x90
-       BPF_MSH                          = 0xa0
-       BPF_MUL                          = 0x20
-       BPF_NEG                          = 0x80
-       BPF_NET_OFF                      = -0x100000
-       BPF_OR                           = 0x40
-       BPF_RET                          = 0x6
-       BPF_RSH                          = 0x70
-       BPF_ST                           = 0x2
-       BPF_STX                          = 0x3
-       BPF_SUB                          = 0x10
-       BPF_TAX                          = 0x0
-       BPF_TXA                          = 0x80
-       BPF_W                            = 0x0
-       BPF_X                            = 0x8
-       BPF_XOR                          = 0xa0
-       BRKINT                           = 0x2
-       BS0                              = 0x0
-       BS1                              = 0x8000
-       BSDLY                            = 0x8000
-       CAN_BCM                          = 0x2
-       CAN_EFF_FLAG                     = 0x80000000
-       CAN_EFF_ID_BITS                  = 0x1d
-       CAN_EFF_MASK                     = 0x1fffffff
-       CAN_ERR_FLAG                     = 0x20000000
-       CAN_ERR_MASK                     = 0x1fffffff
-       CAN_INV_FILTER                   = 0x20000000
-       CAN_ISOTP                        = 0x6
-       CAN_MAX_DLC                      = 0x8
-       CAN_MAX_DLEN                     = 0x8
-       CAN_MCNET                        = 0x5
-       CAN_MTU                          = 0x10
-       CAN_NPROTO                       = 0x7
-       CAN_RAW                          = 0x1
-       CAN_RAW_FILTER_MAX               = 0x200
-       CAN_RTR_FLAG                     = 0x40000000
-       CAN_SFF_ID_BITS                  = 0xb
-       CAN_SFF_MASK                     = 0x7ff
-       CAN_TP16                         = 0x3
-       CAN_TP20                         = 0x4
-       CBAUD                            = 0xff
-       CBAUDEX                          = 0x0
-       CFLUSH                           = 0xf
-       CIBAUD                           = 0xff0000
-       CLOCAL                           = 0x8000
-       CLOCK_BOOTTIME                   = 0x7
-       CLOCK_BOOTTIME_ALARM             = 0x9
-       CLOCK_DEFAULT                    = 0x0
-       CLOCK_EXT                        = 0x1
-       CLOCK_INT                        = 0x2
-       CLOCK_MONOTONIC                  = 0x1
-       CLOCK_MONOTONIC_COARSE           = 0x6
-       CLOCK_MONOTONIC_RAW              = 0x4
-       CLOCK_PROCESS_CPUTIME_ID         = 0x2
-       CLOCK_REALTIME                   = 0x0
-       CLOCK_REALTIME_ALARM             = 0x8
-       CLOCK_REALTIME_COARSE            = 0x5
-       CLOCK_TAI                        = 0xb
-       CLOCK_THREAD_CPUTIME_ID          = 0x3
-       CLOCK_TXFROMRX                   = 0x4
-       CLOCK_TXINT                      = 0x3
-       CLONE_CHILD_CLEARTID             = 0x200000
-       CLONE_CHILD_SETTID               = 0x1000000
-       CLONE_DETACHED                   = 0x400000
-       CLONE_FILES                      = 0x400
-       CLONE_FS                         = 0x200
-       CLONE_IO                         = 0x80000000
-       CLONE_NEWCGROUP                  = 0x2000000
-       CLONE_NEWIPC                     = 0x8000000
-       CLONE_NEWNET                     = 0x40000000
-       CLONE_NEWNS                      = 0x20000
-       CLONE_NEWPID                     = 0x20000000
-       CLONE_NEWUSER                    = 0x10000000
-       CLONE_NEWUTS                     = 0x4000000
-       CLONE_PARENT                     = 0x8000
-       CLONE_PARENT_SETTID              = 0x100000
-       CLONE_PTRACE                     = 0x2000
-       CLONE_SETTLS                     = 0x80000
-       CLONE_SIGHAND                    = 0x800
-       CLONE_SYSVSEM                    = 0x40000
-       CLONE_THREAD                     = 0x10000
-       CLONE_UNTRACED                   = 0x800000
-       CLONE_VFORK                      = 0x4000
-       CLONE_VM                         = 0x100
-       CMSPAR                           = 0x40000000
-       CR0                              = 0x0
-       CR1                              = 0x1000
-       CR2                              = 0x2000
-       CR3                              = 0x3000
-       CRDLY                            = 0x3000
-       CREAD                            = 0x800
-       CRTSCTS                          = 0x80000000
-       CS5                              = 0x0
-       CS6                              = 0x100
-       CS7                              = 0x200
-       CS8                              = 0x300
-       CSIGNAL                          = 0xff
-       CSIZE                            = 0x300
-       CSTART                           = 0x11
-       CSTATUS                          = 0x0
-       CSTOP                            = 0x13
-       CSTOPB                           = 0x400
-       CSUSP                            = 0x1a
-       DT_BLK                           = 0x6
-       DT_CHR                           = 0x2
-       DT_DIR                           = 0x4
-       DT_FIFO                          = 0x1
-       DT_LNK                           = 0xa
-       DT_REG                           = 0x8
-       DT_SOCK                          = 0xc
-       DT_UNKNOWN                       = 0x0
-       DT_WHT                           = 0xe
-       ECHO                             = 0x8
-       ECHOCTL                          = 0x40
-       ECHOE                            = 0x2
-       ECHOK                            = 0x4
-       ECHOKE                           = 0x1
-       ECHONL                           = 0x10
-       ECHOPRT                          = 0x20
-       ENCODING_DEFAULT                 = 0x0
-       ENCODING_FM_MARK                 = 0x3
-       ENCODING_FM_SPACE                = 0x4
-       ENCODING_MANCHESTER              = 0x5
-       ENCODING_NRZ                     = 0x1
-       ENCODING_NRZI                    = 0x2
-       EPOLLERR                         = 0x8
-       EPOLLET                          = 0x80000000
-       EPOLLEXCLUSIVE                   = 0x10000000
-       EPOLLHUP                         = 0x10
-       EPOLLIN                          = 0x1
-       EPOLLMSG                         = 0x400
-       EPOLLONESHOT                     = 0x40000000
-       EPOLLOUT                         = 0x4
-       EPOLLPRI                         = 0x2
-       EPOLLRDBAND                      = 0x80
-       EPOLLRDHUP                       = 0x2000
-       EPOLLRDNORM                      = 0x40
-       EPOLLWAKEUP                      = 0x20000000
-       EPOLLWRBAND                      = 0x200
-       EPOLLWRNORM                      = 0x100
-       EPOLL_CLOEXEC                    = 0x80000
-       EPOLL_CTL_ADD                    = 0x1
-       EPOLL_CTL_DEL                    = 0x2
-       EPOLL_CTL_MOD                    = 0x3
-       ETH_P_1588                       = 0x88f7
-       ETH_P_8021AD                     = 0x88a8
-       ETH_P_8021AH                     = 0x88e7
-       ETH_P_8021Q                      = 0x8100
-       ETH_P_80221                      = 0x8917
-       ETH_P_802_2                      = 0x4
-       ETH_P_802_3                      = 0x1
-       ETH_P_802_3_MIN                  = 0x600
-       ETH_P_802_EX1                    = 0x88b5
-       ETH_P_AARP                       = 0x80f3
-       ETH_P_AF_IUCV                    = 0xfbfb
-       ETH_P_ALL                        = 0x3
-       ETH_P_AOE                        = 0x88a2
-       ETH_P_ARCNET                     = 0x1a
-       ETH_P_ARP                        = 0x806
-       ETH_P_ATALK                      = 0x809b
-       ETH_P_ATMFATE                    = 0x8884
-       ETH_P_ATMMPOA                    = 0x884c
-       ETH_P_AX25                       = 0x2
-       ETH_P_BATMAN                     = 0x4305
-       ETH_P_BPQ                        = 0x8ff
-       ETH_P_CAIF                       = 0xf7
-       ETH_P_CAN                        = 0xc
-       ETH_P_CANFD                      = 0xd
-       ETH_P_CONTROL                    = 0x16
-       ETH_P_CUST                       = 0x6006
-       ETH_P_DDCMP                      = 0x6
-       ETH_P_DEC                        = 0x6000
-       ETH_P_DIAG                       = 0x6005
-       ETH_P_DNA_DL                     = 0x6001
-       ETH_P_DNA_RC                     = 0x6002
-       ETH_P_DNA_RT                     = 0x6003
-       ETH_P_DSA                        = 0x1b
-       ETH_P_ECONET                     = 0x18
-       ETH_P_EDSA                       = 0xdada
-       ETH_P_FCOE                       = 0x8906
-       ETH_P_FIP                        = 0x8914
-       ETH_P_HDLC                       = 0x19
-       ETH_P_HSR                        = 0x892f
-       ETH_P_IEEE802154                 = 0xf6
-       ETH_P_IEEEPUP                    = 0xa00
-       ETH_P_IEEEPUPAT                  = 0xa01
-       ETH_P_IP                         = 0x800
-       ETH_P_IPV6                       = 0x86dd
-       ETH_P_IPX                        = 0x8137
-       ETH_P_IRDA                       = 0x17
-       ETH_P_LAT                        = 0x6004
-       ETH_P_LINK_CTL                   = 0x886c
-       ETH_P_LOCALTALK                  = 0x9
-       ETH_P_LOOP                       = 0x60
-       ETH_P_LOOPBACK                   = 0x9000
-       ETH_P_MACSEC                     = 0x88e5
-       ETH_P_MOBITEX                    = 0x15
-       ETH_P_MPLS_MC                    = 0x8848
-       ETH_P_MPLS_UC                    = 0x8847
-       ETH_P_MVRP                       = 0x88f5
-       ETH_P_NCSI                       = 0x88f8
-       ETH_P_PAE                        = 0x888e
-       ETH_P_PAUSE                      = 0x8808
-       ETH_P_PHONET                     = 0xf5
-       ETH_P_PPPTALK                    = 0x10
-       ETH_P_PPP_DISC                   = 0x8863
-       ETH_P_PPP_MP                     = 0x8
-       ETH_P_PPP_SES                    = 0x8864
-       ETH_P_PRP                        = 0x88fb
-       ETH_P_PUP                        = 0x200
-       ETH_P_PUPAT                      = 0x201
-       ETH_P_QINQ1                      = 0x9100
-       ETH_P_QINQ2                      = 0x9200
-       ETH_P_QINQ3                      = 0x9300
-       ETH_P_RARP                       = 0x8035
-       ETH_P_SCA                        = 0x6007
-       ETH_P_SLOW                       = 0x8809
-       ETH_P_SNAP                       = 0x5
-       ETH_P_TDLS                       = 0x890d
-       ETH_P_TEB                        = 0x6558
-       ETH_P_TIPC                       = 0x88ca
-       ETH_P_TRAILER                    = 0x1c
-       ETH_P_TR_802_2                   = 0x11
-       ETH_P_TSN                        = 0x22f0
-       ETH_P_WAN_PPP                    = 0x7
-       ETH_P_WCCP                       = 0x883e
-       ETH_P_X25                        = 0x805
-       ETH_P_XDSA                       = 0xf8
-       EXTA                             = 0xe
-       EXTB                             = 0xf
-       EXTPROC                          = 0x10000000
-       FALLOC_FL_COLLAPSE_RANGE         = 0x8
-       FALLOC_FL_INSERT_RANGE           = 0x20
-       FALLOC_FL_KEEP_SIZE              = 0x1
-       FALLOC_FL_NO_HIDE_STALE          = 0x4
-       FALLOC_FL_PUNCH_HOLE             = 0x2
-       FALLOC_FL_UNSHARE_RANGE          = 0x40
-       FALLOC_FL_ZERO_RANGE             = 0x10
-       FD_CLOEXEC                       = 0x1
-       FD_SETSIZE                       = 0x400
-       FF0                              = 0x0
-       FF1                              = 0x4000
-       FFDLY                            = 0x4000
-       FLUSHO                           = 0x800000
-       FS_ENCRYPTION_MODE_AES_256_CBC   = 0x3
-       FS_ENCRYPTION_MODE_AES_256_CTS   = 0x4
-       FS_ENCRYPTION_MODE_AES_256_GCM   = 0x2
-       FS_ENCRYPTION_MODE_AES_256_XTS   = 0x1
-       FS_ENCRYPTION_MODE_INVALID       = 0x0
-       FS_IOC_GET_ENCRYPTION_POLICY     = 0x800c6615
-       FS_IOC_GET_ENCRYPTION_PWSALT     = 0x80106614
-       FS_IOC_SET_ENCRYPTION_POLICY     = 0x400c6613
-       FS_KEY_DESCRIPTOR_SIZE           = 0x8
-       FS_KEY_DESC_PREFIX               = "fscrypt:"
-       FS_KEY_DESC_PREFIX_SIZE          = 0x8
-       FS_MAX_KEY_SIZE                  = 0x40
-       FS_POLICY_FLAGS_PAD_16           = 0x2
-       FS_POLICY_FLAGS_PAD_32           = 0x3
-       FS_POLICY_FLAGS_PAD_4            = 0x0
-       FS_POLICY_FLAGS_PAD_8            = 0x1
-       FS_POLICY_FLAGS_PAD_MASK         = 0x3
-       FS_POLICY_FLAGS_VALID            = 0x3
-       F_DUPFD                          = 0x0
-       F_DUPFD_CLOEXEC                  = 0x406
-       F_EXLCK                          = 0x4
-       F_GETFD                          = 0x1
-       F_GETFL                          = 0x3
-       F_GETLEASE                       = 0x401
-       F_GETLK                          = 0x5
-       F_GETLK64                        = 0xc
-       F_GETOWN                         = 0x9
-       F_GETOWN_EX                      = 0x10
-       F_GETPIPE_SZ                     = 0x408
-       F_GETSIG                         = 0xb
-       F_LOCK                           = 0x1
-       F_NOTIFY                         = 0x402
-       F_OFD_GETLK                      = 0x24
-       F_OFD_SETLK                      = 0x25
-       F_OFD_SETLKW                     = 0x26
-       F_OK                             = 0x0
-       F_RDLCK                          = 0x0
-       F_SETFD                          = 0x2
-       F_SETFL                          = 0x4
-       F_SETLEASE                       = 0x400
-       F_SETLK                          = 0x6
-       F_SETLK64                        = 0xd
-       F_SETLKW                         = 0x7
-       F_SETLKW64                       = 0xe
-       F_SETOWN                         = 0x8
-       F_SETOWN_EX                      = 0xf
-       F_SETPIPE_SZ                     = 0x407
-       F_SETSIG                         = 0xa
-       F_SHLCK                          = 0x8
-       F_TEST                           = 0x3
-       F_TLOCK                          = 0x2
-       F_ULOCK                          = 0x0
-       F_UNLCK                          = 0x2
-       F_WRLCK                          = 0x1
-       GRND_NONBLOCK                    = 0x1
-       GRND_RANDOM                      = 0x2
-       HUPCL                            = 0x4000
-       IBSHIFT                          = 0x10
-       ICANON                           = 0x100
-       ICMPV6_FILTER                    = 0x1
-       ICRNL                            = 0x100
-       IEXTEN                           = 0x400
-       IFA_F_DADFAILED                  = 0x8
-       IFA_F_DEPRECATED                 = 0x20
-       IFA_F_HOMEADDRESS                = 0x10
-       IFA_F_MANAGETEMPADDR             = 0x100
-       IFA_F_MCAUTOJOIN                 = 0x400
-       IFA_F_NODAD                      = 0x2
-       IFA_F_NOPREFIXROUTE              = 0x200
-       IFA_F_OPTIMISTIC                 = 0x4
-       IFA_F_PERMANENT                  = 0x80
-       IFA_F_SECONDARY                  = 0x1
-       IFA_F_STABLE_PRIVACY             = 0x800
-       IFA_F_TEMPORARY                  = 0x1
-       IFA_F_TENTATIVE                  = 0x40
-       IFA_MAX                          = 0x8
-       IFF_ALLMULTI                     = 0x200
-       IFF_ATTACH_QUEUE                 = 0x200
-       IFF_AUTOMEDIA                    = 0x4000
-       IFF_BROADCAST                    = 0x2
-       IFF_DEBUG                        = 0x4
-       IFF_DETACH_QUEUE                 = 0x400
-       IFF_DORMANT                      = 0x20000
-       IFF_DYNAMIC                      = 0x8000
-       IFF_ECHO                         = 0x40000
-       IFF_LOOPBACK                     = 0x8
-       IFF_LOWER_UP                     = 0x10000
-       IFF_MASTER                       = 0x400
-       IFF_MULTICAST                    = 0x1000
-       IFF_MULTI_QUEUE                  = 0x100
-       IFF_NOARP                        = 0x80
-       IFF_NOFILTER                     = 0x1000
-       IFF_NOTRAILERS                   = 0x20
-       IFF_NO_PI                        = 0x1000
-       IFF_ONE_QUEUE                    = 0x2000
-       IFF_PERSIST                      = 0x800
-       IFF_POINTOPOINT                  = 0x10
-       IFF_PORTSEL                      = 0x2000
-       IFF_PROMISC                      = 0x100
-       IFF_RUNNING                      = 0x40
-       IFF_SLAVE                        = 0x800
-       IFF_TAP                          = 0x2
-       IFF_TUN                          = 0x1
-       IFF_TUN_EXCL                     = 0x8000
-       IFF_UP                           = 0x1
-       IFF_VNET_HDR                     = 0x4000
-       IFF_VOLATILE                     = 0x70c5a
-       IFNAMSIZ                         = 0x10
-       IGNBRK                           = 0x1
-       IGNCR                            = 0x80
-       IGNPAR                           = 0x4
-       IMAXBEL                          = 0x2000
-       INLCR                            = 0x40
-       INPCK                            = 0x10
-       IN_ACCESS                        = 0x1
-       IN_ALL_EVENTS                    = 0xfff
-       IN_ATTRIB                        = 0x4
-       IN_CLASSA_HOST                   = 0xffffff
-       IN_CLASSA_MAX                    = 0x80
-       IN_CLASSA_NET                    = 0xff000000
-       IN_CLASSA_NSHIFT                 = 0x18
-       IN_CLASSB_HOST                   = 0xffff
-       IN_CLASSB_MAX                    = 0x10000
-       IN_CLASSB_NET                    = 0xffff0000
-       IN_CLASSB_NSHIFT                 = 0x10
-       IN_CLASSC_HOST                   = 0xff
-       IN_CLASSC_NET                    = 0xffffff00
-       IN_CLASSC_NSHIFT                 = 0x8
-       IN_CLOEXEC                       = 0x80000
-       IN_CLOSE                         = 0x18
-       IN_CLOSE_NOWRITE                 = 0x10
-       IN_CLOSE_WRITE                   = 0x8
-       IN_CREATE                        = 0x100
-       IN_DELETE                        = 0x200
-       IN_DELETE_SELF                   = 0x400
-       IN_DONT_FOLLOW                   = 0x2000000
-       IN_EXCL_UNLINK                   = 0x4000000
-       IN_IGNORED                       = 0x8000
-       IN_ISDIR                         = 0x40000000
-       IN_LOOPBACKNET                   = 0x7f
-       IN_MASK_ADD                      = 0x20000000
-       IN_MODIFY                        = 0x2
-       IN_MOVE                          = 0xc0
-       IN_MOVED_FROM                    = 0x40
-       IN_MOVED_TO                      = 0x80
-       IN_MOVE_SELF                     = 0x800
-       IN_NONBLOCK                      = 0x800
-       IN_ONESHOT                       = 0x80000000
-       IN_ONLYDIR                       = 0x1000000
-       IN_OPEN                          = 0x20
-       IN_Q_OVERFLOW                    = 0x4000
-       IN_UNMOUNT                       = 0x2000
-       IPPROTO_AH                       = 0x33
-       IPPROTO_BEETPH                   = 0x5e
-       IPPROTO_COMP                     = 0x6c
-       IPPROTO_DCCP                     = 0x21
-       IPPROTO_DSTOPTS                  = 0x3c
-       IPPROTO_EGP                      = 0x8
-       IPPROTO_ENCAP                    = 0x62
-       IPPROTO_ESP                      = 0x32
-       IPPROTO_FRAGMENT                 = 0x2c
-       IPPROTO_GRE                      = 0x2f
-       IPPROTO_HOPOPTS                  = 0x0
-       IPPROTO_ICMP                     = 0x1
-       IPPROTO_ICMPV6                   = 0x3a
-       IPPROTO_IDP                      = 0x16
-       IPPROTO_IGMP                     = 0x2
-       IPPROTO_IP                       = 0x0
-       IPPROTO_IPIP                     = 0x4
-       IPPROTO_IPV6                     = 0x29
-       IPPROTO_MH                       = 0x87
-       IPPROTO_MPLS                     = 0x89
-       IPPROTO_MTP                      = 0x5c
-       IPPROTO_NONE                     = 0x3b
-       IPPROTO_PIM                      = 0x67
-       IPPROTO_PUP                      = 0xc
-       IPPROTO_RAW                      = 0xff
-       IPPROTO_ROUTING                  = 0x2b
-       IPPROTO_RSVP                     = 0x2e
-       IPPROTO_SCTP                     = 0x84
-       IPPROTO_TCP                      = 0x6
-       IPPROTO_TP                       = 0x1d
-       IPPROTO_UDP                      = 0x11
-       IPPROTO_UDPLITE                  = 0x88
-       IPV6_2292DSTOPTS                 = 0x4
-       IPV6_2292HOPLIMIT                = 0x8
-       IPV6_2292HOPOPTS                 = 0x3
-       IPV6_2292PKTINFO                 = 0x2
-       IPV6_2292PKTOPTIONS              = 0x6
-       IPV6_2292RTHDR                   = 0x5
-       IPV6_ADDRFORM                    = 0x1
-       IPV6_ADD_MEMBERSHIP              = 0x14
-       IPV6_AUTHHDR                     = 0xa
-       IPV6_CHECKSUM                    = 0x7
-       IPV6_DONTFRAG                    = 0x3e
-       IPV6_DROP_MEMBERSHIP             = 0x15
-       IPV6_DSTOPTS                     = 0x3b
-       IPV6_HDRINCL                     = 0x24
-       IPV6_HOPLIMIT                    = 0x34
-       IPV6_HOPOPTS                     = 0x36
-       IPV6_IPSEC_POLICY                = 0x22
-       IPV6_JOIN_ANYCAST                = 0x1b
-       IPV6_JOIN_GROUP                  = 0x14
-       IPV6_LEAVE_ANYCAST               = 0x1c
-       IPV6_LEAVE_GROUP                 = 0x15
-       IPV6_MTU                         = 0x18
-       IPV6_MTU_DISCOVER                = 0x17
-       IPV6_MULTICAST_HOPS              = 0x12
-       IPV6_MULTICAST_IF                = 0x11
-       IPV6_MULTICAST_LOOP              = 0x13
-       IPV6_NEXTHOP                     = 0x9
-       IPV6_PATHMTU                     = 0x3d
-       IPV6_PKTINFO                     = 0x32
-       IPV6_PMTUDISC_DO                 = 0x2
-       IPV6_PMTUDISC_DONT               = 0x0
-       IPV6_PMTUDISC_INTERFACE          = 0x4
-       IPV6_PMTUDISC_OMIT               = 0x5
-       IPV6_PMTUDISC_PROBE              = 0x3
-       IPV6_PMTUDISC_WANT               = 0x1
-       IPV6_RECVDSTOPTS                 = 0x3a
-       IPV6_RECVERR                     = 0x19
-       IPV6_RECVHOPLIMIT                = 0x33
-       IPV6_RECVHOPOPTS                 = 0x35
-       IPV6_RECVPATHMTU                 = 0x3c
-       IPV6_RECVPKTINFO                 = 0x31
-       IPV6_RECVRTHDR                   = 0x38
-       IPV6_RECVTCLASS                  = 0x42
-       IPV6_ROUTER_ALERT                = 0x16
-       IPV6_RTHDR                       = 0x39
-       IPV6_RTHDRDSTOPTS                = 0x37
-       IPV6_RTHDR_LOOSE                 = 0x0
-       IPV6_RTHDR_STRICT                = 0x1
-       IPV6_RTHDR_TYPE_0                = 0x0
-       IPV6_RXDSTOPTS                   = 0x3b
-       IPV6_RXHOPOPTS                   = 0x36
-       IPV6_TCLASS                      = 0x43
-       IPV6_UNICAST_HOPS                = 0x10
-       IPV6_V6ONLY                      = 0x1a
-       IPV6_XFRM_POLICY                 = 0x23
-       IP_ADD_MEMBERSHIP                = 0x23
-       IP_ADD_SOURCE_MEMBERSHIP         = 0x27
-       IP_BIND_ADDRESS_NO_PORT          = 0x18
-       IP_BLOCK_SOURCE                  = 0x26
-       IP_CHECKSUM                      = 0x17
-       IP_DEFAULT_MULTICAST_LOOP        = 0x1
-       IP_DEFAULT_MULTICAST_TTL         = 0x1
-       IP_DF                            = 0x4000
-       IP_DROP_MEMBERSHIP               = 0x24
-       IP_DROP_SOURCE_MEMBERSHIP        = 0x28
-       IP_FREEBIND                      = 0xf
-       IP_HDRINCL                       = 0x3
-       IP_IPSEC_POLICY                  = 0x10
-       IP_MAXPACKET                     = 0xffff
-       IP_MAX_MEMBERSHIPS               = 0x14
-       IP_MF                            = 0x2000
-       IP_MINTTL                        = 0x15
-       IP_MSFILTER                      = 0x29
-       IP_MSS                           = 0x240
-       IP_MTU                           = 0xe
-       IP_MTU_DISCOVER                  = 0xa
-       IP_MULTICAST_ALL                 = 0x31
-       IP_MULTICAST_IF                  = 0x20
-       IP_MULTICAST_LOOP                = 0x22
-       IP_MULTICAST_TTL                 = 0x21
-       IP_NODEFRAG                      = 0x16
-       IP_OFFMASK                       = 0x1fff
-       IP_OPTIONS                       = 0x4
-       IP_ORIGDSTADDR                   = 0x14
-       IP_PASSSEC                       = 0x12
-       IP_PKTINFO                       = 0x8
-       IP_PKTOPTIONS                    = 0x9
-       IP_PMTUDISC                      = 0xa
-       IP_PMTUDISC_DO                   = 0x2
-       IP_PMTUDISC_DONT                 = 0x0
-       IP_PMTUDISC_INTERFACE            = 0x4
-       IP_PMTUDISC_OMIT                 = 0x5
-       IP_PMTUDISC_PROBE                = 0x3
-       IP_PMTUDISC_WANT                 = 0x1
-       IP_RECVERR                       = 0xb
-       IP_RECVOPTS                      = 0x6
-       IP_RECVORIGDSTADDR               = 0x14
-       IP_RECVRETOPTS                   = 0x7
-       IP_RECVTOS                       = 0xd
-       IP_RECVTTL                       = 0xc
-       IP_RETOPTS                       = 0x7
-       IP_RF                            = 0x8000
-       IP_ROUTER_ALERT                  = 0x5
-       IP_TOS                           = 0x1
-       IP_TRANSPARENT                   = 0x13
-       IP_TTL                           = 0x2
-       IP_UNBLOCK_SOURCE                = 0x25
-       IP_UNICAST_IF                    = 0x32
-       IP_XFRM_POLICY                   = 0x11
-       ISIG                             = 0x80
-       ISTRIP                           = 0x20
-       IUCLC                            = 0x1000
-       IUTF8                            = 0x4000
-       IXANY                            = 0x800
-       IXOFF                            = 0x400
-       IXON                             = 0x200
-       LINUX_REBOOT_CMD_CAD_OFF         = 0x0
-       LINUX_REBOOT_CMD_CAD_ON          = 0x89abcdef
-       LINUX_REBOOT_CMD_HALT            = 0xcdef0123
-       LINUX_REBOOT_CMD_KEXEC           = 0x45584543
-       LINUX_REBOOT_CMD_POWER_OFF       = 0x4321fedc
-       LINUX_REBOOT_CMD_RESTART         = 0x1234567
-       LINUX_REBOOT_CMD_RESTART2        = 0xa1b2c3d4
-       LINUX_REBOOT_CMD_SW_SUSPEND      = 0xd000fce2
-       LINUX_REBOOT_MAGIC1              = 0xfee1dead
-       LINUX_REBOOT_MAGIC2              = 0x28121969
-       LOCK_EX                          = 0x2
-       LOCK_NB                          = 0x4
-       LOCK_SH                          = 0x1
-       LOCK_UN                          = 0x8
-       MADV_DODUMP                      = 0x11
-       MADV_DOFORK                      = 0xb
-       MADV_DONTDUMP                    = 0x10
-       MADV_DONTFORK                    = 0xa
-       MADV_DONTNEED                    = 0x4
-       MADV_FREE                        = 0x8
-       MADV_HUGEPAGE                    = 0xe
-       MADV_HWPOISON                    = 0x64
-       MADV_MERGEABLE                   = 0xc
-       MADV_NOHUGEPAGE                  = 0xf
-       MADV_NORMAL                      = 0x0
-       MADV_RANDOM                      = 0x1
-       MADV_REMOVE                      = 0x9
-       MADV_SEQUENTIAL                  = 0x2
-       MADV_UNMERGEABLE                 = 0xd
-       MADV_WILLNEED                    = 0x3
-       MAP_ANON                         = 0x20
-       MAP_ANONYMOUS                    = 0x20
-       MAP_DENYWRITE                    = 0x800
-       MAP_EXECUTABLE                   = 0x1000
-       MAP_FILE                         = 0x0
-       MAP_FIXED                        = 0x10
-       MAP_GROWSDOWN                    = 0x100
-       MAP_HUGETLB                      = 0x40000
-       MAP_HUGE_MASK                    = 0x3f
-       MAP_HUGE_SHIFT                   = 0x1a
-       MAP_LOCKED                       = 0x80
-       MAP_NONBLOCK                     = 0x10000
-       MAP_NORESERVE                    = 0x40
-       MAP_POPULATE                     = 0x8000
-       MAP_PRIVATE                      = 0x2
-       MAP_SHARED                       = 0x1
-       MAP_STACK                        = 0x20000
-       MAP_TYPE                         = 0xf
-       MCL_CURRENT                      = 0x2000
-       MCL_FUTURE                       = 0x4000
-       MCL_ONFAULT                      = 0x8000
-       MNT_DETACH                       = 0x2
-       MNT_EXPIRE                       = 0x4
-       MNT_FORCE                        = 0x1
-       MSG_BATCH                        = 0x40000
-       MSG_CMSG_CLOEXEC                 = 0x40000000
-       MSG_CONFIRM                      = 0x800
-       MSG_CTRUNC                       = 0x8
-       MSG_DONTROUTE                    = 0x4
-       MSG_DONTWAIT                     = 0x40
-       MSG_EOR                          = 0x80
-       MSG_ERRQUEUE                     = 0x2000
-       MSG_FASTOPEN                     = 0x20000000
-       MSG_FIN                          = 0x200
-       MSG_MORE                         = 0x8000
-       MSG_NOSIGNAL                     = 0x4000
-       MSG_OOB                          = 0x1
-       MSG_PEEK                         = 0x2
-       MSG_PROXY                        = 0x10
-       MSG_RST                          = 0x1000
-       MSG_SYN                          = 0x400
-       MSG_TRUNC                        = 0x20
-       MSG_TRYHARD                      = 0x4
-       MSG_WAITALL                      = 0x100
-       MSG_WAITFORONE                   = 0x10000
-       MS_ACTIVE                        = 0x40000000
-       MS_ASYNC                         = 0x1
-       MS_BIND                          = 0x1000
-       MS_BORN                          = 0x20000000
-       MS_DIRSYNC                       = 0x80
-       MS_INVALIDATE                    = 0x2
-       MS_I_VERSION                     = 0x800000
-       MS_KERNMOUNT                     = 0x400000
-       MS_LAZYTIME                      = 0x2000000
-       MS_MANDLOCK                      = 0x40
-       MS_MGC_MSK                       = 0xffff0000
-       MS_MGC_VAL                       = 0xc0ed0000
-       MS_MOVE                          = 0x2000
-       MS_NOATIME                       = 0x400
-       MS_NODEV                         = 0x4
-       MS_NODIRATIME                    = 0x800
-       MS_NOEXEC                        = 0x8
-       MS_NOREMOTELOCK                  = 0x8000000
-       MS_NOSEC                         = 0x10000000
-       MS_NOSUID                        = 0x2
-       MS_NOUSER                        = -0x80000000
-       MS_POSIXACL                      = 0x10000
-       MS_PRIVATE                       = 0x40000
-       MS_RDONLY                        = 0x1
-       MS_REC                           = 0x4000
-       MS_RELATIME                      = 0x200000
-       MS_REMOUNT                       = 0x20
-       MS_RMT_MASK                      = 0x2800051
-       MS_SHARED                        = 0x100000
-       MS_SILENT                        = 0x8000
-       MS_SLAVE                         = 0x80000
-       MS_STRICTATIME                   = 0x1000000
-       MS_SYNC                          = 0x4
-       MS_SYNCHRONOUS                   = 0x10
-       MS_UNBINDABLE                    = 0x20000
-       MS_VERBOSE                       = 0x8000
-       NAME_MAX                         = 0xff
-       NETLINK_ADD_MEMBERSHIP           = 0x1
-       NETLINK_AUDIT                    = 0x9
-       NETLINK_BROADCAST_ERROR          = 0x4
-       NETLINK_CAP_ACK                  = 0xa
-       NETLINK_CONNECTOR                = 0xb
-       NETLINK_CRYPTO                   = 0x15
-       NETLINK_DNRTMSG                  = 0xe
-       NETLINK_DROP_MEMBERSHIP          = 0x2
-       NETLINK_ECRYPTFS                 = 0x13
-       NETLINK_FIB_LOOKUP               = 0xa
-       NETLINK_FIREWALL                 = 0x3
-       NETLINK_GENERIC                  = 0x10
-       NETLINK_INET_DIAG                = 0x4
-       NETLINK_IP6_FW                   = 0xd
-       NETLINK_ISCSI                    = 0x8
-       NETLINK_KOBJECT_UEVENT           = 0xf
-       NETLINK_LISTEN_ALL_NSID          = 0x8
-       NETLINK_LIST_MEMBERSHIPS         = 0x9
-       NETLINK_NETFILTER                = 0xc
-       NETLINK_NFLOG                    = 0x5
-       NETLINK_NO_ENOBUFS               = 0x5
-       NETLINK_PKTINFO                  = 0x3
-       NETLINK_RDMA                     = 0x14
-       NETLINK_ROUTE                    = 0x0
-       NETLINK_RX_RING                  = 0x6
-       NETLINK_SCSITRANSPORT            = 0x12
-       NETLINK_SELINUX                  = 0x7
-       NETLINK_SOCK_DIAG                = 0x4
-       NETLINK_TX_RING                  = 0x7
-       NETLINK_UNUSED                   = 0x1
-       NETLINK_USERSOCK                 = 0x2
-       NETLINK_XFRM                     = 0x6
-       NL0                              = 0x0
-       NL1                              = 0x100
-       NL2                              = 0x200
-       NL3                              = 0x300
-       NLA_ALIGNTO                      = 0x4
-       NLA_F_NESTED                     = 0x8000
-       NLA_F_NET_BYTEORDER              = 0x4000
-       NLA_HDRLEN                       = 0x4
-       NLDLY                            = 0x300
-       NLMSG_ALIGNTO                    = 0x4
-       NLMSG_DONE                       = 0x3
-       NLMSG_ERROR                      = 0x2
-       NLMSG_HDRLEN                     = 0x10
-       NLMSG_MIN_TYPE                   = 0x10
-       NLMSG_NOOP                       = 0x1
-       NLMSG_OVERRUN                    = 0x4
-       NLM_F_ACK                        = 0x4
-       NLM_F_APPEND                     = 0x800
-       NLM_F_ATOMIC                     = 0x400
-       NLM_F_CREATE                     = 0x400
-       NLM_F_DUMP                       = 0x300
-       NLM_F_DUMP_FILTERED              = 0x20
-       NLM_F_DUMP_INTR                  = 0x10
-       NLM_F_ECHO                       = 0x8
-       NLM_F_EXCL                       = 0x200
-       NLM_F_MATCH                      = 0x200
-       NLM_F_MULTI                      = 0x2
-       NLM_F_REPLACE                    = 0x100
-       NLM_F_REQUEST                    = 0x1
-       NLM_F_ROOT                       = 0x100
-       NOFLSH                           = 0x80000000
-       OCRNL                            = 0x8
-       OFDEL                            = 0x80
-       OFILL                            = 0x40
-       OLCUC                            = 0x4
-       ONLCR                            = 0x2
-       ONLRET                           = 0x20
-       ONOCR                            = 0x10
-       OPOST                            = 0x1
-       O_ACCMODE                        = 0x3
-       O_APPEND                         = 0x400
-       O_ASYNC                          = 0x2000
-       O_CLOEXEC                        = 0x80000
-       O_CREAT                          = 0x40
-       O_DIRECT                         = 0x20000
-       O_DIRECTORY                      = 0x4000
-       O_DSYNC                          = 0x1000
-       O_EXCL                           = 0x80
-       O_FSYNC                          = 0x101000
-       O_LARGEFILE                      = 0x0
-       O_NDELAY                         = 0x800
-       O_NOATIME                        = 0x40000
-       O_NOCTTY                         = 0x100
-       O_NOFOLLOW                       = 0x8000
-       O_NONBLOCK                       = 0x800
-       O_PATH                           = 0x200000
-       O_RDONLY                         = 0x0
-       O_RDWR                           = 0x2
-       O_RSYNC                          = 0x101000
-       O_SYNC                           = 0x101000
-       O_TMPFILE                        = 0x404000
-       O_TRUNC                          = 0x200
-       O_WRONLY                         = 0x1
-       PACKET_ADD_MEMBERSHIP            = 0x1
-       PACKET_AUXDATA                   = 0x8
-       PACKET_BROADCAST                 = 0x1
-       PACKET_COPY_THRESH               = 0x7
-       PACKET_DROP_MEMBERSHIP           = 0x2
-       PACKET_FANOUT                    = 0x12
-       PACKET_FANOUT_CBPF               = 0x6
-       PACKET_FANOUT_CPU                = 0x2
-       PACKET_FANOUT_DATA               = 0x16
-       PACKET_FANOUT_EBPF               = 0x7
-       PACKET_FANOUT_FLAG_DEFRAG        = 0x8000
-       PACKET_FANOUT_FLAG_ROLLOVER      = 0x1000
-       PACKET_FANOUT_HASH               = 0x0
-       PACKET_FANOUT_LB                 = 0x1
-       PACKET_FANOUT_QM                 = 0x5
-       PACKET_FANOUT_RND                = 0x4
-       PACKET_FANOUT_ROLLOVER           = 0x3
-       PACKET_FASTROUTE                 = 0x6
-       PACKET_HDRLEN                    = 0xb
-       PACKET_HOST                      = 0x0
-       PACKET_KERNEL                    = 0x7
-       PACKET_LOOPBACK                  = 0x5
-       PACKET_LOSS                      = 0xe
-       PACKET_MR_ALLMULTI               = 0x2
-       PACKET_MR_MULTICAST              = 0x0
-       PACKET_MR_PROMISC                = 0x1
-       PACKET_MR_UNICAST                = 0x3
-       PACKET_MULTICAST                 = 0x2
-       PACKET_ORIGDEV                   = 0x9
-       PACKET_OTHERHOST                 = 0x3
-       PACKET_OUTGOING                  = 0x4
-       PACKET_QDISC_BYPASS              = 0x14
-       PACKET_RECV_OUTPUT               = 0x3
-       PACKET_RESERVE                   = 0xc
-       PACKET_ROLLOVER_STATS            = 0x15
-       PACKET_RX_RING                   = 0x5
-       PACKET_STATISTICS                = 0x6
-       PACKET_TIMESTAMP                 = 0x11
-       PACKET_TX_HAS_OFF                = 0x13
-       PACKET_TX_RING                   = 0xd
-       PACKET_TX_TIMESTAMP              = 0x10
-       PACKET_USER                      = 0x6
-       PACKET_VERSION                   = 0xa
-       PACKET_VNET_HDR                  = 0xf
-       PARENB                           = 0x1000
-       PARITY_CRC16_PR0                 = 0x2
-       PARITY_CRC16_PR0_CCITT           = 0x4
-       PARITY_CRC16_PR1                 = 0x3
-       PARITY_CRC16_PR1_CCITT           = 0x5
-       PARITY_CRC32_PR0_CCITT           = 0x6
-       PARITY_CRC32_PR1_CCITT           = 0x7
-       PARITY_DEFAULT                   = 0x0
-       PARITY_NONE                      = 0x1
-       PARMRK                           = 0x8
-       PARODD                           = 0x2000
-       PENDIN                           = 0x20000000
-       PRIO_PGRP                        = 0x1
-       PRIO_PROCESS                     = 0x0
-       PRIO_USER                        = 0x2
-       PROT_EXEC                        = 0x4
-       PROT_GROWSDOWN                   = 0x1000000
-       PROT_GROWSUP                     = 0x2000000
-       PROT_NONE                        = 0x0
-       PROT_READ                        = 0x1
-       PROT_SAO                         = 0x10
-       PROT_WRITE                       = 0x2
-       PR_CAPBSET_DROP                  = 0x18
-       PR_CAPBSET_READ                  = 0x17
-       PR_CAP_AMBIENT                   = 0x2f
-       PR_CAP_AMBIENT_CLEAR_ALL         = 0x4
-       PR_CAP_AMBIENT_IS_SET            = 0x1
-       PR_CAP_AMBIENT_LOWER             = 0x3
-       PR_CAP_AMBIENT_RAISE             = 0x2
-       PR_ENDIAN_BIG                    = 0x0
-       PR_ENDIAN_LITTLE                 = 0x1
-       PR_ENDIAN_PPC_LITTLE             = 0x2
-       PR_FPEMU_NOPRINT                 = 0x1
-       PR_FPEMU_SIGFPE                  = 0x2
-       PR_FP_EXC_ASYNC                  = 0x2
-       PR_FP_EXC_DISABLED               = 0x0
-       PR_FP_EXC_DIV                    = 0x10000
-       PR_FP_EXC_INV                    = 0x100000
-       PR_FP_EXC_NONRECOV               = 0x1
-       PR_FP_EXC_OVF                    = 0x20000
-       PR_FP_EXC_PRECISE                = 0x3
-       PR_FP_EXC_RES                    = 0x80000
-       PR_FP_EXC_SW_ENABLE              = 0x80
-       PR_FP_EXC_UND                    = 0x40000
-       PR_FP_MODE_FR                    = 0x1
-       PR_FP_MODE_FRE                   = 0x2
-       PR_GET_CHILD_SUBREAPER           = 0x25
-       PR_GET_DUMPABLE                  = 0x3
-       PR_GET_ENDIAN                    = 0x13
-       PR_GET_FPEMU                     = 0x9
-       PR_GET_FPEXC                     = 0xb
-       PR_GET_FP_MODE                   = 0x2e
-       PR_GET_KEEPCAPS                  = 0x7
-       PR_GET_NAME                      = 0x10
-       PR_GET_NO_NEW_PRIVS              = 0x27
-       PR_GET_PDEATHSIG                 = 0x2
-       PR_GET_SECCOMP                   = 0x15
-       PR_GET_SECUREBITS                = 0x1b
-       PR_GET_THP_DISABLE               = 0x2a
-       PR_GET_TID_ADDRESS               = 0x28
-       PR_GET_TIMERSLACK                = 0x1e
-       PR_GET_TIMING                    = 0xd
-       PR_GET_TSC                       = 0x19
-       PR_GET_UNALIGN                   = 0x5
-       PR_MCE_KILL                      = 0x21
-       PR_MCE_KILL_CLEAR                = 0x0
-       PR_MCE_KILL_DEFAULT              = 0x2
-       PR_MCE_KILL_EARLY                = 0x1
-       PR_MCE_KILL_GET                  = 0x22
-       PR_MCE_KILL_LATE                 = 0x0
-       PR_MCE_KILL_SET                  = 0x1
-       PR_MPX_DISABLE_MANAGEMENT        = 0x2c
-       PR_MPX_ENABLE_MANAGEMENT         = 0x2b
-       PR_SET_CHILD_SUBREAPER           = 0x24
-       PR_SET_DUMPABLE                  = 0x4
-       PR_SET_ENDIAN                    = 0x14
-       PR_SET_FPEMU                     = 0xa
-       PR_SET_FPEXC                     = 0xc
-       PR_SET_FP_MODE                   = 0x2d
-       PR_SET_KEEPCAPS                  = 0x8
-       PR_SET_MM                        = 0x23
-       PR_SET_MM_ARG_END                = 0x9
-       PR_SET_MM_ARG_START              = 0x8
-       PR_SET_MM_AUXV                   = 0xc
-       PR_SET_MM_BRK                    = 0x7
-       PR_SET_MM_END_CODE               = 0x2
-       PR_SET_MM_END_DATA               = 0x4
-       PR_SET_MM_ENV_END                = 0xb
-       PR_SET_MM_ENV_START              = 0xa
-       PR_SET_MM_EXE_FILE               = 0xd
-       PR_SET_MM_MAP                    = 0xe
-       PR_SET_MM_MAP_SIZE               = 0xf
-       PR_SET_MM_START_BRK              = 0x6
-       PR_SET_MM_START_CODE             = 0x1
-       PR_SET_MM_START_DATA             = 0x3
-       PR_SET_MM_START_STACK            = 0x5
-       PR_SET_NAME                      = 0xf
-       PR_SET_NO_NEW_PRIVS              = 0x26
-       PR_SET_PDEATHSIG                 = 0x1
-       PR_SET_PTRACER                   = 0x59616d61
-       PR_SET_PTRACER_ANY               = -0x1
-       PR_SET_SECCOMP                   = 0x16
-       PR_SET_SECUREBITS                = 0x1c
-       PR_SET_THP_DISABLE               = 0x29
-       PR_SET_TIMERSLACK                = 0x1d
-       PR_SET_TIMING                    = 0xe
-       PR_SET_TSC                       = 0x1a
-       PR_SET_UNALIGN                   = 0x6
-       PR_TASK_PERF_EVENTS_DISABLE      = 0x1f
-       PR_TASK_PERF_EVENTS_ENABLE       = 0x20
-       PR_TIMING_STATISTICAL            = 0x0
-       PR_TIMING_TIMESTAMP              = 0x1
-       PR_TSC_ENABLE                    = 0x1
-       PR_TSC_SIGSEGV                   = 0x2
-       PR_UNALIGN_NOPRINT               = 0x1
-       PR_UNALIGN_SIGBUS                = 0x2
-       PTRACE_ATTACH                    = 0x10
-       PTRACE_CONT                      = 0x7
-       PTRACE_DETACH                    = 0x11
-       PTRACE_EVENT_CLONE               = 0x3
-       PTRACE_EVENT_EXEC                = 0x4
-       PTRACE_EVENT_EXIT                = 0x6
-       PTRACE_EVENT_FORK                = 0x1
-       PTRACE_EVENT_SECCOMP             = 0x7
-       PTRACE_EVENT_STOP                = 0x80
-       PTRACE_EVENT_VFORK               = 0x2
-       PTRACE_EVENT_VFORK_DONE          = 0x5
-       PTRACE_GETEVENTMSG               = 0x4201
-       PTRACE_GETEVRREGS                = 0x14
-       PTRACE_GETFPREGS                 = 0xe
-       PTRACE_GETREGS                   = 0xc
-       PTRACE_GETREGS64                 = 0x16
-       PTRACE_GETREGSET                 = 0x4204
-       PTRACE_GETSIGINFO                = 0x4202
-       PTRACE_GETSIGMASK                = 0x420a
-       PTRACE_GETVRREGS                 = 0x12
-       PTRACE_GETVSRREGS                = 0x1b
-       PTRACE_GET_DEBUGREG              = 0x19
-       PTRACE_INTERRUPT                 = 0x4207
-       PTRACE_KILL                      = 0x8
-       PTRACE_LISTEN                    = 0x4208
-       PTRACE_O_EXITKILL                = 0x100000
-       PTRACE_O_MASK                    = 0x3000ff
-       PTRACE_O_SUSPEND_SECCOMP         = 0x200000
-       PTRACE_O_TRACECLONE              = 0x8
-       PTRACE_O_TRACEEXEC               = 0x10
-       PTRACE_O_TRACEEXIT               = 0x40
-       PTRACE_O_TRACEFORK               = 0x2
-       PTRACE_O_TRACESECCOMP            = 0x80
-       PTRACE_O_TRACESYSGOOD            = 0x1
-       PTRACE_O_TRACEVFORK              = 0x4
-       PTRACE_O_TRACEVFORKDONE          = 0x20
-       PTRACE_PEEKDATA                  = 0x2
-       PTRACE_PEEKSIGINFO               = 0x4209
-       PTRACE_PEEKSIGINFO_SHARED        = 0x1
-       PTRACE_PEEKTEXT                  = 0x1
-       PTRACE_PEEKUSR                   = 0x3
-       PTRACE_POKEDATA                  = 0x5
-       PTRACE_POKETEXT                  = 0x4
-       PTRACE_POKEUSR                   = 0x6
-       PTRACE_SECCOMP_GET_FILTER        = 0x420c
-       PTRACE_SEIZE                     = 0x4206
-       PTRACE_SETEVRREGS                = 0x15
-       PTRACE_SETFPREGS                 = 0xf
-       PTRACE_SETOPTIONS                = 0x4200
-       PTRACE_SETREGS                   = 0xd
-       PTRACE_SETREGS64                 = 0x17
-       PTRACE_SETREGSET                 = 0x4205
-       PTRACE_SETSIGINFO                = 0x4203
-       PTRACE_SETSIGMASK                = 0x420b
-       PTRACE_SETVRREGS                 = 0x13
-       PTRACE_SETVSRREGS                = 0x1c
-       PTRACE_SET_DEBUGREG              = 0x1a
-       PTRACE_SINGLEBLOCK               = 0x100
-       PTRACE_SINGLESTEP                = 0x9
-       PTRACE_SYSCALL                   = 0x18
-       PTRACE_TRACEME                   = 0x0
-       PT_CCR                           = 0x26
-       PT_CTR                           = 0x23
-       PT_DAR                           = 0x29
-       PT_DSCR                          = 0x2c
-       PT_DSISR                         = 0x2a
-       PT_FPR0                          = 0x30
-       PT_FPSCR                         = 0x50
-       PT_LNK                           = 0x24
-       PT_MSR                           = 0x21
-       PT_NIP                           = 0x20
-       PT_ORIG_R3                       = 0x22
-       PT_R0                            = 0x0
-       PT_R1                            = 0x1
-       PT_R10                           = 0xa
-       PT_R11                           = 0xb
-       PT_R12                           = 0xc
-       PT_R13                           = 0xd
-       PT_R14                           = 0xe
-       PT_R15                           = 0xf
-       PT_R16                           = 0x10
-       PT_R17                           = 0x11
-       PT_R18                           = 0x12
-       PT_R19                           = 0x13
-       PT_R2                            = 0x2
-       PT_R20                           = 0x14
-       PT_R21                           = 0x15
-       PT_R22                           = 0x16
-       PT_R23                           = 0x17
-       PT_R24                           = 0x18
-       PT_R25                           = 0x19
-       PT_R26                           = 0x1a
-       PT_R27                           = 0x1b
-       PT_R28                           = 0x1c
-       PT_R29                           = 0x1d
-       PT_R3                            = 0x3
-       PT_R30                           = 0x1e
-       PT_R31                           = 0x1f
-       PT_R4                            = 0x4
-       PT_R5                            = 0x5
-       PT_R6                            = 0x6
-       PT_R7                            = 0x7
-       PT_R8                            = 0x8
-       PT_R9                            = 0x9
-       PT_REGS_COUNT                    = 0x2c
-       PT_RESULT                        = 0x2b
-       PT_SOFTE                         = 0x27
-       PT_TRAP                          = 0x28
-       PT_VR0                           = 0x52
-       PT_VRSAVE                        = 0x94
-       PT_VSCR                          = 0x93
-       PT_VSR0                          = 0x96
-       PT_VSR31                         = 0xd4
-       PT_XER                           = 0x25
-       RLIMIT_AS                        = 0x9
-       RLIMIT_CORE                      = 0x4
-       RLIMIT_CPU                       = 0x0
-       RLIMIT_DATA                      = 0x2
-       RLIMIT_FSIZE                     = 0x1
-       RLIMIT_NOFILE                    = 0x7
-       RLIMIT_STACK                     = 0x3
-       RLIM_INFINITY                    = -0x1
-       RTAX_ADVMSS                      = 0x8
-       RTAX_CC_ALGO                     = 0x10
-       RTAX_CWND                        = 0x7
-       RTAX_FEATURES                    = 0xc
-       RTAX_FEATURE_ALLFRAG             = 0x8
-       RTAX_FEATURE_ECN                 = 0x1
-       RTAX_FEATURE_MASK                = 0xf
-       RTAX_FEATURE_SACK                = 0x2
-       RTAX_FEATURE_TIMESTAMP           = 0x4
-       RTAX_HOPLIMIT                    = 0xa
-       RTAX_INITCWND                    = 0xb
-       RTAX_INITRWND                    = 0xe
-       RTAX_LOCK                        = 0x1
-       RTAX_MAX                         = 0x10
-       RTAX_MTU                         = 0x2
-       RTAX_QUICKACK                    = 0xf
-       RTAX_REORDERING                  = 0x9
-       RTAX_RTO_MIN                     = 0xd
-       RTAX_RTT                         = 0x4
-       RTAX_RTTVAR                      = 0x5
-       RTAX_SSTHRESH                    = 0x6
-       RTAX_UNSPEC                      = 0x0
-       RTAX_WINDOW                      = 0x3
-       RTA_ALIGNTO                      = 0x4
-       RTA_MAX                          = 0x19
-       RTCF_DIRECTSRC                   = 0x4000000
-       RTCF_DOREDIRECT                  = 0x1000000
-       RTCF_LOG                         = 0x2000000
-       RTCF_MASQ                        = 0x400000
-       RTCF_NAT                         = 0x800000
-       RTCF_VALVE                       = 0x200000
-       RTF_ADDRCLASSMASK                = 0xf8000000
-       RTF_ADDRCONF                     = 0x40000
-       RTF_ALLONLINK                    = 0x20000
-       RTF_BROADCAST                    = 0x10000000
-       RTF_CACHE                        = 0x1000000
-       RTF_DEFAULT                      = 0x10000
-       RTF_DYNAMIC                      = 0x10
-       RTF_FLOW                         = 0x2000000
-       RTF_GATEWAY                      = 0x2
-       RTF_HOST                         = 0x4
-       RTF_INTERFACE                    = 0x40000000
-       RTF_IRTT                         = 0x100
-       RTF_LINKRT                       = 0x100000
-       RTF_LOCAL                        = 0x80000000
-       RTF_MODIFIED                     = 0x20
-       RTF_MSS                          = 0x40
-       RTF_MTU                          = 0x40
-       RTF_MULTICAST                    = 0x20000000
-       RTF_NAT                          = 0x8000000
-       RTF_NOFORWARD                    = 0x1000
-       RTF_NONEXTHOP                    = 0x200000
-       RTF_NOPMTUDISC                   = 0x4000
-       RTF_POLICY                       = 0x4000000
-       RTF_REINSTATE                    = 0x8
-       RTF_REJECT                       = 0x200
-       RTF_STATIC                       = 0x400
-       RTF_THROW                        = 0x2000
-       RTF_UP                           = 0x1
-       RTF_WINDOW                       = 0x80
-       RTF_XRESOLVE                     = 0x800
-       RTM_BASE                         = 0x10
-       RTM_DELACTION                    = 0x31
-       RTM_DELADDR                      = 0x15
-       RTM_DELADDRLABEL                 = 0x49
-       RTM_DELLINK                      = 0x11
-       RTM_DELMDB                       = 0x55
-       RTM_DELNEIGH                     = 0x1d
-       RTM_DELNSID                      = 0x59
-       RTM_DELQDISC                     = 0x25
-       RTM_DELROUTE                     = 0x19
-       RTM_DELRULE                      = 0x21
-       RTM_DELTCLASS                    = 0x29
-       RTM_DELTFILTER                   = 0x2d
-       RTM_F_CLONED                     = 0x200
-       RTM_F_EQUALIZE                   = 0x400
-       RTM_F_LOOKUP_TABLE               = 0x1000
-       RTM_F_NOTIFY                     = 0x100
-       RTM_F_PREFIX                     = 0x800
-       RTM_GETACTION                    = 0x32
-       RTM_GETADDR                      = 0x16
-       RTM_GETADDRLABEL                 = 0x4a
-       RTM_GETANYCAST                   = 0x3e
-       RTM_GETDCB                       = 0x4e
-       RTM_GETLINK                      = 0x12
-       RTM_GETMDB                       = 0x56
-       RTM_GETMULTICAST                 = 0x3a
-       RTM_GETNEIGH                     = 0x1e
-       RTM_GETNEIGHTBL                  = 0x42
-       RTM_GETNETCONF                   = 0x52
-       RTM_GETNSID                      = 0x5a
-       RTM_GETQDISC                     = 0x26
-       RTM_GETROUTE                     = 0x1a
-       RTM_GETRULE                      = 0x22
-       RTM_GETSTATS                     = 0x5e
-       RTM_GETTCLASS                    = 0x2a
-       RTM_GETTFILTER                   = 0x2e
-       RTM_MAX                          = 0x5f
-       RTM_NEWACTION                    = 0x30
-       RTM_NEWADDR                      = 0x14
-       RTM_NEWADDRLABEL                 = 0x48
-       RTM_NEWLINK                      = 0x10
-       RTM_NEWMDB                       = 0x54
-       RTM_NEWNDUSEROPT                 = 0x44
-       RTM_NEWNEIGH                     = 0x1c
-       RTM_NEWNEIGHTBL                  = 0x40
-       RTM_NEWNETCONF                   = 0x50
-       RTM_NEWNSID                      = 0x58
-       RTM_NEWPREFIX                    = 0x34
-       RTM_NEWQDISC                     = 0x24
-       RTM_NEWROUTE                     = 0x18
-       RTM_NEWRULE                      = 0x20
-       RTM_NEWSTATS                     = 0x5c
-       RTM_NEWTCLASS                    = 0x28
-       RTM_NEWTFILTER                   = 0x2c
-       RTM_NR_FAMILIES                  = 0x14
-       RTM_NR_MSGTYPES                  = 0x50
-       RTM_SETDCB                       = 0x4f
-       RTM_SETLINK                      = 0x13
-       RTM_SETNEIGHTBL                  = 0x43
-       RTNH_ALIGNTO                     = 0x4
-       RTNH_COMPARE_MASK                = 0x19
-       RTNH_F_DEAD                      = 0x1
-       RTNH_F_LINKDOWN                  = 0x10
-       RTNH_F_OFFLOAD                   = 0x8
-       RTNH_F_ONLINK                    = 0x4
-       RTNH_F_PERVASIVE                 = 0x2
-       RTN_MAX                          = 0xb
-       RTPROT_BABEL                     = 0x2a
-       RTPROT_BIRD                      = 0xc
-       RTPROT_BOOT                      = 0x3
-       RTPROT_DHCP                      = 0x10
-       RTPROT_DNROUTED                  = 0xd
-       RTPROT_GATED                     = 0x8
-       RTPROT_KERNEL                    = 0x2
-       RTPROT_MROUTED                   = 0x11
-       RTPROT_MRT                       = 0xa
-       RTPROT_NTK                       = 0xf
-       RTPROT_RA                        = 0x9
-       RTPROT_REDIRECT                  = 0x1
-       RTPROT_STATIC                    = 0x4
-       RTPROT_UNSPEC                    = 0x0
-       RTPROT_XORP                      = 0xe
-       RTPROT_ZEBRA                     = 0xb
-       RT_CLASS_DEFAULT                 = 0xfd
-       RT_CLASS_LOCAL                   = 0xff
-       RT_CLASS_MAIN                    = 0xfe
-       RT_CLASS_MAX                     = 0xff
-       RT_CLASS_UNSPEC                  = 0x0
-       RUSAGE_CHILDREN                  = -0x1
-       RUSAGE_SELF                      = 0x0
-       RUSAGE_THREAD                    = 0x1
-       SCM_CREDENTIALS                  = 0x2
-       SCM_RIGHTS                       = 0x1
-       SCM_TIMESTAMP                    = 0x1d
-       SCM_TIMESTAMPING                 = 0x25
-       SCM_TIMESTAMPING_OPT_STATS       = 0x36
-       SCM_TIMESTAMPNS                  = 0x23
-       SCM_WIFI_STATUS                  = 0x29
-       SHUT_RD                          = 0x0
-       SHUT_RDWR                        = 0x2
-       SHUT_WR                          = 0x1
-       SIOCADDDLCI                      = 0x8980
-       SIOCADDMULTI                     = 0x8931
-       SIOCADDRT                        = 0x890b
-       SIOCATMARK                       = 0x8905
-       SIOCDARP                         = 0x8953
-       SIOCDELDLCI                      = 0x8981
-       SIOCDELMULTI                     = 0x8932
-       SIOCDELRT                        = 0x890c
-       SIOCDEVPRIVATE                   = 0x89f0
-       SIOCDIFADDR                      = 0x8936
-       SIOCDRARP                        = 0x8960
-       SIOCGARP                         = 0x8954
-       SIOCGIFADDR                      = 0x8915
-       SIOCGIFBR                        = 0x8940
-       SIOCGIFBRDADDR                   = 0x8919
-       SIOCGIFCONF                      = 0x8912
-       SIOCGIFCOUNT                     = 0x8938
-       SIOCGIFDSTADDR                   = 0x8917
-       SIOCGIFENCAP                     = 0x8925
-       SIOCGIFFLAGS                     = 0x8913
-       SIOCGIFHWADDR                    = 0x8927
-       SIOCGIFINDEX                     = 0x8933
-       SIOCGIFMAP                       = 0x8970
-       SIOCGIFMEM                       = 0x891f
-       SIOCGIFMETRIC                    = 0x891d
-       SIOCGIFMTU                       = 0x8921
-       SIOCGIFNAME                      = 0x8910
-       SIOCGIFNETMASK                   = 0x891b
-       SIOCGIFPFLAGS                    = 0x8935
-       SIOCGIFSLAVE                     = 0x8929
-       SIOCGIFTXQLEN                    = 0x8942
-       SIOCGPGRP                        = 0x8904
-       SIOCGRARP                        = 0x8961
-       SIOCGSTAMP                       = 0x8906
-       SIOCGSTAMPNS                     = 0x8907
-       SIOCPROTOPRIVATE                 = 0x89e0
-       SIOCRTMSG                        = 0x890d
-       SIOCSARP                         = 0x8955
-       SIOCSIFADDR                      = 0x8916
-       SIOCSIFBR                        = 0x8941
-       SIOCSIFBRDADDR                   = 0x891a
-       SIOCSIFDSTADDR                   = 0x8918
-       SIOCSIFENCAP                     = 0x8926
-       SIOCSIFFLAGS                     = 0x8914
-       SIOCSIFHWADDR                    = 0x8924
-       SIOCSIFHWBROADCAST               = 0x8937
-       SIOCSIFLINK                      = 0x8911
-       SIOCSIFMAP                       = 0x8971
-       SIOCSIFMEM                       = 0x8920
-       SIOCSIFMETRIC                    = 0x891e
-       SIOCSIFMTU                       = 0x8922
-       SIOCSIFNAME                      = 0x8923
-       SIOCSIFNETMASK                   = 0x891c
-       SIOCSIFPFLAGS                    = 0x8934
-       SIOCSIFSLAVE                     = 0x8930
-       SIOCSIFTXQLEN                    = 0x8943
-       SIOCSPGRP                        = 0x8902
-       SIOCSRARP                        = 0x8962
-       SOCK_CLOEXEC                     = 0x80000
-       SOCK_DCCP                        = 0x6
-       SOCK_DGRAM                       = 0x2
-       SOCK_NONBLOCK                    = 0x800
-       SOCK_PACKET                      = 0xa
-       SOCK_RAW                         = 0x3
-       SOCK_RDM                         = 0x4
-       SOCK_SEQPACKET                   = 0x5
-       SOCK_STREAM                      = 0x1
-       SOL_AAL                          = 0x109
-       SOL_ALG                          = 0x117
-       SOL_ATM                          = 0x108
-       SOL_CAIF                         = 0x116
-       SOL_CAN_BASE                     = 0x64
-       SOL_DCCP                         = 0x10d
-       SOL_DECNET                       = 0x105
-       SOL_ICMPV6                       = 0x3a
-       SOL_IP                           = 0x0
-       SOL_IPV6                         = 0x29
-       SOL_IRDA                         = 0x10a
-       SOL_IUCV                         = 0x115
-       SOL_KCM                          = 0x119
-       SOL_LLC                          = 0x10c
-       SOL_NETBEUI                      = 0x10b
-       SOL_NETLINK                      = 0x10e
-       SOL_NFC                          = 0x118
-       SOL_PACKET                       = 0x107
-       SOL_PNPIPE                       = 0x113
-       SOL_PPPOL2TP                     = 0x111
-       SOL_RAW                          = 0xff
-       SOL_RDS                          = 0x114
-       SOL_RXRPC                        = 0x110
-       SOL_SOCKET                       = 0x1
-       SOL_TCP                          = 0x6
-       SOL_TIPC                         = 0x10f
-       SOL_X25                          = 0x106
-       SOMAXCONN                        = 0x80
-       SO_ACCEPTCONN                    = 0x1e
-       SO_ATTACH_BPF                    = 0x32
-       SO_ATTACH_FILTER                 = 0x1a
-       SO_ATTACH_REUSEPORT_CBPF         = 0x33
-       SO_ATTACH_REUSEPORT_EBPF         = 0x34
-       SO_BINDTODEVICE                  = 0x19
-       SO_BPF_EXTENSIONS                = 0x30
-       SO_BROADCAST                     = 0x6
-       SO_BSDCOMPAT                     = 0xe
-       SO_BUSY_POLL                     = 0x2e
-       SO_CNX_ADVICE                    = 0x35
-       SO_DEBUG                         = 0x1
-       SO_DETACH_BPF                    = 0x1b
-       SO_DETACH_FILTER                 = 0x1b
-       SO_DOMAIN                        = 0x27
-       SO_DONTROUTE                     = 0x5
-       SO_ERROR                         = 0x4
-       SO_GET_FILTER                    = 0x1a
-       SO_INCOMING_CPU                  = 0x31
-       SO_KEEPALIVE                     = 0x9
-       SO_LINGER                        = 0xd
-       SO_LOCK_FILTER                   = 0x2c
-       SO_MARK                          = 0x24
-       SO_MAX_PACING_RATE               = 0x2f
-       SO_NOFCS                         = 0x2b
-       SO_NO_CHECK                      = 0xb
-       SO_OOBINLINE                     = 0xa
-       SO_PASSCRED                      = 0x14
-       SO_PASSSEC                       = 0x22
-       SO_PEEK_OFF                      = 0x2a
-       SO_PEERCRED                      = 0x15
-       SO_PEERNAME                      = 0x1c
-       SO_PEERSEC                       = 0x1f
-       SO_PRIORITY                      = 0xc
-       SO_PROTOCOL                      = 0x26
-       SO_RCVBUF                        = 0x8
-       SO_RCVBUFFORCE                   = 0x21
-       SO_RCVLOWAT                      = 0x10
-       SO_RCVTIMEO                      = 0x12
-       SO_REUSEADDR                     = 0x2
-       SO_REUSEPORT                     = 0xf
-       SO_RXQ_OVFL                      = 0x28
-       SO_SECURITY_AUTHENTICATION       = 0x16
-       SO_SECURITY_ENCRYPTION_NETWORK   = 0x18
-       SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-       SO_SELECT_ERR_QUEUE              = 0x2d
-       SO_SNDBUF                        = 0x7
-       SO_SNDBUFFORCE                   = 0x20
-       SO_SNDLOWAT                      = 0x11
-       SO_SNDTIMEO                      = 0x13
-       SO_TIMESTAMP                     = 0x1d
-       SO_TIMESTAMPING                  = 0x25
-       SO_TIMESTAMPNS                   = 0x23
-       SO_TYPE                          = 0x3
-       SO_VM_SOCKETS_BUFFER_MAX_SIZE    = 0x2
-       SO_VM_SOCKETS_BUFFER_MIN_SIZE    = 0x1
-       SO_VM_SOCKETS_BUFFER_SIZE        = 0x0
-       SO_VM_SOCKETS_CONNECT_TIMEOUT    = 0x6
-       SO_VM_SOCKETS_NONBLOCK_TXRX      = 0x7
-       SO_VM_SOCKETS_PEER_HOST_VM_ID    = 0x3
-       SO_VM_SOCKETS_TRUSTED            = 0x5
-       SO_WIFI_STATUS                   = 0x29
-       SPLICE_F_GIFT                    = 0x8
-       SPLICE_F_MORE                    = 0x4
-       SPLICE_F_MOVE                    = 0x1
-       SPLICE_F_NONBLOCK                = 0x2
-       S_BLKSIZE                        = 0x200
-       S_IEXEC                          = 0x40
-       S_IFBLK                          = 0x6000
-       S_IFCHR                          = 0x2000
-       S_IFDIR                          = 0x4000
-       S_IFIFO                          = 0x1000
-       S_IFLNK                          = 0xa000
-       S_IFMT                           = 0xf000
-       S_IFREG                          = 0x8000
-       S_IFSOCK                         = 0xc000
-       S_IREAD                          = 0x100
-       S_IRGRP                          = 0x20
-       S_IROTH                          = 0x4
-       S_IRUSR                          = 0x100
-       S_IRWXG                          = 0x38
-       S_IRWXO                          = 0x7
-       S_IRWXU                          = 0x1c0
-       S_ISGID                          = 0x400
-       S_ISUID                          = 0x800
-       S_ISVTX                          = 0x200
-       S_IWGRP                          = 0x10
-       S_IWOTH                          = 0x2
-       S_IWRITE                         = 0x80
-       S_IWUSR                          = 0x80
-       S_IXGRP                          = 0x8
-       S_IXOTH                          = 0x1
-       S_IXUSR                          = 0x40
-       TAB0                             = 0x0
-       TAB1                             = 0x400
-       TAB2                             = 0x800
-       TAB3                             = 0xc00
-       TABDLY                           = 0xc00
-       TCFLSH                           = 0x2000741f
-       TCGETA                           = 0x40147417
-       TCGETS                           = 0x402c7413
-       TCIFLUSH                         = 0x0
-       TCIOFF                           = 0x2
-       TCIOFLUSH                        = 0x2
-       TCION                            = 0x3
-       TCOFLUSH                         = 0x1
-       TCOOFF                           = 0x0
-       TCOON                            = 0x1
-       TCP_CC_INFO                      = 0x1a
-       TCP_CONGESTION                   = 0xd
-       TCP_COOKIE_IN_ALWAYS             = 0x1
-       TCP_COOKIE_MAX                   = 0x10
-       TCP_COOKIE_MIN                   = 0x8
-       TCP_COOKIE_OUT_NEVER             = 0x2
-       TCP_COOKIE_PAIR_SIZE             = 0x20
-       TCP_COOKIE_TRANSACTIONS          = 0xf
-       TCP_CORK                         = 0x3
-       TCP_DEFER_ACCEPT                 = 0x9
-       TCP_FASTOPEN                     = 0x17
-       TCP_INFO                         = 0xb
-       TCP_KEEPCNT                      = 0x6
-       TCP_KEEPIDLE                     = 0x4
-       TCP_KEEPINTVL                    = 0x5
-       TCP_LINGER2                      = 0x8
-       TCP_MAXSEG                       = 0x2
-       TCP_MAXWIN                       = 0xffff
-       TCP_MAX_WINSHIFT                 = 0xe
-       TCP_MD5SIG                       = 0xe
-       TCP_MD5SIG_MAXKEYLEN             = 0x50
-       TCP_MSS                          = 0x200
-       TCP_MSS_DEFAULT                  = 0x218
-       TCP_MSS_DESIRED                  = 0x4c4
-       TCP_NODELAY                      = 0x1
-       TCP_NOTSENT_LOWAT                = 0x19
-       TCP_QUEUE_SEQ                    = 0x15
-       TCP_QUICKACK                     = 0xc
-       TCP_REPAIR                       = 0x13
-       TCP_REPAIR_OPTIONS               = 0x16
-       TCP_REPAIR_QUEUE                 = 0x14
-       TCP_REPAIR_WINDOW                = 0x1d
-       TCP_SAVED_SYN                    = 0x1c
-       TCP_SAVE_SYN                     = 0x1b
-       TCP_SYNCNT                       = 0x7
-       TCP_S_DATA_IN                    = 0x4
-       TCP_S_DATA_OUT                   = 0x8
-       TCP_THIN_DUPACK                  = 0x11
-       TCP_THIN_LINEAR_TIMEOUTS         = 0x10
-       TCP_TIMESTAMP                    = 0x18
-       TCP_USER_TIMEOUT                 = 0x12
-       TCP_WINDOW_CLAMP                 = 0xa
-       TCSAFLUSH                        = 0x2
-       TCSBRK                           = 0x2000741d
-       TCSBRKP                          = 0x5425
-       TCSETA                           = 0x80147418
-       TCSETAF                          = 0x8014741c
-       TCSETAW                          = 0x80147419
-       TCSETS                           = 0x802c7414
-       TCSETSF                          = 0x802c7416
-       TCSETSW                          = 0x802c7415
-       TCXONC                           = 0x2000741e
-       TIOCCBRK                         = 0x5428
-       TIOCCONS                         = 0x541d
-       TIOCEXCL                         = 0x540c
-       TIOCGDEV                         = 0x40045432
-       TIOCGETC                         = 0x40067412
-       TIOCGETD                         = 0x5424
-       TIOCGETP                         = 0x40067408
-       TIOCGEXCL                        = 0x40045440
-       TIOCGICOUNT                      = 0x545d
-       TIOCGLCKTRMIOS                   = 0x5456
-       TIOCGLTC                         = 0x40067474
-       TIOCGPGRP                        = 0x40047477
-       TIOCGPKT                         = 0x40045438
-       TIOCGPTLCK                       = 0x40045439
-       TIOCGPTN                         = 0x40045430
-       TIOCGRS485                       = 0x542e
-       TIOCGSERIAL                      = 0x541e
-       TIOCGSID                         = 0x5429
-       TIOCGSOFTCAR                     = 0x5419
-       TIOCGWINSZ                       = 0x40087468
-       TIOCINQ                          = 0x4004667f
-       TIOCLINUX                        = 0x541c
-       TIOCMBIC                         = 0x5417
-       TIOCMBIS                         = 0x5416
-       TIOCMGET                         = 0x5415
-       TIOCMIWAIT                       = 0x545c
-       TIOCMSET                         = 0x5418
-       TIOCM_CAR                        = 0x40
-       TIOCM_CD                         = 0x40
-       TIOCM_CTS                        = 0x20
-       TIOCM_DSR                        = 0x100
-       TIOCM_DTR                        = 0x2
-       TIOCM_LE                         = 0x1
-       TIOCM_LOOP                       = 0x8000
-       TIOCM_OUT1                       = 0x2000
-       TIOCM_OUT2                       = 0x4000
-       TIOCM_RI                         = 0x80
-       TIOCM_RNG                        = 0x80
-       TIOCM_RTS                        = 0x4
-       TIOCM_SR                         = 0x10
-       TIOCM_ST                         = 0x8
-       TIOCNOTTY                        = 0x5422
-       TIOCNXCL                         = 0x540d
-       TIOCOUTQ                         = 0x40047473
-       TIOCPKT                          = 0x5420
-       TIOCPKT_DATA                     = 0x0
-       TIOCPKT_DOSTOP                   = 0x20
-       TIOCPKT_FLUSHREAD                = 0x1
-       TIOCPKT_FLUSHWRITE               = 0x2
-       TIOCPKT_IOCTL                    = 0x40
-       TIOCPKT_NOSTOP                   = 0x10
-       TIOCPKT_START                    = 0x8
-       TIOCPKT_STOP                     = 0x4
-       TIOCSBRK                         = 0x5427
-       TIOCSCTTY                        = 0x540e
-       TIOCSERCONFIG                    = 0x5453
-       TIOCSERGETLSR                    = 0x5459
-       TIOCSERGETMULTI                  = 0x545a
-       TIOCSERGSTRUCT                   = 0x5458
-       TIOCSERGWILD                     = 0x5454
-       TIOCSERSETMULTI                  = 0x545b
-       TIOCSERSWILD                     = 0x5455
-       TIOCSER_TEMT                     = 0x1
-       TIOCSETC                         = 0x80067411
-       TIOCSETD                         = 0x5423
-       TIOCSETN                         = 0x8006740a
-       TIOCSETP                         = 0x80067409
-       TIOCSIG                          = 0x80045436
-       TIOCSLCKTRMIOS                   = 0x5457
-       TIOCSLTC                         = 0x80067475
-       TIOCSPGRP                        = 0x80047476
-       TIOCSPTLCK                       = 0x80045431
-       TIOCSRS485                       = 0x542f
-       TIOCSSERIAL                      = 0x541f
-       TIOCSSOFTCAR                     = 0x541a
-       TIOCSTART                        = 0x2000746e
-       TIOCSTI                          = 0x5412
-       TIOCSTOP                         = 0x2000746f
-       TIOCSWINSZ                       = 0x80087467
-       TIOCVHANGUP                      = 0x5437
-       TOSTOP                           = 0x400000
-       TUNATTACHFILTER                  = 0x801054d5
-       TUNDETACHFILTER                  = 0x801054d6
-       TUNGETFEATURES                   = 0x400454cf
-       TUNGETFILTER                     = 0x401054db
-       TUNGETIFF                        = 0x400454d2
-       TUNGETSNDBUF                     = 0x400454d3
-       TUNGETVNETBE                     = 0x400454df
-       TUNGETVNETHDRSZ                  = 0x400454d7
-       TUNGETVNETLE                     = 0x400454dd
-       TUNSETDEBUG                      = 0x800454c9
-       TUNSETGROUP                      = 0x800454ce
-       TUNSETIFF                        = 0x800454ca
-       TUNSETIFINDEX                    = 0x800454da
-       TUNSETLINK                       = 0x800454cd
-       TUNSETNOCSUM                     = 0x800454c8
-       TUNSETOFFLOAD                    = 0x800454d0
-       TUNSETOWNER                      = 0x800454cc
-       TUNSETPERSIST                    = 0x800454cb
-       TUNSETQUEUE                      = 0x800454d9
-       TUNSETSNDBUF                     = 0x800454d4
-       TUNSETTXFILTER                   = 0x800454d1
-       TUNSETVNETBE                     = 0x800454de
-       TUNSETVNETHDRSZ                  = 0x800454d8
-       TUNSETVNETLE                     = 0x800454dc
-       VDISCARD                         = 0x10
-       VEOF                             = 0x4
-       VEOL                             = 0x6
-       VEOL2                            = 0x8
-       VERASE                           = 0x2
-       VINTR                            = 0x0
-       VKILL                            = 0x3
-       VLNEXT                           = 0xf
-       VMADDR_CID_ANY                   = 0xffffffff
-       VMADDR_CID_HOST                  = 0x2
-       VMADDR_CID_HYPERVISOR            = 0x0
-       VMADDR_CID_RESERVED              = 0x1
-       VMADDR_PORT_ANY                  = 0xffffffff
-       VMIN                             = 0x5
-       VM_SOCKETS_INVALID_VERSION       = 0xffffffff
-       VQUIT                            = 0x1
-       VREPRINT                         = 0xb
-       VSTART                           = 0xd
-       VSTOP                            = 0xe
-       VSUSP                            = 0xc
-       VSWTC                            = 0x9
-       VT0                              = 0x0
-       VT1                              = 0x10000
-       VTDLY                            = 0x10000
-       VTIME                            = 0x7
-       VWERASE                          = 0xa
-       WALL                             = 0x40000000
-       WCLONE                           = 0x80000000
-       WCONTINUED                       = 0x8
-       WEXITED                          = 0x4
-       WNOHANG                          = 0x1
-       WNOTHREAD                        = 0x20000000
-       WNOWAIT                          = 0x1000000
-       WORDSIZE                         = 0x40
-       WSTOPPED                         = 0x2
-       WUNTRACED                        = 0x2
-       XCASE                            = 0x4000
-       XTABS                            = 0xc00
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x62)
-       EADDRNOTAVAIL   = syscall.Errno(0x63)
-       EADV            = syscall.Errno(0x44)
-       EAFNOSUPPORT    = syscall.Errno(0x61)
-       EAGAIN          = syscall.Errno(0xb)
-       EALREADY        = syscall.Errno(0x72)
-       EBADE           = syscall.Errno(0x34)
-       EBADF           = syscall.Errno(0x9)
-       EBADFD          = syscall.Errno(0x4d)
-       EBADMSG         = syscall.Errno(0x4a)
-       EBADR           = syscall.Errno(0x35)
-       EBADRQC         = syscall.Errno(0x38)
-       EBADSLT         = syscall.Errno(0x39)
-       EBFONT          = syscall.Errno(0x3b)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x7d)
-       ECHILD          = syscall.Errno(0xa)
-       ECHRNG          = syscall.Errno(0x2c)
-       ECOMM           = syscall.Errno(0x46)
-       ECONNABORTED    = syscall.Errno(0x67)
-       ECONNREFUSED    = syscall.Errno(0x6f)
-       ECONNRESET      = syscall.Errno(0x68)
-       EDEADLK         = syscall.Errno(0x23)
-       EDEADLOCK       = syscall.Errno(0x3a)
-       EDESTADDRREQ    = syscall.Errno(0x59)
-       EDOM            = syscall.Errno(0x21)
-       EDOTDOT         = syscall.Errno(0x49)
-       EDQUOT          = syscall.Errno(0x7a)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EHOSTDOWN       = syscall.Errno(0x70)
-       EHOSTUNREACH    = syscall.Errno(0x71)
-       EHWPOISON       = syscall.Errno(0x85)
-       EIDRM           = syscall.Errno(0x2b)
-       EILSEQ          = syscall.Errno(0x54)
-       EINPROGRESS     = syscall.Errno(0x73)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x6a)
-       EISDIR          = syscall.Errno(0x15)
-       EISNAM          = syscall.Errno(0x78)
-       EKEYEXPIRED     = syscall.Errno(0x7f)
-       EKEYREJECTED    = syscall.Errno(0x81)
-       EKEYREVOKED     = syscall.Errno(0x80)
-       EL2HLT          = syscall.Errno(0x33)
-       EL2NSYNC        = syscall.Errno(0x2d)
-       EL3HLT          = syscall.Errno(0x2e)
-       EL3RST          = syscall.Errno(0x2f)
-       ELIBACC         = syscall.Errno(0x4f)
-       ELIBBAD         = syscall.Errno(0x50)
-       ELIBEXEC        = syscall.Errno(0x53)
-       ELIBMAX         = syscall.Errno(0x52)
-       ELIBSCN         = syscall.Errno(0x51)
-       ELNRNG          = syscall.Errno(0x30)
-       ELOOP           = syscall.Errno(0x28)
-       EMEDIUMTYPE     = syscall.Errno(0x7c)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x5a)
-       EMULTIHOP       = syscall.Errno(0x48)
-       ENAMETOOLONG    = syscall.Errno(0x24)
-       ENAVAIL         = syscall.Errno(0x77)
-       ENETDOWN        = syscall.Errno(0x64)
-       ENETRESET       = syscall.Errno(0x66)
-       ENETUNREACH     = syscall.Errno(0x65)
-       ENFILE          = syscall.Errno(0x17)
-       ENOANO          = syscall.Errno(0x37)
-       ENOBUFS         = syscall.Errno(0x69)
-       ENOCSI          = syscall.Errno(0x32)
-       ENODATA         = syscall.Errno(0x3d)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOKEY          = syscall.Errno(0x7e)
-       ENOLCK          = syscall.Errno(0x25)
-       ENOLINK         = syscall.Errno(0x43)
-       ENOMEDIUM       = syscall.Errno(0x7b)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x2a)
-       ENONET          = syscall.Errno(0x40)
-       ENOPKG          = syscall.Errno(0x41)
-       ENOPROTOOPT     = syscall.Errno(0x5c)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x3f)
-       ENOSTR          = syscall.Errno(0x3c)
-       ENOSYS          = syscall.Errno(0x26)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x6b)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x27)
-       ENOTNAM         = syscall.Errno(0x76)
-       ENOTRECOVERABLE = syscall.Errno(0x83)
-       ENOTSOCK        = syscall.Errno(0x58)
-       ENOTSUP         = syscall.Errno(0x5f)
-       ENOTTY          = syscall.Errno(0x19)
-       ENOTUNIQ        = syscall.Errno(0x4c)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x5f)
-       EOVERFLOW       = syscall.Errno(0x4b)
-       EOWNERDEAD      = syscall.Errno(0x82)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x60)
-       EPIPE           = syscall.Errno(0x20)
-       EPROTO          = syscall.Errno(0x47)
-       EPROTONOSUPPORT = syscall.Errno(0x5d)
-       EPROTOTYPE      = syscall.Errno(0x5b)
-       ERANGE          = syscall.Errno(0x22)
-       EREMCHG         = syscall.Errno(0x4e)
-       EREMOTE         = syscall.Errno(0x42)
-       EREMOTEIO       = syscall.Errno(0x79)
-       ERESTART        = syscall.Errno(0x55)
-       ERFKILL         = syscall.Errno(0x84)
-       EROFS           = syscall.Errno(0x1e)
-       ESHUTDOWN       = syscall.Errno(0x6c)
-       ESOCKTNOSUPPORT = syscall.Errno(0x5e)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESRMNT          = syscall.Errno(0x45)
-       ESTALE          = syscall.Errno(0x74)
-       ESTRPIPE        = syscall.Errno(0x56)
-       ETIME           = syscall.Errno(0x3e)
-       ETIMEDOUT       = syscall.Errno(0x6e)
-       ETOOMANYREFS    = syscall.Errno(0x6d)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUCLEAN         = syscall.Errno(0x75)
-       EUNATCH         = syscall.Errno(0x31)
-       EUSERS          = syscall.Errno(0x57)
-       EWOULDBLOCK     = syscall.Errno(0xb)
-       EXDEV           = syscall.Errno(0x12)
-       EXFULL          = syscall.Errno(0x36)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0x7)
-       SIGCHLD   = syscall.Signal(0x11)
-       SIGCLD    = syscall.Signal(0x11)
-       SIGCONT   = syscall.Signal(0x12)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x1d)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPOLL   = syscall.Signal(0x1d)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGPWR    = syscall.Signal(0x1e)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTKFLT = syscall.Signal(0x10)
-       SIGSTOP   = syscall.Signal(0x13)
-       SIGSYS    = syscall.Signal(0x1f)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x14)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGUNUSED = syscall.Signal(0x1f)
-       SIGURG    = syscall.Signal(0x17)
-       SIGUSR1   = syscall.Signal(0xa)
-       SIGUSR2   = syscall.Signal(0xc)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:   "operation not permitted",
-       2:   "no such file or directory",
-       3:   "no such process",
-       4:   "interrupted system call",
-       5:   "input/output error",
-       6:   "no such device or address",
-       7:   "argument list too long",
-       8:   "exec format error",
-       9:   "bad file descriptor",
-       10:  "no child processes",
-       11:  "resource temporarily unavailable",
-       12:  "cannot allocate memory",
-       13:  "permission denied",
-       14:  "bad address",
-       15:  "block device required",
-       16:  "device or resource busy",
-       17:  "file exists",
-       18:  "invalid cross-device link",
-       19:  "no such device",
-       20:  "not a directory",
-       21:  "is a directory",
-       22:  "invalid argument",
-       23:  "too many open files in system",
-       24:  "too many open files",
-       25:  "inappropriate ioctl for device",
-       26:  "text file busy",
-       27:  "file too large",
-       28:  "no space left on device",
-       29:  "illegal seek",
-       30:  "read-only file system",
-       31:  "too many links",
-       32:  "broken pipe",
-       33:  "numerical argument out of domain",
-       34:  "numerical result out of range",
-       35:  "resource deadlock avoided",
-       36:  "file name too long",
-       37:  "no locks available",
-       38:  "function not implemented",
-       39:  "directory not empty",
-       40:  "too many levels of symbolic links",
-       42:  "no message of desired type",
-       43:  "identifier removed",
-       44:  "channel number out of range",
-       45:  "level 2 not synchronized",
-       46:  "level 3 halted",
-       47:  "level 3 reset",
-       48:  "link number out of range",
-       49:  "protocol driver not attached",
-       50:  "no CSI structure available",
-       51:  "level 2 halted",
-       52:  "invalid exchange",
-       53:  "invalid request descriptor",
-       54:  "exchange full",
-       55:  "no anode",
-       56:  "invalid request code",
-       57:  "invalid slot",
-       58:  "file locking deadlock error",
-       59:  "bad font file format",
-       60:  "device not a stream",
-       61:  "no data available",
-       62:  "timer expired",
-       63:  "out of streams resources",
-       64:  "machine is not on the network",
-       65:  "package not installed",
-       66:  "object is remote",
-       67:  "link has been severed",
-       68:  "advertise error",
-       69:  "srmount error",
-       70:  "communication error on send",
-       71:  "protocol error",
-       72:  "multihop attempted",
-       73:  "RFS specific error",
-       74:  "bad message",
-       75:  "value too large for defined data type",
-       76:  "name not unique on network",
-       77:  "file descriptor in bad state",
-       78:  "remote address changed",
-       79:  "can not access a needed shared library",
-       80:  "accessing a corrupted shared library",
-       81:  ".lib section in a.out corrupted",
-       82:  "attempting to link in too many shared libraries",
-       83:  "cannot exec a shared library directly",
-       84:  "invalid or incomplete multibyte or wide character",
-       85:  "interrupted system call should be restarted",
-       86:  "streams pipe error",
-       87:  "too many users",
-       88:  "socket operation on non-socket",
-       89:  "destination address required",
-       90:  "message too long",
-       91:  "protocol wrong type for socket",
-       92:  "protocol not available",
-       93:  "protocol not supported",
-       94:  "socket type not supported",
-       95:  "operation not supported",
-       96:  "protocol family not supported",
-       97:  "address family not supported by protocol",
-       98:  "address already in use",
-       99:  "cannot assign requested address",
-       100: "network is down",
-       101: "network is unreachable",
-       102: "network dropped connection on reset",
-       103: "software caused connection abort",
-       104: "connection reset by peer",
-       105: "no buffer space available",
-       106: "transport endpoint is already connected",
-       107: "transport endpoint is not connected",
-       108: "cannot send after transport endpoint shutdown",
-       109: "too many references: cannot splice",
-       110: "connection timed out",
-       111: "connection refused",
-       112: "host is down",
-       113: "no route to host",
-       114: "operation already in progress",
-       115: "operation now in progress",
-       116: "stale file handle",
-       117: "structure needs cleaning",
-       118: "not a XENIX named type file",
-       119: "no XENIX semaphores available",
-       120: "is a named type file",
-       121: "remote I/O error",
-       122: "disk quota exceeded",
-       123: "no medium found",
-       124: "wrong medium type",
-       125: "operation canceled",
-       126: "required key not available",
-       127: "key has expired",
-       128: "key has been revoked",
-       129: "key was rejected by service",
-       130: "owner died",
-       131: "state not recoverable",
-       132: "operation not possible due to RF-kill",
-       133: "memory page has hardware error",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/breakpoint trap",
-       6:  "aborted",
-       7:  "bus error",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "user defined signal 1",
-       11: "segmentation fault",
-       12: "user defined signal 2",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "stack fault",
-       17: "child exited",
-       18: "continued",
-       19: "stopped (signal)",
-       20: "stopped",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "urgent I/O condition",
-       24: "CPU time limit exceeded",
-       25: "file size limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window changed",
-       29: "I/O possible",
-       30: "power failure",
-       31: "bad system call",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
deleted file mode 100644 (file)
index b2a9128..0000000
+++ /dev/null
@@ -1,2150 +0,0 @@
-// mkerrors.sh -Wall -Werror -static -I/tmp/include
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build ppc64le,linux
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_ALG                           = 0x26
-       AF_APPLETALK                     = 0x5
-       AF_ASH                           = 0x12
-       AF_ATMPVC                        = 0x8
-       AF_ATMSVC                        = 0x14
-       AF_AX25                          = 0x3
-       AF_BLUETOOTH                     = 0x1f
-       AF_BRIDGE                        = 0x7
-       AF_CAIF                          = 0x25
-       AF_CAN                           = 0x1d
-       AF_DECnet                        = 0xc
-       AF_ECONET                        = 0x13
-       AF_FILE                          = 0x1
-       AF_IB                            = 0x1b
-       AF_IEEE802154                    = 0x24
-       AF_INET                          = 0x2
-       AF_INET6                         = 0xa
-       AF_IPX                           = 0x4
-       AF_IRDA                          = 0x17
-       AF_ISDN                          = 0x22
-       AF_IUCV                          = 0x20
-       AF_KCM                           = 0x29
-       AF_KEY                           = 0xf
-       AF_LLC                           = 0x1a
-       AF_LOCAL                         = 0x1
-       AF_MAX                           = 0x2b
-       AF_MPLS                          = 0x1c
-       AF_NETBEUI                       = 0xd
-       AF_NETLINK                       = 0x10
-       AF_NETROM                        = 0x6
-       AF_NFC                           = 0x27
-       AF_PACKET                        = 0x11
-       AF_PHONET                        = 0x23
-       AF_PPPOX                         = 0x18
-       AF_QIPCRTR                       = 0x2a
-       AF_RDS                           = 0x15
-       AF_ROSE                          = 0xb
-       AF_ROUTE                         = 0x10
-       AF_RXRPC                         = 0x21
-       AF_SECURITY                      = 0xe
-       AF_SNA                           = 0x16
-       AF_TIPC                          = 0x1e
-       AF_UNIX                          = 0x1
-       AF_UNSPEC                        = 0x0
-       AF_VSOCK                         = 0x28
-       AF_WANPIPE                       = 0x19
-       AF_X25                           = 0x9
-       ALG_OP_DECRYPT                   = 0x0
-       ALG_OP_ENCRYPT                   = 0x1
-       ALG_SET_AEAD_ASSOCLEN            = 0x4
-       ALG_SET_AEAD_AUTHSIZE            = 0x5
-       ALG_SET_IV                       = 0x2
-       ALG_SET_KEY                      = 0x1
-       ALG_SET_OP                       = 0x3
-       ARPHRD_6LOWPAN                   = 0x339
-       ARPHRD_ADAPT                     = 0x108
-       ARPHRD_APPLETLK                  = 0x8
-       ARPHRD_ARCNET                    = 0x7
-       ARPHRD_ASH                       = 0x30d
-       ARPHRD_ATM                       = 0x13
-       ARPHRD_AX25                      = 0x3
-       ARPHRD_BIF                       = 0x307
-       ARPHRD_CAIF                      = 0x336
-       ARPHRD_CAN                       = 0x118
-       ARPHRD_CHAOS                     = 0x5
-       ARPHRD_CISCO                     = 0x201
-       ARPHRD_CSLIP                     = 0x101
-       ARPHRD_CSLIP6                    = 0x103
-       ARPHRD_DDCMP                     = 0x205
-       ARPHRD_DLCI                      = 0xf
-       ARPHRD_ECONET                    = 0x30e
-       ARPHRD_EETHER                    = 0x2
-       ARPHRD_ETHER                     = 0x1
-       ARPHRD_EUI64                     = 0x1b
-       ARPHRD_FCAL                      = 0x311
-       ARPHRD_FCFABRIC                  = 0x313
-       ARPHRD_FCPL                      = 0x312
-       ARPHRD_FCPP                      = 0x310
-       ARPHRD_FDDI                      = 0x306
-       ARPHRD_FRAD                      = 0x302
-       ARPHRD_HDLC                      = 0x201
-       ARPHRD_HIPPI                     = 0x30c
-       ARPHRD_HWX25                     = 0x110
-       ARPHRD_IEEE1394                  = 0x18
-       ARPHRD_IEEE802                   = 0x6
-       ARPHRD_IEEE80211                 = 0x321
-       ARPHRD_IEEE80211_PRISM           = 0x322
-       ARPHRD_IEEE80211_RADIOTAP        = 0x323
-       ARPHRD_IEEE802154                = 0x324
-       ARPHRD_IEEE802154_MONITOR        = 0x325
-       ARPHRD_IEEE802_TR                = 0x320
-       ARPHRD_INFINIBAND                = 0x20
-       ARPHRD_IP6GRE                    = 0x337
-       ARPHRD_IPDDP                     = 0x309
-       ARPHRD_IPGRE                     = 0x30a
-       ARPHRD_IRDA                      = 0x30f
-       ARPHRD_LAPB                      = 0x204
-       ARPHRD_LOCALTLK                  = 0x305
-       ARPHRD_LOOPBACK                  = 0x304
-       ARPHRD_METRICOM                  = 0x17
-       ARPHRD_NETLINK                   = 0x338
-       ARPHRD_NETROM                    = 0x0
-       ARPHRD_NONE                      = 0xfffe
-       ARPHRD_PHONET                    = 0x334
-       ARPHRD_PHONET_PIPE               = 0x335
-       ARPHRD_PIMREG                    = 0x30b
-       ARPHRD_PPP                       = 0x200
-       ARPHRD_PRONET                    = 0x4
-       ARPHRD_RAWHDLC                   = 0x206
-       ARPHRD_ROSE                      = 0x10e
-       ARPHRD_RSRVD                     = 0x104
-       ARPHRD_SIT                       = 0x308
-       ARPHRD_SKIP                      = 0x303
-       ARPHRD_SLIP                      = 0x100
-       ARPHRD_SLIP6                     = 0x102
-       ARPHRD_TUNNEL                    = 0x300
-       ARPHRD_TUNNEL6                   = 0x301
-       ARPHRD_VOID                      = 0xffff
-       ARPHRD_X25                       = 0x10f
-       B0                               = 0x0
-       B1000000                         = 0x17
-       B110                             = 0x3
-       B115200                          = 0x11
-       B1152000                         = 0x18
-       B1200                            = 0x9
-       B134                             = 0x4
-       B150                             = 0x5
-       B1500000                         = 0x19
-       B1800                            = 0xa
-       B19200                           = 0xe
-       B200                             = 0x6
-       B2000000                         = 0x1a
-       B230400                          = 0x12
-       B2400                            = 0xb
-       B2500000                         = 0x1b
-       B300                             = 0x7
-       B3000000                         = 0x1c
-       B3500000                         = 0x1d
-       B38400                           = 0xf
-       B4000000                         = 0x1e
-       B460800                          = 0x13
-       B4800                            = 0xc
-       B50                              = 0x1
-       B500000                          = 0x14
-       B57600                           = 0x10
-       B576000                          = 0x15
-       B600                             = 0x8
-       B75                              = 0x2
-       B921600                          = 0x16
-       B9600                            = 0xd
-       BLKBSZGET                        = 0x40081270
-       BLKBSZSET                        = 0x80081271
-       BLKFLSBUF                        = 0x20001261
-       BLKFRAGET                        = 0x20001265
-       BLKFRASET                        = 0x20001264
-       BLKGETSIZE                       = 0x20001260
-       BLKGETSIZE64                     = 0x40081272
-       BLKPBSZGET                       = 0x2000127b
-       BLKRAGET                         = 0x20001263
-       BLKRASET                         = 0x20001262
-       BLKROGET                         = 0x2000125e
-       BLKROSET                         = 0x2000125d
-       BLKRRPART                        = 0x2000125f
-       BLKSECTGET                       = 0x20001267
-       BLKSECTSET                       = 0x20001266
-       BLKSSZGET                        = 0x20001268
-       BOTHER                           = 0x1f
-       BPF_A                            = 0x10
-       BPF_ABS                          = 0x20
-       BPF_ADD                          = 0x0
-       BPF_ALU                          = 0x4
-       BPF_AND                          = 0x50
-       BPF_B                            = 0x10
-       BPF_DIV                          = 0x30
-       BPF_H                            = 0x8
-       BPF_IMM                          = 0x0
-       BPF_IND                          = 0x40
-       BPF_JA                           = 0x0
-       BPF_JEQ                          = 0x10
-       BPF_JGE                          = 0x30
-       BPF_JGT                          = 0x20
-       BPF_JMP                          = 0x5
-       BPF_JSET                         = 0x40
-       BPF_K                            = 0x0
-       BPF_LD                           = 0x0
-       BPF_LDX                          = 0x1
-       BPF_LEN                          = 0x80
-       BPF_LL_OFF                       = -0x200000
-       BPF_LSH                          = 0x60
-       BPF_MAJOR_VERSION                = 0x1
-       BPF_MAXINSNS                     = 0x1000
-       BPF_MEM                          = 0x60
-       BPF_MEMWORDS                     = 0x10
-       BPF_MINOR_VERSION                = 0x1
-       BPF_MISC                         = 0x7
-       BPF_MOD                          = 0x90
-       BPF_MSH                          = 0xa0
-       BPF_MUL                          = 0x20
-       BPF_NEG                          = 0x80
-       BPF_NET_OFF                      = -0x100000
-       BPF_OR                           = 0x40
-       BPF_RET                          = 0x6
-       BPF_RSH                          = 0x70
-       BPF_ST                           = 0x2
-       BPF_STX                          = 0x3
-       BPF_SUB                          = 0x10
-       BPF_TAX                          = 0x0
-       BPF_TXA                          = 0x80
-       BPF_W                            = 0x0
-       BPF_X                            = 0x8
-       BPF_XOR                          = 0xa0
-       BRKINT                           = 0x2
-       BS0                              = 0x0
-       BS1                              = 0x8000
-       BSDLY                            = 0x8000
-       CAN_BCM                          = 0x2
-       CAN_EFF_FLAG                     = 0x80000000
-       CAN_EFF_ID_BITS                  = 0x1d
-       CAN_EFF_MASK                     = 0x1fffffff
-       CAN_ERR_FLAG                     = 0x20000000
-       CAN_ERR_MASK                     = 0x1fffffff
-       CAN_INV_FILTER                   = 0x20000000
-       CAN_ISOTP                        = 0x6
-       CAN_MAX_DLC                      = 0x8
-       CAN_MAX_DLEN                     = 0x8
-       CAN_MCNET                        = 0x5
-       CAN_MTU                          = 0x10
-       CAN_NPROTO                       = 0x7
-       CAN_RAW                          = 0x1
-       CAN_RAW_FILTER_MAX               = 0x200
-       CAN_RTR_FLAG                     = 0x40000000
-       CAN_SFF_ID_BITS                  = 0xb
-       CAN_SFF_MASK                     = 0x7ff
-       CAN_TP16                         = 0x3
-       CAN_TP20                         = 0x4
-       CBAUD                            = 0xff
-       CBAUDEX                          = 0x0
-       CFLUSH                           = 0xf
-       CIBAUD                           = 0xff0000
-       CLOCAL                           = 0x8000
-       CLOCK_BOOTTIME                   = 0x7
-       CLOCK_BOOTTIME_ALARM             = 0x9
-       CLOCK_DEFAULT                    = 0x0
-       CLOCK_EXT                        = 0x1
-       CLOCK_INT                        = 0x2
-       CLOCK_MONOTONIC                  = 0x1
-       CLOCK_MONOTONIC_COARSE           = 0x6
-       CLOCK_MONOTONIC_RAW              = 0x4
-       CLOCK_PROCESS_CPUTIME_ID         = 0x2
-       CLOCK_REALTIME                   = 0x0
-       CLOCK_REALTIME_ALARM             = 0x8
-       CLOCK_REALTIME_COARSE            = 0x5
-       CLOCK_TAI                        = 0xb
-       CLOCK_THREAD_CPUTIME_ID          = 0x3
-       CLOCK_TXFROMRX                   = 0x4
-       CLOCK_TXINT                      = 0x3
-       CLONE_CHILD_CLEARTID             = 0x200000
-       CLONE_CHILD_SETTID               = 0x1000000
-       CLONE_DETACHED                   = 0x400000
-       CLONE_FILES                      = 0x400
-       CLONE_FS                         = 0x200
-       CLONE_IO                         = 0x80000000
-       CLONE_NEWCGROUP                  = 0x2000000
-       CLONE_NEWIPC                     = 0x8000000
-       CLONE_NEWNET                     = 0x40000000
-       CLONE_NEWNS                      = 0x20000
-       CLONE_NEWPID                     = 0x20000000
-       CLONE_NEWUSER                    = 0x10000000
-       CLONE_NEWUTS                     = 0x4000000
-       CLONE_PARENT                     = 0x8000
-       CLONE_PARENT_SETTID              = 0x100000
-       CLONE_PTRACE                     = 0x2000
-       CLONE_SETTLS                     = 0x80000
-       CLONE_SIGHAND                    = 0x800
-       CLONE_SYSVSEM                    = 0x40000
-       CLONE_THREAD                     = 0x10000
-       CLONE_UNTRACED                   = 0x800000
-       CLONE_VFORK                      = 0x4000
-       CLONE_VM                         = 0x100
-       CMSPAR                           = 0x40000000
-       CR0                              = 0x0
-       CR1                              = 0x1000
-       CR2                              = 0x2000
-       CR3                              = 0x3000
-       CRDLY                            = 0x3000
-       CREAD                            = 0x800
-       CRTSCTS                          = 0x80000000
-       CS5                              = 0x0
-       CS6                              = 0x100
-       CS7                              = 0x200
-       CS8                              = 0x300
-       CSIGNAL                          = 0xff
-       CSIZE                            = 0x300
-       CSTART                           = 0x11
-       CSTATUS                          = 0x0
-       CSTOP                            = 0x13
-       CSTOPB                           = 0x400
-       CSUSP                            = 0x1a
-       DT_BLK                           = 0x6
-       DT_CHR                           = 0x2
-       DT_DIR                           = 0x4
-       DT_FIFO                          = 0x1
-       DT_LNK                           = 0xa
-       DT_REG                           = 0x8
-       DT_SOCK                          = 0xc
-       DT_UNKNOWN                       = 0x0
-       DT_WHT                           = 0xe
-       ECHO                             = 0x8
-       ECHOCTL                          = 0x40
-       ECHOE                            = 0x2
-       ECHOK                            = 0x4
-       ECHOKE                           = 0x1
-       ECHONL                           = 0x10
-       ECHOPRT                          = 0x20
-       ENCODING_DEFAULT                 = 0x0
-       ENCODING_FM_MARK                 = 0x3
-       ENCODING_FM_SPACE                = 0x4
-       ENCODING_MANCHESTER              = 0x5
-       ENCODING_NRZ                     = 0x1
-       ENCODING_NRZI                    = 0x2
-       EPOLLERR                         = 0x8
-       EPOLLET                          = 0x80000000
-       EPOLLEXCLUSIVE                   = 0x10000000
-       EPOLLHUP                         = 0x10
-       EPOLLIN                          = 0x1
-       EPOLLMSG                         = 0x400
-       EPOLLONESHOT                     = 0x40000000
-       EPOLLOUT                         = 0x4
-       EPOLLPRI                         = 0x2
-       EPOLLRDBAND                      = 0x80
-       EPOLLRDHUP                       = 0x2000
-       EPOLLRDNORM                      = 0x40
-       EPOLLWAKEUP                      = 0x20000000
-       EPOLLWRBAND                      = 0x200
-       EPOLLWRNORM                      = 0x100
-       EPOLL_CLOEXEC                    = 0x80000
-       EPOLL_CTL_ADD                    = 0x1
-       EPOLL_CTL_DEL                    = 0x2
-       EPOLL_CTL_MOD                    = 0x3
-       ETH_P_1588                       = 0x88f7
-       ETH_P_8021AD                     = 0x88a8
-       ETH_P_8021AH                     = 0x88e7
-       ETH_P_8021Q                      = 0x8100
-       ETH_P_80221                      = 0x8917
-       ETH_P_802_2                      = 0x4
-       ETH_P_802_3                      = 0x1
-       ETH_P_802_3_MIN                  = 0x600
-       ETH_P_802_EX1                    = 0x88b5
-       ETH_P_AARP                       = 0x80f3
-       ETH_P_AF_IUCV                    = 0xfbfb
-       ETH_P_ALL                        = 0x3
-       ETH_P_AOE                        = 0x88a2
-       ETH_P_ARCNET                     = 0x1a
-       ETH_P_ARP                        = 0x806
-       ETH_P_ATALK                      = 0x809b
-       ETH_P_ATMFATE                    = 0x8884
-       ETH_P_ATMMPOA                    = 0x884c
-       ETH_P_AX25                       = 0x2
-       ETH_P_BATMAN                     = 0x4305
-       ETH_P_BPQ                        = 0x8ff
-       ETH_P_CAIF                       = 0xf7
-       ETH_P_CAN                        = 0xc
-       ETH_P_CANFD                      = 0xd
-       ETH_P_CONTROL                    = 0x16
-       ETH_P_CUST                       = 0x6006
-       ETH_P_DDCMP                      = 0x6
-       ETH_P_DEC                        = 0x6000
-       ETH_P_DIAG                       = 0x6005
-       ETH_P_DNA_DL                     = 0x6001
-       ETH_P_DNA_RC                     = 0x6002
-       ETH_P_DNA_RT                     = 0x6003
-       ETH_P_DSA                        = 0x1b
-       ETH_P_ECONET                     = 0x18
-       ETH_P_EDSA                       = 0xdada
-       ETH_P_FCOE                       = 0x8906
-       ETH_P_FIP                        = 0x8914
-       ETH_P_HDLC                       = 0x19
-       ETH_P_HSR                        = 0x892f
-       ETH_P_IEEE802154                 = 0xf6
-       ETH_P_IEEEPUP                    = 0xa00
-       ETH_P_IEEEPUPAT                  = 0xa01
-       ETH_P_IP                         = 0x800
-       ETH_P_IPV6                       = 0x86dd
-       ETH_P_IPX                        = 0x8137
-       ETH_P_IRDA                       = 0x17
-       ETH_P_LAT                        = 0x6004
-       ETH_P_LINK_CTL                   = 0x886c
-       ETH_P_LOCALTALK                  = 0x9
-       ETH_P_LOOP                       = 0x60
-       ETH_P_LOOPBACK                   = 0x9000
-       ETH_P_MACSEC                     = 0x88e5
-       ETH_P_MOBITEX                    = 0x15
-       ETH_P_MPLS_MC                    = 0x8848
-       ETH_P_MPLS_UC                    = 0x8847
-       ETH_P_MVRP                       = 0x88f5
-       ETH_P_NCSI                       = 0x88f8
-       ETH_P_PAE                        = 0x888e
-       ETH_P_PAUSE                      = 0x8808
-       ETH_P_PHONET                     = 0xf5
-       ETH_P_PPPTALK                    = 0x10
-       ETH_P_PPP_DISC                   = 0x8863
-       ETH_P_PPP_MP                     = 0x8
-       ETH_P_PPP_SES                    = 0x8864
-       ETH_P_PRP                        = 0x88fb
-       ETH_P_PUP                        = 0x200
-       ETH_P_PUPAT                      = 0x201
-       ETH_P_QINQ1                      = 0x9100
-       ETH_P_QINQ2                      = 0x9200
-       ETH_P_QINQ3                      = 0x9300
-       ETH_P_RARP                       = 0x8035
-       ETH_P_SCA                        = 0x6007
-       ETH_P_SLOW                       = 0x8809
-       ETH_P_SNAP                       = 0x5
-       ETH_P_TDLS                       = 0x890d
-       ETH_P_TEB                        = 0x6558
-       ETH_P_TIPC                       = 0x88ca
-       ETH_P_TRAILER                    = 0x1c
-       ETH_P_TR_802_2                   = 0x11
-       ETH_P_TSN                        = 0x22f0
-       ETH_P_WAN_PPP                    = 0x7
-       ETH_P_WCCP                       = 0x883e
-       ETH_P_X25                        = 0x805
-       ETH_P_XDSA                       = 0xf8
-       EXTA                             = 0xe
-       EXTB                             = 0xf
-       EXTPROC                          = 0x10000000
-       FALLOC_FL_COLLAPSE_RANGE         = 0x8
-       FALLOC_FL_INSERT_RANGE           = 0x20
-       FALLOC_FL_KEEP_SIZE              = 0x1
-       FALLOC_FL_NO_HIDE_STALE          = 0x4
-       FALLOC_FL_PUNCH_HOLE             = 0x2
-       FALLOC_FL_UNSHARE_RANGE          = 0x40
-       FALLOC_FL_ZERO_RANGE             = 0x10
-       FD_CLOEXEC                       = 0x1
-       FD_SETSIZE                       = 0x400
-       FF0                              = 0x0
-       FF1                              = 0x4000
-       FFDLY                            = 0x4000
-       FLUSHO                           = 0x800000
-       FS_ENCRYPTION_MODE_AES_256_CBC   = 0x3
-       FS_ENCRYPTION_MODE_AES_256_CTS   = 0x4
-       FS_ENCRYPTION_MODE_AES_256_GCM   = 0x2
-       FS_ENCRYPTION_MODE_AES_256_XTS   = 0x1
-       FS_ENCRYPTION_MODE_INVALID       = 0x0
-       FS_IOC_GET_ENCRYPTION_POLICY     = 0x800c6615
-       FS_IOC_GET_ENCRYPTION_PWSALT     = 0x80106614
-       FS_IOC_SET_ENCRYPTION_POLICY     = 0x400c6613
-       FS_KEY_DESCRIPTOR_SIZE           = 0x8
-       FS_KEY_DESC_PREFIX               = "fscrypt:"
-       FS_KEY_DESC_PREFIX_SIZE          = 0x8
-       FS_MAX_KEY_SIZE                  = 0x40
-       FS_POLICY_FLAGS_PAD_16           = 0x2
-       FS_POLICY_FLAGS_PAD_32           = 0x3
-       FS_POLICY_FLAGS_PAD_4            = 0x0
-       FS_POLICY_FLAGS_PAD_8            = 0x1
-       FS_POLICY_FLAGS_PAD_MASK         = 0x3
-       FS_POLICY_FLAGS_VALID            = 0x3
-       F_DUPFD                          = 0x0
-       F_DUPFD_CLOEXEC                  = 0x406
-       F_EXLCK                          = 0x4
-       F_GETFD                          = 0x1
-       F_GETFL                          = 0x3
-       F_GETLEASE                       = 0x401
-       F_GETLK                          = 0x5
-       F_GETLK64                        = 0xc
-       F_GETOWN                         = 0x9
-       F_GETOWN_EX                      = 0x10
-       F_GETPIPE_SZ                     = 0x408
-       F_GETSIG                         = 0xb
-       F_LOCK                           = 0x1
-       F_NOTIFY                         = 0x402
-       F_OFD_GETLK                      = 0x24
-       F_OFD_SETLK                      = 0x25
-       F_OFD_SETLKW                     = 0x26
-       F_OK                             = 0x0
-       F_RDLCK                          = 0x0
-       F_SETFD                          = 0x2
-       F_SETFL                          = 0x4
-       F_SETLEASE                       = 0x400
-       F_SETLK                          = 0x6
-       F_SETLK64                        = 0xd
-       F_SETLKW                         = 0x7
-       F_SETLKW64                       = 0xe
-       F_SETOWN                         = 0x8
-       F_SETOWN_EX                      = 0xf
-       F_SETPIPE_SZ                     = 0x407
-       F_SETSIG                         = 0xa
-       F_SHLCK                          = 0x8
-       F_TEST                           = 0x3
-       F_TLOCK                          = 0x2
-       F_ULOCK                          = 0x0
-       F_UNLCK                          = 0x2
-       F_WRLCK                          = 0x1
-       GRND_NONBLOCK                    = 0x1
-       GRND_RANDOM                      = 0x2
-       HUPCL                            = 0x4000
-       IBSHIFT                          = 0x10
-       ICANON                           = 0x100
-       ICMPV6_FILTER                    = 0x1
-       ICRNL                            = 0x100
-       IEXTEN                           = 0x400
-       IFA_F_DADFAILED                  = 0x8
-       IFA_F_DEPRECATED                 = 0x20
-       IFA_F_HOMEADDRESS                = 0x10
-       IFA_F_MANAGETEMPADDR             = 0x100
-       IFA_F_MCAUTOJOIN                 = 0x400
-       IFA_F_NODAD                      = 0x2
-       IFA_F_NOPREFIXROUTE              = 0x200
-       IFA_F_OPTIMISTIC                 = 0x4
-       IFA_F_PERMANENT                  = 0x80
-       IFA_F_SECONDARY                  = 0x1
-       IFA_F_STABLE_PRIVACY             = 0x800
-       IFA_F_TEMPORARY                  = 0x1
-       IFA_F_TENTATIVE                  = 0x40
-       IFA_MAX                          = 0x8
-       IFF_ALLMULTI                     = 0x200
-       IFF_ATTACH_QUEUE                 = 0x200
-       IFF_AUTOMEDIA                    = 0x4000
-       IFF_BROADCAST                    = 0x2
-       IFF_DEBUG                        = 0x4
-       IFF_DETACH_QUEUE                 = 0x400
-       IFF_DORMANT                      = 0x20000
-       IFF_DYNAMIC                      = 0x8000
-       IFF_ECHO                         = 0x40000
-       IFF_LOOPBACK                     = 0x8
-       IFF_LOWER_UP                     = 0x10000
-       IFF_MASTER                       = 0x400
-       IFF_MULTICAST                    = 0x1000
-       IFF_MULTI_QUEUE                  = 0x100
-       IFF_NOARP                        = 0x80
-       IFF_NOFILTER                     = 0x1000
-       IFF_NOTRAILERS                   = 0x20
-       IFF_NO_PI                        = 0x1000
-       IFF_ONE_QUEUE                    = 0x2000
-       IFF_PERSIST                      = 0x800
-       IFF_POINTOPOINT                  = 0x10
-       IFF_PORTSEL                      = 0x2000
-       IFF_PROMISC                      = 0x100
-       IFF_RUNNING                      = 0x40
-       IFF_SLAVE                        = 0x800
-       IFF_TAP                          = 0x2
-       IFF_TUN                          = 0x1
-       IFF_TUN_EXCL                     = 0x8000
-       IFF_UP                           = 0x1
-       IFF_VNET_HDR                     = 0x4000
-       IFF_VOLATILE                     = 0x70c5a
-       IFNAMSIZ                         = 0x10
-       IGNBRK                           = 0x1
-       IGNCR                            = 0x80
-       IGNPAR                           = 0x4
-       IMAXBEL                          = 0x2000
-       INLCR                            = 0x40
-       INPCK                            = 0x10
-       IN_ACCESS                        = 0x1
-       IN_ALL_EVENTS                    = 0xfff
-       IN_ATTRIB                        = 0x4
-       IN_CLASSA_HOST                   = 0xffffff
-       IN_CLASSA_MAX                    = 0x80
-       IN_CLASSA_NET                    = 0xff000000
-       IN_CLASSA_NSHIFT                 = 0x18
-       IN_CLASSB_HOST                   = 0xffff
-       IN_CLASSB_MAX                    = 0x10000
-       IN_CLASSB_NET                    = 0xffff0000
-       IN_CLASSB_NSHIFT                 = 0x10
-       IN_CLASSC_HOST                   = 0xff
-       IN_CLASSC_NET                    = 0xffffff00
-       IN_CLASSC_NSHIFT                 = 0x8
-       IN_CLOEXEC                       = 0x80000
-       IN_CLOSE                         = 0x18
-       IN_CLOSE_NOWRITE                 = 0x10
-       IN_CLOSE_WRITE                   = 0x8
-       IN_CREATE                        = 0x100
-       IN_DELETE                        = 0x200
-       IN_DELETE_SELF                   = 0x400
-       IN_DONT_FOLLOW                   = 0x2000000
-       IN_EXCL_UNLINK                   = 0x4000000
-       IN_IGNORED                       = 0x8000
-       IN_ISDIR                         = 0x40000000
-       IN_LOOPBACKNET                   = 0x7f
-       IN_MASK_ADD                      = 0x20000000
-       IN_MODIFY                        = 0x2
-       IN_MOVE                          = 0xc0
-       IN_MOVED_FROM                    = 0x40
-       IN_MOVED_TO                      = 0x80
-       IN_MOVE_SELF                     = 0x800
-       IN_NONBLOCK                      = 0x800
-       IN_ONESHOT                       = 0x80000000
-       IN_ONLYDIR                       = 0x1000000
-       IN_OPEN                          = 0x20
-       IN_Q_OVERFLOW                    = 0x4000
-       IN_UNMOUNT                       = 0x2000
-       IPPROTO_AH                       = 0x33
-       IPPROTO_BEETPH                   = 0x5e
-       IPPROTO_COMP                     = 0x6c
-       IPPROTO_DCCP                     = 0x21
-       IPPROTO_DSTOPTS                  = 0x3c
-       IPPROTO_EGP                      = 0x8
-       IPPROTO_ENCAP                    = 0x62
-       IPPROTO_ESP                      = 0x32
-       IPPROTO_FRAGMENT                 = 0x2c
-       IPPROTO_GRE                      = 0x2f
-       IPPROTO_HOPOPTS                  = 0x0
-       IPPROTO_ICMP                     = 0x1
-       IPPROTO_ICMPV6                   = 0x3a
-       IPPROTO_IDP                      = 0x16
-       IPPROTO_IGMP                     = 0x2
-       IPPROTO_IP                       = 0x0
-       IPPROTO_IPIP                     = 0x4
-       IPPROTO_IPV6                     = 0x29
-       IPPROTO_MH                       = 0x87
-       IPPROTO_MPLS                     = 0x89
-       IPPROTO_MTP                      = 0x5c
-       IPPROTO_NONE                     = 0x3b
-       IPPROTO_PIM                      = 0x67
-       IPPROTO_PUP                      = 0xc
-       IPPROTO_RAW                      = 0xff
-       IPPROTO_ROUTING                  = 0x2b
-       IPPROTO_RSVP                     = 0x2e
-       IPPROTO_SCTP                     = 0x84
-       IPPROTO_TCP                      = 0x6
-       IPPROTO_TP                       = 0x1d
-       IPPROTO_UDP                      = 0x11
-       IPPROTO_UDPLITE                  = 0x88
-       IPV6_2292DSTOPTS                 = 0x4
-       IPV6_2292HOPLIMIT                = 0x8
-       IPV6_2292HOPOPTS                 = 0x3
-       IPV6_2292PKTINFO                 = 0x2
-       IPV6_2292PKTOPTIONS              = 0x6
-       IPV6_2292RTHDR                   = 0x5
-       IPV6_ADDRFORM                    = 0x1
-       IPV6_ADD_MEMBERSHIP              = 0x14
-       IPV6_AUTHHDR                     = 0xa
-       IPV6_CHECKSUM                    = 0x7
-       IPV6_DONTFRAG                    = 0x3e
-       IPV6_DROP_MEMBERSHIP             = 0x15
-       IPV6_DSTOPTS                     = 0x3b
-       IPV6_HDRINCL                     = 0x24
-       IPV6_HOPLIMIT                    = 0x34
-       IPV6_HOPOPTS                     = 0x36
-       IPV6_IPSEC_POLICY                = 0x22
-       IPV6_JOIN_ANYCAST                = 0x1b
-       IPV6_JOIN_GROUP                  = 0x14
-       IPV6_LEAVE_ANYCAST               = 0x1c
-       IPV6_LEAVE_GROUP                 = 0x15
-       IPV6_MTU                         = 0x18
-       IPV6_MTU_DISCOVER                = 0x17
-       IPV6_MULTICAST_HOPS              = 0x12
-       IPV6_MULTICAST_IF                = 0x11
-       IPV6_MULTICAST_LOOP              = 0x13
-       IPV6_NEXTHOP                     = 0x9
-       IPV6_PATHMTU                     = 0x3d
-       IPV6_PKTINFO                     = 0x32
-       IPV6_PMTUDISC_DO                 = 0x2
-       IPV6_PMTUDISC_DONT               = 0x0
-       IPV6_PMTUDISC_INTERFACE          = 0x4
-       IPV6_PMTUDISC_OMIT               = 0x5
-       IPV6_PMTUDISC_PROBE              = 0x3
-       IPV6_PMTUDISC_WANT               = 0x1
-       IPV6_RECVDSTOPTS                 = 0x3a
-       IPV6_RECVERR                     = 0x19
-       IPV6_RECVHOPLIMIT                = 0x33
-       IPV6_RECVHOPOPTS                 = 0x35
-       IPV6_RECVPATHMTU                 = 0x3c
-       IPV6_RECVPKTINFO                 = 0x31
-       IPV6_RECVRTHDR                   = 0x38
-       IPV6_RECVTCLASS                  = 0x42
-       IPV6_ROUTER_ALERT                = 0x16
-       IPV6_RTHDR                       = 0x39
-       IPV6_RTHDRDSTOPTS                = 0x37
-       IPV6_RTHDR_LOOSE                 = 0x0
-       IPV6_RTHDR_STRICT                = 0x1
-       IPV6_RTHDR_TYPE_0                = 0x0
-       IPV6_RXDSTOPTS                   = 0x3b
-       IPV6_RXHOPOPTS                   = 0x36
-       IPV6_TCLASS                      = 0x43
-       IPV6_UNICAST_HOPS                = 0x10
-       IPV6_V6ONLY                      = 0x1a
-       IPV6_XFRM_POLICY                 = 0x23
-       IP_ADD_MEMBERSHIP                = 0x23
-       IP_ADD_SOURCE_MEMBERSHIP         = 0x27
-       IP_BIND_ADDRESS_NO_PORT          = 0x18
-       IP_BLOCK_SOURCE                  = 0x26
-       IP_CHECKSUM                      = 0x17
-       IP_DEFAULT_MULTICAST_LOOP        = 0x1
-       IP_DEFAULT_MULTICAST_TTL         = 0x1
-       IP_DF                            = 0x4000
-       IP_DROP_MEMBERSHIP               = 0x24
-       IP_DROP_SOURCE_MEMBERSHIP        = 0x28
-       IP_FREEBIND                      = 0xf
-       IP_HDRINCL                       = 0x3
-       IP_IPSEC_POLICY                  = 0x10
-       IP_MAXPACKET                     = 0xffff
-       IP_MAX_MEMBERSHIPS               = 0x14
-       IP_MF                            = 0x2000
-       IP_MINTTL                        = 0x15
-       IP_MSFILTER                      = 0x29
-       IP_MSS                           = 0x240
-       IP_MTU                           = 0xe
-       IP_MTU_DISCOVER                  = 0xa
-       IP_MULTICAST_ALL                 = 0x31
-       IP_MULTICAST_IF                  = 0x20
-       IP_MULTICAST_LOOP                = 0x22
-       IP_MULTICAST_TTL                 = 0x21
-       IP_NODEFRAG                      = 0x16
-       IP_OFFMASK                       = 0x1fff
-       IP_OPTIONS                       = 0x4
-       IP_ORIGDSTADDR                   = 0x14
-       IP_PASSSEC                       = 0x12
-       IP_PKTINFO                       = 0x8
-       IP_PKTOPTIONS                    = 0x9
-       IP_PMTUDISC                      = 0xa
-       IP_PMTUDISC_DO                   = 0x2
-       IP_PMTUDISC_DONT                 = 0x0
-       IP_PMTUDISC_INTERFACE            = 0x4
-       IP_PMTUDISC_OMIT                 = 0x5
-       IP_PMTUDISC_PROBE                = 0x3
-       IP_PMTUDISC_WANT                 = 0x1
-       IP_RECVERR                       = 0xb
-       IP_RECVOPTS                      = 0x6
-       IP_RECVORIGDSTADDR               = 0x14
-       IP_RECVRETOPTS                   = 0x7
-       IP_RECVTOS                       = 0xd
-       IP_RECVTTL                       = 0xc
-       IP_RETOPTS                       = 0x7
-       IP_RF                            = 0x8000
-       IP_ROUTER_ALERT                  = 0x5
-       IP_TOS                           = 0x1
-       IP_TRANSPARENT                   = 0x13
-       IP_TTL                           = 0x2
-       IP_UNBLOCK_SOURCE                = 0x25
-       IP_UNICAST_IF                    = 0x32
-       IP_XFRM_POLICY                   = 0x11
-       ISIG                             = 0x80
-       ISTRIP                           = 0x20
-       IUCLC                            = 0x1000
-       IUTF8                            = 0x4000
-       IXANY                            = 0x800
-       IXOFF                            = 0x400
-       IXON                             = 0x200
-       LINUX_REBOOT_CMD_CAD_OFF         = 0x0
-       LINUX_REBOOT_CMD_CAD_ON          = 0x89abcdef
-       LINUX_REBOOT_CMD_HALT            = 0xcdef0123
-       LINUX_REBOOT_CMD_KEXEC           = 0x45584543
-       LINUX_REBOOT_CMD_POWER_OFF       = 0x4321fedc
-       LINUX_REBOOT_CMD_RESTART         = 0x1234567
-       LINUX_REBOOT_CMD_RESTART2        = 0xa1b2c3d4
-       LINUX_REBOOT_CMD_SW_SUSPEND      = 0xd000fce2
-       LINUX_REBOOT_MAGIC1              = 0xfee1dead
-       LINUX_REBOOT_MAGIC2              = 0x28121969
-       LOCK_EX                          = 0x2
-       LOCK_NB                          = 0x4
-       LOCK_SH                          = 0x1
-       LOCK_UN                          = 0x8
-       MADV_DODUMP                      = 0x11
-       MADV_DOFORK                      = 0xb
-       MADV_DONTDUMP                    = 0x10
-       MADV_DONTFORK                    = 0xa
-       MADV_DONTNEED                    = 0x4
-       MADV_FREE                        = 0x8
-       MADV_HUGEPAGE                    = 0xe
-       MADV_HWPOISON                    = 0x64
-       MADV_MERGEABLE                   = 0xc
-       MADV_NOHUGEPAGE                  = 0xf
-       MADV_NORMAL                      = 0x0
-       MADV_RANDOM                      = 0x1
-       MADV_REMOVE                      = 0x9
-       MADV_SEQUENTIAL                  = 0x2
-       MADV_UNMERGEABLE                 = 0xd
-       MADV_WILLNEED                    = 0x3
-       MAP_ANON                         = 0x20
-       MAP_ANONYMOUS                    = 0x20
-       MAP_DENYWRITE                    = 0x800
-       MAP_EXECUTABLE                   = 0x1000
-       MAP_FILE                         = 0x0
-       MAP_FIXED                        = 0x10
-       MAP_GROWSDOWN                    = 0x100
-       MAP_HUGETLB                      = 0x40000
-       MAP_HUGE_MASK                    = 0x3f
-       MAP_HUGE_SHIFT                   = 0x1a
-       MAP_LOCKED                       = 0x80
-       MAP_NONBLOCK                     = 0x10000
-       MAP_NORESERVE                    = 0x40
-       MAP_POPULATE                     = 0x8000
-       MAP_PRIVATE                      = 0x2
-       MAP_SHARED                       = 0x1
-       MAP_STACK                        = 0x20000
-       MAP_TYPE                         = 0xf
-       MCL_CURRENT                      = 0x2000
-       MCL_FUTURE                       = 0x4000
-       MCL_ONFAULT                      = 0x8000
-       MNT_DETACH                       = 0x2
-       MNT_EXPIRE                       = 0x4
-       MNT_FORCE                        = 0x1
-       MSG_BATCH                        = 0x40000
-       MSG_CMSG_CLOEXEC                 = 0x40000000
-       MSG_CONFIRM                      = 0x800
-       MSG_CTRUNC                       = 0x8
-       MSG_DONTROUTE                    = 0x4
-       MSG_DONTWAIT                     = 0x40
-       MSG_EOR                          = 0x80
-       MSG_ERRQUEUE                     = 0x2000
-       MSG_FASTOPEN                     = 0x20000000
-       MSG_FIN                          = 0x200
-       MSG_MORE                         = 0x8000
-       MSG_NOSIGNAL                     = 0x4000
-       MSG_OOB                          = 0x1
-       MSG_PEEK                         = 0x2
-       MSG_PROXY                        = 0x10
-       MSG_RST                          = 0x1000
-       MSG_SYN                          = 0x400
-       MSG_TRUNC                        = 0x20
-       MSG_TRYHARD                      = 0x4
-       MSG_WAITALL                      = 0x100
-       MSG_WAITFORONE                   = 0x10000
-       MS_ACTIVE                        = 0x40000000
-       MS_ASYNC                         = 0x1
-       MS_BIND                          = 0x1000
-       MS_BORN                          = 0x20000000
-       MS_DIRSYNC                       = 0x80
-       MS_INVALIDATE                    = 0x2
-       MS_I_VERSION                     = 0x800000
-       MS_KERNMOUNT                     = 0x400000
-       MS_LAZYTIME                      = 0x2000000
-       MS_MANDLOCK                      = 0x40
-       MS_MGC_MSK                       = 0xffff0000
-       MS_MGC_VAL                       = 0xc0ed0000
-       MS_MOVE                          = 0x2000
-       MS_NOATIME                       = 0x400
-       MS_NODEV                         = 0x4
-       MS_NODIRATIME                    = 0x800
-       MS_NOEXEC                        = 0x8
-       MS_NOREMOTELOCK                  = 0x8000000
-       MS_NOSEC                         = 0x10000000
-       MS_NOSUID                        = 0x2
-       MS_NOUSER                        = -0x80000000
-       MS_POSIXACL                      = 0x10000
-       MS_PRIVATE                       = 0x40000
-       MS_RDONLY                        = 0x1
-       MS_REC                           = 0x4000
-       MS_RELATIME                      = 0x200000
-       MS_REMOUNT                       = 0x20
-       MS_RMT_MASK                      = 0x2800051
-       MS_SHARED                        = 0x100000
-       MS_SILENT                        = 0x8000
-       MS_SLAVE                         = 0x80000
-       MS_STRICTATIME                   = 0x1000000
-       MS_SYNC                          = 0x4
-       MS_SYNCHRONOUS                   = 0x10
-       MS_UNBINDABLE                    = 0x20000
-       MS_VERBOSE                       = 0x8000
-       NAME_MAX                         = 0xff
-       NETLINK_ADD_MEMBERSHIP           = 0x1
-       NETLINK_AUDIT                    = 0x9
-       NETLINK_BROADCAST_ERROR          = 0x4
-       NETLINK_CAP_ACK                  = 0xa
-       NETLINK_CONNECTOR                = 0xb
-       NETLINK_CRYPTO                   = 0x15
-       NETLINK_DNRTMSG                  = 0xe
-       NETLINK_DROP_MEMBERSHIP          = 0x2
-       NETLINK_ECRYPTFS                 = 0x13
-       NETLINK_FIB_LOOKUP               = 0xa
-       NETLINK_FIREWALL                 = 0x3
-       NETLINK_GENERIC                  = 0x10
-       NETLINK_INET_DIAG                = 0x4
-       NETLINK_IP6_FW                   = 0xd
-       NETLINK_ISCSI                    = 0x8
-       NETLINK_KOBJECT_UEVENT           = 0xf
-       NETLINK_LISTEN_ALL_NSID          = 0x8
-       NETLINK_LIST_MEMBERSHIPS         = 0x9
-       NETLINK_NETFILTER                = 0xc
-       NETLINK_NFLOG                    = 0x5
-       NETLINK_NO_ENOBUFS               = 0x5
-       NETLINK_PKTINFO                  = 0x3
-       NETLINK_RDMA                     = 0x14
-       NETLINK_ROUTE                    = 0x0
-       NETLINK_RX_RING                  = 0x6
-       NETLINK_SCSITRANSPORT            = 0x12
-       NETLINK_SELINUX                  = 0x7
-       NETLINK_SOCK_DIAG                = 0x4
-       NETLINK_TX_RING                  = 0x7
-       NETLINK_UNUSED                   = 0x1
-       NETLINK_USERSOCK                 = 0x2
-       NETLINK_XFRM                     = 0x6
-       NL0                              = 0x0
-       NL1                              = 0x100
-       NL2                              = 0x200
-       NL3                              = 0x300
-       NLA_ALIGNTO                      = 0x4
-       NLA_F_NESTED                     = 0x8000
-       NLA_F_NET_BYTEORDER              = 0x4000
-       NLA_HDRLEN                       = 0x4
-       NLDLY                            = 0x300
-       NLMSG_ALIGNTO                    = 0x4
-       NLMSG_DONE                       = 0x3
-       NLMSG_ERROR                      = 0x2
-       NLMSG_HDRLEN                     = 0x10
-       NLMSG_MIN_TYPE                   = 0x10
-       NLMSG_NOOP                       = 0x1
-       NLMSG_OVERRUN                    = 0x4
-       NLM_F_ACK                        = 0x4
-       NLM_F_APPEND                     = 0x800
-       NLM_F_ATOMIC                     = 0x400
-       NLM_F_CREATE                     = 0x400
-       NLM_F_DUMP                       = 0x300
-       NLM_F_DUMP_FILTERED              = 0x20
-       NLM_F_DUMP_INTR                  = 0x10
-       NLM_F_ECHO                       = 0x8
-       NLM_F_EXCL                       = 0x200
-       NLM_F_MATCH                      = 0x200
-       NLM_F_MULTI                      = 0x2
-       NLM_F_REPLACE                    = 0x100
-       NLM_F_REQUEST                    = 0x1
-       NLM_F_ROOT                       = 0x100
-       NOFLSH                           = 0x80000000
-       OCRNL                            = 0x8
-       OFDEL                            = 0x80
-       OFILL                            = 0x40
-       OLCUC                            = 0x4
-       ONLCR                            = 0x2
-       ONLRET                           = 0x20
-       ONOCR                            = 0x10
-       OPOST                            = 0x1
-       O_ACCMODE                        = 0x3
-       O_APPEND                         = 0x400
-       O_ASYNC                          = 0x2000
-       O_CLOEXEC                        = 0x80000
-       O_CREAT                          = 0x40
-       O_DIRECT                         = 0x20000
-       O_DIRECTORY                      = 0x4000
-       O_DSYNC                          = 0x1000
-       O_EXCL                           = 0x80
-       O_FSYNC                          = 0x101000
-       O_LARGEFILE                      = 0x0
-       O_NDELAY                         = 0x800
-       O_NOATIME                        = 0x40000
-       O_NOCTTY                         = 0x100
-       O_NOFOLLOW                       = 0x8000
-       O_NONBLOCK                       = 0x800
-       O_PATH                           = 0x200000
-       O_RDONLY                         = 0x0
-       O_RDWR                           = 0x2
-       O_RSYNC                          = 0x101000
-       O_SYNC                           = 0x101000
-       O_TMPFILE                        = 0x404000
-       O_TRUNC                          = 0x200
-       O_WRONLY                         = 0x1
-       PACKET_ADD_MEMBERSHIP            = 0x1
-       PACKET_AUXDATA                   = 0x8
-       PACKET_BROADCAST                 = 0x1
-       PACKET_COPY_THRESH               = 0x7
-       PACKET_DROP_MEMBERSHIP           = 0x2
-       PACKET_FANOUT                    = 0x12
-       PACKET_FANOUT_CBPF               = 0x6
-       PACKET_FANOUT_CPU                = 0x2
-       PACKET_FANOUT_DATA               = 0x16
-       PACKET_FANOUT_EBPF               = 0x7
-       PACKET_FANOUT_FLAG_DEFRAG        = 0x8000
-       PACKET_FANOUT_FLAG_ROLLOVER      = 0x1000
-       PACKET_FANOUT_HASH               = 0x0
-       PACKET_FANOUT_LB                 = 0x1
-       PACKET_FANOUT_QM                 = 0x5
-       PACKET_FANOUT_RND                = 0x4
-       PACKET_FANOUT_ROLLOVER           = 0x3
-       PACKET_FASTROUTE                 = 0x6
-       PACKET_HDRLEN                    = 0xb
-       PACKET_HOST                      = 0x0
-       PACKET_KERNEL                    = 0x7
-       PACKET_LOOPBACK                  = 0x5
-       PACKET_LOSS                      = 0xe
-       PACKET_MR_ALLMULTI               = 0x2
-       PACKET_MR_MULTICAST              = 0x0
-       PACKET_MR_PROMISC                = 0x1
-       PACKET_MR_UNICAST                = 0x3
-       PACKET_MULTICAST                 = 0x2
-       PACKET_ORIGDEV                   = 0x9
-       PACKET_OTHERHOST                 = 0x3
-       PACKET_OUTGOING                  = 0x4
-       PACKET_QDISC_BYPASS              = 0x14
-       PACKET_RECV_OUTPUT               = 0x3
-       PACKET_RESERVE                   = 0xc
-       PACKET_ROLLOVER_STATS            = 0x15
-       PACKET_RX_RING                   = 0x5
-       PACKET_STATISTICS                = 0x6
-       PACKET_TIMESTAMP                 = 0x11
-       PACKET_TX_HAS_OFF                = 0x13
-       PACKET_TX_RING                   = 0xd
-       PACKET_TX_TIMESTAMP              = 0x10
-       PACKET_USER                      = 0x6
-       PACKET_VERSION                   = 0xa
-       PACKET_VNET_HDR                  = 0xf
-       PARENB                           = 0x1000
-       PARITY_CRC16_PR0                 = 0x2
-       PARITY_CRC16_PR0_CCITT           = 0x4
-       PARITY_CRC16_PR1                 = 0x3
-       PARITY_CRC16_PR1_CCITT           = 0x5
-       PARITY_CRC32_PR0_CCITT           = 0x6
-       PARITY_CRC32_PR1_CCITT           = 0x7
-       PARITY_DEFAULT                   = 0x0
-       PARITY_NONE                      = 0x1
-       PARMRK                           = 0x8
-       PARODD                           = 0x2000
-       PENDIN                           = 0x20000000
-       PRIO_PGRP                        = 0x1
-       PRIO_PROCESS                     = 0x0
-       PRIO_USER                        = 0x2
-       PROT_EXEC                        = 0x4
-       PROT_GROWSDOWN                   = 0x1000000
-       PROT_GROWSUP                     = 0x2000000
-       PROT_NONE                        = 0x0
-       PROT_READ                        = 0x1
-       PROT_SAO                         = 0x10
-       PROT_WRITE                       = 0x2
-       PR_CAPBSET_DROP                  = 0x18
-       PR_CAPBSET_READ                  = 0x17
-       PR_CAP_AMBIENT                   = 0x2f
-       PR_CAP_AMBIENT_CLEAR_ALL         = 0x4
-       PR_CAP_AMBIENT_IS_SET            = 0x1
-       PR_CAP_AMBIENT_LOWER             = 0x3
-       PR_CAP_AMBIENT_RAISE             = 0x2
-       PR_ENDIAN_BIG                    = 0x0
-       PR_ENDIAN_LITTLE                 = 0x1
-       PR_ENDIAN_PPC_LITTLE             = 0x2
-       PR_FPEMU_NOPRINT                 = 0x1
-       PR_FPEMU_SIGFPE                  = 0x2
-       PR_FP_EXC_ASYNC                  = 0x2
-       PR_FP_EXC_DISABLED               = 0x0
-       PR_FP_EXC_DIV                    = 0x10000
-       PR_FP_EXC_INV                    = 0x100000
-       PR_FP_EXC_NONRECOV               = 0x1
-       PR_FP_EXC_OVF                    = 0x20000
-       PR_FP_EXC_PRECISE                = 0x3
-       PR_FP_EXC_RES                    = 0x80000
-       PR_FP_EXC_SW_ENABLE              = 0x80
-       PR_FP_EXC_UND                    = 0x40000
-       PR_FP_MODE_FR                    = 0x1
-       PR_FP_MODE_FRE                   = 0x2
-       PR_GET_CHILD_SUBREAPER           = 0x25
-       PR_GET_DUMPABLE                  = 0x3
-       PR_GET_ENDIAN                    = 0x13
-       PR_GET_FPEMU                     = 0x9
-       PR_GET_FPEXC                     = 0xb
-       PR_GET_FP_MODE                   = 0x2e
-       PR_GET_KEEPCAPS                  = 0x7
-       PR_GET_NAME                      = 0x10
-       PR_GET_NO_NEW_PRIVS              = 0x27
-       PR_GET_PDEATHSIG                 = 0x2
-       PR_GET_SECCOMP                   = 0x15
-       PR_GET_SECUREBITS                = 0x1b
-       PR_GET_THP_DISABLE               = 0x2a
-       PR_GET_TID_ADDRESS               = 0x28
-       PR_GET_TIMERSLACK                = 0x1e
-       PR_GET_TIMING                    = 0xd
-       PR_GET_TSC                       = 0x19
-       PR_GET_UNALIGN                   = 0x5
-       PR_MCE_KILL                      = 0x21
-       PR_MCE_KILL_CLEAR                = 0x0
-       PR_MCE_KILL_DEFAULT              = 0x2
-       PR_MCE_KILL_EARLY                = 0x1
-       PR_MCE_KILL_GET                  = 0x22
-       PR_MCE_KILL_LATE                 = 0x0
-       PR_MCE_KILL_SET                  = 0x1
-       PR_MPX_DISABLE_MANAGEMENT        = 0x2c
-       PR_MPX_ENABLE_MANAGEMENT         = 0x2b
-       PR_SET_CHILD_SUBREAPER           = 0x24
-       PR_SET_DUMPABLE                  = 0x4
-       PR_SET_ENDIAN                    = 0x14
-       PR_SET_FPEMU                     = 0xa
-       PR_SET_FPEXC                     = 0xc
-       PR_SET_FP_MODE                   = 0x2d
-       PR_SET_KEEPCAPS                  = 0x8
-       PR_SET_MM                        = 0x23
-       PR_SET_MM_ARG_END                = 0x9
-       PR_SET_MM_ARG_START              = 0x8
-       PR_SET_MM_AUXV                   = 0xc
-       PR_SET_MM_BRK                    = 0x7
-       PR_SET_MM_END_CODE               = 0x2
-       PR_SET_MM_END_DATA               = 0x4
-       PR_SET_MM_ENV_END                = 0xb
-       PR_SET_MM_ENV_START              = 0xa
-       PR_SET_MM_EXE_FILE               = 0xd
-       PR_SET_MM_MAP                    = 0xe
-       PR_SET_MM_MAP_SIZE               = 0xf
-       PR_SET_MM_START_BRK              = 0x6
-       PR_SET_MM_START_CODE             = 0x1
-       PR_SET_MM_START_DATA             = 0x3
-       PR_SET_MM_START_STACK            = 0x5
-       PR_SET_NAME                      = 0xf
-       PR_SET_NO_NEW_PRIVS              = 0x26
-       PR_SET_PDEATHSIG                 = 0x1
-       PR_SET_PTRACER                   = 0x59616d61
-       PR_SET_PTRACER_ANY               = -0x1
-       PR_SET_SECCOMP                   = 0x16
-       PR_SET_SECUREBITS                = 0x1c
-       PR_SET_THP_DISABLE               = 0x29
-       PR_SET_TIMERSLACK                = 0x1d
-       PR_SET_TIMING                    = 0xe
-       PR_SET_TSC                       = 0x1a
-       PR_SET_UNALIGN                   = 0x6
-       PR_TASK_PERF_EVENTS_DISABLE      = 0x1f
-       PR_TASK_PERF_EVENTS_ENABLE       = 0x20
-       PR_TIMING_STATISTICAL            = 0x0
-       PR_TIMING_TIMESTAMP              = 0x1
-       PR_TSC_ENABLE                    = 0x1
-       PR_TSC_SIGSEGV                   = 0x2
-       PR_UNALIGN_NOPRINT               = 0x1
-       PR_UNALIGN_SIGBUS                = 0x2
-       PTRACE_ATTACH                    = 0x10
-       PTRACE_CONT                      = 0x7
-       PTRACE_DETACH                    = 0x11
-       PTRACE_EVENT_CLONE               = 0x3
-       PTRACE_EVENT_EXEC                = 0x4
-       PTRACE_EVENT_EXIT                = 0x6
-       PTRACE_EVENT_FORK                = 0x1
-       PTRACE_EVENT_SECCOMP             = 0x7
-       PTRACE_EVENT_STOP                = 0x80
-       PTRACE_EVENT_VFORK               = 0x2
-       PTRACE_EVENT_VFORK_DONE          = 0x5
-       PTRACE_GETEVENTMSG               = 0x4201
-       PTRACE_GETEVRREGS                = 0x14
-       PTRACE_GETFPREGS                 = 0xe
-       PTRACE_GETREGS                   = 0xc
-       PTRACE_GETREGS64                 = 0x16
-       PTRACE_GETREGSET                 = 0x4204
-       PTRACE_GETSIGINFO                = 0x4202
-       PTRACE_GETSIGMASK                = 0x420a
-       PTRACE_GETVRREGS                 = 0x12
-       PTRACE_GETVSRREGS                = 0x1b
-       PTRACE_GET_DEBUGREG              = 0x19
-       PTRACE_INTERRUPT                 = 0x4207
-       PTRACE_KILL                      = 0x8
-       PTRACE_LISTEN                    = 0x4208
-       PTRACE_O_EXITKILL                = 0x100000
-       PTRACE_O_MASK                    = 0x3000ff
-       PTRACE_O_SUSPEND_SECCOMP         = 0x200000
-       PTRACE_O_TRACECLONE              = 0x8
-       PTRACE_O_TRACEEXEC               = 0x10
-       PTRACE_O_TRACEEXIT               = 0x40
-       PTRACE_O_TRACEFORK               = 0x2
-       PTRACE_O_TRACESECCOMP            = 0x80
-       PTRACE_O_TRACESYSGOOD            = 0x1
-       PTRACE_O_TRACEVFORK              = 0x4
-       PTRACE_O_TRACEVFORKDONE          = 0x20
-       PTRACE_PEEKDATA                  = 0x2
-       PTRACE_PEEKSIGINFO               = 0x4209
-       PTRACE_PEEKSIGINFO_SHARED        = 0x1
-       PTRACE_PEEKTEXT                  = 0x1
-       PTRACE_PEEKUSR                   = 0x3
-       PTRACE_POKEDATA                  = 0x5
-       PTRACE_POKETEXT                  = 0x4
-       PTRACE_POKEUSR                   = 0x6
-       PTRACE_SECCOMP_GET_FILTER        = 0x420c
-       PTRACE_SEIZE                     = 0x4206
-       PTRACE_SETEVRREGS                = 0x15
-       PTRACE_SETFPREGS                 = 0xf
-       PTRACE_SETOPTIONS                = 0x4200
-       PTRACE_SETREGS                   = 0xd
-       PTRACE_SETREGS64                 = 0x17
-       PTRACE_SETREGSET                 = 0x4205
-       PTRACE_SETSIGINFO                = 0x4203
-       PTRACE_SETSIGMASK                = 0x420b
-       PTRACE_SETVRREGS                 = 0x13
-       PTRACE_SETVSRREGS                = 0x1c
-       PTRACE_SET_DEBUGREG              = 0x1a
-       PTRACE_SINGLEBLOCK               = 0x100
-       PTRACE_SINGLESTEP                = 0x9
-       PTRACE_SYSCALL                   = 0x18
-       PTRACE_TRACEME                   = 0x0
-       PT_CCR                           = 0x26
-       PT_CTR                           = 0x23
-       PT_DAR                           = 0x29
-       PT_DSCR                          = 0x2c
-       PT_DSISR                         = 0x2a
-       PT_FPR0                          = 0x30
-       PT_FPSCR                         = 0x50
-       PT_LNK                           = 0x24
-       PT_MSR                           = 0x21
-       PT_NIP                           = 0x20
-       PT_ORIG_R3                       = 0x22
-       PT_R0                            = 0x0
-       PT_R1                            = 0x1
-       PT_R10                           = 0xa
-       PT_R11                           = 0xb
-       PT_R12                           = 0xc
-       PT_R13                           = 0xd
-       PT_R14                           = 0xe
-       PT_R15                           = 0xf
-       PT_R16                           = 0x10
-       PT_R17                           = 0x11
-       PT_R18                           = 0x12
-       PT_R19                           = 0x13
-       PT_R2                            = 0x2
-       PT_R20                           = 0x14
-       PT_R21                           = 0x15
-       PT_R22                           = 0x16
-       PT_R23                           = 0x17
-       PT_R24                           = 0x18
-       PT_R25                           = 0x19
-       PT_R26                           = 0x1a
-       PT_R27                           = 0x1b
-       PT_R28                           = 0x1c
-       PT_R29                           = 0x1d
-       PT_R3                            = 0x3
-       PT_R30                           = 0x1e
-       PT_R31                           = 0x1f
-       PT_R4                            = 0x4
-       PT_R5                            = 0x5
-       PT_R6                            = 0x6
-       PT_R7                            = 0x7
-       PT_R8                            = 0x8
-       PT_R9                            = 0x9
-       PT_REGS_COUNT                    = 0x2c
-       PT_RESULT                        = 0x2b
-       PT_SOFTE                         = 0x27
-       PT_TRAP                          = 0x28
-       PT_VR0                           = 0x52
-       PT_VRSAVE                        = 0x94
-       PT_VSCR                          = 0x93
-       PT_VSR0                          = 0x96
-       PT_VSR31                         = 0xd4
-       PT_XER                           = 0x25
-       RLIMIT_AS                        = 0x9
-       RLIMIT_CORE                      = 0x4
-       RLIMIT_CPU                       = 0x0
-       RLIMIT_DATA                      = 0x2
-       RLIMIT_FSIZE                     = 0x1
-       RLIMIT_NOFILE                    = 0x7
-       RLIMIT_STACK                     = 0x3
-       RLIM_INFINITY                    = -0x1
-       RTAX_ADVMSS                      = 0x8
-       RTAX_CC_ALGO                     = 0x10
-       RTAX_CWND                        = 0x7
-       RTAX_FEATURES                    = 0xc
-       RTAX_FEATURE_ALLFRAG             = 0x8
-       RTAX_FEATURE_ECN                 = 0x1
-       RTAX_FEATURE_MASK                = 0xf
-       RTAX_FEATURE_SACK                = 0x2
-       RTAX_FEATURE_TIMESTAMP           = 0x4
-       RTAX_HOPLIMIT                    = 0xa
-       RTAX_INITCWND                    = 0xb
-       RTAX_INITRWND                    = 0xe
-       RTAX_LOCK                        = 0x1
-       RTAX_MAX                         = 0x10
-       RTAX_MTU                         = 0x2
-       RTAX_QUICKACK                    = 0xf
-       RTAX_REORDERING                  = 0x9
-       RTAX_RTO_MIN                     = 0xd
-       RTAX_RTT                         = 0x4
-       RTAX_RTTVAR                      = 0x5
-       RTAX_SSTHRESH                    = 0x6
-       RTAX_UNSPEC                      = 0x0
-       RTAX_WINDOW                      = 0x3
-       RTA_ALIGNTO                      = 0x4
-       RTA_MAX                          = 0x19
-       RTCF_DIRECTSRC                   = 0x4000000
-       RTCF_DOREDIRECT                  = 0x1000000
-       RTCF_LOG                         = 0x2000000
-       RTCF_MASQ                        = 0x400000
-       RTCF_NAT                         = 0x800000
-       RTCF_VALVE                       = 0x200000
-       RTF_ADDRCLASSMASK                = 0xf8000000
-       RTF_ADDRCONF                     = 0x40000
-       RTF_ALLONLINK                    = 0x20000
-       RTF_BROADCAST                    = 0x10000000
-       RTF_CACHE                        = 0x1000000
-       RTF_DEFAULT                      = 0x10000
-       RTF_DYNAMIC                      = 0x10
-       RTF_FLOW                         = 0x2000000
-       RTF_GATEWAY                      = 0x2
-       RTF_HOST                         = 0x4
-       RTF_INTERFACE                    = 0x40000000
-       RTF_IRTT                         = 0x100
-       RTF_LINKRT                       = 0x100000
-       RTF_LOCAL                        = 0x80000000
-       RTF_MODIFIED                     = 0x20
-       RTF_MSS                          = 0x40
-       RTF_MTU                          = 0x40
-       RTF_MULTICAST                    = 0x20000000
-       RTF_NAT                          = 0x8000000
-       RTF_NOFORWARD                    = 0x1000
-       RTF_NONEXTHOP                    = 0x200000
-       RTF_NOPMTUDISC                   = 0x4000
-       RTF_POLICY                       = 0x4000000
-       RTF_REINSTATE                    = 0x8
-       RTF_REJECT                       = 0x200
-       RTF_STATIC                       = 0x400
-       RTF_THROW                        = 0x2000
-       RTF_UP                           = 0x1
-       RTF_WINDOW                       = 0x80
-       RTF_XRESOLVE                     = 0x800
-       RTM_BASE                         = 0x10
-       RTM_DELACTION                    = 0x31
-       RTM_DELADDR                      = 0x15
-       RTM_DELADDRLABEL                 = 0x49
-       RTM_DELLINK                      = 0x11
-       RTM_DELMDB                       = 0x55
-       RTM_DELNEIGH                     = 0x1d
-       RTM_DELNSID                      = 0x59
-       RTM_DELQDISC                     = 0x25
-       RTM_DELROUTE                     = 0x19
-       RTM_DELRULE                      = 0x21
-       RTM_DELTCLASS                    = 0x29
-       RTM_DELTFILTER                   = 0x2d
-       RTM_F_CLONED                     = 0x200
-       RTM_F_EQUALIZE                   = 0x400
-       RTM_F_LOOKUP_TABLE               = 0x1000
-       RTM_F_NOTIFY                     = 0x100
-       RTM_F_PREFIX                     = 0x800
-       RTM_GETACTION                    = 0x32
-       RTM_GETADDR                      = 0x16
-       RTM_GETADDRLABEL                 = 0x4a
-       RTM_GETANYCAST                   = 0x3e
-       RTM_GETDCB                       = 0x4e
-       RTM_GETLINK                      = 0x12
-       RTM_GETMDB                       = 0x56
-       RTM_GETMULTICAST                 = 0x3a
-       RTM_GETNEIGH                     = 0x1e
-       RTM_GETNEIGHTBL                  = 0x42
-       RTM_GETNETCONF                   = 0x52
-       RTM_GETNSID                      = 0x5a
-       RTM_GETQDISC                     = 0x26
-       RTM_GETROUTE                     = 0x1a
-       RTM_GETRULE                      = 0x22
-       RTM_GETSTATS                     = 0x5e
-       RTM_GETTCLASS                    = 0x2a
-       RTM_GETTFILTER                   = 0x2e
-       RTM_MAX                          = 0x5f
-       RTM_NEWACTION                    = 0x30
-       RTM_NEWADDR                      = 0x14
-       RTM_NEWADDRLABEL                 = 0x48
-       RTM_NEWLINK                      = 0x10
-       RTM_NEWMDB                       = 0x54
-       RTM_NEWNDUSEROPT                 = 0x44
-       RTM_NEWNEIGH                     = 0x1c
-       RTM_NEWNEIGHTBL                  = 0x40
-       RTM_NEWNETCONF                   = 0x50
-       RTM_NEWNSID                      = 0x58
-       RTM_NEWPREFIX                    = 0x34
-       RTM_NEWQDISC                     = 0x24
-       RTM_NEWROUTE                     = 0x18
-       RTM_NEWRULE                      = 0x20
-       RTM_NEWSTATS                     = 0x5c
-       RTM_NEWTCLASS                    = 0x28
-       RTM_NEWTFILTER                   = 0x2c
-       RTM_NR_FAMILIES                  = 0x14
-       RTM_NR_MSGTYPES                  = 0x50
-       RTM_SETDCB                       = 0x4f
-       RTM_SETLINK                      = 0x13
-       RTM_SETNEIGHTBL                  = 0x43
-       RTNH_ALIGNTO                     = 0x4
-       RTNH_COMPARE_MASK                = 0x19
-       RTNH_F_DEAD                      = 0x1
-       RTNH_F_LINKDOWN                  = 0x10
-       RTNH_F_OFFLOAD                   = 0x8
-       RTNH_F_ONLINK                    = 0x4
-       RTNH_F_PERVASIVE                 = 0x2
-       RTN_MAX                          = 0xb
-       RTPROT_BABEL                     = 0x2a
-       RTPROT_BIRD                      = 0xc
-       RTPROT_BOOT                      = 0x3
-       RTPROT_DHCP                      = 0x10
-       RTPROT_DNROUTED                  = 0xd
-       RTPROT_GATED                     = 0x8
-       RTPROT_KERNEL                    = 0x2
-       RTPROT_MROUTED                   = 0x11
-       RTPROT_MRT                       = 0xa
-       RTPROT_NTK                       = 0xf
-       RTPROT_RA                        = 0x9
-       RTPROT_REDIRECT                  = 0x1
-       RTPROT_STATIC                    = 0x4
-       RTPROT_UNSPEC                    = 0x0
-       RTPROT_XORP                      = 0xe
-       RTPROT_ZEBRA                     = 0xb
-       RT_CLASS_DEFAULT                 = 0xfd
-       RT_CLASS_LOCAL                   = 0xff
-       RT_CLASS_MAIN                    = 0xfe
-       RT_CLASS_MAX                     = 0xff
-       RT_CLASS_UNSPEC                  = 0x0
-       RUSAGE_CHILDREN                  = -0x1
-       RUSAGE_SELF                      = 0x0
-       RUSAGE_THREAD                    = 0x1
-       SCM_CREDENTIALS                  = 0x2
-       SCM_RIGHTS                       = 0x1
-       SCM_TIMESTAMP                    = 0x1d
-       SCM_TIMESTAMPING                 = 0x25
-       SCM_TIMESTAMPING_OPT_STATS       = 0x36
-       SCM_TIMESTAMPNS                  = 0x23
-       SCM_WIFI_STATUS                  = 0x29
-       SHUT_RD                          = 0x0
-       SHUT_RDWR                        = 0x2
-       SHUT_WR                          = 0x1
-       SIOCADDDLCI                      = 0x8980
-       SIOCADDMULTI                     = 0x8931
-       SIOCADDRT                        = 0x890b
-       SIOCATMARK                       = 0x8905
-       SIOCDARP                         = 0x8953
-       SIOCDELDLCI                      = 0x8981
-       SIOCDELMULTI                     = 0x8932
-       SIOCDELRT                        = 0x890c
-       SIOCDEVPRIVATE                   = 0x89f0
-       SIOCDIFADDR                      = 0x8936
-       SIOCDRARP                        = 0x8960
-       SIOCGARP                         = 0x8954
-       SIOCGIFADDR                      = 0x8915
-       SIOCGIFBR                        = 0x8940
-       SIOCGIFBRDADDR                   = 0x8919
-       SIOCGIFCONF                      = 0x8912
-       SIOCGIFCOUNT                     = 0x8938
-       SIOCGIFDSTADDR                   = 0x8917
-       SIOCGIFENCAP                     = 0x8925
-       SIOCGIFFLAGS                     = 0x8913
-       SIOCGIFHWADDR                    = 0x8927
-       SIOCGIFINDEX                     = 0x8933
-       SIOCGIFMAP                       = 0x8970
-       SIOCGIFMEM                       = 0x891f
-       SIOCGIFMETRIC                    = 0x891d
-       SIOCGIFMTU                       = 0x8921
-       SIOCGIFNAME                      = 0x8910
-       SIOCGIFNETMASK                   = 0x891b
-       SIOCGIFPFLAGS                    = 0x8935
-       SIOCGIFSLAVE                     = 0x8929
-       SIOCGIFTXQLEN                    = 0x8942
-       SIOCGPGRP                        = 0x8904
-       SIOCGRARP                        = 0x8961
-       SIOCGSTAMP                       = 0x8906
-       SIOCGSTAMPNS                     = 0x8907
-       SIOCPROTOPRIVATE                 = 0x89e0
-       SIOCRTMSG                        = 0x890d
-       SIOCSARP                         = 0x8955
-       SIOCSIFADDR                      = 0x8916
-       SIOCSIFBR                        = 0x8941
-       SIOCSIFBRDADDR                   = 0x891a
-       SIOCSIFDSTADDR                   = 0x8918
-       SIOCSIFENCAP                     = 0x8926
-       SIOCSIFFLAGS                     = 0x8914
-       SIOCSIFHWADDR                    = 0x8924
-       SIOCSIFHWBROADCAST               = 0x8937
-       SIOCSIFLINK                      = 0x8911
-       SIOCSIFMAP                       = 0x8971
-       SIOCSIFMEM                       = 0x8920
-       SIOCSIFMETRIC                    = 0x891e
-       SIOCSIFMTU                       = 0x8922
-       SIOCSIFNAME                      = 0x8923
-       SIOCSIFNETMASK                   = 0x891c
-       SIOCSIFPFLAGS                    = 0x8934
-       SIOCSIFSLAVE                     = 0x8930
-       SIOCSIFTXQLEN                    = 0x8943
-       SIOCSPGRP                        = 0x8902
-       SIOCSRARP                        = 0x8962
-       SOCK_CLOEXEC                     = 0x80000
-       SOCK_DCCP                        = 0x6
-       SOCK_DGRAM                       = 0x2
-       SOCK_NONBLOCK                    = 0x800
-       SOCK_PACKET                      = 0xa
-       SOCK_RAW                         = 0x3
-       SOCK_RDM                         = 0x4
-       SOCK_SEQPACKET                   = 0x5
-       SOCK_STREAM                      = 0x1
-       SOL_AAL                          = 0x109
-       SOL_ALG                          = 0x117
-       SOL_ATM                          = 0x108
-       SOL_CAIF                         = 0x116
-       SOL_CAN_BASE                     = 0x64
-       SOL_DCCP                         = 0x10d
-       SOL_DECNET                       = 0x105
-       SOL_ICMPV6                       = 0x3a
-       SOL_IP                           = 0x0
-       SOL_IPV6                         = 0x29
-       SOL_IRDA                         = 0x10a
-       SOL_IUCV                         = 0x115
-       SOL_KCM                          = 0x119
-       SOL_LLC                          = 0x10c
-       SOL_NETBEUI                      = 0x10b
-       SOL_NETLINK                      = 0x10e
-       SOL_NFC                          = 0x118
-       SOL_PACKET                       = 0x107
-       SOL_PNPIPE                       = 0x113
-       SOL_PPPOL2TP                     = 0x111
-       SOL_RAW                          = 0xff
-       SOL_RDS                          = 0x114
-       SOL_RXRPC                        = 0x110
-       SOL_SOCKET                       = 0x1
-       SOL_TCP                          = 0x6
-       SOL_TIPC                         = 0x10f
-       SOL_X25                          = 0x106
-       SOMAXCONN                        = 0x80
-       SO_ACCEPTCONN                    = 0x1e
-       SO_ATTACH_BPF                    = 0x32
-       SO_ATTACH_FILTER                 = 0x1a
-       SO_ATTACH_REUSEPORT_CBPF         = 0x33
-       SO_ATTACH_REUSEPORT_EBPF         = 0x34
-       SO_BINDTODEVICE                  = 0x19
-       SO_BPF_EXTENSIONS                = 0x30
-       SO_BROADCAST                     = 0x6
-       SO_BSDCOMPAT                     = 0xe
-       SO_BUSY_POLL                     = 0x2e
-       SO_CNX_ADVICE                    = 0x35
-       SO_DEBUG                         = 0x1
-       SO_DETACH_BPF                    = 0x1b
-       SO_DETACH_FILTER                 = 0x1b
-       SO_DOMAIN                        = 0x27
-       SO_DONTROUTE                     = 0x5
-       SO_ERROR                         = 0x4
-       SO_GET_FILTER                    = 0x1a
-       SO_INCOMING_CPU                  = 0x31
-       SO_KEEPALIVE                     = 0x9
-       SO_LINGER                        = 0xd
-       SO_LOCK_FILTER                   = 0x2c
-       SO_MARK                          = 0x24
-       SO_MAX_PACING_RATE               = 0x2f
-       SO_NOFCS                         = 0x2b
-       SO_NO_CHECK                      = 0xb
-       SO_OOBINLINE                     = 0xa
-       SO_PASSCRED                      = 0x14
-       SO_PASSSEC                       = 0x22
-       SO_PEEK_OFF                      = 0x2a
-       SO_PEERCRED                      = 0x15
-       SO_PEERNAME                      = 0x1c
-       SO_PEERSEC                       = 0x1f
-       SO_PRIORITY                      = 0xc
-       SO_PROTOCOL                      = 0x26
-       SO_RCVBUF                        = 0x8
-       SO_RCVBUFFORCE                   = 0x21
-       SO_RCVLOWAT                      = 0x10
-       SO_RCVTIMEO                      = 0x12
-       SO_REUSEADDR                     = 0x2
-       SO_REUSEPORT                     = 0xf
-       SO_RXQ_OVFL                      = 0x28
-       SO_SECURITY_AUTHENTICATION       = 0x16
-       SO_SECURITY_ENCRYPTION_NETWORK   = 0x18
-       SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-       SO_SELECT_ERR_QUEUE              = 0x2d
-       SO_SNDBUF                        = 0x7
-       SO_SNDBUFFORCE                   = 0x20
-       SO_SNDLOWAT                      = 0x11
-       SO_SNDTIMEO                      = 0x13
-       SO_TIMESTAMP                     = 0x1d
-       SO_TIMESTAMPING                  = 0x25
-       SO_TIMESTAMPNS                   = 0x23
-       SO_TYPE                          = 0x3
-       SO_VM_SOCKETS_BUFFER_MAX_SIZE    = 0x2
-       SO_VM_SOCKETS_BUFFER_MIN_SIZE    = 0x1
-       SO_VM_SOCKETS_BUFFER_SIZE        = 0x0
-       SO_VM_SOCKETS_CONNECT_TIMEOUT    = 0x6
-       SO_VM_SOCKETS_NONBLOCK_TXRX      = 0x7
-       SO_VM_SOCKETS_PEER_HOST_VM_ID    = 0x3
-       SO_VM_SOCKETS_TRUSTED            = 0x5
-       SO_WIFI_STATUS                   = 0x29
-       SPLICE_F_GIFT                    = 0x8
-       SPLICE_F_MORE                    = 0x4
-       SPLICE_F_MOVE                    = 0x1
-       SPLICE_F_NONBLOCK                = 0x2
-       S_BLKSIZE                        = 0x200
-       S_IEXEC                          = 0x40
-       S_IFBLK                          = 0x6000
-       S_IFCHR                          = 0x2000
-       S_IFDIR                          = 0x4000
-       S_IFIFO                          = 0x1000
-       S_IFLNK                          = 0xa000
-       S_IFMT                           = 0xf000
-       S_IFREG                          = 0x8000
-       S_IFSOCK                         = 0xc000
-       S_IREAD                          = 0x100
-       S_IRGRP                          = 0x20
-       S_IROTH                          = 0x4
-       S_IRUSR                          = 0x100
-       S_IRWXG                          = 0x38
-       S_IRWXO                          = 0x7
-       S_IRWXU                          = 0x1c0
-       S_ISGID                          = 0x400
-       S_ISUID                          = 0x800
-       S_ISVTX                          = 0x200
-       S_IWGRP                          = 0x10
-       S_IWOTH                          = 0x2
-       S_IWRITE                         = 0x80
-       S_IWUSR                          = 0x80
-       S_IXGRP                          = 0x8
-       S_IXOTH                          = 0x1
-       S_IXUSR                          = 0x40
-       TAB0                             = 0x0
-       TAB1                             = 0x400
-       TAB2                             = 0x800
-       TAB3                             = 0xc00
-       TABDLY                           = 0xc00
-       TCFLSH                           = 0x2000741f
-       TCGETA                           = 0x40147417
-       TCGETS                           = 0x402c7413
-       TCIFLUSH                         = 0x0
-       TCIOFF                           = 0x2
-       TCIOFLUSH                        = 0x2
-       TCION                            = 0x3
-       TCOFLUSH                         = 0x1
-       TCOOFF                           = 0x0
-       TCOON                            = 0x1
-       TCP_CC_INFO                      = 0x1a
-       TCP_CONGESTION                   = 0xd
-       TCP_COOKIE_IN_ALWAYS             = 0x1
-       TCP_COOKIE_MAX                   = 0x10
-       TCP_COOKIE_MIN                   = 0x8
-       TCP_COOKIE_OUT_NEVER             = 0x2
-       TCP_COOKIE_PAIR_SIZE             = 0x20
-       TCP_COOKIE_TRANSACTIONS          = 0xf
-       TCP_CORK                         = 0x3
-       TCP_DEFER_ACCEPT                 = 0x9
-       TCP_FASTOPEN                     = 0x17
-       TCP_INFO                         = 0xb
-       TCP_KEEPCNT                      = 0x6
-       TCP_KEEPIDLE                     = 0x4
-       TCP_KEEPINTVL                    = 0x5
-       TCP_LINGER2                      = 0x8
-       TCP_MAXSEG                       = 0x2
-       TCP_MAXWIN                       = 0xffff
-       TCP_MAX_WINSHIFT                 = 0xe
-       TCP_MD5SIG                       = 0xe
-       TCP_MD5SIG_MAXKEYLEN             = 0x50
-       TCP_MSS                          = 0x200
-       TCP_MSS_DEFAULT                  = 0x218
-       TCP_MSS_DESIRED                  = 0x4c4
-       TCP_NODELAY                      = 0x1
-       TCP_NOTSENT_LOWAT                = 0x19
-       TCP_QUEUE_SEQ                    = 0x15
-       TCP_QUICKACK                     = 0xc
-       TCP_REPAIR                       = 0x13
-       TCP_REPAIR_OPTIONS               = 0x16
-       TCP_REPAIR_QUEUE                 = 0x14
-       TCP_REPAIR_WINDOW                = 0x1d
-       TCP_SAVED_SYN                    = 0x1c
-       TCP_SAVE_SYN                     = 0x1b
-       TCP_SYNCNT                       = 0x7
-       TCP_S_DATA_IN                    = 0x4
-       TCP_S_DATA_OUT                   = 0x8
-       TCP_THIN_DUPACK                  = 0x11
-       TCP_THIN_LINEAR_TIMEOUTS         = 0x10
-       TCP_TIMESTAMP                    = 0x18
-       TCP_USER_TIMEOUT                 = 0x12
-       TCP_WINDOW_CLAMP                 = 0xa
-       TCSAFLUSH                        = 0x2
-       TCSBRK                           = 0x2000741d
-       TCSBRKP                          = 0x5425
-       TCSETA                           = 0x80147418
-       TCSETAF                          = 0x8014741c
-       TCSETAW                          = 0x80147419
-       TCSETS                           = 0x802c7414
-       TCSETSF                          = 0x802c7416
-       TCSETSW                          = 0x802c7415
-       TCXONC                           = 0x2000741e
-       TIOCCBRK                         = 0x5428
-       TIOCCONS                         = 0x541d
-       TIOCEXCL                         = 0x540c
-       TIOCGDEV                         = 0x40045432
-       TIOCGETC                         = 0x40067412
-       TIOCGETD                         = 0x5424
-       TIOCGETP                         = 0x40067408
-       TIOCGEXCL                        = 0x40045440
-       TIOCGICOUNT                      = 0x545d
-       TIOCGLCKTRMIOS                   = 0x5456
-       TIOCGLTC                         = 0x40067474
-       TIOCGPGRP                        = 0x40047477
-       TIOCGPKT                         = 0x40045438
-       TIOCGPTLCK                       = 0x40045439
-       TIOCGPTN                         = 0x40045430
-       TIOCGRS485                       = 0x542e
-       TIOCGSERIAL                      = 0x541e
-       TIOCGSID                         = 0x5429
-       TIOCGSOFTCAR                     = 0x5419
-       TIOCGWINSZ                       = 0x40087468
-       TIOCINQ                          = 0x4004667f
-       TIOCLINUX                        = 0x541c
-       TIOCMBIC                         = 0x5417
-       TIOCMBIS                         = 0x5416
-       TIOCMGET                         = 0x5415
-       TIOCMIWAIT                       = 0x545c
-       TIOCMSET                         = 0x5418
-       TIOCM_CAR                        = 0x40
-       TIOCM_CD                         = 0x40
-       TIOCM_CTS                        = 0x20
-       TIOCM_DSR                        = 0x100
-       TIOCM_DTR                        = 0x2
-       TIOCM_LE                         = 0x1
-       TIOCM_LOOP                       = 0x8000
-       TIOCM_OUT1                       = 0x2000
-       TIOCM_OUT2                       = 0x4000
-       TIOCM_RI                         = 0x80
-       TIOCM_RNG                        = 0x80
-       TIOCM_RTS                        = 0x4
-       TIOCM_SR                         = 0x10
-       TIOCM_ST                         = 0x8
-       TIOCNOTTY                        = 0x5422
-       TIOCNXCL                         = 0x540d
-       TIOCOUTQ                         = 0x40047473
-       TIOCPKT                          = 0x5420
-       TIOCPKT_DATA                     = 0x0
-       TIOCPKT_DOSTOP                   = 0x20
-       TIOCPKT_FLUSHREAD                = 0x1
-       TIOCPKT_FLUSHWRITE               = 0x2
-       TIOCPKT_IOCTL                    = 0x40
-       TIOCPKT_NOSTOP                   = 0x10
-       TIOCPKT_START                    = 0x8
-       TIOCPKT_STOP                     = 0x4
-       TIOCSBRK                         = 0x5427
-       TIOCSCTTY                        = 0x540e
-       TIOCSERCONFIG                    = 0x5453
-       TIOCSERGETLSR                    = 0x5459
-       TIOCSERGETMULTI                  = 0x545a
-       TIOCSERGSTRUCT                   = 0x5458
-       TIOCSERGWILD                     = 0x5454
-       TIOCSERSETMULTI                  = 0x545b
-       TIOCSERSWILD                     = 0x5455
-       TIOCSER_TEMT                     = 0x1
-       TIOCSETC                         = 0x80067411
-       TIOCSETD                         = 0x5423
-       TIOCSETN                         = 0x8006740a
-       TIOCSETP                         = 0x80067409
-       TIOCSIG                          = 0x80045436
-       TIOCSLCKTRMIOS                   = 0x5457
-       TIOCSLTC                         = 0x80067475
-       TIOCSPGRP                        = 0x80047476
-       TIOCSPTLCK                       = 0x80045431
-       TIOCSRS485                       = 0x542f
-       TIOCSSERIAL                      = 0x541f
-       TIOCSSOFTCAR                     = 0x541a
-       TIOCSTART                        = 0x2000746e
-       TIOCSTI                          = 0x5412
-       TIOCSTOP                         = 0x2000746f
-       TIOCSWINSZ                       = 0x80087467
-       TIOCVHANGUP                      = 0x5437
-       TOSTOP                           = 0x400000
-       TUNATTACHFILTER                  = 0x801054d5
-       TUNDETACHFILTER                  = 0x801054d6
-       TUNGETFEATURES                   = 0x400454cf
-       TUNGETFILTER                     = 0x401054db
-       TUNGETIFF                        = 0x400454d2
-       TUNGETSNDBUF                     = 0x400454d3
-       TUNGETVNETBE                     = 0x400454df
-       TUNGETVNETHDRSZ                  = 0x400454d7
-       TUNGETVNETLE                     = 0x400454dd
-       TUNSETDEBUG                      = 0x800454c9
-       TUNSETGROUP                      = 0x800454ce
-       TUNSETIFF                        = 0x800454ca
-       TUNSETIFINDEX                    = 0x800454da
-       TUNSETLINK                       = 0x800454cd
-       TUNSETNOCSUM                     = 0x800454c8
-       TUNSETOFFLOAD                    = 0x800454d0
-       TUNSETOWNER                      = 0x800454cc
-       TUNSETPERSIST                    = 0x800454cb
-       TUNSETQUEUE                      = 0x800454d9
-       TUNSETSNDBUF                     = 0x800454d4
-       TUNSETTXFILTER                   = 0x800454d1
-       TUNSETVNETBE                     = 0x800454de
-       TUNSETVNETHDRSZ                  = 0x800454d8
-       TUNSETVNETLE                     = 0x800454dc
-       VDISCARD                         = 0x10
-       VEOF                             = 0x4
-       VEOL                             = 0x6
-       VEOL2                            = 0x8
-       VERASE                           = 0x2
-       VINTR                            = 0x0
-       VKILL                            = 0x3
-       VLNEXT                           = 0xf
-       VMADDR_CID_ANY                   = 0xffffffff
-       VMADDR_CID_HOST                  = 0x2
-       VMADDR_CID_HYPERVISOR            = 0x0
-       VMADDR_CID_RESERVED              = 0x1
-       VMADDR_PORT_ANY                  = 0xffffffff
-       VMIN                             = 0x5
-       VM_SOCKETS_INVALID_VERSION       = 0xffffffff
-       VQUIT                            = 0x1
-       VREPRINT                         = 0xb
-       VSTART                           = 0xd
-       VSTOP                            = 0xe
-       VSUSP                            = 0xc
-       VSWTC                            = 0x9
-       VT0                              = 0x0
-       VT1                              = 0x10000
-       VTDLY                            = 0x10000
-       VTIME                            = 0x7
-       VWERASE                          = 0xa
-       WALL                             = 0x40000000
-       WCLONE                           = 0x80000000
-       WCONTINUED                       = 0x8
-       WEXITED                          = 0x4
-       WNOHANG                          = 0x1
-       WNOTHREAD                        = 0x20000000
-       WNOWAIT                          = 0x1000000
-       WORDSIZE                         = 0x40
-       WSTOPPED                         = 0x2
-       WUNTRACED                        = 0x2
-       XCASE                            = 0x4000
-       XTABS                            = 0xc00
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x62)
-       EADDRNOTAVAIL   = syscall.Errno(0x63)
-       EADV            = syscall.Errno(0x44)
-       EAFNOSUPPORT    = syscall.Errno(0x61)
-       EAGAIN          = syscall.Errno(0xb)
-       EALREADY        = syscall.Errno(0x72)
-       EBADE           = syscall.Errno(0x34)
-       EBADF           = syscall.Errno(0x9)
-       EBADFD          = syscall.Errno(0x4d)
-       EBADMSG         = syscall.Errno(0x4a)
-       EBADR           = syscall.Errno(0x35)
-       EBADRQC         = syscall.Errno(0x38)
-       EBADSLT         = syscall.Errno(0x39)
-       EBFONT          = syscall.Errno(0x3b)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x7d)
-       ECHILD          = syscall.Errno(0xa)
-       ECHRNG          = syscall.Errno(0x2c)
-       ECOMM           = syscall.Errno(0x46)
-       ECONNABORTED    = syscall.Errno(0x67)
-       ECONNREFUSED    = syscall.Errno(0x6f)
-       ECONNRESET      = syscall.Errno(0x68)
-       EDEADLK         = syscall.Errno(0x23)
-       EDEADLOCK       = syscall.Errno(0x3a)
-       EDESTADDRREQ    = syscall.Errno(0x59)
-       EDOM            = syscall.Errno(0x21)
-       EDOTDOT         = syscall.Errno(0x49)
-       EDQUOT          = syscall.Errno(0x7a)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EHOSTDOWN       = syscall.Errno(0x70)
-       EHOSTUNREACH    = syscall.Errno(0x71)
-       EHWPOISON       = syscall.Errno(0x85)
-       EIDRM           = syscall.Errno(0x2b)
-       EILSEQ          = syscall.Errno(0x54)
-       EINPROGRESS     = syscall.Errno(0x73)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x6a)
-       EISDIR          = syscall.Errno(0x15)
-       EISNAM          = syscall.Errno(0x78)
-       EKEYEXPIRED     = syscall.Errno(0x7f)
-       EKEYREJECTED    = syscall.Errno(0x81)
-       EKEYREVOKED     = syscall.Errno(0x80)
-       EL2HLT          = syscall.Errno(0x33)
-       EL2NSYNC        = syscall.Errno(0x2d)
-       EL3HLT          = syscall.Errno(0x2e)
-       EL3RST          = syscall.Errno(0x2f)
-       ELIBACC         = syscall.Errno(0x4f)
-       ELIBBAD         = syscall.Errno(0x50)
-       ELIBEXEC        = syscall.Errno(0x53)
-       ELIBMAX         = syscall.Errno(0x52)
-       ELIBSCN         = syscall.Errno(0x51)
-       ELNRNG          = syscall.Errno(0x30)
-       ELOOP           = syscall.Errno(0x28)
-       EMEDIUMTYPE     = syscall.Errno(0x7c)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x5a)
-       EMULTIHOP       = syscall.Errno(0x48)
-       ENAMETOOLONG    = syscall.Errno(0x24)
-       ENAVAIL         = syscall.Errno(0x77)
-       ENETDOWN        = syscall.Errno(0x64)
-       ENETRESET       = syscall.Errno(0x66)
-       ENETUNREACH     = syscall.Errno(0x65)
-       ENFILE          = syscall.Errno(0x17)
-       ENOANO          = syscall.Errno(0x37)
-       ENOBUFS         = syscall.Errno(0x69)
-       ENOCSI          = syscall.Errno(0x32)
-       ENODATA         = syscall.Errno(0x3d)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOKEY          = syscall.Errno(0x7e)
-       ENOLCK          = syscall.Errno(0x25)
-       ENOLINK         = syscall.Errno(0x43)
-       ENOMEDIUM       = syscall.Errno(0x7b)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x2a)
-       ENONET          = syscall.Errno(0x40)
-       ENOPKG          = syscall.Errno(0x41)
-       ENOPROTOOPT     = syscall.Errno(0x5c)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x3f)
-       ENOSTR          = syscall.Errno(0x3c)
-       ENOSYS          = syscall.Errno(0x26)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x6b)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x27)
-       ENOTNAM         = syscall.Errno(0x76)
-       ENOTRECOVERABLE = syscall.Errno(0x83)
-       ENOTSOCK        = syscall.Errno(0x58)
-       ENOTSUP         = syscall.Errno(0x5f)
-       ENOTTY          = syscall.Errno(0x19)
-       ENOTUNIQ        = syscall.Errno(0x4c)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x5f)
-       EOVERFLOW       = syscall.Errno(0x4b)
-       EOWNERDEAD      = syscall.Errno(0x82)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x60)
-       EPIPE           = syscall.Errno(0x20)
-       EPROTO          = syscall.Errno(0x47)
-       EPROTONOSUPPORT = syscall.Errno(0x5d)
-       EPROTOTYPE      = syscall.Errno(0x5b)
-       ERANGE          = syscall.Errno(0x22)
-       EREMCHG         = syscall.Errno(0x4e)
-       EREMOTE         = syscall.Errno(0x42)
-       EREMOTEIO       = syscall.Errno(0x79)
-       ERESTART        = syscall.Errno(0x55)
-       ERFKILL         = syscall.Errno(0x84)
-       EROFS           = syscall.Errno(0x1e)
-       ESHUTDOWN       = syscall.Errno(0x6c)
-       ESOCKTNOSUPPORT = syscall.Errno(0x5e)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESRMNT          = syscall.Errno(0x45)
-       ESTALE          = syscall.Errno(0x74)
-       ESTRPIPE        = syscall.Errno(0x56)
-       ETIME           = syscall.Errno(0x3e)
-       ETIMEDOUT       = syscall.Errno(0x6e)
-       ETOOMANYREFS    = syscall.Errno(0x6d)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUCLEAN         = syscall.Errno(0x75)
-       EUNATCH         = syscall.Errno(0x31)
-       EUSERS          = syscall.Errno(0x57)
-       EWOULDBLOCK     = syscall.Errno(0xb)
-       EXDEV           = syscall.Errno(0x12)
-       EXFULL          = syscall.Errno(0x36)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0x7)
-       SIGCHLD   = syscall.Signal(0x11)
-       SIGCLD    = syscall.Signal(0x11)
-       SIGCONT   = syscall.Signal(0x12)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x1d)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPOLL   = syscall.Signal(0x1d)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGPWR    = syscall.Signal(0x1e)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTKFLT = syscall.Signal(0x10)
-       SIGSTOP   = syscall.Signal(0x13)
-       SIGSYS    = syscall.Signal(0x1f)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x14)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGUNUSED = syscall.Signal(0x1f)
-       SIGURG    = syscall.Signal(0x17)
-       SIGUSR1   = syscall.Signal(0xa)
-       SIGUSR2   = syscall.Signal(0xc)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:   "operation not permitted",
-       2:   "no such file or directory",
-       3:   "no such process",
-       4:   "interrupted system call",
-       5:   "input/output error",
-       6:   "no such device or address",
-       7:   "argument list too long",
-       8:   "exec format error",
-       9:   "bad file descriptor",
-       10:  "no child processes",
-       11:  "resource temporarily unavailable",
-       12:  "cannot allocate memory",
-       13:  "permission denied",
-       14:  "bad address",
-       15:  "block device required",
-       16:  "device or resource busy",
-       17:  "file exists",
-       18:  "invalid cross-device link",
-       19:  "no such device",
-       20:  "not a directory",
-       21:  "is a directory",
-       22:  "invalid argument",
-       23:  "too many open files in system",
-       24:  "too many open files",
-       25:  "inappropriate ioctl for device",
-       26:  "text file busy",
-       27:  "file too large",
-       28:  "no space left on device",
-       29:  "illegal seek",
-       30:  "read-only file system",
-       31:  "too many links",
-       32:  "broken pipe",
-       33:  "numerical argument out of domain",
-       34:  "numerical result out of range",
-       35:  "resource deadlock avoided",
-       36:  "file name too long",
-       37:  "no locks available",
-       38:  "function not implemented",
-       39:  "directory not empty",
-       40:  "too many levels of symbolic links",
-       42:  "no message of desired type",
-       43:  "identifier removed",
-       44:  "channel number out of range",
-       45:  "level 2 not synchronized",
-       46:  "level 3 halted",
-       47:  "level 3 reset",
-       48:  "link number out of range",
-       49:  "protocol driver not attached",
-       50:  "no CSI structure available",
-       51:  "level 2 halted",
-       52:  "invalid exchange",
-       53:  "invalid request descriptor",
-       54:  "exchange full",
-       55:  "no anode",
-       56:  "invalid request code",
-       57:  "invalid slot",
-       58:  "file locking deadlock error",
-       59:  "bad font file format",
-       60:  "device not a stream",
-       61:  "no data available",
-       62:  "timer expired",
-       63:  "out of streams resources",
-       64:  "machine is not on the network",
-       65:  "package not installed",
-       66:  "object is remote",
-       67:  "link has been severed",
-       68:  "advertise error",
-       69:  "srmount error",
-       70:  "communication error on send",
-       71:  "protocol error",
-       72:  "multihop attempted",
-       73:  "RFS specific error",
-       74:  "bad message",
-       75:  "value too large for defined data type",
-       76:  "name not unique on network",
-       77:  "file descriptor in bad state",
-       78:  "remote address changed",
-       79:  "can not access a needed shared library",
-       80:  "accessing a corrupted shared library",
-       81:  ".lib section in a.out corrupted",
-       82:  "attempting to link in too many shared libraries",
-       83:  "cannot exec a shared library directly",
-       84:  "invalid or incomplete multibyte or wide character",
-       85:  "interrupted system call should be restarted",
-       86:  "streams pipe error",
-       87:  "too many users",
-       88:  "socket operation on non-socket",
-       89:  "destination address required",
-       90:  "message too long",
-       91:  "protocol wrong type for socket",
-       92:  "protocol not available",
-       93:  "protocol not supported",
-       94:  "socket type not supported",
-       95:  "operation not supported",
-       96:  "protocol family not supported",
-       97:  "address family not supported by protocol",
-       98:  "address already in use",
-       99:  "cannot assign requested address",
-       100: "network is down",
-       101: "network is unreachable",
-       102: "network dropped connection on reset",
-       103: "software caused connection abort",
-       104: "connection reset by peer",
-       105: "no buffer space available",
-       106: "transport endpoint is already connected",
-       107: "transport endpoint is not connected",
-       108: "cannot send after transport endpoint shutdown",
-       109: "too many references: cannot splice",
-       110: "connection timed out",
-       111: "connection refused",
-       112: "host is down",
-       113: "no route to host",
-       114: "operation already in progress",
-       115: "operation now in progress",
-       116: "stale file handle",
-       117: "structure needs cleaning",
-       118: "not a XENIX named type file",
-       119: "no XENIX semaphores available",
-       120: "is a named type file",
-       121: "remote I/O error",
-       122: "disk quota exceeded",
-       123: "no medium found",
-       124: "wrong medium type",
-       125: "operation canceled",
-       126: "required key not available",
-       127: "key has expired",
-       128: "key has been revoked",
-       129: "key was rejected by service",
-       130: "owner died",
-       131: "state not recoverable",
-       132: "operation not possible due to RF-kill",
-       133: "memory page has hardware error",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/breakpoint trap",
-       6:  "aborted",
-       7:  "bus error",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "user defined signal 1",
-       11: "segmentation fault",
-       12: "user defined signal 2",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "stack fault",
-       17: "child exited",
-       18: "continued",
-       19: "stopped (signal)",
-       20: "stopped",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "urgent I/O condition",
-       24: "CPU time limit exceeded",
-       25: "file size limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window changed",
-       29: "I/O possible",
-       30: "power failure",
-       31: "bad system call",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go b/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
deleted file mode 100644 (file)
index f8b0eb7..0000000
+++ /dev/null
@@ -1,2149 +0,0 @@
-// mkerrors.sh -Wall -Werror -static -I/tmp/include -fsigned-char
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build s390x,linux
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_ALG                           = 0x26
-       AF_APPLETALK                     = 0x5
-       AF_ASH                           = 0x12
-       AF_ATMPVC                        = 0x8
-       AF_ATMSVC                        = 0x14
-       AF_AX25                          = 0x3
-       AF_BLUETOOTH                     = 0x1f
-       AF_BRIDGE                        = 0x7
-       AF_CAIF                          = 0x25
-       AF_CAN                           = 0x1d
-       AF_DECnet                        = 0xc
-       AF_ECONET                        = 0x13
-       AF_FILE                          = 0x1
-       AF_IB                            = 0x1b
-       AF_IEEE802154                    = 0x24
-       AF_INET                          = 0x2
-       AF_INET6                         = 0xa
-       AF_IPX                           = 0x4
-       AF_IRDA                          = 0x17
-       AF_ISDN                          = 0x22
-       AF_IUCV                          = 0x20
-       AF_KCM                           = 0x29
-       AF_KEY                           = 0xf
-       AF_LLC                           = 0x1a
-       AF_LOCAL                         = 0x1
-       AF_MAX                           = 0x2b
-       AF_MPLS                          = 0x1c
-       AF_NETBEUI                       = 0xd
-       AF_NETLINK                       = 0x10
-       AF_NETROM                        = 0x6
-       AF_NFC                           = 0x27
-       AF_PACKET                        = 0x11
-       AF_PHONET                        = 0x23
-       AF_PPPOX                         = 0x18
-       AF_QIPCRTR                       = 0x2a
-       AF_RDS                           = 0x15
-       AF_ROSE                          = 0xb
-       AF_ROUTE                         = 0x10
-       AF_RXRPC                         = 0x21
-       AF_SECURITY                      = 0xe
-       AF_SNA                           = 0x16
-       AF_TIPC                          = 0x1e
-       AF_UNIX                          = 0x1
-       AF_UNSPEC                        = 0x0
-       AF_VSOCK                         = 0x28
-       AF_WANPIPE                       = 0x19
-       AF_X25                           = 0x9
-       ALG_OP_DECRYPT                   = 0x0
-       ALG_OP_ENCRYPT                   = 0x1
-       ALG_SET_AEAD_ASSOCLEN            = 0x4
-       ALG_SET_AEAD_AUTHSIZE            = 0x5
-       ALG_SET_IV                       = 0x2
-       ALG_SET_KEY                      = 0x1
-       ALG_SET_OP                       = 0x3
-       ARPHRD_6LOWPAN                   = 0x339
-       ARPHRD_ADAPT                     = 0x108
-       ARPHRD_APPLETLK                  = 0x8
-       ARPHRD_ARCNET                    = 0x7
-       ARPHRD_ASH                       = 0x30d
-       ARPHRD_ATM                       = 0x13
-       ARPHRD_AX25                      = 0x3
-       ARPHRD_BIF                       = 0x307
-       ARPHRD_CAIF                      = 0x336
-       ARPHRD_CAN                       = 0x118
-       ARPHRD_CHAOS                     = 0x5
-       ARPHRD_CISCO                     = 0x201
-       ARPHRD_CSLIP                     = 0x101
-       ARPHRD_CSLIP6                    = 0x103
-       ARPHRD_DDCMP                     = 0x205
-       ARPHRD_DLCI                      = 0xf
-       ARPHRD_ECONET                    = 0x30e
-       ARPHRD_EETHER                    = 0x2
-       ARPHRD_ETHER                     = 0x1
-       ARPHRD_EUI64                     = 0x1b
-       ARPHRD_FCAL                      = 0x311
-       ARPHRD_FCFABRIC                  = 0x313
-       ARPHRD_FCPL                      = 0x312
-       ARPHRD_FCPP                      = 0x310
-       ARPHRD_FDDI                      = 0x306
-       ARPHRD_FRAD                      = 0x302
-       ARPHRD_HDLC                      = 0x201
-       ARPHRD_HIPPI                     = 0x30c
-       ARPHRD_HWX25                     = 0x110
-       ARPHRD_IEEE1394                  = 0x18
-       ARPHRD_IEEE802                   = 0x6
-       ARPHRD_IEEE80211                 = 0x321
-       ARPHRD_IEEE80211_PRISM           = 0x322
-       ARPHRD_IEEE80211_RADIOTAP        = 0x323
-       ARPHRD_IEEE802154                = 0x324
-       ARPHRD_IEEE802154_MONITOR        = 0x325
-       ARPHRD_IEEE802_TR                = 0x320
-       ARPHRD_INFINIBAND                = 0x20
-       ARPHRD_IP6GRE                    = 0x337
-       ARPHRD_IPDDP                     = 0x309
-       ARPHRD_IPGRE                     = 0x30a
-       ARPHRD_IRDA                      = 0x30f
-       ARPHRD_LAPB                      = 0x204
-       ARPHRD_LOCALTLK                  = 0x305
-       ARPHRD_LOOPBACK                  = 0x304
-       ARPHRD_METRICOM                  = 0x17
-       ARPHRD_NETLINK                   = 0x338
-       ARPHRD_NETROM                    = 0x0
-       ARPHRD_NONE                      = 0xfffe
-       ARPHRD_PHONET                    = 0x334
-       ARPHRD_PHONET_PIPE               = 0x335
-       ARPHRD_PIMREG                    = 0x30b
-       ARPHRD_PPP                       = 0x200
-       ARPHRD_PRONET                    = 0x4
-       ARPHRD_RAWHDLC                   = 0x206
-       ARPHRD_ROSE                      = 0x10e
-       ARPHRD_RSRVD                     = 0x104
-       ARPHRD_SIT                       = 0x308
-       ARPHRD_SKIP                      = 0x303
-       ARPHRD_SLIP                      = 0x100
-       ARPHRD_SLIP6                     = 0x102
-       ARPHRD_TUNNEL                    = 0x300
-       ARPHRD_TUNNEL6                   = 0x301
-       ARPHRD_VOID                      = 0xffff
-       ARPHRD_X25                       = 0x10f
-       B0                               = 0x0
-       B1000000                         = 0x1008
-       B110                             = 0x3
-       B115200                          = 0x1002
-       B1152000                         = 0x1009
-       B1200                            = 0x9
-       B134                             = 0x4
-       B150                             = 0x5
-       B1500000                         = 0x100a
-       B1800                            = 0xa
-       B19200                           = 0xe
-       B200                             = 0x6
-       B2000000                         = 0x100b
-       B230400                          = 0x1003
-       B2400                            = 0xb
-       B2500000                         = 0x100c
-       B300                             = 0x7
-       B3000000                         = 0x100d
-       B3500000                         = 0x100e
-       B38400                           = 0xf
-       B4000000                         = 0x100f
-       B460800                          = 0x1004
-       B4800                            = 0xc
-       B50                              = 0x1
-       B500000                          = 0x1005
-       B57600                           = 0x1001
-       B576000                          = 0x1006
-       B600                             = 0x8
-       B75                              = 0x2
-       B921600                          = 0x1007
-       B9600                            = 0xd
-       BLKBSZGET                        = 0x80081270
-       BLKBSZSET                        = 0x40081271
-       BLKFLSBUF                        = 0x1261
-       BLKFRAGET                        = 0x1265
-       BLKFRASET                        = 0x1264
-       BLKGETSIZE                       = 0x1260
-       BLKGETSIZE64                     = 0x80081272
-       BLKPBSZGET                       = 0x127b
-       BLKRAGET                         = 0x1263
-       BLKRASET                         = 0x1262
-       BLKROGET                         = 0x125e
-       BLKROSET                         = 0x125d
-       BLKRRPART                        = 0x125f
-       BLKSECTGET                       = 0x1267
-       BLKSECTSET                       = 0x1266
-       BLKSSZGET                        = 0x1268
-       BOTHER                           = 0x1000
-       BPF_A                            = 0x10
-       BPF_ABS                          = 0x20
-       BPF_ADD                          = 0x0
-       BPF_ALU                          = 0x4
-       BPF_AND                          = 0x50
-       BPF_B                            = 0x10
-       BPF_DIV                          = 0x30
-       BPF_H                            = 0x8
-       BPF_IMM                          = 0x0
-       BPF_IND                          = 0x40
-       BPF_JA                           = 0x0
-       BPF_JEQ                          = 0x10
-       BPF_JGE                          = 0x30
-       BPF_JGT                          = 0x20
-       BPF_JMP                          = 0x5
-       BPF_JSET                         = 0x40
-       BPF_K                            = 0x0
-       BPF_LD                           = 0x0
-       BPF_LDX                          = 0x1
-       BPF_LEN                          = 0x80
-       BPF_LL_OFF                       = -0x200000
-       BPF_LSH                          = 0x60
-       BPF_MAJOR_VERSION                = 0x1
-       BPF_MAXINSNS                     = 0x1000
-       BPF_MEM                          = 0x60
-       BPF_MEMWORDS                     = 0x10
-       BPF_MINOR_VERSION                = 0x1
-       BPF_MISC                         = 0x7
-       BPF_MOD                          = 0x90
-       BPF_MSH                          = 0xa0
-       BPF_MUL                          = 0x20
-       BPF_NEG                          = 0x80
-       BPF_NET_OFF                      = -0x100000
-       BPF_OR                           = 0x40
-       BPF_RET                          = 0x6
-       BPF_RSH                          = 0x70
-       BPF_ST                           = 0x2
-       BPF_STX                          = 0x3
-       BPF_SUB                          = 0x10
-       BPF_TAX                          = 0x0
-       BPF_TXA                          = 0x80
-       BPF_W                            = 0x0
-       BPF_X                            = 0x8
-       BPF_XOR                          = 0xa0
-       BRKINT                           = 0x2
-       BS0                              = 0x0
-       BS1                              = 0x2000
-       BSDLY                            = 0x2000
-       CAN_BCM                          = 0x2
-       CAN_EFF_FLAG                     = 0x80000000
-       CAN_EFF_ID_BITS                  = 0x1d
-       CAN_EFF_MASK                     = 0x1fffffff
-       CAN_ERR_FLAG                     = 0x20000000
-       CAN_ERR_MASK                     = 0x1fffffff
-       CAN_INV_FILTER                   = 0x20000000
-       CAN_ISOTP                        = 0x6
-       CAN_MAX_DLC                      = 0x8
-       CAN_MAX_DLEN                     = 0x8
-       CAN_MCNET                        = 0x5
-       CAN_MTU                          = 0x10
-       CAN_NPROTO                       = 0x7
-       CAN_RAW                          = 0x1
-       CAN_RAW_FILTER_MAX               = 0x200
-       CAN_RTR_FLAG                     = 0x40000000
-       CAN_SFF_ID_BITS                  = 0xb
-       CAN_SFF_MASK                     = 0x7ff
-       CAN_TP16                         = 0x3
-       CAN_TP20                         = 0x4
-       CBAUD                            = 0x100f
-       CBAUDEX                          = 0x1000
-       CFLUSH                           = 0xf
-       CIBAUD                           = 0x100f0000
-       CLOCAL                           = 0x800
-       CLOCK_BOOTTIME                   = 0x7
-       CLOCK_BOOTTIME_ALARM             = 0x9
-       CLOCK_DEFAULT                    = 0x0
-       CLOCK_EXT                        = 0x1
-       CLOCK_INT                        = 0x2
-       CLOCK_MONOTONIC                  = 0x1
-       CLOCK_MONOTONIC_COARSE           = 0x6
-       CLOCK_MONOTONIC_RAW              = 0x4
-       CLOCK_PROCESS_CPUTIME_ID         = 0x2
-       CLOCK_REALTIME                   = 0x0
-       CLOCK_REALTIME_ALARM             = 0x8
-       CLOCK_REALTIME_COARSE            = 0x5
-       CLOCK_TAI                        = 0xb
-       CLOCK_THREAD_CPUTIME_ID          = 0x3
-       CLOCK_TXFROMRX                   = 0x4
-       CLOCK_TXINT                      = 0x3
-       CLONE_CHILD_CLEARTID             = 0x200000
-       CLONE_CHILD_SETTID               = 0x1000000
-       CLONE_DETACHED                   = 0x400000
-       CLONE_FILES                      = 0x400
-       CLONE_FS                         = 0x200
-       CLONE_IO                         = 0x80000000
-       CLONE_NEWCGROUP                  = 0x2000000
-       CLONE_NEWIPC                     = 0x8000000
-       CLONE_NEWNET                     = 0x40000000
-       CLONE_NEWNS                      = 0x20000
-       CLONE_NEWPID                     = 0x20000000
-       CLONE_NEWUSER                    = 0x10000000
-       CLONE_NEWUTS                     = 0x4000000
-       CLONE_PARENT                     = 0x8000
-       CLONE_PARENT_SETTID              = 0x100000
-       CLONE_PTRACE                     = 0x2000
-       CLONE_SETTLS                     = 0x80000
-       CLONE_SIGHAND                    = 0x800
-       CLONE_SYSVSEM                    = 0x40000
-       CLONE_THREAD                     = 0x10000
-       CLONE_UNTRACED                   = 0x800000
-       CLONE_VFORK                      = 0x4000
-       CLONE_VM                         = 0x100
-       CMSPAR                           = 0x40000000
-       CR0                              = 0x0
-       CR1                              = 0x200
-       CR2                              = 0x400
-       CR3                              = 0x600
-       CRDLY                            = 0x600
-       CREAD                            = 0x80
-       CRTSCTS                          = 0x80000000
-       CS5                              = 0x0
-       CS6                              = 0x10
-       CS7                              = 0x20
-       CS8                              = 0x30
-       CSIGNAL                          = 0xff
-       CSIZE                            = 0x30
-       CSTART                           = 0x11
-       CSTATUS                          = 0x0
-       CSTOP                            = 0x13
-       CSTOPB                           = 0x40
-       CSUSP                            = 0x1a
-       DT_BLK                           = 0x6
-       DT_CHR                           = 0x2
-       DT_DIR                           = 0x4
-       DT_FIFO                          = 0x1
-       DT_LNK                           = 0xa
-       DT_REG                           = 0x8
-       DT_SOCK                          = 0xc
-       DT_UNKNOWN                       = 0x0
-       DT_WHT                           = 0xe
-       ECHO                             = 0x8
-       ECHOCTL                          = 0x200
-       ECHOE                            = 0x10
-       ECHOK                            = 0x20
-       ECHOKE                           = 0x800
-       ECHONL                           = 0x40
-       ECHOPRT                          = 0x400
-       ENCODING_DEFAULT                 = 0x0
-       ENCODING_FM_MARK                 = 0x3
-       ENCODING_FM_SPACE                = 0x4
-       ENCODING_MANCHESTER              = 0x5
-       ENCODING_NRZ                     = 0x1
-       ENCODING_NRZI                    = 0x2
-       EPOLLERR                         = 0x8
-       EPOLLET                          = 0x80000000
-       EPOLLEXCLUSIVE                   = 0x10000000
-       EPOLLHUP                         = 0x10
-       EPOLLIN                          = 0x1
-       EPOLLMSG                         = 0x400
-       EPOLLONESHOT                     = 0x40000000
-       EPOLLOUT                         = 0x4
-       EPOLLPRI                         = 0x2
-       EPOLLRDBAND                      = 0x80
-       EPOLLRDHUP                       = 0x2000
-       EPOLLRDNORM                      = 0x40
-       EPOLLWAKEUP                      = 0x20000000
-       EPOLLWRBAND                      = 0x200
-       EPOLLWRNORM                      = 0x100
-       EPOLL_CLOEXEC                    = 0x80000
-       EPOLL_CTL_ADD                    = 0x1
-       EPOLL_CTL_DEL                    = 0x2
-       EPOLL_CTL_MOD                    = 0x3
-       ETH_P_1588                       = 0x88f7
-       ETH_P_8021AD                     = 0x88a8
-       ETH_P_8021AH                     = 0x88e7
-       ETH_P_8021Q                      = 0x8100
-       ETH_P_80221                      = 0x8917
-       ETH_P_802_2                      = 0x4
-       ETH_P_802_3                      = 0x1
-       ETH_P_802_3_MIN                  = 0x600
-       ETH_P_802_EX1                    = 0x88b5
-       ETH_P_AARP                       = 0x80f3
-       ETH_P_AF_IUCV                    = 0xfbfb
-       ETH_P_ALL                        = 0x3
-       ETH_P_AOE                        = 0x88a2
-       ETH_P_ARCNET                     = 0x1a
-       ETH_P_ARP                        = 0x806
-       ETH_P_ATALK                      = 0x809b
-       ETH_P_ATMFATE                    = 0x8884
-       ETH_P_ATMMPOA                    = 0x884c
-       ETH_P_AX25                       = 0x2
-       ETH_P_BATMAN                     = 0x4305
-       ETH_P_BPQ                        = 0x8ff
-       ETH_P_CAIF                       = 0xf7
-       ETH_P_CAN                        = 0xc
-       ETH_P_CANFD                      = 0xd
-       ETH_P_CONTROL                    = 0x16
-       ETH_P_CUST                       = 0x6006
-       ETH_P_DDCMP                      = 0x6
-       ETH_P_DEC                        = 0x6000
-       ETH_P_DIAG                       = 0x6005
-       ETH_P_DNA_DL                     = 0x6001
-       ETH_P_DNA_RC                     = 0x6002
-       ETH_P_DNA_RT                     = 0x6003
-       ETH_P_DSA                        = 0x1b
-       ETH_P_ECONET                     = 0x18
-       ETH_P_EDSA                       = 0xdada
-       ETH_P_FCOE                       = 0x8906
-       ETH_P_FIP                        = 0x8914
-       ETH_P_HDLC                       = 0x19
-       ETH_P_HSR                        = 0x892f
-       ETH_P_IEEE802154                 = 0xf6
-       ETH_P_IEEEPUP                    = 0xa00
-       ETH_P_IEEEPUPAT                  = 0xa01
-       ETH_P_IP                         = 0x800
-       ETH_P_IPV6                       = 0x86dd
-       ETH_P_IPX                        = 0x8137
-       ETH_P_IRDA                       = 0x17
-       ETH_P_LAT                        = 0x6004
-       ETH_P_LINK_CTL                   = 0x886c
-       ETH_P_LOCALTALK                  = 0x9
-       ETH_P_LOOP                       = 0x60
-       ETH_P_LOOPBACK                   = 0x9000
-       ETH_P_MACSEC                     = 0x88e5
-       ETH_P_MOBITEX                    = 0x15
-       ETH_P_MPLS_MC                    = 0x8848
-       ETH_P_MPLS_UC                    = 0x8847
-       ETH_P_MVRP                       = 0x88f5
-       ETH_P_NCSI                       = 0x88f8
-       ETH_P_PAE                        = 0x888e
-       ETH_P_PAUSE                      = 0x8808
-       ETH_P_PHONET                     = 0xf5
-       ETH_P_PPPTALK                    = 0x10
-       ETH_P_PPP_DISC                   = 0x8863
-       ETH_P_PPP_MP                     = 0x8
-       ETH_P_PPP_SES                    = 0x8864
-       ETH_P_PRP                        = 0x88fb
-       ETH_P_PUP                        = 0x200
-       ETH_P_PUPAT                      = 0x201
-       ETH_P_QINQ1                      = 0x9100
-       ETH_P_QINQ2                      = 0x9200
-       ETH_P_QINQ3                      = 0x9300
-       ETH_P_RARP                       = 0x8035
-       ETH_P_SCA                        = 0x6007
-       ETH_P_SLOW                       = 0x8809
-       ETH_P_SNAP                       = 0x5
-       ETH_P_TDLS                       = 0x890d
-       ETH_P_TEB                        = 0x6558
-       ETH_P_TIPC                       = 0x88ca
-       ETH_P_TRAILER                    = 0x1c
-       ETH_P_TR_802_2                   = 0x11
-       ETH_P_TSN                        = 0x22f0
-       ETH_P_WAN_PPP                    = 0x7
-       ETH_P_WCCP                       = 0x883e
-       ETH_P_X25                        = 0x805
-       ETH_P_XDSA                       = 0xf8
-       EXTA                             = 0xe
-       EXTB                             = 0xf
-       EXTPROC                          = 0x10000
-       FALLOC_FL_COLLAPSE_RANGE         = 0x8
-       FALLOC_FL_INSERT_RANGE           = 0x20
-       FALLOC_FL_KEEP_SIZE              = 0x1
-       FALLOC_FL_NO_HIDE_STALE          = 0x4
-       FALLOC_FL_PUNCH_HOLE             = 0x2
-       FALLOC_FL_UNSHARE_RANGE          = 0x40
-       FALLOC_FL_ZERO_RANGE             = 0x10
-       FD_CLOEXEC                       = 0x1
-       FD_SETSIZE                       = 0x400
-       FF0                              = 0x0
-       FF1                              = 0x8000
-       FFDLY                            = 0x8000
-       FLUSHO                           = 0x1000
-       FS_ENCRYPTION_MODE_AES_256_CBC   = 0x3
-       FS_ENCRYPTION_MODE_AES_256_CTS   = 0x4
-       FS_ENCRYPTION_MODE_AES_256_GCM   = 0x2
-       FS_ENCRYPTION_MODE_AES_256_XTS   = 0x1
-       FS_ENCRYPTION_MODE_INVALID       = 0x0
-       FS_IOC_GET_ENCRYPTION_POLICY     = 0x400c6615
-       FS_IOC_GET_ENCRYPTION_PWSALT     = 0x40106614
-       FS_IOC_SET_ENCRYPTION_POLICY     = 0x800c6613
-       FS_KEY_DESCRIPTOR_SIZE           = 0x8
-       FS_KEY_DESC_PREFIX               = "fscrypt:"
-       FS_KEY_DESC_PREFIX_SIZE          = 0x8
-       FS_MAX_KEY_SIZE                  = 0x40
-       FS_POLICY_FLAGS_PAD_16           = 0x2
-       FS_POLICY_FLAGS_PAD_32           = 0x3
-       FS_POLICY_FLAGS_PAD_4            = 0x0
-       FS_POLICY_FLAGS_PAD_8            = 0x1
-       FS_POLICY_FLAGS_PAD_MASK         = 0x3
-       FS_POLICY_FLAGS_VALID            = 0x3
-       F_DUPFD                          = 0x0
-       F_DUPFD_CLOEXEC                  = 0x406
-       F_EXLCK                          = 0x4
-       F_GETFD                          = 0x1
-       F_GETFL                          = 0x3
-       F_GETLEASE                       = 0x401
-       F_GETLK                          = 0x5
-       F_GETLK64                        = 0x5
-       F_GETOWN                         = 0x9
-       F_GETOWN_EX                      = 0x10
-       F_GETPIPE_SZ                     = 0x408
-       F_GETSIG                         = 0xb
-       F_LOCK                           = 0x1
-       F_NOTIFY                         = 0x402
-       F_OFD_GETLK                      = 0x24
-       F_OFD_SETLK                      = 0x25
-       F_OFD_SETLKW                     = 0x26
-       F_OK                             = 0x0
-       F_RDLCK                          = 0x0
-       F_SETFD                          = 0x2
-       F_SETFL                          = 0x4
-       F_SETLEASE                       = 0x400
-       F_SETLK                          = 0x6
-       F_SETLK64                        = 0x6
-       F_SETLKW                         = 0x7
-       F_SETLKW64                       = 0x7
-       F_SETOWN                         = 0x8
-       F_SETOWN_EX                      = 0xf
-       F_SETPIPE_SZ                     = 0x407
-       F_SETSIG                         = 0xa
-       F_SHLCK                          = 0x8
-       F_TEST                           = 0x3
-       F_TLOCK                          = 0x2
-       F_ULOCK                          = 0x0
-       F_UNLCK                          = 0x2
-       F_WRLCK                          = 0x1
-       GRND_NONBLOCK                    = 0x1
-       GRND_RANDOM                      = 0x2
-       HUPCL                            = 0x400
-       IBSHIFT                          = 0x10
-       ICANON                           = 0x2
-       ICMPV6_FILTER                    = 0x1
-       ICRNL                            = 0x100
-       IEXTEN                           = 0x8000
-       IFA_F_DADFAILED                  = 0x8
-       IFA_F_DEPRECATED                 = 0x20
-       IFA_F_HOMEADDRESS                = 0x10
-       IFA_F_MANAGETEMPADDR             = 0x100
-       IFA_F_MCAUTOJOIN                 = 0x400
-       IFA_F_NODAD                      = 0x2
-       IFA_F_NOPREFIXROUTE              = 0x200
-       IFA_F_OPTIMISTIC                 = 0x4
-       IFA_F_PERMANENT                  = 0x80
-       IFA_F_SECONDARY                  = 0x1
-       IFA_F_STABLE_PRIVACY             = 0x800
-       IFA_F_TEMPORARY                  = 0x1
-       IFA_F_TENTATIVE                  = 0x40
-       IFA_MAX                          = 0x8
-       IFF_ALLMULTI                     = 0x200
-       IFF_ATTACH_QUEUE                 = 0x200
-       IFF_AUTOMEDIA                    = 0x4000
-       IFF_BROADCAST                    = 0x2
-       IFF_DEBUG                        = 0x4
-       IFF_DETACH_QUEUE                 = 0x400
-       IFF_DORMANT                      = 0x20000
-       IFF_DYNAMIC                      = 0x8000
-       IFF_ECHO                         = 0x40000
-       IFF_LOOPBACK                     = 0x8
-       IFF_LOWER_UP                     = 0x10000
-       IFF_MASTER                       = 0x400
-       IFF_MULTICAST                    = 0x1000
-       IFF_MULTI_QUEUE                  = 0x100
-       IFF_NOARP                        = 0x80
-       IFF_NOFILTER                     = 0x1000
-       IFF_NOTRAILERS                   = 0x20
-       IFF_NO_PI                        = 0x1000
-       IFF_ONE_QUEUE                    = 0x2000
-       IFF_PERSIST                      = 0x800
-       IFF_POINTOPOINT                  = 0x10
-       IFF_PORTSEL                      = 0x2000
-       IFF_PROMISC                      = 0x100
-       IFF_RUNNING                      = 0x40
-       IFF_SLAVE                        = 0x800
-       IFF_TAP                          = 0x2
-       IFF_TUN                          = 0x1
-       IFF_TUN_EXCL                     = 0x8000
-       IFF_UP                           = 0x1
-       IFF_VNET_HDR                     = 0x4000
-       IFF_VOLATILE                     = 0x70c5a
-       IFNAMSIZ                         = 0x10
-       IGNBRK                           = 0x1
-       IGNCR                            = 0x80
-       IGNPAR                           = 0x4
-       IMAXBEL                          = 0x2000
-       INLCR                            = 0x40
-       INPCK                            = 0x10
-       IN_ACCESS                        = 0x1
-       IN_ALL_EVENTS                    = 0xfff
-       IN_ATTRIB                        = 0x4
-       IN_CLASSA_HOST                   = 0xffffff
-       IN_CLASSA_MAX                    = 0x80
-       IN_CLASSA_NET                    = 0xff000000
-       IN_CLASSA_NSHIFT                 = 0x18
-       IN_CLASSB_HOST                   = 0xffff
-       IN_CLASSB_MAX                    = 0x10000
-       IN_CLASSB_NET                    = 0xffff0000
-       IN_CLASSB_NSHIFT                 = 0x10
-       IN_CLASSC_HOST                   = 0xff
-       IN_CLASSC_NET                    = 0xffffff00
-       IN_CLASSC_NSHIFT                 = 0x8
-       IN_CLOEXEC                       = 0x80000
-       IN_CLOSE                         = 0x18
-       IN_CLOSE_NOWRITE                 = 0x10
-       IN_CLOSE_WRITE                   = 0x8
-       IN_CREATE                        = 0x100
-       IN_DELETE                        = 0x200
-       IN_DELETE_SELF                   = 0x400
-       IN_DONT_FOLLOW                   = 0x2000000
-       IN_EXCL_UNLINK                   = 0x4000000
-       IN_IGNORED                       = 0x8000
-       IN_ISDIR                         = 0x40000000
-       IN_LOOPBACKNET                   = 0x7f
-       IN_MASK_ADD                      = 0x20000000
-       IN_MODIFY                        = 0x2
-       IN_MOVE                          = 0xc0
-       IN_MOVED_FROM                    = 0x40
-       IN_MOVED_TO                      = 0x80
-       IN_MOVE_SELF                     = 0x800
-       IN_NONBLOCK                      = 0x800
-       IN_ONESHOT                       = 0x80000000
-       IN_ONLYDIR                       = 0x1000000
-       IN_OPEN                          = 0x20
-       IN_Q_OVERFLOW                    = 0x4000
-       IN_UNMOUNT                       = 0x2000
-       IPPROTO_AH                       = 0x33
-       IPPROTO_BEETPH                   = 0x5e
-       IPPROTO_COMP                     = 0x6c
-       IPPROTO_DCCP                     = 0x21
-       IPPROTO_DSTOPTS                  = 0x3c
-       IPPROTO_EGP                      = 0x8
-       IPPROTO_ENCAP                    = 0x62
-       IPPROTO_ESP                      = 0x32
-       IPPROTO_FRAGMENT                 = 0x2c
-       IPPROTO_GRE                      = 0x2f
-       IPPROTO_HOPOPTS                  = 0x0
-       IPPROTO_ICMP                     = 0x1
-       IPPROTO_ICMPV6                   = 0x3a
-       IPPROTO_IDP                      = 0x16
-       IPPROTO_IGMP                     = 0x2
-       IPPROTO_IP                       = 0x0
-       IPPROTO_IPIP                     = 0x4
-       IPPROTO_IPV6                     = 0x29
-       IPPROTO_MH                       = 0x87
-       IPPROTO_MPLS                     = 0x89
-       IPPROTO_MTP                      = 0x5c
-       IPPROTO_NONE                     = 0x3b
-       IPPROTO_PIM                      = 0x67
-       IPPROTO_PUP                      = 0xc
-       IPPROTO_RAW                      = 0xff
-       IPPROTO_ROUTING                  = 0x2b
-       IPPROTO_RSVP                     = 0x2e
-       IPPROTO_SCTP                     = 0x84
-       IPPROTO_TCP                      = 0x6
-       IPPROTO_TP                       = 0x1d
-       IPPROTO_UDP                      = 0x11
-       IPPROTO_UDPLITE                  = 0x88
-       IPV6_2292DSTOPTS                 = 0x4
-       IPV6_2292HOPLIMIT                = 0x8
-       IPV6_2292HOPOPTS                 = 0x3
-       IPV6_2292PKTINFO                 = 0x2
-       IPV6_2292PKTOPTIONS              = 0x6
-       IPV6_2292RTHDR                   = 0x5
-       IPV6_ADDRFORM                    = 0x1
-       IPV6_ADD_MEMBERSHIP              = 0x14
-       IPV6_AUTHHDR                     = 0xa
-       IPV6_CHECKSUM                    = 0x7
-       IPV6_DONTFRAG                    = 0x3e
-       IPV6_DROP_MEMBERSHIP             = 0x15
-       IPV6_DSTOPTS                     = 0x3b
-       IPV6_HDRINCL                     = 0x24
-       IPV6_HOPLIMIT                    = 0x34
-       IPV6_HOPOPTS                     = 0x36
-       IPV6_IPSEC_POLICY                = 0x22
-       IPV6_JOIN_ANYCAST                = 0x1b
-       IPV6_JOIN_GROUP                  = 0x14
-       IPV6_LEAVE_ANYCAST               = 0x1c
-       IPV6_LEAVE_GROUP                 = 0x15
-       IPV6_MTU                         = 0x18
-       IPV6_MTU_DISCOVER                = 0x17
-       IPV6_MULTICAST_HOPS              = 0x12
-       IPV6_MULTICAST_IF                = 0x11
-       IPV6_MULTICAST_LOOP              = 0x13
-       IPV6_NEXTHOP                     = 0x9
-       IPV6_PATHMTU                     = 0x3d
-       IPV6_PKTINFO                     = 0x32
-       IPV6_PMTUDISC_DO                 = 0x2
-       IPV6_PMTUDISC_DONT               = 0x0
-       IPV6_PMTUDISC_INTERFACE          = 0x4
-       IPV6_PMTUDISC_OMIT               = 0x5
-       IPV6_PMTUDISC_PROBE              = 0x3
-       IPV6_PMTUDISC_WANT               = 0x1
-       IPV6_RECVDSTOPTS                 = 0x3a
-       IPV6_RECVERR                     = 0x19
-       IPV6_RECVHOPLIMIT                = 0x33
-       IPV6_RECVHOPOPTS                 = 0x35
-       IPV6_RECVPATHMTU                 = 0x3c
-       IPV6_RECVPKTINFO                 = 0x31
-       IPV6_RECVRTHDR                   = 0x38
-       IPV6_RECVTCLASS                  = 0x42
-       IPV6_ROUTER_ALERT                = 0x16
-       IPV6_RTHDR                       = 0x39
-       IPV6_RTHDRDSTOPTS                = 0x37
-       IPV6_RTHDR_LOOSE                 = 0x0
-       IPV6_RTHDR_STRICT                = 0x1
-       IPV6_RTHDR_TYPE_0                = 0x0
-       IPV6_RXDSTOPTS                   = 0x3b
-       IPV6_RXHOPOPTS                   = 0x36
-       IPV6_TCLASS                      = 0x43
-       IPV6_UNICAST_HOPS                = 0x10
-       IPV6_V6ONLY                      = 0x1a
-       IPV6_XFRM_POLICY                 = 0x23
-       IP_ADD_MEMBERSHIP                = 0x23
-       IP_ADD_SOURCE_MEMBERSHIP         = 0x27
-       IP_BIND_ADDRESS_NO_PORT          = 0x18
-       IP_BLOCK_SOURCE                  = 0x26
-       IP_CHECKSUM                      = 0x17
-       IP_DEFAULT_MULTICAST_LOOP        = 0x1
-       IP_DEFAULT_MULTICAST_TTL         = 0x1
-       IP_DF                            = 0x4000
-       IP_DROP_MEMBERSHIP               = 0x24
-       IP_DROP_SOURCE_MEMBERSHIP        = 0x28
-       IP_FREEBIND                      = 0xf
-       IP_HDRINCL                       = 0x3
-       IP_IPSEC_POLICY                  = 0x10
-       IP_MAXPACKET                     = 0xffff
-       IP_MAX_MEMBERSHIPS               = 0x14
-       IP_MF                            = 0x2000
-       IP_MINTTL                        = 0x15
-       IP_MSFILTER                      = 0x29
-       IP_MSS                           = 0x240
-       IP_MTU                           = 0xe
-       IP_MTU_DISCOVER                  = 0xa
-       IP_MULTICAST_ALL                 = 0x31
-       IP_MULTICAST_IF                  = 0x20
-       IP_MULTICAST_LOOP                = 0x22
-       IP_MULTICAST_TTL                 = 0x21
-       IP_NODEFRAG                      = 0x16
-       IP_OFFMASK                       = 0x1fff
-       IP_OPTIONS                       = 0x4
-       IP_ORIGDSTADDR                   = 0x14
-       IP_PASSSEC                       = 0x12
-       IP_PKTINFO                       = 0x8
-       IP_PKTOPTIONS                    = 0x9
-       IP_PMTUDISC                      = 0xa
-       IP_PMTUDISC_DO                   = 0x2
-       IP_PMTUDISC_DONT                 = 0x0
-       IP_PMTUDISC_INTERFACE            = 0x4
-       IP_PMTUDISC_OMIT                 = 0x5
-       IP_PMTUDISC_PROBE                = 0x3
-       IP_PMTUDISC_WANT                 = 0x1
-       IP_RECVERR                       = 0xb
-       IP_RECVOPTS                      = 0x6
-       IP_RECVORIGDSTADDR               = 0x14
-       IP_RECVRETOPTS                   = 0x7
-       IP_RECVTOS                       = 0xd
-       IP_RECVTTL                       = 0xc
-       IP_RETOPTS                       = 0x7
-       IP_RF                            = 0x8000
-       IP_ROUTER_ALERT                  = 0x5
-       IP_TOS                           = 0x1
-       IP_TRANSPARENT                   = 0x13
-       IP_TTL                           = 0x2
-       IP_UNBLOCK_SOURCE                = 0x25
-       IP_UNICAST_IF                    = 0x32
-       IP_XFRM_POLICY                   = 0x11
-       ISIG                             = 0x1
-       ISTRIP                           = 0x20
-       IUCLC                            = 0x200
-       IUTF8                            = 0x4000
-       IXANY                            = 0x800
-       IXOFF                            = 0x1000
-       IXON                             = 0x400
-       LINUX_REBOOT_CMD_CAD_OFF         = 0x0
-       LINUX_REBOOT_CMD_CAD_ON          = 0x89abcdef
-       LINUX_REBOOT_CMD_HALT            = 0xcdef0123
-       LINUX_REBOOT_CMD_KEXEC           = 0x45584543
-       LINUX_REBOOT_CMD_POWER_OFF       = 0x4321fedc
-       LINUX_REBOOT_CMD_RESTART         = 0x1234567
-       LINUX_REBOOT_CMD_RESTART2        = 0xa1b2c3d4
-       LINUX_REBOOT_CMD_SW_SUSPEND      = 0xd000fce2
-       LINUX_REBOOT_MAGIC1              = 0xfee1dead
-       LINUX_REBOOT_MAGIC2              = 0x28121969
-       LOCK_EX                          = 0x2
-       LOCK_NB                          = 0x4
-       LOCK_SH                          = 0x1
-       LOCK_UN                          = 0x8
-       MADV_DODUMP                      = 0x11
-       MADV_DOFORK                      = 0xb
-       MADV_DONTDUMP                    = 0x10
-       MADV_DONTFORK                    = 0xa
-       MADV_DONTNEED                    = 0x4
-       MADV_FREE                        = 0x8
-       MADV_HUGEPAGE                    = 0xe
-       MADV_HWPOISON                    = 0x64
-       MADV_MERGEABLE                   = 0xc
-       MADV_NOHUGEPAGE                  = 0xf
-       MADV_NORMAL                      = 0x0
-       MADV_RANDOM                      = 0x1
-       MADV_REMOVE                      = 0x9
-       MADV_SEQUENTIAL                  = 0x2
-       MADV_UNMERGEABLE                 = 0xd
-       MADV_WILLNEED                    = 0x3
-       MAP_ANON                         = 0x20
-       MAP_ANONYMOUS                    = 0x20
-       MAP_DENYWRITE                    = 0x800
-       MAP_EXECUTABLE                   = 0x1000
-       MAP_FILE                         = 0x0
-       MAP_FIXED                        = 0x10
-       MAP_GROWSDOWN                    = 0x100
-       MAP_HUGETLB                      = 0x40000
-       MAP_HUGE_MASK                    = 0x3f
-       MAP_HUGE_SHIFT                   = 0x1a
-       MAP_LOCKED                       = 0x2000
-       MAP_NONBLOCK                     = 0x10000
-       MAP_NORESERVE                    = 0x4000
-       MAP_POPULATE                     = 0x8000
-       MAP_PRIVATE                      = 0x2
-       MAP_SHARED                       = 0x1
-       MAP_STACK                        = 0x20000
-       MAP_TYPE                         = 0xf
-       MCL_CURRENT                      = 0x1
-       MCL_FUTURE                       = 0x2
-       MCL_ONFAULT                      = 0x4
-       MNT_DETACH                       = 0x2
-       MNT_EXPIRE                       = 0x4
-       MNT_FORCE                        = 0x1
-       MSG_BATCH                        = 0x40000
-       MSG_CMSG_CLOEXEC                 = 0x40000000
-       MSG_CONFIRM                      = 0x800
-       MSG_CTRUNC                       = 0x8
-       MSG_DONTROUTE                    = 0x4
-       MSG_DONTWAIT                     = 0x40
-       MSG_EOR                          = 0x80
-       MSG_ERRQUEUE                     = 0x2000
-       MSG_FASTOPEN                     = 0x20000000
-       MSG_FIN                          = 0x200
-       MSG_MORE                         = 0x8000
-       MSG_NOSIGNAL                     = 0x4000
-       MSG_OOB                          = 0x1
-       MSG_PEEK                         = 0x2
-       MSG_PROXY                        = 0x10
-       MSG_RST                          = 0x1000
-       MSG_SYN                          = 0x400
-       MSG_TRUNC                        = 0x20
-       MSG_TRYHARD                      = 0x4
-       MSG_WAITALL                      = 0x100
-       MSG_WAITFORONE                   = 0x10000
-       MS_ACTIVE                        = 0x40000000
-       MS_ASYNC                         = 0x1
-       MS_BIND                          = 0x1000
-       MS_BORN                          = 0x20000000
-       MS_DIRSYNC                       = 0x80
-       MS_INVALIDATE                    = 0x2
-       MS_I_VERSION                     = 0x800000
-       MS_KERNMOUNT                     = 0x400000
-       MS_LAZYTIME                      = 0x2000000
-       MS_MANDLOCK                      = 0x40
-       MS_MGC_MSK                       = 0xffff0000
-       MS_MGC_VAL                       = 0xc0ed0000
-       MS_MOVE                          = 0x2000
-       MS_NOATIME                       = 0x400
-       MS_NODEV                         = 0x4
-       MS_NODIRATIME                    = 0x800
-       MS_NOEXEC                        = 0x8
-       MS_NOREMOTELOCK                  = 0x8000000
-       MS_NOSEC                         = 0x10000000
-       MS_NOSUID                        = 0x2
-       MS_NOUSER                        = -0x80000000
-       MS_POSIXACL                      = 0x10000
-       MS_PRIVATE                       = 0x40000
-       MS_RDONLY                        = 0x1
-       MS_REC                           = 0x4000
-       MS_RELATIME                      = 0x200000
-       MS_REMOUNT                       = 0x20
-       MS_RMT_MASK                      = 0x2800051
-       MS_SHARED                        = 0x100000
-       MS_SILENT                        = 0x8000
-       MS_SLAVE                         = 0x80000
-       MS_STRICTATIME                   = 0x1000000
-       MS_SYNC                          = 0x4
-       MS_SYNCHRONOUS                   = 0x10
-       MS_UNBINDABLE                    = 0x20000
-       MS_VERBOSE                       = 0x8000
-       NAME_MAX                         = 0xff
-       NETLINK_ADD_MEMBERSHIP           = 0x1
-       NETLINK_AUDIT                    = 0x9
-       NETLINK_BROADCAST_ERROR          = 0x4
-       NETLINK_CAP_ACK                  = 0xa
-       NETLINK_CONNECTOR                = 0xb
-       NETLINK_CRYPTO                   = 0x15
-       NETLINK_DNRTMSG                  = 0xe
-       NETLINK_DROP_MEMBERSHIP          = 0x2
-       NETLINK_ECRYPTFS                 = 0x13
-       NETLINK_FIB_LOOKUP               = 0xa
-       NETLINK_FIREWALL                 = 0x3
-       NETLINK_GENERIC                  = 0x10
-       NETLINK_INET_DIAG                = 0x4
-       NETLINK_IP6_FW                   = 0xd
-       NETLINK_ISCSI                    = 0x8
-       NETLINK_KOBJECT_UEVENT           = 0xf
-       NETLINK_LISTEN_ALL_NSID          = 0x8
-       NETLINK_LIST_MEMBERSHIPS         = 0x9
-       NETLINK_NETFILTER                = 0xc
-       NETLINK_NFLOG                    = 0x5
-       NETLINK_NO_ENOBUFS               = 0x5
-       NETLINK_PKTINFO                  = 0x3
-       NETLINK_RDMA                     = 0x14
-       NETLINK_ROUTE                    = 0x0
-       NETLINK_RX_RING                  = 0x6
-       NETLINK_SCSITRANSPORT            = 0x12
-       NETLINK_SELINUX                  = 0x7
-       NETLINK_SOCK_DIAG                = 0x4
-       NETLINK_TX_RING                  = 0x7
-       NETLINK_UNUSED                   = 0x1
-       NETLINK_USERSOCK                 = 0x2
-       NETLINK_XFRM                     = 0x6
-       NL0                              = 0x0
-       NL1                              = 0x100
-       NLA_ALIGNTO                      = 0x4
-       NLA_F_NESTED                     = 0x8000
-       NLA_F_NET_BYTEORDER              = 0x4000
-       NLA_HDRLEN                       = 0x4
-       NLDLY                            = 0x100
-       NLMSG_ALIGNTO                    = 0x4
-       NLMSG_DONE                       = 0x3
-       NLMSG_ERROR                      = 0x2
-       NLMSG_HDRLEN                     = 0x10
-       NLMSG_MIN_TYPE                   = 0x10
-       NLMSG_NOOP                       = 0x1
-       NLMSG_OVERRUN                    = 0x4
-       NLM_F_ACK                        = 0x4
-       NLM_F_APPEND                     = 0x800
-       NLM_F_ATOMIC                     = 0x400
-       NLM_F_CREATE                     = 0x400
-       NLM_F_DUMP                       = 0x300
-       NLM_F_DUMP_FILTERED              = 0x20
-       NLM_F_DUMP_INTR                  = 0x10
-       NLM_F_ECHO                       = 0x8
-       NLM_F_EXCL                       = 0x200
-       NLM_F_MATCH                      = 0x200
-       NLM_F_MULTI                      = 0x2
-       NLM_F_REPLACE                    = 0x100
-       NLM_F_REQUEST                    = 0x1
-       NLM_F_ROOT                       = 0x100
-       NOFLSH                           = 0x80
-       OCRNL                            = 0x8
-       OFDEL                            = 0x80
-       OFILL                            = 0x40
-       OLCUC                            = 0x2
-       ONLCR                            = 0x4
-       ONLRET                           = 0x20
-       ONOCR                            = 0x10
-       OPOST                            = 0x1
-       O_ACCMODE                        = 0x3
-       O_APPEND                         = 0x400
-       O_ASYNC                          = 0x2000
-       O_CLOEXEC                        = 0x80000
-       O_CREAT                          = 0x40
-       O_DIRECT                         = 0x4000
-       O_DIRECTORY                      = 0x10000
-       O_DSYNC                          = 0x1000
-       O_EXCL                           = 0x80
-       O_FSYNC                          = 0x101000
-       O_LARGEFILE                      = 0x0
-       O_NDELAY                         = 0x800
-       O_NOATIME                        = 0x40000
-       O_NOCTTY                         = 0x100
-       O_NOFOLLOW                       = 0x20000
-       O_NONBLOCK                       = 0x800
-       O_PATH                           = 0x200000
-       O_RDONLY                         = 0x0
-       O_RDWR                           = 0x2
-       O_RSYNC                          = 0x101000
-       O_SYNC                           = 0x101000
-       O_TMPFILE                        = 0x410000
-       O_TRUNC                          = 0x200
-       O_WRONLY                         = 0x1
-       PACKET_ADD_MEMBERSHIP            = 0x1
-       PACKET_AUXDATA                   = 0x8
-       PACKET_BROADCAST                 = 0x1
-       PACKET_COPY_THRESH               = 0x7
-       PACKET_DROP_MEMBERSHIP           = 0x2
-       PACKET_FANOUT                    = 0x12
-       PACKET_FANOUT_CBPF               = 0x6
-       PACKET_FANOUT_CPU                = 0x2
-       PACKET_FANOUT_DATA               = 0x16
-       PACKET_FANOUT_EBPF               = 0x7
-       PACKET_FANOUT_FLAG_DEFRAG        = 0x8000
-       PACKET_FANOUT_FLAG_ROLLOVER      = 0x1000
-       PACKET_FANOUT_HASH               = 0x0
-       PACKET_FANOUT_LB                 = 0x1
-       PACKET_FANOUT_QM                 = 0x5
-       PACKET_FANOUT_RND                = 0x4
-       PACKET_FANOUT_ROLLOVER           = 0x3
-       PACKET_FASTROUTE                 = 0x6
-       PACKET_HDRLEN                    = 0xb
-       PACKET_HOST                      = 0x0
-       PACKET_KERNEL                    = 0x7
-       PACKET_LOOPBACK                  = 0x5
-       PACKET_LOSS                      = 0xe
-       PACKET_MR_ALLMULTI               = 0x2
-       PACKET_MR_MULTICAST              = 0x0
-       PACKET_MR_PROMISC                = 0x1
-       PACKET_MR_UNICAST                = 0x3
-       PACKET_MULTICAST                 = 0x2
-       PACKET_ORIGDEV                   = 0x9
-       PACKET_OTHERHOST                 = 0x3
-       PACKET_OUTGOING                  = 0x4
-       PACKET_QDISC_BYPASS              = 0x14
-       PACKET_RECV_OUTPUT               = 0x3
-       PACKET_RESERVE                   = 0xc
-       PACKET_ROLLOVER_STATS            = 0x15
-       PACKET_RX_RING                   = 0x5
-       PACKET_STATISTICS                = 0x6
-       PACKET_TIMESTAMP                 = 0x11
-       PACKET_TX_HAS_OFF                = 0x13
-       PACKET_TX_RING                   = 0xd
-       PACKET_TX_TIMESTAMP              = 0x10
-       PACKET_USER                      = 0x6
-       PACKET_VERSION                   = 0xa
-       PACKET_VNET_HDR                  = 0xf
-       PARENB                           = 0x100
-       PARITY_CRC16_PR0                 = 0x2
-       PARITY_CRC16_PR0_CCITT           = 0x4
-       PARITY_CRC16_PR1                 = 0x3
-       PARITY_CRC16_PR1_CCITT           = 0x5
-       PARITY_CRC32_PR0_CCITT           = 0x6
-       PARITY_CRC32_PR1_CCITT           = 0x7
-       PARITY_DEFAULT                   = 0x0
-       PARITY_NONE                      = 0x1
-       PARMRK                           = 0x8
-       PARODD                           = 0x200
-       PENDIN                           = 0x4000
-       PRIO_PGRP                        = 0x1
-       PRIO_PROCESS                     = 0x0
-       PRIO_USER                        = 0x2
-       PROT_EXEC                        = 0x4
-       PROT_GROWSDOWN                   = 0x1000000
-       PROT_GROWSUP                     = 0x2000000
-       PROT_NONE                        = 0x0
-       PROT_READ                        = 0x1
-       PROT_WRITE                       = 0x2
-       PR_CAPBSET_DROP                  = 0x18
-       PR_CAPBSET_READ                  = 0x17
-       PR_CAP_AMBIENT                   = 0x2f
-       PR_CAP_AMBIENT_CLEAR_ALL         = 0x4
-       PR_CAP_AMBIENT_IS_SET            = 0x1
-       PR_CAP_AMBIENT_LOWER             = 0x3
-       PR_CAP_AMBIENT_RAISE             = 0x2
-       PR_ENDIAN_BIG                    = 0x0
-       PR_ENDIAN_LITTLE                 = 0x1
-       PR_ENDIAN_PPC_LITTLE             = 0x2
-       PR_FPEMU_NOPRINT                 = 0x1
-       PR_FPEMU_SIGFPE                  = 0x2
-       PR_FP_EXC_ASYNC                  = 0x2
-       PR_FP_EXC_DISABLED               = 0x0
-       PR_FP_EXC_DIV                    = 0x10000
-       PR_FP_EXC_INV                    = 0x100000
-       PR_FP_EXC_NONRECOV               = 0x1
-       PR_FP_EXC_OVF                    = 0x20000
-       PR_FP_EXC_PRECISE                = 0x3
-       PR_FP_EXC_RES                    = 0x80000
-       PR_FP_EXC_SW_ENABLE              = 0x80
-       PR_FP_EXC_UND                    = 0x40000
-       PR_FP_MODE_FR                    = 0x1
-       PR_FP_MODE_FRE                   = 0x2
-       PR_GET_CHILD_SUBREAPER           = 0x25
-       PR_GET_DUMPABLE                  = 0x3
-       PR_GET_ENDIAN                    = 0x13
-       PR_GET_FPEMU                     = 0x9
-       PR_GET_FPEXC                     = 0xb
-       PR_GET_FP_MODE                   = 0x2e
-       PR_GET_KEEPCAPS                  = 0x7
-       PR_GET_NAME                      = 0x10
-       PR_GET_NO_NEW_PRIVS              = 0x27
-       PR_GET_PDEATHSIG                 = 0x2
-       PR_GET_SECCOMP                   = 0x15
-       PR_GET_SECUREBITS                = 0x1b
-       PR_GET_THP_DISABLE               = 0x2a
-       PR_GET_TID_ADDRESS               = 0x28
-       PR_GET_TIMERSLACK                = 0x1e
-       PR_GET_TIMING                    = 0xd
-       PR_GET_TSC                       = 0x19
-       PR_GET_UNALIGN                   = 0x5
-       PR_MCE_KILL                      = 0x21
-       PR_MCE_KILL_CLEAR                = 0x0
-       PR_MCE_KILL_DEFAULT              = 0x2
-       PR_MCE_KILL_EARLY                = 0x1
-       PR_MCE_KILL_GET                  = 0x22
-       PR_MCE_KILL_LATE                 = 0x0
-       PR_MCE_KILL_SET                  = 0x1
-       PR_MPX_DISABLE_MANAGEMENT        = 0x2c
-       PR_MPX_ENABLE_MANAGEMENT         = 0x2b
-       PR_SET_CHILD_SUBREAPER           = 0x24
-       PR_SET_DUMPABLE                  = 0x4
-       PR_SET_ENDIAN                    = 0x14
-       PR_SET_FPEMU                     = 0xa
-       PR_SET_FPEXC                     = 0xc
-       PR_SET_FP_MODE                   = 0x2d
-       PR_SET_KEEPCAPS                  = 0x8
-       PR_SET_MM                        = 0x23
-       PR_SET_MM_ARG_END                = 0x9
-       PR_SET_MM_ARG_START              = 0x8
-       PR_SET_MM_AUXV                   = 0xc
-       PR_SET_MM_BRK                    = 0x7
-       PR_SET_MM_END_CODE               = 0x2
-       PR_SET_MM_END_DATA               = 0x4
-       PR_SET_MM_ENV_END                = 0xb
-       PR_SET_MM_ENV_START              = 0xa
-       PR_SET_MM_EXE_FILE               = 0xd
-       PR_SET_MM_MAP                    = 0xe
-       PR_SET_MM_MAP_SIZE               = 0xf
-       PR_SET_MM_START_BRK              = 0x6
-       PR_SET_MM_START_CODE             = 0x1
-       PR_SET_MM_START_DATA             = 0x3
-       PR_SET_MM_START_STACK            = 0x5
-       PR_SET_NAME                      = 0xf
-       PR_SET_NO_NEW_PRIVS              = 0x26
-       PR_SET_PDEATHSIG                 = 0x1
-       PR_SET_PTRACER                   = 0x59616d61
-       PR_SET_PTRACER_ANY               = -0x1
-       PR_SET_SECCOMP                   = 0x16
-       PR_SET_SECUREBITS                = 0x1c
-       PR_SET_THP_DISABLE               = 0x29
-       PR_SET_TIMERSLACK                = 0x1d
-       PR_SET_TIMING                    = 0xe
-       PR_SET_TSC                       = 0x1a
-       PR_SET_UNALIGN                   = 0x6
-       PR_TASK_PERF_EVENTS_DISABLE      = 0x1f
-       PR_TASK_PERF_EVENTS_ENABLE       = 0x20
-       PR_TIMING_STATISTICAL            = 0x0
-       PR_TIMING_TIMESTAMP              = 0x1
-       PR_TSC_ENABLE                    = 0x1
-       PR_TSC_SIGSEGV                   = 0x2
-       PR_UNALIGN_NOPRINT               = 0x1
-       PR_UNALIGN_SIGBUS                = 0x2
-       PTRACE_ATTACH                    = 0x10
-       PTRACE_CONT                      = 0x7
-       PTRACE_DETACH                    = 0x11
-       PTRACE_DISABLE_TE                = 0x5010
-       PTRACE_ENABLE_TE                 = 0x5009
-       PTRACE_EVENT_CLONE               = 0x3
-       PTRACE_EVENT_EXEC                = 0x4
-       PTRACE_EVENT_EXIT                = 0x6
-       PTRACE_EVENT_FORK                = 0x1
-       PTRACE_EVENT_SECCOMP             = 0x7
-       PTRACE_EVENT_STOP                = 0x80
-       PTRACE_EVENT_VFORK               = 0x2
-       PTRACE_EVENT_VFORK_DONE          = 0x5
-       PTRACE_GETEVENTMSG               = 0x4201
-       PTRACE_GETREGS                   = 0xc
-       PTRACE_GETREGSET                 = 0x4204
-       PTRACE_GETSIGINFO                = 0x4202
-       PTRACE_GETSIGMASK                = 0x420a
-       PTRACE_GET_LAST_BREAK            = 0x5006
-       PTRACE_INTERRUPT                 = 0x4207
-       PTRACE_KILL                      = 0x8
-       PTRACE_LISTEN                    = 0x4208
-       PTRACE_OLDSETOPTIONS             = 0x15
-       PTRACE_O_EXITKILL                = 0x100000
-       PTRACE_O_MASK                    = 0x3000ff
-       PTRACE_O_SUSPEND_SECCOMP         = 0x200000
-       PTRACE_O_TRACECLONE              = 0x8
-       PTRACE_O_TRACEEXEC               = 0x10
-       PTRACE_O_TRACEEXIT               = 0x40
-       PTRACE_O_TRACEFORK               = 0x2
-       PTRACE_O_TRACESECCOMP            = 0x80
-       PTRACE_O_TRACESYSGOOD            = 0x1
-       PTRACE_O_TRACEVFORK              = 0x4
-       PTRACE_O_TRACEVFORKDONE          = 0x20
-       PTRACE_PEEKDATA                  = 0x2
-       PTRACE_PEEKDATA_AREA             = 0x5003
-       PTRACE_PEEKSIGINFO               = 0x4209
-       PTRACE_PEEKSIGINFO_SHARED        = 0x1
-       PTRACE_PEEKTEXT                  = 0x1
-       PTRACE_PEEKTEXT_AREA             = 0x5002
-       PTRACE_PEEKUSR                   = 0x3
-       PTRACE_PEEKUSR_AREA              = 0x5000
-       PTRACE_PEEK_SYSTEM_CALL          = 0x5007
-       PTRACE_POKEDATA                  = 0x5
-       PTRACE_POKEDATA_AREA             = 0x5005
-       PTRACE_POKETEXT                  = 0x4
-       PTRACE_POKETEXT_AREA             = 0x5004
-       PTRACE_POKEUSR                   = 0x6
-       PTRACE_POKEUSR_AREA              = 0x5001
-       PTRACE_POKE_SYSTEM_CALL          = 0x5008
-       PTRACE_PROT                      = 0x15
-       PTRACE_SECCOMP_GET_FILTER        = 0x420c
-       PTRACE_SEIZE                     = 0x4206
-       PTRACE_SETOPTIONS                = 0x4200
-       PTRACE_SETREGS                   = 0xd
-       PTRACE_SETREGSET                 = 0x4205
-       PTRACE_SETSIGINFO                = 0x4203
-       PTRACE_SETSIGMASK                = 0x420b
-       PTRACE_SINGLEBLOCK               = 0xc
-       PTRACE_SINGLESTEP                = 0x9
-       PTRACE_SYSCALL                   = 0x18
-       PTRACE_TE_ABORT_RAND             = 0x5011
-       PTRACE_TRACEME                   = 0x0
-       PT_ACR0                          = 0x90
-       PT_ACR1                          = 0x94
-       PT_ACR10                         = 0xb8
-       PT_ACR11                         = 0xbc
-       PT_ACR12                         = 0xc0
-       PT_ACR13                         = 0xc4
-       PT_ACR14                         = 0xc8
-       PT_ACR15                         = 0xcc
-       PT_ACR2                          = 0x98
-       PT_ACR3                          = 0x9c
-       PT_ACR4                          = 0xa0
-       PT_ACR5                          = 0xa4
-       PT_ACR6                          = 0xa8
-       PT_ACR7                          = 0xac
-       PT_ACR8                          = 0xb0
-       PT_ACR9                          = 0xb4
-       PT_CR_10                         = 0x168
-       PT_CR_11                         = 0x170
-       PT_CR_9                          = 0x160
-       PT_ENDREGS                       = 0x1af
-       PT_FPC                           = 0xd8
-       PT_FPR0                          = 0xe0
-       PT_FPR1                          = 0xe8
-       PT_FPR10                         = 0x130
-       PT_FPR11                         = 0x138
-       PT_FPR12                         = 0x140
-       PT_FPR13                         = 0x148
-       PT_FPR14                         = 0x150
-       PT_FPR15                         = 0x158
-       PT_FPR2                          = 0xf0
-       PT_FPR3                          = 0xf8
-       PT_FPR4                          = 0x100
-       PT_FPR5                          = 0x108
-       PT_FPR6                          = 0x110
-       PT_FPR7                          = 0x118
-       PT_FPR8                          = 0x120
-       PT_FPR9                          = 0x128
-       PT_GPR0                          = 0x10
-       PT_GPR1                          = 0x18
-       PT_GPR10                         = 0x60
-       PT_GPR11                         = 0x68
-       PT_GPR12                         = 0x70
-       PT_GPR13                         = 0x78
-       PT_GPR14                         = 0x80
-       PT_GPR15                         = 0x88
-       PT_GPR2                          = 0x20
-       PT_GPR3                          = 0x28
-       PT_GPR4                          = 0x30
-       PT_GPR5                          = 0x38
-       PT_GPR6                          = 0x40
-       PT_GPR7                          = 0x48
-       PT_GPR8                          = 0x50
-       PT_GPR9                          = 0x58
-       PT_IEEE_IP                       = 0x1a8
-       PT_LASTOFF                       = 0x1a8
-       PT_ORIGGPR2                      = 0xd0
-       PT_PSWADDR                       = 0x8
-       PT_PSWMASK                       = 0x0
-       RLIMIT_AS                        = 0x9
-       RLIMIT_CORE                      = 0x4
-       RLIMIT_CPU                       = 0x0
-       RLIMIT_DATA                      = 0x2
-       RLIMIT_FSIZE                     = 0x1
-       RLIMIT_NOFILE                    = 0x7
-       RLIMIT_STACK                     = 0x3
-       RLIM_INFINITY                    = -0x1
-       RTAX_ADVMSS                      = 0x8
-       RTAX_CC_ALGO                     = 0x10
-       RTAX_CWND                        = 0x7
-       RTAX_FEATURES                    = 0xc
-       RTAX_FEATURE_ALLFRAG             = 0x8
-       RTAX_FEATURE_ECN                 = 0x1
-       RTAX_FEATURE_MASK                = 0xf
-       RTAX_FEATURE_SACK                = 0x2
-       RTAX_FEATURE_TIMESTAMP           = 0x4
-       RTAX_HOPLIMIT                    = 0xa
-       RTAX_INITCWND                    = 0xb
-       RTAX_INITRWND                    = 0xe
-       RTAX_LOCK                        = 0x1
-       RTAX_MAX                         = 0x10
-       RTAX_MTU                         = 0x2
-       RTAX_QUICKACK                    = 0xf
-       RTAX_REORDERING                  = 0x9
-       RTAX_RTO_MIN                     = 0xd
-       RTAX_RTT                         = 0x4
-       RTAX_RTTVAR                      = 0x5
-       RTAX_SSTHRESH                    = 0x6
-       RTAX_UNSPEC                      = 0x0
-       RTAX_WINDOW                      = 0x3
-       RTA_ALIGNTO                      = 0x4
-       RTA_MAX                          = 0x19
-       RTCF_DIRECTSRC                   = 0x4000000
-       RTCF_DOREDIRECT                  = 0x1000000
-       RTCF_LOG                         = 0x2000000
-       RTCF_MASQ                        = 0x400000
-       RTCF_NAT                         = 0x800000
-       RTCF_VALVE                       = 0x200000
-       RTF_ADDRCLASSMASK                = 0xf8000000
-       RTF_ADDRCONF                     = 0x40000
-       RTF_ALLONLINK                    = 0x20000
-       RTF_BROADCAST                    = 0x10000000
-       RTF_CACHE                        = 0x1000000
-       RTF_DEFAULT                      = 0x10000
-       RTF_DYNAMIC                      = 0x10
-       RTF_FLOW                         = 0x2000000
-       RTF_GATEWAY                      = 0x2
-       RTF_HOST                         = 0x4
-       RTF_INTERFACE                    = 0x40000000
-       RTF_IRTT                         = 0x100
-       RTF_LINKRT                       = 0x100000
-       RTF_LOCAL                        = 0x80000000
-       RTF_MODIFIED                     = 0x20
-       RTF_MSS                          = 0x40
-       RTF_MTU                          = 0x40
-       RTF_MULTICAST                    = 0x20000000
-       RTF_NAT                          = 0x8000000
-       RTF_NOFORWARD                    = 0x1000
-       RTF_NONEXTHOP                    = 0x200000
-       RTF_NOPMTUDISC                   = 0x4000
-       RTF_POLICY                       = 0x4000000
-       RTF_REINSTATE                    = 0x8
-       RTF_REJECT                       = 0x200
-       RTF_STATIC                       = 0x400
-       RTF_THROW                        = 0x2000
-       RTF_UP                           = 0x1
-       RTF_WINDOW                       = 0x80
-       RTF_XRESOLVE                     = 0x800
-       RTM_BASE                         = 0x10
-       RTM_DELACTION                    = 0x31
-       RTM_DELADDR                      = 0x15
-       RTM_DELADDRLABEL                 = 0x49
-       RTM_DELLINK                      = 0x11
-       RTM_DELMDB                       = 0x55
-       RTM_DELNEIGH                     = 0x1d
-       RTM_DELNSID                      = 0x59
-       RTM_DELQDISC                     = 0x25
-       RTM_DELROUTE                     = 0x19
-       RTM_DELRULE                      = 0x21
-       RTM_DELTCLASS                    = 0x29
-       RTM_DELTFILTER                   = 0x2d
-       RTM_F_CLONED                     = 0x200
-       RTM_F_EQUALIZE                   = 0x400
-       RTM_F_LOOKUP_TABLE               = 0x1000
-       RTM_F_NOTIFY                     = 0x100
-       RTM_F_PREFIX                     = 0x800
-       RTM_GETACTION                    = 0x32
-       RTM_GETADDR                      = 0x16
-       RTM_GETADDRLABEL                 = 0x4a
-       RTM_GETANYCAST                   = 0x3e
-       RTM_GETDCB                       = 0x4e
-       RTM_GETLINK                      = 0x12
-       RTM_GETMDB                       = 0x56
-       RTM_GETMULTICAST                 = 0x3a
-       RTM_GETNEIGH                     = 0x1e
-       RTM_GETNEIGHTBL                  = 0x42
-       RTM_GETNETCONF                   = 0x52
-       RTM_GETNSID                      = 0x5a
-       RTM_GETQDISC                     = 0x26
-       RTM_GETROUTE                     = 0x1a
-       RTM_GETRULE                      = 0x22
-       RTM_GETSTATS                     = 0x5e
-       RTM_GETTCLASS                    = 0x2a
-       RTM_GETTFILTER                   = 0x2e
-       RTM_MAX                          = 0x5f
-       RTM_NEWACTION                    = 0x30
-       RTM_NEWADDR                      = 0x14
-       RTM_NEWADDRLABEL                 = 0x48
-       RTM_NEWLINK                      = 0x10
-       RTM_NEWMDB                       = 0x54
-       RTM_NEWNDUSEROPT                 = 0x44
-       RTM_NEWNEIGH                     = 0x1c
-       RTM_NEWNEIGHTBL                  = 0x40
-       RTM_NEWNETCONF                   = 0x50
-       RTM_NEWNSID                      = 0x58
-       RTM_NEWPREFIX                    = 0x34
-       RTM_NEWQDISC                     = 0x24
-       RTM_NEWROUTE                     = 0x18
-       RTM_NEWRULE                      = 0x20
-       RTM_NEWSTATS                     = 0x5c
-       RTM_NEWTCLASS                    = 0x28
-       RTM_NEWTFILTER                   = 0x2c
-       RTM_NR_FAMILIES                  = 0x14
-       RTM_NR_MSGTYPES                  = 0x50
-       RTM_SETDCB                       = 0x4f
-       RTM_SETLINK                      = 0x13
-       RTM_SETNEIGHTBL                  = 0x43
-       RTNH_ALIGNTO                     = 0x4
-       RTNH_COMPARE_MASK                = 0x19
-       RTNH_F_DEAD                      = 0x1
-       RTNH_F_LINKDOWN                  = 0x10
-       RTNH_F_OFFLOAD                   = 0x8
-       RTNH_F_ONLINK                    = 0x4
-       RTNH_F_PERVASIVE                 = 0x2
-       RTN_MAX                          = 0xb
-       RTPROT_BABEL                     = 0x2a
-       RTPROT_BIRD                      = 0xc
-       RTPROT_BOOT                      = 0x3
-       RTPROT_DHCP                      = 0x10
-       RTPROT_DNROUTED                  = 0xd
-       RTPROT_GATED                     = 0x8
-       RTPROT_KERNEL                    = 0x2
-       RTPROT_MROUTED                   = 0x11
-       RTPROT_MRT                       = 0xa
-       RTPROT_NTK                       = 0xf
-       RTPROT_RA                        = 0x9
-       RTPROT_REDIRECT                  = 0x1
-       RTPROT_STATIC                    = 0x4
-       RTPROT_UNSPEC                    = 0x0
-       RTPROT_XORP                      = 0xe
-       RTPROT_ZEBRA                     = 0xb
-       RT_CLASS_DEFAULT                 = 0xfd
-       RT_CLASS_LOCAL                   = 0xff
-       RT_CLASS_MAIN                    = 0xfe
-       RT_CLASS_MAX                     = 0xff
-       RT_CLASS_UNSPEC                  = 0x0
-       RUSAGE_CHILDREN                  = -0x1
-       RUSAGE_SELF                      = 0x0
-       RUSAGE_THREAD                    = 0x1
-       SCM_CREDENTIALS                  = 0x2
-       SCM_RIGHTS                       = 0x1
-       SCM_TIMESTAMP                    = 0x1d
-       SCM_TIMESTAMPING                 = 0x25
-       SCM_TIMESTAMPING_OPT_STATS       = 0x36
-       SCM_TIMESTAMPNS                  = 0x23
-       SCM_WIFI_STATUS                  = 0x29
-       SHUT_RD                          = 0x0
-       SHUT_RDWR                        = 0x2
-       SHUT_WR                          = 0x1
-       SIOCADDDLCI                      = 0x8980
-       SIOCADDMULTI                     = 0x8931
-       SIOCADDRT                        = 0x890b
-       SIOCATMARK                       = 0x8905
-       SIOCDARP                         = 0x8953
-       SIOCDELDLCI                      = 0x8981
-       SIOCDELMULTI                     = 0x8932
-       SIOCDELRT                        = 0x890c
-       SIOCDEVPRIVATE                   = 0x89f0
-       SIOCDIFADDR                      = 0x8936
-       SIOCDRARP                        = 0x8960
-       SIOCGARP                         = 0x8954
-       SIOCGIFADDR                      = 0x8915
-       SIOCGIFBR                        = 0x8940
-       SIOCGIFBRDADDR                   = 0x8919
-       SIOCGIFCONF                      = 0x8912
-       SIOCGIFCOUNT                     = 0x8938
-       SIOCGIFDSTADDR                   = 0x8917
-       SIOCGIFENCAP                     = 0x8925
-       SIOCGIFFLAGS                     = 0x8913
-       SIOCGIFHWADDR                    = 0x8927
-       SIOCGIFINDEX                     = 0x8933
-       SIOCGIFMAP                       = 0x8970
-       SIOCGIFMEM                       = 0x891f
-       SIOCGIFMETRIC                    = 0x891d
-       SIOCGIFMTU                       = 0x8921
-       SIOCGIFNAME                      = 0x8910
-       SIOCGIFNETMASK                   = 0x891b
-       SIOCGIFPFLAGS                    = 0x8935
-       SIOCGIFSLAVE                     = 0x8929
-       SIOCGIFTXQLEN                    = 0x8942
-       SIOCGPGRP                        = 0x8904
-       SIOCGRARP                        = 0x8961
-       SIOCGSTAMP                       = 0x8906
-       SIOCGSTAMPNS                     = 0x8907
-       SIOCPROTOPRIVATE                 = 0x89e0
-       SIOCRTMSG                        = 0x890d
-       SIOCSARP                         = 0x8955
-       SIOCSIFADDR                      = 0x8916
-       SIOCSIFBR                        = 0x8941
-       SIOCSIFBRDADDR                   = 0x891a
-       SIOCSIFDSTADDR                   = 0x8918
-       SIOCSIFENCAP                     = 0x8926
-       SIOCSIFFLAGS                     = 0x8914
-       SIOCSIFHWADDR                    = 0x8924
-       SIOCSIFHWBROADCAST               = 0x8937
-       SIOCSIFLINK                      = 0x8911
-       SIOCSIFMAP                       = 0x8971
-       SIOCSIFMEM                       = 0x8920
-       SIOCSIFMETRIC                    = 0x891e
-       SIOCSIFMTU                       = 0x8922
-       SIOCSIFNAME                      = 0x8923
-       SIOCSIFNETMASK                   = 0x891c
-       SIOCSIFPFLAGS                    = 0x8934
-       SIOCSIFSLAVE                     = 0x8930
-       SIOCSIFTXQLEN                    = 0x8943
-       SIOCSPGRP                        = 0x8902
-       SIOCSRARP                        = 0x8962
-       SOCK_CLOEXEC                     = 0x80000
-       SOCK_DCCP                        = 0x6
-       SOCK_DGRAM                       = 0x2
-       SOCK_NONBLOCK                    = 0x800
-       SOCK_PACKET                      = 0xa
-       SOCK_RAW                         = 0x3
-       SOCK_RDM                         = 0x4
-       SOCK_SEQPACKET                   = 0x5
-       SOCK_STREAM                      = 0x1
-       SOL_AAL                          = 0x109
-       SOL_ALG                          = 0x117
-       SOL_ATM                          = 0x108
-       SOL_CAIF                         = 0x116
-       SOL_CAN_BASE                     = 0x64
-       SOL_DCCP                         = 0x10d
-       SOL_DECNET                       = 0x105
-       SOL_ICMPV6                       = 0x3a
-       SOL_IP                           = 0x0
-       SOL_IPV6                         = 0x29
-       SOL_IRDA                         = 0x10a
-       SOL_IUCV                         = 0x115
-       SOL_KCM                          = 0x119
-       SOL_LLC                          = 0x10c
-       SOL_NETBEUI                      = 0x10b
-       SOL_NETLINK                      = 0x10e
-       SOL_NFC                          = 0x118
-       SOL_PACKET                       = 0x107
-       SOL_PNPIPE                       = 0x113
-       SOL_PPPOL2TP                     = 0x111
-       SOL_RAW                          = 0xff
-       SOL_RDS                          = 0x114
-       SOL_RXRPC                        = 0x110
-       SOL_SOCKET                       = 0x1
-       SOL_TCP                          = 0x6
-       SOL_TIPC                         = 0x10f
-       SOL_X25                          = 0x106
-       SOMAXCONN                        = 0x80
-       SO_ACCEPTCONN                    = 0x1e
-       SO_ATTACH_BPF                    = 0x32
-       SO_ATTACH_FILTER                 = 0x1a
-       SO_ATTACH_REUSEPORT_CBPF         = 0x33
-       SO_ATTACH_REUSEPORT_EBPF         = 0x34
-       SO_BINDTODEVICE                  = 0x19
-       SO_BPF_EXTENSIONS                = 0x30
-       SO_BROADCAST                     = 0x6
-       SO_BSDCOMPAT                     = 0xe
-       SO_BUSY_POLL                     = 0x2e
-       SO_CNX_ADVICE                    = 0x35
-       SO_DEBUG                         = 0x1
-       SO_DETACH_BPF                    = 0x1b
-       SO_DETACH_FILTER                 = 0x1b
-       SO_DOMAIN                        = 0x27
-       SO_DONTROUTE                     = 0x5
-       SO_ERROR                         = 0x4
-       SO_GET_FILTER                    = 0x1a
-       SO_INCOMING_CPU                  = 0x31
-       SO_KEEPALIVE                     = 0x9
-       SO_LINGER                        = 0xd
-       SO_LOCK_FILTER                   = 0x2c
-       SO_MARK                          = 0x24
-       SO_MAX_PACING_RATE               = 0x2f
-       SO_NOFCS                         = 0x2b
-       SO_NO_CHECK                      = 0xb
-       SO_OOBINLINE                     = 0xa
-       SO_PASSCRED                      = 0x10
-       SO_PASSSEC                       = 0x22
-       SO_PEEK_OFF                      = 0x2a
-       SO_PEERCRED                      = 0x11
-       SO_PEERNAME                      = 0x1c
-       SO_PEERSEC                       = 0x1f
-       SO_PRIORITY                      = 0xc
-       SO_PROTOCOL                      = 0x26
-       SO_RCVBUF                        = 0x8
-       SO_RCVBUFFORCE                   = 0x21
-       SO_RCVLOWAT                      = 0x12
-       SO_RCVTIMEO                      = 0x14
-       SO_REUSEADDR                     = 0x2
-       SO_REUSEPORT                     = 0xf
-       SO_RXQ_OVFL                      = 0x28
-       SO_SECURITY_AUTHENTICATION       = 0x16
-       SO_SECURITY_ENCRYPTION_NETWORK   = 0x18
-       SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-       SO_SELECT_ERR_QUEUE              = 0x2d
-       SO_SNDBUF                        = 0x7
-       SO_SNDBUFFORCE                   = 0x20
-       SO_SNDLOWAT                      = 0x13
-       SO_SNDTIMEO                      = 0x15
-       SO_TIMESTAMP                     = 0x1d
-       SO_TIMESTAMPING                  = 0x25
-       SO_TIMESTAMPNS                   = 0x23
-       SO_TYPE                          = 0x3
-       SO_VM_SOCKETS_BUFFER_MAX_SIZE    = 0x2
-       SO_VM_SOCKETS_BUFFER_MIN_SIZE    = 0x1
-       SO_VM_SOCKETS_BUFFER_SIZE        = 0x0
-       SO_VM_SOCKETS_CONNECT_TIMEOUT    = 0x6
-       SO_VM_SOCKETS_NONBLOCK_TXRX      = 0x7
-       SO_VM_SOCKETS_PEER_HOST_VM_ID    = 0x3
-       SO_VM_SOCKETS_TRUSTED            = 0x5
-       SO_WIFI_STATUS                   = 0x29
-       SPLICE_F_GIFT                    = 0x8
-       SPLICE_F_MORE                    = 0x4
-       SPLICE_F_MOVE                    = 0x1
-       SPLICE_F_NONBLOCK                = 0x2
-       S_BLKSIZE                        = 0x200
-       S_IEXEC                          = 0x40
-       S_IFBLK                          = 0x6000
-       S_IFCHR                          = 0x2000
-       S_IFDIR                          = 0x4000
-       S_IFIFO                          = 0x1000
-       S_IFLNK                          = 0xa000
-       S_IFMT                           = 0xf000
-       S_IFREG                          = 0x8000
-       S_IFSOCK                         = 0xc000
-       S_IREAD                          = 0x100
-       S_IRGRP                          = 0x20
-       S_IROTH                          = 0x4
-       S_IRUSR                          = 0x100
-       S_IRWXG                          = 0x38
-       S_IRWXO                          = 0x7
-       S_IRWXU                          = 0x1c0
-       S_ISGID                          = 0x400
-       S_ISUID                          = 0x800
-       S_ISVTX                          = 0x200
-       S_IWGRP                          = 0x10
-       S_IWOTH                          = 0x2
-       S_IWRITE                         = 0x80
-       S_IWUSR                          = 0x80
-       S_IXGRP                          = 0x8
-       S_IXOTH                          = 0x1
-       S_IXUSR                          = 0x40
-       TAB0                             = 0x0
-       TAB1                             = 0x800
-       TAB2                             = 0x1000
-       TAB3                             = 0x1800
-       TABDLY                           = 0x1800
-       TCFLSH                           = 0x540b
-       TCGETA                           = 0x5405
-       TCGETS                           = 0x5401
-       TCGETS2                          = 0x802c542a
-       TCGETX                           = 0x5432
-       TCIFLUSH                         = 0x0
-       TCIOFF                           = 0x2
-       TCIOFLUSH                        = 0x2
-       TCION                            = 0x3
-       TCOFLUSH                         = 0x1
-       TCOOFF                           = 0x0
-       TCOON                            = 0x1
-       TCP_CC_INFO                      = 0x1a
-       TCP_CONGESTION                   = 0xd
-       TCP_COOKIE_IN_ALWAYS             = 0x1
-       TCP_COOKIE_MAX                   = 0x10
-       TCP_COOKIE_MIN                   = 0x8
-       TCP_COOKIE_OUT_NEVER             = 0x2
-       TCP_COOKIE_PAIR_SIZE             = 0x20
-       TCP_COOKIE_TRANSACTIONS          = 0xf
-       TCP_CORK                         = 0x3
-       TCP_DEFER_ACCEPT                 = 0x9
-       TCP_FASTOPEN                     = 0x17
-       TCP_INFO                         = 0xb
-       TCP_KEEPCNT                      = 0x6
-       TCP_KEEPIDLE                     = 0x4
-       TCP_KEEPINTVL                    = 0x5
-       TCP_LINGER2                      = 0x8
-       TCP_MAXSEG                       = 0x2
-       TCP_MAXWIN                       = 0xffff
-       TCP_MAX_WINSHIFT                 = 0xe
-       TCP_MD5SIG                       = 0xe
-       TCP_MD5SIG_MAXKEYLEN             = 0x50
-       TCP_MSS                          = 0x200
-       TCP_MSS_DEFAULT                  = 0x218
-       TCP_MSS_DESIRED                  = 0x4c4
-       TCP_NODELAY                      = 0x1
-       TCP_NOTSENT_LOWAT                = 0x19
-       TCP_QUEUE_SEQ                    = 0x15
-       TCP_QUICKACK                     = 0xc
-       TCP_REPAIR                       = 0x13
-       TCP_REPAIR_OPTIONS               = 0x16
-       TCP_REPAIR_QUEUE                 = 0x14
-       TCP_REPAIR_WINDOW                = 0x1d
-       TCP_SAVED_SYN                    = 0x1c
-       TCP_SAVE_SYN                     = 0x1b
-       TCP_SYNCNT                       = 0x7
-       TCP_S_DATA_IN                    = 0x4
-       TCP_S_DATA_OUT                   = 0x8
-       TCP_THIN_DUPACK                  = 0x11
-       TCP_THIN_LINEAR_TIMEOUTS         = 0x10
-       TCP_TIMESTAMP                    = 0x18
-       TCP_USER_TIMEOUT                 = 0x12
-       TCP_WINDOW_CLAMP                 = 0xa
-       TCSAFLUSH                        = 0x2
-       TCSBRK                           = 0x5409
-       TCSBRKP                          = 0x5425
-       TCSETA                           = 0x5406
-       TCSETAF                          = 0x5408
-       TCSETAW                          = 0x5407
-       TCSETS                           = 0x5402
-       TCSETS2                          = 0x402c542b
-       TCSETSF                          = 0x5404
-       TCSETSF2                         = 0x402c542d
-       TCSETSW                          = 0x5403
-       TCSETSW2                         = 0x402c542c
-       TCSETX                           = 0x5433
-       TCSETXF                          = 0x5434
-       TCSETXW                          = 0x5435
-       TCXONC                           = 0x540a
-       TIOCCBRK                         = 0x5428
-       TIOCCONS                         = 0x541d
-       TIOCEXCL                         = 0x540c
-       TIOCGDEV                         = 0x80045432
-       TIOCGETD                         = 0x5424
-       TIOCGEXCL                        = 0x80045440
-       TIOCGICOUNT                      = 0x545d
-       TIOCGLCKTRMIOS                   = 0x5456
-       TIOCGPGRP                        = 0x540f
-       TIOCGPKT                         = 0x80045438
-       TIOCGPTLCK                       = 0x80045439
-       TIOCGPTN                         = 0x80045430
-       TIOCGRS485                       = 0x542e
-       TIOCGSERIAL                      = 0x541e
-       TIOCGSID                         = 0x5429
-       TIOCGSOFTCAR                     = 0x5419
-       TIOCGWINSZ                       = 0x5413
-       TIOCINQ                          = 0x541b
-       TIOCLINUX                        = 0x541c
-       TIOCMBIC                         = 0x5417
-       TIOCMBIS                         = 0x5416
-       TIOCMGET                         = 0x5415
-       TIOCMIWAIT                       = 0x545c
-       TIOCMSET                         = 0x5418
-       TIOCM_CAR                        = 0x40
-       TIOCM_CD                         = 0x40
-       TIOCM_CTS                        = 0x20
-       TIOCM_DSR                        = 0x100
-       TIOCM_DTR                        = 0x2
-       TIOCM_LE                         = 0x1
-       TIOCM_RI                         = 0x80
-       TIOCM_RNG                        = 0x80
-       TIOCM_RTS                        = 0x4
-       TIOCM_SR                         = 0x10
-       TIOCM_ST                         = 0x8
-       TIOCNOTTY                        = 0x5422
-       TIOCNXCL                         = 0x540d
-       TIOCOUTQ                         = 0x5411
-       TIOCPKT                          = 0x5420
-       TIOCPKT_DATA                     = 0x0
-       TIOCPKT_DOSTOP                   = 0x20
-       TIOCPKT_FLUSHREAD                = 0x1
-       TIOCPKT_FLUSHWRITE               = 0x2
-       TIOCPKT_IOCTL                    = 0x40
-       TIOCPKT_NOSTOP                   = 0x10
-       TIOCPKT_START                    = 0x8
-       TIOCPKT_STOP                     = 0x4
-       TIOCSBRK                         = 0x5427
-       TIOCSCTTY                        = 0x540e
-       TIOCSERCONFIG                    = 0x5453
-       TIOCSERGETLSR                    = 0x5459
-       TIOCSERGETMULTI                  = 0x545a
-       TIOCSERGSTRUCT                   = 0x5458
-       TIOCSERGWILD                     = 0x5454
-       TIOCSERSETMULTI                  = 0x545b
-       TIOCSERSWILD                     = 0x5455
-       TIOCSER_TEMT                     = 0x1
-       TIOCSETD                         = 0x5423
-       TIOCSIG                          = 0x40045436
-       TIOCSLCKTRMIOS                   = 0x5457
-       TIOCSPGRP                        = 0x5410
-       TIOCSPTLCK                       = 0x40045431
-       TIOCSRS485                       = 0x542f
-       TIOCSSERIAL                      = 0x541f
-       TIOCSSOFTCAR                     = 0x541a
-       TIOCSTI                          = 0x5412
-       TIOCSWINSZ                       = 0x5414
-       TIOCVHANGUP                      = 0x5437
-       TOSTOP                           = 0x100
-       TUNATTACHFILTER                  = 0x401054d5
-       TUNDETACHFILTER                  = 0x401054d6
-       TUNGETFEATURES                   = 0x800454cf
-       TUNGETFILTER                     = 0x801054db
-       TUNGETIFF                        = 0x800454d2
-       TUNGETSNDBUF                     = 0x800454d3
-       TUNGETVNETBE                     = 0x800454df
-       TUNGETVNETHDRSZ                  = 0x800454d7
-       TUNGETVNETLE                     = 0x800454dd
-       TUNSETDEBUG                      = 0x400454c9
-       TUNSETGROUP                      = 0x400454ce
-       TUNSETIFF                        = 0x400454ca
-       TUNSETIFINDEX                    = 0x400454da
-       TUNSETLINK                       = 0x400454cd
-       TUNSETNOCSUM                     = 0x400454c8
-       TUNSETOFFLOAD                    = 0x400454d0
-       TUNSETOWNER                      = 0x400454cc
-       TUNSETPERSIST                    = 0x400454cb
-       TUNSETQUEUE                      = 0x400454d9
-       TUNSETSNDBUF                     = 0x400454d4
-       TUNSETTXFILTER                   = 0x400454d1
-       TUNSETVNETBE                     = 0x400454de
-       TUNSETVNETHDRSZ                  = 0x400454d8
-       TUNSETVNETLE                     = 0x400454dc
-       VDISCARD                         = 0xd
-       VEOF                             = 0x4
-       VEOL                             = 0xb
-       VEOL2                            = 0x10
-       VERASE                           = 0x2
-       VINTR                            = 0x0
-       VKILL                            = 0x3
-       VLNEXT                           = 0xf
-       VMADDR_CID_ANY                   = 0xffffffff
-       VMADDR_CID_HOST                  = 0x2
-       VMADDR_CID_HYPERVISOR            = 0x0
-       VMADDR_CID_RESERVED              = 0x1
-       VMADDR_PORT_ANY                  = 0xffffffff
-       VMIN                             = 0x6
-       VM_SOCKETS_INVALID_VERSION       = 0xffffffff
-       VQUIT                            = 0x1
-       VREPRINT                         = 0xc
-       VSTART                           = 0x8
-       VSTOP                            = 0x9
-       VSUSP                            = 0xa
-       VSWTC                            = 0x7
-       VT0                              = 0x0
-       VT1                              = 0x4000
-       VTDLY                            = 0x4000
-       VTIME                            = 0x5
-       VWERASE                          = 0xe
-       WALL                             = 0x40000000
-       WCLONE                           = 0x80000000
-       WCONTINUED                       = 0x8
-       WEXITED                          = 0x4
-       WNOHANG                          = 0x1
-       WNOTHREAD                        = 0x20000000
-       WNOWAIT                          = 0x1000000
-       WORDSIZE                         = 0x40
-       WSTOPPED                         = 0x2
-       WUNTRACED                        = 0x2
-       XCASE                            = 0x4
-       XTABS                            = 0x1800
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x62)
-       EADDRNOTAVAIL   = syscall.Errno(0x63)
-       EADV            = syscall.Errno(0x44)
-       EAFNOSUPPORT    = syscall.Errno(0x61)
-       EAGAIN          = syscall.Errno(0xb)
-       EALREADY        = syscall.Errno(0x72)
-       EBADE           = syscall.Errno(0x34)
-       EBADF           = syscall.Errno(0x9)
-       EBADFD          = syscall.Errno(0x4d)
-       EBADMSG         = syscall.Errno(0x4a)
-       EBADR           = syscall.Errno(0x35)
-       EBADRQC         = syscall.Errno(0x38)
-       EBADSLT         = syscall.Errno(0x39)
-       EBFONT          = syscall.Errno(0x3b)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x7d)
-       ECHILD          = syscall.Errno(0xa)
-       ECHRNG          = syscall.Errno(0x2c)
-       ECOMM           = syscall.Errno(0x46)
-       ECONNABORTED    = syscall.Errno(0x67)
-       ECONNREFUSED    = syscall.Errno(0x6f)
-       ECONNRESET      = syscall.Errno(0x68)
-       EDEADLK         = syscall.Errno(0x23)
-       EDEADLOCK       = syscall.Errno(0x23)
-       EDESTADDRREQ    = syscall.Errno(0x59)
-       EDOM            = syscall.Errno(0x21)
-       EDOTDOT         = syscall.Errno(0x49)
-       EDQUOT          = syscall.Errno(0x7a)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EHOSTDOWN       = syscall.Errno(0x70)
-       EHOSTUNREACH    = syscall.Errno(0x71)
-       EHWPOISON       = syscall.Errno(0x85)
-       EIDRM           = syscall.Errno(0x2b)
-       EILSEQ          = syscall.Errno(0x54)
-       EINPROGRESS     = syscall.Errno(0x73)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x6a)
-       EISDIR          = syscall.Errno(0x15)
-       EISNAM          = syscall.Errno(0x78)
-       EKEYEXPIRED     = syscall.Errno(0x7f)
-       EKEYREJECTED    = syscall.Errno(0x81)
-       EKEYREVOKED     = syscall.Errno(0x80)
-       EL2HLT          = syscall.Errno(0x33)
-       EL2NSYNC        = syscall.Errno(0x2d)
-       EL3HLT          = syscall.Errno(0x2e)
-       EL3RST          = syscall.Errno(0x2f)
-       ELIBACC         = syscall.Errno(0x4f)
-       ELIBBAD         = syscall.Errno(0x50)
-       ELIBEXEC        = syscall.Errno(0x53)
-       ELIBMAX         = syscall.Errno(0x52)
-       ELIBSCN         = syscall.Errno(0x51)
-       ELNRNG          = syscall.Errno(0x30)
-       ELOOP           = syscall.Errno(0x28)
-       EMEDIUMTYPE     = syscall.Errno(0x7c)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x5a)
-       EMULTIHOP       = syscall.Errno(0x48)
-       ENAMETOOLONG    = syscall.Errno(0x24)
-       ENAVAIL         = syscall.Errno(0x77)
-       ENETDOWN        = syscall.Errno(0x64)
-       ENETRESET       = syscall.Errno(0x66)
-       ENETUNREACH     = syscall.Errno(0x65)
-       ENFILE          = syscall.Errno(0x17)
-       ENOANO          = syscall.Errno(0x37)
-       ENOBUFS         = syscall.Errno(0x69)
-       ENOCSI          = syscall.Errno(0x32)
-       ENODATA         = syscall.Errno(0x3d)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOKEY          = syscall.Errno(0x7e)
-       ENOLCK          = syscall.Errno(0x25)
-       ENOLINK         = syscall.Errno(0x43)
-       ENOMEDIUM       = syscall.Errno(0x7b)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x2a)
-       ENONET          = syscall.Errno(0x40)
-       ENOPKG          = syscall.Errno(0x41)
-       ENOPROTOOPT     = syscall.Errno(0x5c)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x3f)
-       ENOSTR          = syscall.Errno(0x3c)
-       ENOSYS          = syscall.Errno(0x26)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x6b)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x27)
-       ENOTNAM         = syscall.Errno(0x76)
-       ENOTRECOVERABLE = syscall.Errno(0x83)
-       ENOTSOCK        = syscall.Errno(0x58)
-       ENOTSUP         = syscall.Errno(0x5f)
-       ENOTTY          = syscall.Errno(0x19)
-       ENOTUNIQ        = syscall.Errno(0x4c)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x5f)
-       EOVERFLOW       = syscall.Errno(0x4b)
-       EOWNERDEAD      = syscall.Errno(0x82)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x60)
-       EPIPE           = syscall.Errno(0x20)
-       EPROTO          = syscall.Errno(0x47)
-       EPROTONOSUPPORT = syscall.Errno(0x5d)
-       EPROTOTYPE      = syscall.Errno(0x5b)
-       ERANGE          = syscall.Errno(0x22)
-       EREMCHG         = syscall.Errno(0x4e)
-       EREMOTE         = syscall.Errno(0x42)
-       EREMOTEIO       = syscall.Errno(0x79)
-       ERESTART        = syscall.Errno(0x55)
-       ERFKILL         = syscall.Errno(0x84)
-       EROFS           = syscall.Errno(0x1e)
-       ESHUTDOWN       = syscall.Errno(0x6c)
-       ESOCKTNOSUPPORT = syscall.Errno(0x5e)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESRMNT          = syscall.Errno(0x45)
-       ESTALE          = syscall.Errno(0x74)
-       ESTRPIPE        = syscall.Errno(0x56)
-       ETIME           = syscall.Errno(0x3e)
-       ETIMEDOUT       = syscall.Errno(0x6e)
-       ETOOMANYREFS    = syscall.Errno(0x6d)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUCLEAN         = syscall.Errno(0x75)
-       EUNATCH         = syscall.Errno(0x31)
-       EUSERS          = syscall.Errno(0x57)
-       EWOULDBLOCK     = syscall.Errno(0xb)
-       EXDEV           = syscall.Errno(0x12)
-       EXFULL          = syscall.Errno(0x36)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0x7)
-       SIGCHLD   = syscall.Signal(0x11)
-       SIGCLD    = syscall.Signal(0x11)
-       SIGCONT   = syscall.Signal(0x12)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x1d)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPOLL   = syscall.Signal(0x1d)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGPWR    = syscall.Signal(0x1e)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTKFLT = syscall.Signal(0x10)
-       SIGSTOP   = syscall.Signal(0x13)
-       SIGSYS    = syscall.Signal(0x1f)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x14)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGUNUSED = syscall.Signal(0x1f)
-       SIGURG    = syscall.Signal(0x17)
-       SIGUSR1   = syscall.Signal(0xa)
-       SIGUSR2   = syscall.Signal(0xc)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:   "operation not permitted",
-       2:   "no such file or directory",
-       3:   "no such process",
-       4:   "interrupted system call",
-       5:   "input/output error",
-       6:   "no such device or address",
-       7:   "argument list too long",
-       8:   "exec format error",
-       9:   "bad file descriptor",
-       10:  "no child processes",
-       11:  "resource temporarily unavailable",
-       12:  "cannot allocate memory",
-       13:  "permission denied",
-       14:  "bad address",
-       15:  "block device required",
-       16:  "device or resource busy",
-       17:  "file exists",
-       18:  "invalid cross-device link",
-       19:  "no such device",
-       20:  "not a directory",
-       21:  "is a directory",
-       22:  "invalid argument",
-       23:  "too many open files in system",
-       24:  "too many open files",
-       25:  "inappropriate ioctl for device",
-       26:  "text file busy",
-       27:  "file too large",
-       28:  "no space left on device",
-       29:  "illegal seek",
-       30:  "read-only file system",
-       31:  "too many links",
-       32:  "broken pipe",
-       33:  "numerical argument out of domain",
-       34:  "numerical result out of range",
-       35:  "resource deadlock avoided",
-       36:  "file name too long",
-       37:  "no locks available",
-       38:  "function not implemented",
-       39:  "directory not empty",
-       40:  "too many levels of symbolic links",
-       42:  "no message of desired type",
-       43:  "identifier removed",
-       44:  "channel number out of range",
-       45:  "level 2 not synchronized",
-       46:  "level 3 halted",
-       47:  "level 3 reset",
-       48:  "link number out of range",
-       49:  "protocol driver not attached",
-       50:  "no CSI structure available",
-       51:  "level 2 halted",
-       52:  "invalid exchange",
-       53:  "invalid request descriptor",
-       54:  "exchange full",
-       55:  "no anode",
-       56:  "invalid request code",
-       57:  "invalid slot",
-       59:  "bad font file format",
-       60:  "device not a stream",
-       61:  "no data available",
-       62:  "timer expired",
-       63:  "out of streams resources",
-       64:  "machine is not on the network",
-       65:  "package not installed",
-       66:  "object is remote",
-       67:  "link has been severed",
-       68:  "advertise error",
-       69:  "srmount error",
-       70:  "communication error on send",
-       71:  "protocol error",
-       72:  "multihop attempted",
-       73:  "RFS specific error",
-       74:  "bad message",
-       75:  "value too large for defined data type",
-       76:  "name not unique on network",
-       77:  "file descriptor in bad state",
-       78:  "remote address changed",
-       79:  "can not access a needed shared library",
-       80:  "accessing a corrupted shared library",
-       81:  ".lib section in a.out corrupted",
-       82:  "attempting to link in too many shared libraries",
-       83:  "cannot exec a shared library directly",
-       84:  "invalid or incomplete multibyte or wide character",
-       85:  "interrupted system call should be restarted",
-       86:  "streams pipe error",
-       87:  "too many users",
-       88:  "socket operation on non-socket",
-       89:  "destination address required",
-       90:  "message too long",
-       91:  "protocol wrong type for socket",
-       92:  "protocol not available",
-       93:  "protocol not supported",
-       94:  "socket type not supported",
-       95:  "operation not supported",
-       96:  "protocol family not supported",
-       97:  "address family not supported by protocol",
-       98:  "address already in use",
-       99:  "cannot assign requested address",
-       100: "network is down",
-       101: "network is unreachable",
-       102: "network dropped connection on reset",
-       103: "software caused connection abort",
-       104: "connection reset by peer",
-       105: "no buffer space available",
-       106: "transport endpoint is already connected",
-       107: "transport endpoint is not connected",
-       108: "cannot send after transport endpoint shutdown",
-       109: "too many references: cannot splice",
-       110: "connection timed out",
-       111: "connection refused",
-       112: "host is down",
-       113: "no route to host",
-       114: "operation already in progress",
-       115: "operation now in progress",
-       116: "stale file handle",
-       117: "structure needs cleaning",
-       118: "not a XENIX named type file",
-       119: "no XENIX semaphores available",
-       120: "is a named type file",
-       121: "remote I/O error",
-       122: "disk quota exceeded",
-       123: "no medium found",
-       124: "wrong medium type",
-       125: "operation canceled",
-       126: "required key not available",
-       127: "key has expired",
-       128: "key has been revoked",
-       129: "key was rejected by service",
-       130: "owner died",
-       131: "state not recoverable",
-       132: "operation not possible due to RF-kill",
-       133: "memory page has hardware error",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/breakpoint trap",
-       6:  "aborted",
-       7:  "bus error",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "user defined signal 1",
-       11: "segmentation fault",
-       12: "user defined signal 2",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "stack fault",
-       17: "child exited",
-       18: "continued",
-       19: "stopped (signal)",
-       20: "stopped",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "urgent I/O condition",
-       24: "CPU time limit exceeded",
-       25: "file size limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window changed",
-       29: "I/O possible",
-       30: "power failure",
-       31: "bad system call",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
deleted file mode 100644 (file)
index 95de199..0000000
+++ /dev/null
@@ -1,2142 +0,0 @@
-// mkerrors.sh -m64
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build sparc64,linux
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m64 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_ALG                           = 0x26
-       AF_APPLETALK                     = 0x5
-       AF_ASH                           = 0x12
-       AF_ATMPVC                        = 0x8
-       AF_ATMSVC                        = 0x14
-       AF_AX25                          = 0x3
-       AF_BLUETOOTH                     = 0x1f
-       AF_BRIDGE                        = 0x7
-       AF_CAIF                          = 0x25
-       AF_CAN                           = 0x1d
-       AF_DECnet                        = 0xc
-       AF_ECONET                        = 0x13
-       AF_FILE                          = 0x1
-       AF_IB                            = 0x1b
-       AF_IEEE802154                    = 0x24
-       AF_INET                          = 0x2
-       AF_INET6                         = 0xa
-       AF_IPX                           = 0x4
-       AF_IRDA                          = 0x17
-       AF_ISDN                          = 0x22
-       AF_IUCV                          = 0x20
-       AF_KCM                           = 0x29
-       AF_KEY                           = 0xf
-       AF_LLC                           = 0x1a
-       AF_LOCAL                         = 0x1
-       AF_MAX                           = 0x2a
-       AF_MPLS                          = 0x1c
-       AF_NETBEUI                       = 0xd
-       AF_NETLINK                       = 0x10
-       AF_NETROM                        = 0x6
-       AF_NFC                           = 0x27
-       AF_PACKET                        = 0x11
-       AF_PHONET                        = 0x23
-       AF_PPPOX                         = 0x18
-       AF_RDS                           = 0x15
-       AF_ROSE                          = 0xb
-       AF_ROUTE                         = 0x10
-       AF_RXRPC                         = 0x21
-       AF_SECURITY                      = 0xe
-       AF_SNA                           = 0x16
-       AF_TIPC                          = 0x1e
-       AF_UNIX                          = 0x1
-       AF_UNSPEC                        = 0x0
-       AF_VSOCK                         = 0x28
-       AF_WANPIPE                       = 0x19
-       AF_X25                           = 0x9
-       ALG_OP_DECRYPT                   = 0x0
-       ALG_OP_ENCRYPT                   = 0x1
-       ALG_SET_AEAD_ASSOCLEN            = 0x4
-       ALG_SET_AEAD_AUTHSIZE            = 0x5
-       ALG_SET_IV                       = 0x2
-       ALG_SET_KEY                      = 0x1
-       ALG_SET_OP                       = 0x3
-       ARPHRD_6LOWPAN                   = 0x339
-       ARPHRD_ADAPT                     = 0x108
-       ARPHRD_APPLETLK                  = 0x8
-       ARPHRD_ARCNET                    = 0x7
-       ARPHRD_ASH                       = 0x30d
-       ARPHRD_ATM                       = 0x13
-       ARPHRD_AX25                      = 0x3
-       ARPHRD_BIF                       = 0x307
-       ARPHRD_CAIF                      = 0x336
-       ARPHRD_CAN                       = 0x118
-       ARPHRD_CHAOS                     = 0x5
-       ARPHRD_CISCO                     = 0x201
-       ARPHRD_CSLIP                     = 0x101
-       ARPHRD_CSLIP6                    = 0x103
-       ARPHRD_DDCMP                     = 0x205
-       ARPHRD_DLCI                      = 0xf
-       ARPHRD_ECONET                    = 0x30e
-       ARPHRD_EETHER                    = 0x2
-       ARPHRD_ETHER                     = 0x1
-       ARPHRD_EUI64                     = 0x1b
-       ARPHRD_FCAL                      = 0x311
-       ARPHRD_FCFABRIC                  = 0x313
-       ARPHRD_FCPL                      = 0x312
-       ARPHRD_FCPP                      = 0x310
-       ARPHRD_FDDI                      = 0x306
-       ARPHRD_FRAD                      = 0x302
-       ARPHRD_HDLC                      = 0x201
-       ARPHRD_HIPPI                     = 0x30c
-       ARPHRD_HWX25                     = 0x110
-       ARPHRD_IEEE1394                  = 0x18
-       ARPHRD_IEEE802                   = 0x6
-       ARPHRD_IEEE80211                 = 0x321
-       ARPHRD_IEEE80211_PRISM           = 0x322
-       ARPHRD_IEEE80211_RADIOTAP        = 0x323
-       ARPHRD_IEEE802154                = 0x324
-       ARPHRD_IEEE802154_MONITOR        = 0x325
-       ARPHRD_IEEE802_TR                = 0x320
-       ARPHRD_INFINIBAND                = 0x20
-       ARPHRD_IP6GRE                    = 0x337
-       ARPHRD_IPDDP                     = 0x309
-       ARPHRD_IPGRE                     = 0x30a
-       ARPHRD_IRDA                      = 0x30f
-       ARPHRD_LAPB                      = 0x204
-       ARPHRD_LOCALTLK                  = 0x305
-       ARPHRD_LOOPBACK                  = 0x304
-       ARPHRD_METRICOM                  = 0x17
-       ARPHRD_NETLINK                   = 0x338
-       ARPHRD_NETROM                    = 0x0
-       ARPHRD_NONE                      = 0xfffe
-       ARPHRD_PHONET                    = 0x334
-       ARPHRD_PHONET_PIPE               = 0x335
-       ARPHRD_PIMREG                    = 0x30b
-       ARPHRD_PPP                       = 0x200
-       ARPHRD_PRONET                    = 0x4
-       ARPHRD_RAWHDLC                   = 0x206
-       ARPHRD_ROSE                      = 0x10e
-       ARPHRD_RSRVD                     = 0x104
-       ARPHRD_SIT                       = 0x308
-       ARPHRD_SKIP                      = 0x303
-       ARPHRD_SLIP                      = 0x100
-       ARPHRD_SLIP6                     = 0x102
-       ARPHRD_TUNNEL                    = 0x300
-       ARPHRD_TUNNEL6                   = 0x301
-       ARPHRD_VOID                      = 0xffff
-       ARPHRD_X25                       = 0x10f
-       ASI_LEON_DFLUSH                  = 0x11
-       ASI_LEON_IFLUSH                  = 0x10
-       ASI_LEON_MMUFLUSH                = 0x18
-       B0                               = 0x0
-       B1000000                         = 0x100c
-       B110                             = 0x3
-       B115200                          = 0x1002
-       B1152000                         = 0x100d
-       B1200                            = 0x9
-       B134                             = 0x4
-       B150                             = 0x5
-       B1500000                         = 0x100e
-       B153600                          = 0x1006
-       B1800                            = 0xa
-       B19200                           = 0xe
-       B200                             = 0x6
-       B2000000                         = 0x100f
-       B230400                          = 0x1003
-       B2400                            = 0xb
-       B300                             = 0x7
-       B307200                          = 0x1007
-       B38400                           = 0xf
-       B460800                          = 0x1004
-       B4800                            = 0xc
-       B50                              = 0x1
-       B500000                          = 0x100a
-       B57600                           = 0x1001
-       B576000                          = 0x100b
-       B600                             = 0x8
-       B614400                          = 0x1008
-       B75                              = 0x2
-       B76800                           = 0x1005
-       B921600                          = 0x1009
-       B9600                            = 0xd
-       BLKBSZGET                        = 0x80081270
-       BLKBSZSET                        = 0x40081271
-       BLKFLSBUF                        = 0x1261
-       BLKFRAGET                        = 0x1265
-       BLKFRASET                        = 0x1264
-       BLKGETSIZE                       = 0x1260
-       BLKGETSIZE64                     = 0x80081272
-       BLKRAGET                         = 0x1263
-       BLKRASET                         = 0x1262
-       BLKROGET                         = 0x125e
-       BLKROSET                         = 0x125d
-       BLKRRPART                        = 0x125f
-       BLKSECTGET                       = 0x1267
-       BLKSECTSET                       = 0x1266
-       BLKSSZGET                        = 0x1268
-       BOTHER                           = 0x1000
-       BPF_A                            = 0x10
-       BPF_ABS                          = 0x20
-       BPF_ADD                          = 0x0
-       BPF_ALU                          = 0x4
-       BPF_AND                          = 0x50
-       BPF_B                            = 0x10
-       BPF_DIV                          = 0x30
-       BPF_H                            = 0x8
-       BPF_IMM                          = 0x0
-       BPF_IND                          = 0x40
-       BPF_JA                           = 0x0
-       BPF_JEQ                          = 0x10
-       BPF_JGE                          = 0x30
-       BPF_JGT                          = 0x20
-       BPF_JMP                          = 0x5
-       BPF_JSET                         = 0x40
-       BPF_K                            = 0x0
-       BPF_LD                           = 0x0
-       BPF_LDX                          = 0x1
-       BPF_LEN                          = 0x80
-       BPF_LL_OFF                       = -0x200000
-       BPF_LSH                          = 0x60
-       BPF_MAJOR_VERSION                = 0x1
-       BPF_MAXINSNS                     = 0x1000
-       BPF_MEM                          = 0x60
-       BPF_MEMWORDS                     = 0x10
-       BPF_MINOR_VERSION                = 0x1
-       BPF_MISC                         = 0x7
-       BPF_MOD                          = 0x90
-       BPF_MSH                          = 0xa0
-       BPF_MUL                          = 0x20
-       BPF_NEG                          = 0x80
-       BPF_NET_OFF                      = -0x100000
-       BPF_OR                           = 0x40
-       BPF_RET                          = 0x6
-       BPF_RSH                          = 0x70
-       BPF_ST                           = 0x2
-       BPF_STX                          = 0x3
-       BPF_SUB                          = 0x10
-       BPF_TAX                          = 0x0
-       BPF_TXA                          = 0x80
-       BPF_W                            = 0x0
-       BPF_X                            = 0x8
-       BPF_XOR                          = 0xa0
-       BRKINT                           = 0x2
-       BS0                              = 0x0
-       BS1                              = 0x2000
-       BSDLY                            = 0x2000
-       CAN_BCM                          = 0x2
-       CAN_EFF_FLAG                     = 0x80000000
-       CAN_EFF_ID_BITS                  = 0x1d
-       CAN_EFF_MASK                     = 0x1fffffff
-       CAN_ERR_FLAG                     = 0x20000000
-       CAN_ERR_MASK                     = 0x1fffffff
-       CAN_INV_FILTER                   = 0x20000000
-       CAN_ISOTP                        = 0x6
-       CAN_MAX_DLC                      = 0x8
-       CAN_MAX_DLEN                     = 0x8
-       CAN_MCNET                        = 0x5
-       CAN_MTU                          = 0x10
-       CAN_NPROTO                       = 0x7
-       CAN_RAW                          = 0x1
-       CAN_RTR_FLAG                     = 0x40000000
-       CAN_SFF_ID_BITS                  = 0xb
-       CAN_SFF_MASK                     = 0x7ff
-       CAN_TP16                         = 0x3
-       CAN_TP20                         = 0x4
-       CBAUD                            = 0x100f
-       CBAUDEX                          = 0x1000
-       CFLUSH                           = 0xf
-       CIBAUD                           = 0x100f0000
-       CLOCAL                           = 0x800
-       CLOCK_BOOTTIME                   = 0x7
-       CLOCK_BOOTTIME_ALARM             = 0x9
-       CLOCK_DEFAULT                    = 0x0
-       CLOCK_EXT                        = 0x1
-       CLOCK_INT                        = 0x2
-       CLOCK_MONOTONIC                  = 0x1
-       CLOCK_MONOTONIC_COARSE           = 0x6
-       CLOCK_MONOTONIC_RAW              = 0x4
-       CLOCK_PROCESS_CPUTIME_ID         = 0x2
-       CLOCK_REALTIME                   = 0x0
-       CLOCK_REALTIME_ALARM             = 0x8
-       CLOCK_REALTIME_COARSE            = 0x5
-       CLOCK_TAI                        = 0xb
-       CLOCK_THREAD_CPUTIME_ID          = 0x3
-       CLOCK_TXFROMRX                   = 0x4
-       CLOCK_TXINT                      = 0x3
-       CLONE_CHILD_CLEARTID             = 0x200000
-       CLONE_CHILD_SETTID               = 0x1000000
-       CLONE_DETACHED                   = 0x400000
-       CLONE_FILES                      = 0x400
-       CLONE_FS                         = 0x200
-       CLONE_IO                         = 0x80000000
-       CLONE_NEWCGROUP                  = 0x2000000
-       CLONE_NEWIPC                     = 0x8000000
-       CLONE_NEWNET                     = 0x40000000
-       CLONE_NEWNS                      = 0x20000
-       CLONE_NEWPID                     = 0x20000000
-       CLONE_NEWUSER                    = 0x10000000
-       CLONE_NEWUTS                     = 0x4000000
-       CLONE_PARENT                     = 0x8000
-       CLONE_PARENT_SETTID              = 0x100000
-       CLONE_PTRACE                     = 0x2000
-       CLONE_SETTLS                     = 0x80000
-       CLONE_SIGHAND                    = 0x800
-       CLONE_SYSVSEM                    = 0x40000
-       CLONE_THREAD                     = 0x10000
-       CLONE_UNTRACED                   = 0x800000
-       CLONE_VFORK                      = 0x4000
-       CLONE_VM                         = 0x100
-       CMSPAR                           = 0x40000000
-       CR0                              = 0x0
-       CR1                              = 0x200
-       CR2                              = 0x400
-       CR3                              = 0x600
-       CRDLY                            = 0x600
-       CREAD                            = 0x80
-       CRTSCTS                          = 0x80000000
-       CS5                              = 0x0
-       CS6                              = 0x10
-       CS7                              = 0x20
-       CS8                              = 0x30
-       CSIGNAL                          = 0xff
-       CSIZE                            = 0x30
-       CSTART                           = 0x11
-       CSTATUS                          = 0x0
-       CSTOP                            = 0x13
-       CSTOPB                           = 0x40
-       CSUSP                            = 0x1a
-       DT_BLK                           = 0x6
-       DT_CHR                           = 0x2
-       DT_DIR                           = 0x4
-       DT_FIFO                          = 0x1
-       DT_LNK                           = 0xa
-       DT_REG                           = 0x8
-       DT_SOCK                          = 0xc
-       DT_UNKNOWN                       = 0x0
-       DT_WHT                           = 0xe
-       ECHO                             = 0x8
-       ECHOCTL                          = 0x200
-       ECHOE                            = 0x10
-       ECHOK                            = 0x20
-       ECHOKE                           = 0x800
-       ECHONL                           = 0x40
-       ECHOPRT                          = 0x400
-       EMT_TAGOVF                       = 0x1
-       ENCODING_DEFAULT                 = 0x0
-       ENCODING_FM_MARK                 = 0x3
-       ENCODING_FM_SPACE                = 0x4
-       ENCODING_MANCHESTER              = 0x5
-       ENCODING_NRZ                     = 0x1
-       ENCODING_NRZI                    = 0x2
-       EPOLLERR                         = 0x8
-       EPOLLET                          = 0x80000000
-       EPOLLEXCLUSIVE                   = 0x10000000
-       EPOLLHUP                         = 0x10
-       EPOLLIN                          = 0x1
-       EPOLLMSG                         = 0x400
-       EPOLLONESHOT                     = 0x40000000
-       EPOLLOUT                         = 0x4
-       EPOLLPRI                         = 0x2
-       EPOLLRDBAND                      = 0x80
-       EPOLLRDHUP                       = 0x2000
-       EPOLLRDNORM                      = 0x40
-       EPOLLWAKEUP                      = 0x20000000
-       EPOLLWRBAND                      = 0x200
-       EPOLLWRNORM                      = 0x100
-       EPOLL_CLOEXEC                    = 0x400000
-       EPOLL_CTL_ADD                    = 0x1
-       EPOLL_CTL_DEL                    = 0x2
-       EPOLL_CTL_MOD                    = 0x3
-       ETH_P_1588                       = 0x88f7
-       ETH_P_8021AD                     = 0x88a8
-       ETH_P_8021AH                     = 0x88e7
-       ETH_P_8021Q                      = 0x8100
-       ETH_P_80221                      = 0x8917
-       ETH_P_802_2                      = 0x4
-       ETH_P_802_3                      = 0x1
-       ETH_P_802_3_MIN                  = 0x600
-       ETH_P_802_EX1                    = 0x88b5
-       ETH_P_AARP                       = 0x80f3
-       ETH_P_AF_IUCV                    = 0xfbfb
-       ETH_P_ALL                        = 0x3
-       ETH_P_AOE                        = 0x88a2
-       ETH_P_ARCNET                     = 0x1a
-       ETH_P_ARP                        = 0x806
-       ETH_P_ATALK                      = 0x809b
-       ETH_P_ATMFATE                    = 0x8884
-       ETH_P_ATMMPOA                    = 0x884c
-       ETH_P_AX25                       = 0x2
-       ETH_P_BATMAN                     = 0x4305
-       ETH_P_BPQ                        = 0x8ff
-       ETH_P_CAIF                       = 0xf7
-       ETH_P_CAN                        = 0xc
-       ETH_P_CANFD                      = 0xd
-       ETH_P_CONTROL                    = 0x16
-       ETH_P_CUST                       = 0x6006
-       ETH_P_DDCMP                      = 0x6
-       ETH_P_DEC                        = 0x6000
-       ETH_P_DIAG                       = 0x6005
-       ETH_P_DNA_DL                     = 0x6001
-       ETH_P_DNA_RC                     = 0x6002
-       ETH_P_DNA_RT                     = 0x6003
-       ETH_P_DSA                        = 0x1b
-       ETH_P_ECONET                     = 0x18
-       ETH_P_EDSA                       = 0xdada
-       ETH_P_FCOE                       = 0x8906
-       ETH_P_FIP                        = 0x8914
-       ETH_P_HDLC                       = 0x19
-       ETH_P_HSR                        = 0x892f
-       ETH_P_IEEE802154                 = 0xf6
-       ETH_P_IEEEPUP                    = 0xa00
-       ETH_P_IEEEPUPAT                  = 0xa01
-       ETH_P_IP                         = 0x800
-       ETH_P_IPV6                       = 0x86dd
-       ETH_P_IPX                        = 0x8137
-       ETH_P_IRDA                       = 0x17
-       ETH_P_LAT                        = 0x6004
-       ETH_P_LINK_CTL                   = 0x886c
-       ETH_P_LOCALTALK                  = 0x9
-       ETH_P_LOOP                       = 0x60
-       ETH_P_LOOPBACK                   = 0x9000
-       ETH_P_MACSEC                     = 0x88e5
-       ETH_P_MOBITEX                    = 0x15
-       ETH_P_MPLS_MC                    = 0x8848
-       ETH_P_MPLS_UC                    = 0x8847
-       ETH_P_MVRP                       = 0x88f5
-       ETH_P_PAE                        = 0x888e
-       ETH_P_PAUSE                      = 0x8808
-       ETH_P_PHONET                     = 0xf5
-       ETH_P_PPPTALK                    = 0x10
-       ETH_P_PPP_DISC                   = 0x8863
-       ETH_P_PPP_MP                     = 0x8
-       ETH_P_PPP_SES                    = 0x8864
-       ETH_P_PRP                        = 0x88fb
-       ETH_P_PUP                        = 0x200
-       ETH_P_PUPAT                      = 0x201
-       ETH_P_QINQ1                      = 0x9100
-       ETH_P_QINQ2                      = 0x9200
-       ETH_P_QINQ3                      = 0x9300
-       ETH_P_RARP                       = 0x8035
-       ETH_P_SCA                        = 0x6007
-       ETH_P_SLOW                       = 0x8809
-       ETH_P_SNAP                       = 0x5
-       ETH_P_TDLS                       = 0x890d
-       ETH_P_TEB                        = 0x6558
-       ETH_P_TIPC                       = 0x88ca
-       ETH_P_TRAILER                    = 0x1c
-       ETH_P_TR_802_2                   = 0x11
-       ETH_P_TSN                        = 0x22f0
-       ETH_P_WAN_PPP                    = 0x7
-       ETH_P_WCCP                       = 0x883e
-       ETH_P_X25                        = 0x805
-       ETH_P_XDSA                       = 0xf8
-       EXTA                             = 0xe
-       EXTB                             = 0xf
-       EXTPROC                          = 0x10000
-       FALLOC_FL_COLLAPSE_RANGE         = 0x8
-       FALLOC_FL_INSERT_RANGE           = 0x20
-       FALLOC_FL_KEEP_SIZE              = 0x1
-       FALLOC_FL_NO_HIDE_STALE          = 0x4
-       FALLOC_FL_PUNCH_HOLE             = 0x2
-       FALLOC_FL_ZERO_RANGE             = 0x10
-       FD_CLOEXEC                       = 0x1
-       FD_SETSIZE                       = 0x400
-       FF0                              = 0x0
-       FF1                              = 0x8000
-       FFDLY                            = 0x8000
-       FLUSHO                           = 0x2000
-       F_DUPFD                          = 0x0
-       F_DUPFD_CLOEXEC                  = 0x406
-       F_EXLCK                          = 0x4
-       F_GETFD                          = 0x1
-       F_GETFL                          = 0x3
-       F_GETLEASE                       = 0x401
-       F_GETLK                          = 0x7
-       F_GETLK64                        = 0x7
-       F_GETOWN                         = 0x5
-       F_GETOWN_EX                      = 0x10
-       F_GETPIPE_SZ                     = 0x408
-       F_GETSIG                         = 0xb
-       F_LOCK                           = 0x1
-       F_NOTIFY                         = 0x402
-       F_OFD_GETLK                      = 0x24
-       F_OFD_SETLK                      = 0x25
-       F_OFD_SETLKW                     = 0x26
-       F_OK                             = 0x0
-       F_RDLCK                          = 0x1
-       F_SETFD                          = 0x2
-       F_SETFL                          = 0x4
-       F_SETLEASE                       = 0x400
-       F_SETLK                          = 0x8
-       F_SETLK64                        = 0x8
-       F_SETLKW                         = 0x9
-       F_SETLKW64                       = 0x9
-       F_SETOWN                         = 0x6
-       F_SETOWN_EX                      = 0xf
-       F_SETPIPE_SZ                     = 0x407
-       F_SETSIG                         = 0xa
-       F_SHLCK                          = 0x8
-       F_TEST                           = 0x3
-       F_TLOCK                          = 0x2
-       F_ULOCK                          = 0x0
-       F_UNLCK                          = 0x3
-       F_WRLCK                          = 0x2
-       GRND_NONBLOCK                    = 0x1
-       GRND_RANDOM                      = 0x2
-       HUPCL                            = 0x400
-       IBSHIFT                          = 0x10
-       ICANON                           = 0x2
-       ICMPV6_FILTER                    = 0x1
-       ICRNL                            = 0x100
-       IEXTEN                           = 0x8000
-       IFA_F_DADFAILED                  = 0x8
-       IFA_F_DEPRECATED                 = 0x20
-       IFA_F_HOMEADDRESS                = 0x10
-       IFA_F_MANAGETEMPADDR             = 0x100
-       IFA_F_MCAUTOJOIN                 = 0x400
-       IFA_F_NODAD                      = 0x2
-       IFA_F_NOPREFIXROUTE              = 0x200
-       IFA_F_OPTIMISTIC                 = 0x4
-       IFA_F_PERMANENT                  = 0x80
-       IFA_F_SECONDARY                  = 0x1
-       IFA_F_STABLE_PRIVACY             = 0x800
-       IFA_F_TEMPORARY                  = 0x1
-       IFA_F_TENTATIVE                  = 0x40
-       IFA_MAX                          = 0x8
-       IFF_ALLMULTI                     = 0x200
-       IFF_ATTACH_QUEUE                 = 0x200
-       IFF_AUTOMEDIA                    = 0x4000
-       IFF_BROADCAST                    = 0x2
-       IFF_DEBUG                        = 0x4
-       IFF_DETACH_QUEUE                 = 0x400
-       IFF_DORMANT                      = 0x20000
-       IFF_DYNAMIC                      = 0x8000
-       IFF_ECHO                         = 0x40000
-       IFF_LOOPBACK                     = 0x8
-       IFF_LOWER_UP                     = 0x10000
-       IFF_MASTER                       = 0x400
-       IFF_MULTICAST                    = 0x1000
-       IFF_MULTI_QUEUE                  = 0x100
-       IFF_NOARP                        = 0x80
-       IFF_NOFILTER                     = 0x1000
-       IFF_NOTRAILERS                   = 0x20
-       IFF_NO_PI                        = 0x1000
-       IFF_ONE_QUEUE                    = 0x2000
-       IFF_PERSIST                      = 0x800
-       IFF_POINTOPOINT                  = 0x10
-       IFF_PORTSEL                      = 0x2000
-       IFF_PROMISC                      = 0x100
-       IFF_RUNNING                      = 0x40
-       IFF_SLAVE                        = 0x800
-       IFF_TAP                          = 0x2
-       IFF_TUN                          = 0x1
-       IFF_TUN_EXCL                     = 0x8000
-       IFF_UP                           = 0x1
-       IFF_VNET_HDR                     = 0x4000
-       IFF_VOLATILE                     = 0x70c5a
-       IFNAMSIZ                         = 0x10
-       IGNBRK                           = 0x1
-       IGNCR                            = 0x80
-       IGNPAR                           = 0x4
-       IMAXBEL                          = 0x2000
-       INLCR                            = 0x40
-       INPCK                            = 0x10
-       IN_ACCESS                        = 0x1
-       IN_ALL_EVENTS                    = 0xfff
-       IN_ATTRIB                        = 0x4
-       IN_CLASSA_HOST                   = 0xffffff
-       IN_CLASSA_MAX                    = 0x80
-       IN_CLASSA_NET                    = 0xff000000
-       IN_CLASSA_NSHIFT                 = 0x18
-       IN_CLASSB_HOST                   = 0xffff
-       IN_CLASSB_MAX                    = 0x10000
-       IN_CLASSB_NET                    = 0xffff0000
-       IN_CLASSB_NSHIFT                 = 0x10
-       IN_CLASSC_HOST                   = 0xff
-       IN_CLASSC_NET                    = 0xffffff00
-       IN_CLASSC_NSHIFT                 = 0x8
-       IN_CLOEXEC                       = 0x400000
-       IN_CLOSE                         = 0x18
-       IN_CLOSE_NOWRITE                 = 0x10
-       IN_CLOSE_WRITE                   = 0x8
-       IN_CREATE                        = 0x100
-       IN_DELETE                        = 0x200
-       IN_DELETE_SELF                   = 0x400
-       IN_DONT_FOLLOW                   = 0x2000000
-       IN_EXCL_UNLINK                   = 0x4000000
-       IN_IGNORED                       = 0x8000
-       IN_ISDIR                         = 0x40000000
-       IN_LOOPBACKNET                   = 0x7f
-       IN_MASK_ADD                      = 0x20000000
-       IN_MODIFY                        = 0x2
-       IN_MOVE                          = 0xc0
-       IN_MOVED_FROM                    = 0x40
-       IN_MOVED_TO                      = 0x80
-       IN_MOVE_SELF                     = 0x800
-       IN_NONBLOCK                      = 0x4000
-       IN_ONESHOT                       = 0x80000000
-       IN_ONLYDIR                       = 0x1000000
-       IN_OPEN                          = 0x20
-       IN_Q_OVERFLOW                    = 0x4000
-       IN_UNMOUNT                       = 0x2000
-       IPPROTO_AH                       = 0x33
-       IPPROTO_BEETPH                   = 0x5e
-       IPPROTO_COMP                     = 0x6c
-       IPPROTO_DCCP                     = 0x21
-       IPPROTO_DSTOPTS                  = 0x3c
-       IPPROTO_EGP                      = 0x8
-       IPPROTO_ENCAP                    = 0x62
-       IPPROTO_ESP                      = 0x32
-       IPPROTO_FRAGMENT                 = 0x2c
-       IPPROTO_GRE                      = 0x2f
-       IPPROTO_HOPOPTS                  = 0x0
-       IPPROTO_ICMP                     = 0x1
-       IPPROTO_ICMPV6                   = 0x3a
-       IPPROTO_IDP                      = 0x16
-       IPPROTO_IGMP                     = 0x2
-       IPPROTO_IP                       = 0x0
-       IPPROTO_IPIP                     = 0x4
-       IPPROTO_IPV6                     = 0x29
-       IPPROTO_MH                       = 0x87
-       IPPROTO_MPLS                     = 0x89
-       IPPROTO_MTP                      = 0x5c
-       IPPROTO_NONE                     = 0x3b
-       IPPROTO_PIM                      = 0x67
-       IPPROTO_PUP                      = 0xc
-       IPPROTO_RAW                      = 0xff
-       IPPROTO_ROUTING                  = 0x2b
-       IPPROTO_RSVP                     = 0x2e
-       IPPROTO_SCTP                     = 0x84
-       IPPROTO_TCP                      = 0x6
-       IPPROTO_TP                       = 0x1d
-       IPPROTO_UDP                      = 0x11
-       IPPROTO_UDPLITE                  = 0x88
-       IPV6_2292DSTOPTS                 = 0x4
-       IPV6_2292HOPLIMIT                = 0x8
-       IPV6_2292HOPOPTS                 = 0x3
-       IPV6_2292PKTINFO                 = 0x2
-       IPV6_2292PKTOPTIONS              = 0x6
-       IPV6_2292RTHDR                   = 0x5
-       IPV6_ADDRFORM                    = 0x1
-       IPV6_ADD_MEMBERSHIP              = 0x14
-       IPV6_AUTHHDR                     = 0xa
-       IPV6_CHECKSUM                    = 0x7
-       IPV6_DONTFRAG                    = 0x3e
-       IPV6_DROP_MEMBERSHIP             = 0x15
-       IPV6_DSTOPTS                     = 0x3b
-       IPV6_HDRINCL                     = 0x24
-       IPV6_HOPLIMIT                    = 0x34
-       IPV6_HOPOPTS                     = 0x36
-       IPV6_IPSEC_POLICY                = 0x22
-       IPV6_JOIN_ANYCAST                = 0x1b
-       IPV6_JOIN_GROUP                  = 0x14
-       IPV6_LEAVE_ANYCAST               = 0x1c
-       IPV6_LEAVE_GROUP                 = 0x15
-       IPV6_MTU                         = 0x18
-       IPV6_MTU_DISCOVER                = 0x17
-       IPV6_MULTICAST_HOPS              = 0x12
-       IPV6_MULTICAST_IF                = 0x11
-       IPV6_MULTICAST_LOOP              = 0x13
-       IPV6_NEXTHOP                     = 0x9
-       IPV6_PATHMTU                     = 0x3d
-       IPV6_PKTINFO                     = 0x32
-       IPV6_PMTUDISC_DO                 = 0x2
-       IPV6_PMTUDISC_DONT               = 0x0
-       IPV6_PMTUDISC_INTERFACE          = 0x4
-       IPV6_PMTUDISC_OMIT               = 0x5
-       IPV6_PMTUDISC_PROBE              = 0x3
-       IPV6_PMTUDISC_WANT               = 0x1
-       IPV6_RECVDSTOPTS                 = 0x3a
-       IPV6_RECVERR                     = 0x19
-       IPV6_RECVHOPLIMIT                = 0x33
-       IPV6_RECVHOPOPTS                 = 0x35
-       IPV6_RECVPATHMTU                 = 0x3c
-       IPV6_RECVPKTINFO                 = 0x31
-       IPV6_RECVRTHDR                   = 0x38
-       IPV6_RECVTCLASS                  = 0x42
-       IPV6_ROUTER_ALERT                = 0x16
-       IPV6_RTHDR                       = 0x39
-       IPV6_RTHDRDSTOPTS                = 0x37
-       IPV6_RTHDR_LOOSE                 = 0x0
-       IPV6_RTHDR_STRICT                = 0x1
-       IPV6_RTHDR_TYPE_0                = 0x0
-       IPV6_RXDSTOPTS                   = 0x3b
-       IPV6_RXHOPOPTS                   = 0x36
-       IPV6_TCLASS                      = 0x43
-       IPV6_UNICAST_HOPS                = 0x10
-       IPV6_V6ONLY                      = 0x1a
-       IPV6_XFRM_POLICY                 = 0x23
-       IP_ADD_MEMBERSHIP                = 0x23
-       IP_ADD_SOURCE_MEMBERSHIP         = 0x27
-       IP_BIND_ADDRESS_NO_PORT          = 0x18
-       IP_BLOCK_SOURCE                  = 0x26
-       IP_CHECKSUM                      = 0x17
-       IP_DEFAULT_MULTICAST_LOOP        = 0x1
-       IP_DEFAULT_MULTICAST_TTL         = 0x1
-       IP_DF                            = 0x4000
-       IP_DROP_MEMBERSHIP               = 0x24
-       IP_DROP_SOURCE_MEMBERSHIP        = 0x28
-       IP_FREEBIND                      = 0xf
-       IP_HDRINCL                       = 0x3
-       IP_IPSEC_POLICY                  = 0x10
-       IP_MAXPACKET                     = 0xffff
-       IP_MAX_MEMBERSHIPS               = 0x14
-       IP_MF                            = 0x2000
-       IP_MINTTL                        = 0x15
-       IP_MSFILTER                      = 0x29
-       IP_MSS                           = 0x240
-       IP_MTU                           = 0xe
-       IP_MTU_DISCOVER                  = 0xa
-       IP_MULTICAST_ALL                 = 0x31
-       IP_MULTICAST_IF                  = 0x20
-       IP_MULTICAST_LOOP                = 0x22
-       IP_MULTICAST_TTL                 = 0x21
-       IP_NODEFRAG                      = 0x16
-       IP_OFFMASK                       = 0x1fff
-       IP_OPTIONS                       = 0x4
-       IP_ORIGDSTADDR                   = 0x14
-       IP_PASSSEC                       = 0x12
-       IP_PKTINFO                       = 0x8
-       IP_PKTOPTIONS                    = 0x9
-       IP_PMTUDISC                      = 0xa
-       IP_PMTUDISC_DO                   = 0x2
-       IP_PMTUDISC_DONT                 = 0x0
-       IP_PMTUDISC_INTERFACE            = 0x4
-       IP_PMTUDISC_OMIT                 = 0x5
-       IP_PMTUDISC_PROBE                = 0x3
-       IP_PMTUDISC_WANT                 = 0x1
-       IP_RECVERR                       = 0xb
-       IP_RECVOPTS                      = 0x6
-       IP_RECVORIGDSTADDR               = 0x14
-       IP_RECVRETOPTS                   = 0x7
-       IP_RECVTOS                       = 0xd
-       IP_RECVTTL                       = 0xc
-       IP_RETOPTS                       = 0x7
-       IP_RF                            = 0x8000
-       IP_ROUTER_ALERT                  = 0x5
-       IP_TOS                           = 0x1
-       IP_TRANSPARENT                   = 0x13
-       IP_TTL                           = 0x2
-       IP_UNBLOCK_SOURCE                = 0x25
-       IP_UNICAST_IF                    = 0x32
-       IP_XFRM_POLICY                   = 0x11
-       ISIG                             = 0x1
-       ISTRIP                           = 0x20
-       IUCLC                            = 0x200
-       IUTF8                            = 0x4000
-       IXANY                            = 0x800
-       IXOFF                            = 0x1000
-       IXON                             = 0x400
-       LINUX_REBOOT_CMD_CAD_OFF         = 0x0
-       LINUX_REBOOT_CMD_CAD_ON          = 0x89abcdef
-       LINUX_REBOOT_CMD_HALT            = 0xcdef0123
-       LINUX_REBOOT_CMD_KEXEC           = 0x45584543
-       LINUX_REBOOT_CMD_POWER_OFF       = 0x4321fedc
-       LINUX_REBOOT_CMD_RESTART         = 0x1234567
-       LINUX_REBOOT_CMD_RESTART2        = 0xa1b2c3d4
-       LINUX_REBOOT_CMD_SW_SUSPEND      = 0xd000fce2
-       LINUX_REBOOT_MAGIC1              = 0xfee1dead
-       LINUX_REBOOT_MAGIC2              = 0x28121969
-       LOCK_EX                          = 0x2
-       LOCK_NB                          = 0x4
-       LOCK_SH                          = 0x1
-       LOCK_UN                          = 0x8
-       MADV_DODUMP                      = 0x11
-       MADV_DOFORK                      = 0xb
-       MADV_DONTDUMP                    = 0x10
-       MADV_DONTFORK                    = 0xa
-       MADV_DONTNEED                    = 0x4
-       MADV_FREE                        = 0x8
-       MADV_HUGEPAGE                    = 0xe
-       MADV_HWPOISON                    = 0x64
-       MADV_MERGEABLE                   = 0xc
-       MADV_NOHUGEPAGE                  = 0xf
-       MADV_NORMAL                      = 0x0
-       MADV_RANDOM                      = 0x1
-       MADV_REMOVE                      = 0x9
-       MADV_SEQUENTIAL                  = 0x2
-       MADV_UNMERGEABLE                 = 0xd
-       MADV_WILLNEED                    = 0x3
-       MAP_ANON                         = 0x20
-       MAP_ANONYMOUS                    = 0x20
-       MAP_DENYWRITE                    = 0x800
-       MAP_EXECUTABLE                   = 0x1000
-       MAP_FILE                         = 0x0
-       MAP_FIXED                        = 0x10
-       MAP_GROWSDOWN                    = 0x200
-       MAP_HUGETLB                      = 0x40000
-       MAP_HUGE_MASK                    = 0x3f
-       MAP_HUGE_SHIFT                   = 0x1a
-       MAP_LOCKED                       = 0x100
-       MAP_NONBLOCK                     = 0x10000
-       MAP_NORESERVE                    = 0x40
-       MAP_POPULATE                     = 0x8000
-       MAP_PRIVATE                      = 0x2
-       MAP_RENAME                       = 0x20
-       MAP_SHARED                       = 0x1
-       MAP_STACK                        = 0x20000
-       MAP_TYPE                         = 0xf
-       MCL_CURRENT                      = 0x2000
-       MCL_FUTURE                       = 0x4000
-       MCL_ONFAULT                      = 0x8000
-       MNT_DETACH                       = 0x2
-       MNT_EXPIRE                       = 0x4
-       MNT_FORCE                        = 0x1
-       MSG_BATCH                        = 0x40000
-       MSG_CMSG_CLOEXEC                 = 0x40000000
-       MSG_CONFIRM                      = 0x800
-       MSG_CTRUNC                       = 0x8
-       MSG_DONTROUTE                    = 0x4
-       MSG_DONTWAIT                     = 0x40
-       MSG_EOR                          = 0x80
-       MSG_ERRQUEUE                     = 0x2000
-       MSG_FASTOPEN                     = 0x20000000
-       MSG_FIN                          = 0x200
-       MSG_MORE                         = 0x8000
-       MSG_NOSIGNAL                     = 0x4000
-       MSG_OOB                          = 0x1
-       MSG_PEEK                         = 0x2
-       MSG_PROXY                        = 0x10
-       MSG_RST                          = 0x1000
-       MSG_SYN                          = 0x400
-       MSG_TRUNC                        = 0x20
-       MSG_TRYHARD                      = 0x4
-       MSG_WAITALL                      = 0x100
-       MSG_WAITFORONE                   = 0x10000
-       MS_ACTIVE                        = 0x40000000
-       MS_ASYNC                         = 0x1
-       MS_BIND                          = 0x1000
-       MS_DIRSYNC                       = 0x80
-       MS_INVALIDATE                    = 0x2
-       MS_I_VERSION                     = 0x800000
-       MS_KERNMOUNT                     = 0x400000
-       MS_LAZYTIME                      = 0x2000000
-       MS_MANDLOCK                      = 0x40
-       MS_MGC_MSK                       = 0xffff0000
-       MS_MGC_VAL                       = 0xc0ed0000
-       MS_MOVE                          = 0x2000
-       MS_NOATIME                       = 0x400
-       MS_NODEV                         = 0x4
-       MS_NODIRATIME                    = 0x800
-       MS_NOEXEC                        = 0x8
-       MS_NOSUID                        = 0x2
-       MS_NOUSER                        = -0x80000000
-       MS_POSIXACL                      = 0x10000
-       MS_PRIVATE                       = 0x40000
-       MS_RDONLY                        = 0x1
-       MS_REC                           = 0x4000
-       MS_RELATIME                      = 0x200000
-       MS_REMOUNT                       = 0x20
-       MS_RMT_MASK                      = 0x2800051
-       MS_SHARED                        = 0x100000
-       MS_SILENT                        = 0x8000
-       MS_SLAVE                         = 0x80000
-       MS_STRICTATIME                   = 0x1000000
-       MS_SYNC                          = 0x4
-       MS_SYNCHRONOUS                   = 0x10
-       MS_UNBINDABLE                    = 0x20000
-       NAME_MAX                         = 0xff
-       NETLINK_ADD_MEMBERSHIP           = 0x1
-       NETLINK_AUDIT                    = 0x9
-       NETLINK_BROADCAST_ERROR          = 0x4
-       NETLINK_CAP_ACK                  = 0xa
-       NETLINK_CONNECTOR                = 0xb
-       NETLINK_CRYPTO                   = 0x15
-       NETLINK_DNRTMSG                  = 0xe
-       NETLINK_DROP_MEMBERSHIP          = 0x2
-       NETLINK_ECRYPTFS                 = 0x13
-       NETLINK_FIB_LOOKUP               = 0xa
-       NETLINK_FIREWALL                 = 0x3
-       NETLINK_GENERIC                  = 0x10
-       NETLINK_INET_DIAG                = 0x4
-       NETLINK_IP6_FW                   = 0xd
-       NETLINK_ISCSI                    = 0x8
-       NETLINK_KOBJECT_UEVENT           = 0xf
-       NETLINK_LISTEN_ALL_NSID          = 0x8
-       NETLINK_LIST_MEMBERSHIPS         = 0x9
-       NETLINK_NETFILTER                = 0xc
-       NETLINK_NFLOG                    = 0x5
-       NETLINK_NO_ENOBUFS               = 0x5
-       NETLINK_PKTINFO                  = 0x3
-       NETLINK_RDMA                     = 0x14
-       NETLINK_ROUTE                    = 0x0
-       NETLINK_RX_RING                  = 0x6
-       NETLINK_SCSITRANSPORT            = 0x12
-       NETLINK_SELINUX                  = 0x7
-       NETLINK_SOCK_DIAG                = 0x4
-       NETLINK_TX_RING                  = 0x7
-       NETLINK_UNUSED                   = 0x1
-       NETLINK_USERSOCK                 = 0x2
-       NETLINK_XFRM                     = 0x6
-       NL0                              = 0x0
-       NL1                              = 0x100
-       NLA_ALIGNTO                      = 0x4
-       NLA_F_NESTED                     = 0x8000
-       NLA_F_NET_BYTEORDER              = 0x4000
-       NLA_HDRLEN                       = 0x4
-       NLDLY                            = 0x100
-       NLMSG_ALIGNTO                    = 0x4
-       NLMSG_DONE                       = 0x3
-       NLMSG_ERROR                      = 0x2
-       NLMSG_HDRLEN                     = 0x10
-       NLMSG_MIN_TYPE                   = 0x10
-       NLMSG_NOOP                       = 0x1
-       NLMSG_OVERRUN                    = 0x4
-       NLM_F_ACK                        = 0x4
-       NLM_F_APPEND                     = 0x800
-       NLM_F_ATOMIC                     = 0x400
-       NLM_F_CREATE                     = 0x400
-       NLM_F_DUMP                       = 0x300
-       NLM_F_DUMP_FILTERED              = 0x20
-       NLM_F_DUMP_INTR                  = 0x10
-       NLM_F_ECHO                       = 0x8
-       NLM_F_EXCL                       = 0x200
-       NLM_F_MATCH                      = 0x200
-       NLM_F_MULTI                      = 0x2
-       NLM_F_REPLACE                    = 0x100
-       NLM_F_REQUEST                    = 0x1
-       NLM_F_ROOT                       = 0x100
-       NOFLSH                           = 0x80
-       OCRNL                            = 0x8
-       OFDEL                            = 0x80
-       OFILL                            = 0x40
-       OLCUC                            = 0x2
-       ONLCR                            = 0x4
-       ONLRET                           = 0x20
-       ONOCR                            = 0x10
-       OPOST                            = 0x1
-       O_ACCMODE                        = 0x3
-       O_APPEND                         = 0x8
-       O_ASYNC                          = 0x40
-       O_CLOEXEC                        = 0x400000
-       O_CREAT                          = 0x200
-       O_DIRECT                         = 0x100000
-       O_DIRECTORY                      = 0x10000
-       O_DSYNC                          = 0x2000
-       O_EXCL                           = 0x800
-       O_FSYNC                          = 0x802000
-       O_LARGEFILE                      = 0x0
-       O_NDELAY                         = 0x4004
-       O_NOATIME                        = 0x200000
-       O_NOCTTY                         = 0x8000
-       O_NOFOLLOW                       = 0x20000
-       O_NONBLOCK                       = 0x4000
-       O_PATH                           = 0x1000000
-       O_RDONLY                         = 0x0
-       O_RDWR                           = 0x2
-       O_RSYNC                          = 0x802000
-       O_SYNC                           = 0x802000
-       O_TMPFILE                        = 0x2010000
-       O_TRUNC                          = 0x400
-       O_WRONLY                         = 0x1
-       PACKET_ADD_MEMBERSHIP            = 0x1
-       PACKET_AUXDATA                   = 0x8
-       PACKET_BROADCAST                 = 0x1
-       PACKET_COPY_THRESH               = 0x7
-       PACKET_DROP_MEMBERSHIP           = 0x2
-       PACKET_FANOUT                    = 0x12
-       PACKET_FANOUT_CBPF               = 0x6
-       PACKET_FANOUT_CPU                = 0x2
-       PACKET_FANOUT_DATA               = 0x16
-       PACKET_FANOUT_EBPF               = 0x7
-       PACKET_FANOUT_FLAG_DEFRAG        = 0x8000
-       PACKET_FANOUT_FLAG_ROLLOVER      = 0x1000
-       PACKET_FANOUT_HASH               = 0x0
-       PACKET_FANOUT_LB                 = 0x1
-       PACKET_FANOUT_QM                 = 0x5
-       PACKET_FANOUT_RND                = 0x4
-       PACKET_FANOUT_ROLLOVER           = 0x3
-       PACKET_FASTROUTE                 = 0x6
-       PACKET_HDRLEN                    = 0xb
-       PACKET_HOST                      = 0x0
-       PACKET_KERNEL                    = 0x7
-       PACKET_LOOPBACK                  = 0x5
-       PACKET_LOSS                      = 0xe
-       PACKET_MR_ALLMULTI               = 0x2
-       PACKET_MR_MULTICAST              = 0x0
-       PACKET_MR_PROMISC                = 0x1
-       PACKET_MR_UNICAST                = 0x3
-       PACKET_MULTICAST                 = 0x2
-       PACKET_ORIGDEV                   = 0x9
-       PACKET_OTHERHOST                 = 0x3
-       PACKET_OUTGOING                  = 0x4
-       PACKET_QDISC_BYPASS              = 0x14
-       PACKET_RECV_OUTPUT               = 0x3
-       PACKET_RESERVE                   = 0xc
-       PACKET_ROLLOVER_STATS            = 0x15
-       PACKET_RX_RING                   = 0x5
-       PACKET_STATISTICS                = 0x6
-       PACKET_TIMESTAMP                 = 0x11
-       PACKET_TX_HAS_OFF                = 0x13
-       PACKET_TX_RING                   = 0xd
-       PACKET_TX_TIMESTAMP              = 0x10
-       PACKET_USER                      = 0x6
-       PACKET_VERSION                   = 0xa
-       PACKET_VNET_HDR                  = 0xf
-       PARENB                           = 0x100
-       PARITY_CRC16_PR0                 = 0x2
-       PARITY_CRC16_PR0_CCITT           = 0x4
-       PARITY_CRC16_PR1                 = 0x3
-       PARITY_CRC16_PR1_CCITT           = 0x5
-       PARITY_CRC32_PR0_CCITT           = 0x6
-       PARITY_CRC32_PR1_CCITT           = 0x7
-       PARITY_DEFAULT                   = 0x0
-       PARITY_NONE                      = 0x1
-       PARMRK                           = 0x8
-       PARODD                           = 0x200
-       PENDIN                           = 0x4000
-       PRIO_PGRP                        = 0x1
-       PRIO_PROCESS                     = 0x0
-       PRIO_USER                        = 0x2
-       PROT_EXEC                        = 0x4
-       PROT_GROWSDOWN                   = 0x1000000
-       PROT_GROWSUP                     = 0x2000000
-       PROT_NONE                        = 0x0
-       PROT_READ                        = 0x1
-       PROT_WRITE                       = 0x2
-       PR_CAPBSET_DROP                  = 0x18
-       PR_CAPBSET_READ                  = 0x17
-       PR_CAP_AMBIENT                   = 0x2f
-       PR_CAP_AMBIENT_CLEAR_ALL         = 0x4
-       PR_CAP_AMBIENT_IS_SET            = 0x1
-       PR_CAP_AMBIENT_LOWER             = 0x3
-       PR_CAP_AMBIENT_RAISE             = 0x2
-       PR_ENDIAN_BIG                    = 0x0
-       PR_ENDIAN_LITTLE                 = 0x1
-       PR_ENDIAN_PPC_LITTLE             = 0x2
-       PR_FPEMU_NOPRINT                 = 0x1
-       PR_FPEMU_SIGFPE                  = 0x2
-       PR_FP_EXC_ASYNC                  = 0x2
-       PR_FP_EXC_DISABLED               = 0x0
-       PR_FP_EXC_DIV                    = 0x10000
-       PR_FP_EXC_INV                    = 0x100000
-       PR_FP_EXC_NONRECOV               = 0x1
-       PR_FP_EXC_OVF                    = 0x20000
-       PR_FP_EXC_PRECISE                = 0x3
-       PR_FP_EXC_RES                    = 0x80000
-       PR_FP_EXC_SW_ENABLE              = 0x80
-       PR_FP_EXC_UND                    = 0x40000
-       PR_FP_MODE_FR                    = 0x1
-       PR_FP_MODE_FRE                   = 0x2
-       PR_GET_CHILD_SUBREAPER           = 0x25
-       PR_GET_DUMPABLE                  = 0x3
-       PR_GET_ENDIAN                    = 0x13
-       PR_GET_FPEMU                     = 0x9
-       PR_GET_FPEXC                     = 0xb
-       PR_GET_FP_MODE                   = 0x2e
-       PR_GET_KEEPCAPS                  = 0x7
-       PR_GET_NAME                      = 0x10
-       PR_GET_NO_NEW_PRIVS              = 0x27
-       PR_GET_PDEATHSIG                 = 0x2
-       PR_GET_SECCOMP                   = 0x15
-       PR_GET_SECUREBITS                = 0x1b
-       PR_GET_THP_DISABLE               = 0x2a
-       PR_GET_TID_ADDRESS               = 0x28
-       PR_GET_TIMERSLACK                = 0x1e
-       PR_GET_TIMING                    = 0xd
-       PR_GET_TSC                       = 0x19
-       PR_GET_UNALIGN                   = 0x5
-       PR_MCE_KILL                      = 0x21
-       PR_MCE_KILL_CLEAR                = 0x0
-       PR_MCE_KILL_DEFAULT              = 0x2
-       PR_MCE_KILL_EARLY                = 0x1
-       PR_MCE_KILL_GET                  = 0x22
-       PR_MCE_KILL_LATE                 = 0x0
-       PR_MCE_KILL_SET                  = 0x1
-       PR_MPX_DISABLE_MANAGEMENT        = 0x2c
-       PR_MPX_ENABLE_MANAGEMENT         = 0x2b
-       PR_SET_CHILD_SUBREAPER           = 0x24
-       PR_SET_DUMPABLE                  = 0x4
-       PR_SET_ENDIAN                    = 0x14
-       PR_SET_FPEMU                     = 0xa
-       PR_SET_FPEXC                     = 0xc
-       PR_SET_FP_MODE                   = 0x2d
-       PR_SET_KEEPCAPS                  = 0x8
-       PR_SET_MM                        = 0x23
-       PR_SET_MM_ARG_END                = 0x9
-       PR_SET_MM_ARG_START              = 0x8
-       PR_SET_MM_AUXV                   = 0xc
-       PR_SET_MM_BRK                    = 0x7
-       PR_SET_MM_END_CODE               = 0x2
-       PR_SET_MM_END_DATA               = 0x4
-       PR_SET_MM_ENV_END                = 0xb
-       PR_SET_MM_ENV_START              = 0xa
-       PR_SET_MM_EXE_FILE               = 0xd
-       PR_SET_MM_MAP                    = 0xe
-       PR_SET_MM_MAP_SIZE               = 0xf
-       PR_SET_MM_START_BRK              = 0x6
-       PR_SET_MM_START_CODE             = 0x1
-       PR_SET_MM_START_DATA             = 0x3
-       PR_SET_MM_START_STACK            = 0x5
-       PR_SET_NAME                      = 0xf
-       PR_SET_NO_NEW_PRIVS              = 0x26
-       PR_SET_PDEATHSIG                 = 0x1
-       PR_SET_PTRACER                   = 0x59616d61
-       PR_SET_PTRACER_ANY               = -0x1
-       PR_SET_SECCOMP                   = 0x16
-       PR_SET_SECUREBITS                = 0x1c
-       PR_SET_THP_DISABLE               = 0x29
-       PR_SET_TIMERSLACK                = 0x1d
-       PR_SET_TIMING                    = 0xe
-       PR_SET_TSC                       = 0x1a
-       PR_SET_UNALIGN                   = 0x6
-       PR_TASK_PERF_EVENTS_DISABLE      = 0x1f
-       PR_TASK_PERF_EVENTS_ENABLE       = 0x20
-       PR_TIMING_STATISTICAL            = 0x0
-       PR_TIMING_TIMESTAMP              = 0x1
-       PR_TSC_ENABLE                    = 0x1
-       PR_TSC_SIGSEGV                   = 0x2
-       PR_UNALIGN_NOPRINT               = 0x1
-       PR_UNALIGN_SIGBUS                = 0x2
-       PTRACE_ATTACH                    = 0x10
-       PTRACE_CONT                      = 0x7
-       PTRACE_DETACH                    = 0x11
-       PTRACE_EVENT_CLONE               = 0x3
-       PTRACE_EVENT_EXEC                = 0x4
-       PTRACE_EVENT_EXIT                = 0x6
-       PTRACE_EVENT_FORK                = 0x1
-       PTRACE_EVENT_SECCOMP             = 0x7
-       PTRACE_EVENT_STOP                = 0x80
-       PTRACE_EVENT_VFORK               = 0x2
-       PTRACE_EVENT_VFORK_DONE          = 0x5
-       PTRACE_GETEVENTMSG               = 0x4201
-       PTRACE_GETFPAREGS                = 0x14
-       PTRACE_GETFPREGS                 = 0xe
-       PTRACE_GETFPREGS64               = 0x19
-       PTRACE_GETREGS                   = 0xc
-       PTRACE_GETREGS64                 = 0x16
-       PTRACE_GETREGSET                 = 0x4204
-       PTRACE_GETSIGINFO                = 0x4202
-       PTRACE_GETSIGMASK                = 0x420a
-       PTRACE_INTERRUPT                 = 0x4207
-       PTRACE_KILL                      = 0x8
-       PTRACE_LISTEN                    = 0x4208
-       PTRACE_O_EXITKILL                = 0x100000
-       PTRACE_O_MASK                    = 0x3000ff
-       PTRACE_O_SUSPEND_SECCOMP         = 0x200000
-       PTRACE_O_TRACECLONE              = 0x8
-       PTRACE_O_TRACEEXEC               = 0x10
-       PTRACE_O_TRACEEXIT               = 0x40
-       PTRACE_O_TRACEFORK               = 0x2
-       PTRACE_O_TRACESECCOMP            = 0x80
-       PTRACE_O_TRACESYSGOOD            = 0x1
-       PTRACE_O_TRACEVFORK              = 0x4
-       PTRACE_O_TRACEVFORKDONE          = 0x20
-       PTRACE_PEEKDATA                  = 0x2
-       PTRACE_PEEKSIGINFO               = 0x4209
-       PTRACE_PEEKSIGINFO_SHARED        = 0x1
-       PTRACE_PEEKTEXT                  = 0x1
-       PTRACE_PEEKUSR                   = 0x3
-       PTRACE_POKEDATA                  = 0x5
-       PTRACE_POKETEXT                  = 0x4
-       PTRACE_POKEUSR                   = 0x6
-       PTRACE_READDATA                  = 0x10
-       PTRACE_READTEXT                  = 0x12
-       PTRACE_SECCOMP_GET_FILTER        = 0x420c
-       PTRACE_SEIZE                     = 0x4206
-       PTRACE_SETFPAREGS                = 0x15
-       PTRACE_SETFPREGS                 = 0xf
-       PTRACE_SETFPREGS64               = 0x1a
-       PTRACE_SETOPTIONS                = 0x4200
-       PTRACE_SETREGS                   = 0xd
-       PTRACE_SETREGS64                 = 0x17
-       PTRACE_SETREGSET                 = 0x4205
-       PTRACE_SETSIGINFO                = 0x4203
-       PTRACE_SETSIGMASK                = 0x420b
-       PTRACE_SINGLESTEP                = 0x9
-       PTRACE_SPARC_DETACH              = 0xb
-       PTRACE_SYSCALL                   = 0x18
-       PTRACE_TRACEME                   = 0x0
-       PTRACE_WRITEDATA                 = 0x11
-       PTRACE_WRITETEXT                 = 0x13
-       PT_FP                            = 0x48
-       PT_G0                            = 0x10
-       PT_G1                            = 0x14
-       PT_G2                            = 0x18
-       PT_G3                            = 0x1c
-       PT_G4                            = 0x20
-       PT_G5                            = 0x24
-       PT_G6                            = 0x28
-       PT_G7                            = 0x2c
-       PT_I0                            = 0x30
-       PT_I1                            = 0x34
-       PT_I2                            = 0x38
-       PT_I3                            = 0x3c
-       PT_I4                            = 0x40
-       PT_I5                            = 0x44
-       PT_I6                            = 0x48
-       PT_I7                            = 0x4c
-       PT_NPC                           = 0x8
-       PT_PC                            = 0x4
-       PT_PSR                           = 0x0
-       PT_REGS_MAGIC                    = 0x57ac6c00
-       PT_TNPC                          = 0x90
-       PT_TPC                           = 0x88
-       PT_TSTATE                        = 0x80
-       PT_V9_FP                         = 0x70
-       PT_V9_G0                         = 0x0
-       PT_V9_G1                         = 0x8
-       PT_V9_G2                         = 0x10
-       PT_V9_G3                         = 0x18
-       PT_V9_G4                         = 0x20
-       PT_V9_G5                         = 0x28
-       PT_V9_G6                         = 0x30
-       PT_V9_G7                         = 0x38
-       PT_V9_I0                         = 0x40
-       PT_V9_I1                         = 0x48
-       PT_V9_I2                         = 0x50
-       PT_V9_I3                         = 0x58
-       PT_V9_I4                         = 0x60
-       PT_V9_I5                         = 0x68
-       PT_V9_I6                         = 0x70
-       PT_V9_I7                         = 0x78
-       PT_V9_MAGIC                      = 0x9c
-       PT_V9_TNPC                       = 0x90
-       PT_V9_TPC                        = 0x88
-       PT_V9_TSTATE                     = 0x80
-       PT_V9_Y                          = 0x98
-       PT_WIM                           = 0x10
-       PT_Y                             = 0xc
-       RLIMIT_AS                        = 0x9
-       RLIMIT_CORE                      = 0x4
-       RLIMIT_CPU                       = 0x0
-       RLIMIT_DATA                      = 0x2
-       RLIMIT_FSIZE                     = 0x1
-       RLIMIT_NOFILE                    = 0x6
-       RLIMIT_STACK                     = 0x3
-       RLIM_INFINITY                    = -0x1
-       RTAX_ADVMSS                      = 0x8
-       RTAX_CC_ALGO                     = 0x10
-       RTAX_CWND                        = 0x7
-       RTAX_FEATURES                    = 0xc
-       RTAX_FEATURE_ALLFRAG             = 0x8
-       RTAX_FEATURE_ECN                 = 0x1
-       RTAX_FEATURE_MASK                = 0xf
-       RTAX_FEATURE_SACK                = 0x2
-       RTAX_FEATURE_TIMESTAMP           = 0x4
-       RTAX_HOPLIMIT                    = 0xa
-       RTAX_INITCWND                    = 0xb
-       RTAX_INITRWND                    = 0xe
-       RTAX_LOCK                        = 0x1
-       RTAX_MAX                         = 0x10
-       RTAX_MTU                         = 0x2
-       RTAX_QUICKACK                    = 0xf
-       RTAX_REORDERING                  = 0x9
-       RTAX_RTO_MIN                     = 0xd
-       RTAX_RTT                         = 0x4
-       RTAX_RTTVAR                      = 0x5
-       RTAX_SSTHRESH                    = 0x6
-       RTAX_UNSPEC                      = 0x0
-       RTAX_WINDOW                      = 0x3
-       RTA_ALIGNTO                      = 0x4
-       RTA_MAX                          = 0x18
-       RTCF_DIRECTSRC                   = 0x4000000
-       RTCF_DOREDIRECT                  = 0x1000000
-       RTCF_LOG                         = 0x2000000
-       RTCF_MASQ                        = 0x400000
-       RTCF_NAT                         = 0x800000
-       RTCF_VALVE                       = 0x200000
-       RTF_ADDRCLASSMASK                = 0xf8000000
-       RTF_ADDRCONF                     = 0x40000
-       RTF_ALLONLINK                    = 0x20000
-       RTF_BROADCAST                    = 0x10000000
-       RTF_CACHE                        = 0x1000000
-       RTF_DEFAULT                      = 0x10000
-       RTF_DYNAMIC                      = 0x10
-       RTF_FLOW                         = 0x2000000
-       RTF_GATEWAY                      = 0x2
-       RTF_HOST                         = 0x4
-       RTF_INTERFACE                    = 0x40000000
-       RTF_IRTT                         = 0x100
-       RTF_LINKRT                       = 0x100000
-       RTF_LOCAL                        = 0x80000000
-       RTF_MODIFIED                     = 0x20
-       RTF_MSS                          = 0x40
-       RTF_MTU                          = 0x40
-       RTF_MULTICAST                    = 0x20000000
-       RTF_NAT                          = 0x8000000
-       RTF_NOFORWARD                    = 0x1000
-       RTF_NONEXTHOP                    = 0x200000
-       RTF_NOPMTUDISC                   = 0x4000
-       RTF_POLICY                       = 0x4000000
-       RTF_REINSTATE                    = 0x8
-       RTF_REJECT                       = 0x200
-       RTF_STATIC                       = 0x400
-       RTF_THROW                        = 0x2000
-       RTF_UP                           = 0x1
-       RTF_WINDOW                       = 0x80
-       RTF_XRESOLVE                     = 0x800
-       RTM_BASE                         = 0x10
-       RTM_DELACTION                    = 0x31
-       RTM_DELADDR                      = 0x15
-       RTM_DELADDRLABEL                 = 0x49
-       RTM_DELLINK                      = 0x11
-       RTM_DELMDB                       = 0x55
-       RTM_DELNEIGH                     = 0x1d
-       RTM_DELNSID                      = 0x59
-       RTM_DELQDISC                     = 0x25
-       RTM_DELROUTE                     = 0x19
-       RTM_DELRULE                      = 0x21
-       RTM_DELTCLASS                    = 0x29
-       RTM_DELTFILTER                   = 0x2d
-       RTM_F_CLONED                     = 0x200
-       RTM_F_EQUALIZE                   = 0x400
-       RTM_F_LOOKUP_TABLE               = 0x1000
-       RTM_F_NOTIFY                     = 0x100
-       RTM_F_PREFIX                     = 0x800
-       RTM_GETACTION                    = 0x32
-       RTM_GETADDR                      = 0x16
-       RTM_GETADDRLABEL                 = 0x4a
-       RTM_GETANYCAST                   = 0x3e
-       RTM_GETDCB                       = 0x4e
-       RTM_GETLINK                      = 0x12
-       RTM_GETMDB                       = 0x56
-       RTM_GETMULTICAST                 = 0x3a
-       RTM_GETNEIGH                     = 0x1e
-       RTM_GETNEIGHTBL                  = 0x42
-       RTM_GETNETCONF                   = 0x52
-       RTM_GETNSID                      = 0x5a
-       RTM_GETQDISC                     = 0x26
-       RTM_GETROUTE                     = 0x1a
-       RTM_GETRULE                      = 0x22
-       RTM_GETSTATS                     = 0x5e
-       RTM_GETTCLASS                    = 0x2a
-       RTM_GETTFILTER                   = 0x2e
-       RTM_MAX                          = 0x5f
-       RTM_NEWACTION                    = 0x30
-       RTM_NEWADDR                      = 0x14
-       RTM_NEWADDRLABEL                 = 0x48
-       RTM_NEWLINK                      = 0x10
-       RTM_NEWMDB                       = 0x54
-       RTM_NEWNDUSEROPT                 = 0x44
-       RTM_NEWNEIGH                     = 0x1c
-       RTM_NEWNEIGHTBL                  = 0x40
-       RTM_NEWNETCONF                   = 0x50
-       RTM_NEWNSID                      = 0x58
-       RTM_NEWPREFIX                    = 0x34
-       RTM_NEWQDISC                     = 0x24
-       RTM_NEWROUTE                     = 0x18
-       RTM_NEWRULE                      = 0x20
-       RTM_NEWSTATS                     = 0x5c
-       RTM_NEWTCLASS                    = 0x28
-       RTM_NEWTFILTER                   = 0x2c
-       RTM_NR_FAMILIES                  = 0x14
-       RTM_NR_MSGTYPES                  = 0x50
-       RTM_SETDCB                       = 0x4f
-       RTM_SETLINK                      = 0x13
-       RTM_SETNEIGHTBL                  = 0x43
-       RTNH_ALIGNTO                     = 0x4
-       RTNH_COMPARE_MASK                = 0x11
-       RTNH_F_DEAD                      = 0x1
-       RTNH_F_LINKDOWN                  = 0x10
-       RTNH_F_OFFLOAD                   = 0x8
-       RTNH_F_ONLINK                    = 0x4
-       RTNH_F_PERVASIVE                 = 0x2
-       RTN_MAX                          = 0xb
-       RTPROT_BABEL                     = 0x2a
-       RTPROT_BIRD                      = 0xc
-       RTPROT_BOOT                      = 0x3
-       RTPROT_DHCP                      = 0x10
-       RTPROT_DNROUTED                  = 0xd
-       RTPROT_GATED                     = 0x8
-       RTPROT_KERNEL                    = 0x2
-       RTPROT_MROUTED                   = 0x11
-       RTPROT_MRT                       = 0xa
-       RTPROT_NTK                       = 0xf
-       RTPROT_RA                        = 0x9
-       RTPROT_REDIRECT                  = 0x1
-       RTPROT_STATIC                    = 0x4
-       RTPROT_UNSPEC                    = 0x0
-       RTPROT_XORP                      = 0xe
-       RTPROT_ZEBRA                     = 0xb
-       RT_CLASS_DEFAULT                 = 0xfd
-       RT_CLASS_LOCAL                   = 0xff
-       RT_CLASS_MAIN                    = 0xfe
-       RT_CLASS_MAX                     = 0xff
-       RT_CLASS_UNSPEC                  = 0x0
-       RUSAGE_CHILDREN                  = -0x1
-       RUSAGE_SELF                      = 0x0
-       RUSAGE_THREAD                    = 0x1
-       SCM_CREDENTIALS                  = 0x2
-       SCM_RIGHTS                       = 0x1
-       SCM_TIMESTAMP                    = 0x1d
-       SCM_TIMESTAMPING                 = 0x23
-       SCM_TIMESTAMPNS                  = 0x21
-       SCM_WIFI_STATUS                  = 0x25
-       SHUT_RD                          = 0x0
-       SHUT_RDWR                        = 0x2
-       SHUT_WR                          = 0x1
-       SIOCADDDLCI                      = 0x8980
-       SIOCADDMULTI                     = 0x8931
-       SIOCADDRT                        = 0x890b
-       SIOCATMARK                       = 0x8905
-       SIOCBONDCHANGEACTIVE             = 0x8995
-       SIOCBONDENSLAVE                  = 0x8990
-       SIOCBONDINFOQUERY                = 0x8994
-       SIOCBONDRELEASE                  = 0x8991
-       SIOCBONDSETHWADDR                = 0x8992
-       SIOCBONDSLAVEINFOQUERY           = 0x8993
-       SIOCBRADDBR                      = 0x89a0
-       SIOCBRADDIF                      = 0x89a2
-       SIOCBRDELBR                      = 0x89a1
-       SIOCBRDELIF                      = 0x89a3
-       SIOCDARP                         = 0x8953
-       SIOCDELDLCI                      = 0x8981
-       SIOCDELMULTI                     = 0x8932
-       SIOCDELRT                        = 0x890c
-       SIOCDEVPRIVATE                   = 0x89f0
-       SIOCDIFADDR                      = 0x8936
-       SIOCDRARP                        = 0x8960
-       SIOCETHTOOL                      = 0x8946
-       SIOCGARP                         = 0x8954
-       SIOCGHWTSTAMP                    = 0x89b1
-       SIOCGIFADDR                      = 0x8915
-       SIOCGIFBR                        = 0x8940
-       SIOCGIFBRDADDR                   = 0x8919
-       SIOCGIFCONF                      = 0x8912
-       SIOCGIFCOUNT                     = 0x8938
-       SIOCGIFDSTADDR                   = 0x8917
-       SIOCGIFENCAP                     = 0x8925
-       SIOCGIFFLAGS                     = 0x8913
-       SIOCGIFHWADDR                    = 0x8927
-       SIOCGIFINDEX                     = 0x8933
-       SIOCGIFMAP                       = 0x8970
-       SIOCGIFMEM                       = 0x891f
-       SIOCGIFMETRIC                    = 0x891d
-       SIOCGIFMTU                       = 0x8921
-       SIOCGIFNAME                      = 0x8910
-       SIOCGIFNETMASK                   = 0x891b
-       SIOCGIFPFLAGS                    = 0x8935
-       SIOCGIFSLAVE                     = 0x8929
-       SIOCGIFTXQLEN                    = 0x8942
-       SIOCGIFVLAN                      = 0x8982
-       SIOCGMIIPHY                      = 0x8947
-       SIOCGMIIREG                      = 0x8948
-       SIOCGPGRP                        = 0x8904
-       SIOCGRARP                        = 0x8961
-       SIOCGSTAMP                       = 0x8906
-       SIOCGSTAMPNS                     = 0x8907
-       SIOCINQ                          = 0x4004667f
-       SIOCOUTQ                         = 0x40047473
-       SIOCOUTQNSD                      = 0x894b
-       SIOCPROTOPRIVATE                 = 0x89e0
-       SIOCRTMSG                        = 0x890d
-       SIOCSARP                         = 0x8955
-       SIOCSHWTSTAMP                    = 0x89b0
-       SIOCSIFADDR                      = 0x8916
-       SIOCSIFBR                        = 0x8941
-       SIOCSIFBRDADDR                   = 0x891a
-       SIOCSIFDSTADDR                   = 0x8918
-       SIOCSIFENCAP                     = 0x8926
-       SIOCSIFFLAGS                     = 0x8914
-       SIOCSIFHWADDR                    = 0x8924
-       SIOCSIFHWBROADCAST               = 0x8937
-       SIOCSIFLINK                      = 0x8911
-       SIOCSIFMAP                       = 0x8971
-       SIOCSIFMEM                       = 0x8920
-       SIOCSIFMETRIC                    = 0x891e
-       SIOCSIFMTU                       = 0x8922
-       SIOCSIFNAME                      = 0x8923
-       SIOCSIFNETMASK                   = 0x891c
-       SIOCSIFPFLAGS                    = 0x8934
-       SIOCSIFSLAVE                     = 0x8930
-       SIOCSIFTXQLEN                    = 0x8943
-       SIOCSIFVLAN                      = 0x8983
-       SIOCSMIIREG                      = 0x8949
-       SIOCSPGRP                        = 0x8902
-       SIOCSRARP                        = 0x8962
-       SIOCWANDEV                       = 0x894a
-       SOCK_CLOEXEC                     = 0x400000
-       SOCK_DCCP                        = 0x6
-       SOCK_DGRAM                       = 0x2
-       SOCK_NONBLOCK                    = 0x4000
-       SOCK_PACKET                      = 0xa
-       SOCK_RAW                         = 0x3
-       SOCK_RDM                         = 0x4
-       SOCK_SEQPACKET                   = 0x5
-       SOCK_STREAM                      = 0x1
-       SOL_AAL                          = 0x109
-       SOL_ALG                          = 0x117
-       SOL_ATM                          = 0x108
-       SOL_CAIF                         = 0x116
-       SOL_DCCP                         = 0x10d
-       SOL_DECNET                       = 0x105
-       SOL_ICMPV6                       = 0x3a
-       SOL_IP                           = 0x0
-       SOL_IPV6                         = 0x29
-       SOL_IRDA                         = 0x10a
-       SOL_IUCV                         = 0x115
-       SOL_KCM                          = 0x119
-       SOL_LLC                          = 0x10c
-       SOL_NETBEUI                      = 0x10b
-       SOL_NETLINK                      = 0x10e
-       SOL_NFC                          = 0x118
-       SOL_PACKET                       = 0x107
-       SOL_PNPIPE                       = 0x113
-       SOL_PPPOL2TP                     = 0x111
-       SOL_RAW                          = 0xff
-       SOL_RDS                          = 0x114
-       SOL_RXRPC                        = 0x110
-       SOL_SOCKET                       = 0xffff
-       SOL_TCP                          = 0x6
-       SOL_TIPC                         = 0x10f
-       SOL_X25                          = 0x106
-       SOMAXCONN                        = 0x80
-       SO_ACCEPTCONN                    = 0x8000
-       SO_ATTACH_BPF                    = 0x34
-       SO_ATTACH_FILTER                 = 0x1a
-       SO_ATTACH_REUSEPORT_CBPF         = 0x35
-       SO_ATTACH_REUSEPORT_EBPF         = 0x36
-       SO_BINDTODEVICE                  = 0xd
-       SO_BPF_EXTENSIONS                = 0x32
-       SO_BROADCAST                     = 0x20
-       SO_BSDCOMPAT                     = 0x400
-       SO_BUSY_POLL                     = 0x30
-       SO_CNX_ADVICE                    = 0x37
-       SO_DEBUG                         = 0x1
-       SO_DETACH_BPF                    = 0x1b
-       SO_DETACH_FILTER                 = 0x1b
-       SO_DOMAIN                        = 0x1029
-       SO_DONTROUTE                     = 0x10
-       SO_ERROR                         = 0x1007
-       SO_GET_FILTER                    = 0x1a
-       SO_INCOMING_CPU                  = 0x33
-       SO_KEEPALIVE                     = 0x8
-       SO_LINGER                        = 0x80
-       SO_LOCK_FILTER                   = 0x28
-       SO_MARK                          = 0x22
-       SO_MAX_PACING_RATE               = 0x31
-       SO_NOFCS                         = 0x27
-       SO_NO_CHECK                      = 0xb
-       SO_OOBINLINE                     = 0x100
-       SO_PASSCRED                      = 0x2
-       SO_PASSSEC                       = 0x1f
-       SO_PEEK_OFF                      = 0x26
-       SO_PEERCRED                      = 0x40
-       SO_PEERNAME                      = 0x1c
-       SO_PEERSEC                       = 0x1e
-       SO_PRIORITY                      = 0xc
-       SO_PROTOCOL                      = 0x1028
-       SO_RCVBUF                        = 0x1002
-       SO_RCVBUFFORCE                   = 0x100b
-       SO_RCVLOWAT                      = 0x800
-       SO_RCVTIMEO                      = 0x2000
-       SO_REUSEADDR                     = 0x4
-       SO_REUSEPORT                     = 0x200
-       SO_RXQ_OVFL                      = 0x24
-       SO_SECURITY_AUTHENTICATION       = 0x5001
-       SO_SECURITY_ENCRYPTION_NETWORK   = 0x5004
-       SO_SECURITY_ENCRYPTION_TRANSPORT = 0x5002
-       SO_SELECT_ERR_QUEUE              = 0x29
-       SO_SNDBUF                        = 0x1001
-       SO_SNDBUFFORCE                   = 0x100a
-       SO_SNDLOWAT                      = 0x1000
-       SO_SNDTIMEO                      = 0x4000
-       SO_TIMESTAMP                     = 0x1d
-       SO_TIMESTAMPING                  = 0x23
-       SO_TIMESTAMPNS                   = 0x21
-       SO_TYPE                          = 0x1008
-       SO_VM_SOCKETS_BUFFER_MAX_SIZE    = 0x2
-       SO_VM_SOCKETS_BUFFER_MIN_SIZE    = 0x1
-       SO_VM_SOCKETS_BUFFER_SIZE        = 0x0
-       SO_VM_SOCKETS_CONNECT_TIMEOUT    = 0x6
-       SO_VM_SOCKETS_NONBLOCK_TXRX      = 0x7
-       SO_VM_SOCKETS_PEER_HOST_VM_ID    = 0x3
-       SO_VM_SOCKETS_TRUSTED            = 0x5
-       SO_WIFI_STATUS                   = 0x25
-       SPLICE_F_GIFT                    = 0x8
-       SPLICE_F_MORE                    = 0x4
-       SPLICE_F_MOVE                    = 0x1
-       SPLICE_F_NONBLOCK                = 0x2
-       S_BLKSIZE                        = 0x200
-       S_IEXEC                          = 0x40
-       S_IFBLK                          = 0x6000
-       S_IFCHR                          = 0x2000
-       S_IFDIR                          = 0x4000
-       S_IFIFO                          = 0x1000
-       S_IFLNK                          = 0xa000
-       S_IFMT                           = 0xf000
-       S_IFREG                          = 0x8000
-       S_IFSOCK                         = 0xc000
-       S_IREAD                          = 0x100
-       S_IRGRP                          = 0x20
-       S_IROTH                          = 0x4
-       S_IRUSR                          = 0x100
-       S_IRWXG                          = 0x38
-       S_IRWXO                          = 0x7
-       S_IRWXU                          = 0x1c0
-       S_ISGID                          = 0x400
-       S_ISUID                          = 0x800
-       S_ISVTX                          = 0x200
-       S_IWGRP                          = 0x10
-       S_IWOTH                          = 0x2
-       S_IWRITE                         = 0x80
-       S_IWUSR                          = 0x80
-       S_IXGRP                          = 0x8
-       S_IXOTH                          = 0x1
-       S_IXUSR                          = 0x40
-       TAB0                             = 0x0
-       TAB1                             = 0x800
-       TAB2                             = 0x1000
-       TAB3                             = 0x1800
-       TABDLY                           = 0x1800
-       TCFLSH                           = 0x20005407
-       TCGETA                           = 0x40125401
-       TCGETS                           = 0x40245408
-       TCGETS2                          = 0x402c540c
-       TCIFLUSH                         = 0x0
-       TCIOFF                           = 0x2
-       TCIOFLUSH                        = 0x2
-       TCION                            = 0x3
-       TCOFLUSH                         = 0x1
-       TCOOFF                           = 0x0
-       TCOON                            = 0x1
-       TCP_CC_INFO                      = 0x1a
-       TCP_CONGESTION                   = 0xd
-       TCP_COOKIE_IN_ALWAYS             = 0x1
-       TCP_COOKIE_MAX                   = 0x10
-       TCP_COOKIE_MIN                   = 0x8
-       TCP_COOKIE_OUT_NEVER             = 0x2
-       TCP_COOKIE_PAIR_SIZE             = 0x20
-       TCP_COOKIE_TRANSACTIONS          = 0xf
-       TCP_CORK                         = 0x3
-       TCP_DEFER_ACCEPT                 = 0x9
-       TCP_FASTOPEN                     = 0x17
-       TCP_INFO                         = 0xb
-       TCP_KEEPCNT                      = 0x6
-       TCP_KEEPIDLE                     = 0x4
-       TCP_KEEPINTVL                    = 0x5
-       TCP_LINGER2                      = 0x8
-       TCP_MAXSEG                       = 0x2
-       TCP_MAXWIN                       = 0xffff
-       TCP_MAX_WINSHIFT                 = 0xe
-       TCP_MD5SIG                       = 0xe
-       TCP_MD5SIG_MAXKEYLEN             = 0x50
-       TCP_MSS                          = 0x200
-       TCP_MSS_DEFAULT                  = 0x218
-       TCP_MSS_DESIRED                  = 0x4c4
-       TCP_NODELAY                      = 0x1
-       TCP_NOTSENT_LOWAT                = 0x19
-       TCP_QUEUE_SEQ                    = 0x15
-       TCP_QUICKACK                     = 0xc
-       TCP_REPAIR                       = 0x13
-       TCP_REPAIR_OPTIONS               = 0x16
-       TCP_REPAIR_QUEUE                 = 0x14
-       TCP_SAVED_SYN                    = 0x1c
-       TCP_SAVE_SYN                     = 0x1b
-       TCP_SYNCNT                       = 0x7
-       TCP_S_DATA_IN                    = 0x4
-       TCP_S_DATA_OUT                   = 0x8
-       TCP_THIN_DUPACK                  = 0x11
-       TCP_THIN_LINEAR_TIMEOUTS         = 0x10
-       TCP_TIMESTAMP                    = 0x18
-       TCP_USER_TIMEOUT                 = 0x12
-       TCP_WINDOW_CLAMP                 = 0xa
-       TCSAFLUSH                        = 0x2
-       TCSBRK                           = 0x20005405
-       TCSBRKP                          = 0x5425
-       TCSETA                           = 0x80125402
-       TCSETAF                          = 0x80125404
-       TCSETAW                          = 0x80125403
-       TCSETS                           = 0x80245409
-       TCSETS2                          = 0x802c540d
-       TCSETSF                          = 0x8024540b
-       TCSETSF2                         = 0x802c540f
-       TCSETSW                          = 0x8024540a
-       TCSETSW2                         = 0x802c540e
-       TCXONC                           = 0x20005406
-       TIOCCBRK                         = 0x2000747a
-       TIOCCONS                         = 0x20007424
-       TIOCEXCL                         = 0x2000740d
-       TIOCGDEV                         = 0x40045432
-       TIOCGETD                         = 0x40047400
-       TIOCGEXCL                        = 0x40045440
-       TIOCGICOUNT                      = 0x545d
-       TIOCGLCKTRMIOS                   = 0x5456
-       TIOCGPGRP                        = 0x40047483
-       TIOCGPKT                         = 0x40045438
-       TIOCGPTLCK                       = 0x40045439
-       TIOCGPTN                         = 0x40047486
-       TIOCGRS485                       = 0x40205441
-       TIOCGSERIAL                      = 0x541e
-       TIOCGSID                         = 0x40047485
-       TIOCGSOFTCAR                     = 0x40047464
-       TIOCGWINSZ                       = 0x40087468
-       TIOCINQ                          = 0x4004667f
-       TIOCLINUX                        = 0x541c
-       TIOCMBIC                         = 0x8004746b
-       TIOCMBIS                         = 0x8004746c
-       TIOCMGET                         = 0x4004746a
-       TIOCMIWAIT                       = 0x545c
-       TIOCMSET                         = 0x8004746d
-       TIOCM_CAR                        = 0x40
-       TIOCM_CD                         = 0x40
-       TIOCM_CTS                        = 0x20
-       TIOCM_DSR                        = 0x100
-       TIOCM_DTR                        = 0x2
-       TIOCM_LE                         = 0x1
-       TIOCM_LOOP                       = 0x8000
-       TIOCM_OUT1                       = 0x2000
-       TIOCM_OUT2                       = 0x4000
-       TIOCM_RI                         = 0x80
-       TIOCM_RNG                        = 0x80
-       TIOCM_RTS                        = 0x4
-       TIOCM_SR                         = 0x10
-       TIOCM_ST                         = 0x8
-       TIOCNOTTY                        = 0x20007471
-       TIOCNXCL                         = 0x2000740e
-       TIOCOUTQ                         = 0x40047473
-       TIOCPKT                          = 0x80047470
-       TIOCPKT_DATA                     = 0x0
-       TIOCPKT_DOSTOP                   = 0x20
-       TIOCPKT_FLUSHREAD                = 0x1
-       TIOCPKT_FLUSHWRITE               = 0x2
-       TIOCPKT_IOCTL                    = 0x40
-       TIOCPKT_NOSTOP                   = 0x10
-       TIOCPKT_START                    = 0x8
-       TIOCPKT_STOP                     = 0x4
-       TIOCSBRK                         = 0x2000747b
-       TIOCSCTTY                        = 0x20007484
-       TIOCSERCONFIG                    = 0x5453
-       TIOCSERGETLSR                    = 0x5459
-       TIOCSERGETMULTI                  = 0x545a
-       TIOCSERGSTRUCT                   = 0x5458
-       TIOCSERGWILD                     = 0x5454
-       TIOCSERSETMULTI                  = 0x545b
-       TIOCSERSWILD                     = 0x5455
-       TIOCSER_TEMT                     = 0x1
-       TIOCSETD                         = 0x80047401
-       TIOCSIG                          = 0x80047488
-       TIOCSLCKTRMIOS                   = 0x5457
-       TIOCSPGRP                        = 0x80047482
-       TIOCSPTLCK                       = 0x80047487
-       TIOCSRS485                       = 0xc0205442
-       TIOCSSERIAL                      = 0x541f
-       TIOCSSOFTCAR                     = 0x80047465
-       TIOCSTART                        = 0x2000746e
-       TIOCSTI                          = 0x80017472
-       TIOCSTOP                         = 0x2000746f
-       TIOCSWINSZ                       = 0x80087467
-       TIOCVHANGUP                      = 0x20005437
-       TOSTOP                           = 0x100
-       TUNATTACHFILTER                  = 0x801054d5
-       TUNDETACHFILTER                  = 0x801054d6
-       TUNGETFEATURES                   = 0x400454cf
-       TUNGETFILTER                     = 0x401054db
-       TUNGETIFF                        = 0x400454d2
-       TUNGETSNDBUF                     = 0x400454d3
-       TUNGETVNETBE                     = 0x400454df
-       TUNGETVNETHDRSZ                  = 0x400454d7
-       TUNGETVNETLE                     = 0x400454dd
-       TUNSETDEBUG                      = 0x800454c9
-       TUNSETGROUP                      = 0x800454ce
-       TUNSETIFF                        = 0x800454ca
-       TUNSETIFINDEX                    = 0x800454da
-       TUNSETLINK                       = 0x800454cd
-       TUNSETNOCSUM                     = 0x800454c8
-       TUNSETOFFLOAD                    = 0x800454d0
-       TUNSETOWNER                      = 0x800454cc
-       TUNSETPERSIST                    = 0x800454cb
-       TUNSETQUEUE                      = 0x800454d9
-       TUNSETSNDBUF                     = 0x800454d4
-       TUNSETTXFILTER                   = 0x800454d1
-       TUNSETVNETBE                     = 0x800454de
-       TUNSETVNETHDRSZ                  = 0x800454d8
-       TUNSETVNETLE                     = 0x800454dc
-       VDISCARD                         = 0xd
-       VDSUSP                           = 0xb
-       VEOF                             = 0x4
-       VEOL                             = 0x5
-       VEOL2                            = 0x6
-       VERASE                           = 0x2
-       VINTR                            = 0x0
-       VKILL                            = 0x3
-       VLNEXT                           = 0xf
-       VMADDR_CID_ANY                   = 0xffffffff
-       VMADDR_CID_HOST                  = 0x2
-       VMADDR_CID_HYPERVISOR            = 0x0
-       VMADDR_CID_RESERVED              = 0x1
-       VMADDR_PORT_ANY                  = 0xffffffff
-       VMIN                             = 0x4
-       VQUIT                            = 0x1
-       VREPRINT                         = 0xc
-       VSTART                           = 0x8
-       VSTOP                            = 0x9
-       VSUSP                            = 0xa
-       VSWTC                            = 0x7
-       VT0                              = 0x0
-       VT1                              = 0x4000
-       VTDLY                            = 0x4000
-       VTIME                            = 0x5
-       VWERASE                          = 0xe
-       WALL                             = 0x40000000
-       WCLONE                           = 0x80000000
-       WCONTINUED                       = 0x8
-       WEXITED                          = 0x4
-       WNOHANG                          = 0x1
-       WNOTHREAD                        = 0x20000000
-       WNOWAIT                          = 0x1000000
-       WORDSIZE                         = 0x40
-       WRAP                             = 0x20000
-       WSTOPPED                         = 0x2
-       WUNTRACED                        = 0x2
-       XCASE                            = 0x4
-       XTABS                            = 0x1800
-       __TIOCFLUSH                      = 0x80047410
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EADV            = syscall.Errno(0x53)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0xb)
-       EALREADY        = syscall.Errno(0x25)
-       EBADE           = syscall.Errno(0x66)
-       EBADF           = syscall.Errno(0x9)
-       EBADFD          = syscall.Errno(0x5d)
-       EBADMSG         = syscall.Errno(0x4c)
-       EBADR           = syscall.Errno(0x67)
-       EBADRQC         = syscall.Errno(0x6a)
-       EBADSLT         = syscall.Errno(0x6b)
-       EBFONT          = syscall.Errno(0x6d)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x7f)
-       ECHILD          = syscall.Errno(0xa)
-       ECHRNG          = syscall.Errno(0x5e)
-       ECOMM           = syscall.Errno(0x55)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0x4e)
-       EDEADLOCK       = syscall.Errno(0x6c)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDOM            = syscall.Errno(0x21)
-       EDOTDOT         = syscall.Errno(0x58)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EHWPOISON       = syscall.Errno(0x87)
-       EIDRM           = syscall.Errno(0x4d)
-       EILSEQ          = syscall.Errno(0x7a)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       EISNAM          = syscall.Errno(0x78)
-       EKEYEXPIRED     = syscall.Errno(0x81)
-       EKEYREJECTED    = syscall.Errno(0x83)
-       EKEYREVOKED     = syscall.Errno(0x82)
-       EL2HLT          = syscall.Errno(0x65)
-       EL2NSYNC        = syscall.Errno(0x5f)
-       EL3HLT          = syscall.Errno(0x60)
-       EL3RST          = syscall.Errno(0x61)
-       ELIBACC         = syscall.Errno(0x72)
-       ELIBBAD         = syscall.Errno(0x70)
-       ELIBEXEC        = syscall.Errno(0x6e)
-       ELIBMAX         = syscall.Errno(0x7b)
-       ELIBSCN         = syscall.Errno(0x7c)
-       ELNRNG          = syscall.Errno(0x62)
-       ELOOP           = syscall.Errno(0x3e)
-       EMEDIUMTYPE     = syscall.Errno(0x7e)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       EMULTIHOP       = syscall.Errno(0x57)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENAVAIL         = syscall.Errno(0x77)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOANO          = syscall.Errno(0x69)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENOCSI          = syscall.Errno(0x64)
-       ENODATA         = syscall.Errno(0x6f)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOKEY          = syscall.Errno(0x80)
-       ENOLCK          = syscall.Errno(0x4f)
-       ENOLINK         = syscall.Errno(0x52)
-       ENOMEDIUM       = syscall.Errno(0x7d)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x4b)
-       ENONET          = syscall.Errno(0x50)
-       ENOPKG          = syscall.Errno(0x71)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x4a)
-       ENOSTR          = syscall.Errno(0x48)
-       ENOSYS          = syscall.Errno(0x5a)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTNAM         = syscall.Errno(0x76)
-       ENOTRECOVERABLE = syscall.Errno(0x85)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x2d)
-       ENOTTY          = syscall.Errno(0x19)
-       ENOTUNIQ        = syscall.Errno(0x73)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x2d)
-       EOVERFLOW       = syscall.Errno(0x5c)
-       EOWNERDEAD      = syscall.Errno(0x84)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROTO          = syscall.Errno(0x56)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       ERANGE          = syscall.Errno(0x22)
-       EREMCHG         = syscall.Errno(0x59)
-       EREMOTE         = syscall.Errno(0x47)
-       EREMOTEIO       = syscall.Errno(0x79)
-       ERESTART        = syscall.Errno(0x74)
-       ERFKILL         = syscall.Errno(0x86)
-       EROFS           = syscall.Errno(0x1e)
-       ERREMOTE        = syscall.Errno(0x51)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESRMNT          = syscall.Errno(0x54)
-       ESTALE          = syscall.Errno(0x46)
-       ESTRPIPE        = syscall.Errno(0x5b)
-       ETIME           = syscall.Errno(0x49)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUCLEAN         = syscall.Errno(0x75)
-       EUNATCH         = syscall.Errno(0x63)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0xb)
-       EXDEV           = syscall.Errno(0x12)
-       EXFULL          = syscall.Errno(0x68)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCLD    = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGLOST   = syscall.Signal(0x1d)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPOLL   = syscall.Signal(0x17)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGPWR    = syscall.Signal(0x1d)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:   "operation not permitted",
-       2:   "no such file or directory",
-       3:   "no such process",
-       4:   "interrupted system call",
-       5:   "input/output error",
-       6:   "no such device or address",
-       7:   "argument list too long",
-       8:   "exec format error",
-       9:   "bad file descriptor",
-       10:  "no child processes",
-       11:  "resource temporarily unavailable",
-       12:  "cannot allocate memory",
-       13:  "permission denied",
-       14:  "bad address",
-       15:  "block device required",
-       16:  "device or resource busy",
-       17:  "file exists",
-       18:  "invalid cross-device link",
-       19:  "no such device",
-       20:  "not a directory",
-       21:  "is a directory",
-       22:  "invalid argument",
-       23:  "too many open files in system",
-       24:  "too many open files",
-       25:  "inappropriate ioctl for device",
-       26:  "text file busy",
-       27:  "file too large",
-       28:  "no space left on device",
-       29:  "illegal seek",
-       30:  "read-only file system",
-       31:  "too many links",
-       32:  "broken pipe",
-       33:  "numerical argument out of domain",
-       34:  "numerical result out of range",
-       36:  "operation now in progress",
-       37:  "operation already in progress",
-       38:  "socket operation on non-socket",
-       39:  "destination address required",
-       40:  "message too long",
-       41:  "protocol wrong type for socket",
-       42:  "protocol not available",
-       43:  "protocol not supported",
-       44:  "socket type not supported",
-       45:  "operation not supported",
-       46:  "protocol family not supported",
-       47:  "address family not supported by protocol",
-       48:  "address already in use",
-       49:  "cannot assign requested address",
-       50:  "network is down",
-       51:  "network is unreachable",
-       52:  "network dropped connection on reset",
-       53:  "software caused connection abort",
-       54:  "connection reset by peer",
-       55:  "no buffer space available",
-       56:  "transport endpoint is already connected",
-       57:  "transport endpoint is not connected",
-       58:  "cannot send after transport endpoint shutdown",
-       59:  "too many references: cannot splice",
-       60:  "connection timed out",
-       61:  "connection refused",
-       62:  "too many levels of symbolic links",
-       63:  "file name too long",
-       64:  "host is down",
-       65:  "no route to host",
-       66:  "directory not empty",
-       67:  "too many processes",
-       68:  "too many users",
-       69:  "disk quota exceeded",
-       70:  "stale file handle",
-       71:  "object is remote",
-       72:  "device not a stream",
-       73:  "timer expired",
-       74:  "out of streams resources",
-       75:  "no message of desired type",
-       76:  "bad message",
-       77:  "identifier removed",
-       78:  "resource deadlock avoided",
-       79:  "no locks available",
-       80:  "machine is not on the network",
-       81:  "unknown error 81",
-       82:  "link has been severed",
-       83:  "advertise error",
-       84:  "srmount error",
-       85:  "communication error on send",
-       86:  "protocol error",
-       87:  "multihop attempted",
-       88:  "RFS specific error",
-       89:  "remote address changed",
-       90:  "function not implemented",
-       91:  "streams pipe error",
-       92:  "value too large for defined data type",
-       93:  "file descriptor in bad state",
-       94:  "channel number out of range",
-       95:  "level 2 not synchronized",
-       96:  "level 3 halted",
-       97:  "level 3 reset",
-       98:  "link number out of range",
-       99:  "protocol driver not attached",
-       100: "no CSI structure available",
-       101: "level 2 halted",
-       102: "invalid exchange",
-       103: "invalid request descriptor",
-       104: "exchange full",
-       105: "no anode",
-       106: "invalid request code",
-       107: "invalid slot",
-       108: "file locking deadlock error",
-       109: "bad font file format",
-       110: "cannot exec a shared library directly",
-       111: "no data available",
-       112: "accessing a corrupted shared library",
-       113: "package not installed",
-       114: "can not access a needed shared library",
-       115: "name not unique on network",
-       116: "interrupted system call should be restarted",
-       117: "structure needs cleaning",
-       118: "not a XENIX named type file",
-       119: "no XENIX semaphores available",
-       120: "is a named type file",
-       121: "remote I/O error",
-       122: "invalid or incomplete multibyte or wide character",
-       123: "attempting to link in too many shared libraries",
-       124: ".lib section in a.out corrupted",
-       125: "no medium found",
-       126: "wrong medium type",
-       127: "operation canceled",
-       128: "required key not available",
-       129: "key has expired",
-       130: "key has been revoked",
-       131: "key was rejected by service",
-       132: "owner died",
-       133: "state not recoverable",
-       134: "operation not possible due to RF-kill",
-       135: "memory page has hardware error",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/breakpoint trap",
-       6:  "aborted",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "stopped (signal)",
-       18: "stopped",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "CPU time limit exceeded",
-       25: "file size limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window changed",
-       29: "resource lost",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go b/vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go
deleted file mode 100644 (file)
index b4338d5..0000000
+++ /dev/null
@@ -1,1712 +0,0 @@
-// mkerrors.sh -m32
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build 386,netbsd
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m32 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_ARP                            = 0x1c
-       AF_BLUETOOTH                      = 0x1f
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1a
-       AF_ECMA                           = 0x8
-       AF_HYLINK                         = 0xf
-       AF_IEEE80211                      = 0x20
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x18
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1a
-       AF_ISO                            = 0x7
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x23
-       AF_MPLS                           = 0x21
-       AF_NATM                           = 0x1b
-       AF_NS                             = 0x6
-       AF_OROUTE                         = 0x11
-       AF_OSI                            = 0x7
-       AF_PUP                            = 0x4
-       AF_ROUTE                          = 0x22
-       AF_SNA                            = 0xb
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       ARPHRD_ARCNET                     = 0x7
-       ARPHRD_ETHER                      = 0x1
-       ARPHRD_FRELAY                     = 0xf
-       ARPHRD_IEEE1394                   = 0x18
-       ARPHRD_IEEE802                    = 0x6
-       ARPHRD_STRIP                      = 0x17
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B460800                           = 0x70800
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B921600                           = 0xe1000
-       B9600                             = 0x2580
-       BIOCFEEDBACK                      = 0x8004427d
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc0084277
-       BIOCGETIF                         = 0x4090426b
-       BIOCGFEEDBACK                     = 0x4004427c
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRTIMEOUT                     = 0x400c427b
-       BIOCGSEESENT                      = 0x40044278
-       BIOCGSTATS                        = 0x4080426f
-       BIOCGSTATSOLD                     = 0x4008426f
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCPROMISC                       = 0x20004269
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDLT                          = 0x80044276
-       BIOCSETF                          = 0x80084267
-       BIOCSETIF                         = 0x8090426c
-       BIOCSFEEDBACK                     = 0x8004427d
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRTIMEOUT                     = 0x800c427a
-       BIOCSSEESENT                      = 0x80044279
-       BIOCSTCPF                         = 0x80084272
-       BIOCSUDPF                         = 0x80084273
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x4
-       BPF_ALIGNMENT32                   = 0x4
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_DFLTBUFSIZE                   = 0x100000
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x1000000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CLONE_CSIGNAL                     = 0xff
-       CLONE_FILES                       = 0x400
-       CLONE_FS                          = 0x200
-       CLONE_PID                         = 0x1000
-       CLONE_PTRACE                      = 0x2000
-       CLONE_SIGHAND                     = 0x800
-       CLONE_VFORK                       = 0x4000
-       CLONE_VM                          = 0x100
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0x14
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0xc
-       CTL_NET                           = 0x4
-       CTL_QUERY                         = -0x2
-       DIOCBSFLUSH                       = 0x20006478
-       DLT_A429                          = 0xb8
-       DLT_A653_ICM                      = 0xb9
-       DLT_AIRONET_HEADER                = 0x78
-       DLT_AOS                           = 0xde
-       DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
-       DLT_ARCNET                        = 0x7
-       DLT_ARCNET_LINUX                  = 0x81
-       DLT_ATM_CLIP                      = 0x13
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AURORA                        = 0x7e
-       DLT_AX25                          = 0x3
-       DLT_AX25_KISS                     = 0xca
-       DLT_BACNET_MS_TP                  = 0xa5
-       DLT_BLUETOOTH_HCI_H4              = 0xbb
-       DLT_BLUETOOTH_HCI_H4_WITH_PHDR    = 0xc9
-       DLT_CAN20B                        = 0xbe
-       DLT_CAN_SOCKETCAN                 = 0xe3
-       DLT_CHAOS                         = 0x5
-       DLT_CISCO_IOS                     = 0x76
-       DLT_C_HDLC                        = 0x68
-       DLT_C_HDLC_WITH_DIR               = 0xcd
-       DLT_DECT                          = 0xdd
-       DLT_DOCSIS                        = 0x8f
-       DLT_ECONET                        = 0x73
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0x6d
-       DLT_ERF                           = 0xc5
-       DLT_ERF_ETH                       = 0xaf
-       DLT_ERF_POS                       = 0xb0
-       DLT_FC_2                          = 0xe0
-       DLT_FC_2_WITH_FRAME_DELIMS        = 0xe1
-       DLT_FDDI                          = 0xa
-       DLT_FLEXRAY                       = 0xd2
-       DLT_FRELAY                        = 0x6b
-       DLT_FRELAY_WITH_DIR               = 0xce
-       DLT_GCOM_SERIAL                   = 0xad
-       DLT_GCOM_T1E1                     = 0xac
-       DLT_GPF_F                         = 0xab
-       DLT_GPF_T                         = 0xaa
-       DLT_GPRS_LLC                      = 0xa9
-       DLT_GSMTAP_ABIS                   = 0xda
-       DLT_GSMTAP_UM                     = 0xd9
-       DLT_HDLC                          = 0x10
-       DLT_HHDLC                         = 0x79
-       DLT_HIPPI                         = 0xf
-       DLT_IBM_SN                        = 0x92
-       DLT_IBM_SP                        = 0x91
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_IEEE802_11_RADIO_AVS          = 0xa3
-       DLT_IEEE802_15_4                  = 0xc3
-       DLT_IEEE802_15_4_LINUX            = 0xbf
-       DLT_IEEE802_15_4_NONASK_PHY       = 0xd7
-       DLT_IEEE802_16_MAC_CPS            = 0xbc
-       DLT_IEEE802_16_MAC_CPS_RADIO      = 0xc1
-       DLT_IPMB                          = 0xc7
-       DLT_IPMB_LINUX                    = 0xd1
-       DLT_IPNET                         = 0xe2
-       DLT_IPV4                          = 0xe4
-       DLT_IPV6                          = 0xe5
-       DLT_IP_OVER_FC                    = 0x7a
-       DLT_JUNIPER_ATM1                  = 0x89
-       DLT_JUNIPER_ATM2                  = 0x87
-       DLT_JUNIPER_CHDLC                 = 0xb5
-       DLT_JUNIPER_ES                    = 0x84
-       DLT_JUNIPER_ETHER                 = 0xb2
-       DLT_JUNIPER_FRELAY                = 0xb4
-       DLT_JUNIPER_GGSN                  = 0x85
-       DLT_JUNIPER_ISM                   = 0xc2
-       DLT_JUNIPER_MFR                   = 0x86
-       DLT_JUNIPER_MLFR                  = 0x83
-       DLT_JUNIPER_MLPPP                 = 0x82
-       DLT_JUNIPER_MONITOR               = 0xa4
-       DLT_JUNIPER_PIC_PEER              = 0xae
-       DLT_JUNIPER_PPP                   = 0xb3
-       DLT_JUNIPER_PPPOE                 = 0xa7
-       DLT_JUNIPER_PPPOE_ATM             = 0xa8
-       DLT_JUNIPER_SERVICES              = 0x88
-       DLT_JUNIPER_ST                    = 0xc8
-       DLT_JUNIPER_VP                    = 0xb7
-       DLT_LAPB_WITH_DIR                 = 0xcf
-       DLT_LAPD                          = 0xcb
-       DLT_LIN                           = 0xd4
-       DLT_LINUX_EVDEV                   = 0xd8
-       DLT_LINUX_IRDA                    = 0x90
-       DLT_LINUX_LAPD                    = 0xb1
-       DLT_LINUX_SLL                     = 0x71
-       DLT_LOOP                          = 0x6c
-       DLT_LTALK                         = 0x72
-       DLT_MFR                           = 0xb6
-       DLT_MOST                          = 0xd3
-       DLT_MPLS                          = 0xdb
-       DLT_MTP2                          = 0x8c
-       DLT_MTP2_WITH_PHDR                = 0x8b
-       DLT_MTP3                          = 0x8d
-       DLT_NULL                          = 0x0
-       DLT_PCI_EXP                       = 0x7d
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x12
-       DLT_PPI                           = 0xc0
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0xe
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_PPPD                      = 0xa6
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PPP_WITH_DIR                  = 0xcc
-       DLT_PRISM_HEADER                  = 0x77
-       DLT_PRONET                        = 0x4
-       DLT_RAIF1                         = 0xc6
-       DLT_RAW                           = 0xc
-       DLT_RAWAF_MASK                    = 0x2240000
-       DLT_RIO                           = 0x7c
-       DLT_SCCP                          = 0x8e
-       DLT_SITA                          = 0xc4
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xd
-       DLT_SUNATM                        = 0x7b
-       DLT_SYMANTEC_FIREWALL             = 0x63
-       DLT_TZSP                          = 0x80
-       DLT_USB                           = 0xba
-       DLT_USB_LINUX                     = 0xbd
-       DLT_USB_LINUX_MMAPPED             = 0xdc
-       DLT_WIHART                        = 0xdf
-       DLT_X2E_SERIAL                    = 0xd5
-       DLT_X2E_XORAYA                    = 0xd6
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       DT_WHT                            = 0xe
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EMUL_LINUX                        = 0x1
-       EMUL_LINUX32                      = 0x5
-       EMUL_MAXID                        = 0x6
-       EN_SW_CTL_INF                     = 0x1000
-       EN_SW_CTL_PREC                    = 0x300
-       EN_SW_CTL_ROUND                   = 0xc00
-       EN_SW_DATACHAIN                   = 0x80
-       EN_SW_DENORM                      = 0x2
-       EN_SW_INVOP                       = 0x1
-       EN_SW_OVERFLOW                    = 0x8
-       EN_SW_PRECLOSS                    = 0x20
-       EN_SW_UNDERFLOW                   = 0x10
-       EN_SW_ZERODIV                     = 0x4
-       ETHERCAP_JUMBO_MTU                = 0x4
-       ETHERCAP_VLAN_HWTAGGING           = 0x2
-       ETHERCAP_VLAN_MTU                 = 0x1
-       ETHERMIN                          = 0x2e
-       ETHERMTU                          = 0x5dc
-       ETHERMTU_JUMBO                    = 0x2328
-       ETHERTYPE_8023                    = 0x4
-       ETHERTYPE_AARP                    = 0x80f3
-       ETHERTYPE_ACCTON                  = 0x8390
-       ETHERTYPE_AEONIC                  = 0x8036
-       ETHERTYPE_ALPHA                   = 0x814a
-       ETHERTYPE_AMBER                   = 0x6008
-       ETHERTYPE_AMOEBA                  = 0x8145
-       ETHERTYPE_APOLLO                  = 0x80f7
-       ETHERTYPE_APOLLODOMAIN            = 0x8019
-       ETHERTYPE_APPLETALK               = 0x809b
-       ETHERTYPE_APPLITEK                = 0x80c7
-       ETHERTYPE_ARGONAUT                = 0x803a
-       ETHERTYPE_ARP                     = 0x806
-       ETHERTYPE_AT                      = 0x809b
-       ETHERTYPE_ATALK                   = 0x809b
-       ETHERTYPE_ATOMIC                  = 0x86df
-       ETHERTYPE_ATT                     = 0x8069
-       ETHERTYPE_ATTSTANFORD             = 0x8008
-       ETHERTYPE_AUTOPHON                = 0x806a
-       ETHERTYPE_AXIS                    = 0x8856
-       ETHERTYPE_BCLOOP                  = 0x9003
-       ETHERTYPE_BOFL                    = 0x8102
-       ETHERTYPE_CABLETRON               = 0x7034
-       ETHERTYPE_CHAOS                   = 0x804
-       ETHERTYPE_COMDESIGN               = 0x806c
-       ETHERTYPE_COMPUGRAPHIC            = 0x806d
-       ETHERTYPE_COUNTERPOINT            = 0x8062
-       ETHERTYPE_CRONUS                  = 0x8004
-       ETHERTYPE_CRONUSVLN               = 0x8003
-       ETHERTYPE_DCA                     = 0x1234
-       ETHERTYPE_DDE                     = 0x807b
-       ETHERTYPE_DEBNI                   = 0xaaaa
-       ETHERTYPE_DECAM                   = 0x8048
-       ETHERTYPE_DECCUST                 = 0x6006
-       ETHERTYPE_DECDIAG                 = 0x6005
-       ETHERTYPE_DECDNS                  = 0x803c
-       ETHERTYPE_DECDTS                  = 0x803e
-       ETHERTYPE_DECEXPER                = 0x6000
-       ETHERTYPE_DECLAST                 = 0x8041
-       ETHERTYPE_DECLTM                  = 0x803f
-       ETHERTYPE_DECMUMPS                = 0x6009
-       ETHERTYPE_DECNETBIOS              = 0x8040
-       ETHERTYPE_DELTACON                = 0x86de
-       ETHERTYPE_DIDDLE                  = 0x4321
-       ETHERTYPE_DLOG1                   = 0x660
-       ETHERTYPE_DLOG2                   = 0x661
-       ETHERTYPE_DN                      = 0x6003
-       ETHERTYPE_DOGFIGHT                = 0x1989
-       ETHERTYPE_DSMD                    = 0x8039
-       ETHERTYPE_ECMA                    = 0x803
-       ETHERTYPE_ENCRYPT                 = 0x803d
-       ETHERTYPE_ES                      = 0x805d
-       ETHERTYPE_EXCELAN                 = 0x8010
-       ETHERTYPE_EXPERDATA               = 0x8049
-       ETHERTYPE_FLIP                    = 0x8146
-       ETHERTYPE_FLOWCONTROL             = 0x8808
-       ETHERTYPE_FRARP                   = 0x808
-       ETHERTYPE_GENDYN                  = 0x8068
-       ETHERTYPE_HAYES                   = 0x8130
-       ETHERTYPE_HIPPI_FP                = 0x8180
-       ETHERTYPE_HITACHI                 = 0x8820
-       ETHERTYPE_HP                      = 0x8005
-       ETHERTYPE_IEEEPUP                 = 0xa00
-       ETHERTYPE_IEEEPUPAT               = 0xa01
-       ETHERTYPE_IMLBL                   = 0x4c42
-       ETHERTYPE_IMLBLDIAG               = 0x424c
-       ETHERTYPE_IP                      = 0x800
-       ETHERTYPE_IPAS                    = 0x876c
-       ETHERTYPE_IPV6                    = 0x86dd
-       ETHERTYPE_IPX                     = 0x8137
-       ETHERTYPE_IPXNEW                  = 0x8037
-       ETHERTYPE_KALPANA                 = 0x8582
-       ETHERTYPE_LANBRIDGE               = 0x8038
-       ETHERTYPE_LANPROBE                = 0x8888
-       ETHERTYPE_LAT                     = 0x6004
-       ETHERTYPE_LBACK                   = 0x9000
-       ETHERTYPE_LITTLE                  = 0x8060
-       ETHERTYPE_LOGICRAFT               = 0x8148
-       ETHERTYPE_LOOPBACK                = 0x9000
-       ETHERTYPE_MATRA                   = 0x807a
-       ETHERTYPE_MAX                     = 0xffff
-       ETHERTYPE_MERIT                   = 0x807c
-       ETHERTYPE_MICP                    = 0x873a
-       ETHERTYPE_MOPDL                   = 0x6001
-       ETHERTYPE_MOPRC                   = 0x6002
-       ETHERTYPE_MOTOROLA                = 0x818d
-       ETHERTYPE_MPLS                    = 0x8847
-       ETHERTYPE_MPLS_MCAST              = 0x8848
-       ETHERTYPE_MUMPS                   = 0x813f
-       ETHERTYPE_NBPCC                   = 0x3c04
-       ETHERTYPE_NBPCLAIM                = 0x3c09
-       ETHERTYPE_NBPCLREQ                = 0x3c05
-       ETHERTYPE_NBPCLRSP                = 0x3c06
-       ETHERTYPE_NBPCREQ                 = 0x3c02
-       ETHERTYPE_NBPCRSP                 = 0x3c03
-       ETHERTYPE_NBPDG                   = 0x3c07
-       ETHERTYPE_NBPDGB                  = 0x3c08
-       ETHERTYPE_NBPDLTE                 = 0x3c0a
-       ETHERTYPE_NBPRAR                  = 0x3c0c
-       ETHERTYPE_NBPRAS                  = 0x3c0b
-       ETHERTYPE_NBPRST                  = 0x3c0d
-       ETHERTYPE_NBPSCD                  = 0x3c01
-       ETHERTYPE_NBPVCD                  = 0x3c00
-       ETHERTYPE_NBS                     = 0x802
-       ETHERTYPE_NCD                     = 0x8149
-       ETHERTYPE_NESTAR                  = 0x8006
-       ETHERTYPE_NETBEUI                 = 0x8191
-       ETHERTYPE_NOVELL                  = 0x8138
-       ETHERTYPE_NS                      = 0x600
-       ETHERTYPE_NSAT                    = 0x601
-       ETHERTYPE_NSCOMPAT                = 0x807
-       ETHERTYPE_NTRAILER                = 0x10
-       ETHERTYPE_OS9                     = 0x7007
-       ETHERTYPE_OS9NET                  = 0x7009
-       ETHERTYPE_PACER                   = 0x80c6
-       ETHERTYPE_PAE                     = 0x888e
-       ETHERTYPE_PCS                     = 0x4242
-       ETHERTYPE_PLANNING                = 0x8044
-       ETHERTYPE_PPP                     = 0x880b
-       ETHERTYPE_PPPOE                   = 0x8864
-       ETHERTYPE_PPPOEDISC               = 0x8863
-       ETHERTYPE_PRIMENTS                = 0x7031
-       ETHERTYPE_PUP                     = 0x200
-       ETHERTYPE_PUPAT                   = 0x200
-       ETHERTYPE_RACAL                   = 0x7030
-       ETHERTYPE_RATIONAL                = 0x8150
-       ETHERTYPE_RAWFR                   = 0x6559
-       ETHERTYPE_RCL                     = 0x1995
-       ETHERTYPE_RDP                     = 0x8739
-       ETHERTYPE_RETIX                   = 0x80f2
-       ETHERTYPE_REVARP                  = 0x8035
-       ETHERTYPE_SCA                     = 0x6007
-       ETHERTYPE_SECTRA                  = 0x86db
-       ETHERTYPE_SECUREDATA              = 0x876d
-       ETHERTYPE_SGITW                   = 0x817e
-       ETHERTYPE_SG_BOUNCE               = 0x8016
-       ETHERTYPE_SG_DIAG                 = 0x8013
-       ETHERTYPE_SG_NETGAMES             = 0x8014
-       ETHERTYPE_SG_RESV                 = 0x8015
-       ETHERTYPE_SIMNET                  = 0x5208
-       ETHERTYPE_SLOWPROTOCOLS           = 0x8809
-       ETHERTYPE_SNA                     = 0x80d5
-       ETHERTYPE_SNMP                    = 0x814c
-       ETHERTYPE_SONIX                   = 0xfaf5
-       ETHERTYPE_SPIDER                  = 0x809f
-       ETHERTYPE_SPRITE                  = 0x500
-       ETHERTYPE_STP                     = 0x8181
-       ETHERTYPE_TALARIS                 = 0x812b
-       ETHERTYPE_TALARISMC               = 0x852b
-       ETHERTYPE_TCPCOMP                 = 0x876b
-       ETHERTYPE_TCPSM                   = 0x9002
-       ETHERTYPE_TEC                     = 0x814f
-       ETHERTYPE_TIGAN                   = 0x802f
-       ETHERTYPE_TRAIL                   = 0x1000
-       ETHERTYPE_TRANSETHER              = 0x6558
-       ETHERTYPE_TYMSHARE                = 0x802e
-       ETHERTYPE_UBBST                   = 0x7005
-       ETHERTYPE_UBDEBUG                 = 0x900
-       ETHERTYPE_UBDIAGLOOP              = 0x7002
-       ETHERTYPE_UBDL                    = 0x7000
-       ETHERTYPE_UBNIU                   = 0x7001
-       ETHERTYPE_UBNMC                   = 0x7003
-       ETHERTYPE_VALID                   = 0x1600
-       ETHERTYPE_VARIAN                  = 0x80dd
-       ETHERTYPE_VAXELN                  = 0x803b
-       ETHERTYPE_VEECO                   = 0x8067
-       ETHERTYPE_VEXP                    = 0x805b
-       ETHERTYPE_VGLAB                   = 0x8131
-       ETHERTYPE_VINES                   = 0xbad
-       ETHERTYPE_VINESECHO               = 0xbaf
-       ETHERTYPE_VINESLOOP               = 0xbae
-       ETHERTYPE_VITAL                   = 0xff00
-       ETHERTYPE_VLAN                    = 0x8100
-       ETHERTYPE_VLTLMAN                 = 0x8080
-       ETHERTYPE_VPROD                   = 0x805c
-       ETHERTYPE_VURESERVED              = 0x8147
-       ETHERTYPE_WATERLOO                = 0x8130
-       ETHERTYPE_WELLFLEET               = 0x8103
-       ETHERTYPE_X25                     = 0x805
-       ETHERTYPE_X75                     = 0x801
-       ETHERTYPE_XNSSM                   = 0x9001
-       ETHERTYPE_XTP                     = 0x817d
-       ETHER_ADDR_LEN                    = 0x6
-       ETHER_CRC_LEN                     = 0x4
-       ETHER_CRC_POLY_BE                 = 0x4c11db6
-       ETHER_CRC_POLY_LE                 = 0xedb88320
-       ETHER_HDR_LEN                     = 0xe
-       ETHER_MAX_LEN                     = 0x5ee
-       ETHER_MAX_LEN_JUMBO               = 0x233a
-       ETHER_MIN_LEN                     = 0x40
-       ETHER_PPPOE_ENCAP_LEN             = 0x8
-       ETHER_TYPE_LEN                    = 0x2
-       ETHER_VLAN_ENCAP_LEN              = 0x4
-       EVFILT_AIO                        = 0x2
-       EVFILT_PROC                       = 0x4
-       EVFILT_READ                       = 0x0
-       EVFILT_SIGNAL                     = 0x5
-       EVFILT_SYSCOUNT                   = 0x7
-       EVFILT_TIMER                      = 0x6
-       EVFILT_VNODE                      = 0x3
-       EVFILT_WRITE                      = 0x1
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x100
-       FLUSHO                            = 0x800000
-       F_CLOSEM                          = 0xa
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0xc
-       F_FSCTL                           = -0x80000000
-       F_FSDIRMASK                       = 0x70000000
-       F_FSIN                            = 0x10000000
-       F_FSINOUT                         = 0x30000000
-       F_FSOUT                           = 0x20000000
-       F_FSPRIV                          = 0x8000
-       F_FSVOID                          = 0x40000000
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0x7
-       F_GETNOSIGPIPE                    = 0xd
-       F_GETOWN                          = 0x5
-       F_MAXFD                           = 0xb
-       F_OK                              = 0x0
-       F_PARAM_MASK                      = 0xfff
-       F_PARAM_MAX                       = 0xfff
-       F_RDLCK                           = 0x1
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0x8
-       F_SETLKW                          = 0x9
-       F_SETNOSIGPIPE                    = 0xe
-       F_SETOWN                          = 0x6
-       F_UNLCK                           = 0x2
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFAN_ARRIVAL                      = 0x0
-       IFAN_DEPARTURE                    = 0x1
-       IFA_ROUTE                         = 0x1
-       IFF_ALLMULTI                      = 0x200
-       IFF_BROADCAST                     = 0x2
-       IFF_CANTCHANGE                    = 0x8f52
-       IFF_DEBUG                         = 0x4
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_NOTRAILERS                    = 0x20
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PROMISC                       = 0x100
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_A12MPPSWITCH                  = 0x82
-       IFT_AAL2                          = 0xbb
-       IFT_AAL5                          = 0x31
-       IFT_ADSL                          = 0x5e
-       IFT_AFLANE8023                    = 0x3b
-       IFT_AFLANE8025                    = 0x3c
-       IFT_ARAP                          = 0x58
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ASYNC                         = 0x54
-       IFT_ATM                           = 0x25
-       IFT_ATMDXI                        = 0x69
-       IFT_ATMFUNI                       = 0x6a
-       IFT_ATMIMA                        = 0x6b
-       IFT_ATMLOGICAL                    = 0x50
-       IFT_ATMRADIO                      = 0xbd
-       IFT_ATMSUBINTERFACE               = 0x86
-       IFT_ATMVCIENDPT                   = 0xc2
-       IFT_ATMVIRTUAL                    = 0x95
-       IFT_BGPPOLICYACCOUNTING           = 0xa2
-       IFT_BRIDGE                        = 0xd1
-       IFT_BSC                           = 0x53
-       IFT_CARP                          = 0xf8
-       IFT_CCTEMUL                       = 0x3d
-       IFT_CEPT                          = 0x13
-       IFT_CES                           = 0x85
-       IFT_CHANNEL                       = 0x46
-       IFT_CNR                           = 0x55
-       IFT_COFFEE                        = 0x84
-       IFT_COMPOSITELINK                 = 0x9b
-       IFT_DCN                           = 0x8d
-       IFT_DIGITALPOWERLINE              = 0x8a
-       IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
-       IFT_DLSW                          = 0x4a
-       IFT_DOCSCABLEDOWNSTREAM           = 0x80
-       IFT_DOCSCABLEMACLAYER             = 0x7f
-       IFT_DOCSCABLEUPSTREAM             = 0x81
-       IFT_DOCSCABLEUPSTREAMCHANNEL      = 0xcd
-       IFT_DS0                           = 0x51
-       IFT_DS0BUNDLE                     = 0x52
-       IFT_DS1FDL                        = 0xaa
-       IFT_DS3                           = 0x1e
-       IFT_DTM                           = 0x8c
-       IFT_DVBASILN                      = 0xac
-       IFT_DVBASIOUT                     = 0xad
-       IFT_DVBRCCDOWNSTREAM              = 0x93
-       IFT_DVBRCCMACLAYER                = 0x92
-       IFT_DVBRCCUPSTREAM                = 0x94
-       IFT_ECONET                        = 0xce
-       IFT_EON                           = 0x19
-       IFT_EPLRS                         = 0x57
-       IFT_ESCON                         = 0x49
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0xf2
-       IFT_FAST                          = 0x7d
-       IFT_FASTETHER                     = 0x3e
-       IFT_FASTETHERFX                   = 0x45
-       IFT_FDDI                          = 0xf
-       IFT_FIBRECHANNEL                  = 0x38
-       IFT_FRAMERELAYINTERCONNECT        = 0x3a
-       IFT_FRAMERELAYMPI                 = 0x5c
-       IFT_FRDLCIENDPT                   = 0xc1
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_FRF16MFRBUNDLE                = 0xa3
-       IFT_FRFORWARD                     = 0x9e
-       IFT_G703AT2MB                     = 0x43
-       IFT_G703AT64K                     = 0x42
-       IFT_GIF                           = 0xf0
-       IFT_GIGABITETHERNET               = 0x75
-       IFT_GR303IDT                      = 0xb2
-       IFT_GR303RDT                      = 0xb1
-       IFT_H323GATEKEEPER                = 0xa4
-       IFT_H323PROXY                     = 0xa5
-       IFT_HDH1822                       = 0x3
-       IFT_HDLC                          = 0x76
-       IFT_HDSL2                         = 0xa8
-       IFT_HIPERLAN2                     = 0xb7
-       IFT_HIPPI                         = 0x2f
-       IFT_HIPPIINTERFACE                = 0x39
-       IFT_HOSTPAD                       = 0x5a
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IBM370PARCHAN                 = 0x48
-       IFT_IDSL                          = 0x9a
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE80211                     = 0x47
-       IFT_IEEE80212                     = 0x37
-       IFT_IEEE8023ADLAG                 = 0xa1
-       IFT_IFGSN                         = 0x91
-       IFT_IMT                           = 0xbe
-       IFT_INFINIBAND                    = 0xc7
-       IFT_INTERLEAVE                    = 0x7c
-       IFT_IP                            = 0x7e
-       IFT_IPFORWARD                     = 0x8e
-       IFT_IPOVERATM                     = 0x72
-       IFT_IPOVERCDLC                    = 0x6d
-       IFT_IPOVERCLAW                    = 0x6e
-       IFT_IPSWITCH                      = 0x4e
-       IFT_ISDN                          = 0x3f
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISDNS                         = 0x4b
-       IFT_ISDNU                         = 0x4c
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88025CRFPINT               = 0x62
-       IFT_ISO88025DTR                   = 0x56
-       IFT_ISO88025FIBER                 = 0x73
-       IFT_ISO88026                      = 0xa
-       IFT_ISUP                          = 0xb3
-       IFT_L2VLAN                        = 0x87
-       IFT_L3IPVLAN                      = 0x88
-       IFT_L3IPXVLAN                     = 0x89
-       IFT_LAPB                          = 0x10
-       IFT_LAPD                          = 0x4d
-       IFT_LAPF                          = 0x77
-       IFT_LINEGROUP                     = 0xd2
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MEDIAMAILOVERIP               = 0x8b
-       IFT_MFSIGLINK                     = 0xa7
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_MPC                           = 0x71
-       IFT_MPLS                          = 0xa6
-       IFT_MPLSTUNNEL                    = 0x96
-       IFT_MSDSL                         = 0x8f
-       IFT_MVL                           = 0xbf
-       IFT_MYRINET                       = 0x63
-       IFT_NFAS                          = 0xaf
-       IFT_NSIP                          = 0x1b
-       IFT_OPTICALCHANNEL                = 0xc3
-       IFT_OPTICALTRANSPORT              = 0xc4
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PFLOG                         = 0xf5
-       IFT_PFSYNC                        = 0xf6
-       IFT_PLC                           = 0xae
-       IFT_PON155                        = 0xcf
-       IFT_PON622                        = 0xd0
-       IFT_POS                           = 0xab
-       IFT_PPP                           = 0x17
-       IFT_PPPMULTILINKBUNDLE            = 0x6c
-       IFT_PROPATM                       = 0xc5
-       IFT_PROPBWAP2MP                   = 0xb8
-       IFT_PROPCNLS                      = 0x59
-       IFT_PROPDOCSWIRELESSDOWNSTREAM    = 0xb5
-       IFT_PROPDOCSWIRELESSMACLAYER      = 0xb4
-       IFT_PROPDOCSWIRELESSUPSTREAM      = 0xb6
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PROPWIRELESSP2P               = 0x9d
-       IFT_PTPSERIAL                     = 0x16
-       IFT_PVC                           = 0xf1
-       IFT_Q2931                         = 0xc9
-       IFT_QLLC                          = 0x44
-       IFT_RADIOMAC                      = 0xbc
-       IFT_RADSL                         = 0x5f
-       IFT_REACHDSL                      = 0xc0
-       IFT_RFC1483                       = 0x9f
-       IFT_RS232                         = 0x21
-       IFT_RSRB                          = 0x4f
-       IFT_SDLC                          = 0x11
-       IFT_SDSL                          = 0x60
-       IFT_SHDSL                         = 0xa9
-       IFT_SIP                           = 0x1f
-       IFT_SIPSIG                        = 0xcc
-       IFT_SIPTG                         = 0xcb
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETOVERHEADCHANNEL          = 0xb9
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_SRP                           = 0x97
-       IFT_SS7SIGLINK                    = 0x9c
-       IFT_STACKTOSTACK                  = 0x6f
-       IFT_STARLAN                       = 0xb
-       IFT_STF                           = 0xd7
-       IFT_T1                            = 0x12
-       IFT_TDLC                          = 0x74
-       IFT_TELINK                        = 0xc8
-       IFT_TERMPAD                       = 0x5b
-       IFT_TR008                         = 0xb0
-       IFT_TRANSPHDLC                    = 0x7b
-       IFT_TUNNEL                        = 0x83
-       IFT_ULTRA                         = 0x1d
-       IFT_USB                           = 0xa0
-       IFT_V11                           = 0x40
-       IFT_V35                           = 0x2d
-       IFT_V36                           = 0x41
-       IFT_V37                           = 0x78
-       IFT_VDSL                          = 0x61
-       IFT_VIRTUALIPADDRESS              = 0x70
-       IFT_VIRTUALTG                     = 0xca
-       IFT_VOICEDID                      = 0xd5
-       IFT_VOICEEM                       = 0x64
-       IFT_VOICEEMFGD                    = 0xd3
-       IFT_VOICEENCAP                    = 0x67
-       IFT_VOICEFGDEANA                  = 0xd4
-       IFT_VOICEFXO                      = 0x65
-       IFT_VOICEFXS                      = 0x66
-       IFT_VOICEOVERATM                  = 0x98
-       IFT_VOICEOVERCABLE                = 0xc6
-       IFT_VOICEOVERFRAMERELAY           = 0x99
-       IFT_VOICEOVERIP                   = 0x68
-       IFT_X213                          = 0x5d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25HUNTGROUP                  = 0x7a
-       IFT_X25MLP                        = 0x79
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LOOPBACKNET                    = 0x7f
-       IPPROTO_AH                        = 0x33
-       IPPROTO_CARP                      = 0x70
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_IPV6_ICMP                 = 0x3a
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x34
-       IPPROTO_MOBILE                    = 0x37
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_PFSYNC                    = 0xf0
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_UDP                       = 0x11
-       IPPROTO_VRRP                      = 0x70
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_DONTFRAG                     = 0x3e
-       IPV6_DSTOPTS                      = 0x32
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x78
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_HOPLIMIT                     = 0x2f
-       IPV6_HOPOPTS                      = 0x31
-       IPV6_IPSEC_POLICY                 = 0x1c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MMTU                         = 0x500
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_NEXTHOP                      = 0x30
-       IPV6_PATHMTU                      = 0x2c
-       IPV6_PKTINFO                      = 0x2e
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_RECVDSTOPTS                  = 0x28
-       IPV6_RECVHOPLIMIT                 = 0x25
-       IPV6_RECVHOPOPTS                  = 0x27
-       IPV6_RECVPATHMTU                  = 0x2b
-       IPV6_RECVPKTINFO                  = 0x24
-       IPV6_RECVRTHDR                    = 0x26
-       IPV6_RECVTCLASS                   = 0x39
-       IPV6_RTHDR                        = 0x33
-       IPV6_RTHDRDSTOPTS                 = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x3d
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_USE_MIN_MTU                  = 0x2a
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_EF                             = 0x8000
-       IP_ERRORMTU                       = 0x15
-       IP_HDRINCL                        = 0x2
-       IP_IPSEC_POLICY                   = 0x16
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_MEMBERSHIPS                = 0x14
-       IP_MF                             = 0x2000
-       IP_MINFRAGSIZE                    = 0x45
-       IP_MINTTL                         = 0x18
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_OFFMASK                        = 0x1fff
-       IP_OPTIONS                        = 0x1
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVIF                         = 0x14
-       IP_RECVOPTS                       = 0x5
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVTTL                        = 0x17
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_TOS                            = 0x3
-       IP_TTL                            = 0x4
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x6
-       MADV_NORMAL                       = 0x0
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_SPACEAVAIL                   = 0x5
-       MADV_WILLNEED                     = 0x3
-       MAP_ALIGNMENT_16MB                = 0x18000000
-       MAP_ALIGNMENT_1TB                 = 0x28000000
-       MAP_ALIGNMENT_256TB               = 0x30000000
-       MAP_ALIGNMENT_4GB                 = 0x20000000
-       MAP_ALIGNMENT_64KB                = 0x10000000
-       MAP_ALIGNMENT_64PB                = 0x38000000
-       MAP_ALIGNMENT_MASK                = -0x1000000
-       MAP_ALIGNMENT_SHIFT               = 0x18
-       MAP_ANON                          = 0x1000
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_INHERIT                       = 0x80
-       MAP_INHERIT_COPY                  = 0x1
-       MAP_INHERIT_DEFAULT               = 0x1
-       MAP_INHERIT_DONATE_COPY           = 0x3
-       MAP_INHERIT_NONE                  = 0x2
-       MAP_INHERIT_SHARE                 = 0x0
-       MAP_NORESERVE                     = 0x40
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_SHARED                        = 0x1
-       MAP_STACK                         = 0x2000
-       MAP_TRYFIXED                      = 0x400
-       MAP_WIRED                         = 0x800
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_BCAST                         = 0x100
-       MSG_CMSG_CLOEXEC                  = 0x800
-       MSG_CONTROLMBUF                   = 0x2000000
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOR                           = 0x8
-       MSG_IOVUSRSPACE                   = 0x4000000
-       MSG_LENUSRSPACE                   = 0x8000000
-       MSG_MCAST                         = 0x200
-       MSG_NAMEMBUF                      = 0x1000000
-       MSG_NBIO                          = 0x1000
-       MSG_NOSIGNAL                      = 0x400
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_TRUNC                         = 0x10
-       MSG_USERFLAGS                     = 0xffffff
-       MSG_WAITALL                       = 0x40
-       MS_ASYNC                          = 0x1
-       MS_INVALIDATE                     = 0x2
-       MS_SYNC                           = 0x4
-       NAME_MAX                          = 0x1ff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x5
-       NET_RT_MAXID                      = 0x6
-       NET_RT_OIFLIST                    = 0x4
-       NET_RT_OOIFLIST                   = 0x3
-       NOFLSH                            = 0x80000000
-       NOTE_ATTRIB                       = 0x8
-       NOTE_CHILD                        = 0x4
-       NOTE_DELETE                       = 0x1
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FORK                         = 0x40000000
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_PCTRLMASK                    = 0xf0000000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       OFIOGETBMAP                       = 0xc004667a
-       ONLCR                             = 0x2
-       ONLRET                            = 0x40
-       ONOCR                             = 0x20
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_ALT_IO                          = 0x40000
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x400000
-       O_CREAT                           = 0x200
-       O_DIRECT                          = 0x80000
-       O_DIRECTORY                       = 0x200000
-       O_DSYNC                           = 0x10000
-       O_EXCL                            = 0x800
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x8000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_NOSIGPIPE                       = 0x1000000
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_RSYNC                           = 0x20000
-       O_SHLOCK                          = 0x10
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PRI_IOFLUSH                       = 0x7c
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       RLIMIT_AS                         = 0xa
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_MAX                          = 0x9
-       RTAX_NETMASK                      = 0x2
-       RTAX_TAG                          = 0x8
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_NETMASK                       = 0x4
-       RTA_TAG                           = 0x100
-       RTF_ANNOUNCE                      = 0x20000
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_CLONED                        = 0x2000
-       RTF_CLONING                       = 0x100
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_GATEWAY                       = 0x2
-       RTF_HOST                          = 0x4
-       RTF_LLINFO                        = 0x400
-       RTF_MASK                          = 0x80
-       RTF_MODIFIED                      = 0x20
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_REJECT                        = 0x8
-       RTF_SRC                           = 0x10000
-       RTF_STATIC                        = 0x800
-       RTF_UP                            = 0x1
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_CHGADDR                       = 0x15
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_GET                           = 0x4
-       RTM_IEEE80211                     = 0x11
-       RTM_IFANNOUNCE                    = 0x10
-       RTM_IFINFO                        = 0x14
-       RTM_LLINFO_UPD                    = 0x13
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_OIFINFO                       = 0xf
-       RTM_OLDADD                        = 0x9
-       RTM_OLDDEL                        = 0xa
-       RTM_OOIFINFO                      = 0xe
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_SETGATE                       = 0x12
-       RTM_VERSION                       = 0x4
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       SCM_CREDS                         = 0x4
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x8
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80906931
-       SIOCADDRT                         = 0x8030720a
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCALIFADDR                      = 0x8118691c
-       SIOCATMARK                        = 0x40047307
-       SIOCDELMULTI                      = 0x80906932
-       SIOCDELRT                         = 0x8030720b
-       SIOCDIFADDR                       = 0x80906919
-       SIOCDIFPHYADDR                    = 0x80906949
-       SIOCDLIFADDR                      = 0x8118691e
-       SIOCGDRVSPEC                      = 0xc01c697b
-       SIOCGETPFSYNC                     = 0xc09069f8
-       SIOCGETSGCNT                      = 0xc0147534
-       SIOCGETVIFCNT                     = 0xc0147533
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0906921
-       SIOCGIFADDRPREF                   = 0xc0946920
-       SIOCGIFALIAS                      = 0xc040691b
-       SIOCGIFBRDADDR                    = 0xc0906923
-       SIOCGIFCAP                        = 0xc0206976
-       SIOCGIFCONF                       = 0xc0086926
-       SIOCGIFDATA                       = 0xc0946985
-       SIOCGIFDLT                        = 0xc0906977
-       SIOCGIFDSTADDR                    = 0xc0906922
-       SIOCGIFFLAGS                      = 0xc0906911
-       SIOCGIFGENERIC                    = 0xc090693a
-       SIOCGIFMEDIA                      = 0xc0286936
-       SIOCGIFMETRIC                     = 0xc0906917
-       SIOCGIFMTU                        = 0xc090697e
-       SIOCGIFNETMASK                    = 0xc0906925
-       SIOCGIFPDSTADDR                   = 0xc0906948
-       SIOCGIFPSRCADDR                   = 0xc0906947
-       SIOCGLIFADDR                      = 0xc118691d
-       SIOCGLIFPHYADDR                   = 0xc118694b
-       SIOCGLINKSTR                      = 0xc01c6987
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCGVH                           = 0xc0906983
-       SIOCIFCREATE                      = 0x8090697a
-       SIOCIFDESTROY                     = 0x80906979
-       SIOCIFGCLONERS                    = 0xc00c6978
-       SIOCINITIFADDR                    = 0xc0446984
-       SIOCSDRVSPEC                      = 0x801c697b
-       SIOCSETPFSYNC                     = 0x809069f7
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8090690c
-       SIOCSIFADDRPREF                   = 0x8094691f
-       SIOCSIFBRDADDR                    = 0x80906913
-       SIOCSIFCAP                        = 0x80206975
-       SIOCSIFDSTADDR                    = 0x8090690e
-       SIOCSIFFLAGS                      = 0x80906910
-       SIOCSIFGENERIC                    = 0x80906939
-       SIOCSIFMEDIA                      = 0xc0906935
-       SIOCSIFMETRIC                     = 0x80906918
-       SIOCSIFMTU                        = 0x8090697f
-       SIOCSIFNETMASK                    = 0x80906916
-       SIOCSIFPHYADDR                    = 0x80406946
-       SIOCSLIFPHYADDR                   = 0x8118694a
-       SIOCSLINKSTR                      = 0x801c6988
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SIOCSVH                           = 0xc0906982
-       SIOCZIFDATA                       = 0xc0946986
-       SOCK_CLOEXEC                      = 0x10000000
-       SOCK_DGRAM                        = 0x2
-       SOCK_FLAGS_MASK                   = 0xf0000000
-       SOCK_NONBLOCK                     = 0x20000000
-       SOCK_NOSIGPIPE                    = 0x40000000
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_ACCEPTFILTER                   = 0x1000
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LINGER                         = 0x80
-       SO_NOHEADER                       = 0x100a
-       SO_NOSIGPIPE                      = 0x800
-       SO_OOBINLINE                      = 0x100
-       SO_OVERFLOWED                     = 0x1009
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x100c
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x100b
-       SO_TIMESTAMP                      = 0x2000
-       SO_TYPE                           = 0x1008
-       SO_USELOOPBACK                    = 0x40
-       SYSCTL_VERSION                    = 0x1000000
-       SYSCTL_VERS_0                     = 0x0
-       SYSCTL_VERS_1                     = 0x1000000
-       SYSCTL_VERS_MASK                  = 0xff000000
-       S_ARCH1                           = 0x10000
-       S_ARCH2                           = 0x20000
-       S_BLKSIZE                         = 0x200
-       S_IEXEC                           = 0x40
-       S_IFBLK                           = 0x6000
-       S_IFCHR                           = 0x2000
-       S_IFDIR                           = 0x4000
-       S_IFIFO                           = 0x1000
-       S_IFLNK                           = 0xa000
-       S_IFMT                            = 0xf000
-       S_IFREG                           = 0x8000
-       S_IFSOCK                          = 0xc000
-       S_IFWHT                           = 0xe000
-       S_IREAD                           = 0x100
-       S_IRGRP                           = 0x20
-       S_IROTH                           = 0x4
-       S_IRUSR                           = 0x100
-       S_IRWXG                           = 0x38
-       S_IRWXO                           = 0x7
-       S_IRWXU                           = 0x1c0
-       S_ISGID                           = 0x400
-       S_ISTXT                           = 0x200
-       S_ISUID                           = 0x800
-       S_ISVTX                           = 0x200
-       S_IWGRP                           = 0x10
-       S_IWOTH                           = 0x2
-       S_IWRITE                          = 0x80
-       S_IWUSR                           = 0x80
-       S_IXGRP                           = 0x8
-       S_IXOTH                           = 0x1
-       S_IXUSR                           = 0x40
-       S_LOGIN_SET                       = 0x1
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_CONGCTL                       = 0x20
-       TCP_KEEPCNT                       = 0x6
-       TCP_KEEPIDLE                      = 0x3
-       TCP_KEEPINIT                      = 0x7
-       TCP_KEEPINTVL                     = 0x5
-       TCP_MAXBURST                      = 0x4
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MD5SIG                        = 0x10
-       TCP_MINMSS                        = 0xd8
-       TCP_MSS                           = 0x218
-       TCP_NODELAY                       = 0x1
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDCDTIMESTAMP                  = 0x400c7458
-       TIOCDRAIN                         = 0x2000745e
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLAG_CDTRCTS                  = 0x10
-       TIOCFLAG_CLOCAL                   = 0x2
-       TIOCFLAG_CRTSCTS                  = 0x4
-       TIOCFLAG_MDMBUF                   = 0x8
-       TIOCFLAG_SOFTCAR                  = 0x1
-       TIOCFLUSH                         = 0x80047410
-       TIOCGETA                          = 0x402c7413
-       TIOCGETD                          = 0x4004741a
-       TIOCGFLAGS                        = 0x4004745d
-       TIOCGLINED                        = 0x40207442
-       TIOCGPGRP                         = 0x40047477
-       TIOCGQSIZE                        = 0x40047481
-       TIOCGRANTPT                       = 0x20007447
-       TIOCGSID                          = 0x40047463
-       TIOCGSIZE                         = 0x40087468
-       TIOCGWINSZ                        = 0x40087468
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGET                          = 0x4004746a
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCPTMGET                        = 0x40287446
-       TIOCPTSNAME                       = 0x40287448
-       TIOCRCVFRAME                      = 0x80047445
-       TIOCREMOTE                        = 0x80047469
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x802c7414
-       TIOCSETAF                         = 0x802c7416
-       TIOCSETAW                         = 0x802c7415
-       TIOCSETD                          = 0x8004741b
-       TIOCSFLAGS                        = 0x8004745c
-       TIOCSIG                           = 0x2000745f
-       TIOCSLINED                        = 0x80207443
-       TIOCSPGRP                         = 0x80047476
-       TIOCSQSIZE                        = 0x80047480
-       TIOCSSIZE                         = 0x80087467
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x80047465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSWINSZ                        = 0x80087467
-       TIOCUCNTL                         = 0x80047466
-       TIOCXMTFRAME                      = 0x80047444
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WALL                              = 0x8
-       WALLSIG                           = 0x8
-       WALTSIG                           = 0x4
-       WCLONE                            = 0x4
-       WCOREFLAG                         = 0x80
-       WNOHANG                           = 0x1
-       WNOWAIT                           = 0x10000
-       WNOZOMBIE                         = 0x20000
-       WOPTSCHECKED                      = 0x40000
-       WSTOPPED                          = 0x7f
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADF           = syscall.Errno(0x9)
-       EBADMSG         = syscall.Errno(0x58)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x57)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDOM            = syscall.Errno(0x21)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x52)
-       EILSEQ          = syscall.Errno(0x55)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x60)
-       ELOOP           = syscall.Errno(0x3e)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       EMULTIHOP       = syscall.Errno(0x5e)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x5d)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODATA         = syscall.Errno(0x59)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOLINK         = syscall.Errno(0x5f)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x53)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x5a)
-       ENOSTR          = syscall.Errno(0x5b)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x56)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x2d)
-       EOVERFLOW       = syscall.Errno(0x54)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTO          = syscall.Errno(0x60)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIME           = syscall.Errno(0x5c)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGPWR    = syscall.Signal(0x20)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:  "operation not permitted",
-       2:  "no such file or directory",
-       3:  "no such process",
-       4:  "interrupted system call",
-       5:  "input/output error",
-       6:  "device not configured",
-       7:  "argument list too long",
-       8:  "exec format error",
-       9:  "bad file descriptor",
-       10: "no child processes",
-       11: "resource deadlock avoided",
-       12: "cannot allocate memory",
-       13: "permission denied",
-       14: "bad address",
-       15: "block device required",
-       16: "device busy",
-       17: "file exists",
-       18: "cross-device link",
-       19: "operation not supported by device",
-       20: "not a directory",
-       21: "is a directory",
-       22: "invalid argument",
-       23: "too many open files in system",
-       24: "too many open files",
-       25: "inappropriate ioctl for device",
-       26: "text file busy",
-       27: "file too large",
-       28: "no space left on device",
-       29: "illegal seek",
-       30: "read-only file system",
-       31: "too many links",
-       32: "broken pipe",
-       33: "numerical argument out of domain",
-       34: "result too large or too small",
-       35: "resource temporarily unavailable",
-       36: "operation now in progress",
-       37: "operation already in progress",
-       38: "socket operation on non-socket",
-       39: "destination address required",
-       40: "message too long",
-       41: "protocol wrong type for socket",
-       42: "protocol option not available",
-       43: "protocol not supported",
-       44: "socket type not supported",
-       45: "operation not supported",
-       46: "protocol family not supported",
-       47: "address family not supported by protocol family",
-       48: "address already in use",
-       49: "can't assign requested address",
-       50: "network is down",
-       51: "network is unreachable",
-       52: "network dropped connection on reset",
-       53: "software caused connection abort",
-       54: "connection reset by peer",
-       55: "no buffer space available",
-       56: "socket is already connected",
-       57: "socket is not connected",
-       58: "can't send after socket shutdown",
-       59: "too many references: can't splice",
-       60: "connection timed out",
-       61: "connection refused",
-       62: "too many levels of symbolic links",
-       63: "file name too long",
-       64: "host is down",
-       65: "no route to host",
-       66: "directory not empty",
-       67: "too many processes",
-       68: "too many users",
-       69: "disc quota exceeded",
-       70: "stale NFS file handle",
-       71: "too many levels of remote in path",
-       72: "RPC struct is bad",
-       73: "RPC version wrong",
-       74: "RPC prog. not avail",
-       75: "program version wrong",
-       76: "bad procedure for program",
-       77: "no locks available",
-       78: "function not implemented",
-       79: "inappropriate file type or format",
-       80: "authentication error",
-       81: "need authenticator",
-       82: "identifier removed",
-       83: "no message of desired type",
-       84: "value too large to be stored in data type",
-       85: "illegal byte sequence",
-       86: "not supported",
-       87: "operation Canceled",
-       88: "bad or Corrupt message",
-       89: "no message available",
-       90: "no STREAM resources",
-       91: "not a STREAM",
-       92: "STREAM ioctl timeout",
-       93: "attribute not found",
-       94: "multihop attempted",
-       95: "link has been severed",
-       96: "protocol error",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "stopped (signal)",
-       18: "stopped",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-       32: "power fail/restart",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go
deleted file mode 100644 (file)
index 4994437..0000000
+++ /dev/null
@@ -1,1702 +0,0 @@
-// mkerrors.sh -m64
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build amd64,netbsd
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m64 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_ARP                            = 0x1c
-       AF_BLUETOOTH                      = 0x1f
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1a
-       AF_ECMA                           = 0x8
-       AF_HYLINK                         = 0xf
-       AF_IEEE80211                      = 0x20
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x18
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1a
-       AF_ISO                            = 0x7
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x23
-       AF_MPLS                           = 0x21
-       AF_NATM                           = 0x1b
-       AF_NS                             = 0x6
-       AF_OROUTE                         = 0x11
-       AF_OSI                            = 0x7
-       AF_PUP                            = 0x4
-       AF_ROUTE                          = 0x22
-       AF_SNA                            = 0xb
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       ARPHRD_ARCNET                     = 0x7
-       ARPHRD_ETHER                      = 0x1
-       ARPHRD_FRELAY                     = 0xf
-       ARPHRD_IEEE1394                   = 0x18
-       ARPHRD_IEEE802                    = 0x6
-       ARPHRD_STRIP                      = 0x17
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B460800                           = 0x70800
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B921600                           = 0xe1000
-       B9600                             = 0x2580
-       BIOCFEEDBACK                      = 0x8004427d
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc0104277
-       BIOCGETIF                         = 0x4090426b
-       BIOCGFEEDBACK                     = 0x4004427c
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRTIMEOUT                     = 0x4010427b
-       BIOCGSEESENT                      = 0x40044278
-       BIOCGSTATS                        = 0x4080426f
-       BIOCGSTATSOLD                     = 0x4008426f
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCPROMISC                       = 0x20004269
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDLT                          = 0x80044276
-       BIOCSETF                          = 0x80104267
-       BIOCSETIF                         = 0x8090426c
-       BIOCSFEEDBACK                     = 0x8004427d
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRTIMEOUT                     = 0x8010427a
-       BIOCSSEESENT                      = 0x80044279
-       BIOCSTCPF                         = 0x80104272
-       BIOCSUDPF                         = 0x80104273
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x8
-       BPF_ALIGNMENT32                   = 0x4
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_DFLTBUFSIZE                   = 0x100000
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x1000000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CLONE_CSIGNAL                     = 0xff
-       CLONE_FILES                       = 0x400
-       CLONE_FS                          = 0x200
-       CLONE_PID                         = 0x1000
-       CLONE_PTRACE                      = 0x2000
-       CLONE_SIGHAND                     = 0x800
-       CLONE_VFORK                       = 0x4000
-       CLONE_VM                          = 0x100
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0x14
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0xc
-       CTL_NET                           = 0x4
-       CTL_QUERY                         = -0x2
-       DIOCBSFLUSH                       = 0x20006478
-       DLT_A429                          = 0xb8
-       DLT_A653_ICM                      = 0xb9
-       DLT_AIRONET_HEADER                = 0x78
-       DLT_AOS                           = 0xde
-       DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
-       DLT_ARCNET                        = 0x7
-       DLT_ARCNET_LINUX                  = 0x81
-       DLT_ATM_CLIP                      = 0x13
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AURORA                        = 0x7e
-       DLT_AX25                          = 0x3
-       DLT_AX25_KISS                     = 0xca
-       DLT_BACNET_MS_TP                  = 0xa5
-       DLT_BLUETOOTH_HCI_H4              = 0xbb
-       DLT_BLUETOOTH_HCI_H4_WITH_PHDR    = 0xc9
-       DLT_CAN20B                        = 0xbe
-       DLT_CAN_SOCKETCAN                 = 0xe3
-       DLT_CHAOS                         = 0x5
-       DLT_CISCO_IOS                     = 0x76
-       DLT_C_HDLC                        = 0x68
-       DLT_C_HDLC_WITH_DIR               = 0xcd
-       DLT_DECT                          = 0xdd
-       DLT_DOCSIS                        = 0x8f
-       DLT_ECONET                        = 0x73
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0x6d
-       DLT_ERF                           = 0xc5
-       DLT_ERF_ETH                       = 0xaf
-       DLT_ERF_POS                       = 0xb0
-       DLT_FC_2                          = 0xe0
-       DLT_FC_2_WITH_FRAME_DELIMS        = 0xe1
-       DLT_FDDI                          = 0xa
-       DLT_FLEXRAY                       = 0xd2
-       DLT_FRELAY                        = 0x6b
-       DLT_FRELAY_WITH_DIR               = 0xce
-       DLT_GCOM_SERIAL                   = 0xad
-       DLT_GCOM_T1E1                     = 0xac
-       DLT_GPF_F                         = 0xab
-       DLT_GPF_T                         = 0xaa
-       DLT_GPRS_LLC                      = 0xa9
-       DLT_GSMTAP_ABIS                   = 0xda
-       DLT_GSMTAP_UM                     = 0xd9
-       DLT_HDLC                          = 0x10
-       DLT_HHDLC                         = 0x79
-       DLT_HIPPI                         = 0xf
-       DLT_IBM_SN                        = 0x92
-       DLT_IBM_SP                        = 0x91
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_IEEE802_11_RADIO_AVS          = 0xa3
-       DLT_IEEE802_15_4                  = 0xc3
-       DLT_IEEE802_15_4_LINUX            = 0xbf
-       DLT_IEEE802_15_4_NONASK_PHY       = 0xd7
-       DLT_IEEE802_16_MAC_CPS            = 0xbc
-       DLT_IEEE802_16_MAC_CPS_RADIO      = 0xc1
-       DLT_IPMB                          = 0xc7
-       DLT_IPMB_LINUX                    = 0xd1
-       DLT_IPNET                         = 0xe2
-       DLT_IPV4                          = 0xe4
-       DLT_IPV6                          = 0xe5
-       DLT_IP_OVER_FC                    = 0x7a
-       DLT_JUNIPER_ATM1                  = 0x89
-       DLT_JUNIPER_ATM2                  = 0x87
-       DLT_JUNIPER_CHDLC                 = 0xb5
-       DLT_JUNIPER_ES                    = 0x84
-       DLT_JUNIPER_ETHER                 = 0xb2
-       DLT_JUNIPER_FRELAY                = 0xb4
-       DLT_JUNIPER_GGSN                  = 0x85
-       DLT_JUNIPER_ISM                   = 0xc2
-       DLT_JUNIPER_MFR                   = 0x86
-       DLT_JUNIPER_MLFR                  = 0x83
-       DLT_JUNIPER_MLPPP                 = 0x82
-       DLT_JUNIPER_MONITOR               = 0xa4
-       DLT_JUNIPER_PIC_PEER              = 0xae
-       DLT_JUNIPER_PPP                   = 0xb3
-       DLT_JUNIPER_PPPOE                 = 0xa7
-       DLT_JUNIPER_PPPOE_ATM             = 0xa8
-       DLT_JUNIPER_SERVICES              = 0x88
-       DLT_JUNIPER_ST                    = 0xc8
-       DLT_JUNIPER_VP                    = 0xb7
-       DLT_LAPB_WITH_DIR                 = 0xcf
-       DLT_LAPD                          = 0xcb
-       DLT_LIN                           = 0xd4
-       DLT_LINUX_EVDEV                   = 0xd8
-       DLT_LINUX_IRDA                    = 0x90
-       DLT_LINUX_LAPD                    = 0xb1
-       DLT_LINUX_SLL                     = 0x71
-       DLT_LOOP                          = 0x6c
-       DLT_LTALK                         = 0x72
-       DLT_MFR                           = 0xb6
-       DLT_MOST                          = 0xd3
-       DLT_MPLS                          = 0xdb
-       DLT_MTP2                          = 0x8c
-       DLT_MTP2_WITH_PHDR                = 0x8b
-       DLT_MTP3                          = 0x8d
-       DLT_NULL                          = 0x0
-       DLT_PCI_EXP                       = 0x7d
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x12
-       DLT_PPI                           = 0xc0
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0xe
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_PPPD                      = 0xa6
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PPP_WITH_DIR                  = 0xcc
-       DLT_PRISM_HEADER                  = 0x77
-       DLT_PRONET                        = 0x4
-       DLT_RAIF1                         = 0xc6
-       DLT_RAW                           = 0xc
-       DLT_RAWAF_MASK                    = 0x2240000
-       DLT_RIO                           = 0x7c
-       DLT_SCCP                          = 0x8e
-       DLT_SITA                          = 0xc4
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xd
-       DLT_SUNATM                        = 0x7b
-       DLT_SYMANTEC_FIREWALL             = 0x63
-       DLT_TZSP                          = 0x80
-       DLT_USB                           = 0xba
-       DLT_USB_LINUX                     = 0xbd
-       DLT_USB_LINUX_MMAPPED             = 0xdc
-       DLT_WIHART                        = 0xdf
-       DLT_X2E_SERIAL                    = 0xd5
-       DLT_X2E_XORAYA                    = 0xd6
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       DT_WHT                            = 0xe
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EMUL_LINUX                        = 0x1
-       EMUL_LINUX32                      = 0x5
-       EMUL_MAXID                        = 0x6
-       ETHERCAP_JUMBO_MTU                = 0x4
-       ETHERCAP_VLAN_HWTAGGING           = 0x2
-       ETHERCAP_VLAN_MTU                 = 0x1
-       ETHERMIN                          = 0x2e
-       ETHERMTU                          = 0x5dc
-       ETHERMTU_JUMBO                    = 0x2328
-       ETHERTYPE_8023                    = 0x4
-       ETHERTYPE_AARP                    = 0x80f3
-       ETHERTYPE_ACCTON                  = 0x8390
-       ETHERTYPE_AEONIC                  = 0x8036
-       ETHERTYPE_ALPHA                   = 0x814a
-       ETHERTYPE_AMBER                   = 0x6008
-       ETHERTYPE_AMOEBA                  = 0x8145
-       ETHERTYPE_APOLLO                  = 0x80f7
-       ETHERTYPE_APOLLODOMAIN            = 0x8019
-       ETHERTYPE_APPLETALK               = 0x809b
-       ETHERTYPE_APPLITEK                = 0x80c7
-       ETHERTYPE_ARGONAUT                = 0x803a
-       ETHERTYPE_ARP                     = 0x806
-       ETHERTYPE_AT                      = 0x809b
-       ETHERTYPE_ATALK                   = 0x809b
-       ETHERTYPE_ATOMIC                  = 0x86df
-       ETHERTYPE_ATT                     = 0x8069
-       ETHERTYPE_ATTSTANFORD             = 0x8008
-       ETHERTYPE_AUTOPHON                = 0x806a
-       ETHERTYPE_AXIS                    = 0x8856
-       ETHERTYPE_BCLOOP                  = 0x9003
-       ETHERTYPE_BOFL                    = 0x8102
-       ETHERTYPE_CABLETRON               = 0x7034
-       ETHERTYPE_CHAOS                   = 0x804
-       ETHERTYPE_COMDESIGN               = 0x806c
-       ETHERTYPE_COMPUGRAPHIC            = 0x806d
-       ETHERTYPE_COUNTERPOINT            = 0x8062
-       ETHERTYPE_CRONUS                  = 0x8004
-       ETHERTYPE_CRONUSVLN               = 0x8003
-       ETHERTYPE_DCA                     = 0x1234
-       ETHERTYPE_DDE                     = 0x807b
-       ETHERTYPE_DEBNI                   = 0xaaaa
-       ETHERTYPE_DECAM                   = 0x8048
-       ETHERTYPE_DECCUST                 = 0x6006
-       ETHERTYPE_DECDIAG                 = 0x6005
-       ETHERTYPE_DECDNS                  = 0x803c
-       ETHERTYPE_DECDTS                  = 0x803e
-       ETHERTYPE_DECEXPER                = 0x6000
-       ETHERTYPE_DECLAST                 = 0x8041
-       ETHERTYPE_DECLTM                  = 0x803f
-       ETHERTYPE_DECMUMPS                = 0x6009
-       ETHERTYPE_DECNETBIOS              = 0x8040
-       ETHERTYPE_DELTACON                = 0x86de
-       ETHERTYPE_DIDDLE                  = 0x4321
-       ETHERTYPE_DLOG1                   = 0x660
-       ETHERTYPE_DLOG2                   = 0x661
-       ETHERTYPE_DN                      = 0x6003
-       ETHERTYPE_DOGFIGHT                = 0x1989
-       ETHERTYPE_DSMD                    = 0x8039
-       ETHERTYPE_ECMA                    = 0x803
-       ETHERTYPE_ENCRYPT                 = 0x803d
-       ETHERTYPE_ES                      = 0x805d
-       ETHERTYPE_EXCELAN                 = 0x8010
-       ETHERTYPE_EXPERDATA               = 0x8049
-       ETHERTYPE_FLIP                    = 0x8146
-       ETHERTYPE_FLOWCONTROL             = 0x8808
-       ETHERTYPE_FRARP                   = 0x808
-       ETHERTYPE_GENDYN                  = 0x8068
-       ETHERTYPE_HAYES                   = 0x8130
-       ETHERTYPE_HIPPI_FP                = 0x8180
-       ETHERTYPE_HITACHI                 = 0x8820
-       ETHERTYPE_HP                      = 0x8005
-       ETHERTYPE_IEEEPUP                 = 0xa00
-       ETHERTYPE_IEEEPUPAT               = 0xa01
-       ETHERTYPE_IMLBL                   = 0x4c42
-       ETHERTYPE_IMLBLDIAG               = 0x424c
-       ETHERTYPE_IP                      = 0x800
-       ETHERTYPE_IPAS                    = 0x876c
-       ETHERTYPE_IPV6                    = 0x86dd
-       ETHERTYPE_IPX                     = 0x8137
-       ETHERTYPE_IPXNEW                  = 0x8037
-       ETHERTYPE_KALPANA                 = 0x8582
-       ETHERTYPE_LANBRIDGE               = 0x8038
-       ETHERTYPE_LANPROBE                = 0x8888
-       ETHERTYPE_LAT                     = 0x6004
-       ETHERTYPE_LBACK                   = 0x9000
-       ETHERTYPE_LITTLE                  = 0x8060
-       ETHERTYPE_LOGICRAFT               = 0x8148
-       ETHERTYPE_LOOPBACK                = 0x9000
-       ETHERTYPE_MATRA                   = 0x807a
-       ETHERTYPE_MAX                     = 0xffff
-       ETHERTYPE_MERIT                   = 0x807c
-       ETHERTYPE_MICP                    = 0x873a
-       ETHERTYPE_MOPDL                   = 0x6001
-       ETHERTYPE_MOPRC                   = 0x6002
-       ETHERTYPE_MOTOROLA                = 0x818d
-       ETHERTYPE_MPLS                    = 0x8847
-       ETHERTYPE_MPLS_MCAST              = 0x8848
-       ETHERTYPE_MUMPS                   = 0x813f
-       ETHERTYPE_NBPCC                   = 0x3c04
-       ETHERTYPE_NBPCLAIM                = 0x3c09
-       ETHERTYPE_NBPCLREQ                = 0x3c05
-       ETHERTYPE_NBPCLRSP                = 0x3c06
-       ETHERTYPE_NBPCREQ                 = 0x3c02
-       ETHERTYPE_NBPCRSP                 = 0x3c03
-       ETHERTYPE_NBPDG                   = 0x3c07
-       ETHERTYPE_NBPDGB                  = 0x3c08
-       ETHERTYPE_NBPDLTE                 = 0x3c0a
-       ETHERTYPE_NBPRAR                  = 0x3c0c
-       ETHERTYPE_NBPRAS                  = 0x3c0b
-       ETHERTYPE_NBPRST                  = 0x3c0d
-       ETHERTYPE_NBPSCD                  = 0x3c01
-       ETHERTYPE_NBPVCD                  = 0x3c00
-       ETHERTYPE_NBS                     = 0x802
-       ETHERTYPE_NCD                     = 0x8149
-       ETHERTYPE_NESTAR                  = 0x8006
-       ETHERTYPE_NETBEUI                 = 0x8191
-       ETHERTYPE_NOVELL                  = 0x8138
-       ETHERTYPE_NS                      = 0x600
-       ETHERTYPE_NSAT                    = 0x601
-       ETHERTYPE_NSCOMPAT                = 0x807
-       ETHERTYPE_NTRAILER                = 0x10
-       ETHERTYPE_OS9                     = 0x7007
-       ETHERTYPE_OS9NET                  = 0x7009
-       ETHERTYPE_PACER                   = 0x80c6
-       ETHERTYPE_PAE                     = 0x888e
-       ETHERTYPE_PCS                     = 0x4242
-       ETHERTYPE_PLANNING                = 0x8044
-       ETHERTYPE_PPP                     = 0x880b
-       ETHERTYPE_PPPOE                   = 0x8864
-       ETHERTYPE_PPPOEDISC               = 0x8863
-       ETHERTYPE_PRIMENTS                = 0x7031
-       ETHERTYPE_PUP                     = 0x200
-       ETHERTYPE_PUPAT                   = 0x200
-       ETHERTYPE_RACAL                   = 0x7030
-       ETHERTYPE_RATIONAL                = 0x8150
-       ETHERTYPE_RAWFR                   = 0x6559
-       ETHERTYPE_RCL                     = 0x1995
-       ETHERTYPE_RDP                     = 0x8739
-       ETHERTYPE_RETIX                   = 0x80f2
-       ETHERTYPE_REVARP                  = 0x8035
-       ETHERTYPE_SCA                     = 0x6007
-       ETHERTYPE_SECTRA                  = 0x86db
-       ETHERTYPE_SECUREDATA              = 0x876d
-       ETHERTYPE_SGITW                   = 0x817e
-       ETHERTYPE_SG_BOUNCE               = 0x8016
-       ETHERTYPE_SG_DIAG                 = 0x8013
-       ETHERTYPE_SG_NETGAMES             = 0x8014
-       ETHERTYPE_SG_RESV                 = 0x8015
-       ETHERTYPE_SIMNET                  = 0x5208
-       ETHERTYPE_SLOWPROTOCOLS           = 0x8809
-       ETHERTYPE_SNA                     = 0x80d5
-       ETHERTYPE_SNMP                    = 0x814c
-       ETHERTYPE_SONIX                   = 0xfaf5
-       ETHERTYPE_SPIDER                  = 0x809f
-       ETHERTYPE_SPRITE                  = 0x500
-       ETHERTYPE_STP                     = 0x8181
-       ETHERTYPE_TALARIS                 = 0x812b
-       ETHERTYPE_TALARISMC               = 0x852b
-       ETHERTYPE_TCPCOMP                 = 0x876b
-       ETHERTYPE_TCPSM                   = 0x9002
-       ETHERTYPE_TEC                     = 0x814f
-       ETHERTYPE_TIGAN                   = 0x802f
-       ETHERTYPE_TRAIL                   = 0x1000
-       ETHERTYPE_TRANSETHER              = 0x6558
-       ETHERTYPE_TYMSHARE                = 0x802e
-       ETHERTYPE_UBBST                   = 0x7005
-       ETHERTYPE_UBDEBUG                 = 0x900
-       ETHERTYPE_UBDIAGLOOP              = 0x7002
-       ETHERTYPE_UBDL                    = 0x7000
-       ETHERTYPE_UBNIU                   = 0x7001
-       ETHERTYPE_UBNMC                   = 0x7003
-       ETHERTYPE_VALID                   = 0x1600
-       ETHERTYPE_VARIAN                  = 0x80dd
-       ETHERTYPE_VAXELN                  = 0x803b
-       ETHERTYPE_VEECO                   = 0x8067
-       ETHERTYPE_VEXP                    = 0x805b
-       ETHERTYPE_VGLAB                   = 0x8131
-       ETHERTYPE_VINES                   = 0xbad
-       ETHERTYPE_VINESECHO               = 0xbaf
-       ETHERTYPE_VINESLOOP               = 0xbae
-       ETHERTYPE_VITAL                   = 0xff00
-       ETHERTYPE_VLAN                    = 0x8100
-       ETHERTYPE_VLTLMAN                 = 0x8080
-       ETHERTYPE_VPROD                   = 0x805c
-       ETHERTYPE_VURESERVED              = 0x8147
-       ETHERTYPE_WATERLOO                = 0x8130
-       ETHERTYPE_WELLFLEET               = 0x8103
-       ETHERTYPE_X25                     = 0x805
-       ETHERTYPE_X75                     = 0x801
-       ETHERTYPE_XNSSM                   = 0x9001
-       ETHERTYPE_XTP                     = 0x817d
-       ETHER_ADDR_LEN                    = 0x6
-       ETHER_CRC_LEN                     = 0x4
-       ETHER_CRC_POLY_BE                 = 0x4c11db6
-       ETHER_CRC_POLY_LE                 = 0xedb88320
-       ETHER_HDR_LEN                     = 0xe
-       ETHER_MAX_LEN                     = 0x5ee
-       ETHER_MAX_LEN_JUMBO               = 0x233a
-       ETHER_MIN_LEN                     = 0x40
-       ETHER_PPPOE_ENCAP_LEN             = 0x8
-       ETHER_TYPE_LEN                    = 0x2
-       ETHER_VLAN_ENCAP_LEN              = 0x4
-       EVFILT_AIO                        = 0x2
-       EVFILT_PROC                       = 0x4
-       EVFILT_READ                       = 0x0
-       EVFILT_SIGNAL                     = 0x5
-       EVFILT_SYSCOUNT                   = 0x7
-       EVFILT_TIMER                      = 0x6
-       EVFILT_VNODE                      = 0x3
-       EVFILT_WRITE                      = 0x1
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x100
-       FLUSHO                            = 0x800000
-       F_CLOSEM                          = 0xa
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0xc
-       F_FSCTL                           = -0x80000000
-       F_FSDIRMASK                       = 0x70000000
-       F_FSIN                            = 0x10000000
-       F_FSINOUT                         = 0x30000000
-       F_FSOUT                           = 0x20000000
-       F_FSPRIV                          = 0x8000
-       F_FSVOID                          = 0x40000000
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0x7
-       F_GETNOSIGPIPE                    = 0xd
-       F_GETOWN                          = 0x5
-       F_MAXFD                           = 0xb
-       F_OK                              = 0x0
-       F_PARAM_MASK                      = 0xfff
-       F_PARAM_MAX                       = 0xfff
-       F_RDLCK                           = 0x1
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0x8
-       F_SETLKW                          = 0x9
-       F_SETNOSIGPIPE                    = 0xe
-       F_SETOWN                          = 0x6
-       F_UNLCK                           = 0x2
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFAN_ARRIVAL                      = 0x0
-       IFAN_DEPARTURE                    = 0x1
-       IFA_ROUTE                         = 0x1
-       IFF_ALLMULTI                      = 0x200
-       IFF_BROADCAST                     = 0x2
-       IFF_CANTCHANGE                    = 0x8f52
-       IFF_DEBUG                         = 0x4
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_NOTRAILERS                    = 0x20
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PROMISC                       = 0x100
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_A12MPPSWITCH                  = 0x82
-       IFT_AAL2                          = 0xbb
-       IFT_AAL5                          = 0x31
-       IFT_ADSL                          = 0x5e
-       IFT_AFLANE8023                    = 0x3b
-       IFT_AFLANE8025                    = 0x3c
-       IFT_ARAP                          = 0x58
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ASYNC                         = 0x54
-       IFT_ATM                           = 0x25
-       IFT_ATMDXI                        = 0x69
-       IFT_ATMFUNI                       = 0x6a
-       IFT_ATMIMA                        = 0x6b
-       IFT_ATMLOGICAL                    = 0x50
-       IFT_ATMRADIO                      = 0xbd
-       IFT_ATMSUBINTERFACE               = 0x86
-       IFT_ATMVCIENDPT                   = 0xc2
-       IFT_ATMVIRTUAL                    = 0x95
-       IFT_BGPPOLICYACCOUNTING           = 0xa2
-       IFT_BRIDGE                        = 0xd1
-       IFT_BSC                           = 0x53
-       IFT_CARP                          = 0xf8
-       IFT_CCTEMUL                       = 0x3d
-       IFT_CEPT                          = 0x13
-       IFT_CES                           = 0x85
-       IFT_CHANNEL                       = 0x46
-       IFT_CNR                           = 0x55
-       IFT_COFFEE                        = 0x84
-       IFT_COMPOSITELINK                 = 0x9b
-       IFT_DCN                           = 0x8d
-       IFT_DIGITALPOWERLINE              = 0x8a
-       IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
-       IFT_DLSW                          = 0x4a
-       IFT_DOCSCABLEDOWNSTREAM           = 0x80
-       IFT_DOCSCABLEMACLAYER             = 0x7f
-       IFT_DOCSCABLEUPSTREAM             = 0x81
-       IFT_DOCSCABLEUPSTREAMCHANNEL      = 0xcd
-       IFT_DS0                           = 0x51
-       IFT_DS0BUNDLE                     = 0x52
-       IFT_DS1FDL                        = 0xaa
-       IFT_DS3                           = 0x1e
-       IFT_DTM                           = 0x8c
-       IFT_DVBASILN                      = 0xac
-       IFT_DVBASIOUT                     = 0xad
-       IFT_DVBRCCDOWNSTREAM              = 0x93
-       IFT_DVBRCCMACLAYER                = 0x92
-       IFT_DVBRCCUPSTREAM                = 0x94
-       IFT_ECONET                        = 0xce
-       IFT_EON                           = 0x19
-       IFT_EPLRS                         = 0x57
-       IFT_ESCON                         = 0x49
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0xf2
-       IFT_FAST                          = 0x7d
-       IFT_FASTETHER                     = 0x3e
-       IFT_FASTETHERFX                   = 0x45
-       IFT_FDDI                          = 0xf
-       IFT_FIBRECHANNEL                  = 0x38
-       IFT_FRAMERELAYINTERCONNECT        = 0x3a
-       IFT_FRAMERELAYMPI                 = 0x5c
-       IFT_FRDLCIENDPT                   = 0xc1
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_FRF16MFRBUNDLE                = 0xa3
-       IFT_FRFORWARD                     = 0x9e
-       IFT_G703AT2MB                     = 0x43
-       IFT_G703AT64K                     = 0x42
-       IFT_GIF                           = 0xf0
-       IFT_GIGABITETHERNET               = 0x75
-       IFT_GR303IDT                      = 0xb2
-       IFT_GR303RDT                      = 0xb1
-       IFT_H323GATEKEEPER                = 0xa4
-       IFT_H323PROXY                     = 0xa5
-       IFT_HDH1822                       = 0x3
-       IFT_HDLC                          = 0x76
-       IFT_HDSL2                         = 0xa8
-       IFT_HIPERLAN2                     = 0xb7
-       IFT_HIPPI                         = 0x2f
-       IFT_HIPPIINTERFACE                = 0x39
-       IFT_HOSTPAD                       = 0x5a
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IBM370PARCHAN                 = 0x48
-       IFT_IDSL                          = 0x9a
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE80211                     = 0x47
-       IFT_IEEE80212                     = 0x37
-       IFT_IEEE8023ADLAG                 = 0xa1
-       IFT_IFGSN                         = 0x91
-       IFT_IMT                           = 0xbe
-       IFT_INFINIBAND                    = 0xc7
-       IFT_INTERLEAVE                    = 0x7c
-       IFT_IP                            = 0x7e
-       IFT_IPFORWARD                     = 0x8e
-       IFT_IPOVERATM                     = 0x72
-       IFT_IPOVERCDLC                    = 0x6d
-       IFT_IPOVERCLAW                    = 0x6e
-       IFT_IPSWITCH                      = 0x4e
-       IFT_ISDN                          = 0x3f
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISDNS                         = 0x4b
-       IFT_ISDNU                         = 0x4c
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88025CRFPINT               = 0x62
-       IFT_ISO88025DTR                   = 0x56
-       IFT_ISO88025FIBER                 = 0x73
-       IFT_ISO88026                      = 0xa
-       IFT_ISUP                          = 0xb3
-       IFT_L2VLAN                        = 0x87
-       IFT_L3IPVLAN                      = 0x88
-       IFT_L3IPXVLAN                     = 0x89
-       IFT_LAPB                          = 0x10
-       IFT_LAPD                          = 0x4d
-       IFT_LAPF                          = 0x77
-       IFT_LINEGROUP                     = 0xd2
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MEDIAMAILOVERIP               = 0x8b
-       IFT_MFSIGLINK                     = 0xa7
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_MPC                           = 0x71
-       IFT_MPLS                          = 0xa6
-       IFT_MPLSTUNNEL                    = 0x96
-       IFT_MSDSL                         = 0x8f
-       IFT_MVL                           = 0xbf
-       IFT_MYRINET                       = 0x63
-       IFT_NFAS                          = 0xaf
-       IFT_NSIP                          = 0x1b
-       IFT_OPTICALCHANNEL                = 0xc3
-       IFT_OPTICALTRANSPORT              = 0xc4
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PFLOG                         = 0xf5
-       IFT_PFSYNC                        = 0xf6
-       IFT_PLC                           = 0xae
-       IFT_PON155                        = 0xcf
-       IFT_PON622                        = 0xd0
-       IFT_POS                           = 0xab
-       IFT_PPP                           = 0x17
-       IFT_PPPMULTILINKBUNDLE            = 0x6c
-       IFT_PROPATM                       = 0xc5
-       IFT_PROPBWAP2MP                   = 0xb8
-       IFT_PROPCNLS                      = 0x59
-       IFT_PROPDOCSWIRELESSDOWNSTREAM    = 0xb5
-       IFT_PROPDOCSWIRELESSMACLAYER      = 0xb4
-       IFT_PROPDOCSWIRELESSUPSTREAM      = 0xb6
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PROPWIRELESSP2P               = 0x9d
-       IFT_PTPSERIAL                     = 0x16
-       IFT_PVC                           = 0xf1
-       IFT_Q2931                         = 0xc9
-       IFT_QLLC                          = 0x44
-       IFT_RADIOMAC                      = 0xbc
-       IFT_RADSL                         = 0x5f
-       IFT_REACHDSL                      = 0xc0
-       IFT_RFC1483                       = 0x9f
-       IFT_RS232                         = 0x21
-       IFT_RSRB                          = 0x4f
-       IFT_SDLC                          = 0x11
-       IFT_SDSL                          = 0x60
-       IFT_SHDSL                         = 0xa9
-       IFT_SIP                           = 0x1f
-       IFT_SIPSIG                        = 0xcc
-       IFT_SIPTG                         = 0xcb
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETOVERHEADCHANNEL          = 0xb9
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_SRP                           = 0x97
-       IFT_SS7SIGLINK                    = 0x9c
-       IFT_STACKTOSTACK                  = 0x6f
-       IFT_STARLAN                       = 0xb
-       IFT_STF                           = 0xd7
-       IFT_T1                            = 0x12
-       IFT_TDLC                          = 0x74
-       IFT_TELINK                        = 0xc8
-       IFT_TERMPAD                       = 0x5b
-       IFT_TR008                         = 0xb0
-       IFT_TRANSPHDLC                    = 0x7b
-       IFT_TUNNEL                        = 0x83
-       IFT_ULTRA                         = 0x1d
-       IFT_USB                           = 0xa0
-       IFT_V11                           = 0x40
-       IFT_V35                           = 0x2d
-       IFT_V36                           = 0x41
-       IFT_V37                           = 0x78
-       IFT_VDSL                          = 0x61
-       IFT_VIRTUALIPADDRESS              = 0x70
-       IFT_VIRTUALTG                     = 0xca
-       IFT_VOICEDID                      = 0xd5
-       IFT_VOICEEM                       = 0x64
-       IFT_VOICEEMFGD                    = 0xd3
-       IFT_VOICEENCAP                    = 0x67
-       IFT_VOICEFGDEANA                  = 0xd4
-       IFT_VOICEFXO                      = 0x65
-       IFT_VOICEFXS                      = 0x66
-       IFT_VOICEOVERATM                  = 0x98
-       IFT_VOICEOVERCABLE                = 0xc6
-       IFT_VOICEOVERFRAMERELAY           = 0x99
-       IFT_VOICEOVERIP                   = 0x68
-       IFT_X213                          = 0x5d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25HUNTGROUP                  = 0x7a
-       IFT_X25MLP                        = 0x79
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LOOPBACKNET                    = 0x7f
-       IPPROTO_AH                        = 0x33
-       IPPROTO_CARP                      = 0x70
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_IPV6_ICMP                 = 0x3a
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x34
-       IPPROTO_MOBILE                    = 0x37
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_PFSYNC                    = 0xf0
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_UDP                       = 0x11
-       IPPROTO_VRRP                      = 0x70
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_DONTFRAG                     = 0x3e
-       IPV6_DSTOPTS                      = 0x32
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x78
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_HOPLIMIT                     = 0x2f
-       IPV6_HOPOPTS                      = 0x31
-       IPV6_IPSEC_POLICY                 = 0x1c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MMTU                         = 0x500
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_NEXTHOP                      = 0x30
-       IPV6_PATHMTU                      = 0x2c
-       IPV6_PKTINFO                      = 0x2e
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_RECVDSTOPTS                  = 0x28
-       IPV6_RECVHOPLIMIT                 = 0x25
-       IPV6_RECVHOPOPTS                  = 0x27
-       IPV6_RECVPATHMTU                  = 0x2b
-       IPV6_RECVPKTINFO                  = 0x24
-       IPV6_RECVRTHDR                    = 0x26
-       IPV6_RECVTCLASS                   = 0x39
-       IPV6_RTHDR                        = 0x33
-       IPV6_RTHDRDSTOPTS                 = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x3d
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_USE_MIN_MTU                  = 0x2a
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_EF                             = 0x8000
-       IP_ERRORMTU                       = 0x15
-       IP_HDRINCL                        = 0x2
-       IP_IPSEC_POLICY                   = 0x16
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_MEMBERSHIPS                = 0x14
-       IP_MF                             = 0x2000
-       IP_MINFRAGSIZE                    = 0x45
-       IP_MINTTL                         = 0x18
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_OFFMASK                        = 0x1fff
-       IP_OPTIONS                        = 0x1
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVIF                         = 0x14
-       IP_RECVOPTS                       = 0x5
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVTTL                        = 0x17
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_TOS                            = 0x3
-       IP_TTL                            = 0x4
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x6
-       MADV_NORMAL                       = 0x0
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_SPACEAVAIL                   = 0x5
-       MADV_WILLNEED                     = 0x3
-       MAP_ALIGNMENT_16MB                = 0x18000000
-       MAP_ALIGNMENT_1TB                 = 0x28000000
-       MAP_ALIGNMENT_256TB               = 0x30000000
-       MAP_ALIGNMENT_4GB                 = 0x20000000
-       MAP_ALIGNMENT_64KB                = 0x10000000
-       MAP_ALIGNMENT_64PB                = 0x38000000
-       MAP_ALIGNMENT_MASK                = -0x1000000
-       MAP_ALIGNMENT_SHIFT               = 0x18
-       MAP_ANON                          = 0x1000
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_INHERIT                       = 0x80
-       MAP_INHERIT_COPY                  = 0x1
-       MAP_INHERIT_DEFAULT               = 0x1
-       MAP_INHERIT_DONATE_COPY           = 0x3
-       MAP_INHERIT_NONE                  = 0x2
-       MAP_INHERIT_SHARE                 = 0x0
-       MAP_NORESERVE                     = 0x40
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_SHARED                        = 0x1
-       MAP_STACK                         = 0x2000
-       MAP_TRYFIXED                      = 0x400
-       MAP_WIRED                         = 0x800
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_BCAST                         = 0x100
-       MSG_CMSG_CLOEXEC                  = 0x800
-       MSG_CONTROLMBUF                   = 0x2000000
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOR                           = 0x8
-       MSG_IOVUSRSPACE                   = 0x4000000
-       MSG_LENUSRSPACE                   = 0x8000000
-       MSG_MCAST                         = 0x200
-       MSG_NAMEMBUF                      = 0x1000000
-       MSG_NBIO                          = 0x1000
-       MSG_NOSIGNAL                      = 0x400
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_TRUNC                         = 0x10
-       MSG_USERFLAGS                     = 0xffffff
-       MSG_WAITALL                       = 0x40
-       MS_ASYNC                          = 0x1
-       MS_INVALIDATE                     = 0x2
-       MS_SYNC                           = 0x4
-       NAME_MAX                          = 0x1ff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x5
-       NET_RT_MAXID                      = 0x6
-       NET_RT_OIFLIST                    = 0x4
-       NET_RT_OOIFLIST                   = 0x3
-       NOFLSH                            = 0x80000000
-       NOTE_ATTRIB                       = 0x8
-       NOTE_CHILD                        = 0x4
-       NOTE_DELETE                       = 0x1
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FORK                         = 0x40000000
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_PCTRLMASK                    = 0xf0000000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       OFIOGETBMAP                       = 0xc004667a
-       ONLCR                             = 0x2
-       ONLRET                            = 0x40
-       ONOCR                             = 0x20
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_ALT_IO                          = 0x40000
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x400000
-       O_CREAT                           = 0x200
-       O_DIRECT                          = 0x80000
-       O_DIRECTORY                       = 0x200000
-       O_DSYNC                           = 0x10000
-       O_EXCL                            = 0x800
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x8000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_NOSIGPIPE                       = 0x1000000
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_RSYNC                           = 0x20000
-       O_SHLOCK                          = 0x10
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PRI_IOFLUSH                       = 0x7c
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       RLIMIT_AS                         = 0xa
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_MAX                          = 0x9
-       RTAX_NETMASK                      = 0x2
-       RTAX_TAG                          = 0x8
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_NETMASK                       = 0x4
-       RTA_TAG                           = 0x100
-       RTF_ANNOUNCE                      = 0x20000
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_CLONED                        = 0x2000
-       RTF_CLONING                       = 0x100
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_GATEWAY                       = 0x2
-       RTF_HOST                          = 0x4
-       RTF_LLINFO                        = 0x400
-       RTF_MASK                          = 0x80
-       RTF_MODIFIED                      = 0x20
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_REJECT                        = 0x8
-       RTF_SRC                           = 0x10000
-       RTF_STATIC                        = 0x800
-       RTF_UP                            = 0x1
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_CHGADDR                       = 0x15
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_GET                           = 0x4
-       RTM_IEEE80211                     = 0x11
-       RTM_IFANNOUNCE                    = 0x10
-       RTM_IFINFO                        = 0x14
-       RTM_LLINFO_UPD                    = 0x13
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_OIFINFO                       = 0xf
-       RTM_OLDADD                        = 0x9
-       RTM_OLDDEL                        = 0xa
-       RTM_OOIFINFO                      = 0xe
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_SETGATE                       = 0x12
-       RTM_VERSION                       = 0x4
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       SCM_CREDS                         = 0x4
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x8
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80906931
-       SIOCADDRT                         = 0x8038720a
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCALIFADDR                      = 0x8118691c
-       SIOCATMARK                        = 0x40047307
-       SIOCDELMULTI                      = 0x80906932
-       SIOCDELRT                         = 0x8038720b
-       SIOCDIFADDR                       = 0x80906919
-       SIOCDIFPHYADDR                    = 0x80906949
-       SIOCDLIFADDR                      = 0x8118691e
-       SIOCGDRVSPEC                      = 0xc028697b
-       SIOCGETPFSYNC                     = 0xc09069f8
-       SIOCGETSGCNT                      = 0xc0207534
-       SIOCGETVIFCNT                     = 0xc0287533
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0906921
-       SIOCGIFADDRPREF                   = 0xc0986920
-       SIOCGIFALIAS                      = 0xc040691b
-       SIOCGIFBRDADDR                    = 0xc0906923
-       SIOCGIFCAP                        = 0xc0206976
-       SIOCGIFCONF                       = 0xc0106926
-       SIOCGIFDATA                       = 0xc0986985
-       SIOCGIFDLT                        = 0xc0906977
-       SIOCGIFDSTADDR                    = 0xc0906922
-       SIOCGIFFLAGS                      = 0xc0906911
-       SIOCGIFGENERIC                    = 0xc090693a
-       SIOCGIFMEDIA                      = 0xc0306936
-       SIOCGIFMETRIC                     = 0xc0906917
-       SIOCGIFMTU                        = 0xc090697e
-       SIOCGIFNETMASK                    = 0xc0906925
-       SIOCGIFPDSTADDR                   = 0xc0906948
-       SIOCGIFPSRCADDR                   = 0xc0906947
-       SIOCGLIFADDR                      = 0xc118691d
-       SIOCGLIFPHYADDR                   = 0xc118694b
-       SIOCGLINKSTR                      = 0xc0286987
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCGVH                           = 0xc0906983
-       SIOCIFCREATE                      = 0x8090697a
-       SIOCIFDESTROY                     = 0x80906979
-       SIOCIFGCLONERS                    = 0xc0106978
-       SIOCINITIFADDR                    = 0xc0706984
-       SIOCSDRVSPEC                      = 0x8028697b
-       SIOCSETPFSYNC                     = 0x809069f7
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8090690c
-       SIOCSIFADDRPREF                   = 0x8098691f
-       SIOCSIFBRDADDR                    = 0x80906913
-       SIOCSIFCAP                        = 0x80206975
-       SIOCSIFDSTADDR                    = 0x8090690e
-       SIOCSIFFLAGS                      = 0x80906910
-       SIOCSIFGENERIC                    = 0x80906939
-       SIOCSIFMEDIA                      = 0xc0906935
-       SIOCSIFMETRIC                     = 0x80906918
-       SIOCSIFMTU                        = 0x8090697f
-       SIOCSIFNETMASK                    = 0x80906916
-       SIOCSIFPHYADDR                    = 0x80406946
-       SIOCSLIFPHYADDR                   = 0x8118694a
-       SIOCSLINKSTR                      = 0x80286988
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SIOCSVH                           = 0xc0906982
-       SIOCZIFDATA                       = 0xc0986986
-       SOCK_CLOEXEC                      = 0x10000000
-       SOCK_DGRAM                        = 0x2
-       SOCK_FLAGS_MASK                   = 0xf0000000
-       SOCK_NONBLOCK                     = 0x20000000
-       SOCK_NOSIGPIPE                    = 0x40000000
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_ACCEPTFILTER                   = 0x1000
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LINGER                         = 0x80
-       SO_NOHEADER                       = 0x100a
-       SO_NOSIGPIPE                      = 0x800
-       SO_OOBINLINE                      = 0x100
-       SO_OVERFLOWED                     = 0x1009
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x100c
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x100b
-       SO_TIMESTAMP                      = 0x2000
-       SO_TYPE                           = 0x1008
-       SO_USELOOPBACK                    = 0x40
-       SYSCTL_VERSION                    = 0x1000000
-       SYSCTL_VERS_0                     = 0x0
-       SYSCTL_VERS_1                     = 0x1000000
-       SYSCTL_VERS_MASK                  = 0xff000000
-       S_ARCH1                           = 0x10000
-       S_ARCH2                           = 0x20000
-       S_BLKSIZE                         = 0x200
-       S_IEXEC                           = 0x40
-       S_IFBLK                           = 0x6000
-       S_IFCHR                           = 0x2000
-       S_IFDIR                           = 0x4000
-       S_IFIFO                           = 0x1000
-       S_IFLNK                           = 0xa000
-       S_IFMT                            = 0xf000
-       S_IFREG                           = 0x8000
-       S_IFSOCK                          = 0xc000
-       S_IFWHT                           = 0xe000
-       S_IREAD                           = 0x100
-       S_IRGRP                           = 0x20
-       S_IROTH                           = 0x4
-       S_IRUSR                           = 0x100
-       S_IRWXG                           = 0x38
-       S_IRWXO                           = 0x7
-       S_IRWXU                           = 0x1c0
-       S_ISGID                           = 0x400
-       S_ISTXT                           = 0x200
-       S_ISUID                           = 0x800
-       S_ISVTX                           = 0x200
-       S_IWGRP                           = 0x10
-       S_IWOTH                           = 0x2
-       S_IWRITE                          = 0x80
-       S_IWUSR                           = 0x80
-       S_IXGRP                           = 0x8
-       S_IXOTH                           = 0x1
-       S_IXUSR                           = 0x40
-       S_LOGIN_SET                       = 0x1
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_CONGCTL                       = 0x20
-       TCP_KEEPCNT                       = 0x6
-       TCP_KEEPIDLE                      = 0x3
-       TCP_KEEPINIT                      = 0x7
-       TCP_KEEPINTVL                     = 0x5
-       TCP_MAXBURST                      = 0x4
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MD5SIG                        = 0x10
-       TCP_MINMSS                        = 0xd8
-       TCP_MSS                           = 0x218
-       TCP_NODELAY                       = 0x1
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDCDTIMESTAMP                  = 0x40107458
-       TIOCDRAIN                         = 0x2000745e
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLAG_CDTRCTS                  = 0x10
-       TIOCFLAG_CLOCAL                   = 0x2
-       TIOCFLAG_CRTSCTS                  = 0x4
-       TIOCFLAG_MDMBUF                   = 0x8
-       TIOCFLAG_SOFTCAR                  = 0x1
-       TIOCFLUSH                         = 0x80047410
-       TIOCGETA                          = 0x402c7413
-       TIOCGETD                          = 0x4004741a
-       TIOCGFLAGS                        = 0x4004745d
-       TIOCGLINED                        = 0x40207442
-       TIOCGPGRP                         = 0x40047477
-       TIOCGQSIZE                        = 0x40047481
-       TIOCGRANTPT                       = 0x20007447
-       TIOCGSID                          = 0x40047463
-       TIOCGSIZE                         = 0x40087468
-       TIOCGWINSZ                        = 0x40087468
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGET                          = 0x4004746a
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCPTMGET                        = 0x40287446
-       TIOCPTSNAME                       = 0x40287448
-       TIOCRCVFRAME                      = 0x80087445
-       TIOCREMOTE                        = 0x80047469
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x802c7414
-       TIOCSETAF                         = 0x802c7416
-       TIOCSETAW                         = 0x802c7415
-       TIOCSETD                          = 0x8004741b
-       TIOCSFLAGS                        = 0x8004745c
-       TIOCSIG                           = 0x2000745f
-       TIOCSLINED                        = 0x80207443
-       TIOCSPGRP                         = 0x80047476
-       TIOCSQSIZE                        = 0x80047480
-       TIOCSSIZE                         = 0x80087467
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x80047465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSWINSZ                        = 0x80087467
-       TIOCUCNTL                         = 0x80047466
-       TIOCXMTFRAME                      = 0x80087444
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WALL                              = 0x8
-       WALLSIG                           = 0x8
-       WALTSIG                           = 0x4
-       WCLONE                            = 0x4
-       WCOREFLAG                         = 0x80
-       WNOHANG                           = 0x1
-       WNOWAIT                           = 0x10000
-       WNOZOMBIE                         = 0x20000
-       WOPTSCHECKED                      = 0x40000
-       WSTOPPED                          = 0x7f
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADF           = syscall.Errno(0x9)
-       EBADMSG         = syscall.Errno(0x58)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x57)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDOM            = syscall.Errno(0x21)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x52)
-       EILSEQ          = syscall.Errno(0x55)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x60)
-       ELOOP           = syscall.Errno(0x3e)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       EMULTIHOP       = syscall.Errno(0x5e)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x5d)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODATA         = syscall.Errno(0x59)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOLINK         = syscall.Errno(0x5f)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x53)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x5a)
-       ENOSTR          = syscall.Errno(0x5b)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x56)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x2d)
-       EOVERFLOW       = syscall.Errno(0x54)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTO          = syscall.Errno(0x60)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIME           = syscall.Errno(0x5c)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGPWR    = syscall.Signal(0x20)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:  "operation not permitted",
-       2:  "no such file or directory",
-       3:  "no such process",
-       4:  "interrupted system call",
-       5:  "input/output error",
-       6:  "device not configured",
-       7:  "argument list too long",
-       8:  "exec format error",
-       9:  "bad file descriptor",
-       10: "no child processes",
-       11: "resource deadlock avoided",
-       12: "cannot allocate memory",
-       13: "permission denied",
-       14: "bad address",
-       15: "block device required",
-       16: "device busy",
-       17: "file exists",
-       18: "cross-device link",
-       19: "operation not supported by device",
-       20: "not a directory",
-       21: "is a directory",
-       22: "invalid argument",
-       23: "too many open files in system",
-       24: "too many open files",
-       25: "inappropriate ioctl for device",
-       26: "text file busy",
-       27: "file too large",
-       28: "no space left on device",
-       29: "illegal seek",
-       30: "read-only file system",
-       31: "too many links",
-       32: "broken pipe",
-       33: "numerical argument out of domain",
-       34: "result too large or too small",
-       35: "resource temporarily unavailable",
-       36: "operation now in progress",
-       37: "operation already in progress",
-       38: "socket operation on non-socket",
-       39: "destination address required",
-       40: "message too long",
-       41: "protocol wrong type for socket",
-       42: "protocol option not available",
-       43: "protocol not supported",
-       44: "socket type not supported",
-       45: "operation not supported",
-       46: "protocol family not supported",
-       47: "address family not supported by protocol family",
-       48: "address already in use",
-       49: "can't assign requested address",
-       50: "network is down",
-       51: "network is unreachable",
-       52: "network dropped connection on reset",
-       53: "software caused connection abort",
-       54: "connection reset by peer",
-       55: "no buffer space available",
-       56: "socket is already connected",
-       57: "socket is not connected",
-       58: "can't send after socket shutdown",
-       59: "too many references: can't splice",
-       60: "connection timed out",
-       61: "connection refused",
-       62: "too many levels of symbolic links",
-       63: "file name too long",
-       64: "host is down",
-       65: "no route to host",
-       66: "directory not empty",
-       67: "too many processes",
-       68: "too many users",
-       69: "disc quota exceeded",
-       70: "stale NFS file handle",
-       71: "too many levels of remote in path",
-       72: "RPC struct is bad",
-       73: "RPC version wrong",
-       74: "RPC prog. not avail",
-       75: "program version wrong",
-       76: "bad procedure for program",
-       77: "no locks available",
-       78: "function not implemented",
-       79: "inappropriate file type or format",
-       80: "authentication error",
-       81: "need authenticator",
-       82: "identifier removed",
-       83: "no message of desired type",
-       84: "value too large to be stored in data type",
-       85: "illegal byte sequence",
-       86: "not supported",
-       87: "operation Canceled",
-       88: "bad or Corrupt message",
-       89: "no message available",
-       90: "no STREAM resources",
-       91: "not a STREAM",
-       92: "STREAM ioctl timeout",
-       93: "attribute not found",
-       94: "multihop attempted",
-       95: "link has been severed",
-       96: "protocol error",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "stopped (signal)",
-       18: "stopped",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-       32: "power fail/restart",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go b/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go
deleted file mode 100644 (file)
index ac85ca6..0000000
+++ /dev/null
@@ -1,1688 +0,0 @@
-// mkerrors.sh -marm
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build arm,netbsd
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -marm _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_ARP                            = 0x1c
-       AF_BLUETOOTH                      = 0x1f
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1a
-       AF_ECMA                           = 0x8
-       AF_HYLINK                         = 0xf
-       AF_IEEE80211                      = 0x20
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x18
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1a
-       AF_ISO                            = 0x7
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x23
-       AF_MPLS                           = 0x21
-       AF_NATM                           = 0x1b
-       AF_NS                             = 0x6
-       AF_OROUTE                         = 0x11
-       AF_OSI                            = 0x7
-       AF_PUP                            = 0x4
-       AF_ROUTE                          = 0x22
-       AF_SNA                            = 0xb
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       ARPHRD_ARCNET                     = 0x7
-       ARPHRD_ETHER                      = 0x1
-       ARPHRD_FRELAY                     = 0xf
-       ARPHRD_IEEE1394                   = 0x18
-       ARPHRD_IEEE802                    = 0x6
-       ARPHRD_STRIP                      = 0x17
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B460800                           = 0x70800
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B921600                           = 0xe1000
-       B9600                             = 0x2580
-       BIOCFEEDBACK                      = 0x8004427d
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc0084277
-       BIOCGETIF                         = 0x4090426b
-       BIOCGFEEDBACK                     = 0x4004427c
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRTIMEOUT                     = 0x400c427b
-       BIOCGSEESENT                      = 0x40044278
-       BIOCGSTATS                        = 0x4080426f
-       BIOCGSTATSOLD                     = 0x4008426f
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCPROMISC                       = 0x20004269
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDLT                          = 0x80044276
-       BIOCSETF                          = 0x80084267
-       BIOCSETIF                         = 0x8090426c
-       BIOCSFEEDBACK                     = 0x8004427d
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRTIMEOUT                     = 0x800c427a
-       BIOCSSEESENT                      = 0x80044279
-       BIOCSTCPF                         = 0x80084272
-       BIOCSUDPF                         = 0x80084273
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x4
-       BPF_ALIGNMENT32                   = 0x4
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_DFLTBUFSIZE                   = 0x100000
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x1000000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0x14
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0xc
-       CTL_NET                           = 0x4
-       CTL_QUERY                         = -0x2
-       DIOCBSFLUSH                       = 0x20006478
-       DLT_A429                          = 0xb8
-       DLT_A653_ICM                      = 0xb9
-       DLT_AIRONET_HEADER                = 0x78
-       DLT_AOS                           = 0xde
-       DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
-       DLT_ARCNET                        = 0x7
-       DLT_ARCNET_LINUX                  = 0x81
-       DLT_ATM_CLIP                      = 0x13
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AURORA                        = 0x7e
-       DLT_AX25                          = 0x3
-       DLT_AX25_KISS                     = 0xca
-       DLT_BACNET_MS_TP                  = 0xa5
-       DLT_BLUETOOTH_HCI_H4              = 0xbb
-       DLT_BLUETOOTH_HCI_H4_WITH_PHDR    = 0xc9
-       DLT_CAN20B                        = 0xbe
-       DLT_CAN_SOCKETCAN                 = 0xe3
-       DLT_CHAOS                         = 0x5
-       DLT_CISCO_IOS                     = 0x76
-       DLT_C_HDLC                        = 0x68
-       DLT_C_HDLC_WITH_DIR               = 0xcd
-       DLT_DECT                          = 0xdd
-       DLT_DOCSIS                        = 0x8f
-       DLT_ECONET                        = 0x73
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0x6d
-       DLT_ERF                           = 0xc5
-       DLT_ERF_ETH                       = 0xaf
-       DLT_ERF_POS                       = 0xb0
-       DLT_FC_2                          = 0xe0
-       DLT_FC_2_WITH_FRAME_DELIMS        = 0xe1
-       DLT_FDDI                          = 0xa
-       DLT_FLEXRAY                       = 0xd2
-       DLT_FRELAY                        = 0x6b
-       DLT_FRELAY_WITH_DIR               = 0xce
-       DLT_GCOM_SERIAL                   = 0xad
-       DLT_GCOM_T1E1                     = 0xac
-       DLT_GPF_F                         = 0xab
-       DLT_GPF_T                         = 0xaa
-       DLT_GPRS_LLC                      = 0xa9
-       DLT_GSMTAP_ABIS                   = 0xda
-       DLT_GSMTAP_UM                     = 0xd9
-       DLT_HDLC                          = 0x10
-       DLT_HHDLC                         = 0x79
-       DLT_HIPPI                         = 0xf
-       DLT_IBM_SN                        = 0x92
-       DLT_IBM_SP                        = 0x91
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_IEEE802_11_RADIO_AVS          = 0xa3
-       DLT_IEEE802_15_4                  = 0xc3
-       DLT_IEEE802_15_4_LINUX            = 0xbf
-       DLT_IEEE802_15_4_NONASK_PHY       = 0xd7
-       DLT_IEEE802_16_MAC_CPS            = 0xbc
-       DLT_IEEE802_16_MAC_CPS_RADIO      = 0xc1
-       DLT_IPMB                          = 0xc7
-       DLT_IPMB_LINUX                    = 0xd1
-       DLT_IPNET                         = 0xe2
-       DLT_IPV4                          = 0xe4
-       DLT_IPV6                          = 0xe5
-       DLT_IP_OVER_FC                    = 0x7a
-       DLT_JUNIPER_ATM1                  = 0x89
-       DLT_JUNIPER_ATM2                  = 0x87
-       DLT_JUNIPER_CHDLC                 = 0xb5
-       DLT_JUNIPER_ES                    = 0x84
-       DLT_JUNIPER_ETHER                 = 0xb2
-       DLT_JUNIPER_FRELAY                = 0xb4
-       DLT_JUNIPER_GGSN                  = 0x85
-       DLT_JUNIPER_ISM                   = 0xc2
-       DLT_JUNIPER_MFR                   = 0x86
-       DLT_JUNIPER_MLFR                  = 0x83
-       DLT_JUNIPER_MLPPP                 = 0x82
-       DLT_JUNIPER_MONITOR               = 0xa4
-       DLT_JUNIPER_PIC_PEER              = 0xae
-       DLT_JUNIPER_PPP                   = 0xb3
-       DLT_JUNIPER_PPPOE                 = 0xa7
-       DLT_JUNIPER_PPPOE_ATM             = 0xa8
-       DLT_JUNIPER_SERVICES              = 0x88
-       DLT_JUNIPER_ST                    = 0xc8
-       DLT_JUNIPER_VP                    = 0xb7
-       DLT_LAPB_WITH_DIR                 = 0xcf
-       DLT_LAPD                          = 0xcb
-       DLT_LIN                           = 0xd4
-       DLT_LINUX_EVDEV                   = 0xd8
-       DLT_LINUX_IRDA                    = 0x90
-       DLT_LINUX_LAPD                    = 0xb1
-       DLT_LINUX_SLL                     = 0x71
-       DLT_LOOP                          = 0x6c
-       DLT_LTALK                         = 0x72
-       DLT_MFR                           = 0xb6
-       DLT_MOST                          = 0xd3
-       DLT_MPLS                          = 0xdb
-       DLT_MTP2                          = 0x8c
-       DLT_MTP2_WITH_PHDR                = 0x8b
-       DLT_MTP3                          = 0x8d
-       DLT_NULL                          = 0x0
-       DLT_PCI_EXP                       = 0x7d
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x12
-       DLT_PPI                           = 0xc0
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0xe
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_PPPD                      = 0xa6
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PPP_WITH_DIR                  = 0xcc
-       DLT_PRISM_HEADER                  = 0x77
-       DLT_PRONET                        = 0x4
-       DLT_RAIF1                         = 0xc6
-       DLT_RAW                           = 0xc
-       DLT_RAWAF_MASK                    = 0x2240000
-       DLT_RIO                           = 0x7c
-       DLT_SCCP                          = 0x8e
-       DLT_SITA                          = 0xc4
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xd
-       DLT_SUNATM                        = 0x7b
-       DLT_SYMANTEC_FIREWALL             = 0x63
-       DLT_TZSP                          = 0x80
-       DLT_USB                           = 0xba
-       DLT_USB_LINUX                     = 0xbd
-       DLT_USB_LINUX_MMAPPED             = 0xdc
-       DLT_WIHART                        = 0xdf
-       DLT_X2E_SERIAL                    = 0xd5
-       DLT_X2E_XORAYA                    = 0xd6
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       DT_WHT                            = 0xe
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EMUL_LINUX                        = 0x1
-       EMUL_LINUX32                      = 0x5
-       EMUL_MAXID                        = 0x6
-       ETHERCAP_JUMBO_MTU                = 0x4
-       ETHERCAP_VLAN_HWTAGGING           = 0x2
-       ETHERCAP_VLAN_MTU                 = 0x1
-       ETHERMIN                          = 0x2e
-       ETHERMTU                          = 0x5dc
-       ETHERMTU_JUMBO                    = 0x2328
-       ETHERTYPE_8023                    = 0x4
-       ETHERTYPE_AARP                    = 0x80f3
-       ETHERTYPE_ACCTON                  = 0x8390
-       ETHERTYPE_AEONIC                  = 0x8036
-       ETHERTYPE_ALPHA                   = 0x814a
-       ETHERTYPE_AMBER                   = 0x6008
-       ETHERTYPE_AMOEBA                  = 0x8145
-       ETHERTYPE_APOLLO                  = 0x80f7
-       ETHERTYPE_APOLLODOMAIN            = 0x8019
-       ETHERTYPE_APPLETALK               = 0x809b
-       ETHERTYPE_APPLITEK                = 0x80c7
-       ETHERTYPE_ARGONAUT                = 0x803a
-       ETHERTYPE_ARP                     = 0x806
-       ETHERTYPE_AT                      = 0x809b
-       ETHERTYPE_ATALK                   = 0x809b
-       ETHERTYPE_ATOMIC                  = 0x86df
-       ETHERTYPE_ATT                     = 0x8069
-       ETHERTYPE_ATTSTANFORD             = 0x8008
-       ETHERTYPE_AUTOPHON                = 0x806a
-       ETHERTYPE_AXIS                    = 0x8856
-       ETHERTYPE_BCLOOP                  = 0x9003
-       ETHERTYPE_BOFL                    = 0x8102
-       ETHERTYPE_CABLETRON               = 0x7034
-       ETHERTYPE_CHAOS                   = 0x804
-       ETHERTYPE_COMDESIGN               = 0x806c
-       ETHERTYPE_COMPUGRAPHIC            = 0x806d
-       ETHERTYPE_COUNTERPOINT            = 0x8062
-       ETHERTYPE_CRONUS                  = 0x8004
-       ETHERTYPE_CRONUSVLN               = 0x8003
-       ETHERTYPE_DCA                     = 0x1234
-       ETHERTYPE_DDE                     = 0x807b
-       ETHERTYPE_DEBNI                   = 0xaaaa
-       ETHERTYPE_DECAM                   = 0x8048
-       ETHERTYPE_DECCUST                 = 0x6006
-       ETHERTYPE_DECDIAG                 = 0x6005
-       ETHERTYPE_DECDNS                  = 0x803c
-       ETHERTYPE_DECDTS                  = 0x803e
-       ETHERTYPE_DECEXPER                = 0x6000
-       ETHERTYPE_DECLAST                 = 0x8041
-       ETHERTYPE_DECLTM                  = 0x803f
-       ETHERTYPE_DECMUMPS                = 0x6009
-       ETHERTYPE_DECNETBIOS              = 0x8040
-       ETHERTYPE_DELTACON                = 0x86de
-       ETHERTYPE_DIDDLE                  = 0x4321
-       ETHERTYPE_DLOG1                   = 0x660
-       ETHERTYPE_DLOG2                   = 0x661
-       ETHERTYPE_DN                      = 0x6003
-       ETHERTYPE_DOGFIGHT                = 0x1989
-       ETHERTYPE_DSMD                    = 0x8039
-       ETHERTYPE_ECMA                    = 0x803
-       ETHERTYPE_ENCRYPT                 = 0x803d
-       ETHERTYPE_ES                      = 0x805d
-       ETHERTYPE_EXCELAN                 = 0x8010
-       ETHERTYPE_EXPERDATA               = 0x8049
-       ETHERTYPE_FLIP                    = 0x8146
-       ETHERTYPE_FLOWCONTROL             = 0x8808
-       ETHERTYPE_FRARP                   = 0x808
-       ETHERTYPE_GENDYN                  = 0x8068
-       ETHERTYPE_HAYES                   = 0x8130
-       ETHERTYPE_HIPPI_FP                = 0x8180
-       ETHERTYPE_HITACHI                 = 0x8820
-       ETHERTYPE_HP                      = 0x8005
-       ETHERTYPE_IEEEPUP                 = 0xa00
-       ETHERTYPE_IEEEPUPAT               = 0xa01
-       ETHERTYPE_IMLBL                   = 0x4c42
-       ETHERTYPE_IMLBLDIAG               = 0x424c
-       ETHERTYPE_IP                      = 0x800
-       ETHERTYPE_IPAS                    = 0x876c
-       ETHERTYPE_IPV6                    = 0x86dd
-       ETHERTYPE_IPX                     = 0x8137
-       ETHERTYPE_IPXNEW                  = 0x8037
-       ETHERTYPE_KALPANA                 = 0x8582
-       ETHERTYPE_LANBRIDGE               = 0x8038
-       ETHERTYPE_LANPROBE                = 0x8888
-       ETHERTYPE_LAT                     = 0x6004
-       ETHERTYPE_LBACK                   = 0x9000
-       ETHERTYPE_LITTLE                  = 0x8060
-       ETHERTYPE_LOGICRAFT               = 0x8148
-       ETHERTYPE_LOOPBACK                = 0x9000
-       ETHERTYPE_MATRA                   = 0x807a
-       ETHERTYPE_MAX                     = 0xffff
-       ETHERTYPE_MERIT                   = 0x807c
-       ETHERTYPE_MICP                    = 0x873a
-       ETHERTYPE_MOPDL                   = 0x6001
-       ETHERTYPE_MOPRC                   = 0x6002
-       ETHERTYPE_MOTOROLA                = 0x818d
-       ETHERTYPE_MPLS                    = 0x8847
-       ETHERTYPE_MPLS_MCAST              = 0x8848
-       ETHERTYPE_MUMPS                   = 0x813f
-       ETHERTYPE_NBPCC                   = 0x3c04
-       ETHERTYPE_NBPCLAIM                = 0x3c09
-       ETHERTYPE_NBPCLREQ                = 0x3c05
-       ETHERTYPE_NBPCLRSP                = 0x3c06
-       ETHERTYPE_NBPCREQ                 = 0x3c02
-       ETHERTYPE_NBPCRSP                 = 0x3c03
-       ETHERTYPE_NBPDG                   = 0x3c07
-       ETHERTYPE_NBPDGB                  = 0x3c08
-       ETHERTYPE_NBPDLTE                 = 0x3c0a
-       ETHERTYPE_NBPRAR                  = 0x3c0c
-       ETHERTYPE_NBPRAS                  = 0x3c0b
-       ETHERTYPE_NBPRST                  = 0x3c0d
-       ETHERTYPE_NBPSCD                  = 0x3c01
-       ETHERTYPE_NBPVCD                  = 0x3c00
-       ETHERTYPE_NBS                     = 0x802
-       ETHERTYPE_NCD                     = 0x8149
-       ETHERTYPE_NESTAR                  = 0x8006
-       ETHERTYPE_NETBEUI                 = 0x8191
-       ETHERTYPE_NOVELL                  = 0x8138
-       ETHERTYPE_NS                      = 0x600
-       ETHERTYPE_NSAT                    = 0x601
-       ETHERTYPE_NSCOMPAT                = 0x807
-       ETHERTYPE_NTRAILER                = 0x10
-       ETHERTYPE_OS9                     = 0x7007
-       ETHERTYPE_OS9NET                  = 0x7009
-       ETHERTYPE_PACER                   = 0x80c6
-       ETHERTYPE_PAE                     = 0x888e
-       ETHERTYPE_PCS                     = 0x4242
-       ETHERTYPE_PLANNING                = 0x8044
-       ETHERTYPE_PPP                     = 0x880b
-       ETHERTYPE_PPPOE                   = 0x8864
-       ETHERTYPE_PPPOEDISC               = 0x8863
-       ETHERTYPE_PRIMENTS                = 0x7031
-       ETHERTYPE_PUP                     = 0x200
-       ETHERTYPE_PUPAT                   = 0x200
-       ETHERTYPE_RACAL                   = 0x7030
-       ETHERTYPE_RATIONAL                = 0x8150
-       ETHERTYPE_RAWFR                   = 0x6559
-       ETHERTYPE_RCL                     = 0x1995
-       ETHERTYPE_RDP                     = 0x8739
-       ETHERTYPE_RETIX                   = 0x80f2
-       ETHERTYPE_REVARP                  = 0x8035
-       ETHERTYPE_SCA                     = 0x6007
-       ETHERTYPE_SECTRA                  = 0x86db
-       ETHERTYPE_SECUREDATA              = 0x876d
-       ETHERTYPE_SGITW                   = 0x817e
-       ETHERTYPE_SG_BOUNCE               = 0x8016
-       ETHERTYPE_SG_DIAG                 = 0x8013
-       ETHERTYPE_SG_NETGAMES             = 0x8014
-       ETHERTYPE_SG_RESV                 = 0x8015
-       ETHERTYPE_SIMNET                  = 0x5208
-       ETHERTYPE_SLOWPROTOCOLS           = 0x8809
-       ETHERTYPE_SNA                     = 0x80d5
-       ETHERTYPE_SNMP                    = 0x814c
-       ETHERTYPE_SONIX                   = 0xfaf5
-       ETHERTYPE_SPIDER                  = 0x809f
-       ETHERTYPE_SPRITE                  = 0x500
-       ETHERTYPE_STP                     = 0x8181
-       ETHERTYPE_TALARIS                 = 0x812b
-       ETHERTYPE_TALARISMC               = 0x852b
-       ETHERTYPE_TCPCOMP                 = 0x876b
-       ETHERTYPE_TCPSM                   = 0x9002
-       ETHERTYPE_TEC                     = 0x814f
-       ETHERTYPE_TIGAN                   = 0x802f
-       ETHERTYPE_TRAIL                   = 0x1000
-       ETHERTYPE_TRANSETHER              = 0x6558
-       ETHERTYPE_TYMSHARE                = 0x802e
-       ETHERTYPE_UBBST                   = 0x7005
-       ETHERTYPE_UBDEBUG                 = 0x900
-       ETHERTYPE_UBDIAGLOOP              = 0x7002
-       ETHERTYPE_UBDL                    = 0x7000
-       ETHERTYPE_UBNIU                   = 0x7001
-       ETHERTYPE_UBNMC                   = 0x7003
-       ETHERTYPE_VALID                   = 0x1600
-       ETHERTYPE_VARIAN                  = 0x80dd
-       ETHERTYPE_VAXELN                  = 0x803b
-       ETHERTYPE_VEECO                   = 0x8067
-       ETHERTYPE_VEXP                    = 0x805b
-       ETHERTYPE_VGLAB                   = 0x8131
-       ETHERTYPE_VINES                   = 0xbad
-       ETHERTYPE_VINESECHO               = 0xbaf
-       ETHERTYPE_VINESLOOP               = 0xbae
-       ETHERTYPE_VITAL                   = 0xff00
-       ETHERTYPE_VLAN                    = 0x8100
-       ETHERTYPE_VLTLMAN                 = 0x8080
-       ETHERTYPE_VPROD                   = 0x805c
-       ETHERTYPE_VURESERVED              = 0x8147
-       ETHERTYPE_WATERLOO                = 0x8130
-       ETHERTYPE_WELLFLEET               = 0x8103
-       ETHERTYPE_X25                     = 0x805
-       ETHERTYPE_X75                     = 0x801
-       ETHERTYPE_XNSSM                   = 0x9001
-       ETHERTYPE_XTP                     = 0x817d
-       ETHER_ADDR_LEN                    = 0x6
-       ETHER_CRC_LEN                     = 0x4
-       ETHER_CRC_POLY_BE                 = 0x4c11db6
-       ETHER_CRC_POLY_LE                 = 0xedb88320
-       ETHER_HDR_LEN                     = 0xe
-       ETHER_MAX_LEN                     = 0x5ee
-       ETHER_MAX_LEN_JUMBO               = 0x233a
-       ETHER_MIN_LEN                     = 0x40
-       ETHER_PPPOE_ENCAP_LEN             = 0x8
-       ETHER_TYPE_LEN                    = 0x2
-       ETHER_VLAN_ENCAP_LEN              = 0x4
-       EVFILT_AIO                        = 0x2
-       EVFILT_PROC                       = 0x4
-       EVFILT_READ                       = 0x0
-       EVFILT_SIGNAL                     = 0x5
-       EVFILT_SYSCOUNT                   = 0x7
-       EVFILT_TIMER                      = 0x6
-       EVFILT_VNODE                      = 0x3
-       EVFILT_WRITE                      = 0x1
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x100
-       FLUSHO                            = 0x800000
-       F_CLOSEM                          = 0xa
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0xc
-       F_FSCTL                           = -0x80000000
-       F_FSDIRMASK                       = 0x70000000
-       F_FSIN                            = 0x10000000
-       F_FSINOUT                         = 0x30000000
-       F_FSOUT                           = 0x20000000
-       F_FSPRIV                          = 0x8000
-       F_FSVOID                          = 0x40000000
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0x7
-       F_GETNOSIGPIPE                    = 0xd
-       F_GETOWN                          = 0x5
-       F_MAXFD                           = 0xb
-       F_OK                              = 0x0
-       F_PARAM_MASK                      = 0xfff
-       F_PARAM_MAX                       = 0xfff
-       F_RDLCK                           = 0x1
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0x8
-       F_SETLKW                          = 0x9
-       F_SETNOSIGPIPE                    = 0xe
-       F_SETOWN                          = 0x6
-       F_UNLCK                           = 0x2
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFAN_ARRIVAL                      = 0x0
-       IFAN_DEPARTURE                    = 0x1
-       IFA_ROUTE                         = 0x1
-       IFF_ALLMULTI                      = 0x200
-       IFF_BROADCAST                     = 0x2
-       IFF_CANTCHANGE                    = 0x8f52
-       IFF_DEBUG                         = 0x4
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_NOTRAILERS                    = 0x20
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PROMISC                       = 0x100
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_A12MPPSWITCH                  = 0x82
-       IFT_AAL2                          = 0xbb
-       IFT_AAL5                          = 0x31
-       IFT_ADSL                          = 0x5e
-       IFT_AFLANE8023                    = 0x3b
-       IFT_AFLANE8025                    = 0x3c
-       IFT_ARAP                          = 0x58
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ASYNC                         = 0x54
-       IFT_ATM                           = 0x25
-       IFT_ATMDXI                        = 0x69
-       IFT_ATMFUNI                       = 0x6a
-       IFT_ATMIMA                        = 0x6b
-       IFT_ATMLOGICAL                    = 0x50
-       IFT_ATMRADIO                      = 0xbd
-       IFT_ATMSUBINTERFACE               = 0x86
-       IFT_ATMVCIENDPT                   = 0xc2
-       IFT_ATMVIRTUAL                    = 0x95
-       IFT_BGPPOLICYACCOUNTING           = 0xa2
-       IFT_BRIDGE                        = 0xd1
-       IFT_BSC                           = 0x53
-       IFT_CARP                          = 0xf8
-       IFT_CCTEMUL                       = 0x3d
-       IFT_CEPT                          = 0x13
-       IFT_CES                           = 0x85
-       IFT_CHANNEL                       = 0x46
-       IFT_CNR                           = 0x55
-       IFT_COFFEE                        = 0x84
-       IFT_COMPOSITELINK                 = 0x9b
-       IFT_DCN                           = 0x8d
-       IFT_DIGITALPOWERLINE              = 0x8a
-       IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
-       IFT_DLSW                          = 0x4a
-       IFT_DOCSCABLEDOWNSTREAM           = 0x80
-       IFT_DOCSCABLEMACLAYER             = 0x7f
-       IFT_DOCSCABLEUPSTREAM             = 0x81
-       IFT_DOCSCABLEUPSTREAMCHANNEL      = 0xcd
-       IFT_DS0                           = 0x51
-       IFT_DS0BUNDLE                     = 0x52
-       IFT_DS1FDL                        = 0xaa
-       IFT_DS3                           = 0x1e
-       IFT_DTM                           = 0x8c
-       IFT_DVBASILN                      = 0xac
-       IFT_DVBASIOUT                     = 0xad
-       IFT_DVBRCCDOWNSTREAM              = 0x93
-       IFT_DVBRCCMACLAYER                = 0x92
-       IFT_DVBRCCUPSTREAM                = 0x94
-       IFT_ECONET                        = 0xce
-       IFT_EON                           = 0x19
-       IFT_EPLRS                         = 0x57
-       IFT_ESCON                         = 0x49
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0xf2
-       IFT_FAST                          = 0x7d
-       IFT_FASTETHER                     = 0x3e
-       IFT_FASTETHERFX                   = 0x45
-       IFT_FDDI                          = 0xf
-       IFT_FIBRECHANNEL                  = 0x38
-       IFT_FRAMERELAYINTERCONNECT        = 0x3a
-       IFT_FRAMERELAYMPI                 = 0x5c
-       IFT_FRDLCIENDPT                   = 0xc1
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_FRF16MFRBUNDLE                = 0xa3
-       IFT_FRFORWARD                     = 0x9e
-       IFT_G703AT2MB                     = 0x43
-       IFT_G703AT64K                     = 0x42
-       IFT_GIF                           = 0xf0
-       IFT_GIGABITETHERNET               = 0x75
-       IFT_GR303IDT                      = 0xb2
-       IFT_GR303RDT                      = 0xb1
-       IFT_H323GATEKEEPER                = 0xa4
-       IFT_H323PROXY                     = 0xa5
-       IFT_HDH1822                       = 0x3
-       IFT_HDLC                          = 0x76
-       IFT_HDSL2                         = 0xa8
-       IFT_HIPERLAN2                     = 0xb7
-       IFT_HIPPI                         = 0x2f
-       IFT_HIPPIINTERFACE                = 0x39
-       IFT_HOSTPAD                       = 0x5a
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IBM370PARCHAN                 = 0x48
-       IFT_IDSL                          = 0x9a
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE80211                     = 0x47
-       IFT_IEEE80212                     = 0x37
-       IFT_IEEE8023ADLAG                 = 0xa1
-       IFT_IFGSN                         = 0x91
-       IFT_IMT                           = 0xbe
-       IFT_INFINIBAND                    = 0xc7
-       IFT_INTERLEAVE                    = 0x7c
-       IFT_IP                            = 0x7e
-       IFT_IPFORWARD                     = 0x8e
-       IFT_IPOVERATM                     = 0x72
-       IFT_IPOVERCDLC                    = 0x6d
-       IFT_IPOVERCLAW                    = 0x6e
-       IFT_IPSWITCH                      = 0x4e
-       IFT_ISDN                          = 0x3f
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISDNS                         = 0x4b
-       IFT_ISDNU                         = 0x4c
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88025CRFPINT               = 0x62
-       IFT_ISO88025DTR                   = 0x56
-       IFT_ISO88025FIBER                 = 0x73
-       IFT_ISO88026                      = 0xa
-       IFT_ISUP                          = 0xb3
-       IFT_L2VLAN                        = 0x87
-       IFT_L3IPVLAN                      = 0x88
-       IFT_L3IPXVLAN                     = 0x89
-       IFT_LAPB                          = 0x10
-       IFT_LAPD                          = 0x4d
-       IFT_LAPF                          = 0x77
-       IFT_LINEGROUP                     = 0xd2
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MEDIAMAILOVERIP               = 0x8b
-       IFT_MFSIGLINK                     = 0xa7
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_MPC                           = 0x71
-       IFT_MPLS                          = 0xa6
-       IFT_MPLSTUNNEL                    = 0x96
-       IFT_MSDSL                         = 0x8f
-       IFT_MVL                           = 0xbf
-       IFT_MYRINET                       = 0x63
-       IFT_NFAS                          = 0xaf
-       IFT_NSIP                          = 0x1b
-       IFT_OPTICALCHANNEL                = 0xc3
-       IFT_OPTICALTRANSPORT              = 0xc4
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PFLOG                         = 0xf5
-       IFT_PFSYNC                        = 0xf6
-       IFT_PLC                           = 0xae
-       IFT_PON155                        = 0xcf
-       IFT_PON622                        = 0xd0
-       IFT_POS                           = 0xab
-       IFT_PPP                           = 0x17
-       IFT_PPPMULTILINKBUNDLE            = 0x6c
-       IFT_PROPATM                       = 0xc5
-       IFT_PROPBWAP2MP                   = 0xb8
-       IFT_PROPCNLS                      = 0x59
-       IFT_PROPDOCSWIRELESSDOWNSTREAM    = 0xb5
-       IFT_PROPDOCSWIRELESSMACLAYER      = 0xb4
-       IFT_PROPDOCSWIRELESSUPSTREAM      = 0xb6
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PROPWIRELESSP2P               = 0x9d
-       IFT_PTPSERIAL                     = 0x16
-       IFT_PVC                           = 0xf1
-       IFT_Q2931                         = 0xc9
-       IFT_QLLC                          = 0x44
-       IFT_RADIOMAC                      = 0xbc
-       IFT_RADSL                         = 0x5f
-       IFT_REACHDSL                      = 0xc0
-       IFT_RFC1483                       = 0x9f
-       IFT_RS232                         = 0x21
-       IFT_RSRB                          = 0x4f
-       IFT_SDLC                          = 0x11
-       IFT_SDSL                          = 0x60
-       IFT_SHDSL                         = 0xa9
-       IFT_SIP                           = 0x1f
-       IFT_SIPSIG                        = 0xcc
-       IFT_SIPTG                         = 0xcb
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETOVERHEADCHANNEL          = 0xb9
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_SRP                           = 0x97
-       IFT_SS7SIGLINK                    = 0x9c
-       IFT_STACKTOSTACK                  = 0x6f
-       IFT_STARLAN                       = 0xb
-       IFT_STF                           = 0xd7
-       IFT_T1                            = 0x12
-       IFT_TDLC                          = 0x74
-       IFT_TELINK                        = 0xc8
-       IFT_TERMPAD                       = 0x5b
-       IFT_TR008                         = 0xb0
-       IFT_TRANSPHDLC                    = 0x7b
-       IFT_TUNNEL                        = 0x83
-       IFT_ULTRA                         = 0x1d
-       IFT_USB                           = 0xa0
-       IFT_V11                           = 0x40
-       IFT_V35                           = 0x2d
-       IFT_V36                           = 0x41
-       IFT_V37                           = 0x78
-       IFT_VDSL                          = 0x61
-       IFT_VIRTUALIPADDRESS              = 0x70
-       IFT_VIRTUALTG                     = 0xca
-       IFT_VOICEDID                      = 0xd5
-       IFT_VOICEEM                       = 0x64
-       IFT_VOICEEMFGD                    = 0xd3
-       IFT_VOICEENCAP                    = 0x67
-       IFT_VOICEFGDEANA                  = 0xd4
-       IFT_VOICEFXO                      = 0x65
-       IFT_VOICEFXS                      = 0x66
-       IFT_VOICEOVERATM                  = 0x98
-       IFT_VOICEOVERCABLE                = 0xc6
-       IFT_VOICEOVERFRAMERELAY           = 0x99
-       IFT_VOICEOVERIP                   = 0x68
-       IFT_X213                          = 0x5d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25HUNTGROUP                  = 0x7a
-       IFT_X25MLP                        = 0x79
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LOOPBACKNET                    = 0x7f
-       IPPROTO_AH                        = 0x33
-       IPPROTO_CARP                      = 0x70
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_IPV6_ICMP                 = 0x3a
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x34
-       IPPROTO_MOBILE                    = 0x37
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_PFSYNC                    = 0xf0
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_UDP                       = 0x11
-       IPPROTO_VRRP                      = 0x70
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_DONTFRAG                     = 0x3e
-       IPV6_DSTOPTS                      = 0x32
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x78
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_HOPLIMIT                     = 0x2f
-       IPV6_HOPOPTS                      = 0x31
-       IPV6_IPSEC_POLICY                 = 0x1c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MMTU                         = 0x500
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_NEXTHOP                      = 0x30
-       IPV6_PATHMTU                      = 0x2c
-       IPV6_PKTINFO                      = 0x2e
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_RECVDSTOPTS                  = 0x28
-       IPV6_RECVHOPLIMIT                 = 0x25
-       IPV6_RECVHOPOPTS                  = 0x27
-       IPV6_RECVPATHMTU                  = 0x2b
-       IPV6_RECVPKTINFO                  = 0x24
-       IPV6_RECVRTHDR                    = 0x26
-       IPV6_RECVTCLASS                   = 0x39
-       IPV6_RTHDR                        = 0x33
-       IPV6_RTHDRDSTOPTS                 = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x3d
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_USE_MIN_MTU                  = 0x2a
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_EF                             = 0x8000
-       IP_ERRORMTU                       = 0x15
-       IP_HDRINCL                        = 0x2
-       IP_IPSEC_POLICY                   = 0x16
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_MEMBERSHIPS                = 0x14
-       IP_MF                             = 0x2000
-       IP_MINFRAGSIZE                    = 0x45
-       IP_MINTTL                         = 0x18
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_OFFMASK                        = 0x1fff
-       IP_OPTIONS                        = 0x1
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVIF                         = 0x14
-       IP_RECVOPTS                       = 0x5
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVTTL                        = 0x17
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_TOS                            = 0x3
-       IP_TTL                            = 0x4
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x6
-       MADV_NORMAL                       = 0x0
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_SPACEAVAIL                   = 0x5
-       MADV_WILLNEED                     = 0x3
-       MAP_ALIGNMENT_16MB                = 0x18000000
-       MAP_ALIGNMENT_1TB                 = 0x28000000
-       MAP_ALIGNMENT_256TB               = 0x30000000
-       MAP_ALIGNMENT_4GB                 = 0x20000000
-       MAP_ALIGNMENT_64KB                = 0x10000000
-       MAP_ALIGNMENT_64PB                = 0x38000000
-       MAP_ALIGNMENT_MASK                = -0x1000000
-       MAP_ALIGNMENT_SHIFT               = 0x18
-       MAP_ANON                          = 0x1000
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_INHERIT                       = 0x80
-       MAP_INHERIT_COPY                  = 0x1
-       MAP_INHERIT_DEFAULT               = 0x1
-       MAP_INHERIT_DONATE_COPY           = 0x3
-       MAP_INHERIT_NONE                  = 0x2
-       MAP_INHERIT_SHARE                 = 0x0
-       MAP_NORESERVE                     = 0x40
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_SHARED                        = 0x1
-       MAP_STACK                         = 0x2000
-       MAP_TRYFIXED                      = 0x400
-       MAP_WIRED                         = 0x800
-       MSG_BCAST                         = 0x100
-       MSG_CMSG_CLOEXEC                  = 0x800
-       MSG_CONTROLMBUF                   = 0x2000000
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOR                           = 0x8
-       MSG_IOVUSRSPACE                   = 0x4000000
-       MSG_LENUSRSPACE                   = 0x8000000
-       MSG_MCAST                         = 0x200
-       MSG_NAMEMBUF                      = 0x1000000
-       MSG_NBIO                          = 0x1000
-       MSG_NOSIGNAL                      = 0x400
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_TRUNC                         = 0x10
-       MSG_USERFLAGS                     = 0xffffff
-       MSG_WAITALL                       = 0x40
-       NAME_MAX                          = 0x1ff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x5
-       NET_RT_MAXID                      = 0x6
-       NET_RT_OIFLIST                    = 0x4
-       NET_RT_OOIFLIST                   = 0x3
-       NOFLSH                            = 0x80000000
-       NOTE_ATTRIB                       = 0x8
-       NOTE_CHILD                        = 0x4
-       NOTE_DELETE                       = 0x1
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FORK                         = 0x40000000
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_PCTRLMASK                    = 0xf0000000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       OFIOGETBMAP                       = 0xc004667a
-       ONLCR                             = 0x2
-       ONLRET                            = 0x40
-       ONOCR                             = 0x20
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_ALT_IO                          = 0x40000
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x400000
-       O_CREAT                           = 0x200
-       O_DIRECT                          = 0x80000
-       O_DIRECTORY                       = 0x200000
-       O_DSYNC                           = 0x10000
-       O_EXCL                            = 0x800
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x8000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_NOSIGPIPE                       = 0x1000000
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_RSYNC                           = 0x20000
-       O_SHLOCK                          = 0x10
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       PRI_IOFLUSH                       = 0x7c
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       RLIMIT_AS                         = 0xa
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_MAX                          = 0x9
-       RTAX_NETMASK                      = 0x2
-       RTAX_TAG                          = 0x8
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_NETMASK                       = 0x4
-       RTA_TAG                           = 0x100
-       RTF_ANNOUNCE                      = 0x20000
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_CLONED                        = 0x2000
-       RTF_CLONING                       = 0x100
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_GATEWAY                       = 0x2
-       RTF_HOST                          = 0x4
-       RTF_LLINFO                        = 0x400
-       RTF_MASK                          = 0x80
-       RTF_MODIFIED                      = 0x20
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_REJECT                        = 0x8
-       RTF_SRC                           = 0x10000
-       RTF_STATIC                        = 0x800
-       RTF_UP                            = 0x1
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_CHGADDR                       = 0x15
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_GET                           = 0x4
-       RTM_IEEE80211                     = 0x11
-       RTM_IFANNOUNCE                    = 0x10
-       RTM_IFINFO                        = 0x14
-       RTM_LLINFO_UPD                    = 0x13
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_OIFINFO                       = 0xf
-       RTM_OLDADD                        = 0x9
-       RTM_OLDDEL                        = 0xa
-       RTM_OOIFINFO                      = 0xe
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_SETGATE                       = 0x12
-       RTM_VERSION                       = 0x4
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       SCM_CREDS                         = 0x4
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x8
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80906931
-       SIOCADDRT                         = 0x8030720a
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCALIFADDR                      = 0x8118691c
-       SIOCATMARK                        = 0x40047307
-       SIOCDELMULTI                      = 0x80906932
-       SIOCDELRT                         = 0x8030720b
-       SIOCDIFADDR                       = 0x80906919
-       SIOCDIFPHYADDR                    = 0x80906949
-       SIOCDLIFADDR                      = 0x8118691e
-       SIOCGDRVSPEC                      = 0xc01c697b
-       SIOCGETPFSYNC                     = 0xc09069f8
-       SIOCGETSGCNT                      = 0xc0147534
-       SIOCGETVIFCNT                     = 0xc0147533
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0906921
-       SIOCGIFADDRPREF                   = 0xc0946920
-       SIOCGIFALIAS                      = 0xc040691b
-       SIOCGIFBRDADDR                    = 0xc0906923
-       SIOCGIFCAP                        = 0xc0206976
-       SIOCGIFCONF                       = 0xc0086926
-       SIOCGIFDATA                       = 0xc0946985
-       SIOCGIFDLT                        = 0xc0906977
-       SIOCGIFDSTADDR                    = 0xc0906922
-       SIOCGIFFLAGS                      = 0xc0906911
-       SIOCGIFGENERIC                    = 0xc090693a
-       SIOCGIFMEDIA                      = 0xc0286936
-       SIOCGIFMETRIC                     = 0xc0906917
-       SIOCGIFMTU                        = 0xc090697e
-       SIOCGIFNETMASK                    = 0xc0906925
-       SIOCGIFPDSTADDR                   = 0xc0906948
-       SIOCGIFPSRCADDR                   = 0xc0906947
-       SIOCGLIFADDR                      = 0xc118691d
-       SIOCGLIFPHYADDR                   = 0xc118694b
-       SIOCGLINKSTR                      = 0xc01c6987
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCGVH                           = 0xc0906983
-       SIOCIFCREATE                      = 0x8090697a
-       SIOCIFDESTROY                     = 0x80906979
-       SIOCIFGCLONERS                    = 0xc00c6978
-       SIOCINITIFADDR                    = 0xc0446984
-       SIOCSDRVSPEC                      = 0x801c697b
-       SIOCSETPFSYNC                     = 0x809069f7
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8090690c
-       SIOCSIFADDRPREF                   = 0x8094691f
-       SIOCSIFBRDADDR                    = 0x80906913
-       SIOCSIFCAP                        = 0x80206975
-       SIOCSIFDSTADDR                    = 0x8090690e
-       SIOCSIFFLAGS                      = 0x80906910
-       SIOCSIFGENERIC                    = 0x80906939
-       SIOCSIFMEDIA                      = 0xc0906935
-       SIOCSIFMETRIC                     = 0x80906918
-       SIOCSIFMTU                        = 0x8090697f
-       SIOCSIFNETMASK                    = 0x80906916
-       SIOCSIFPHYADDR                    = 0x80406946
-       SIOCSLIFPHYADDR                   = 0x8118694a
-       SIOCSLINKSTR                      = 0x801c6988
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SIOCSVH                           = 0xc0906982
-       SIOCZIFDATA                       = 0xc0946986
-       SOCK_CLOEXEC                      = 0x10000000
-       SOCK_DGRAM                        = 0x2
-       SOCK_FLAGS_MASK                   = 0xf0000000
-       SOCK_NONBLOCK                     = 0x20000000
-       SOCK_NOSIGPIPE                    = 0x40000000
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_ACCEPTFILTER                   = 0x1000
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LINGER                         = 0x80
-       SO_NOHEADER                       = 0x100a
-       SO_NOSIGPIPE                      = 0x800
-       SO_OOBINLINE                      = 0x100
-       SO_OVERFLOWED                     = 0x1009
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x100c
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x100b
-       SO_TIMESTAMP                      = 0x2000
-       SO_TYPE                           = 0x1008
-       SO_USELOOPBACK                    = 0x40
-       SYSCTL_VERSION                    = 0x1000000
-       SYSCTL_VERS_0                     = 0x0
-       SYSCTL_VERS_1                     = 0x1000000
-       SYSCTL_VERS_MASK                  = 0xff000000
-       S_ARCH1                           = 0x10000
-       S_ARCH2                           = 0x20000
-       S_BLKSIZE                         = 0x200
-       S_IEXEC                           = 0x40
-       S_IFBLK                           = 0x6000
-       S_IFCHR                           = 0x2000
-       S_IFDIR                           = 0x4000
-       S_IFIFO                           = 0x1000
-       S_IFLNK                           = 0xa000
-       S_IFMT                            = 0xf000
-       S_IFREG                           = 0x8000
-       S_IFSOCK                          = 0xc000
-       S_IFWHT                           = 0xe000
-       S_IREAD                           = 0x100
-       S_IRGRP                           = 0x20
-       S_IROTH                           = 0x4
-       S_IRUSR                           = 0x100
-       S_IRWXG                           = 0x38
-       S_IRWXO                           = 0x7
-       S_IRWXU                           = 0x1c0
-       S_ISGID                           = 0x400
-       S_ISTXT                           = 0x200
-       S_ISUID                           = 0x800
-       S_ISVTX                           = 0x200
-       S_IWGRP                           = 0x10
-       S_IWOTH                           = 0x2
-       S_IWRITE                          = 0x80
-       S_IWUSR                           = 0x80
-       S_IXGRP                           = 0x8
-       S_IXOTH                           = 0x1
-       S_IXUSR                           = 0x40
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_CONGCTL                       = 0x20
-       TCP_KEEPCNT                       = 0x6
-       TCP_KEEPIDLE                      = 0x3
-       TCP_KEEPINIT                      = 0x7
-       TCP_KEEPINTVL                     = 0x5
-       TCP_MAXBURST                      = 0x4
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MD5SIG                        = 0x10
-       TCP_MINMSS                        = 0xd8
-       TCP_MSS                           = 0x218
-       TCP_NODELAY                       = 0x1
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDCDTIMESTAMP                  = 0x400c7458
-       TIOCDRAIN                         = 0x2000745e
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLAG_CDTRCTS                  = 0x10
-       TIOCFLAG_CLOCAL                   = 0x2
-       TIOCFLAG_CRTSCTS                  = 0x4
-       TIOCFLAG_MDMBUF                   = 0x8
-       TIOCFLAG_SOFTCAR                  = 0x1
-       TIOCFLUSH                         = 0x80047410
-       TIOCGETA                          = 0x402c7413
-       TIOCGETD                          = 0x4004741a
-       TIOCGFLAGS                        = 0x4004745d
-       TIOCGLINED                        = 0x40207442
-       TIOCGPGRP                         = 0x40047477
-       TIOCGQSIZE                        = 0x40047481
-       TIOCGRANTPT                       = 0x20007447
-       TIOCGSID                          = 0x40047463
-       TIOCGSIZE                         = 0x40087468
-       TIOCGWINSZ                        = 0x40087468
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGET                          = 0x4004746a
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCPTMGET                        = 0x48087446
-       TIOCPTSNAME                       = 0x48087448
-       TIOCRCVFRAME                      = 0x80047445
-       TIOCREMOTE                        = 0x80047469
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x802c7414
-       TIOCSETAF                         = 0x802c7416
-       TIOCSETAW                         = 0x802c7415
-       TIOCSETD                          = 0x8004741b
-       TIOCSFLAGS                        = 0x8004745c
-       TIOCSIG                           = 0x2000745f
-       TIOCSLINED                        = 0x80207443
-       TIOCSPGRP                         = 0x80047476
-       TIOCSQSIZE                        = 0x80047480
-       TIOCSSIZE                         = 0x80087467
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x80047465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSWINSZ                        = 0x80087467
-       TIOCUCNTL                         = 0x80047466
-       TIOCXMTFRAME                      = 0x80047444
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WALL                              = 0x8
-       WALLSIG                           = 0x8
-       WALTSIG                           = 0x4
-       WCLONE                            = 0x4
-       WCOREFLAG                         = 0x80
-       WNOHANG                           = 0x1
-       WNOWAIT                           = 0x10000
-       WNOZOMBIE                         = 0x20000
-       WOPTSCHECKED                      = 0x40000
-       WSTOPPED                          = 0x7f
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADF           = syscall.Errno(0x9)
-       EBADMSG         = syscall.Errno(0x58)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x57)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDOM            = syscall.Errno(0x21)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x52)
-       EILSEQ          = syscall.Errno(0x55)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x60)
-       ELOOP           = syscall.Errno(0x3e)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       EMULTIHOP       = syscall.Errno(0x5e)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x5d)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODATA         = syscall.Errno(0x59)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOLINK         = syscall.Errno(0x5f)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x53)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x5a)
-       ENOSTR          = syscall.Errno(0x5b)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x56)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x2d)
-       EOVERFLOW       = syscall.Errno(0x54)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTO          = syscall.Errno(0x60)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIME           = syscall.Errno(0x5c)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGPWR    = syscall.Signal(0x20)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:  "operation not permitted",
-       2:  "no such file or directory",
-       3:  "no such process",
-       4:  "interrupted system call",
-       5:  "input/output error",
-       6:  "device not configured",
-       7:  "argument list too long",
-       8:  "exec format error",
-       9:  "bad file descriptor",
-       10: "no child processes",
-       11: "resource deadlock avoided",
-       12: "cannot allocate memory",
-       13: "permission denied",
-       14: "bad address",
-       15: "block device required",
-       16: "device busy",
-       17: "file exists",
-       18: "cross-device link",
-       19: "operation not supported by device",
-       20: "not a directory",
-       21: "is a directory",
-       22: "invalid argument",
-       23: "too many open files in system",
-       24: "too many open files",
-       25: "inappropriate ioctl for device",
-       26: "text file busy",
-       27: "file too large",
-       28: "no space left on device",
-       29: "illegal seek",
-       30: "read-only file system",
-       31: "too many links",
-       32: "broken pipe",
-       33: "numerical argument out of domain",
-       34: "result too large or too small",
-       35: "resource temporarily unavailable",
-       36: "operation now in progress",
-       37: "operation already in progress",
-       38: "socket operation on non-socket",
-       39: "destination address required",
-       40: "message too long",
-       41: "protocol wrong type for socket",
-       42: "protocol option not available",
-       43: "protocol not supported",
-       44: "socket type not supported",
-       45: "operation not supported",
-       46: "protocol family not supported",
-       47: "address family not supported by protocol family",
-       48: "address already in use",
-       49: "can't assign requested address",
-       50: "network is down",
-       51: "network is unreachable",
-       52: "network dropped connection on reset",
-       53: "software caused connection abort",
-       54: "connection reset by peer",
-       55: "no buffer space available",
-       56: "socket is already connected",
-       57: "socket is not connected",
-       58: "can't send after socket shutdown",
-       59: "too many references: can't splice",
-       60: "connection timed out",
-       61: "connection refused",
-       62: "too many levels of symbolic links",
-       63: "file name too long",
-       64: "host is down",
-       65: "no route to host",
-       66: "directory not empty",
-       67: "too many processes",
-       68: "too many users",
-       69: "disc quota exceeded",
-       70: "stale NFS file handle",
-       71: "too many levels of remote in path",
-       72: "RPC struct is bad",
-       73: "RPC version wrong",
-       74: "RPC prog. not avail",
-       75: "program version wrong",
-       76: "bad procedure for program",
-       77: "no locks available",
-       78: "function not implemented",
-       79: "inappropriate file type or format",
-       80: "authentication error",
-       81: "need authenticator",
-       82: "identifier removed",
-       83: "no message of desired type",
-       84: "value too large to be stored in data type",
-       85: "illegal byte sequence",
-       86: "not supported",
-       87: "operation Canceled",
-       88: "bad or Corrupt message",
-       89: "no message available",
-       90: "no STREAM resources",
-       91: "not a STREAM",
-       92: "STREAM ioctl timeout",
-       93: "attribute not found",
-       94: "multihop attempted",
-       95: "link has been severed",
-       96: "protocol error",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "stopped (signal)",
-       18: "stopped",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-       32: "power fail/restart",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go b/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go
deleted file mode 100644 (file)
index 3322e99..0000000
+++ /dev/null
@@ -1,1584 +0,0 @@
-// mkerrors.sh -m32
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build 386,openbsd
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m32 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_BLUETOOTH                      = 0x20
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1a
-       AF_ECMA                           = 0x8
-       AF_ENCAP                          = 0x1c
-       AF_HYLINK                         = 0xf
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x18
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1a
-       AF_ISO                            = 0x7
-       AF_KEY                            = 0x1e
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x24
-       AF_MPLS                           = 0x21
-       AF_NATM                           = 0x1b
-       AF_NS                             = 0x6
-       AF_OSI                            = 0x7
-       AF_PUP                            = 0x4
-       AF_ROUTE                          = 0x11
-       AF_SIP                            = 0x1d
-       AF_SNA                            = 0xb
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       ARPHRD_ETHER                      = 0x1
-       ARPHRD_FRELAY                     = 0xf
-       ARPHRD_IEEE1394                   = 0x18
-       ARPHRD_IEEE802                    = 0x6
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B9600                             = 0x2580
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDIRFILT                      = 0x4004427c
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc008427b
-       BIOCGETIF                         = 0x4020426b
-       BIOCGFILDROP                      = 0x40044278
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRSIG                         = 0x40044273
-       BIOCGRTIMEOUT                     = 0x400c426e
-       BIOCGSTATS                        = 0x4008426f
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCLOCK                          = 0x20004276
-       BIOCPROMISC                       = 0x20004269
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDIRFILT                      = 0x8004427d
-       BIOCSDLT                          = 0x8004427a
-       BIOCSETF                          = 0x80084267
-       BIOCSETIF                         = 0x8020426c
-       BIOCSETWF                         = 0x80084277
-       BIOCSFILDROP                      = 0x80044279
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRSIG                         = 0x80044272
-       BIOCSRTIMEOUT                     = 0x800c426d
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x4
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_DIRECTION_IN                  = 0x1
-       BPF_DIRECTION_OUT                 = 0x2
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x200000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0xff
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0xc
-       CTL_NET                           = 0x4
-       DIOCOSFPFLUSH                     = 0x2000444e
-       DLT_ARCNET                        = 0x7
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AX25                          = 0x3
-       DLT_CHAOS                         = 0x5
-       DLT_C_HDLC                        = 0x68
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0xd
-       DLT_FDDI                          = 0xa
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_LOOP                          = 0xc
-       DLT_MPLS                          = 0xdb
-       DLT_NULL                          = 0x0
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x12
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0x10
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PRONET                        = 0x4
-       DLT_RAW                           = 0xe
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xf
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EMT_TAGOVF                        = 0x1
-       EMUL_ENABLED                      = 0x1
-       EMUL_NATIVE                       = 0x2
-       ENDRUNDISC                        = 0x9
-       ETHERMIN                          = 0x2e
-       ETHERMTU                          = 0x5dc
-       ETHERTYPE_8023                    = 0x4
-       ETHERTYPE_AARP                    = 0x80f3
-       ETHERTYPE_ACCTON                  = 0x8390
-       ETHERTYPE_AEONIC                  = 0x8036
-       ETHERTYPE_ALPHA                   = 0x814a
-       ETHERTYPE_AMBER                   = 0x6008
-       ETHERTYPE_AMOEBA                  = 0x8145
-       ETHERTYPE_AOE                     = 0x88a2
-       ETHERTYPE_APOLLO                  = 0x80f7
-       ETHERTYPE_APOLLODOMAIN            = 0x8019
-       ETHERTYPE_APPLETALK               = 0x809b
-       ETHERTYPE_APPLITEK                = 0x80c7
-       ETHERTYPE_ARGONAUT                = 0x803a
-       ETHERTYPE_ARP                     = 0x806
-       ETHERTYPE_AT                      = 0x809b
-       ETHERTYPE_ATALK                   = 0x809b
-       ETHERTYPE_ATOMIC                  = 0x86df
-       ETHERTYPE_ATT                     = 0x8069
-       ETHERTYPE_ATTSTANFORD             = 0x8008
-       ETHERTYPE_AUTOPHON                = 0x806a
-       ETHERTYPE_AXIS                    = 0x8856
-       ETHERTYPE_BCLOOP                  = 0x9003
-       ETHERTYPE_BOFL                    = 0x8102
-       ETHERTYPE_CABLETRON               = 0x7034
-       ETHERTYPE_CHAOS                   = 0x804
-       ETHERTYPE_COMDESIGN               = 0x806c
-       ETHERTYPE_COMPUGRAPHIC            = 0x806d
-       ETHERTYPE_COUNTERPOINT            = 0x8062
-       ETHERTYPE_CRONUS                  = 0x8004
-       ETHERTYPE_CRONUSVLN               = 0x8003
-       ETHERTYPE_DCA                     = 0x1234
-       ETHERTYPE_DDE                     = 0x807b
-       ETHERTYPE_DEBNI                   = 0xaaaa
-       ETHERTYPE_DECAM                   = 0x8048
-       ETHERTYPE_DECCUST                 = 0x6006
-       ETHERTYPE_DECDIAG                 = 0x6005
-       ETHERTYPE_DECDNS                  = 0x803c
-       ETHERTYPE_DECDTS                  = 0x803e
-       ETHERTYPE_DECEXPER                = 0x6000
-       ETHERTYPE_DECLAST                 = 0x8041
-       ETHERTYPE_DECLTM                  = 0x803f
-       ETHERTYPE_DECMUMPS                = 0x6009
-       ETHERTYPE_DECNETBIOS              = 0x8040
-       ETHERTYPE_DELTACON                = 0x86de
-       ETHERTYPE_DIDDLE                  = 0x4321
-       ETHERTYPE_DLOG1                   = 0x660
-       ETHERTYPE_DLOG2                   = 0x661
-       ETHERTYPE_DN                      = 0x6003
-       ETHERTYPE_DOGFIGHT                = 0x1989
-       ETHERTYPE_DSMD                    = 0x8039
-       ETHERTYPE_ECMA                    = 0x803
-       ETHERTYPE_ENCRYPT                 = 0x803d
-       ETHERTYPE_ES                      = 0x805d
-       ETHERTYPE_EXCELAN                 = 0x8010
-       ETHERTYPE_EXPERDATA               = 0x8049
-       ETHERTYPE_FLIP                    = 0x8146
-       ETHERTYPE_FLOWCONTROL             = 0x8808
-       ETHERTYPE_FRARP                   = 0x808
-       ETHERTYPE_GENDYN                  = 0x8068
-       ETHERTYPE_HAYES                   = 0x8130
-       ETHERTYPE_HIPPI_FP                = 0x8180
-       ETHERTYPE_HITACHI                 = 0x8820
-       ETHERTYPE_HP                      = 0x8005
-       ETHERTYPE_IEEEPUP                 = 0xa00
-       ETHERTYPE_IEEEPUPAT               = 0xa01
-       ETHERTYPE_IMLBL                   = 0x4c42
-       ETHERTYPE_IMLBLDIAG               = 0x424c
-       ETHERTYPE_IP                      = 0x800
-       ETHERTYPE_IPAS                    = 0x876c
-       ETHERTYPE_IPV6                    = 0x86dd
-       ETHERTYPE_IPX                     = 0x8137
-       ETHERTYPE_IPXNEW                  = 0x8037
-       ETHERTYPE_KALPANA                 = 0x8582
-       ETHERTYPE_LANBRIDGE               = 0x8038
-       ETHERTYPE_LANPROBE                = 0x8888
-       ETHERTYPE_LAT                     = 0x6004
-       ETHERTYPE_LBACK                   = 0x9000
-       ETHERTYPE_LITTLE                  = 0x8060
-       ETHERTYPE_LLDP                    = 0x88cc
-       ETHERTYPE_LOGICRAFT               = 0x8148
-       ETHERTYPE_LOOPBACK                = 0x9000
-       ETHERTYPE_MATRA                   = 0x807a
-       ETHERTYPE_MAX                     = 0xffff
-       ETHERTYPE_MERIT                   = 0x807c
-       ETHERTYPE_MICP                    = 0x873a
-       ETHERTYPE_MOPDL                   = 0x6001
-       ETHERTYPE_MOPRC                   = 0x6002
-       ETHERTYPE_MOTOROLA                = 0x818d
-       ETHERTYPE_MPLS                    = 0x8847
-       ETHERTYPE_MPLS_MCAST              = 0x8848
-       ETHERTYPE_MUMPS                   = 0x813f
-       ETHERTYPE_NBPCC                   = 0x3c04
-       ETHERTYPE_NBPCLAIM                = 0x3c09
-       ETHERTYPE_NBPCLREQ                = 0x3c05
-       ETHERTYPE_NBPCLRSP                = 0x3c06
-       ETHERTYPE_NBPCREQ                 = 0x3c02
-       ETHERTYPE_NBPCRSP                 = 0x3c03
-       ETHERTYPE_NBPDG                   = 0x3c07
-       ETHERTYPE_NBPDGB                  = 0x3c08
-       ETHERTYPE_NBPDLTE                 = 0x3c0a
-       ETHERTYPE_NBPRAR                  = 0x3c0c
-       ETHERTYPE_NBPRAS                  = 0x3c0b
-       ETHERTYPE_NBPRST                  = 0x3c0d
-       ETHERTYPE_NBPSCD                  = 0x3c01
-       ETHERTYPE_NBPVCD                  = 0x3c00
-       ETHERTYPE_NBS                     = 0x802
-       ETHERTYPE_NCD                     = 0x8149
-       ETHERTYPE_NESTAR                  = 0x8006
-       ETHERTYPE_NETBEUI                 = 0x8191
-       ETHERTYPE_NOVELL                  = 0x8138
-       ETHERTYPE_NS                      = 0x600
-       ETHERTYPE_NSAT                    = 0x601
-       ETHERTYPE_NSCOMPAT                = 0x807
-       ETHERTYPE_NTRAILER                = 0x10
-       ETHERTYPE_OS9                     = 0x7007
-       ETHERTYPE_OS9NET                  = 0x7009
-       ETHERTYPE_PACER                   = 0x80c6
-       ETHERTYPE_PAE                     = 0x888e
-       ETHERTYPE_PCS                     = 0x4242
-       ETHERTYPE_PLANNING                = 0x8044
-       ETHERTYPE_PPP                     = 0x880b
-       ETHERTYPE_PPPOE                   = 0x8864
-       ETHERTYPE_PPPOEDISC               = 0x8863
-       ETHERTYPE_PRIMENTS                = 0x7031
-       ETHERTYPE_PUP                     = 0x200
-       ETHERTYPE_PUPAT                   = 0x200
-       ETHERTYPE_QINQ                    = 0x88a8
-       ETHERTYPE_RACAL                   = 0x7030
-       ETHERTYPE_RATIONAL                = 0x8150
-       ETHERTYPE_RAWFR                   = 0x6559
-       ETHERTYPE_RCL                     = 0x1995
-       ETHERTYPE_RDP                     = 0x8739
-       ETHERTYPE_RETIX                   = 0x80f2
-       ETHERTYPE_REVARP                  = 0x8035
-       ETHERTYPE_SCA                     = 0x6007
-       ETHERTYPE_SECTRA                  = 0x86db
-       ETHERTYPE_SECUREDATA              = 0x876d
-       ETHERTYPE_SGITW                   = 0x817e
-       ETHERTYPE_SG_BOUNCE               = 0x8016
-       ETHERTYPE_SG_DIAG                 = 0x8013
-       ETHERTYPE_SG_NETGAMES             = 0x8014
-       ETHERTYPE_SG_RESV                 = 0x8015
-       ETHERTYPE_SIMNET                  = 0x5208
-       ETHERTYPE_SLOW                    = 0x8809
-       ETHERTYPE_SNA                     = 0x80d5
-       ETHERTYPE_SNMP                    = 0x814c
-       ETHERTYPE_SONIX                   = 0xfaf5
-       ETHERTYPE_SPIDER                  = 0x809f
-       ETHERTYPE_SPRITE                  = 0x500
-       ETHERTYPE_STP                     = 0x8181
-       ETHERTYPE_TALARIS                 = 0x812b
-       ETHERTYPE_TALARISMC               = 0x852b
-       ETHERTYPE_TCPCOMP                 = 0x876b
-       ETHERTYPE_TCPSM                   = 0x9002
-       ETHERTYPE_TEC                     = 0x814f
-       ETHERTYPE_TIGAN                   = 0x802f
-       ETHERTYPE_TRAIL                   = 0x1000
-       ETHERTYPE_TRANSETHER              = 0x6558
-       ETHERTYPE_TYMSHARE                = 0x802e
-       ETHERTYPE_UBBST                   = 0x7005
-       ETHERTYPE_UBDEBUG                 = 0x900
-       ETHERTYPE_UBDIAGLOOP              = 0x7002
-       ETHERTYPE_UBDL                    = 0x7000
-       ETHERTYPE_UBNIU                   = 0x7001
-       ETHERTYPE_UBNMC                   = 0x7003
-       ETHERTYPE_VALID                   = 0x1600
-       ETHERTYPE_VARIAN                  = 0x80dd
-       ETHERTYPE_VAXELN                  = 0x803b
-       ETHERTYPE_VEECO                   = 0x8067
-       ETHERTYPE_VEXP                    = 0x805b
-       ETHERTYPE_VGLAB                   = 0x8131
-       ETHERTYPE_VINES                   = 0xbad
-       ETHERTYPE_VINESECHO               = 0xbaf
-       ETHERTYPE_VINESLOOP               = 0xbae
-       ETHERTYPE_VITAL                   = 0xff00
-       ETHERTYPE_VLAN                    = 0x8100
-       ETHERTYPE_VLTLMAN                 = 0x8080
-       ETHERTYPE_VPROD                   = 0x805c
-       ETHERTYPE_VURESERVED              = 0x8147
-       ETHERTYPE_WATERLOO                = 0x8130
-       ETHERTYPE_WELLFLEET               = 0x8103
-       ETHERTYPE_X25                     = 0x805
-       ETHERTYPE_X75                     = 0x801
-       ETHERTYPE_XNSSM                   = 0x9001
-       ETHERTYPE_XTP                     = 0x817d
-       ETHER_ADDR_LEN                    = 0x6
-       ETHER_ALIGN                       = 0x2
-       ETHER_CRC_LEN                     = 0x4
-       ETHER_CRC_POLY_BE                 = 0x4c11db6
-       ETHER_CRC_POLY_LE                 = 0xedb88320
-       ETHER_HDR_LEN                     = 0xe
-       ETHER_MAX_DIX_LEN                 = 0x600
-       ETHER_MAX_LEN                     = 0x5ee
-       ETHER_MIN_LEN                     = 0x40
-       ETHER_TYPE_LEN                    = 0x2
-       ETHER_VLAN_ENCAP_LEN              = 0x4
-       EVFILT_AIO                        = -0x3
-       EVFILT_PROC                       = -0x5
-       EVFILT_READ                       = -0x1
-       EVFILT_SIGNAL                     = -0x6
-       EVFILT_SYSCOUNT                   = 0x7
-       EVFILT_TIMER                      = -0x7
-       EVFILT_VNODE                      = -0x4
-       EVFILT_WRITE                      = -0x2
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x400
-       FLUSHO                            = 0x800000
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0xa
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0x7
-       F_GETOWN                          = 0x5
-       F_OK                              = 0x0
-       F_RDLCK                           = 0x1
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0x8
-       F_SETLKW                          = 0x9
-       F_SETOWN                          = 0x6
-       F_UNLCK                           = 0x2
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFAN_ARRIVAL                      = 0x0
-       IFAN_DEPARTURE                    = 0x1
-       IFA_ROUTE                         = 0x1
-       IFF_ALLMULTI                      = 0x200
-       IFF_BROADCAST                     = 0x2
-       IFF_CANTCHANGE                    = 0x8e52
-       IFF_DEBUG                         = 0x4
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_NOTRAILERS                    = 0x20
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PROMISC                       = 0x100
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_A12MPPSWITCH                  = 0x82
-       IFT_AAL2                          = 0xbb
-       IFT_AAL5                          = 0x31
-       IFT_ADSL                          = 0x5e
-       IFT_AFLANE8023                    = 0x3b
-       IFT_AFLANE8025                    = 0x3c
-       IFT_ARAP                          = 0x58
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ASYNC                         = 0x54
-       IFT_ATM                           = 0x25
-       IFT_ATMDXI                        = 0x69
-       IFT_ATMFUNI                       = 0x6a
-       IFT_ATMIMA                        = 0x6b
-       IFT_ATMLOGICAL                    = 0x50
-       IFT_ATMRADIO                      = 0xbd
-       IFT_ATMSUBINTERFACE               = 0x86
-       IFT_ATMVCIENDPT                   = 0xc2
-       IFT_ATMVIRTUAL                    = 0x95
-       IFT_BGPPOLICYACCOUNTING           = 0xa2
-       IFT_BLUETOOTH                     = 0xf8
-       IFT_BRIDGE                        = 0xd1
-       IFT_BSC                           = 0x53
-       IFT_CARP                          = 0xf7
-       IFT_CCTEMUL                       = 0x3d
-       IFT_CEPT                          = 0x13
-       IFT_CES                           = 0x85
-       IFT_CHANNEL                       = 0x46
-       IFT_CNR                           = 0x55
-       IFT_COFFEE                        = 0x84
-       IFT_COMPOSITELINK                 = 0x9b
-       IFT_DCN                           = 0x8d
-       IFT_DIGITALPOWERLINE              = 0x8a
-       IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
-       IFT_DLSW                          = 0x4a
-       IFT_DOCSCABLEDOWNSTREAM           = 0x80
-       IFT_DOCSCABLEMACLAYER             = 0x7f
-       IFT_DOCSCABLEUPSTREAM             = 0x81
-       IFT_DOCSCABLEUPSTREAMCHANNEL      = 0xcd
-       IFT_DS0                           = 0x51
-       IFT_DS0BUNDLE                     = 0x52
-       IFT_DS1FDL                        = 0xaa
-       IFT_DS3                           = 0x1e
-       IFT_DTM                           = 0x8c
-       IFT_DUMMY                         = 0xf1
-       IFT_DVBASILN                      = 0xac
-       IFT_DVBASIOUT                     = 0xad
-       IFT_DVBRCCDOWNSTREAM              = 0x93
-       IFT_DVBRCCMACLAYER                = 0x92
-       IFT_DVBRCCUPSTREAM                = 0x94
-       IFT_ECONET                        = 0xce
-       IFT_ENC                           = 0xf4
-       IFT_EON                           = 0x19
-       IFT_EPLRS                         = 0x57
-       IFT_ESCON                         = 0x49
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0xf3
-       IFT_FAST                          = 0x7d
-       IFT_FASTETHER                     = 0x3e
-       IFT_FASTETHERFX                   = 0x45
-       IFT_FDDI                          = 0xf
-       IFT_FIBRECHANNEL                  = 0x38
-       IFT_FRAMERELAYINTERCONNECT        = 0x3a
-       IFT_FRAMERELAYMPI                 = 0x5c
-       IFT_FRDLCIENDPT                   = 0xc1
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_FRF16MFRBUNDLE                = 0xa3
-       IFT_FRFORWARD                     = 0x9e
-       IFT_G703AT2MB                     = 0x43
-       IFT_G703AT64K                     = 0x42
-       IFT_GIF                           = 0xf0
-       IFT_GIGABITETHERNET               = 0x75
-       IFT_GR303IDT                      = 0xb2
-       IFT_GR303RDT                      = 0xb1
-       IFT_H323GATEKEEPER                = 0xa4
-       IFT_H323PROXY                     = 0xa5
-       IFT_HDH1822                       = 0x3
-       IFT_HDLC                          = 0x76
-       IFT_HDSL2                         = 0xa8
-       IFT_HIPERLAN2                     = 0xb7
-       IFT_HIPPI                         = 0x2f
-       IFT_HIPPIINTERFACE                = 0x39
-       IFT_HOSTPAD                       = 0x5a
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IBM370PARCHAN                 = 0x48
-       IFT_IDSL                          = 0x9a
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE80211                     = 0x47
-       IFT_IEEE80212                     = 0x37
-       IFT_IEEE8023ADLAG                 = 0xa1
-       IFT_IFGSN                         = 0x91
-       IFT_IMT                           = 0xbe
-       IFT_INFINIBAND                    = 0xc7
-       IFT_INTERLEAVE                    = 0x7c
-       IFT_IP                            = 0x7e
-       IFT_IPFORWARD                     = 0x8e
-       IFT_IPOVERATM                     = 0x72
-       IFT_IPOVERCDLC                    = 0x6d
-       IFT_IPOVERCLAW                    = 0x6e
-       IFT_IPSWITCH                      = 0x4e
-       IFT_ISDN                          = 0x3f
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISDNS                         = 0x4b
-       IFT_ISDNU                         = 0x4c
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88025CRFPINT               = 0x62
-       IFT_ISO88025DTR                   = 0x56
-       IFT_ISO88025FIBER                 = 0x73
-       IFT_ISO88026                      = 0xa
-       IFT_ISUP                          = 0xb3
-       IFT_L2VLAN                        = 0x87
-       IFT_L3IPVLAN                      = 0x88
-       IFT_L3IPXVLAN                     = 0x89
-       IFT_LAPB                          = 0x10
-       IFT_LAPD                          = 0x4d
-       IFT_LAPF                          = 0x77
-       IFT_LINEGROUP                     = 0xd2
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MEDIAMAILOVERIP               = 0x8b
-       IFT_MFSIGLINK                     = 0xa7
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_MPC                           = 0x71
-       IFT_MPLS                          = 0xa6
-       IFT_MPLSTUNNEL                    = 0x96
-       IFT_MSDSL                         = 0x8f
-       IFT_MVL                           = 0xbf
-       IFT_MYRINET                       = 0x63
-       IFT_NFAS                          = 0xaf
-       IFT_NSIP                          = 0x1b
-       IFT_OPTICALCHANNEL                = 0xc3
-       IFT_OPTICALTRANSPORT              = 0xc4
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PFLOG                         = 0xf5
-       IFT_PFLOW                         = 0xf9
-       IFT_PFSYNC                        = 0xf6
-       IFT_PLC                           = 0xae
-       IFT_PON155                        = 0xcf
-       IFT_PON622                        = 0xd0
-       IFT_POS                           = 0xab
-       IFT_PPP                           = 0x17
-       IFT_PPPMULTILINKBUNDLE            = 0x6c
-       IFT_PROPATM                       = 0xc5
-       IFT_PROPBWAP2MP                   = 0xb8
-       IFT_PROPCNLS                      = 0x59
-       IFT_PROPDOCSWIRELESSDOWNSTREAM    = 0xb5
-       IFT_PROPDOCSWIRELESSMACLAYER      = 0xb4
-       IFT_PROPDOCSWIRELESSUPSTREAM      = 0xb6
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PROPWIRELESSP2P               = 0x9d
-       IFT_PTPSERIAL                     = 0x16
-       IFT_PVC                           = 0xf2
-       IFT_Q2931                         = 0xc9
-       IFT_QLLC                          = 0x44
-       IFT_RADIOMAC                      = 0xbc
-       IFT_RADSL                         = 0x5f
-       IFT_REACHDSL                      = 0xc0
-       IFT_RFC1483                       = 0x9f
-       IFT_RS232                         = 0x21
-       IFT_RSRB                          = 0x4f
-       IFT_SDLC                          = 0x11
-       IFT_SDSL                          = 0x60
-       IFT_SHDSL                         = 0xa9
-       IFT_SIP                           = 0x1f
-       IFT_SIPSIG                        = 0xcc
-       IFT_SIPTG                         = 0xcb
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETOVERHEADCHANNEL          = 0xb9
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_SRP                           = 0x97
-       IFT_SS7SIGLINK                    = 0x9c
-       IFT_STACKTOSTACK                  = 0x6f
-       IFT_STARLAN                       = 0xb
-       IFT_T1                            = 0x12
-       IFT_TDLC                          = 0x74
-       IFT_TELINK                        = 0xc8
-       IFT_TERMPAD                       = 0x5b
-       IFT_TR008                         = 0xb0
-       IFT_TRANSPHDLC                    = 0x7b
-       IFT_TUNNEL                        = 0x83
-       IFT_ULTRA                         = 0x1d
-       IFT_USB                           = 0xa0
-       IFT_V11                           = 0x40
-       IFT_V35                           = 0x2d
-       IFT_V36                           = 0x41
-       IFT_V37                           = 0x78
-       IFT_VDSL                          = 0x61
-       IFT_VIRTUALIPADDRESS              = 0x70
-       IFT_VIRTUALTG                     = 0xca
-       IFT_VOICEDID                      = 0xd5
-       IFT_VOICEEM                       = 0x64
-       IFT_VOICEEMFGD                    = 0xd3
-       IFT_VOICEENCAP                    = 0x67
-       IFT_VOICEFGDEANA                  = 0xd4
-       IFT_VOICEFXO                      = 0x65
-       IFT_VOICEFXS                      = 0x66
-       IFT_VOICEOVERATM                  = 0x98
-       IFT_VOICEOVERCABLE                = 0xc6
-       IFT_VOICEOVERFRAMERELAY           = 0x99
-       IFT_VOICEOVERIP                   = 0x68
-       IFT_X213                          = 0x5d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25HUNTGROUP                  = 0x7a
-       IFT_X25MLP                        = 0x79
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LOOPBACKNET                    = 0x7f
-       IN_RFC3021_HOST                   = 0x1
-       IN_RFC3021_NET                    = 0xfffffffe
-       IN_RFC3021_NSHIFT                 = 0x1f
-       IPPROTO_AH                        = 0x33
-       IPPROTO_CARP                      = 0x70
-       IPPROTO_DIVERT                    = 0x102
-       IPPROTO_DIVERT_INIT               = 0x2
-       IPPROTO_DIVERT_RESP               = 0x1
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x103
-       IPPROTO_MOBILE                    = 0x37
-       IPPROTO_MPLS                      = 0x89
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_PFSYNC                    = 0xf0
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_UDP                       = 0x11
-       IPV6_AUTH_LEVEL                   = 0x35
-       IPV6_AUTOFLOWLABEL                = 0x3b
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_DONTFRAG                     = 0x3e
-       IPV6_DSTOPTS                      = 0x32
-       IPV6_ESP_NETWORK_LEVEL            = 0x37
-       IPV6_ESP_TRANS_LEVEL              = 0x36
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x78
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_HOPLIMIT                     = 0x2f
-       IPV6_HOPOPTS                      = 0x31
-       IPV6_IPCOMP_LEVEL                 = 0x3c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MMTU                         = 0x500
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_NEXTHOP                      = 0x30
-       IPV6_OPTIONS                      = 0x1
-       IPV6_PATHMTU                      = 0x2c
-       IPV6_PIPEX                        = 0x3f
-       IPV6_PKTINFO                      = 0x2e
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_RECVDSTOPTS                  = 0x28
-       IPV6_RECVDSTPORT                  = 0x40
-       IPV6_RECVHOPLIMIT                 = 0x25
-       IPV6_RECVHOPOPTS                  = 0x27
-       IPV6_RECVPATHMTU                  = 0x2b
-       IPV6_RECVPKTINFO                  = 0x24
-       IPV6_RECVRTHDR                    = 0x26
-       IPV6_RECVTCLASS                   = 0x39
-       IPV6_RTABLE                       = 0x1021
-       IPV6_RTHDR                        = 0x33
-       IPV6_RTHDRDSTOPTS                 = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x3d
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_USE_MIN_MTU                  = 0x2a
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_AUTH_LEVEL                     = 0x14
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DIVERTFL                       = 0x1022
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_ESP_NETWORK_LEVEL              = 0x16
-       IP_ESP_TRANS_LEVEL                = 0x15
-       IP_HDRINCL                        = 0x2
-       IP_IPCOMP_LEVEL                   = 0x1d
-       IP_IPSECFLOWINFO                  = 0x24
-       IP_IPSEC_LOCAL_AUTH               = 0x1b
-       IP_IPSEC_LOCAL_CRED               = 0x19
-       IP_IPSEC_LOCAL_ID                 = 0x17
-       IP_IPSEC_REMOTE_AUTH              = 0x1c
-       IP_IPSEC_REMOTE_CRED              = 0x1a
-       IP_IPSEC_REMOTE_ID                = 0x18
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_MEMBERSHIPS                = 0xfff
-       IP_MF                             = 0x2000
-       IP_MINTTL                         = 0x20
-       IP_MIN_MEMBERSHIPS                = 0xf
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_OFFMASK                        = 0x1fff
-       IP_OPTIONS                        = 0x1
-       IP_PIPEX                          = 0x22
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVDSTPORT                    = 0x21
-       IP_RECVIF                         = 0x1e
-       IP_RECVOPTS                       = 0x5
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVRTABLE                     = 0x23
-       IP_RECVTTL                        = 0x1f
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_RTABLE                         = 0x1021
-       IP_TOS                            = 0x3
-       IP_TTL                            = 0x4
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LCNT_OVERLOAD_FLUSH               = 0x6
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x6
-       MADV_NORMAL                       = 0x0
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_SPACEAVAIL                   = 0x5
-       MADV_WILLNEED                     = 0x3
-       MAP_ANON                          = 0x1000
-       MAP_COPY                          = 0x4
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_FLAGMASK                      = 0x1ff7
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_INHERIT                       = 0x80
-       MAP_INHERIT_COPY                  = 0x1
-       MAP_INHERIT_DONATE_COPY           = 0x3
-       MAP_INHERIT_NONE                  = 0x2
-       MAP_INHERIT_SHARE                 = 0x0
-       MAP_NOEXTEND                      = 0x100
-       MAP_NORESERVE                     = 0x40
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_SHARED                        = 0x1
-       MAP_TRYFIXED                      = 0x400
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_BCAST                         = 0x100
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOR                           = 0x8
-       MSG_MCAST                         = 0x200
-       MSG_NOSIGNAL                      = 0x400
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_TRUNC                         = 0x10
-       MSG_WAITALL                       = 0x40
-       MS_ASYNC                          = 0x1
-       MS_INVALIDATE                     = 0x4
-       MS_SYNC                           = 0x2
-       NAME_MAX                          = 0xff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x3
-       NET_RT_MAXID                      = 0x6
-       NET_RT_STATS                      = 0x4
-       NET_RT_TABLE                      = 0x5
-       NOFLSH                            = 0x80000000
-       NOTE_ATTRIB                       = 0x8
-       NOTE_CHILD                        = 0x4
-       NOTE_DELETE                       = 0x1
-       NOTE_EOF                          = 0x2
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FORK                         = 0x40000000
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_PCTRLMASK                    = 0xf0000000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_TRUNCATE                     = 0x80
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       ONLCR                             = 0x2
-       ONLRET                            = 0x80
-       ONOCR                             = 0x40
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x10000
-       O_CREAT                           = 0x200
-       O_DIRECTORY                       = 0x20000
-       O_DSYNC                           = 0x80
-       O_EXCL                            = 0x800
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x8000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_RSYNC                           = 0x80
-       O_SHLOCK                          = 0x10
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PF_FLUSH                          = 0x1
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       PT_MASK                           = 0x3ff000
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_LABEL                        = 0xa
-       RTAX_MAX                          = 0xb
-       RTAX_NETMASK                      = 0x2
-       RTAX_SRC                          = 0x8
-       RTAX_SRCMASK                      = 0x9
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_LABEL                         = 0x400
-       RTA_NETMASK                       = 0x4
-       RTA_SRC                           = 0x100
-       RTA_SRCMASK                       = 0x200
-       RTF_ANNOUNCE                      = 0x4000
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_CLONED                        = 0x10000
-       RTF_CLONING                       = 0x100
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_FMASK                         = 0x10f808
-       RTF_GATEWAY                       = 0x2
-       RTF_HOST                          = 0x4
-       RTF_LLINFO                        = 0x400
-       RTF_MASK                          = 0x80
-       RTF_MODIFIED                      = 0x20
-       RTF_MPATH                         = 0x40000
-       RTF_MPLS                          = 0x100000
-       RTF_PERMANENT_ARP                 = 0x2000
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_PROTO3                        = 0x2000
-       RTF_REJECT                        = 0x8
-       RTF_SOURCE                        = 0x20000
-       RTF_STATIC                        = 0x800
-       RTF_TUNNEL                        = 0x100000
-       RTF_UP                            = 0x1
-       RTF_USETRAILERS                   = 0x8000
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_DESYNC                        = 0x10
-       RTM_GET                           = 0x4
-       RTM_IFANNOUNCE                    = 0xf
-       RTM_IFINFO                        = 0xe
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MAXSIZE                       = 0x800
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_VERSION                       = 0x5
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RT_TABLEID_MAX                    = 0xff
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       RUSAGE_THREAD                     = 0x1
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x4
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80206931
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCAIFGROUP                      = 0x80246987
-       SIOCALIFADDR                      = 0x8218691c
-       SIOCATMARK                        = 0x40047307
-       SIOCBRDGADD                       = 0x8054693c
-       SIOCBRDGADDS                      = 0x80546941
-       SIOCBRDGARL                       = 0x806e694d
-       SIOCBRDGDADDR                     = 0x81286947
-       SIOCBRDGDEL                       = 0x8054693d
-       SIOCBRDGDELS                      = 0x80546942
-       SIOCBRDGFLUSH                     = 0x80546948
-       SIOCBRDGFRL                       = 0x806e694e
-       SIOCBRDGGCACHE                    = 0xc0146941
-       SIOCBRDGGFD                       = 0xc0146952
-       SIOCBRDGGHT                       = 0xc0146951
-       SIOCBRDGGIFFLGS                   = 0xc054693e
-       SIOCBRDGGMA                       = 0xc0146953
-       SIOCBRDGGPARAM                    = 0xc03c6958
-       SIOCBRDGGPRI                      = 0xc0146950
-       SIOCBRDGGRL                       = 0xc028694f
-       SIOCBRDGGSIFS                     = 0xc054693c
-       SIOCBRDGGTO                       = 0xc0146946
-       SIOCBRDGIFS                       = 0xc0546942
-       SIOCBRDGRTS                       = 0xc0186943
-       SIOCBRDGSADDR                     = 0xc1286944
-       SIOCBRDGSCACHE                    = 0x80146940
-       SIOCBRDGSFD                       = 0x80146952
-       SIOCBRDGSHT                       = 0x80146951
-       SIOCBRDGSIFCOST                   = 0x80546955
-       SIOCBRDGSIFFLGS                   = 0x8054693f
-       SIOCBRDGSIFPRIO                   = 0x80546954
-       SIOCBRDGSMA                       = 0x80146953
-       SIOCBRDGSPRI                      = 0x80146950
-       SIOCBRDGSPROTO                    = 0x8014695a
-       SIOCBRDGSTO                       = 0x80146945
-       SIOCBRDGSTXHC                     = 0x80146959
-       SIOCDELMULTI                      = 0x80206932
-       SIOCDIFADDR                       = 0x80206919
-       SIOCDIFGROUP                      = 0x80246989
-       SIOCDIFPHYADDR                    = 0x80206949
-       SIOCDLIFADDR                      = 0x8218691e
-       SIOCGETKALIVE                     = 0xc01869a4
-       SIOCGETLABEL                      = 0x8020699a
-       SIOCGETPFLOW                      = 0xc02069fe
-       SIOCGETPFSYNC                     = 0xc02069f8
-       SIOCGETSGCNT                      = 0xc0147534
-       SIOCGETVIFCNT                     = 0xc0147533
-       SIOCGETVLAN                       = 0xc0206990
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0206921
-       SIOCGIFASYNCMAP                   = 0xc020697c
-       SIOCGIFBRDADDR                    = 0xc0206923
-       SIOCGIFCONF                       = 0xc0086924
-       SIOCGIFDATA                       = 0xc020691b
-       SIOCGIFDESCR                      = 0xc0206981
-       SIOCGIFDSTADDR                    = 0xc0206922
-       SIOCGIFFLAGS                      = 0xc0206911
-       SIOCGIFGATTR                      = 0xc024698b
-       SIOCGIFGENERIC                    = 0xc020693a
-       SIOCGIFGMEMB                      = 0xc024698a
-       SIOCGIFGROUP                      = 0xc0246988
-       SIOCGIFHARDMTU                    = 0xc02069a5
-       SIOCGIFMEDIA                      = 0xc0286936
-       SIOCGIFMETRIC                     = 0xc0206917
-       SIOCGIFMTU                        = 0xc020697e
-       SIOCGIFNETMASK                    = 0xc0206925
-       SIOCGIFPDSTADDR                   = 0xc0206948
-       SIOCGIFPRIORITY                   = 0xc020699c
-       SIOCGIFPSRCADDR                   = 0xc0206947
-       SIOCGIFRDOMAIN                    = 0xc02069a0
-       SIOCGIFRTLABEL                    = 0xc0206983
-       SIOCGIFTIMESLOT                   = 0xc0206986
-       SIOCGIFXFLAGS                     = 0xc020699e
-       SIOCGLIFADDR                      = 0xc218691d
-       SIOCGLIFPHYADDR                   = 0xc218694b
-       SIOCGLIFPHYRTABLE                 = 0xc02069a2
-       SIOCGLIFPHYTTL                    = 0xc02069a9
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCGSPPPPARAMS                   = 0xc0206994
-       SIOCGVH                           = 0xc02069f6
-       SIOCGVNETID                       = 0xc02069a7
-       SIOCIFCREATE                      = 0x8020697a
-       SIOCIFDESTROY                     = 0x80206979
-       SIOCIFGCLONERS                    = 0xc00c6978
-       SIOCSETKALIVE                     = 0x801869a3
-       SIOCSETLABEL                      = 0x80206999
-       SIOCSETPFLOW                      = 0x802069fd
-       SIOCSETPFSYNC                     = 0x802069f7
-       SIOCSETVLAN                       = 0x8020698f
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8020690c
-       SIOCSIFASYNCMAP                   = 0x8020697d
-       SIOCSIFBRDADDR                    = 0x80206913
-       SIOCSIFDESCR                      = 0x80206980
-       SIOCSIFDSTADDR                    = 0x8020690e
-       SIOCSIFFLAGS                      = 0x80206910
-       SIOCSIFGATTR                      = 0x8024698c
-       SIOCSIFGENERIC                    = 0x80206939
-       SIOCSIFLLADDR                     = 0x8020691f
-       SIOCSIFMEDIA                      = 0xc0206935
-       SIOCSIFMETRIC                     = 0x80206918
-       SIOCSIFMTU                        = 0x8020697f
-       SIOCSIFNETMASK                    = 0x80206916
-       SIOCSIFPHYADDR                    = 0x80406946
-       SIOCSIFPRIORITY                   = 0x8020699b
-       SIOCSIFRDOMAIN                    = 0x8020699f
-       SIOCSIFRTLABEL                    = 0x80206982
-       SIOCSIFTIMESLOT                   = 0x80206985
-       SIOCSIFXFLAGS                     = 0x8020699d
-       SIOCSLIFPHYADDR                   = 0x8218694a
-       SIOCSLIFPHYRTABLE                 = 0x802069a1
-       SIOCSLIFPHYTTL                    = 0x802069a8
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SIOCSSPPPPARAMS                   = 0x80206993
-       SIOCSVH                           = 0xc02069f5
-       SIOCSVNETID                       = 0x802069a6
-       SOCK_DGRAM                        = 0x2
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_BINDANY                        = 0x1000
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LINGER                         = 0x80
-       SO_NETPROC                        = 0x1020
-       SO_OOBINLINE                      = 0x100
-       SO_PEERCRED                       = 0x1022
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x1006
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_RTABLE                         = 0x1021
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x1005
-       SO_SPLICE                         = 0x1023
-       SO_TIMESTAMP                      = 0x800
-       SO_TYPE                           = 0x1008
-       SO_USELOOPBACK                    = 0x40
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_MAXBURST                      = 0x4
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_SACK                      = 0x3
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MD5SIG                        = 0x4
-       TCP_MSS                           = 0x200
-       TCP_NODELAY                       = 0x1
-       TCP_NOPUSH                        = 0x10
-       TCP_NSTATES                       = 0xb
-       TCP_SACK_ENABLE                   = 0x8
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDRAIN                         = 0x2000745e
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLAG_CLOCAL                   = 0x2
-       TIOCFLAG_CRTSCTS                  = 0x4
-       TIOCFLAG_MDMBUF                   = 0x8
-       TIOCFLAG_PPS                      = 0x10
-       TIOCFLAG_SOFTCAR                  = 0x1
-       TIOCFLUSH                         = 0x80047410
-       TIOCGETA                          = 0x402c7413
-       TIOCGETD                          = 0x4004741a
-       TIOCGFLAGS                        = 0x4004745d
-       TIOCGPGRP                         = 0x40047477
-       TIOCGSID                          = 0x40047463
-       TIOCGTSTAMP                       = 0x400c745b
-       TIOCGWINSZ                        = 0x40087468
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGET                          = 0x4004746a
-       TIOCMODG                          = 0x4004746a
-       TIOCMODS                          = 0x8004746d
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCREMOTE                        = 0x80047469
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x802c7414
-       TIOCSETAF                         = 0x802c7416
-       TIOCSETAW                         = 0x802c7415
-       TIOCSETD                          = 0x8004741b
-       TIOCSFLAGS                        = 0x8004745c
-       TIOCSIG                           = 0x8004745f
-       TIOCSPGRP                         = 0x80047476
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x80047465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSTSTAMP                       = 0x8008745a
-       TIOCSWINSZ                        = 0x80087467
-       TIOCUCNTL                         = 0x80047466
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WALTSIG                           = 0x4
-       WCONTINUED                        = 0x8
-       WCOREFLAG                         = 0x80
-       WNOHANG                           = 0x1
-       WSTOPPED                          = 0x7f
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADF           = syscall.Errno(0x9)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x58)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDOM            = syscall.Errno(0x21)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x59)
-       EILSEQ          = syscall.Errno(0x54)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EIPSEC          = syscall.Errno(0x52)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x5b)
-       ELOOP           = syscall.Errno(0x3e)
-       EMEDIUMTYPE     = syscall.Errno(0x56)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x53)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOMEDIUM       = syscall.Errno(0x55)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x5a)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x5b)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x2d)
-       EOVERFLOW       = syscall.Errno(0x57)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTHR    = syscall.Signal(0x20)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:  "operation not permitted",
-       2:  "no such file or directory",
-       3:  "no such process",
-       4:  "interrupted system call",
-       5:  "input/output error",
-       6:  "device not configured",
-       7:  "argument list too long",
-       8:  "exec format error",
-       9:  "bad file descriptor",
-       10: "no child processes",
-       11: "resource deadlock avoided",
-       12: "cannot allocate memory",
-       13: "permission denied",
-       14: "bad address",
-       15: "block device required",
-       16: "device busy",
-       17: "file exists",
-       18: "cross-device link",
-       19: "operation not supported by device",
-       20: "not a directory",
-       21: "is a directory",
-       22: "invalid argument",
-       23: "too many open files in system",
-       24: "too many open files",
-       25: "inappropriate ioctl for device",
-       26: "text file busy",
-       27: "file too large",
-       28: "no space left on device",
-       29: "illegal seek",
-       30: "read-only file system",
-       31: "too many links",
-       32: "broken pipe",
-       33: "numerical argument out of domain",
-       34: "result too large",
-       35: "resource temporarily unavailable",
-       36: "operation now in progress",
-       37: "operation already in progress",
-       38: "socket operation on non-socket",
-       39: "destination address required",
-       40: "message too long",
-       41: "protocol wrong type for socket",
-       42: "protocol not available",
-       43: "protocol not supported",
-       44: "socket type not supported",
-       45: "operation not supported",
-       46: "protocol family not supported",
-       47: "address family not supported by protocol family",
-       48: "address already in use",
-       49: "can't assign requested address",
-       50: "network is down",
-       51: "network is unreachable",
-       52: "network dropped connection on reset",
-       53: "software caused connection abort",
-       54: "connection reset by peer",
-       55: "no buffer space available",
-       56: "socket is already connected",
-       57: "socket is not connected",
-       58: "can't send after socket shutdown",
-       59: "too many references: can't splice",
-       60: "connection timed out",
-       61: "connection refused",
-       62: "too many levels of symbolic links",
-       63: "file name too long",
-       64: "host is down",
-       65: "no route to host",
-       66: "directory not empty",
-       67: "too many processes",
-       68: "too many users",
-       69: "disc quota exceeded",
-       70: "stale NFS file handle",
-       71: "too many levels of remote in path",
-       72: "RPC struct is bad",
-       73: "RPC version wrong",
-       74: "RPC prog. not avail",
-       75: "program version wrong",
-       76: "bad procedure for program",
-       77: "no locks available",
-       78: "function not implemented",
-       79: "inappropriate file type or format",
-       80: "authentication error",
-       81: "need authenticator",
-       82: "IPsec processing failure",
-       83: "attribute not found",
-       84: "illegal byte sequence",
-       85: "no medium found",
-       86: "wrong medium type",
-       87: "value too large to be stored in data type",
-       88: "operation canceled",
-       89: "identifier removed",
-       90: "no message of desired type",
-       91: "not supported",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "stopped (signal)",
-       18: "stopped",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-       32: "thread AST",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go
deleted file mode 100644 (file)
index 1758ecc..0000000
+++ /dev/null
@@ -1,1583 +0,0 @@
-// mkerrors.sh -m64
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build amd64,openbsd
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m64 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_APPLETALK                      = 0x10
-       AF_BLUETOOTH                      = 0x20
-       AF_CCITT                          = 0xa
-       AF_CHAOS                          = 0x5
-       AF_CNT                            = 0x15
-       AF_COIP                           = 0x14
-       AF_DATAKIT                        = 0x9
-       AF_DECnet                         = 0xc
-       AF_DLI                            = 0xd
-       AF_E164                           = 0x1a
-       AF_ECMA                           = 0x8
-       AF_ENCAP                          = 0x1c
-       AF_HYLINK                         = 0xf
-       AF_IMPLINK                        = 0x3
-       AF_INET                           = 0x2
-       AF_INET6                          = 0x18
-       AF_IPX                            = 0x17
-       AF_ISDN                           = 0x1a
-       AF_ISO                            = 0x7
-       AF_KEY                            = 0x1e
-       AF_LAT                            = 0xe
-       AF_LINK                           = 0x12
-       AF_LOCAL                          = 0x1
-       AF_MAX                            = 0x24
-       AF_MPLS                           = 0x21
-       AF_NATM                           = 0x1b
-       AF_NS                             = 0x6
-       AF_OSI                            = 0x7
-       AF_PUP                            = 0x4
-       AF_ROUTE                          = 0x11
-       AF_SIP                            = 0x1d
-       AF_SNA                            = 0xb
-       AF_UNIX                           = 0x1
-       AF_UNSPEC                         = 0x0
-       ARPHRD_ETHER                      = 0x1
-       ARPHRD_FRELAY                     = 0xf
-       ARPHRD_IEEE1394                   = 0x18
-       ARPHRD_IEEE802                    = 0x6
-       B0                                = 0x0
-       B110                              = 0x6e
-       B115200                           = 0x1c200
-       B1200                             = 0x4b0
-       B134                              = 0x86
-       B14400                            = 0x3840
-       B150                              = 0x96
-       B1800                             = 0x708
-       B19200                            = 0x4b00
-       B200                              = 0xc8
-       B230400                           = 0x38400
-       B2400                             = 0x960
-       B28800                            = 0x7080
-       B300                              = 0x12c
-       B38400                            = 0x9600
-       B4800                             = 0x12c0
-       B50                               = 0x32
-       B57600                            = 0xe100
-       B600                              = 0x258
-       B7200                             = 0x1c20
-       B75                               = 0x4b
-       B76800                            = 0x12c00
-       B9600                             = 0x2580
-       BIOCFLUSH                         = 0x20004268
-       BIOCGBLEN                         = 0x40044266
-       BIOCGDIRFILT                      = 0x4004427c
-       BIOCGDLT                          = 0x4004426a
-       BIOCGDLTLIST                      = 0xc010427b
-       BIOCGETIF                         = 0x4020426b
-       BIOCGFILDROP                      = 0x40044278
-       BIOCGHDRCMPLT                     = 0x40044274
-       BIOCGRSIG                         = 0x40044273
-       BIOCGRTIMEOUT                     = 0x4010426e
-       BIOCGSTATS                        = 0x4008426f
-       BIOCIMMEDIATE                     = 0x80044270
-       BIOCLOCK                          = 0x20004276
-       BIOCPROMISC                       = 0x20004269
-       BIOCSBLEN                         = 0xc0044266
-       BIOCSDIRFILT                      = 0x8004427d
-       BIOCSDLT                          = 0x8004427a
-       BIOCSETF                          = 0x80104267
-       BIOCSETIF                         = 0x8020426c
-       BIOCSETWF                         = 0x80104277
-       BIOCSFILDROP                      = 0x80044279
-       BIOCSHDRCMPLT                     = 0x80044275
-       BIOCSRSIG                         = 0x80044272
-       BIOCSRTIMEOUT                     = 0x8010426d
-       BIOCVERSION                       = 0x40044271
-       BPF_A                             = 0x10
-       BPF_ABS                           = 0x20
-       BPF_ADD                           = 0x0
-       BPF_ALIGNMENT                     = 0x4
-       BPF_ALU                           = 0x4
-       BPF_AND                           = 0x50
-       BPF_B                             = 0x10
-       BPF_DIRECTION_IN                  = 0x1
-       BPF_DIRECTION_OUT                 = 0x2
-       BPF_DIV                           = 0x30
-       BPF_H                             = 0x8
-       BPF_IMM                           = 0x0
-       BPF_IND                           = 0x40
-       BPF_JA                            = 0x0
-       BPF_JEQ                           = 0x10
-       BPF_JGE                           = 0x30
-       BPF_JGT                           = 0x20
-       BPF_JMP                           = 0x5
-       BPF_JSET                          = 0x40
-       BPF_K                             = 0x0
-       BPF_LD                            = 0x0
-       BPF_LDX                           = 0x1
-       BPF_LEN                           = 0x80
-       BPF_LSH                           = 0x60
-       BPF_MAJOR_VERSION                 = 0x1
-       BPF_MAXBUFSIZE                    = 0x200000
-       BPF_MAXINSNS                      = 0x200
-       BPF_MEM                           = 0x60
-       BPF_MEMWORDS                      = 0x10
-       BPF_MINBUFSIZE                    = 0x20
-       BPF_MINOR_VERSION                 = 0x1
-       BPF_MISC                          = 0x7
-       BPF_MSH                           = 0xa0
-       BPF_MUL                           = 0x20
-       BPF_NEG                           = 0x80
-       BPF_OR                            = 0x40
-       BPF_RELEASE                       = 0x30bb6
-       BPF_RET                           = 0x6
-       BPF_RSH                           = 0x70
-       BPF_ST                            = 0x2
-       BPF_STX                           = 0x3
-       BPF_SUB                           = 0x10
-       BPF_TAX                           = 0x0
-       BPF_TXA                           = 0x80
-       BPF_W                             = 0x0
-       BPF_X                             = 0x8
-       BRKINT                            = 0x2
-       CFLUSH                            = 0xf
-       CLOCAL                            = 0x8000
-       CREAD                             = 0x800
-       CS5                               = 0x0
-       CS6                               = 0x100
-       CS7                               = 0x200
-       CS8                               = 0x300
-       CSIZE                             = 0x300
-       CSTART                            = 0x11
-       CSTATUS                           = 0xff
-       CSTOP                             = 0x13
-       CSTOPB                            = 0x400
-       CSUSP                             = 0x1a
-       CTL_MAXNAME                       = 0xc
-       CTL_NET                           = 0x4
-       DIOCOSFPFLUSH                     = 0x2000444e
-       DLT_ARCNET                        = 0x7
-       DLT_ATM_RFC1483                   = 0xb
-       DLT_AX25                          = 0x3
-       DLT_CHAOS                         = 0x5
-       DLT_C_HDLC                        = 0x68
-       DLT_EN10MB                        = 0x1
-       DLT_EN3MB                         = 0x2
-       DLT_ENC                           = 0xd
-       DLT_FDDI                          = 0xa
-       DLT_IEEE802                       = 0x6
-       DLT_IEEE802_11                    = 0x69
-       DLT_IEEE802_11_RADIO              = 0x7f
-       DLT_LOOP                          = 0xc
-       DLT_MPLS                          = 0xdb
-       DLT_NULL                          = 0x0
-       DLT_PFLOG                         = 0x75
-       DLT_PFSYNC                        = 0x12
-       DLT_PPP                           = 0x9
-       DLT_PPP_BSDOS                     = 0x10
-       DLT_PPP_ETHER                     = 0x33
-       DLT_PPP_SERIAL                    = 0x32
-       DLT_PRONET                        = 0x4
-       DLT_RAW                           = 0xe
-       DLT_SLIP                          = 0x8
-       DLT_SLIP_BSDOS                    = 0xf
-       DT_BLK                            = 0x6
-       DT_CHR                            = 0x2
-       DT_DIR                            = 0x4
-       DT_FIFO                           = 0x1
-       DT_LNK                            = 0xa
-       DT_REG                            = 0x8
-       DT_SOCK                           = 0xc
-       DT_UNKNOWN                        = 0x0
-       ECHO                              = 0x8
-       ECHOCTL                           = 0x40
-       ECHOE                             = 0x2
-       ECHOK                             = 0x4
-       ECHOKE                            = 0x1
-       ECHONL                            = 0x10
-       ECHOPRT                           = 0x20
-       EMT_TAGOVF                        = 0x1
-       EMUL_ENABLED                      = 0x1
-       EMUL_NATIVE                       = 0x2
-       ENDRUNDISC                        = 0x9
-       ETHERMIN                          = 0x2e
-       ETHERMTU                          = 0x5dc
-       ETHERTYPE_8023                    = 0x4
-       ETHERTYPE_AARP                    = 0x80f3
-       ETHERTYPE_ACCTON                  = 0x8390
-       ETHERTYPE_AEONIC                  = 0x8036
-       ETHERTYPE_ALPHA                   = 0x814a
-       ETHERTYPE_AMBER                   = 0x6008
-       ETHERTYPE_AMOEBA                  = 0x8145
-       ETHERTYPE_AOE                     = 0x88a2
-       ETHERTYPE_APOLLO                  = 0x80f7
-       ETHERTYPE_APOLLODOMAIN            = 0x8019
-       ETHERTYPE_APPLETALK               = 0x809b
-       ETHERTYPE_APPLITEK                = 0x80c7
-       ETHERTYPE_ARGONAUT                = 0x803a
-       ETHERTYPE_ARP                     = 0x806
-       ETHERTYPE_AT                      = 0x809b
-       ETHERTYPE_ATALK                   = 0x809b
-       ETHERTYPE_ATOMIC                  = 0x86df
-       ETHERTYPE_ATT                     = 0x8069
-       ETHERTYPE_ATTSTANFORD             = 0x8008
-       ETHERTYPE_AUTOPHON                = 0x806a
-       ETHERTYPE_AXIS                    = 0x8856
-       ETHERTYPE_BCLOOP                  = 0x9003
-       ETHERTYPE_BOFL                    = 0x8102
-       ETHERTYPE_CABLETRON               = 0x7034
-       ETHERTYPE_CHAOS                   = 0x804
-       ETHERTYPE_COMDESIGN               = 0x806c
-       ETHERTYPE_COMPUGRAPHIC            = 0x806d
-       ETHERTYPE_COUNTERPOINT            = 0x8062
-       ETHERTYPE_CRONUS                  = 0x8004
-       ETHERTYPE_CRONUSVLN               = 0x8003
-       ETHERTYPE_DCA                     = 0x1234
-       ETHERTYPE_DDE                     = 0x807b
-       ETHERTYPE_DEBNI                   = 0xaaaa
-       ETHERTYPE_DECAM                   = 0x8048
-       ETHERTYPE_DECCUST                 = 0x6006
-       ETHERTYPE_DECDIAG                 = 0x6005
-       ETHERTYPE_DECDNS                  = 0x803c
-       ETHERTYPE_DECDTS                  = 0x803e
-       ETHERTYPE_DECEXPER                = 0x6000
-       ETHERTYPE_DECLAST                 = 0x8041
-       ETHERTYPE_DECLTM                  = 0x803f
-       ETHERTYPE_DECMUMPS                = 0x6009
-       ETHERTYPE_DECNETBIOS              = 0x8040
-       ETHERTYPE_DELTACON                = 0x86de
-       ETHERTYPE_DIDDLE                  = 0x4321
-       ETHERTYPE_DLOG1                   = 0x660
-       ETHERTYPE_DLOG2                   = 0x661
-       ETHERTYPE_DN                      = 0x6003
-       ETHERTYPE_DOGFIGHT                = 0x1989
-       ETHERTYPE_DSMD                    = 0x8039
-       ETHERTYPE_ECMA                    = 0x803
-       ETHERTYPE_ENCRYPT                 = 0x803d
-       ETHERTYPE_ES                      = 0x805d
-       ETHERTYPE_EXCELAN                 = 0x8010
-       ETHERTYPE_EXPERDATA               = 0x8049
-       ETHERTYPE_FLIP                    = 0x8146
-       ETHERTYPE_FLOWCONTROL             = 0x8808
-       ETHERTYPE_FRARP                   = 0x808
-       ETHERTYPE_GENDYN                  = 0x8068
-       ETHERTYPE_HAYES                   = 0x8130
-       ETHERTYPE_HIPPI_FP                = 0x8180
-       ETHERTYPE_HITACHI                 = 0x8820
-       ETHERTYPE_HP                      = 0x8005
-       ETHERTYPE_IEEEPUP                 = 0xa00
-       ETHERTYPE_IEEEPUPAT               = 0xa01
-       ETHERTYPE_IMLBL                   = 0x4c42
-       ETHERTYPE_IMLBLDIAG               = 0x424c
-       ETHERTYPE_IP                      = 0x800
-       ETHERTYPE_IPAS                    = 0x876c
-       ETHERTYPE_IPV6                    = 0x86dd
-       ETHERTYPE_IPX                     = 0x8137
-       ETHERTYPE_IPXNEW                  = 0x8037
-       ETHERTYPE_KALPANA                 = 0x8582
-       ETHERTYPE_LANBRIDGE               = 0x8038
-       ETHERTYPE_LANPROBE                = 0x8888
-       ETHERTYPE_LAT                     = 0x6004
-       ETHERTYPE_LBACK                   = 0x9000
-       ETHERTYPE_LITTLE                  = 0x8060
-       ETHERTYPE_LLDP                    = 0x88cc
-       ETHERTYPE_LOGICRAFT               = 0x8148
-       ETHERTYPE_LOOPBACK                = 0x9000
-       ETHERTYPE_MATRA                   = 0x807a
-       ETHERTYPE_MAX                     = 0xffff
-       ETHERTYPE_MERIT                   = 0x807c
-       ETHERTYPE_MICP                    = 0x873a
-       ETHERTYPE_MOPDL                   = 0x6001
-       ETHERTYPE_MOPRC                   = 0x6002
-       ETHERTYPE_MOTOROLA                = 0x818d
-       ETHERTYPE_MPLS                    = 0x8847
-       ETHERTYPE_MPLS_MCAST              = 0x8848
-       ETHERTYPE_MUMPS                   = 0x813f
-       ETHERTYPE_NBPCC                   = 0x3c04
-       ETHERTYPE_NBPCLAIM                = 0x3c09
-       ETHERTYPE_NBPCLREQ                = 0x3c05
-       ETHERTYPE_NBPCLRSP                = 0x3c06
-       ETHERTYPE_NBPCREQ                 = 0x3c02
-       ETHERTYPE_NBPCRSP                 = 0x3c03
-       ETHERTYPE_NBPDG                   = 0x3c07
-       ETHERTYPE_NBPDGB                  = 0x3c08
-       ETHERTYPE_NBPDLTE                 = 0x3c0a
-       ETHERTYPE_NBPRAR                  = 0x3c0c
-       ETHERTYPE_NBPRAS                  = 0x3c0b
-       ETHERTYPE_NBPRST                  = 0x3c0d
-       ETHERTYPE_NBPSCD                  = 0x3c01
-       ETHERTYPE_NBPVCD                  = 0x3c00
-       ETHERTYPE_NBS                     = 0x802
-       ETHERTYPE_NCD                     = 0x8149
-       ETHERTYPE_NESTAR                  = 0x8006
-       ETHERTYPE_NETBEUI                 = 0x8191
-       ETHERTYPE_NOVELL                  = 0x8138
-       ETHERTYPE_NS                      = 0x600
-       ETHERTYPE_NSAT                    = 0x601
-       ETHERTYPE_NSCOMPAT                = 0x807
-       ETHERTYPE_NTRAILER                = 0x10
-       ETHERTYPE_OS9                     = 0x7007
-       ETHERTYPE_OS9NET                  = 0x7009
-       ETHERTYPE_PACER                   = 0x80c6
-       ETHERTYPE_PAE                     = 0x888e
-       ETHERTYPE_PCS                     = 0x4242
-       ETHERTYPE_PLANNING                = 0x8044
-       ETHERTYPE_PPP                     = 0x880b
-       ETHERTYPE_PPPOE                   = 0x8864
-       ETHERTYPE_PPPOEDISC               = 0x8863
-       ETHERTYPE_PRIMENTS                = 0x7031
-       ETHERTYPE_PUP                     = 0x200
-       ETHERTYPE_PUPAT                   = 0x200
-       ETHERTYPE_QINQ                    = 0x88a8
-       ETHERTYPE_RACAL                   = 0x7030
-       ETHERTYPE_RATIONAL                = 0x8150
-       ETHERTYPE_RAWFR                   = 0x6559
-       ETHERTYPE_RCL                     = 0x1995
-       ETHERTYPE_RDP                     = 0x8739
-       ETHERTYPE_RETIX                   = 0x80f2
-       ETHERTYPE_REVARP                  = 0x8035
-       ETHERTYPE_SCA                     = 0x6007
-       ETHERTYPE_SECTRA                  = 0x86db
-       ETHERTYPE_SECUREDATA              = 0x876d
-       ETHERTYPE_SGITW                   = 0x817e
-       ETHERTYPE_SG_BOUNCE               = 0x8016
-       ETHERTYPE_SG_DIAG                 = 0x8013
-       ETHERTYPE_SG_NETGAMES             = 0x8014
-       ETHERTYPE_SG_RESV                 = 0x8015
-       ETHERTYPE_SIMNET                  = 0x5208
-       ETHERTYPE_SLOW                    = 0x8809
-       ETHERTYPE_SNA                     = 0x80d5
-       ETHERTYPE_SNMP                    = 0x814c
-       ETHERTYPE_SONIX                   = 0xfaf5
-       ETHERTYPE_SPIDER                  = 0x809f
-       ETHERTYPE_SPRITE                  = 0x500
-       ETHERTYPE_STP                     = 0x8181
-       ETHERTYPE_TALARIS                 = 0x812b
-       ETHERTYPE_TALARISMC               = 0x852b
-       ETHERTYPE_TCPCOMP                 = 0x876b
-       ETHERTYPE_TCPSM                   = 0x9002
-       ETHERTYPE_TEC                     = 0x814f
-       ETHERTYPE_TIGAN                   = 0x802f
-       ETHERTYPE_TRAIL                   = 0x1000
-       ETHERTYPE_TRANSETHER              = 0x6558
-       ETHERTYPE_TYMSHARE                = 0x802e
-       ETHERTYPE_UBBST                   = 0x7005
-       ETHERTYPE_UBDEBUG                 = 0x900
-       ETHERTYPE_UBDIAGLOOP              = 0x7002
-       ETHERTYPE_UBDL                    = 0x7000
-       ETHERTYPE_UBNIU                   = 0x7001
-       ETHERTYPE_UBNMC                   = 0x7003
-       ETHERTYPE_VALID                   = 0x1600
-       ETHERTYPE_VARIAN                  = 0x80dd
-       ETHERTYPE_VAXELN                  = 0x803b
-       ETHERTYPE_VEECO                   = 0x8067
-       ETHERTYPE_VEXP                    = 0x805b
-       ETHERTYPE_VGLAB                   = 0x8131
-       ETHERTYPE_VINES                   = 0xbad
-       ETHERTYPE_VINESECHO               = 0xbaf
-       ETHERTYPE_VINESLOOP               = 0xbae
-       ETHERTYPE_VITAL                   = 0xff00
-       ETHERTYPE_VLAN                    = 0x8100
-       ETHERTYPE_VLTLMAN                 = 0x8080
-       ETHERTYPE_VPROD                   = 0x805c
-       ETHERTYPE_VURESERVED              = 0x8147
-       ETHERTYPE_WATERLOO                = 0x8130
-       ETHERTYPE_WELLFLEET               = 0x8103
-       ETHERTYPE_X25                     = 0x805
-       ETHERTYPE_X75                     = 0x801
-       ETHERTYPE_XNSSM                   = 0x9001
-       ETHERTYPE_XTP                     = 0x817d
-       ETHER_ADDR_LEN                    = 0x6
-       ETHER_ALIGN                       = 0x2
-       ETHER_CRC_LEN                     = 0x4
-       ETHER_CRC_POLY_BE                 = 0x4c11db6
-       ETHER_CRC_POLY_LE                 = 0xedb88320
-       ETHER_HDR_LEN                     = 0xe
-       ETHER_MAX_DIX_LEN                 = 0x600
-       ETHER_MAX_LEN                     = 0x5ee
-       ETHER_MIN_LEN                     = 0x40
-       ETHER_TYPE_LEN                    = 0x2
-       ETHER_VLAN_ENCAP_LEN              = 0x4
-       EVFILT_AIO                        = -0x3
-       EVFILT_PROC                       = -0x5
-       EVFILT_READ                       = -0x1
-       EVFILT_SIGNAL                     = -0x6
-       EVFILT_SYSCOUNT                   = 0x7
-       EVFILT_TIMER                      = -0x7
-       EVFILT_VNODE                      = -0x4
-       EVFILT_WRITE                      = -0x2
-       EV_ADD                            = 0x1
-       EV_CLEAR                          = 0x20
-       EV_DELETE                         = 0x2
-       EV_DISABLE                        = 0x8
-       EV_ENABLE                         = 0x4
-       EV_EOF                            = 0x8000
-       EV_ERROR                          = 0x4000
-       EV_FLAG1                          = 0x2000
-       EV_ONESHOT                        = 0x10
-       EV_SYSFLAGS                       = 0xf000
-       EXTA                              = 0x4b00
-       EXTB                              = 0x9600
-       EXTPROC                           = 0x800
-       FD_CLOEXEC                        = 0x1
-       FD_SETSIZE                        = 0x400
-       FLUSHO                            = 0x800000
-       F_DUPFD                           = 0x0
-       F_DUPFD_CLOEXEC                   = 0xa
-       F_GETFD                           = 0x1
-       F_GETFL                           = 0x3
-       F_GETLK                           = 0x7
-       F_GETOWN                          = 0x5
-       F_OK                              = 0x0
-       F_RDLCK                           = 0x1
-       F_SETFD                           = 0x2
-       F_SETFL                           = 0x4
-       F_SETLK                           = 0x8
-       F_SETLKW                          = 0x9
-       F_SETOWN                          = 0x6
-       F_UNLCK                           = 0x2
-       F_WRLCK                           = 0x3
-       HUPCL                             = 0x4000
-       ICANON                            = 0x100
-       ICMP6_FILTER                      = 0x12
-       ICRNL                             = 0x100
-       IEXTEN                            = 0x400
-       IFAN_ARRIVAL                      = 0x0
-       IFAN_DEPARTURE                    = 0x1
-       IFA_ROUTE                         = 0x1
-       IFF_ALLMULTI                      = 0x200
-       IFF_BROADCAST                     = 0x2
-       IFF_CANTCHANGE                    = 0x8e52
-       IFF_DEBUG                         = 0x4
-       IFF_LINK0                         = 0x1000
-       IFF_LINK1                         = 0x2000
-       IFF_LINK2                         = 0x4000
-       IFF_LOOPBACK                      = 0x8
-       IFF_MULTICAST                     = 0x8000
-       IFF_NOARP                         = 0x80
-       IFF_NOTRAILERS                    = 0x20
-       IFF_OACTIVE                       = 0x400
-       IFF_POINTOPOINT                   = 0x10
-       IFF_PROMISC                       = 0x100
-       IFF_RUNNING                       = 0x40
-       IFF_SIMPLEX                       = 0x800
-       IFF_UP                            = 0x1
-       IFNAMSIZ                          = 0x10
-       IFT_1822                          = 0x2
-       IFT_A12MPPSWITCH                  = 0x82
-       IFT_AAL2                          = 0xbb
-       IFT_AAL5                          = 0x31
-       IFT_ADSL                          = 0x5e
-       IFT_AFLANE8023                    = 0x3b
-       IFT_AFLANE8025                    = 0x3c
-       IFT_ARAP                          = 0x58
-       IFT_ARCNET                        = 0x23
-       IFT_ARCNETPLUS                    = 0x24
-       IFT_ASYNC                         = 0x54
-       IFT_ATM                           = 0x25
-       IFT_ATMDXI                        = 0x69
-       IFT_ATMFUNI                       = 0x6a
-       IFT_ATMIMA                        = 0x6b
-       IFT_ATMLOGICAL                    = 0x50
-       IFT_ATMRADIO                      = 0xbd
-       IFT_ATMSUBINTERFACE               = 0x86
-       IFT_ATMVCIENDPT                   = 0xc2
-       IFT_ATMVIRTUAL                    = 0x95
-       IFT_BGPPOLICYACCOUNTING           = 0xa2
-       IFT_BLUETOOTH                     = 0xf8
-       IFT_BRIDGE                        = 0xd1
-       IFT_BSC                           = 0x53
-       IFT_CARP                          = 0xf7
-       IFT_CCTEMUL                       = 0x3d
-       IFT_CEPT                          = 0x13
-       IFT_CES                           = 0x85
-       IFT_CHANNEL                       = 0x46
-       IFT_CNR                           = 0x55
-       IFT_COFFEE                        = 0x84
-       IFT_COMPOSITELINK                 = 0x9b
-       IFT_DCN                           = 0x8d
-       IFT_DIGITALPOWERLINE              = 0x8a
-       IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
-       IFT_DLSW                          = 0x4a
-       IFT_DOCSCABLEDOWNSTREAM           = 0x80
-       IFT_DOCSCABLEMACLAYER             = 0x7f
-       IFT_DOCSCABLEUPSTREAM             = 0x81
-       IFT_DOCSCABLEUPSTREAMCHANNEL      = 0xcd
-       IFT_DS0                           = 0x51
-       IFT_DS0BUNDLE                     = 0x52
-       IFT_DS1FDL                        = 0xaa
-       IFT_DS3                           = 0x1e
-       IFT_DTM                           = 0x8c
-       IFT_DUMMY                         = 0xf1
-       IFT_DVBASILN                      = 0xac
-       IFT_DVBASIOUT                     = 0xad
-       IFT_DVBRCCDOWNSTREAM              = 0x93
-       IFT_DVBRCCMACLAYER                = 0x92
-       IFT_DVBRCCUPSTREAM                = 0x94
-       IFT_ECONET                        = 0xce
-       IFT_ENC                           = 0xf4
-       IFT_EON                           = 0x19
-       IFT_EPLRS                         = 0x57
-       IFT_ESCON                         = 0x49
-       IFT_ETHER                         = 0x6
-       IFT_FAITH                         = 0xf3
-       IFT_FAST                          = 0x7d
-       IFT_FASTETHER                     = 0x3e
-       IFT_FASTETHERFX                   = 0x45
-       IFT_FDDI                          = 0xf
-       IFT_FIBRECHANNEL                  = 0x38
-       IFT_FRAMERELAYINTERCONNECT        = 0x3a
-       IFT_FRAMERELAYMPI                 = 0x5c
-       IFT_FRDLCIENDPT                   = 0xc1
-       IFT_FRELAY                        = 0x20
-       IFT_FRELAYDCE                     = 0x2c
-       IFT_FRF16MFRBUNDLE                = 0xa3
-       IFT_FRFORWARD                     = 0x9e
-       IFT_G703AT2MB                     = 0x43
-       IFT_G703AT64K                     = 0x42
-       IFT_GIF                           = 0xf0
-       IFT_GIGABITETHERNET               = 0x75
-       IFT_GR303IDT                      = 0xb2
-       IFT_GR303RDT                      = 0xb1
-       IFT_H323GATEKEEPER                = 0xa4
-       IFT_H323PROXY                     = 0xa5
-       IFT_HDH1822                       = 0x3
-       IFT_HDLC                          = 0x76
-       IFT_HDSL2                         = 0xa8
-       IFT_HIPERLAN2                     = 0xb7
-       IFT_HIPPI                         = 0x2f
-       IFT_HIPPIINTERFACE                = 0x39
-       IFT_HOSTPAD                       = 0x5a
-       IFT_HSSI                          = 0x2e
-       IFT_HY                            = 0xe
-       IFT_IBM370PARCHAN                 = 0x48
-       IFT_IDSL                          = 0x9a
-       IFT_IEEE1394                      = 0x90
-       IFT_IEEE80211                     = 0x47
-       IFT_IEEE80212                     = 0x37
-       IFT_IEEE8023ADLAG                 = 0xa1
-       IFT_IFGSN                         = 0x91
-       IFT_IMT                           = 0xbe
-       IFT_INFINIBAND                    = 0xc7
-       IFT_INTERLEAVE                    = 0x7c
-       IFT_IP                            = 0x7e
-       IFT_IPFORWARD                     = 0x8e
-       IFT_IPOVERATM                     = 0x72
-       IFT_IPOVERCDLC                    = 0x6d
-       IFT_IPOVERCLAW                    = 0x6e
-       IFT_IPSWITCH                      = 0x4e
-       IFT_ISDN                          = 0x3f
-       IFT_ISDNBASIC                     = 0x14
-       IFT_ISDNPRIMARY                   = 0x15
-       IFT_ISDNS                         = 0x4b
-       IFT_ISDNU                         = 0x4c
-       IFT_ISO88022LLC                   = 0x29
-       IFT_ISO88023                      = 0x7
-       IFT_ISO88024                      = 0x8
-       IFT_ISO88025                      = 0x9
-       IFT_ISO88025CRFPINT               = 0x62
-       IFT_ISO88025DTR                   = 0x56
-       IFT_ISO88025FIBER                 = 0x73
-       IFT_ISO88026                      = 0xa
-       IFT_ISUP                          = 0xb3
-       IFT_L2VLAN                        = 0x87
-       IFT_L3IPVLAN                      = 0x88
-       IFT_L3IPXVLAN                     = 0x89
-       IFT_LAPB                          = 0x10
-       IFT_LAPD                          = 0x4d
-       IFT_LAPF                          = 0x77
-       IFT_LINEGROUP                     = 0xd2
-       IFT_LOCALTALK                     = 0x2a
-       IFT_LOOP                          = 0x18
-       IFT_MEDIAMAILOVERIP               = 0x8b
-       IFT_MFSIGLINK                     = 0xa7
-       IFT_MIOX25                        = 0x26
-       IFT_MODEM                         = 0x30
-       IFT_MPC                           = 0x71
-       IFT_MPLS                          = 0xa6
-       IFT_MPLSTUNNEL                    = 0x96
-       IFT_MSDSL                         = 0x8f
-       IFT_MVL                           = 0xbf
-       IFT_MYRINET                       = 0x63
-       IFT_NFAS                          = 0xaf
-       IFT_NSIP                          = 0x1b
-       IFT_OPTICALCHANNEL                = 0xc3
-       IFT_OPTICALTRANSPORT              = 0xc4
-       IFT_OTHER                         = 0x1
-       IFT_P10                           = 0xc
-       IFT_P80                           = 0xd
-       IFT_PARA                          = 0x22
-       IFT_PFLOG                         = 0xf5
-       IFT_PFLOW                         = 0xf9
-       IFT_PFSYNC                        = 0xf6
-       IFT_PLC                           = 0xae
-       IFT_PON155                        = 0xcf
-       IFT_PON622                        = 0xd0
-       IFT_POS                           = 0xab
-       IFT_PPP                           = 0x17
-       IFT_PPPMULTILINKBUNDLE            = 0x6c
-       IFT_PROPATM                       = 0xc5
-       IFT_PROPBWAP2MP                   = 0xb8
-       IFT_PROPCNLS                      = 0x59
-       IFT_PROPDOCSWIRELESSDOWNSTREAM    = 0xb5
-       IFT_PROPDOCSWIRELESSMACLAYER      = 0xb4
-       IFT_PROPDOCSWIRELESSUPSTREAM      = 0xb6
-       IFT_PROPMUX                       = 0x36
-       IFT_PROPVIRTUAL                   = 0x35
-       IFT_PROPWIRELESSP2P               = 0x9d
-       IFT_PTPSERIAL                     = 0x16
-       IFT_PVC                           = 0xf2
-       IFT_Q2931                         = 0xc9
-       IFT_QLLC                          = 0x44
-       IFT_RADIOMAC                      = 0xbc
-       IFT_RADSL                         = 0x5f
-       IFT_REACHDSL                      = 0xc0
-       IFT_RFC1483                       = 0x9f
-       IFT_RS232                         = 0x21
-       IFT_RSRB                          = 0x4f
-       IFT_SDLC                          = 0x11
-       IFT_SDSL                          = 0x60
-       IFT_SHDSL                         = 0xa9
-       IFT_SIP                           = 0x1f
-       IFT_SIPSIG                        = 0xcc
-       IFT_SIPTG                         = 0xcb
-       IFT_SLIP                          = 0x1c
-       IFT_SMDSDXI                       = 0x2b
-       IFT_SMDSICIP                      = 0x34
-       IFT_SONET                         = 0x27
-       IFT_SONETOVERHEADCHANNEL          = 0xb9
-       IFT_SONETPATH                     = 0x32
-       IFT_SONETVT                       = 0x33
-       IFT_SRP                           = 0x97
-       IFT_SS7SIGLINK                    = 0x9c
-       IFT_STACKTOSTACK                  = 0x6f
-       IFT_STARLAN                       = 0xb
-       IFT_T1                            = 0x12
-       IFT_TDLC                          = 0x74
-       IFT_TELINK                        = 0xc8
-       IFT_TERMPAD                       = 0x5b
-       IFT_TR008                         = 0xb0
-       IFT_TRANSPHDLC                    = 0x7b
-       IFT_TUNNEL                        = 0x83
-       IFT_ULTRA                         = 0x1d
-       IFT_USB                           = 0xa0
-       IFT_V11                           = 0x40
-       IFT_V35                           = 0x2d
-       IFT_V36                           = 0x41
-       IFT_V37                           = 0x78
-       IFT_VDSL                          = 0x61
-       IFT_VIRTUALIPADDRESS              = 0x70
-       IFT_VIRTUALTG                     = 0xca
-       IFT_VOICEDID                      = 0xd5
-       IFT_VOICEEM                       = 0x64
-       IFT_VOICEEMFGD                    = 0xd3
-       IFT_VOICEENCAP                    = 0x67
-       IFT_VOICEFGDEANA                  = 0xd4
-       IFT_VOICEFXO                      = 0x65
-       IFT_VOICEFXS                      = 0x66
-       IFT_VOICEOVERATM                  = 0x98
-       IFT_VOICEOVERCABLE                = 0xc6
-       IFT_VOICEOVERFRAMERELAY           = 0x99
-       IFT_VOICEOVERIP                   = 0x68
-       IFT_X213                          = 0x5d
-       IFT_X25                           = 0x5
-       IFT_X25DDN                        = 0x4
-       IFT_X25HUNTGROUP                  = 0x7a
-       IFT_X25MLP                        = 0x79
-       IFT_X25PLE                        = 0x28
-       IFT_XETHER                        = 0x1a
-       IGNBRK                            = 0x1
-       IGNCR                             = 0x80
-       IGNPAR                            = 0x4
-       IMAXBEL                           = 0x2000
-       INLCR                             = 0x40
-       INPCK                             = 0x10
-       IN_CLASSA_HOST                    = 0xffffff
-       IN_CLASSA_MAX                     = 0x80
-       IN_CLASSA_NET                     = 0xff000000
-       IN_CLASSA_NSHIFT                  = 0x18
-       IN_CLASSB_HOST                    = 0xffff
-       IN_CLASSB_MAX                     = 0x10000
-       IN_CLASSB_NET                     = 0xffff0000
-       IN_CLASSB_NSHIFT                  = 0x10
-       IN_CLASSC_HOST                    = 0xff
-       IN_CLASSC_NET                     = 0xffffff00
-       IN_CLASSC_NSHIFT                  = 0x8
-       IN_CLASSD_HOST                    = 0xfffffff
-       IN_CLASSD_NET                     = 0xf0000000
-       IN_CLASSD_NSHIFT                  = 0x1c
-       IN_LOOPBACKNET                    = 0x7f
-       IN_RFC3021_HOST                   = 0x1
-       IN_RFC3021_NET                    = 0xfffffffe
-       IN_RFC3021_NSHIFT                 = 0x1f
-       IPPROTO_AH                        = 0x33
-       IPPROTO_CARP                      = 0x70
-       IPPROTO_DIVERT                    = 0x102
-       IPPROTO_DIVERT_INIT               = 0x2
-       IPPROTO_DIVERT_RESP               = 0x1
-       IPPROTO_DONE                      = 0x101
-       IPPROTO_DSTOPTS                   = 0x3c
-       IPPROTO_EGP                       = 0x8
-       IPPROTO_ENCAP                     = 0x62
-       IPPROTO_EON                       = 0x50
-       IPPROTO_ESP                       = 0x32
-       IPPROTO_ETHERIP                   = 0x61
-       IPPROTO_FRAGMENT                  = 0x2c
-       IPPROTO_GGP                       = 0x3
-       IPPROTO_GRE                       = 0x2f
-       IPPROTO_HOPOPTS                   = 0x0
-       IPPROTO_ICMP                      = 0x1
-       IPPROTO_ICMPV6                    = 0x3a
-       IPPROTO_IDP                       = 0x16
-       IPPROTO_IGMP                      = 0x2
-       IPPROTO_IP                        = 0x0
-       IPPROTO_IPCOMP                    = 0x6c
-       IPPROTO_IPIP                      = 0x4
-       IPPROTO_IPV4                      = 0x4
-       IPPROTO_IPV6                      = 0x29
-       IPPROTO_MAX                       = 0x100
-       IPPROTO_MAXID                     = 0x103
-       IPPROTO_MOBILE                    = 0x37
-       IPPROTO_MPLS                      = 0x89
-       IPPROTO_NONE                      = 0x3b
-       IPPROTO_PFSYNC                    = 0xf0
-       IPPROTO_PIM                       = 0x67
-       IPPROTO_PUP                       = 0xc
-       IPPROTO_RAW                       = 0xff
-       IPPROTO_ROUTING                   = 0x2b
-       IPPROTO_RSVP                      = 0x2e
-       IPPROTO_TCP                       = 0x6
-       IPPROTO_TP                        = 0x1d
-       IPPROTO_UDP                       = 0x11
-       IPV6_AUTH_LEVEL                   = 0x35
-       IPV6_AUTOFLOWLABEL                = 0x3b
-       IPV6_CHECKSUM                     = 0x1a
-       IPV6_DEFAULT_MULTICAST_HOPS       = 0x1
-       IPV6_DEFAULT_MULTICAST_LOOP       = 0x1
-       IPV6_DEFHLIM                      = 0x40
-       IPV6_DONTFRAG                     = 0x3e
-       IPV6_DSTOPTS                      = 0x32
-       IPV6_ESP_NETWORK_LEVEL            = 0x37
-       IPV6_ESP_TRANS_LEVEL              = 0x36
-       IPV6_FAITH                        = 0x1d
-       IPV6_FLOWINFO_MASK                = 0xffffff0f
-       IPV6_FLOWLABEL_MASK               = 0xffff0f00
-       IPV6_FRAGTTL                      = 0x78
-       IPV6_HLIMDEC                      = 0x1
-       IPV6_HOPLIMIT                     = 0x2f
-       IPV6_HOPOPTS                      = 0x31
-       IPV6_IPCOMP_LEVEL                 = 0x3c
-       IPV6_JOIN_GROUP                   = 0xc
-       IPV6_LEAVE_GROUP                  = 0xd
-       IPV6_MAXHLIM                      = 0xff
-       IPV6_MAXPACKET                    = 0xffff
-       IPV6_MMTU                         = 0x500
-       IPV6_MULTICAST_HOPS               = 0xa
-       IPV6_MULTICAST_IF                 = 0x9
-       IPV6_MULTICAST_LOOP               = 0xb
-       IPV6_NEXTHOP                      = 0x30
-       IPV6_OPTIONS                      = 0x1
-       IPV6_PATHMTU                      = 0x2c
-       IPV6_PIPEX                        = 0x3f
-       IPV6_PKTINFO                      = 0x2e
-       IPV6_PORTRANGE                    = 0xe
-       IPV6_PORTRANGE_DEFAULT            = 0x0
-       IPV6_PORTRANGE_HIGH               = 0x1
-       IPV6_PORTRANGE_LOW                = 0x2
-       IPV6_RECVDSTOPTS                  = 0x28
-       IPV6_RECVDSTPORT                  = 0x40
-       IPV6_RECVHOPLIMIT                 = 0x25
-       IPV6_RECVHOPOPTS                  = 0x27
-       IPV6_RECVPATHMTU                  = 0x2b
-       IPV6_RECVPKTINFO                  = 0x24
-       IPV6_RECVRTHDR                    = 0x26
-       IPV6_RECVTCLASS                   = 0x39
-       IPV6_RTABLE                       = 0x1021
-       IPV6_RTHDR                        = 0x33
-       IPV6_RTHDRDSTOPTS                 = 0x23
-       IPV6_RTHDR_LOOSE                  = 0x0
-       IPV6_RTHDR_STRICT                 = 0x1
-       IPV6_RTHDR_TYPE_0                 = 0x0
-       IPV6_SOCKOPT_RESERVED1            = 0x3
-       IPV6_TCLASS                       = 0x3d
-       IPV6_UNICAST_HOPS                 = 0x4
-       IPV6_USE_MIN_MTU                  = 0x2a
-       IPV6_V6ONLY                       = 0x1b
-       IPV6_VERSION                      = 0x60
-       IPV6_VERSION_MASK                 = 0xf0
-       IP_ADD_MEMBERSHIP                 = 0xc
-       IP_AUTH_LEVEL                     = 0x14
-       IP_DEFAULT_MULTICAST_LOOP         = 0x1
-       IP_DEFAULT_MULTICAST_TTL          = 0x1
-       IP_DF                             = 0x4000
-       IP_DIVERTFL                       = 0x1022
-       IP_DROP_MEMBERSHIP                = 0xd
-       IP_ESP_NETWORK_LEVEL              = 0x16
-       IP_ESP_TRANS_LEVEL                = 0x15
-       IP_HDRINCL                        = 0x2
-       IP_IPCOMP_LEVEL                   = 0x1d
-       IP_IPSECFLOWINFO                  = 0x24
-       IP_IPSEC_LOCAL_AUTH               = 0x1b
-       IP_IPSEC_LOCAL_CRED               = 0x19
-       IP_IPSEC_LOCAL_ID                 = 0x17
-       IP_IPSEC_REMOTE_AUTH              = 0x1c
-       IP_IPSEC_REMOTE_CRED              = 0x1a
-       IP_IPSEC_REMOTE_ID                = 0x18
-       IP_MAXPACKET                      = 0xffff
-       IP_MAX_MEMBERSHIPS                = 0xfff
-       IP_MF                             = 0x2000
-       IP_MINTTL                         = 0x20
-       IP_MIN_MEMBERSHIPS                = 0xf
-       IP_MSS                            = 0x240
-       IP_MULTICAST_IF                   = 0x9
-       IP_MULTICAST_LOOP                 = 0xb
-       IP_MULTICAST_TTL                  = 0xa
-       IP_OFFMASK                        = 0x1fff
-       IP_OPTIONS                        = 0x1
-       IP_PIPEX                          = 0x22
-       IP_PORTRANGE                      = 0x13
-       IP_PORTRANGE_DEFAULT              = 0x0
-       IP_PORTRANGE_HIGH                 = 0x1
-       IP_PORTRANGE_LOW                  = 0x2
-       IP_RECVDSTADDR                    = 0x7
-       IP_RECVDSTPORT                    = 0x21
-       IP_RECVIF                         = 0x1e
-       IP_RECVOPTS                       = 0x5
-       IP_RECVRETOPTS                    = 0x6
-       IP_RECVRTABLE                     = 0x23
-       IP_RECVTTL                        = 0x1f
-       IP_RETOPTS                        = 0x8
-       IP_RF                             = 0x8000
-       IP_RTABLE                         = 0x1021
-       IP_TOS                            = 0x3
-       IP_TTL                            = 0x4
-       ISIG                              = 0x80
-       ISTRIP                            = 0x20
-       IXANY                             = 0x800
-       IXOFF                             = 0x400
-       IXON                              = 0x200
-       LCNT_OVERLOAD_FLUSH               = 0x6
-       LOCK_EX                           = 0x2
-       LOCK_NB                           = 0x4
-       LOCK_SH                           = 0x1
-       LOCK_UN                           = 0x8
-       MADV_DONTNEED                     = 0x4
-       MADV_FREE                         = 0x6
-       MADV_NORMAL                       = 0x0
-       MADV_RANDOM                       = 0x1
-       MADV_SEQUENTIAL                   = 0x2
-       MADV_SPACEAVAIL                   = 0x5
-       MADV_WILLNEED                     = 0x3
-       MAP_ANON                          = 0x1000
-       MAP_COPY                          = 0x4
-       MAP_FILE                          = 0x0
-       MAP_FIXED                         = 0x10
-       MAP_FLAGMASK                      = 0x1ff7
-       MAP_HASSEMAPHORE                  = 0x200
-       MAP_INHERIT                       = 0x80
-       MAP_INHERIT_COPY                  = 0x1
-       MAP_INHERIT_DONATE_COPY           = 0x3
-       MAP_INHERIT_NONE                  = 0x2
-       MAP_INHERIT_SHARE                 = 0x0
-       MAP_NOEXTEND                      = 0x100
-       MAP_NORESERVE                     = 0x40
-       MAP_PRIVATE                       = 0x2
-       MAP_RENAME                        = 0x20
-       MAP_SHARED                        = 0x1
-       MAP_TRYFIXED                      = 0x400
-       MCL_CURRENT                       = 0x1
-       MCL_FUTURE                        = 0x2
-       MSG_BCAST                         = 0x100
-       MSG_CTRUNC                        = 0x20
-       MSG_DONTROUTE                     = 0x4
-       MSG_DONTWAIT                      = 0x80
-       MSG_EOR                           = 0x8
-       MSG_MCAST                         = 0x200
-       MSG_NOSIGNAL                      = 0x400
-       MSG_OOB                           = 0x1
-       MSG_PEEK                          = 0x2
-       MSG_TRUNC                         = 0x10
-       MSG_WAITALL                       = 0x40
-       MS_ASYNC                          = 0x1
-       MS_INVALIDATE                     = 0x4
-       MS_SYNC                           = 0x2
-       NAME_MAX                          = 0xff
-       NET_RT_DUMP                       = 0x1
-       NET_RT_FLAGS                      = 0x2
-       NET_RT_IFLIST                     = 0x3
-       NET_RT_MAXID                      = 0x6
-       NET_RT_STATS                      = 0x4
-       NET_RT_TABLE                      = 0x5
-       NOFLSH                            = 0x80000000
-       NOTE_ATTRIB                       = 0x8
-       NOTE_CHILD                        = 0x4
-       NOTE_DELETE                       = 0x1
-       NOTE_EOF                          = 0x2
-       NOTE_EXEC                         = 0x20000000
-       NOTE_EXIT                         = 0x80000000
-       NOTE_EXTEND                       = 0x4
-       NOTE_FORK                         = 0x40000000
-       NOTE_LINK                         = 0x10
-       NOTE_LOWAT                        = 0x1
-       NOTE_PCTRLMASK                    = 0xf0000000
-       NOTE_PDATAMASK                    = 0xfffff
-       NOTE_RENAME                       = 0x20
-       NOTE_REVOKE                       = 0x40
-       NOTE_TRACK                        = 0x1
-       NOTE_TRACKERR                     = 0x2
-       NOTE_TRUNCATE                     = 0x80
-       NOTE_WRITE                        = 0x2
-       OCRNL                             = 0x10
-       ONLCR                             = 0x2
-       ONLRET                            = 0x80
-       ONOCR                             = 0x40
-       ONOEOT                            = 0x8
-       OPOST                             = 0x1
-       O_ACCMODE                         = 0x3
-       O_APPEND                          = 0x8
-       O_ASYNC                           = 0x40
-       O_CLOEXEC                         = 0x10000
-       O_CREAT                           = 0x200
-       O_DIRECTORY                       = 0x20000
-       O_DSYNC                           = 0x80
-       O_EXCL                            = 0x800
-       O_EXLOCK                          = 0x20
-       O_FSYNC                           = 0x80
-       O_NDELAY                          = 0x4
-       O_NOCTTY                          = 0x8000
-       O_NOFOLLOW                        = 0x100
-       O_NONBLOCK                        = 0x4
-       O_RDONLY                          = 0x0
-       O_RDWR                            = 0x2
-       O_RSYNC                           = 0x80
-       O_SHLOCK                          = 0x10
-       O_SYNC                            = 0x80
-       O_TRUNC                           = 0x400
-       O_WRONLY                          = 0x1
-       PARENB                            = 0x1000
-       PARMRK                            = 0x8
-       PARODD                            = 0x2000
-       PENDIN                            = 0x20000000
-       PF_FLUSH                          = 0x1
-       PRIO_PGRP                         = 0x1
-       PRIO_PROCESS                      = 0x0
-       PRIO_USER                         = 0x2
-       PROT_EXEC                         = 0x4
-       PROT_NONE                         = 0x0
-       PROT_READ                         = 0x1
-       PROT_WRITE                        = 0x2
-       RLIMIT_CORE                       = 0x4
-       RLIMIT_CPU                        = 0x0
-       RLIMIT_DATA                       = 0x2
-       RLIMIT_FSIZE                      = 0x1
-       RLIMIT_NOFILE                     = 0x8
-       RLIMIT_STACK                      = 0x3
-       RLIM_INFINITY                     = 0x7fffffffffffffff
-       RTAX_AUTHOR                       = 0x6
-       RTAX_BRD                          = 0x7
-       RTAX_DST                          = 0x0
-       RTAX_GATEWAY                      = 0x1
-       RTAX_GENMASK                      = 0x3
-       RTAX_IFA                          = 0x5
-       RTAX_IFP                          = 0x4
-       RTAX_LABEL                        = 0xa
-       RTAX_MAX                          = 0xb
-       RTAX_NETMASK                      = 0x2
-       RTAX_SRC                          = 0x8
-       RTAX_SRCMASK                      = 0x9
-       RTA_AUTHOR                        = 0x40
-       RTA_BRD                           = 0x80
-       RTA_DST                           = 0x1
-       RTA_GATEWAY                       = 0x2
-       RTA_GENMASK                       = 0x8
-       RTA_IFA                           = 0x20
-       RTA_IFP                           = 0x10
-       RTA_LABEL                         = 0x400
-       RTA_NETMASK                       = 0x4
-       RTA_SRC                           = 0x100
-       RTA_SRCMASK                       = 0x200
-       RTF_ANNOUNCE                      = 0x4000
-       RTF_BLACKHOLE                     = 0x1000
-       RTF_CLONED                        = 0x10000
-       RTF_CLONING                       = 0x100
-       RTF_DONE                          = 0x40
-       RTF_DYNAMIC                       = 0x10
-       RTF_FMASK                         = 0x10f808
-       RTF_GATEWAY                       = 0x2
-       RTF_HOST                          = 0x4
-       RTF_LLINFO                        = 0x400
-       RTF_MASK                          = 0x80
-       RTF_MODIFIED                      = 0x20
-       RTF_MPATH                         = 0x40000
-       RTF_MPLS                          = 0x100000
-       RTF_PERMANENT_ARP                 = 0x2000
-       RTF_PROTO1                        = 0x8000
-       RTF_PROTO2                        = 0x4000
-       RTF_PROTO3                        = 0x2000
-       RTF_REJECT                        = 0x8
-       RTF_SOURCE                        = 0x20000
-       RTF_STATIC                        = 0x800
-       RTF_TUNNEL                        = 0x100000
-       RTF_UP                            = 0x1
-       RTF_USETRAILERS                   = 0x8000
-       RTF_XRESOLVE                      = 0x200
-       RTM_ADD                           = 0x1
-       RTM_CHANGE                        = 0x3
-       RTM_DELADDR                       = 0xd
-       RTM_DELETE                        = 0x2
-       RTM_DESYNC                        = 0x10
-       RTM_GET                           = 0x4
-       RTM_IFANNOUNCE                    = 0xf
-       RTM_IFINFO                        = 0xe
-       RTM_LOCK                          = 0x8
-       RTM_LOSING                        = 0x5
-       RTM_MAXSIZE                       = 0x800
-       RTM_MISS                          = 0x7
-       RTM_NEWADDR                       = 0xc
-       RTM_REDIRECT                      = 0x6
-       RTM_RESOLVE                       = 0xb
-       RTM_RTTUNIT                       = 0xf4240
-       RTM_VERSION                       = 0x5
-       RTV_EXPIRE                        = 0x4
-       RTV_HOPCOUNT                      = 0x2
-       RTV_MTU                           = 0x1
-       RTV_RPIPE                         = 0x8
-       RTV_RTT                           = 0x40
-       RTV_RTTVAR                        = 0x80
-       RTV_SPIPE                         = 0x10
-       RTV_SSTHRESH                      = 0x20
-       RT_TABLEID_MAX                    = 0xff
-       RUSAGE_CHILDREN                   = -0x1
-       RUSAGE_SELF                       = 0x0
-       RUSAGE_THREAD                     = 0x1
-       SCM_RIGHTS                        = 0x1
-       SCM_TIMESTAMP                     = 0x4
-       SHUT_RD                           = 0x0
-       SHUT_RDWR                         = 0x2
-       SHUT_WR                           = 0x1
-       SIOCADDMULTI                      = 0x80206931
-       SIOCAIFADDR                       = 0x8040691a
-       SIOCAIFGROUP                      = 0x80286987
-       SIOCALIFADDR                      = 0x8218691c
-       SIOCATMARK                        = 0x40047307
-       SIOCBRDGADD                       = 0x8058693c
-       SIOCBRDGADDS                      = 0x80586941
-       SIOCBRDGARL                       = 0x806e694d
-       SIOCBRDGDADDR                     = 0x81286947
-       SIOCBRDGDEL                       = 0x8058693d
-       SIOCBRDGDELS                      = 0x80586942
-       SIOCBRDGFLUSH                     = 0x80586948
-       SIOCBRDGFRL                       = 0x806e694e
-       SIOCBRDGGCACHE                    = 0xc0146941
-       SIOCBRDGGFD                       = 0xc0146952
-       SIOCBRDGGHT                       = 0xc0146951
-       SIOCBRDGGIFFLGS                   = 0xc058693e
-       SIOCBRDGGMA                       = 0xc0146953
-       SIOCBRDGGPARAM                    = 0xc0406958
-       SIOCBRDGGPRI                      = 0xc0146950
-       SIOCBRDGGRL                       = 0xc030694f
-       SIOCBRDGGSIFS                     = 0xc058693c
-       SIOCBRDGGTO                       = 0xc0146946
-       SIOCBRDGIFS                       = 0xc0586942
-       SIOCBRDGRTS                       = 0xc0206943
-       SIOCBRDGSADDR                     = 0xc1286944
-       SIOCBRDGSCACHE                    = 0x80146940
-       SIOCBRDGSFD                       = 0x80146952
-       SIOCBRDGSHT                       = 0x80146951
-       SIOCBRDGSIFCOST                   = 0x80586955
-       SIOCBRDGSIFFLGS                   = 0x8058693f
-       SIOCBRDGSIFPRIO                   = 0x80586954
-       SIOCBRDGSMA                       = 0x80146953
-       SIOCBRDGSPRI                      = 0x80146950
-       SIOCBRDGSPROTO                    = 0x8014695a
-       SIOCBRDGSTO                       = 0x80146945
-       SIOCBRDGSTXHC                     = 0x80146959
-       SIOCDELMULTI                      = 0x80206932
-       SIOCDIFADDR                       = 0x80206919
-       SIOCDIFGROUP                      = 0x80286989
-       SIOCDIFPHYADDR                    = 0x80206949
-       SIOCDLIFADDR                      = 0x8218691e
-       SIOCGETKALIVE                     = 0xc01869a4
-       SIOCGETLABEL                      = 0x8020699a
-       SIOCGETPFLOW                      = 0xc02069fe
-       SIOCGETPFSYNC                     = 0xc02069f8
-       SIOCGETSGCNT                      = 0xc0207534
-       SIOCGETVIFCNT                     = 0xc0287533
-       SIOCGETVLAN                       = 0xc0206990
-       SIOCGHIWAT                        = 0x40047301
-       SIOCGIFADDR                       = 0xc0206921
-       SIOCGIFASYNCMAP                   = 0xc020697c
-       SIOCGIFBRDADDR                    = 0xc0206923
-       SIOCGIFCONF                       = 0xc0106924
-       SIOCGIFDATA                       = 0xc020691b
-       SIOCGIFDESCR                      = 0xc0206981
-       SIOCGIFDSTADDR                    = 0xc0206922
-       SIOCGIFFLAGS                      = 0xc0206911
-       SIOCGIFGATTR                      = 0xc028698b
-       SIOCGIFGENERIC                    = 0xc020693a
-       SIOCGIFGMEMB                      = 0xc028698a
-       SIOCGIFGROUP                      = 0xc0286988
-       SIOCGIFHARDMTU                    = 0xc02069a5
-       SIOCGIFMEDIA                      = 0xc0306936
-       SIOCGIFMETRIC                     = 0xc0206917
-       SIOCGIFMTU                        = 0xc020697e
-       SIOCGIFNETMASK                    = 0xc0206925
-       SIOCGIFPDSTADDR                   = 0xc0206948
-       SIOCGIFPRIORITY                   = 0xc020699c
-       SIOCGIFPSRCADDR                   = 0xc0206947
-       SIOCGIFRDOMAIN                    = 0xc02069a0
-       SIOCGIFRTLABEL                    = 0xc0206983
-       SIOCGIFTIMESLOT                   = 0xc0206986
-       SIOCGIFXFLAGS                     = 0xc020699e
-       SIOCGLIFADDR                      = 0xc218691d
-       SIOCGLIFPHYADDR                   = 0xc218694b
-       SIOCGLIFPHYRTABLE                 = 0xc02069a2
-       SIOCGLIFPHYTTL                    = 0xc02069a9
-       SIOCGLOWAT                        = 0x40047303
-       SIOCGPGRP                         = 0x40047309
-       SIOCGSPPPPARAMS                   = 0xc0206994
-       SIOCGVH                           = 0xc02069f6
-       SIOCGVNETID                       = 0xc02069a7
-       SIOCIFCREATE                      = 0x8020697a
-       SIOCIFDESTROY                     = 0x80206979
-       SIOCIFGCLONERS                    = 0xc0106978
-       SIOCSETKALIVE                     = 0x801869a3
-       SIOCSETLABEL                      = 0x80206999
-       SIOCSETPFLOW                      = 0x802069fd
-       SIOCSETPFSYNC                     = 0x802069f7
-       SIOCSETVLAN                       = 0x8020698f
-       SIOCSHIWAT                        = 0x80047300
-       SIOCSIFADDR                       = 0x8020690c
-       SIOCSIFASYNCMAP                   = 0x8020697d
-       SIOCSIFBRDADDR                    = 0x80206913
-       SIOCSIFDESCR                      = 0x80206980
-       SIOCSIFDSTADDR                    = 0x8020690e
-       SIOCSIFFLAGS                      = 0x80206910
-       SIOCSIFGATTR                      = 0x8028698c
-       SIOCSIFGENERIC                    = 0x80206939
-       SIOCSIFLLADDR                     = 0x8020691f
-       SIOCSIFMEDIA                      = 0xc0206935
-       SIOCSIFMETRIC                     = 0x80206918
-       SIOCSIFMTU                        = 0x8020697f
-       SIOCSIFNETMASK                    = 0x80206916
-       SIOCSIFPHYADDR                    = 0x80406946
-       SIOCSIFPRIORITY                   = 0x8020699b
-       SIOCSIFRDOMAIN                    = 0x8020699f
-       SIOCSIFRTLABEL                    = 0x80206982
-       SIOCSIFTIMESLOT                   = 0x80206985
-       SIOCSIFXFLAGS                     = 0x8020699d
-       SIOCSLIFPHYADDR                   = 0x8218694a
-       SIOCSLIFPHYRTABLE                 = 0x802069a1
-       SIOCSLIFPHYTTL                    = 0x802069a8
-       SIOCSLOWAT                        = 0x80047302
-       SIOCSPGRP                         = 0x80047308
-       SIOCSSPPPPARAMS                   = 0x80206993
-       SIOCSVH                           = 0xc02069f5
-       SIOCSVNETID                       = 0x802069a6
-       SOCK_DGRAM                        = 0x2
-       SOCK_RAW                          = 0x3
-       SOCK_RDM                          = 0x4
-       SOCK_SEQPACKET                    = 0x5
-       SOCK_STREAM                       = 0x1
-       SOL_SOCKET                        = 0xffff
-       SOMAXCONN                         = 0x80
-       SO_ACCEPTCONN                     = 0x2
-       SO_BINDANY                        = 0x1000
-       SO_BROADCAST                      = 0x20
-       SO_DEBUG                          = 0x1
-       SO_DONTROUTE                      = 0x10
-       SO_ERROR                          = 0x1007
-       SO_KEEPALIVE                      = 0x8
-       SO_LINGER                         = 0x80
-       SO_NETPROC                        = 0x1020
-       SO_OOBINLINE                      = 0x100
-       SO_PEERCRED                       = 0x1022
-       SO_RCVBUF                         = 0x1002
-       SO_RCVLOWAT                       = 0x1004
-       SO_RCVTIMEO                       = 0x1006
-       SO_REUSEADDR                      = 0x4
-       SO_REUSEPORT                      = 0x200
-       SO_RTABLE                         = 0x1021
-       SO_SNDBUF                         = 0x1001
-       SO_SNDLOWAT                       = 0x1003
-       SO_SNDTIMEO                       = 0x1005
-       SO_SPLICE                         = 0x1023
-       SO_TIMESTAMP                      = 0x800
-       SO_TYPE                           = 0x1008
-       SO_USELOOPBACK                    = 0x40
-       TCIFLUSH                          = 0x1
-       TCIOFLUSH                         = 0x3
-       TCOFLUSH                          = 0x2
-       TCP_MAXBURST                      = 0x4
-       TCP_MAXSEG                        = 0x2
-       TCP_MAXWIN                        = 0xffff
-       TCP_MAX_SACK                      = 0x3
-       TCP_MAX_WINSHIFT                  = 0xe
-       TCP_MD5SIG                        = 0x4
-       TCP_MSS                           = 0x200
-       TCP_NODELAY                       = 0x1
-       TCP_NOPUSH                        = 0x10
-       TCP_NSTATES                       = 0xb
-       TCP_SACK_ENABLE                   = 0x8
-       TCSAFLUSH                         = 0x2
-       TIOCCBRK                          = 0x2000747a
-       TIOCCDTR                          = 0x20007478
-       TIOCCONS                          = 0x80047462
-       TIOCDRAIN                         = 0x2000745e
-       TIOCEXCL                          = 0x2000740d
-       TIOCEXT                           = 0x80047460
-       TIOCFLAG_CLOCAL                   = 0x2
-       TIOCFLAG_CRTSCTS                  = 0x4
-       TIOCFLAG_MDMBUF                   = 0x8
-       TIOCFLAG_PPS                      = 0x10
-       TIOCFLAG_SOFTCAR                  = 0x1
-       TIOCFLUSH                         = 0x80047410
-       TIOCGETA                          = 0x402c7413
-       TIOCGETD                          = 0x4004741a
-       TIOCGFLAGS                        = 0x4004745d
-       TIOCGPGRP                         = 0x40047477
-       TIOCGSID                          = 0x40047463
-       TIOCGTSTAMP                       = 0x4010745b
-       TIOCGWINSZ                        = 0x40087468
-       TIOCMBIC                          = 0x8004746b
-       TIOCMBIS                          = 0x8004746c
-       TIOCMGET                          = 0x4004746a
-       TIOCMODG                          = 0x4004746a
-       TIOCMODS                          = 0x8004746d
-       TIOCMSET                          = 0x8004746d
-       TIOCM_CAR                         = 0x40
-       TIOCM_CD                          = 0x40
-       TIOCM_CTS                         = 0x20
-       TIOCM_DSR                         = 0x100
-       TIOCM_DTR                         = 0x2
-       TIOCM_LE                          = 0x1
-       TIOCM_RI                          = 0x80
-       TIOCM_RNG                         = 0x80
-       TIOCM_RTS                         = 0x4
-       TIOCM_SR                          = 0x10
-       TIOCM_ST                          = 0x8
-       TIOCNOTTY                         = 0x20007471
-       TIOCNXCL                          = 0x2000740e
-       TIOCOUTQ                          = 0x40047473
-       TIOCPKT                           = 0x80047470
-       TIOCPKT_DATA                      = 0x0
-       TIOCPKT_DOSTOP                    = 0x20
-       TIOCPKT_FLUSHREAD                 = 0x1
-       TIOCPKT_FLUSHWRITE                = 0x2
-       TIOCPKT_IOCTL                     = 0x40
-       TIOCPKT_NOSTOP                    = 0x10
-       TIOCPKT_START                     = 0x8
-       TIOCPKT_STOP                      = 0x4
-       TIOCREMOTE                        = 0x80047469
-       TIOCSBRK                          = 0x2000747b
-       TIOCSCTTY                         = 0x20007461
-       TIOCSDTR                          = 0x20007479
-       TIOCSETA                          = 0x802c7414
-       TIOCSETAF                         = 0x802c7416
-       TIOCSETAW                         = 0x802c7415
-       TIOCSETD                          = 0x8004741b
-       TIOCSFLAGS                        = 0x8004745c
-       TIOCSIG                           = 0x8004745f
-       TIOCSPGRP                         = 0x80047476
-       TIOCSTART                         = 0x2000746e
-       TIOCSTAT                          = 0x80047465
-       TIOCSTI                           = 0x80017472
-       TIOCSTOP                          = 0x2000746f
-       TIOCSTSTAMP                       = 0x8008745a
-       TIOCSWINSZ                        = 0x80087467
-       TIOCUCNTL                         = 0x80047466
-       TOSTOP                            = 0x400000
-       VDISCARD                          = 0xf
-       VDSUSP                            = 0xb
-       VEOF                              = 0x0
-       VEOL                              = 0x1
-       VEOL2                             = 0x2
-       VERASE                            = 0x3
-       VINTR                             = 0x8
-       VKILL                             = 0x5
-       VLNEXT                            = 0xe
-       VMIN                              = 0x10
-       VQUIT                             = 0x9
-       VREPRINT                          = 0x6
-       VSTART                            = 0xc
-       VSTATUS                           = 0x12
-       VSTOP                             = 0xd
-       VSUSP                             = 0xa
-       VTIME                             = 0x11
-       VWERASE                           = 0x4
-       WALTSIG                           = 0x4
-       WCONTINUED                        = 0x8
-       WCOREFLAG                         = 0x80
-       WNOHANG                           = 0x1
-       WSTOPPED                          = 0x7f
-       WUNTRACED                         = 0x2
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x30)
-       EADDRNOTAVAIL   = syscall.Errno(0x31)
-       EAFNOSUPPORT    = syscall.Errno(0x2f)
-       EAGAIN          = syscall.Errno(0x23)
-       EALREADY        = syscall.Errno(0x25)
-       EAUTH           = syscall.Errno(0x50)
-       EBADF           = syscall.Errno(0x9)
-       EBADRPC         = syscall.Errno(0x48)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x58)
-       ECHILD          = syscall.Errno(0xa)
-       ECONNABORTED    = syscall.Errno(0x35)
-       ECONNREFUSED    = syscall.Errno(0x3d)
-       ECONNRESET      = syscall.Errno(0x36)
-       EDEADLK         = syscall.Errno(0xb)
-       EDESTADDRREQ    = syscall.Errno(0x27)
-       EDOM            = syscall.Errno(0x21)
-       EDQUOT          = syscall.Errno(0x45)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EFTYPE          = syscall.Errno(0x4f)
-       EHOSTDOWN       = syscall.Errno(0x40)
-       EHOSTUNREACH    = syscall.Errno(0x41)
-       EIDRM           = syscall.Errno(0x59)
-       EILSEQ          = syscall.Errno(0x54)
-       EINPROGRESS     = syscall.Errno(0x24)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EIPSEC          = syscall.Errno(0x52)
-       EISCONN         = syscall.Errno(0x38)
-       EISDIR          = syscall.Errno(0x15)
-       ELAST           = syscall.Errno(0x5b)
-       ELOOP           = syscall.Errno(0x3e)
-       EMEDIUMTYPE     = syscall.Errno(0x56)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x28)
-       ENAMETOOLONG    = syscall.Errno(0x3f)
-       ENEEDAUTH       = syscall.Errno(0x51)
-       ENETDOWN        = syscall.Errno(0x32)
-       ENETRESET       = syscall.Errno(0x34)
-       ENETUNREACH     = syscall.Errno(0x33)
-       ENFILE          = syscall.Errno(0x17)
-       ENOATTR         = syscall.Errno(0x53)
-       ENOBUFS         = syscall.Errno(0x37)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x4d)
-       ENOMEDIUM       = syscall.Errno(0x55)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x5a)
-       ENOPROTOOPT     = syscall.Errno(0x2a)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSYS          = syscall.Errno(0x4e)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x39)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x42)
-       ENOTSOCK        = syscall.Errno(0x26)
-       ENOTSUP         = syscall.Errno(0x5b)
-       ENOTTY          = syscall.Errno(0x19)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x2d)
-       EOVERFLOW       = syscall.Errno(0x57)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x2e)
-       EPIPE           = syscall.Errno(0x20)
-       EPROCLIM        = syscall.Errno(0x43)
-       EPROCUNAVAIL    = syscall.Errno(0x4c)
-       EPROGMISMATCH   = syscall.Errno(0x4b)
-       EPROGUNAVAIL    = syscall.Errno(0x4a)
-       EPROTONOSUPPORT = syscall.Errno(0x2b)
-       EPROTOTYPE      = syscall.Errno(0x29)
-       ERANGE          = syscall.Errno(0x22)
-       EREMOTE         = syscall.Errno(0x47)
-       EROFS           = syscall.Errno(0x1e)
-       ERPCMISMATCH    = syscall.Errno(0x49)
-       ESHUTDOWN       = syscall.Errno(0x3a)
-       ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESTALE          = syscall.Errno(0x46)
-       ETIMEDOUT       = syscall.Errno(0x3c)
-       ETOOMANYREFS    = syscall.Errno(0x3b)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUSERS          = syscall.Errno(0x44)
-       EWOULDBLOCK     = syscall.Errno(0x23)
-       EXDEV           = syscall.Errno(0x12)
-)
-
-// Signals
-const (
-       SIGABRT   = syscall.Signal(0x6)
-       SIGALRM   = syscall.Signal(0xe)
-       SIGBUS    = syscall.Signal(0xa)
-       SIGCHLD   = syscall.Signal(0x14)
-       SIGCONT   = syscall.Signal(0x13)
-       SIGEMT    = syscall.Signal(0x7)
-       SIGFPE    = syscall.Signal(0x8)
-       SIGHUP    = syscall.Signal(0x1)
-       SIGILL    = syscall.Signal(0x4)
-       SIGINFO   = syscall.Signal(0x1d)
-       SIGINT    = syscall.Signal(0x2)
-       SIGIO     = syscall.Signal(0x17)
-       SIGIOT    = syscall.Signal(0x6)
-       SIGKILL   = syscall.Signal(0x9)
-       SIGPIPE   = syscall.Signal(0xd)
-       SIGPROF   = syscall.Signal(0x1b)
-       SIGQUIT   = syscall.Signal(0x3)
-       SIGSEGV   = syscall.Signal(0xb)
-       SIGSTOP   = syscall.Signal(0x11)
-       SIGSYS    = syscall.Signal(0xc)
-       SIGTERM   = syscall.Signal(0xf)
-       SIGTHR    = syscall.Signal(0x20)
-       SIGTRAP   = syscall.Signal(0x5)
-       SIGTSTP   = syscall.Signal(0x12)
-       SIGTTIN   = syscall.Signal(0x15)
-       SIGTTOU   = syscall.Signal(0x16)
-       SIGURG    = syscall.Signal(0x10)
-       SIGUSR1   = syscall.Signal(0x1e)
-       SIGUSR2   = syscall.Signal(0x1f)
-       SIGVTALRM = syscall.Signal(0x1a)
-       SIGWINCH  = syscall.Signal(0x1c)
-       SIGXCPU   = syscall.Signal(0x18)
-       SIGXFSZ   = syscall.Signal(0x19)
-)
-
-// Error table
-var errors = [...]string{
-       1:  "operation not permitted",
-       2:  "no such file or directory",
-       3:  "no such process",
-       4:  "interrupted system call",
-       5:  "input/output error",
-       6:  "device not configured",
-       7:  "argument list too long",
-       8:  "exec format error",
-       9:  "bad file descriptor",
-       10: "no child processes",
-       11: "resource deadlock avoided",
-       12: "cannot allocate memory",
-       13: "permission denied",
-       14: "bad address",
-       15: "block device required",
-       16: "device busy",
-       17: "file exists",
-       18: "cross-device link",
-       19: "operation not supported by device",
-       20: "not a directory",
-       21: "is a directory",
-       22: "invalid argument",
-       23: "too many open files in system",
-       24: "too many open files",
-       25: "inappropriate ioctl for device",
-       26: "text file busy",
-       27: "file too large",
-       28: "no space left on device",
-       29: "illegal seek",
-       30: "read-only file system",
-       31: "too many links",
-       32: "broken pipe",
-       33: "numerical argument out of domain",
-       34: "result too large",
-       35: "resource temporarily unavailable",
-       36: "operation now in progress",
-       37: "operation already in progress",
-       38: "socket operation on non-socket",
-       39: "destination address required",
-       40: "message too long",
-       41: "protocol wrong type for socket",
-       42: "protocol not available",
-       43: "protocol not supported",
-       44: "socket type not supported",
-       45: "operation not supported",
-       46: "protocol family not supported",
-       47: "address family not supported by protocol family",
-       48: "address already in use",
-       49: "can't assign requested address",
-       50: "network is down",
-       51: "network is unreachable",
-       52: "network dropped connection on reset",
-       53: "software caused connection abort",
-       54: "connection reset by peer",
-       55: "no buffer space available",
-       56: "socket is already connected",
-       57: "socket is not connected",
-       58: "can't send after socket shutdown",
-       59: "too many references: can't splice",
-       60: "connection timed out",
-       61: "connection refused",
-       62: "too many levels of symbolic links",
-       63: "file name too long",
-       64: "host is down",
-       65: "no route to host",
-       66: "directory not empty",
-       67: "too many processes",
-       68: "too many users",
-       69: "disc quota exceeded",
-       70: "stale NFS file handle",
-       71: "too many levels of remote in path",
-       72: "RPC struct is bad",
-       73: "RPC version wrong",
-       74: "RPC prog. not avail",
-       75: "program version wrong",
-       76: "bad procedure for program",
-       77: "no locks available",
-       78: "function not implemented",
-       79: "inappropriate file type or format",
-       80: "authentication error",
-       81: "need authenticator",
-       82: "IPsec processing failure",
-       83: "attribute not found",
-       84: "illegal byte sequence",
-       85: "no medium found",
-       86: "wrong medium type",
-       87: "value too large to be stored in data type",
-       88: "operation canceled",
-       89: "identifier removed",
-       90: "no message of desired type",
-       91: "not supported",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal instruction",
-       5:  "trace/BPT trap",
-       6:  "abort trap",
-       7:  "EMT trap",
-       8:  "floating point exception",
-       9:  "killed",
-       10: "bus error",
-       11: "segmentation fault",
-       12: "bad system call",
-       13: "broken pipe",
-       14: "alarm clock",
-       15: "terminated",
-       16: "urgent I/O condition",
-       17: "stopped (signal)",
-       18: "stopped",
-       19: "continued",
-       20: "child exited",
-       21: "stopped (tty input)",
-       22: "stopped (tty output)",
-       23: "I/O possible",
-       24: "cputime limit exceeded",
-       25: "filesize limit exceeded",
-       26: "virtual timer expired",
-       27: "profiling timer expired",
-       28: "window size changes",
-       29: "information request",
-       30: "user defined signal 1",
-       31: "user defined signal 2",
-       32: "thread AST",
-}
diff --git a/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go
deleted file mode 100644 (file)
index a08922b..0000000
+++ /dev/null
@@ -1,1436 +0,0 @@
-// mkerrors.sh -m64
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build amd64,solaris
-
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -m64 _const.go
-
-package unix
-
-import "syscall"
-
-const (
-       AF_802                        = 0x12
-       AF_APPLETALK                  = 0x10
-       AF_CCITT                      = 0xa
-       AF_CHAOS                      = 0x5
-       AF_DATAKIT                    = 0x9
-       AF_DECnet                     = 0xc
-       AF_DLI                        = 0xd
-       AF_ECMA                       = 0x8
-       AF_FILE                       = 0x1
-       AF_GOSIP                      = 0x16
-       AF_HYLINK                     = 0xf
-       AF_IMPLINK                    = 0x3
-       AF_INET                       = 0x2
-       AF_INET6                      = 0x1a
-       AF_INET_OFFLOAD               = 0x1e
-       AF_IPX                        = 0x17
-       AF_KEY                        = 0x1b
-       AF_LAT                        = 0xe
-       AF_LINK                       = 0x19
-       AF_LOCAL                      = 0x1
-       AF_MAX                        = 0x20
-       AF_NBS                        = 0x7
-       AF_NCA                        = 0x1c
-       AF_NIT                        = 0x11
-       AF_NS                         = 0x6
-       AF_OSI                        = 0x13
-       AF_OSINET                     = 0x15
-       AF_PACKET                     = 0x20
-       AF_POLICY                     = 0x1d
-       AF_PUP                        = 0x4
-       AF_ROUTE                      = 0x18
-       AF_SNA                        = 0xb
-       AF_TRILL                      = 0x1f
-       AF_UNIX                       = 0x1
-       AF_UNSPEC                     = 0x0
-       AF_X25                        = 0x14
-       ARPHRD_ARCNET                 = 0x7
-       ARPHRD_ATM                    = 0x10
-       ARPHRD_AX25                   = 0x3
-       ARPHRD_CHAOS                  = 0x5
-       ARPHRD_EETHER                 = 0x2
-       ARPHRD_ETHER                  = 0x1
-       ARPHRD_FC                     = 0x12
-       ARPHRD_FRAME                  = 0xf
-       ARPHRD_HDLC                   = 0x11
-       ARPHRD_IB                     = 0x20
-       ARPHRD_IEEE802                = 0x6
-       ARPHRD_IPATM                  = 0x13
-       ARPHRD_METRICOM               = 0x17
-       ARPHRD_TUNNEL                 = 0x1f
-       B0                            = 0x0
-       B110                          = 0x3
-       B115200                       = 0x12
-       B1200                         = 0x9
-       B134                          = 0x4
-       B150                          = 0x5
-       B153600                       = 0x13
-       B1800                         = 0xa
-       B19200                        = 0xe
-       B200                          = 0x6
-       B230400                       = 0x14
-       B2400                         = 0xb
-       B300                          = 0x7
-       B307200                       = 0x15
-       B38400                        = 0xf
-       B460800                       = 0x16
-       B4800                         = 0xc
-       B50                           = 0x1
-       B57600                        = 0x10
-       B600                          = 0x8
-       B75                           = 0x2
-       B76800                        = 0x11
-       B921600                       = 0x17
-       B9600                         = 0xd
-       BIOCFLUSH                     = 0x20004268
-       BIOCGBLEN                     = 0x40044266
-       BIOCGDLT                      = 0x4004426a
-       BIOCGDLTLIST                  = -0x3fefbd89
-       BIOCGDLTLIST32                = -0x3ff7bd89
-       BIOCGETIF                     = 0x4020426b
-       BIOCGETLIF                    = 0x4078426b
-       BIOCGHDRCMPLT                 = 0x40044274
-       BIOCGRTIMEOUT                 = 0x4010427b
-       BIOCGRTIMEOUT32               = 0x4008427b
-       BIOCGSEESENT                  = 0x40044278
-       BIOCGSTATS                    = 0x4080426f
-       BIOCGSTATSOLD                 = 0x4008426f
-       BIOCIMMEDIATE                 = -0x7ffbbd90
-       BIOCPROMISC                   = 0x20004269
-       BIOCSBLEN                     = -0x3ffbbd9a
-       BIOCSDLT                      = -0x7ffbbd8a
-       BIOCSETF                      = -0x7fefbd99
-       BIOCSETF32                    = -0x7ff7bd99
-       BIOCSETIF                     = -0x7fdfbd94
-       BIOCSETLIF                    = -0x7f87bd94
-       BIOCSHDRCMPLT                 = -0x7ffbbd8b
-       BIOCSRTIMEOUT                 = -0x7fefbd86
-       BIOCSRTIMEOUT32               = -0x7ff7bd86
-       BIOCSSEESENT                  = -0x7ffbbd87
-       BIOCSTCPF                     = -0x7fefbd8e
-       BIOCSUDPF                     = -0x7fefbd8d
-       BIOCVERSION                   = 0x40044271
-       BPF_A                         = 0x10
-       BPF_ABS                       = 0x20
-       BPF_ADD                       = 0x0
-       BPF_ALIGNMENT                 = 0x4
-       BPF_ALU                       = 0x4
-       BPF_AND                       = 0x50
-       BPF_B                         = 0x10
-       BPF_DFLTBUFSIZE               = 0x100000
-       BPF_DIV                       = 0x30
-       BPF_H                         = 0x8
-       BPF_IMM                       = 0x0
-       BPF_IND                       = 0x40
-       BPF_JA                        = 0x0
-       BPF_JEQ                       = 0x10
-       BPF_JGE                       = 0x30
-       BPF_JGT                       = 0x20
-       BPF_JMP                       = 0x5
-       BPF_JSET                      = 0x40
-       BPF_K                         = 0x0
-       BPF_LD                        = 0x0
-       BPF_LDX                       = 0x1
-       BPF_LEN                       = 0x80
-       BPF_LSH                       = 0x60
-       BPF_MAJOR_VERSION             = 0x1
-       BPF_MAXBUFSIZE                = 0x1000000
-       BPF_MAXINSNS                  = 0x200
-       BPF_MEM                       = 0x60
-       BPF_MEMWORDS                  = 0x10
-       BPF_MINBUFSIZE                = 0x20
-       BPF_MINOR_VERSION             = 0x1
-       BPF_MISC                      = 0x7
-       BPF_MSH                       = 0xa0
-       BPF_MUL                       = 0x20
-       BPF_NEG                       = 0x80
-       BPF_OR                        = 0x40
-       BPF_RELEASE                   = 0x30bb6
-       BPF_RET                       = 0x6
-       BPF_RSH                       = 0x70
-       BPF_ST                        = 0x2
-       BPF_STX                       = 0x3
-       BPF_SUB                       = 0x10
-       BPF_TAX                       = 0x0
-       BPF_TXA                       = 0x80
-       BPF_W                         = 0x0
-       BPF_X                         = 0x8
-       BRKINT                        = 0x2
-       CFLUSH                        = 0xf
-       CLOCAL                        = 0x800
-       CLOCK_HIGHRES                 = 0x4
-       CLOCK_LEVEL                   = 0xa
-       CLOCK_MONOTONIC               = 0x4
-       CLOCK_PROCESS_CPUTIME_ID      = 0x5
-       CLOCK_PROF                    = 0x2
-       CLOCK_REALTIME                = 0x3
-       CLOCK_THREAD_CPUTIME_ID       = 0x2
-       CLOCK_VIRTUAL                 = 0x1
-       CREAD                         = 0x80
-       CS5                           = 0x0
-       CS6                           = 0x10
-       CS7                           = 0x20
-       CS8                           = 0x30
-       CSIZE                         = 0x30
-       CSTART                        = 0x11
-       CSTATUS                       = 0x14
-       CSTOP                         = 0x13
-       CSTOPB                        = 0x40
-       CSUSP                         = 0x1a
-       CSWTCH                        = 0x1a
-       DLT_AIRONET_HEADER            = 0x78
-       DLT_APPLE_IP_OVER_IEEE1394    = 0x8a
-       DLT_ARCNET                    = 0x7
-       DLT_ARCNET_LINUX              = 0x81
-       DLT_ATM_CLIP                  = 0x13
-       DLT_ATM_RFC1483               = 0xb
-       DLT_AURORA                    = 0x7e
-       DLT_AX25                      = 0x3
-       DLT_BACNET_MS_TP              = 0xa5
-       DLT_CHAOS                     = 0x5
-       DLT_CISCO_IOS                 = 0x76
-       DLT_C_HDLC                    = 0x68
-       DLT_DOCSIS                    = 0x8f
-       DLT_ECONET                    = 0x73
-       DLT_EN10MB                    = 0x1
-       DLT_EN3MB                     = 0x2
-       DLT_ENC                       = 0x6d
-       DLT_ERF_ETH                   = 0xaf
-       DLT_ERF_POS                   = 0xb0
-       DLT_FDDI                      = 0xa
-       DLT_FRELAY                    = 0x6b
-       DLT_GCOM_SERIAL               = 0xad
-       DLT_GCOM_T1E1                 = 0xac
-       DLT_GPF_F                     = 0xab
-       DLT_GPF_T                     = 0xaa
-       DLT_GPRS_LLC                  = 0xa9
-       DLT_HDLC                      = 0x10
-       DLT_HHDLC                     = 0x79
-       DLT_HIPPI                     = 0xf
-       DLT_IBM_SN                    = 0x92
-       DLT_IBM_SP                    = 0x91
-       DLT_IEEE802                   = 0x6
-       DLT_IEEE802_11                = 0x69
-       DLT_IEEE802_11_RADIO          = 0x7f
-       DLT_IEEE802_11_RADIO_AVS      = 0xa3
-       DLT_IPNET                     = 0xe2
-       DLT_IPOIB                     = 0xa2
-       DLT_IP_OVER_FC                = 0x7a
-       DLT_JUNIPER_ATM1              = 0x89
-       DLT_JUNIPER_ATM2              = 0x87
-       DLT_JUNIPER_CHDLC             = 0xb5
-       DLT_JUNIPER_ES                = 0x84
-       DLT_JUNIPER_ETHER             = 0xb2
-       DLT_JUNIPER_FRELAY            = 0xb4
-       DLT_JUNIPER_GGSN              = 0x85
-       DLT_JUNIPER_MFR               = 0x86
-       DLT_JUNIPER_MLFR              = 0x83
-       DLT_JUNIPER_MLPPP             = 0x82
-       DLT_JUNIPER_MONITOR           = 0xa4
-       DLT_JUNIPER_PIC_PEER          = 0xae
-       DLT_JUNIPER_PPP               = 0xb3
-       DLT_JUNIPER_PPPOE             = 0xa7
-       DLT_JUNIPER_PPPOE_ATM         = 0xa8
-       DLT_JUNIPER_SERVICES          = 0x88
-       DLT_LINUX_IRDA                = 0x90
-       DLT_LINUX_LAPD                = 0xb1
-       DLT_LINUX_SLL                 = 0x71
-       DLT_LOOP                      = 0x6c
-       DLT_LTALK                     = 0x72
-       DLT_MTP2                      = 0x8c
-       DLT_MTP2_WITH_PHDR            = 0x8b
-       DLT_MTP3                      = 0x8d
-       DLT_NULL                      = 0x0
-       DLT_PCI_EXP                   = 0x7d
-       DLT_PFLOG                     = 0x75
-       DLT_PFSYNC                    = 0x12
-       DLT_PPP                       = 0x9
-       DLT_PPP_BSDOS                 = 0xe
-       DLT_PPP_PPPD                  = 0xa6
-       DLT_PRISM_HEADER              = 0x77
-       DLT_PRONET                    = 0x4
-       DLT_RAW                       = 0xc
-       DLT_RAWAF_MASK                = 0x2240000
-       DLT_RIO                       = 0x7c
-       DLT_SCCP                      = 0x8e
-       DLT_SLIP                      = 0x8
-       DLT_SLIP_BSDOS                = 0xd
-       DLT_SUNATM                    = 0x7b
-       DLT_SYMANTEC_FIREWALL         = 0x63
-       DLT_TZSP                      = 0x80
-       ECHO                          = 0x8
-       ECHOCTL                       = 0x200
-       ECHOE                         = 0x10
-       ECHOK                         = 0x20
-       ECHOKE                        = 0x800
-       ECHONL                        = 0x40
-       ECHOPRT                       = 0x400
-       EMPTY_SET                     = 0x0
-       EMT_CPCOVF                    = 0x1
-       EQUALITY_CHECK                = 0x0
-       EXTA                          = 0xe
-       EXTB                          = 0xf
-       FD_CLOEXEC                    = 0x1
-       FD_NFDBITS                    = 0x40
-       FD_SETSIZE                    = 0x10000
-       FLUSHALL                      = 0x1
-       FLUSHDATA                     = 0x0
-       FLUSHO                        = 0x2000
-       F_ALLOCSP                     = 0xa
-       F_ALLOCSP64                   = 0xa
-       F_BADFD                       = 0x2e
-       F_BLKSIZE                     = 0x13
-       F_BLOCKS                      = 0x12
-       F_CHKFL                       = 0x8
-       F_COMPAT                      = 0x8
-       F_DUP2FD                      = 0x9
-       F_DUP2FD_CLOEXEC              = 0x24
-       F_DUPFD                       = 0x0
-       F_DUPFD_CLOEXEC               = 0x25
-       F_FREESP                      = 0xb
-       F_FREESP64                    = 0xb
-       F_GETFD                       = 0x1
-       F_GETFL                       = 0x3
-       F_GETLK                       = 0xe
-       F_GETLK64                     = 0xe
-       F_GETOWN                      = 0x17
-       F_GETXFL                      = 0x2d
-       F_HASREMOTELOCKS              = 0x1a
-       F_ISSTREAM                    = 0xd
-       F_MANDDNY                     = 0x10
-       F_MDACC                       = 0x20
-       F_NODNY                       = 0x0
-       F_NPRIV                       = 0x10
-       F_PRIV                        = 0xf
-       F_QUOTACTL                    = 0x11
-       F_RDACC                       = 0x1
-       F_RDDNY                       = 0x1
-       F_RDLCK                       = 0x1
-       F_REVOKE                      = 0x19
-       F_RMACC                       = 0x4
-       F_RMDNY                       = 0x4
-       F_RWACC                       = 0x3
-       F_RWDNY                       = 0x3
-       F_SETFD                       = 0x2
-       F_SETFL                       = 0x4
-       F_SETLK                       = 0x6
-       F_SETLK64                     = 0x6
-       F_SETLK64_NBMAND              = 0x2a
-       F_SETLKW                      = 0x7
-       F_SETLKW64                    = 0x7
-       F_SETLK_NBMAND                = 0x2a
-       F_SETOWN                      = 0x18
-       F_SHARE                       = 0x28
-       F_SHARE_NBMAND                = 0x2b
-       F_UNLCK                       = 0x3
-       F_UNLKSYS                     = 0x4
-       F_UNSHARE                     = 0x29
-       F_WRACC                       = 0x2
-       F_WRDNY                       = 0x2
-       F_WRLCK                       = 0x2
-       HUPCL                         = 0x400
-       ICANON                        = 0x2
-       ICRNL                         = 0x100
-       IEXTEN                        = 0x8000
-       IFF_ADDRCONF                  = 0x80000
-       IFF_ALLMULTI                  = 0x200
-       IFF_ANYCAST                   = 0x400000
-       IFF_BROADCAST                 = 0x2
-       IFF_CANTCHANGE                = 0x7f203003b5a
-       IFF_COS_ENABLED               = 0x200000000
-       IFF_DEBUG                     = 0x4
-       IFF_DEPRECATED                = 0x40000
-       IFF_DHCPRUNNING               = 0x4000
-       IFF_DUPLICATE                 = 0x4000000000
-       IFF_FAILED                    = 0x10000000
-       IFF_FIXEDMTU                  = 0x1000000000
-       IFF_INACTIVE                  = 0x40000000
-       IFF_INTELLIGENT               = 0x400
-       IFF_IPMP                      = 0x8000000000
-       IFF_IPMP_CANTCHANGE           = 0x10000000
-       IFF_IPMP_INVALID              = 0x1ec200080
-       IFF_IPV4                      = 0x1000000
-       IFF_IPV6                      = 0x2000000
-       IFF_L3PROTECT                 = 0x40000000000
-       IFF_LOOPBACK                  = 0x8
-       IFF_MULTICAST                 = 0x800
-       IFF_MULTI_BCAST               = 0x1000
-       IFF_NOACCEPT                  = 0x4000000
-       IFF_NOARP                     = 0x80
-       IFF_NOFAILOVER                = 0x8000000
-       IFF_NOLINKLOCAL               = 0x20000000000
-       IFF_NOLOCAL                   = 0x20000
-       IFF_NONUD                     = 0x200000
-       IFF_NORTEXCH                  = 0x800000
-       IFF_NOTRAILERS                = 0x20
-       IFF_NOXMIT                    = 0x10000
-       IFF_OFFLINE                   = 0x80000000
-       IFF_POINTOPOINT               = 0x10
-       IFF_PREFERRED                 = 0x400000000
-       IFF_PRIVATE                   = 0x8000
-       IFF_PROMISC                   = 0x100
-       IFF_ROUTER                    = 0x100000
-       IFF_RUNNING                   = 0x40
-       IFF_STANDBY                   = 0x20000000
-       IFF_TEMPORARY                 = 0x800000000
-       IFF_UNNUMBERED                = 0x2000
-       IFF_UP                        = 0x1
-       IFF_VIRTUAL                   = 0x2000000000
-       IFF_VRRP                      = 0x10000000000
-       IFF_XRESOLV                   = 0x100000000
-       IFNAMSIZ                      = 0x10
-       IFT_1822                      = 0x2
-       IFT_6TO4                      = 0xca
-       IFT_AAL5                      = 0x31
-       IFT_ARCNET                    = 0x23
-       IFT_ARCNETPLUS                = 0x24
-       IFT_ATM                       = 0x25
-       IFT_CEPT                      = 0x13
-       IFT_DS3                       = 0x1e
-       IFT_EON                       = 0x19
-       IFT_ETHER                     = 0x6
-       IFT_FDDI                      = 0xf
-       IFT_FRELAY                    = 0x20
-       IFT_FRELAYDCE                 = 0x2c
-       IFT_HDH1822                   = 0x3
-       IFT_HIPPI                     = 0x2f
-       IFT_HSSI                      = 0x2e
-       IFT_HY                        = 0xe
-       IFT_IB                        = 0xc7
-       IFT_IPV4                      = 0xc8
-       IFT_IPV6                      = 0xc9
-       IFT_ISDNBASIC                 = 0x14
-       IFT_ISDNPRIMARY               = 0x15
-       IFT_ISO88022LLC               = 0x29
-       IFT_ISO88023                  = 0x7
-       IFT_ISO88024                  = 0x8
-       IFT_ISO88025                  = 0x9
-       IFT_ISO88026                  = 0xa
-       IFT_LAPB                      = 0x10
-       IFT_LOCALTALK                 = 0x2a
-       IFT_LOOP                      = 0x18
-       IFT_MIOX25                    = 0x26
-       IFT_MODEM                     = 0x30
-       IFT_NSIP                      = 0x1b
-       IFT_OTHER                     = 0x1
-       IFT_P10                       = 0xc
-       IFT_P80                       = 0xd
-       IFT_PARA                      = 0x22
-       IFT_PPP                       = 0x17
-       IFT_PROPMUX                   = 0x36
-       IFT_PROPVIRTUAL               = 0x35
-       IFT_PTPSERIAL                 = 0x16
-       IFT_RS232                     = 0x21
-       IFT_SDLC                      = 0x11
-       IFT_SIP                       = 0x1f
-       IFT_SLIP                      = 0x1c
-       IFT_SMDSDXI                   = 0x2b
-       IFT_SMDSICIP                  = 0x34
-       IFT_SONET                     = 0x27
-       IFT_SONETPATH                 = 0x32
-       IFT_SONETVT                   = 0x33
-       IFT_STARLAN                   = 0xb
-       IFT_T1                        = 0x12
-       IFT_ULTRA                     = 0x1d
-       IFT_V35                       = 0x2d
-       IFT_X25                       = 0x5
-       IFT_X25DDN                    = 0x4
-       IFT_X25PLE                    = 0x28
-       IFT_XETHER                    = 0x1a
-       IGNBRK                        = 0x1
-       IGNCR                         = 0x80
-       IGNPAR                        = 0x4
-       IMAXBEL                       = 0x2000
-       INLCR                         = 0x40
-       INPCK                         = 0x10
-       IN_AUTOCONF_MASK              = 0xffff0000
-       IN_AUTOCONF_NET               = 0xa9fe0000
-       IN_CLASSA_HOST                = 0xffffff
-       IN_CLASSA_MAX                 = 0x80
-       IN_CLASSA_NET                 = 0xff000000
-       IN_CLASSA_NSHIFT              = 0x18
-       IN_CLASSB_HOST                = 0xffff
-       IN_CLASSB_MAX                 = 0x10000
-       IN_CLASSB_NET                 = 0xffff0000
-       IN_CLASSB_NSHIFT              = 0x10
-       IN_CLASSC_HOST                = 0xff
-       IN_CLASSC_NET                 = 0xffffff00
-       IN_CLASSC_NSHIFT              = 0x8
-       IN_CLASSD_HOST                = 0xfffffff
-       IN_CLASSD_NET                 = 0xf0000000
-       IN_CLASSD_NSHIFT              = 0x1c
-       IN_CLASSE_NET                 = 0xffffffff
-       IN_LOOPBACKNET                = 0x7f
-       IN_PRIVATE12_MASK             = 0xfff00000
-       IN_PRIVATE12_NET              = 0xac100000
-       IN_PRIVATE16_MASK             = 0xffff0000
-       IN_PRIVATE16_NET              = 0xc0a80000
-       IN_PRIVATE8_MASK              = 0xff000000
-       IN_PRIVATE8_NET               = 0xa000000
-       IPPROTO_AH                    = 0x33
-       IPPROTO_DSTOPTS               = 0x3c
-       IPPROTO_EGP                   = 0x8
-       IPPROTO_ENCAP                 = 0x4
-       IPPROTO_EON                   = 0x50
-       IPPROTO_ESP                   = 0x32
-       IPPROTO_FRAGMENT              = 0x2c
-       IPPROTO_GGP                   = 0x3
-       IPPROTO_HELLO                 = 0x3f
-       IPPROTO_HOPOPTS               = 0x0
-       IPPROTO_ICMP                  = 0x1
-       IPPROTO_ICMPV6                = 0x3a
-       IPPROTO_IDP                   = 0x16
-       IPPROTO_IGMP                  = 0x2
-       IPPROTO_IP                    = 0x0
-       IPPROTO_IPV6                  = 0x29
-       IPPROTO_MAX                   = 0x100
-       IPPROTO_ND                    = 0x4d
-       IPPROTO_NONE                  = 0x3b
-       IPPROTO_OSPF                  = 0x59
-       IPPROTO_PIM                   = 0x67
-       IPPROTO_PUP                   = 0xc
-       IPPROTO_RAW                   = 0xff
-       IPPROTO_ROUTING               = 0x2b
-       IPPROTO_RSVP                  = 0x2e
-       IPPROTO_SCTP                  = 0x84
-       IPPROTO_TCP                   = 0x6
-       IPPROTO_UDP                   = 0x11
-       IPV6_ADD_MEMBERSHIP           = 0x9
-       IPV6_BOUND_IF                 = 0x41
-       IPV6_CHECKSUM                 = 0x18
-       IPV6_DONTFRAG                 = 0x21
-       IPV6_DROP_MEMBERSHIP          = 0xa
-       IPV6_DSTOPTS                  = 0xf
-       IPV6_FLOWINFO_FLOWLABEL       = 0xffff0f00
-       IPV6_FLOWINFO_TCLASS          = 0xf00f
-       IPV6_HOPLIMIT                 = 0xc
-       IPV6_HOPOPTS                  = 0xe
-       IPV6_JOIN_GROUP               = 0x9
-       IPV6_LEAVE_GROUP              = 0xa
-       IPV6_MULTICAST_HOPS           = 0x7
-       IPV6_MULTICAST_IF             = 0x6
-       IPV6_MULTICAST_LOOP           = 0x8
-       IPV6_NEXTHOP                  = 0xd
-       IPV6_PAD1_OPT                 = 0x0
-       IPV6_PATHMTU                  = 0x25
-       IPV6_PKTINFO                  = 0xb
-       IPV6_PREFER_SRC_CGA           = 0x20
-       IPV6_PREFER_SRC_CGADEFAULT    = 0x10
-       IPV6_PREFER_SRC_CGAMASK       = 0x30
-       IPV6_PREFER_SRC_COA           = 0x2
-       IPV6_PREFER_SRC_DEFAULT       = 0x15
-       IPV6_PREFER_SRC_HOME          = 0x1
-       IPV6_PREFER_SRC_MASK          = 0x3f
-       IPV6_PREFER_SRC_MIPDEFAULT    = 0x1
-       IPV6_PREFER_SRC_MIPMASK       = 0x3
-       IPV6_PREFER_SRC_NONCGA        = 0x10
-       IPV6_PREFER_SRC_PUBLIC        = 0x4
-       IPV6_PREFER_SRC_TMP           = 0x8
-       IPV6_PREFER_SRC_TMPDEFAULT    = 0x4
-       IPV6_PREFER_SRC_TMPMASK       = 0xc
-       IPV6_RECVDSTOPTS              = 0x28
-       IPV6_RECVHOPLIMIT             = 0x13
-       IPV6_RECVHOPOPTS              = 0x14
-       IPV6_RECVPATHMTU              = 0x24
-       IPV6_RECVPKTINFO              = 0x12
-       IPV6_RECVRTHDR                = 0x16
-       IPV6_RECVRTHDRDSTOPTS         = 0x17
-       IPV6_RECVTCLASS               = 0x19
-       IPV6_RTHDR                    = 0x10
-       IPV6_RTHDRDSTOPTS             = 0x11
-       IPV6_RTHDR_TYPE_0             = 0x0
-       IPV6_SEC_OPT                  = 0x22
-       IPV6_SRC_PREFERENCES          = 0x23
-       IPV6_TCLASS                   = 0x26
-       IPV6_UNICAST_HOPS             = 0x5
-       IPV6_UNSPEC_SRC               = 0x42
-       IPV6_USE_MIN_MTU              = 0x20
-       IPV6_V6ONLY                   = 0x27
-       IP_ADD_MEMBERSHIP             = 0x13
-       IP_ADD_SOURCE_MEMBERSHIP      = 0x17
-       IP_BLOCK_SOURCE               = 0x15
-       IP_BOUND_IF                   = 0x41
-       IP_BROADCAST                  = 0x106
-       IP_BROADCAST_TTL              = 0x43
-       IP_DEFAULT_MULTICAST_LOOP     = 0x1
-       IP_DEFAULT_MULTICAST_TTL      = 0x1
-       IP_DF                         = 0x4000
-       IP_DHCPINIT_IF                = 0x45
-       IP_DONTFRAG                   = 0x1b
-       IP_DONTROUTE                  = 0x105
-       IP_DROP_MEMBERSHIP            = 0x14
-       IP_DROP_SOURCE_MEMBERSHIP     = 0x18
-       IP_HDRINCL                    = 0x2
-       IP_MAXPACKET                  = 0xffff
-       IP_MF                         = 0x2000
-       IP_MSS                        = 0x240
-       IP_MULTICAST_IF               = 0x10
-       IP_MULTICAST_LOOP             = 0x12
-       IP_MULTICAST_TTL              = 0x11
-       IP_NEXTHOP                    = 0x19
-       IP_OPTIONS                    = 0x1
-       IP_PKTINFO                    = 0x1a
-       IP_RECVDSTADDR                = 0x7
-       IP_RECVIF                     = 0x9
-       IP_RECVOPTS                   = 0x5
-       IP_RECVPKTINFO                = 0x1a
-       IP_RECVRETOPTS                = 0x6
-       IP_RECVSLLA                   = 0xa
-       IP_RECVTTL                    = 0xb
-       IP_RETOPTS                    = 0x8
-       IP_REUSEADDR                  = 0x104
-       IP_SEC_OPT                    = 0x22
-       IP_TOS                        = 0x3
-       IP_TTL                        = 0x4
-       IP_UNBLOCK_SOURCE             = 0x16
-       IP_UNSPEC_SRC                 = 0x42
-       ISIG                          = 0x1
-       ISTRIP                        = 0x20
-       IXANY                         = 0x800
-       IXOFF                         = 0x1000
-       IXON                          = 0x400
-       MADV_ACCESS_DEFAULT           = 0x6
-       MADV_ACCESS_LWP               = 0x7
-       MADV_ACCESS_MANY              = 0x8
-       MADV_DONTNEED                 = 0x4
-       MADV_FREE                     = 0x5
-       MADV_NORMAL                   = 0x0
-       MADV_RANDOM                   = 0x1
-       MADV_SEQUENTIAL               = 0x2
-       MADV_WILLNEED                 = 0x3
-       MAP_32BIT                     = 0x80
-       MAP_ALIGN                     = 0x200
-       MAP_ANON                      = 0x100
-       MAP_ANONYMOUS                 = 0x100
-       MAP_FIXED                     = 0x10
-       MAP_INITDATA                  = 0x800
-       MAP_NORESERVE                 = 0x40
-       MAP_PRIVATE                   = 0x2
-       MAP_RENAME                    = 0x20
-       MAP_SHARED                    = 0x1
-       MAP_TEXT                      = 0x400
-       MAP_TYPE                      = 0xf
-       MCL_CURRENT                   = 0x1
-       MCL_FUTURE                    = 0x2
-       MSG_CTRUNC                    = 0x10
-       MSG_DONTROUTE                 = 0x4
-       MSG_DONTWAIT                  = 0x80
-       MSG_DUPCTRL                   = 0x800
-       MSG_EOR                       = 0x8
-       MSG_MAXIOVLEN                 = 0x10
-       MSG_NOTIFICATION              = 0x100
-       MSG_OOB                       = 0x1
-       MSG_PEEK                      = 0x2
-       MSG_TRUNC                     = 0x20
-       MSG_WAITALL                   = 0x40
-       MSG_XPG4_2                    = 0x8000
-       MS_ASYNC                      = 0x1
-       MS_INVALIDATE                 = 0x2
-       MS_OLDSYNC                    = 0x0
-       MS_SYNC                       = 0x4
-       M_FLUSH                       = 0x86
-       NOFLSH                        = 0x80
-       OCRNL                         = 0x8
-       OFDEL                         = 0x80
-       OFILL                         = 0x40
-       ONLCR                         = 0x4
-       ONLRET                        = 0x20
-       ONOCR                         = 0x10
-       OPENFAIL                      = -0x1
-       OPOST                         = 0x1
-       O_ACCMODE                     = 0x600003
-       O_APPEND                      = 0x8
-       O_CLOEXEC                     = 0x800000
-       O_CREAT                       = 0x100
-       O_DSYNC                       = 0x40
-       O_EXCL                        = 0x400
-       O_EXEC                        = 0x400000
-       O_LARGEFILE                   = 0x2000
-       O_NDELAY                      = 0x4
-       O_NOCTTY                      = 0x800
-       O_NOFOLLOW                    = 0x20000
-       O_NOLINKS                     = 0x40000
-       O_NONBLOCK                    = 0x80
-       O_RDONLY                      = 0x0
-       O_RDWR                        = 0x2
-       O_RSYNC                       = 0x8000
-       O_SEARCH                      = 0x200000
-       O_SIOCGIFCONF                 = -0x3ff796ec
-       O_SIOCGLIFCONF                = -0x3fef9688
-       O_SYNC                        = 0x10
-       O_TRUNC                       = 0x200
-       O_WRONLY                      = 0x1
-       O_XATTR                       = 0x4000
-       PARENB                        = 0x100
-       PAREXT                        = 0x100000
-       PARMRK                        = 0x8
-       PARODD                        = 0x200
-       PENDIN                        = 0x4000
-       PRIO_PGRP                     = 0x1
-       PRIO_PROCESS                  = 0x0
-       PRIO_USER                     = 0x2
-       PROT_EXEC                     = 0x4
-       PROT_NONE                     = 0x0
-       PROT_READ                     = 0x1
-       PROT_WRITE                    = 0x2
-       RLIMIT_AS                     = 0x6
-       RLIMIT_CORE                   = 0x4
-       RLIMIT_CPU                    = 0x0
-       RLIMIT_DATA                   = 0x2
-       RLIMIT_FSIZE                  = 0x1
-       RLIMIT_NOFILE                 = 0x5
-       RLIMIT_STACK                  = 0x3
-       RLIM_INFINITY                 = -0x3
-       RTAX_AUTHOR                   = 0x6
-       RTAX_BRD                      = 0x7
-       RTAX_DST                      = 0x0
-       RTAX_GATEWAY                  = 0x1
-       RTAX_GENMASK                  = 0x3
-       RTAX_IFA                      = 0x5
-       RTAX_IFP                      = 0x4
-       RTAX_MAX                      = 0x9
-       RTAX_NETMASK                  = 0x2
-       RTAX_SRC                      = 0x8
-       RTA_AUTHOR                    = 0x40
-       RTA_BRD                       = 0x80
-       RTA_DST                       = 0x1
-       RTA_GATEWAY                   = 0x2
-       RTA_GENMASK                   = 0x8
-       RTA_IFA                       = 0x20
-       RTA_IFP                       = 0x10
-       RTA_NETMASK                   = 0x4
-       RTA_NUMBITS                   = 0x9
-       RTA_SRC                       = 0x100
-       RTF_BLACKHOLE                 = 0x1000
-       RTF_CLONING                   = 0x100
-       RTF_DONE                      = 0x40
-       RTF_DYNAMIC                   = 0x10
-       RTF_GATEWAY                   = 0x2
-       RTF_HOST                      = 0x4
-       RTF_INDIRECT                  = 0x40000
-       RTF_KERNEL                    = 0x80000
-       RTF_LLINFO                    = 0x400
-       RTF_MASK                      = 0x80
-       RTF_MODIFIED                  = 0x20
-       RTF_MULTIRT                   = 0x10000
-       RTF_PRIVATE                   = 0x2000
-       RTF_PROTO1                    = 0x8000
-       RTF_PROTO2                    = 0x4000
-       RTF_REJECT                    = 0x8
-       RTF_SETSRC                    = 0x20000
-       RTF_STATIC                    = 0x800
-       RTF_UP                        = 0x1
-       RTF_XRESOLVE                  = 0x200
-       RTF_ZONE                      = 0x100000
-       RTM_ADD                       = 0x1
-       RTM_CHANGE                    = 0x3
-       RTM_CHGADDR                   = 0xf
-       RTM_DELADDR                   = 0xd
-       RTM_DELETE                    = 0x2
-       RTM_FREEADDR                  = 0x10
-       RTM_GET                       = 0x4
-       RTM_IFINFO                    = 0xe
-       RTM_LOCK                      = 0x8
-       RTM_LOSING                    = 0x5
-       RTM_MISS                      = 0x7
-       RTM_NEWADDR                   = 0xc
-       RTM_OLDADD                    = 0x9
-       RTM_OLDDEL                    = 0xa
-       RTM_REDIRECT                  = 0x6
-       RTM_RESOLVE                   = 0xb
-       RTM_VERSION                   = 0x3
-       RTV_EXPIRE                    = 0x4
-       RTV_HOPCOUNT                  = 0x2
-       RTV_MTU                       = 0x1
-       RTV_RPIPE                     = 0x8
-       RTV_RTT                       = 0x40
-       RTV_RTTVAR                    = 0x80
-       RTV_SPIPE                     = 0x10
-       RTV_SSTHRESH                  = 0x20
-       RT_AWARE                      = 0x1
-       RUSAGE_CHILDREN               = -0x1
-       RUSAGE_SELF                   = 0x0
-       SCM_RIGHTS                    = 0x1010
-       SCM_TIMESTAMP                 = 0x1013
-       SCM_UCRED                     = 0x1012
-       SHUT_RD                       = 0x0
-       SHUT_RDWR                     = 0x2
-       SHUT_WR                       = 0x1
-       SIG2STR_MAX                   = 0x20
-       SIOCADDMULTI                  = -0x7fdf96cf
-       SIOCADDRT                     = -0x7fcf8df6
-       SIOCATMARK                    = 0x40047307
-       SIOCDARP                      = -0x7fdb96e0
-       SIOCDELMULTI                  = -0x7fdf96ce
-       SIOCDELRT                     = -0x7fcf8df5
-       SIOCDXARP                     = -0x7fff9658
-       SIOCGARP                      = -0x3fdb96e1
-       SIOCGDSTINFO                  = -0x3fff965c
-       SIOCGENADDR                   = -0x3fdf96ab
-       SIOCGENPSTATS                 = -0x3fdf96c7
-       SIOCGETLSGCNT                 = -0x3fef8deb
-       SIOCGETNAME                   = 0x40107334
-       SIOCGETPEER                   = 0x40107335
-       SIOCGETPROP                   = -0x3fff8f44
-       SIOCGETSGCNT                  = -0x3feb8deb
-       SIOCGETSYNC                   = -0x3fdf96d3
-       SIOCGETVIFCNT                 = -0x3feb8dec
-       SIOCGHIWAT                    = 0x40047301
-       SIOCGIFADDR                   = -0x3fdf96f3
-       SIOCGIFBRDADDR                = -0x3fdf96e9
-       SIOCGIFCONF                   = -0x3ff796a4
-       SIOCGIFDSTADDR                = -0x3fdf96f1
-       SIOCGIFFLAGS                  = -0x3fdf96ef
-       SIOCGIFHWADDR                 = -0x3fdf9647
-       SIOCGIFINDEX                  = -0x3fdf96a6
-       SIOCGIFMEM                    = -0x3fdf96ed
-       SIOCGIFMETRIC                 = -0x3fdf96e5
-       SIOCGIFMTU                    = -0x3fdf96ea
-       SIOCGIFMUXID                  = -0x3fdf96a8
-       SIOCGIFNETMASK                = -0x3fdf96e7
-       SIOCGIFNUM                    = 0x40046957
-       SIOCGIP6ADDRPOLICY            = -0x3fff965e
-       SIOCGIPMSFILTER               = -0x3ffb964c
-       SIOCGLIFADDR                  = -0x3f87968f
-       SIOCGLIFBINDING               = -0x3f879666
-       SIOCGLIFBRDADDR               = -0x3f879685
-       SIOCGLIFCONF                  = -0x3fef965b
-       SIOCGLIFDADSTATE              = -0x3f879642
-       SIOCGLIFDSTADDR               = -0x3f87968d
-       SIOCGLIFFLAGS                 = -0x3f87968b
-       SIOCGLIFGROUPINFO             = -0x3f4b9663
-       SIOCGLIFGROUPNAME             = -0x3f879664
-       SIOCGLIFHWADDR                = -0x3f879640
-       SIOCGLIFINDEX                 = -0x3f87967b
-       SIOCGLIFLNKINFO               = -0x3f879674
-       SIOCGLIFMETRIC                = -0x3f879681
-       SIOCGLIFMTU                   = -0x3f879686
-       SIOCGLIFMUXID                 = -0x3f87967d
-       SIOCGLIFNETMASK               = -0x3f879683
-       SIOCGLIFNUM                   = -0x3ff3967e
-       SIOCGLIFSRCOF                 = -0x3fef964f
-       SIOCGLIFSUBNET                = -0x3f879676
-       SIOCGLIFTOKEN                 = -0x3f879678
-       SIOCGLIFUSESRC                = -0x3f879651
-       SIOCGLIFZONE                  = -0x3f879656
-       SIOCGLOWAT                    = 0x40047303
-       SIOCGMSFILTER                 = -0x3ffb964e
-       SIOCGPGRP                     = 0x40047309
-       SIOCGSTAMP                    = -0x3fef9646
-       SIOCGXARP                     = -0x3fff9659
-       SIOCIFDETACH                  = -0x7fdf96c8
-       SIOCILB                       = -0x3ffb9645
-       SIOCLIFADDIF                  = -0x3f879691
-       SIOCLIFDELND                  = -0x7f879673
-       SIOCLIFGETND                  = -0x3f879672
-       SIOCLIFREMOVEIF               = -0x7f879692
-       SIOCLIFSETND                  = -0x7f879671
-       SIOCLOWER                     = -0x7fdf96d7
-       SIOCSARP                      = -0x7fdb96e2
-       SIOCSCTPGOPT                  = -0x3fef9653
-       SIOCSCTPPEELOFF               = -0x3ffb9652
-       SIOCSCTPSOPT                  = -0x7fef9654
-       SIOCSENABLESDP                = -0x3ffb9649
-       SIOCSETPROP                   = -0x7ffb8f43
-       SIOCSETSYNC                   = -0x7fdf96d4
-       SIOCSHIWAT                    = -0x7ffb8d00
-       SIOCSIFADDR                   = -0x7fdf96f4
-       SIOCSIFBRDADDR                = -0x7fdf96e8
-       SIOCSIFDSTADDR                = -0x7fdf96f2
-       SIOCSIFFLAGS                  = -0x7fdf96f0
-       SIOCSIFINDEX                  = -0x7fdf96a5
-       SIOCSIFMEM                    = -0x7fdf96ee
-       SIOCSIFMETRIC                 = -0x7fdf96e4
-       SIOCSIFMTU                    = -0x7fdf96eb
-       SIOCSIFMUXID                  = -0x7fdf96a7
-       SIOCSIFNAME                   = -0x7fdf96b7
-       SIOCSIFNETMASK                = -0x7fdf96e6
-       SIOCSIP6ADDRPOLICY            = -0x7fff965d
-       SIOCSIPMSFILTER               = -0x7ffb964b
-       SIOCSLGETREQ                  = -0x3fdf96b9
-       SIOCSLIFADDR                  = -0x7f879690
-       SIOCSLIFBRDADDR               = -0x7f879684
-       SIOCSLIFDSTADDR               = -0x7f87968e
-       SIOCSLIFFLAGS                 = -0x7f87968c
-       SIOCSLIFGROUPNAME             = -0x7f879665
-       SIOCSLIFINDEX                 = -0x7f87967a
-       SIOCSLIFLNKINFO               = -0x7f879675
-       SIOCSLIFMETRIC                = -0x7f879680
-       SIOCSLIFMTU                   = -0x7f879687
-       SIOCSLIFMUXID                 = -0x7f87967c
-       SIOCSLIFNAME                  = -0x3f87967f
-       SIOCSLIFNETMASK               = -0x7f879682
-       SIOCSLIFPREFIX                = -0x3f879641
-       SIOCSLIFSUBNET                = -0x7f879677
-       SIOCSLIFTOKEN                 = -0x7f879679
-       SIOCSLIFUSESRC                = -0x7f879650
-       SIOCSLIFZONE                  = -0x7f879655
-       SIOCSLOWAT                    = -0x7ffb8cfe
-       SIOCSLSTAT                    = -0x7fdf96b8
-       SIOCSMSFILTER                 = -0x7ffb964d
-       SIOCSPGRP                     = -0x7ffb8cf8
-       SIOCSPROMISC                  = -0x7ffb96d0
-       SIOCSQPTR                     = -0x3ffb9648
-       SIOCSSDSTATS                  = -0x3fdf96d2
-       SIOCSSESTATS                  = -0x3fdf96d1
-       SIOCSXARP                     = -0x7fff965a
-       SIOCTMYADDR                   = -0x3ff79670
-       SIOCTMYSITE                   = -0x3ff7966e
-       SIOCTONLINK                   = -0x3ff7966f
-       SIOCUPPER                     = -0x7fdf96d8
-       SIOCX25RCV                    = -0x3fdf96c4
-       SIOCX25TBL                    = -0x3fdf96c3
-       SIOCX25XMT                    = -0x3fdf96c5
-       SIOCXPROTO                    = 0x20007337
-       SOCK_CLOEXEC                  = 0x80000
-       SOCK_DGRAM                    = 0x1
-       SOCK_NDELAY                   = 0x200000
-       SOCK_NONBLOCK                 = 0x100000
-       SOCK_RAW                      = 0x4
-       SOCK_RDM                      = 0x5
-       SOCK_SEQPACKET                = 0x6
-       SOCK_STREAM                   = 0x2
-       SOCK_TYPE_MASK                = 0xffff
-       SOL_FILTER                    = 0xfffc
-       SOL_PACKET                    = 0xfffd
-       SOL_ROUTE                     = 0xfffe
-       SOL_SOCKET                    = 0xffff
-       SOMAXCONN                     = 0x80
-       SO_ACCEPTCONN                 = 0x2
-       SO_ALL                        = 0x3f
-       SO_ALLZONES                   = 0x1014
-       SO_ANON_MLP                   = 0x100a
-       SO_ATTACH_FILTER              = 0x40000001
-       SO_BAND                       = 0x4000
-       SO_BROADCAST                  = 0x20
-       SO_COPYOPT                    = 0x80000
-       SO_DEBUG                      = 0x1
-       SO_DELIM                      = 0x8000
-       SO_DETACH_FILTER              = 0x40000002
-       SO_DGRAM_ERRIND               = 0x200
-       SO_DOMAIN                     = 0x100c
-       SO_DONTLINGER                 = -0x81
-       SO_DONTROUTE                  = 0x10
-       SO_ERROPT                     = 0x40000
-       SO_ERROR                      = 0x1007
-       SO_EXCLBIND                   = 0x1015
-       SO_HIWAT                      = 0x10
-       SO_ISNTTY                     = 0x800
-       SO_ISTTY                      = 0x400
-       SO_KEEPALIVE                  = 0x8
-       SO_LINGER                     = 0x80
-       SO_LOWAT                      = 0x20
-       SO_MAC_EXEMPT                 = 0x100b
-       SO_MAC_IMPLICIT               = 0x1016
-       SO_MAXBLK                     = 0x100000
-       SO_MAXPSZ                     = 0x8
-       SO_MINPSZ                     = 0x4
-       SO_MREADOFF                   = 0x80
-       SO_MREADON                    = 0x40
-       SO_NDELOFF                    = 0x200
-       SO_NDELON                     = 0x100
-       SO_NODELIM                    = 0x10000
-       SO_OOBINLINE                  = 0x100
-       SO_PROTOTYPE                  = 0x1009
-       SO_RCVBUF                     = 0x1002
-       SO_RCVLOWAT                   = 0x1004
-       SO_RCVPSH                     = 0x100d
-       SO_RCVTIMEO                   = 0x1006
-       SO_READOPT                    = 0x1
-       SO_RECVUCRED                  = 0x400
-       SO_REUSEADDR                  = 0x4
-       SO_SECATTR                    = 0x1011
-       SO_SNDBUF                     = 0x1001
-       SO_SNDLOWAT                   = 0x1003
-       SO_SNDTIMEO                   = 0x1005
-       SO_STRHOLD                    = 0x20000
-       SO_TAIL                       = 0x200000
-       SO_TIMESTAMP                  = 0x1013
-       SO_TONSTOP                    = 0x2000
-       SO_TOSTOP                     = 0x1000
-       SO_TYPE                       = 0x1008
-       SO_USELOOPBACK                = 0x40
-       SO_VRRP                       = 0x1017
-       SO_WROFF                      = 0x2
-       TCFLSH                        = 0x5407
-       TCGETA                        = 0x5401
-       TCGETS                        = 0x540d
-       TCIFLUSH                      = 0x0
-       TCIOFLUSH                     = 0x2
-       TCOFLUSH                      = 0x1
-       TCP_ABORT_THRESHOLD           = 0x11
-       TCP_ANONPRIVBIND              = 0x20
-       TCP_CONN_ABORT_THRESHOLD      = 0x13
-       TCP_CONN_NOTIFY_THRESHOLD     = 0x12
-       TCP_CORK                      = 0x18
-       TCP_EXCLBIND                  = 0x21
-       TCP_INIT_CWND                 = 0x15
-       TCP_KEEPALIVE                 = 0x8
-       TCP_KEEPALIVE_ABORT_THRESHOLD = 0x17
-       TCP_KEEPALIVE_THRESHOLD       = 0x16
-       TCP_KEEPCNT                   = 0x23
-       TCP_KEEPIDLE                  = 0x22
-       TCP_KEEPINTVL                 = 0x24
-       TCP_LINGER2                   = 0x1c
-       TCP_MAXSEG                    = 0x2
-       TCP_MSS                       = 0x218
-       TCP_NODELAY                   = 0x1
-       TCP_NOTIFY_THRESHOLD          = 0x10
-       TCP_RECVDSTADDR               = 0x14
-       TCP_RTO_INITIAL               = 0x19
-       TCP_RTO_MAX                   = 0x1b
-       TCP_RTO_MIN                   = 0x1a
-       TCSAFLUSH                     = 0x5410
-       TCSBRK                        = 0x5405
-       TCSETA                        = 0x5402
-       TCSETAF                       = 0x5404
-       TCSETAW                       = 0x5403
-       TCSETS                        = 0x540e
-       TCSETSF                       = 0x5410
-       TCSETSW                       = 0x540f
-       TCXONC                        = 0x5406
-       TIOC                          = 0x5400
-       TIOCCBRK                      = 0x747a
-       TIOCCDTR                      = 0x7478
-       TIOCCILOOP                    = 0x746c
-       TIOCEXCL                      = 0x740d
-       TIOCFLUSH                     = 0x7410
-       TIOCGETC                      = 0x7412
-       TIOCGETD                      = 0x7400
-       TIOCGETP                      = 0x7408
-       TIOCGLTC                      = 0x7474
-       TIOCGPGRP                     = 0x7414
-       TIOCGPPS                      = 0x547d
-       TIOCGPPSEV                    = 0x547f
-       TIOCGSID                      = 0x7416
-       TIOCGSOFTCAR                  = 0x5469
-       TIOCGWINSZ                    = 0x5468
-       TIOCHPCL                      = 0x7402
-       TIOCKBOF                      = 0x5409
-       TIOCKBON                      = 0x5408
-       TIOCLBIC                      = 0x747e
-       TIOCLBIS                      = 0x747f
-       TIOCLGET                      = 0x747c
-       TIOCLSET                      = 0x747d
-       TIOCMBIC                      = 0x741c
-       TIOCMBIS                      = 0x741b
-       TIOCMGET                      = 0x741d
-       TIOCMSET                      = 0x741a
-       TIOCM_CAR                     = 0x40
-       TIOCM_CD                      = 0x40
-       TIOCM_CTS                     = 0x20
-       TIOCM_DSR                     = 0x100
-       TIOCM_DTR                     = 0x2
-       TIOCM_LE                      = 0x1
-       TIOCM_RI                      = 0x80
-       TIOCM_RNG                     = 0x80
-       TIOCM_RTS                     = 0x4
-       TIOCM_SR                      = 0x10
-       TIOCM_ST                      = 0x8
-       TIOCNOTTY                     = 0x7471
-       TIOCNXCL                      = 0x740e
-       TIOCOUTQ                      = 0x7473
-       TIOCREMOTE                    = 0x741e
-       TIOCSBRK                      = 0x747b
-       TIOCSCTTY                     = 0x7484
-       TIOCSDTR                      = 0x7479
-       TIOCSETC                      = 0x7411
-       TIOCSETD                      = 0x7401
-       TIOCSETN                      = 0x740a
-       TIOCSETP                      = 0x7409
-       TIOCSIGNAL                    = 0x741f
-       TIOCSILOOP                    = 0x746d
-       TIOCSLTC                      = 0x7475
-       TIOCSPGRP                     = 0x7415
-       TIOCSPPS                      = 0x547e
-       TIOCSSOFTCAR                  = 0x546a
-       TIOCSTART                     = 0x746e
-       TIOCSTI                       = 0x7417
-       TIOCSTOP                      = 0x746f
-       TIOCSWINSZ                    = 0x5467
-       TOSTOP                        = 0x100
-       VCEOF                         = 0x8
-       VCEOL                         = 0x9
-       VDISCARD                      = 0xd
-       VDSUSP                        = 0xb
-       VEOF                          = 0x4
-       VEOL                          = 0x5
-       VEOL2                         = 0x6
-       VERASE                        = 0x2
-       VINTR                         = 0x0
-       VKILL                         = 0x3
-       VLNEXT                        = 0xf
-       VMIN                          = 0x4
-       VQUIT                         = 0x1
-       VREPRINT                      = 0xc
-       VSTART                        = 0x8
-       VSTATUS                       = 0x10
-       VSTOP                         = 0x9
-       VSUSP                         = 0xa
-       VSWTCH                        = 0x7
-       VT0                           = 0x0
-       VT1                           = 0x4000
-       VTDLY                         = 0x4000
-       VTIME                         = 0x5
-       VWERASE                       = 0xe
-       WCONTFLG                      = 0xffff
-       WCONTINUED                    = 0x8
-       WCOREFLG                      = 0x80
-       WEXITED                       = 0x1
-       WNOHANG                       = 0x40
-       WNOWAIT                       = 0x80
-       WOPTMASK                      = 0xcf
-       WRAP                          = 0x20000
-       WSIGMASK                      = 0x7f
-       WSTOPFLG                      = 0x7f
-       WSTOPPED                      = 0x4
-       WTRAPPED                      = 0x2
-       WUNTRACED                     = 0x4
-)
-
-// Errors
-const (
-       E2BIG           = syscall.Errno(0x7)
-       EACCES          = syscall.Errno(0xd)
-       EADDRINUSE      = syscall.Errno(0x7d)
-       EADDRNOTAVAIL   = syscall.Errno(0x7e)
-       EADV            = syscall.Errno(0x44)
-       EAFNOSUPPORT    = syscall.Errno(0x7c)
-       EAGAIN          = syscall.Errno(0xb)
-       EALREADY        = syscall.Errno(0x95)
-       EBADE           = syscall.Errno(0x32)
-       EBADF           = syscall.Errno(0x9)
-       EBADFD          = syscall.Errno(0x51)
-       EBADMSG         = syscall.Errno(0x4d)
-       EBADR           = syscall.Errno(0x33)
-       EBADRQC         = syscall.Errno(0x36)
-       EBADSLT         = syscall.Errno(0x37)
-       EBFONT          = syscall.Errno(0x39)
-       EBUSY           = syscall.Errno(0x10)
-       ECANCELED       = syscall.Errno(0x2f)
-       ECHILD          = syscall.Errno(0xa)
-       ECHRNG          = syscall.Errno(0x25)
-       ECOMM           = syscall.Errno(0x46)
-       ECONNABORTED    = syscall.Errno(0x82)
-       ECONNREFUSED    = syscall.Errno(0x92)
-       ECONNRESET      = syscall.Errno(0x83)
-       EDEADLK         = syscall.Errno(0x2d)
-       EDEADLOCK       = syscall.Errno(0x38)
-       EDESTADDRREQ    = syscall.Errno(0x60)
-       EDOM            = syscall.Errno(0x21)
-       EDQUOT          = syscall.Errno(0x31)
-       EEXIST          = syscall.Errno(0x11)
-       EFAULT          = syscall.Errno(0xe)
-       EFBIG           = syscall.Errno(0x1b)
-       EHOSTDOWN       = syscall.Errno(0x93)
-       EHOSTUNREACH    = syscall.Errno(0x94)
-       EIDRM           = syscall.Errno(0x24)
-       EILSEQ          = syscall.Errno(0x58)
-       EINPROGRESS     = syscall.Errno(0x96)
-       EINTR           = syscall.Errno(0x4)
-       EINVAL          = syscall.Errno(0x16)
-       EIO             = syscall.Errno(0x5)
-       EISCONN         = syscall.Errno(0x85)
-       EISDIR          = syscall.Errno(0x15)
-       EL2HLT          = syscall.Errno(0x2c)
-       EL2NSYNC        = syscall.Errno(0x26)
-       EL3HLT          = syscall.Errno(0x27)
-       EL3RST          = syscall.Errno(0x28)
-       ELIBACC         = syscall.Errno(0x53)
-       ELIBBAD         = syscall.Errno(0x54)
-       ELIBEXEC        = syscall.Errno(0x57)
-       ELIBMAX         = syscall.Errno(0x56)
-       ELIBSCN         = syscall.Errno(0x55)
-       ELNRNG          = syscall.Errno(0x29)
-       ELOCKUNMAPPED   = syscall.Errno(0x48)
-       ELOOP           = syscall.Errno(0x5a)
-       EMFILE          = syscall.Errno(0x18)
-       EMLINK          = syscall.Errno(0x1f)
-       EMSGSIZE        = syscall.Errno(0x61)
-       EMULTIHOP       = syscall.Errno(0x4a)
-       ENAMETOOLONG    = syscall.Errno(0x4e)
-       ENETDOWN        = syscall.Errno(0x7f)
-       ENETRESET       = syscall.Errno(0x81)
-       ENETUNREACH     = syscall.Errno(0x80)
-       ENFILE          = syscall.Errno(0x17)
-       ENOANO          = syscall.Errno(0x35)
-       ENOBUFS         = syscall.Errno(0x84)
-       ENOCSI          = syscall.Errno(0x2b)
-       ENODATA         = syscall.Errno(0x3d)
-       ENODEV          = syscall.Errno(0x13)
-       ENOENT          = syscall.Errno(0x2)
-       ENOEXEC         = syscall.Errno(0x8)
-       ENOLCK          = syscall.Errno(0x2e)
-       ENOLINK         = syscall.Errno(0x43)
-       ENOMEM          = syscall.Errno(0xc)
-       ENOMSG          = syscall.Errno(0x23)
-       ENONET          = syscall.Errno(0x40)
-       ENOPKG          = syscall.Errno(0x41)
-       ENOPROTOOPT     = syscall.Errno(0x63)
-       ENOSPC          = syscall.Errno(0x1c)
-       ENOSR           = syscall.Errno(0x3f)
-       ENOSTR          = syscall.Errno(0x3c)
-       ENOSYS          = syscall.Errno(0x59)
-       ENOTACTIVE      = syscall.Errno(0x49)
-       ENOTBLK         = syscall.Errno(0xf)
-       ENOTCONN        = syscall.Errno(0x86)
-       ENOTDIR         = syscall.Errno(0x14)
-       ENOTEMPTY       = syscall.Errno(0x5d)
-       ENOTRECOVERABLE = syscall.Errno(0x3b)
-       ENOTSOCK        = syscall.Errno(0x5f)
-       ENOTSUP         = syscall.Errno(0x30)
-       ENOTTY          = syscall.Errno(0x19)
-       ENOTUNIQ        = syscall.Errno(0x50)
-       ENXIO           = syscall.Errno(0x6)
-       EOPNOTSUPP      = syscall.Errno(0x7a)
-       EOVERFLOW       = syscall.Errno(0x4f)
-       EOWNERDEAD      = syscall.Errno(0x3a)
-       EPERM           = syscall.Errno(0x1)
-       EPFNOSUPPORT    = syscall.Errno(0x7b)
-       EPIPE           = syscall.Errno(0x20)
-       EPROTO          = syscall.Errno(0x47)
-       EPROTONOSUPPORT = syscall.Errno(0x78)
-       EPROTOTYPE      = syscall.Errno(0x62)
-       ERANGE          = syscall.Errno(0x22)
-       EREMCHG         = syscall.Errno(0x52)
-       EREMOTE         = syscall.Errno(0x42)
-       ERESTART        = syscall.Errno(0x5b)
-       EROFS           = syscall.Errno(0x1e)
-       ESHUTDOWN       = syscall.Errno(0x8f)
-       ESOCKTNOSUPPORT = syscall.Errno(0x79)
-       ESPIPE          = syscall.Errno(0x1d)
-       ESRCH           = syscall.Errno(0x3)
-       ESRMNT          = syscall.Errno(0x45)
-       ESTALE          = syscall.Errno(0x97)
-       ESTRPIPE        = syscall.Errno(0x5c)
-       ETIME           = syscall.Errno(0x3e)
-       ETIMEDOUT       = syscall.Errno(0x91)
-       ETOOMANYREFS    = syscall.Errno(0x90)
-       ETXTBSY         = syscall.Errno(0x1a)
-       EUNATCH         = syscall.Errno(0x2a)
-       EUSERS          = syscall.Errno(0x5e)
-       EWOULDBLOCK     = syscall.Errno(0xb)
-       EXDEV           = syscall.Errno(0x12)
-       EXFULL          = syscall.Errno(0x34)
-)
-
-// Signals
-const (
-       SIGABRT    = syscall.Signal(0x6)
-       SIGALRM    = syscall.Signal(0xe)
-       SIGBUS     = syscall.Signal(0xa)
-       SIGCANCEL  = syscall.Signal(0x24)
-       SIGCHLD    = syscall.Signal(0x12)
-       SIGCLD     = syscall.Signal(0x12)
-       SIGCONT    = syscall.Signal(0x19)
-       SIGEMT     = syscall.Signal(0x7)
-       SIGFPE     = syscall.Signal(0x8)
-       SIGFREEZE  = syscall.Signal(0x22)
-       SIGHUP     = syscall.Signal(0x1)
-       SIGILL     = syscall.Signal(0x4)
-       SIGINFO    = syscall.Signal(0x29)
-       SIGINT     = syscall.Signal(0x2)
-       SIGIO      = syscall.Signal(0x16)
-       SIGIOT     = syscall.Signal(0x6)
-       SIGJVM1    = syscall.Signal(0x27)
-       SIGJVM2    = syscall.Signal(0x28)
-       SIGKILL    = syscall.Signal(0x9)
-       SIGLOST    = syscall.Signal(0x25)
-       SIGLWP     = syscall.Signal(0x21)
-       SIGPIPE    = syscall.Signal(0xd)
-       SIGPOLL    = syscall.Signal(0x16)
-       SIGPROF    = syscall.Signal(0x1d)
-       SIGPWR     = syscall.Signal(0x13)
-       SIGQUIT    = syscall.Signal(0x3)
-       SIGSEGV    = syscall.Signal(0xb)
-       SIGSTOP    = syscall.Signal(0x17)
-       SIGSYS     = syscall.Signal(0xc)
-       SIGTERM    = syscall.Signal(0xf)
-       SIGTHAW    = syscall.Signal(0x23)
-       SIGTRAP    = syscall.Signal(0x5)
-       SIGTSTP    = syscall.Signal(0x18)
-       SIGTTIN    = syscall.Signal(0x1a)
-       SIGTTOU    = syscall.Signal(0x1b)
-       SIGURG     = syscall.Signal(0x15)
-       SIGUSR1    = syscall.Signal(0x10)
-       SIGUSR2    = syscall.Signal(0x11)
-       SIGVTALRM  = syscall.Signal(0x1c)
-       SIGWAITING = syscall.Signal(0x20)
-       SIGWINCH   = syscall.Signal(0x14)
-       SIGXCPU    = syscall.Signal(0x1e)
-       SIGXFSZ    = syscall.Signal(0x1f)
-       SIGXRES    = syscall.Signal(0x26)
-)
-
-// Error table
-var errors = [...]string{
-       1:   "not owner",
-       2:   "no such file or directory",
-       3:   "no such process",
-       4:   "interrupted system call",
-       5:   "I/O error",
-       6:   "no such device or address",
-       7:   "arg list too long",
-       8:   "exec format error",
-       9:   "bad file number",
-       10:  "no child processes",
-       11:  "resource temporarily unavailable",
-       12:  "not enough space",
-       13:  "permission denied",
-       14:  "bad address",
-       15:  "block device required",
-       16:  "device busy",
-       17:  "file exists",
-       18:  "cross-device link",
-       19:  "no such device",
-       20:  "not a directory",
-       21:  "is a directory",
-       22:  "invalid argument",
-       23:  "file table overflow",
-       24:  "too many open files",
-       25:  "inappropriate ioctl for device",
-       26:  "text file busy",
-       27:  "file too large",
-       28:  "no space left on device",
-       29:  "illegal seek",
-       30:  "read-only file system",
-       31:  "too many links",
-       32:  "broken pipe",
-       33:  "argument out of domain",
-       34:  "result too large",
-       35:  "no message of desired type",
-       36:  "identifier removed",
-       37:  "channel number out of range",
-       38:  "level 2 not synchronized",
-       39:  "level 3 halted",
-       40:  "level 3 reset",
-       41:  "link number out of range",
-       42:  "protocol driver not attached",
-       43:  "no CSI structure available",
-       44:  "level 2 halted",
-       45:  "deadlock situation detected/avoided",
-       46:  "no record locks available",
-       47:  "operation canceled",
-       48:  "operation not supported",
-       49:  "disc quota exceeded",
-       50:  "bad exchange descriptor",
-       51:  "bad request descriptor",
-       52:  "message tables full",
-       53:  "anode table overflow",
-       54:  "bad request code",
-       55:  "invalid slot",
-       56:  "file locking deadlock",
-       57:  "bad font file format",
-       58:  "owner of the lock died",
-       59:  "lock is not recoverable",
-       60:  "not a stream device",
-       61:  "no data available",
-       62:  "timer expired",
-       63:  "out of stream resources",
-       64:  "machine is not on the network",
-       65:  "package not installed",
-       66:  "object is remote",
-       67:  "link has been severed",
-       68:  "advertise error",
-       69:  "srmount error",
-       70:  "communication error on send",
-       71:  "protocol error",
-       72:  "locked lock was unmapped ",
-       73:  "facility is not active",
-       74:  "multihop attempted",
-       77:  "not a data message",
-       78:  "file name too long",
-       79:  "value too large for defined data type",
-       80:  "name not unique on network",
-       81:  "file descriptor in bad state",
-       82:  "remote address changed",
-       83:  "can not access a needed shared library",
-       84:  "accessing a corrupted shared library",
-       85:  ".lib section in a.out corrupted",
-       86:  "attempting to link in more shared libraries than system limit",
-       87:  "can not exec a shared library directly",
-       88:  "illegal byte sequence",
-       89:  "operation not applicable",
-       90:  "number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS",
-       91:  "error 91",
-       92:  "error 92",
-       93:  "directory not empty",
-       94:  "too many users",
-       95:  "socket operation on non-socket",
-       96:  "destination address required",
-       97:  "message too long",
-       98:  "protocol wrong type for socket",
-       99:  "option not supported by protocol",
-       120: "protocol not supported",
-       121: "socket type not supported",
-       122: "operation not supported on transport endpoint",
-       123: "protocol family not supported",
-       124: "address family not supported by protocol family",
-       125: "address already in use",
-       126: "cannot assign requested address",
-       127: "network is down",
-       128: "network is unreachable",
-       129: "network dropped connection because of reset",
-       130: "software caused connection abort",
-       131: "connection reset by peer",
-       132: "no buffer space available",
-       133: "transport endpoint is already connected",
-       134: "transport endpoint is not connected",
-       143: "cannot send after socket shutdown",
-       144: "too many references: cannot splice",
-       145: "connection timed out",
-       146: "connection refused",
-       147: "host is down",
-       148: "no route to host",
-       149: "operation already in progress",
-       150: "operation now in progress",
-       151: "stale NFS file handle",
-}
-
-// Signal table
-var signals = [...]string{
-       1:  "hangup",
-       2:  "interrupt",
-       3:  "quit",
-       4:  "illegal Instruction",
-       5:  "trace/Breakpoint Trap",
-       6:  "abort",
-       7:  "emulation Trap",
-       8:  "arithmetic Exception",
-       9:  "killed",
-       10: "bus Error",
-       11: "segmentation Fault",
-       12: "bad System Call",
-       13: "broken Pipe",
-       14: "alarm Clock",
-       15: "terminated",
-       16: "user Signal 1",
-       17: "user Signal 2",
-       18: "child Status Changed",
-       19: "power-Fail/Restart",
-       20: "window Size Change",
-       21: "urgent Socket Condition",
-       22: "pollable Event",
-       23: "stopped (signal)",
-       24: "stopped (user)",
-       25: "continued",
-       26: "stopped (tty input)",
-       27: "stopped (tty output)",
-       28: "virtual Timer Expired",
-       29: "profiling Timer Expired",
-       30: "cpu Limit Exceeded",
-       31: "file Size Limit Exceeded",
-       32: "no runnable lwp",
-       33: "inter-lwp signal",
-       34: "checkpoint Freeze",
-       35: "checkpoint Thaw",
-       36: "thread Cancellation",
-       37: "resource Lost",
-       38: "resource Control Exceeded",
-       39: "reserved for JVM 1",
-       40: "reserved for JVM 2",
-       41: "information Request",
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go
deleted file mode 100644 (file)
index e48f4a5..0000000
+++ /dev/null
@@ -1,1394 +0,0 @@
-// mksyscall.pl -l32 -tags darwin,386 syscall_bsd.go syscall_darwin.go syscall_darwin_386.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build darwin,386
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe() (r int, w int, err error) {
-       r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-       r = int(r0)
-       w = int(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kill(pid int, signum int, posix int) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exchangedata(path1 string, path2 string, options int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path1)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(path2)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXCHANGEDATA, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, stat *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), uintptr(length>>32))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdtablesize() (size int) {
-       r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
-       size = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := RawSyscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(whence), 0, 0)
-       newoffset = int64(int64(r1)<<32 | int64(r0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setlogin(name string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(name)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setprivexec(flag int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIVEXEC, uintptr(flag), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, stat *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), uintptr(length>>32))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Undelete(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos), uintptr(pos>>32), 0, 0)
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
-       r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       sec = int32(r0)
-       usec = int32(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
deleted file mode 100644 (file)
index 672ada0..0000000
+++ /dev/null
@@ -1,1409 +0,0 @@
-// mksyscall.pl -tags darwin,amd64 syscall_bsd.go syscall_darwin.go syscall_darwin_amd64.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build darwin,amd64
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe() (r int, w int, err error) {
-       r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-       r = int(r0)
-       w = int(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kill(pid int, signum int, posix int) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exchangedata(path1 string, path2 string, options int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path1)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(path2)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXCHANGEDATA, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, stat *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdtablesize() (size int) {
-       r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
-       size = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := RawSyscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
-       newoffset = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setlogin(name string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(name)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setprivexec(flag int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIVEXEC, uintptr(flag), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, stat *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Undelete(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func gettimeofday(tp *Timeval) (sec int64, usec int32, err error) {
-       r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       sec = int64(r0)
-       usec = int32(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go
deleted file mode 100644 (file)
index d516409..0000000
+++ /dev/null
@@ -1,1394 +0,0 @@
-// mksyscall.pl -l32 -tags darwin,arm syscall_bsd.go syscall_darwin.go syscall_darwin_arm.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build darwin,arm
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe() (r int, w int, err error) {
-       r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-       r = int(r0)
-       w = int(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kill(pid int, signum int, posix int) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exchangedata(path1 string, path2 string, options int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path1)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(path2)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXCHANGEDATA, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, stat *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), uintptr(length>>32))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdtablesize() (size int) {
-       r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
-       size = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := RawSyscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(whence), 0, 0)
-       newoffset = int64(int64(r1)<<32 | int64(r0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setlogin(name string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(name)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setprivexec(flag int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIVEXEC, uintptr(flag), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, stat *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), uintptr(length>>32))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Undelete(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos), uintptr(pos>>32), 0, 0)
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
-       r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       sec = int32(r0)
-       usec = int32(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
deleted file mode 100644 (file)
index e97759c..0000000
+++ /dev/null
@@ -1,1394 +0,0 @@
-// mksyscall.pl -tags darwin,arm64 syscall_bsd.go syscall_darwin.go syscall_darwin_arm64.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build darwin,arm64
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe() (r int, w int, err error) {
-       r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-       r = int(r0)
-       w = int(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kill(pid int, signum int, posix int) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exchangedata(path1 string, path2 string, options int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path1)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(path2)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXCHANGEDATA, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, stat *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdtablesize() (size int) {
-       r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
-       size = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := RawSyscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
-       newoffset = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setlogin(name string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(name)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setprivexec(flag int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIVEXEC, uintptr(flag), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, stat *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Undelete(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func gettimeofday(tp *Timeval) (sec int64, usec int32, err error) {
-       r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       sec = int64(r0)
-       usec = int32(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go
deleted file mode 100644 (file)
index eafceb8..0000000
+++ /dev/null
@@ -1,1393 +0,0 @@
-// mksyscall.pl -dragonfly -tags dragonfly,amd64 syscall_bsd.go syscall_dragonfly.go syscall_dragonfly_amd64.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build dragonfly,amd64
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe() (r int, w int, err error) {
-       r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-       r = int(r0)
-       w = int(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func extpread(fd int, p []byte, flags int, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EXTPREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(offset), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func extpwrite(fd int, p []byte, flags int, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EXTPWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(offset), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, stat *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETDIRENTRIES, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdtablesize() (size int) {
-       r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
-       size = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, signum syscall.Signal) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, _, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(whence), 0, 0)
-       newoffset = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setlogin(name string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(name)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, stat *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Undelete(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), 0, 0)
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go
deleted file mode 100644 (file)
index f53801c..0000000
+++ /dev/null
@@ -1,1617 +0,0 @@
-// mksyscall.pl -l32 -tags freebsd,386 syscall_bsd.go syscall_freebsd.go syscall_freebsd_386.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build freebsd,386
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe() (r int, w int, err error) {
-       r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-       r = int(r0)
-       w = int(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrGetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrSetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrDeleteFd(fd int, attrnamespace int, attrname string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrListFd(fd int, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
-       r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FD, uintptr(fd), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrGetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrSetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrDeleteFile(file string, attrnamespace int, attrname string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrListFile(file string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrGetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_GET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrSetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_SET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrDeleteLink(link string, attrnamespace int, attrname string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXTATTR_DELETE_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrListLink(link string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-       _, _, e1 := Syscall6(SYS_POSIX_FADVISE, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(length), uintptr(length>>32), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, stat *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), uintptr(length>>32))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETDIRENTRIES, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdtablesize() (size int) {
-       r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
-       size = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, signum syscall.Signal) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(whence), 0, 0)
-       newoffset = int64(int64(r1)<<32 | int64(r0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setlogin(name string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(name)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, stat *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), uintptr(length>>32))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Undelete(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos), uintptr(pos>>32), 0, 0)
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
deleted file mode 100644 (file)
index 55b0741..0000000
+++ /dev/null
@@ -1,1617 +0,0 @@
-// mksyscall.pl -tags freebsd,amd64 syscall_bsd.go syscall_freebsd.go syscall_freebsd_amd64.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build freebsd,amd64
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe() (r int, w int, err error) {
-       r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-       r = int(r0)
-       w = int(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrGetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrSetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrDeleteFd(fd int, attrnamespace int, attrname string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrListFd(fd int, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
-       r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FD, uintptr(fd), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrGetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrSetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrDeleteFile(file string, attrnamespace int, attrname string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrListFile(file string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrGetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_GET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrSetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_SET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrDeleteLink(link string, attrnamespace int, attrname string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXTATTR_DELETE_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrListLink(link string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-       _, _, e1 := Syscall6(SYS_POSIX_FADVISE, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, stat *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETDIRENTRIES, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdtablesize() (size int) {
-       r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
-       size = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, signum syscall.Signal) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
-       newoffset = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setlogin(name string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(name)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, stat *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Undelete(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go
deleted file mode 100644 (file)
index 0e9b42b..0000000
+++ /dev/null
@@ -1,1617 +0,0 @@
-// mksyscall.pl -l32 -arm -tags freebsd,arm syscall_bsd.go syscall_freebsd.go syscall_freebsd_arm.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build freebsd,arm
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe() (r int, w int, err error) {
-       r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-       r = int(r0)
-       w = int(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrGetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrSetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrDeleteFd(fd int, attrnamespace int, attrname string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrListFd(fd int, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
-       r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FD, uintptr(fd), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrGetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrSetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrDeleteFile(file string, attrnamespace int, attrname string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrListFile(file string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(file)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrGetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_GET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrSetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_SET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrDeleteLink(link string, attrnamespace int, attrname string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attrname)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_EXTATTR_DELETE_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ExtattrListLink(link string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
-       ret = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-       _, _, e1 := Syscall9(SYS_POSIX_FADVISE, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(length), uintptr(length>>32), uintptr(advice), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, stat *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETDIRENTRIES, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdtablesize() (size int) {
-       r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
-       size = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, signum syscall.Signal) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(whence), 0)
-       newoffset = int64(int64(r1)<<32 | int64(r0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setlogin(name string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(name)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, stat *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Undelete(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), uintptr(pos>>32), 0)
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go
deleted file mode 100644 (file)
index 41693a9..0000000
+++ /dev/null
@@ -1,1649 +0,0 @@
-// mksyscall.pl -l32 -tags linux,386 syscall_linux.go syscall_linux_386.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build linux,386
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlinkat(dirfd int, path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, times *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getcwd(buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(arg)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(source)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       var _p2 *byte
-       _p2, err = BytePtrFromString(fstype)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Acct(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtimex(buf *Timex) (state int, err error) {
-       r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-       state = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ClockGettime(clockid int32, time *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(oldfd int) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup3(oldfd int, newfd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate(size int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate1(flag int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-       _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(off>>32), uintptr(len), uintptr(len>>32))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fdatasync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrandom(buf []byte, flags int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettid() (tid int) {
-       r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-       tid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(dest) > 0 {
-               _p2 = unsafe.Pointer(&dest[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(pathname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-       watchdesc = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit1(flags int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-       success = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Klogctl(typ int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listxattr(path string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(dest) > 0 {
-               _p1 = unsafe.Pointer(&dest[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func PivotRoot(newroot string, putold string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(newroot)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(putold)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
-       _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Removexattr(path string, attr string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setdomainname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sethostname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setns(fd int, nstype int) (err error) {
-       _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(data) > 0 {
-               _p2 = unsafe.Pointer(&data[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() {
-       Syscall(SYS_SYNC, 0, 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sysinfo(info *Sysinfo_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-       r0, r1, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-       n = int64(int64(r1)<<32 | int64(r0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Times(tms *Tms) (ticks uintptr, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-       ticks = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(mask int) (oldmask int) {
-       r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Uname(buf *Utsname) (err error) {
-       _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(target string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unshare(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ustat(dev int, ubuf *Ustat_t) (err error) {
-       _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func exitThread(code int) (err error) {
-       _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Madvise(b []byte, advice int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe(p *[2]_C_int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe2(p *[2]_C_int, flags int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(oldfd int, newfd int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-       _, _, e1 := Syscall6(SYS_FADVISE64_64, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(length), uintptr(length>>32), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN32, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE64, uintptr(fd), uintptr(length), uintptr(length>>32))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID32, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (euid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID32, 0, 0, 0)
-       euid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID32, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID32, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit() (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ioperm(from int, num int, on int) (err error) {
-       _, _, e1 := Syscall(SYS_IOPERM, uintptr(from), uintptr(num), uintptr(on))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Iopl(level int) (err error) {
-       _, _, e1 := Syscall(SYS_IOPL, uintptr(level), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN32, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       r0, _, e1 := Syscall6(SYS_SENDFILE64, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
-       written = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsgid(gid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSGID32, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsuid(uid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSUID32, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID32, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID32, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID32, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID32, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
-       _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(off>>32), uintptr(n), uintptr(n>>32), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE64, uintptr(unsafe.Pointer(_p0)), uintptr(length), uintptr(length>>32))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(n int, list *_Gid_t) (nn int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS32, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       nn = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(n int, list *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS32, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS__NEWSELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset uintptr) (xaddr uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP2, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(pageOffset))
-       xaddr = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(events) > 0 {
-               _p0 = unsafe.Pointer(&events[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pause() (err error) {
-       _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getrlimit(resource int, rlim *rlimit32) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setrlimit(resource int, rlim *rlimit32) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Time(t *Time_t) (tt Time_t, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIME, uintptr(unsafe.Pointer(t)), 0, 0)
-       tt = Time_t(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Utime(path string, buf *Utimbuf) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go
deleted file mode 100644 (file)
index f10621d..0000000
+++ /dev/null
@@ -1,1842 +0,0 @@
-// mksyscall.pl -tags linux,amd64 syscall_linux.go syscall_linux_amd64.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build linux,amd64
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlinkat(dirfd int, path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, times *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getcwd(buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(arg)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(source)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       var _p2 *byte
-       _p2, err = BytePtrFromString(fstype)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Acct(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtimex(buf *Timex) (state int, err error) {
-       r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-       state = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ClockGettime(clockid int32, time *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(oldfd int) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup3(oldfd int, newfd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate(size int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate1(flag int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-       _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fdatasync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrandom(buf []byte, flags int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettid() (tid int) {
-       r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-       tid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(dest) > 0 {
-               _p2 = unsafe.Pointer(&dest[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(pathname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-       watchdesc = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit1(flags int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-       success = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Klogctl(typ int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listxattr(path string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(dest) > 0 {
-               _p1 = unsafe.Pointer(&dest[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func PivotRoot(newroot string, putold string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(newroot)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(putold)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
-       _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Removexattr(path string, attr string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setdomainname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sethostname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setns(fd int, nstype int) (err error) {
-       _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(data) > 0 {
-               _p2 = unsafe.Pointer(&data[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() {
-       Syscall(SYS_SYNC, 0, 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sysinfo(info *Sysinfo_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Times(tms *Tms) (ticks uintptr, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-       ticks = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(mask int) (oldmask int) {
-       r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Uname(buf *Utsname) (err error) {
-       _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(target string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unshare(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ustat(dev int, ubuf *Ustat_t) (err error) {
-       _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func exitThread(code int) (err error) {
-       _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Madvise(b []byte, advice int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(oldfd int, newfd int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(events) > 0 {
-               _p0 = unsafe.Pointer(&events[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-       _, _, e1 := Syscall6(SYS_FADVISE64, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, buf *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (euid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       euid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit() (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ioperm(from int, num int, on int) (err error) {
-       _, _, e1 := Syscall(SYS_IOPERM, uintptr(from), uintptr(num), uintptr(on))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Iopl(level int) (err error) {
-       _, _, e1 := Syscall(SYS_IOPL, uintptr(level), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, n int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pause() (err error) {
-       _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (off int64, err error) {
-       r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
-       off = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
-       written = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsgid(gid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsuid(uid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, buf *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
-       _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(n int, list *_Gid_t) (nn int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       nn = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(n int, list *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
-       xaddr = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Utime(path string, buf *Utimbuf) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe(p *[2]_C_int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe2(p *[2]_C_int, flags int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go
deleted file mode 100644 (file)
index fae666f..0000000
+++ /dev/null
@@ -1,1751 +0,0 @@
-// mksyscall.pl -l32 -arm -tags linux,arm syscall_linux.go syscall_linux_arm.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build linux,arm
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlinkat(dirfd int, path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, times *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getcwd(buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(arg)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(source)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       var _p2 *byte
-       _p2, err = BytePtrFromString(fstype)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Acct(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtimex(buf *Timex) (state int, err error) {
-       r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-       state = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ClockGettime(clockid int32, time *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(oldfd int) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup3(oldfd int, newfd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate(size int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate1(flag int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-       _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(off>>32), uintptr(len), uintptr(len>>32))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fdatasync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrandom(buf []byte, flags int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettid() (tid int) {
-       r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-       tid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(dest) > 0 {
-               _p2 = unsafe.Pointer(&dest[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(pathname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-       watchdesc = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit1(flags int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-       success = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Klogctl(typ int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listxattr(path string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(dest) > 0 {
-               _p1 = unsafe.Pointer(&dest[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func PivotRoot(newroot string, putold string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(newroot)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(putold)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
-       _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Removexattr(path string, attr string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setdomainname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sethostname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setns(fd int, nstype int) (err error) {
-       _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(data) > 0 {
-               _p2 = unsafe.Pointer(&data[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() {
-       Syscall(SYS_SYNC, 0, 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sysinfo(info *Sysinfo_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-       r0, r1, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-       n = int64(int64(r1)<<32 | int64(r0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Times(tms *Tms) (ticks uintptr, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-       ticks = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(mask int) (oldmask int) {
-       r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Uname(buf *Utsname) (err error) {
-       _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(target string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unshare(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ustat(dev int, ubuf *Ustat_t) (err error) {
-       _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func exitThread(code int) (err error) {
-       _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Madvise(b []byte, advice int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe2(p *[2]_C_int, flags int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(n int, list *_Gid_t) (nn int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS32, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       nn = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(n int, list *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS32, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, flags int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(flags), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(oldfd int, newfd int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN32, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID32, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (euid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID32, 0, 0, 0)
-       euid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID32, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID32, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit() (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN32, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, n int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       r0, _, e1 := Syscall6(SYS_SENDFILE64, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
-       written = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS__NEWSELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsgid(gid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSGID32, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsuid(uid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSUID32, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID32, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID32, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID32, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID32, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(events) > 0 {
-               _p0 = unsafe.Pointer(&events[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pause() (err error) {
-       _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_TRUNCATE64, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FTRUNCATE64, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset uintptr) (xaddr uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP2, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(pageOffset))
-       xaddr = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getrlimit(resource int, rlim *rlimit32) (err error) {
-       _, _, e1 := RawSyscall(SYS_UGETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setrlimit(resource int, rlim *rlimit32) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go
deleted file mode 100644 (file)
index a4dca39..0000000
+++ /dev/null
@@ -1,1725 +0,0 @@
-// mksyscall.pl -tags linux,arm64 syscall_linux.go syscall_linux_arm64.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build linux,arm64
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlinkat(dirfd int, path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, times *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getcwd(buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(arg)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(source)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       var _p2 *byte
-       _p2, err = BytePtrFromString(fstype)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Acct(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtimex(buf *Timex) (state int, err error) {
-       r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-       state = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ClockGettime(clockid int32, time *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(oldfd int) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup3(oldfd int, newfd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate(size int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate1(flag int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-       _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fdatasync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrandom(buf []byte, flags int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettid() (tid int) {
-       r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-       tid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(dest) > 0 {
-               _p2 = unsafe.Pointer(&dest[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(pathname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-       watchdesc = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit1(flags int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-       success = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Klogctl(typ int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listxattr(path string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(dest) > 0 {
-               _p1 = unsafe.Pointer(&dest[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func PivotRoot(newroot string, putold string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(newroot)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(putold)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
-       _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Removexattr(path string, attr string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setdomainname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sethostname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setns(fd int, nstype int) (err error) {
-       _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(data) > 0 {
-               _p2 = unsafe.Pointer(&data[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() {
-       Syscall(SYS_SYNC, 0, 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sysinfo(info *Sysinfo_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Times(tms *Tms) (ticks uintptr, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-       ticks = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(mask int) (oldmask int) {
-       r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Uname(buf *Utsname) (err error) {
-       _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(target string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unshare(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ustat(dev int, ubuf *Ustat_t) (err error) {
-       _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func exitThread(code int) (err error) {
-       _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Madvise(b []byte, advice int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(events) > 0 {
-               _p0 = unsafe.Pointer(&events[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EPOLL_PWAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, buf *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (euid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       euid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, n int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (off int64, err error) {
-       r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
-       off = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_PSELECT6, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
-       written = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsgid(gid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsuid(uid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, buf *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
-       _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(n int, list *_Gid_t) (nn int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       nn = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(n int, list *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
-       xaddr = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe2(p *[2]_C_int, flags int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go
deleted file mode 100644 (file)
index b56db72..0000000
+++ /dev/null
@@ -1,1807 +0,0 @@
-// mksyscall.pl -b32 -arm -tags linux,mips syscall_linux.go syscall_linux_mipsx.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build linux,mips
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlinkat(dirfd int, path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, times *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getcwd(buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(arg)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(source)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       var _p2 *byte
-       _p2, err = BytePtrFromString(fstype)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Acct(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtimex(buf *Timex) (state int, err error) {
-       r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-       state = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ClockGettime(clockid int32, time *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(oldfd int) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup3(oldfd int, newfd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate(size int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate1(flag int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-       _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off>>32), uintptr(off), uintptr(len>>32), uintptr(len))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fdatasync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrandom(buf []byte, flags int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettid() (tid int) {
-       r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-       tid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(dest) > 0 {
-               _p2 = unsafe.Pointer(&dest[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(pathname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-       watchdesc = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit1(flags int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-       success = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Klogctl(typ int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listxattr(path string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(dest) > 0 {
-               _p1 = unsafe.Pointer(&dest[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func PivotRoot(newroot string, putold string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(newroot)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(putold)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
-       _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Removexattr(path string, attr string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setdomainname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sethostname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setns(fd int, nstype int) (err error) {
-       _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(data) > 0 {
-               _p2 = unsafe.Pointer(&data[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() {
-       Syscall(SYS_SYNC, 0, 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sysinfo(info *Sysinfo_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-       r0, r1, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-       n = int64(int64(r0)<<32 | int64(r1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Times(tms *Tms) (ticks uintptr, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-       ticks = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(mask int) (oldmask int) {
-       r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Uname(buf *Utsname) (err error) {
-       _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(target string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unshare(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ustat(dev int, ubuf *Ustat_t) (err error) {
-       _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func exitThread(code int) (err error) {
-       _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Madvise(b []byte, advice int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(oldfd int, newfd int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FTRUNCATE64, uintptr(fd), 0, uintptr(length>>32), uintptr(length), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (euid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       euid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, n int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset>>32), uintptr(offset))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset>>32), uintptr(offset))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS__NEWSELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       r0, _, e1 := Syscall6(SYS_SENDFILE64, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
-       written = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsgid(gid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsuid(uid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
-       r0, r1, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-       n = int64(int64(r0)<<32 | int64(r1))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
-       _, _, e1 := Syscall9(SYS_SYNC_FILE_RANGE, uintptr(fd), 0, uintptr(off>>32), uintptr(off), uintptr(n>>32), uintptr(n), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_TRUNCATE64, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length>>32), uintptr(length), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(n int, list *_Gid_t) (nn int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       nn = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(n int, list *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit() (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ioperm(from int, num int, on int) (err error) {
-       _, _, e1 := Syscall(SYS_IOPERM, uintptr(from), uintptr(num), uintptr(on))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Iopl(level int) (err error) {
-       _, _, e1 := Syscall(SYS_IOPL, uintptr(level), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Time(t *Time_t) (tt Time_t, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIME, uintptr(unsafe.Pointer(t)), 0, 0)
-       tt = Time_t(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Utime(path string, buf *Utimbuf) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(events) > 0 {
-               _p0 = unsafe.Pointer(&events[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pause() (err error) {
-       _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe2(p *[2]_C_int, flags int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset uintptr) (xaddr uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP2, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(pageOffset))
-       xaddr = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getrlimit(resource int, rlim *rlimit32) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setrlimit(resource int, rlim *rlimit32) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go
deleted file mode 100644 (file)
index ca2359d..0000000
+++ /dev/null
@@ -1,1791 +0,0 @@
-// mksyscall.pl -tags linux,mips64 syscall_linux.go syscall_linux_mips64x.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build linux,mips64
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlinkat(dirfd int, path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, times *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getcwd(buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(arg)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(source)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       var _p2 *byte
-       _p2, err = BytePtrFromString(fstype)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Acct(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtimex(buf *Timex) (state int, err error) {
-       r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-       state = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ClockGettime(clockid int32, time *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(oldfd int) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup3(oldfd int, newfd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate(size int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate1(flag int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-       _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fdatasync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrandom(buf []byte, flags int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettid() (tid int) {
-       r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-       tid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(dest) > 0 {
-               _p2 = unsafe.Pointer(&dest[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(pathname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-       watchdesc = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit1(flags int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-       success = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Klogctl(typ int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listxattr(path string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(dest) > 0 {
-               _p1 = unsafe.Pointer(&dest[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func PivotRoot(newroot string, putold string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(newroot)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(putold)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
-       _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Removexattr(path string, attr string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setdomainname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sethostname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setns(fd int, nstype int) (err error) {
-       _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(data) > 0 {
-               _p2 = unsafe.Pointer(&data[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() {
-       Syscall(SYS_SYNC, 0, 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sysinfo(info *Sysinfo_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Times(tms *Tms) (ticks uintptr, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-       ticks = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(mask int) (oldmask int) {
-       r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Uname(buf *Utsname) (err error) {
-       _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(target string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unshare(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ustat(dev int, ubuf *Ustat_t) (err error) {
-       _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func exitThread(code int) (err error) {
-       _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Madvise(b []byte, advice int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(events) > 0 {
-               _p0 = unsafe.Pointer(&events[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, buf *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (euid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       euid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, n int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pause() (err error) {
-       _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (off int64, err error) {
-       r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
-       off = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_PSELECT6, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
-       written = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsgid(gid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsuid(uid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, buf *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
-       _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(n int, list *_Gid_t) (nn int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       nn = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(n int, list *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
-       xaddr = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Utime(path string, buf *Utimbuf) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe2(p *[2]_C_int, flags int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fstat(fd int, st *stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(st)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func lstat(path string, st *stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(st)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func stat(path string, st *stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(st)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go
deleted file mode 100644 (file)
index e574940..0000000
+++ /dev/null
@@ -1,1791 +0,0 @@
-// mksyscall.pl -tags linux,mips64le syscall_linux.go syscall_linux_mips64x.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build linux,mips64le
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlinkat(dirfd int, path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, times *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getcwd(buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(arg)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(source)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       var _p2 *byte
-       _p2, err = BytePtrFromString(fstype)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Acct(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtimex(buf *Timex) (state int, err error) {
-       r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-       state = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ClockGettime(clockid int32, time *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(oldfd int) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup3(oldfd int, newfd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate(size int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate1(flag int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-       _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fdatasync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrandom(buf []byte, flags int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettid() (tid int) {
-       r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-       tid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(dest) > 0 {
-               _p2 = unsafe.Pointer(&dest[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(pathname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-       watchdesc = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit1(flags int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-       success = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Klogctl(typ int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listxattr(path string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(dest) > 0 {
-               _p1 = unsafe.Pointer(&dest[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func PivotRoot(newroot string, putold string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(newroot)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(putold)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
-       _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Removexattr(path string, attr string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setdomainname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sethostname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setns(fd int, nstype int) (err error) {
-       _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(data) > 0 {
-               _p2 = unsafe.Pointer(&data[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() {
-       Syscall(SYS_SYNC, 0, 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sysinfo(info *Sysinfo_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Times(tms *Tms) (ticks uintptr, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-       ticks = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(mask int) (oldmask int) {
-       r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Uname(buf *Utsname) (err error) {
-       _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(target string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unshare(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ustat(dev int, ubuf *Ustat_t) (err error) {
-       _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func exitThread(code int) (err error) {
-       _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Madvise(b []byte, advice int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(events) > 0 {
-               _p0 = unsafe.Pointer(&events[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, buf *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (euid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       euid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, n int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pause() (err error) {
-       _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (off int64, err error) {
-       r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
-       off = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_PSELECT6, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
-       written = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsgid(gid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsuid(uid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, buf *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
-       _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(n int, list *_Gid_t) (nn int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       nn = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(n int, list *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
-       xaddr = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Utime(path string, buf *Utimbuf) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe2(p *[2]_C_int, flags int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fstat(fd int, st *stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(st)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func lstat(path string, st *stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(st)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func stat(path string, st *stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(st)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go
deleted file mode 100644 (file)
index 31836d4..0000000
+++ /dev/null
@@ -1,1807 +0,0 @@
-// mksyscall.pl -l32 -arm -tags linux,mipsle syscall_linux.go syscall_linux_mipsx.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build linux,mipsle
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlinkat(dirfd int, path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, times *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getcwd(buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(arg)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(source)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       var _p2 *byte
-       _p2, err = BytePtrFromString(fstype)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Acct(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtimex(buf *Timex) (state int, err error) {
-       r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-       state = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ClockGettime(clockid int32, time *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(oldfd int) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup3(oldfd int, newfd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate(size int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate1(flag int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-       _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(off>>32), uintptr(len), uintptr(len>>32))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fdatasync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrandom(buf []byte, flags int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettid() (tid int) {
-       r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-       tid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(dest) > 0 {
-               _p2 = unsafe.Pointer(&dest[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(pathname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-       watchdesc = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit1(flags int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-       success = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Klogctl(typ int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listxattr(path string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(dest) > 0 {
-               _p1 = unsafe.Pointer(&dest[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func PivotRoot(newroot string, putold string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(newroot)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(putold)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
-       _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Removexattr(path string, attr string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setdomainname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sethostname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setns(fd int, nstype int) (err error) {
-       _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(data) > 0 {
-               _p2 = unsafe.Pointer(&data[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() {
-       Syscall(SYS_SYNC, 0, 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sysinfo(info *Sysinfo_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-       r0, r1, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-       n = int64(int64(r1)<<32 | int64(r0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Times(tms *Tms) (ticks uintptr, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-       ticks = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(mask int) (oldmask int) {
-       r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Uname(buf *Utsname) (err error) {
-       _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(target string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unshare(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ustat(dev int, ubuf *Ustat_t) (err error) {
-       _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func exitThread(code int) (err error) {
-       _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Madvise(b []byte, advice int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(oldfd int, newfd int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FTRUNCATE64, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (euid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       euid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, n int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS__NEWSELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       r0, _, e1 := Syscall6(SYS_SENDFILE64, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
-       written = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsgid(gid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsuid(uid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
-       r0, r1, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-       n = int64(int64(r1)<<32 | int64(r0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
-       _, _, e1 := Syscall9(SYS_SYNC_FILE_RANGE, uintptr(fd), 0, uintptr(off), uintptr(off>>32), uintptr(n), uintptr(n>>32), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_TRUNCATE64, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(n int, list *_Gid_t) (nn int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       nn = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(n int, list *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit() (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ioperm(from int, num int, on int) (err error) {
-       _, _, e1 := Syscall(SYS_IOPERM, uintptr(from), uintptr(num), uintptr(on))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Iopl(level int) (err error) {
-       _, _, e1 := Syscall(SYS_IOPL, uintptr(level), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Time(t *Time_t) (tt Time_t, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIME, uintptr(unsafe.Pointer(t)), 0, 0)
-       tt = Time_t(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Utime(path string, buf *Utimbuf) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(events) > 0 {
-               _p0 = unsafe.Pointer(&events[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pause() (err error) {
-       _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe2(p *[2]_C_int, flags int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset uintptr) (xaddr uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP2, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(pageOffset))
-       xaddr = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getrlimit(resource int, rlim *rlimit32) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setrlimit(resource int, rlim *rlimit32) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go
deleted file mode 100644 (file)
index 4a76755..0000000
+++ /dev/null
@@ -1,1853 +0,0 @@
-// mksyscall.pl -tags linux,ppc64 syscall_linux.go syscall_linux_ppc64x.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build linux,ppc64
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlinkat(dirfd int, path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, times *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getcwd(buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(arg)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(source)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       var _p2 *byte
-       _p2, err = BytePtrFromString(fstype)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Acct(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtimex(buf *Timex) (state int, err error) {
-       r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-       state = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ClockGettime(clockid int32, time *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(oldfd int) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup3(oldfd int, newfd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate(size int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate1(flag int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-       _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fdatasync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrandom(buf []byte, flags int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettid() (tid int) {
-       r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-       tid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(dest) > 0 {
-               _p2 = unsafe.Pointer(&dest[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(pathname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-       watchdesc = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit1(flags int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-       success = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Klogctl(typ int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listxattr(path string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(dest) > 0 {
-               _p1 = unsafe.Pointer(&dest[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func PivotRoot(newroot string, putold string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(newroot)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(putold)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
-       _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Removexattr(path string, attr string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setdomainname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sethostname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setns(fd int, nstype int) (err error) {
-       _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(data) > 0 {
-               _p2 = unsafe.Pointer(&data[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() {
-       Syscall(SYS_SYNC, 0, 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sysinfo(info *Sysinfo_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Times(tms *Tms) (ticks uintptr, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-       ticks = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(mask int) (oldmask int) {
-       r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Uname(buf *Utsname) (err error) {
-       _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(target string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unshare(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ustat(dev int, ubuf *Ustat_t) (err error) {
-       _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func exitThread(code int) (err error) {
-       _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Madvise(b []byte, advice int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(events) > 0 {
-               _p0 = unsafe.Pointer(&events[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(oldfd int, newfd int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, buf *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (euid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       euid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_UGETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit() (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ioperm(from int, num int, on int) (err error) {
-       _, _, e1 := Syscall(SYS_IOPERM, uintptr(from), uintptr(num), uintptr(on))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Iopl(level int) (err error) {
-       _, _, e1 := Syscall(SYS_IOPL, uintptr(level), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, n int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pause() (err error) {
-       _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (off int64, err error) {
-       r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
-       off = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
-       written = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsgid(gid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsuid(uid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, buf *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
-       _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE2, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(n int, list *_Gid_t) (nn int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       nn = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(n int, list *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
-       xaddr = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Time(t *Time_t) (tt Time_t, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIME, uintptr(unsafe.Pointer(t)), 0, 0)
-       tt = Time_t(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Utime(path string, buf *Utimbuf) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe(p *[2]_C_int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe2(p *[2]_C_int, flags int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go
deleted file mode 100644 (file)
index 5fb3428..0000000
+++ /dev/null
@@ -1,1853 +0,0 @@
-// mksyscall.pl -tags linux,ppc64le syscall_linux.go syscall_linux_ppc64x.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build linux,ppc64le
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlinkat(dirfd int, path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, times *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getcwd(buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(arg)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(source)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       var _p2 *byte
-       _p2, err = BytePtrFromString(fstype)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Acct(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtimex(buf *Timex) (state int, err error) {
-       r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-       state = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ClockGettime(clockid int32, time *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(oldfd int) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup3(oldfd int, newfd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate(size int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate1(flag int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-       _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fdatasync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrandom(buf []byte, flags int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettid() (tid int) {
-       r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-       tid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(dest) > 0 {
-               _p2 = unsafe.Pointer(&dest[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(pathname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-       watchdesc = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit1(flags int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-       success = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Klogctl(typ int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listxattr(path string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(dest) > 0 {
-               _p1 = unsafe.Pointer(&dest[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func PivotRoot(newroot string, putold string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(newroot)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(putold)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
-       _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Removexattr(path string, attr string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setdomainname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sethostname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setns(fd int, nstype int) (err error) {
-       _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(data) > 0 {
-               _p2 = unsafe.Pointer(&data[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() {
-       Syscall(SYS_SYNC, 0, 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sysinfo(info *Sysinfo_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Times(tms *Tms) (ticks uintptr, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-       ticks = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(mask int) (oldmask int) {
-       r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Uname(buf *Utsname) (err error) {
-       _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(target string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unshare(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ustat(dev int, ubuf *Ustat_t) (err error) {
-       _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func exitThread(code int) (err error) {
-       _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Madvise(b []byte, advice int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(events) > 0 {
-               _p0 = unsafe.Pointer(&events[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(oldfd int, newfd int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, buf *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (euid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       euid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_UGETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit() (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ioperm(from int, num int, on int) (err error) {
-       _, _, e1 := Syscall(SYS_IOPERM, uintptr(from), uintptr(num), uintptr(on))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Iopl(level int) (err error) {
-       _, _, e1 := Syscall(SYS_IOPL, uintptr(level), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, n int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pause() (err error) {
-       _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (off int64, err error) {
-       r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
-       off = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
-       written = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsgid(gid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsuid(uid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, buf *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
-       _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE2, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(n int, list *_Gid_t) (nn int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       nn = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(n int, list *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
-       xaddr = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Time(t *Time_t) (tt Time_t, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIME, uintptr(unsafe.Pointer(t)), 0, 0)
-       tt = Time_t(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Utime(path string, buf *Utimbuf) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe(p *[2]_C_int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe2(p *[2]_C_int, flags int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go
deleted file mode 100644 (file)
index 79d285c..0000000
+++ /dev/null
@@ -1,1633 +0,0 @@
-// mksyscall.pl -tags linux,s390x syscall_linux.go syscall_linux_s390x.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build linux,s390x
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlinkat(dirfd int, path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, times *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getcwd(buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(arg)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(source)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       var _p2 *byte
-       _p2, err = BytePtrFromString(fstype)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Acct(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtimex(buf *Timex) (state int, err error) {
-       r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-       state = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ClockGettime(clockid int32, time *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(oldfd int) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup3(oldfd int, newfd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate(size int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate1(flag int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-       _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fdatasync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrandom(buf []byte, flags int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettid() (tid int) {
-       r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-       tid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(dest) > 0 {
-               _p2 = unsafe.Pointer(&dest[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(pathname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-       watchdesc = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit1(flags int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-       success = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Klogctl(typ int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listxattr(path string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(dest) > 0 {
-               _p1 = unsafe.Pointer(&dest[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func PivotRoot(newroot string, putold string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(newroot)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(putold)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
-       _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Removexattr(path string, attr string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setdomainname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sethostname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setns(fd int, nstype int) (err error) {
-       _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(data) > 0 {
-               _p2 = unsafe.Pointer(&data[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() {
-       Syscall(SYS_SYNC, 0, 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sysinfo(info *Sysinfo_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Times(tms *Tms) (ticks uintptr, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-       ticks = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(mask int) (oldmask int) {
-       r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Uname(buf *Utsname) (err error) {
-       _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(target string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unshare(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ustat(dev int, ubuf *Ustat_t) (err error) {
-       _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func exitThread(code int) (err error) {
-       _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Madvise(b []byte, advice int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(oldfd int, newfd int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(events) > 0 {
-               _p0 = unsafe.Pointer(&events[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-       _, _, e1 := Syscall6(SYS_FADVISE64, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, buf *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (euid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       euid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit() (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pause() (err error) {
-       _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (off int64, err error) {
-       r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
-       off = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
-       written = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsgid(gid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsuid(uid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, buf *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
-       _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(n int, list *_Gid_t) (nn int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       nn = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(n int, list *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Utime(path string, buf *Utimbuf) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe2(p *[2]_C_int, flags int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go
deleted file mode 100644 (file)
index ce3ec58..0000000
+++ /dev/null
@@ -1,1822 +0,0 @@
-// mksyscall.pl -tags linux,sparc64 syscall_linux.go syscall_linux_sparc64.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build linux,sparc64
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlinkat(dirfd int, path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, times *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getcwd(buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(arg)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(source)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       var _p2 *byte
-       _p2, err = BytePtrFromString(fstype)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Acct(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtimex(buf *Timex) (state int, err error) {
-       r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-       state = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func ClockGettime(clockid int32, time *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(oldfd int) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup3(oldfd int, newfd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate(size int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCreate1(flag int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-       _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fdatasync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrandom(buf []byte, flags int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettid() (tid int) {
-       r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-       tid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(dest) > 0 {
-               _p2 = unsafe.Pointer(&dest[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(pathname)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-       watchdesc = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit1(flags int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-       success = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Klogctl(typ int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listxattr(path string, dest []byte) (sz int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(dest) > 0 {
-               _p1 = unsafe.Pointer(&dest[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-       sz = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func PivotRoot(newroot string, putold string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(newroot)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(putold)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
-       _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Removexattr(path string, attr string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setdomainname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sethostname(p []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setns(fd int, nstype int) (err error) {
-       _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(attr)
-       if err != nil {
-               return
-       }
-       var _p2 unsafe.Pointer
-       if len(data) > 0 {
-               _p2 = unsafe.Pointer(&data[0])
-       } else {
-               _p2 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() {
-       Syscall(SYS_SYNC, 0, 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sysinfo(info *Sysinfo_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-       _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Times(tms *Tms) (ticks uintptr, err error) {
-       r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-       ticks = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(mask int) (oldmask int) {
-       r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Uname(buf *Utsname) (err error) {
-       _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(target string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unshare(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ustat(dev int, ubuf *Ustat_t) (err error) {
-       _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func exitThread(code int) (err error) {
-       _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, p *byte, np int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Madvise(b []byte, advice int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(events) > 0 {
-               _p0 = unsafe.Pointer(&events[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(oldfd int, newfd int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, buf *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (euid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       euid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func InotifyInit() (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, n int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pause() (err error) {
-       _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (off int64, err error) {
-       r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
-       off = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-       r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
-       written = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsgid(gid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setfsuid(uid int) (err error) {
-       _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(resource int, rlim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
-       r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-       n = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, buf *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
-       _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
-       r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(n int, list *_Gid_t) (nn int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       nn = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(n int, list *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
-       r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
-       xaddr = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Utime(path string, buf *Utimbuf) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe(p *[2]_C_int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe2(p *[2]_C_int, flags int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go
deleted file mode 100644 (file)
index 3182345..0000000
+++ /dev/null
@@ -1,1299 +0,0 @@
-// mksyscall.pl -l32 -netbsd -tags netbsd,386 syscall_bsd.go syscall_netbsd.go syscall_netbsd_386.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build netbsd,386
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe() (fd1 int, fd2 int, err error) {
-       r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-       fd1 = int(r0)
-       fd2 = int(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, signum syscall.Signal) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(whence), 0)
-       newoffset = int64(int64(r1)<<32 | int64(r0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), uintptr(pos>>32), 0)
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go
deleted file mode 100644 (file)
index 74ba818..0000000
+++ /dev/null
@@ -1,1299 +0,0 @@
-// mksyscall.pl -netbsd -tags netbsd,amd64 syscall_bsd.go syscall_netbsd.go syscall_netbsd_amd64.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build netbsd,amd64
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe() (fd1 int, fd2 int, err error) {
-       r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-       fd1 = int(r0)
-       fd2 = int(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, signum syscall.Signal) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, _, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(whence), 0, 0)
-       newoffset = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), 0, 0)
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go
deleted file mode 100644 (file)
index 1f346e2..0000000
+++ /dev/null
@@ -1,1299 +0,0 @@
-// mksyscall.pl -l32 -arm -tags netbsd,arm syscall_bsd.go syscall_netbsd.go syscall_netbsd_arm.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build netbsd,arm
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe() (fd1 int, fd2 int, err error) {
-       r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-       fd1 = int(r0)
-       fd2 = int(r1)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, signum syscall.Signal) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(whence), 0)
-       newoffset = int64(int64(r1)<<32 | int64(r0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), uintptr(pos>>32), 0)
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go
deleted file mode 100644 (file)
index ca3e813..0000000
+++ /dev/null
@@ -1,1357 +0,0 @@
-// mksyscall.pl -l32 -openbsd -tags openbsd,386 syscall_bsd.go syscall_openbsd.go syscall_openbsd_386.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build openbsd,386
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe(p *[2]_C_int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, stat *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall6(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, signum syscall.Signal) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(whence), 0)
-       newoffset = int64(int64(r1)<<32 | int64(r0))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setlogin(name string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(name)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, stat *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall6(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), uintptr(pos>>32), 0)
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go
deleted file mode 100644 (file)
index bf63d55..0000000
+++ /dev/null
@@ -1,1357 +0,0 @@
-// mksyscall.pl -openbsd -tags openbsd,amd64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_amd64.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build openbsd,amd64
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-var _ syscall.Errno
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-       r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
-       r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
-       var _p0 unsafe.Pointer
-       if len(mib) > 0 {
-               _p0 = unsafe.Pointer(&mib[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func utimes(path string, timeval *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func futimes(fd int, timeval *[2]Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func pipe(p *[2]_C_int) (err error) {
-       _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func getdents(fd int, buf []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(buf) > 0 {
-               _p0 = unsafe.Pointer(&buf[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chflags(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Close(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Dup2(from int, to int) (err error) {
-       _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Exit(code int) {
-       Syscall(SYS_EXIT, uintptr(code), 0, 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchflags(fd int, flags int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Flock(fd int, how int) (err error) {
-       _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fstatfs(fd int, stat *Statfs_t) (err error) {
-       _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getegid() (egid int) {
-       r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Geteuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getgid() (gid int) {
-       r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpgrp() (pgrp int) {
-       r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
-       pgrp = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpid() (pid int) {
-       r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getppid() (ppid int) {
-       r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getpriority(which int, who int) (prio int, err error) {
-       r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-       prio = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getsid(pid int) (sid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-       sid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Getuid() (uid int) {
-       r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Issetugid() (tainted bool) {
-       r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
-       tainted = bool(r0 != 0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kill(pid int, signum syscall.Signal) (err error) {
-       _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Kqueue() (fd int, err error) {
-       r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlock(b []byte) (err error) {
-       var _p0 unsafe.Pointer
-       if len(b) > 0 {
-               _p0 = unsafe.Pointer(&b[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Munlockall() (err error) {
-       _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
-       fd = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 unsafe.Pointer
-       if len(buf) > 0 {
-               _p1 = unsafe.Pointer(&buf[0])
-       } else {
-               _p1 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Revoke(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, _, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(whence), 0, 0)
-       newoffset = int64(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-       _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setlogin(name string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(name)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresgid(rgid int, egid int, sgid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setresuid(ruid int, euid int, suid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Settimeofday(tp *Timeval) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Statfs(path string, stat *Statfs_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Sync() (err error) {
-       _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length))
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Umask(newmask int) (oldmask int) {
-       r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func Unmount(path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 unsafe.Pointer
-       if len(p) > 0 {
-               _p0 = unsafe.Pointer(&p[0])
-       } else {
-               _p0 = unsafe.Pointer(&_zero)
-       }
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), 0, 0)
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-       r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
-       n = int(r0)
-       if e1 != 0 {
-               err = errnoErr(e1)
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go
deleted file mode 100644 (file)
index bdf140b..0000000
+++ /dev/null
@@ -1,1562 +0,0 @@
-// mksyscall_solaris.pl -tags solaris,amd64 syscall_solaris.go syscall_solaris_amd64.go
-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-
-// +build solaris,amd64
-
-package unix
-
-import (
-       "syscall"
-       "unsafe"
-)
-
-//go:cgo_import_dynamic libc_pipe pipe "libc.so"
-//go:cgo_import_dynamic libc_getsockname getsockname "libsocket.so"
-//go:cgo_import_dynamic libc_getcwd getcwd "libc.so"
-//go:cgo_import_dynamic libc_getgroups getgroups "libc.so"
-//go:cgo_import_dynamic libc_setgroups setgroups "libc.so"
-//go:cgo_import_dynamic libc_wait4 wait4 "libc.so"
-//go:cgo_import_dynamic libc_gethostname gethostname "libc.so"
-//go:cgo_import_dynamic libc_utimes utimes "libc.so"
-//go:cgo_import_dynamic libc_utimensat utimensat "libc.so"
-//go:cgo_import_dynamic libc_fcntl fcntl "libc.so"
-//go:cgo_import_dynamic libc_futimesat futimesat "libc.so"
-//go:cgo_import_dynamic libc_accept accept "libsocket.so"
-//go:cgo_import_dynamic libc_recvmsg recvmsg "libsocket.so"
-//go:cgo_import_dynamic libc_sendmsg sendmsg "libsocket.so"
-//go:cgo_import_dynamic libc_acct acct "libc.so"
-//go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
-//go:cgo_import_dynamic libc_access access "libc.so"
-//go:cgo_import_dynamic libc_adjtime adjtime "libc.so"
-//go:cgo_import_dynamic libc_chdir chdir "libc.so"
-//go:cgo_import_dynamic libc_chmod chmod "libc.so"
-//go:cgo_import_dynamic libc_chown chown "libc.so"
-//go:cgo_import_dynamic libc_chroot chroot "libc.so"
-//go:cgo_import_dynamic libc_close close "libc.so"
-//go:cgo_import_dynamic libc_creat creat "libc.so"
-//go:cgo_import_dynamic libc_dup dup "libc.so"
-//go:cgo_import_dynamic libc_dup2 dup2 "libc.so"
-//go:cgo_import_dynamic libc_exit exit "libc.so"
-//go:cgo_import_dynamic libc_fchdir fchdir "libc.so"
-//go:cgo_import_dynamic libc_fchmod fchmod "libc.so"
-//go:cgo_import_dynamic libc_fchmodat fchmodat "libc.so"
-//go:cgo_import_dynamic libc_fchown fchown "libc.so"
-//go:cgo_import_dynamic libc_fchownat fchownat "libc.so"
-//go:cgo_import_dynamic libc_fdatasync fdatasync "libc.so"
-//go:cgo_import_dynamic libc_fpathconf fpathconf "libc.so"
-//go:cgo_import_dynamic libc_fstat fstat "libc.so"
-//go:cgo_import_dynamic libc_getdents getdents "libc.so"
-//go:cgo_import_dynamic libc_getgid getgid "libc.so"
-//go:cgo_import_dynamic libc_getpid getpid "libc.so"
-//go:cgo_import_dynamic libc_getpgid getpgid "libc.so"
-//go:cgo_import_dynamic libc_getpgrp getpgrp "libc.so"
-//go:cgo_import_dynamic libc_geteuid geteuid "libc.so"
-//go:cgo_import_dynamic libc_getegid getegid "libc.so"
-//go:cgo_import_dynamic libc_getppid getppid "libc.so"
-//go:cgo_import_dynamic libc_getpriority getpriority "libc.so"
-//go:cgo_import_dynamic libc_getrlimit getrlimit "libc.so"
-//go:cgo_import_dynamic libc_getrusage getrusage "libc.so"
-//go:cgo_import_dynamic libc_gettimeofday gettimeofday "libc.so"
-//go:cgo_import_dynamic libc_getuid getuid "libc.so"
-//go:cgo_import_dynamic libc_kill kill "libc.so"
-//go:cgo_import_dynamic libc_lchown lchown "libc.so"
-//go:cgo_import_dynamic libc_link link "libc.so"
-//go:cgo_import_dynamic libc_listen listen "libsocket.so"
-//go:cgo_import_dynamic libc_lstat lstat "libc.so"
-//go:cgo_import_dynamic libc_madvise madvise "libc.so"
-//go:cgo_import_dynamic libc_mkdir mkdir "libc.so"
-//go:cgo_import_dynamic libc_mkdirat mkdirat "libc.so"
-//go:cgo_import_dynamic libc_mkfifo mkfifo "libc.so"
-//go:cgo_import_dynamic libc_mkfifoat mkfifoat "libc.so"
-//go:cgo_import_dynamic libc_mknod mknod "libc.so"
-//go:cgo_import_dynamic libc_mknodat mknodat "libc.so"
-//go:cgo_import_dynamic libc_mlock mlock "libc.so"
-//go:cgo_import_dynamic libc_mlockall mlockall "libc.so"
-//go:cgo_import_dynamic libc_mprotect mprotect "libc.so"
-//go:cgo_import_dynamic libc_munlock munlock "libc.so"
-//go:cgo_import_dynamic libc_munlockall munlockall "libc.so"
-//go:cgo_import_dynamic libc_nanosleep nanosleep "libc.so"
-//go:cgo_import_dynamic libc_open open "libc.so"
-//go:cgo_import_dynamic libc_openat openat "libc.so"
-//go:cgo_import_dynamic libc_pathconf pathconf "libc.so"
-//go:cgo_import_dynamic libc_pause pause "libc.so"
-//go:cgo_import_dynamic libc_pread pread "libc.so"
-//go:cgo_import_dynamic libc_pwrite pwrite "libc.so"
-//go:cgo_import_dynamic libc_read read "libc.so"
-//go:cgo_import_dynamic libc_readlink readlink "libc.so"
-//go:cgo_import_dynamic libc_rename rename "libc.so"
-//go:cgo_import_dynamic libc_renameat renameat "libc.so"
-//go:cgo_import_dynamic libc_rmdir rmdir "libc.so"
-//go:cgo_import_dynamic libc_lseek lseek "libc.so"
-//go:cgo_import_dynamic libc_setegid setegid "libc.so"
-//go:cgo_import_dynamic libc_seteuid seteuid "libc.so"
-//go:cgo_import_dynamic libc_setgid setgid "libc.so"
-//go:cgo_import_dynamic libc_sethostname sethostname "libc.so"
-//go:cgo_import_dynamic libc_setpgid setpgid "libc.so"
-//go:cgo_import_dynamic libc_setpriority setpriority "libc.so"
-//go:cgo_import_dynamic libc_setregid setregid "libc.so"
-//go:cgo_import_dynamic libc_setreuid setreuid "libc.so"
-//go:cgo_import_dynamic libc_setrlimit setrlimit "libc.so"
-//go:cgo_import_dynamic libc_setsid setsid "libc.so"
-//go:cgo_import_dynamic libc_setuid setuid "libc.so"
-//go:cgo_import_dynamic libc_shutdown shutdown "libsocket.so"
-//go:cgo_import_dynamic libc_stat stat "libc.so"
-//go:cgo_import_dynamic libc_symlink symlink "libc.so"
-//go:cgo_import_dynamic libc_sync sync "libc.so"
-//go:cgo_import_dynamic libc_times times "libc.so"
-//go:cgo_import_dynamic libc_truncate truncate "libc.so"
-//go:cgo_import_dynamic libc_fsync fsync "libc.so"
-//go:cgo_import_dynamic libc_ftruncate ftruncate "libc.so"
-//go:cgo_import_dynamic libc_umask umask "libc.so"
-//go:cgo_import_dynamic libc_uname uname "libc.so"
-//go:cgo_import_dynamic libc_umount umount "libc.so"
-//go:cgo_import_dynamic libc_unlink unlink "libc.so"
-//go:cgo_import_dynamic libc_unlinkat unlinkat "libc.so"
-//go:cgo_import_dynamic libc_ustat ustat "libc.so"
-//go:cgo_import_dynamic libc_utime utime "libc.so"
-//go:cgo_import_dynamic libc_bind bind "libsocket.so"
-//go:cgo_import_dynamic libc_connect connect "libsocket.so"
-//go:cgo_import_dynamic libc_mmap mmap "libc.so"
-//go:cgo_import_dynamic libc_munmap munmap "libc.so"
-//go:cgo_import_dynamic libc_sendto sendto "libsocket.so"
-//go:cgo_import_dynamic libc_socket socket "libsocket.so"
-//go:cgo_import_dynamic libc_socketpair socketpair "libsocket.so"
-//go:cgo_import_dynamic libc_write write "libc.so"
-//go:cgo_import_dynamic libc_getsockopt getsockopt "libsocket.so"
-//go:cgo_import_dynamic libc_getpeername getpeername "libsocket.so"
-//go:cgo_import_dynamic libc_setsockopt setsockopt "libsocket.so"
-//go:cgo_import_dynamic libc_recvfrom recvfrom "libsocket.so"
-//go:cgo_import_dynamic libc_sysconf sysconf "libc.so"
-
-//go:linkname procpipe libc_pipe
-//go:linkname procgetsockname libc_getsockname
-//go:linkname procGetcwd libc_getcwd
-//go:linkname procgetgroups libc_getgroups
-//go:linkname procsetgroups libc_setgroups
-//go:linkname procwait4 libc_wait4
-//go:linkname procgethostname libc_gethostname
-//go:linkname procutimes libc_utimes
-//go:linkname procutimensat libc_utimensat
-//go:linkname procfcntl libc_fcntl
-//go:linkname procfutimesat libc_futimesat
-//go:linkname procaccept libc_accept
-//go:linkname procrecvmsg libc_recvmsg
-//go:linkname procsendmsg libc_sendmsg
-//go:linkname procacct libc_acct
-//go:linkname procioctl libc_ioctl
-//go:linkname procAccess libc_access
-//go:linkname procAdjtime libc_adjtime
-//go:linkname procChdir libc_chdir
-//go:linkname procChmod libc_chmod
-//go:linkname procChown libc_chown
-//go:linkname procChroot libc_chroot
-//go:linkname procClose libc_close
-//go:linkname procCreat libc_creat
-//go:linkname procDup libc_dup
-//go:linkname procDup2 libc_dup2
-//go:linkname procExit libc_exit
-//go:linkname procFchdir libc_fchdir
-//go:linkname procFchmod libc_fchmod
-//go:linkname procFchmodat libc_fchmodat
-//go:linkname procFchown libc_fchown
-//go:linkname procFchownat libc_fchownat
-//go:linkname procFdatasync libc_fdatasync
-//go:linkname procFpathconf libc_fpathconf
-//go:linkname procFstat libc_fstat
-//go:linkname procGetdents libc_getdents
-//go:linkname procGetgid libc_getgid
-//go:linkname procGetpid libc_getpid
-//go:linkname procGetpgid libc_getpgid
-//go:linkname procGetpgrp libc_getpgrp
-//go:linkname procGeteuid libc_geteuid
-//go:linkname procGetegid libc_getegid
-//go:linkname procGetppid libc_getppid
-//go:linkname procGetpriority libc_getpriority
-//go:linkname procGetrlimit libc_getrlimit
-//go:linkname procGetrusage libc_getrusage
-//go:linkname procGettimeofday libc_gettimeofday
-//go:linkname procGetuid libc_getuid
-//go:linkname procKill libc_kill
-//go:linkname procLchown libc_lchown
-//go:linkname procLink libc_link
-//go:linkname proclisten libc_listen
-//go:linkname procLstat libc_lstat
-//go:linkname procMadvise libc_madvise
-//go:linkname procMkdir libc_mkdir
-//go:linkname procMkdirat libc_mkdirat
-//go:linkname procMkfifo libc_mkfifo
-//go:linkname procMkfifoat libc_mkfifoat
-//go:linkname procMknod libc_mknod
-//go:linkname procMknodat libc_mknodat
-//go:linkname procMlock libc_mlock
-//go:linkname procMlockall libc_mlockall
-//go:linkname procMprotect libc_mprotect
-//go:linkname procMunlock libc_munlock
-//go:linkname procMunlockall libc_munlockall
-//go:linkname procNanosleep libc_nanosleep
-//go:linkname procOpen libc_open
-//go:linkname procOpenat libc_openat
-//go:linkname procPathconf libc_pathconf
-//go:linkname procPause libc_pause
-//go:linkname procPread libc_pread
-//go:linkname procPwrite libc_pwrite
-//go:linkname procread libc_read
-//go:linkname procReadlink libc_readlink
-//go:linkname procRename libc_rename
-//go:linkname procRenameat libc_renameat
-//go:linkname procRmdir libc_rmdir
-//go:linkname proclseek libc_lseek
-//go:linkname procSetegid libc_setegid
-//go:linkname procSeteuid libc_seteuid
-//go:linkname procSetgid libc_setgid
-//go:linkname procSethostname libc_sethostname
-//go:linkname procSetpgid libc_setpgid
-//go:linkname procSetpriority libc_setpriority
-//go:linkname procSetregid libc_setregid
-//go:linkname procSetreuid libc_setreuid
-//go:linkname procSetrlimit libc_setrlimit
-//go:linkname procSetsid libc_setsid
-//go:linkname procSetuid libc_setuid
-//go:linkname procshutdown libc_shutdown
-//go:linkname procStat libc_stat
-//go:linkname procSymlink libc_symlink
-//go:linkname procSync libc_sync
-//go:linkname procTimes libc_times
-//go:linkname procTruncate libc_truncate
-//go:linkname procFsync libc_fsync
-//go:linkname procFtruncate libc_ftruncate
-//go:linkname procUmask libc_umask
-//go:linkname procUname libc_uname
-//go:linkname procumount libc_umount
-//go:linkname procUnlink libc_unlink
-//go:linkname procUnlinkat libc_unlinkat
-//go:linkname procUstat libc_ustat
-//go:linkname procUtime libc_utime
-//go:linkname procbind libc_bind
-//go:linkname procconnect libc_connect
-//go:linkname procmmap libc_mmap
-//go:linkname procmunmap libc_munmap
-//go:linkname procsendto libc_sendto
-//go:linkname procsocket libc_socket
-//go:linkname procsocketpair libc_socketpair
-//go:linkname procwrite libc_write
-//go:linkname procgetsockopt libc_getsockopt
-//go:linkname procgetpeername libc_getpeername
-//go:linkname procsetsockopt libc_setsockopt
-//go:linkname procrecvfrom libc_recvfrom
-//go:linkname procsysconf libc_sysconf
-
-var (
-       procpipe,
-       procgetsockname,
-       procGetcwd,
-       procgetgroups,
-       procsetgroups,
-       procwait4,
-       procgethostname,
-       procutimes,
-       procutimensat,
-       procfcntl,
-       procfutimesat,
-       procaccept,
-       procrecvmsg,
-       procsendmsg,
-       procacct,
-       procioctl,
-       procAccess,
-       procAdjtime,
-       procChdir,
-       procChmod,
-       procChown,
-       procChroot,
-       procClose,
-       procCreat,
-       procDup,
-       procDup2,
-       procExit,
-       procFchdir,
-       procFchmod,
-       procFchmodat,
-       procFchown,
-       procFchownat,
-       procFdatasync,
-       procFpathconf,
-       procFstat,
-       procGetdents,
-       procGetgid,
-       procGetpid,
-       procGetpgid,
-       procGetpgrp,
-       procGeteuid,
-       procGetegid,
-       procGetppid,
-       procGetpriority,
-       procGetrlimit,
-       procGetrusage,
-       procGettimeofday,
-       procGetuid,
-       procKill,
-       procLchown,
-       procLink,
-       proclisten,
-       procLstat,
-       procMadvise,
-       procMkdir,
-       procMkdirat,
-       procMkfifo,
-       procMkfifoat,
-       procMknod,
-       procMknodat,
-       procMlock,
-       procMlockall,
-       procMprotect,
-       procMunlock,
-       procMunlockall,
-       procNanosleep,
-       procOpen,
-       procOpenat,
-       procPathconf,
-       procPause,
-       procPread,
-       procPwrite,
-       procread,
-       procReadlink,
-       procRename,
-       procRenameat,
-       procRmdir,
-       proclseek,
-       procSetegid,
-       procSeteuid,
-       procSetgid,
-       procSethostname,
-       procSetpgid,
-       procSetpriority,
-       procSetregid,
-       procSetreuid,
-       procSetrlimit,
-       procSetsid,
-       procSetuid,
-       procshutdown,
-       procStat,
-       procSymlink,
-       procSync,
-       procTimes,
-       procTruncate,
-       procFsync,
-       procFtruncate,
-       procUmask,
-       procUname,
-       procumount,
-       procUnlink,
-       procUnlinkat,
-       procUstat,
-       procUtime,
-       procbind,
-       procconnect,
-       procmmap,
-       procmunmap,
-       procsendto,
-       procsocket,
-       procsocketpair,
-       procwrite,
-       procgetsockopt,
-       procgetpeername,
-       procsetsockopt,
-       procrecvfrom,
-       procsysconf syscallFunc
-)
-
-func pipe(p *[2]_C_int) (n int, err error) {
-       r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procpipe)), 1, uintptr(unsafe.Pointer(p)), 0, 0, 0, 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procgetsockname)), 3, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Getcwd(buf []byte) (n int, err error) {
-       var _p0 *byte
-       if len(buf) > 0 {
-               _p0 = &buf[0]
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procGetcwd)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), 0, 0, 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-       r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procgetgroups)), 2, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0, 0, 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func setgroups(ngid int, gid *_Gid_t) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procsetgroups)), 2, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func wait4(pid int32, statusp *_C_int, options int, rusage *Rusage) (wpid int32, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procwait4)), 4, uintptr(pid), uintptr(unsafe.Pointer(statusp)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-       wpid = int32(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func gethostname(buf []byte) (n int, err error) {
-       var _p0 *byte
-       if len(buf) > 0 {
-               _p0 = &buf[0]
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procgethostname)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), 0, 0, 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func utimes(path string, times *[2]Timeval) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procutimes)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func utimensat(fd int, path string, times *[2]Timespec, flag int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procutimensat)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flag), 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func fcntl(fd int, cmd int, arg int) (val int, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(arg), 0, 0, 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func futimesat(fildes int, path *byte, times *[2]Timeval) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfutimesat)), 3, uintptr(fildes), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procaccept)), 3, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procrecvmsg)), 3, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsendmsg)), 3, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func acct(path *byte) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procacct)), 1, uintptr(unsafe.Pointer(path)), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func ioctl(fd int, req int, arg uintptr) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procioctl)), 3, uintptr(fd), uintptr(req), uintptr(arg), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Access(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procAccess)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procAdjtime)), 2, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Chdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procChdir)), 1, uintptr(unsafe.Pointer(_p0)), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Chmod(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procChmod)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Chown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procChown)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Chroot(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procChroot)), 1, uintptr(unsafe.Pointer(_p0)), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Close(fd int) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procClose)), 1, uintptr(fd), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Creat(path string, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procCreat)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Dup(fd int) (nfd int, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procDup)), 1, uintptr(fd), 0, 0, 0, 0, 0)
-       nfd = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Dup2(oldfd int, newfd int) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procDup2)), 2, uintptr(oldfd), uintptr(newfd), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Exit(code int) {
-       sysvicall6(uintptr(unsafe.Pointer(&procExit)), 1, uintptr(code), 0, 0, 0, 0, 0)
-       return
-}
-
-func Fchdir(fd int) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchdir)), 1, uintptr(fd), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Fchmod(fd int, mode uint32) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchmod)), 2, uintptr(fd), uintptr(mode), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchmodat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Fchown(fd int, uid int, gid int) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchown)), 3, uintptr(fd), uintptr(uid), uintptr(gid), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchownat)), 5, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Fdatasync(fd int) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFdatasync)), 1, uintptr(fd), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Fpathconf(fd int, name int) (val int, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFpathconf)), 2, uintptr(fd), uintptr(name), 0, 0, 0, 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Fstat(fd int, stat *Stat_t) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFstat)), 2, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Getdents(fd int, buf []byte, basep *uintptr) (n int, err error) {
-       var _p0 *byte
-       if len(buf) > 0 {
-               _p0 = &buf[0]
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procGetdents)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Getgid() (gid int) {
-       r0, _, _ := rawSysvicall6(uintptr(unsafe.Pointer(&procGetgid)), 0, 0, 0, 0, 0, 0, 0)
-       gid = int(r0)
-       return
-}
-
-func Getpid() (pid int) {
-       r0, _, _ := rawSysvicall6(uintptr(unsafe.Pointer(&procGetpid)), 0, 0, 0, 0, 0, 0, 0)
-       pid = int(r0)
-       return
-}
-
-func Getpgid(pid int) (pgid int, err error) {
-       r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetpgid)), 1, uintptr(pid), 0, 0, 0, 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Getpgrp() (pgid int, err error) {
-       r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetpgrp)), 0, 0, 0, 0, 0, 0, 0)
-       pgid = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Geteuid() (euid int) {
-       r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procGeteuid)), 0, 0, 0, 0, 0, 0, 0)
-       euid = int(r0)
-       return
-}
-
-func Getegid() (egid int) {
-       r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procGetegid)), 0, 0, 0, 0, 0, 0, 0)
-       egid = int(r0)
-       return
-}
-
-func Getppid() (ppid int) {
-       r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procGetppid)), 0, 0, 0, 0, 0, 0, 0)
-       ppid = int(r0)
-       return
-}
-
-func Getpriority(which int, who int) (n int, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procGetpriority)), 2, uintptr(which), uintptr(who), 0, 0, 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Getrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetrlimit)), 2, uintptr(which), uintptr(unsafe.Pointer(lim)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Getrusage(who int, rusage *Rusage) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetrusage)), 2, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Gettimeofday(tv *Timeval) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGettimeofday)), 1, uintptr(unsafe.Pointer(tv)), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Getuid() (uid int) {
-       r0, _, _ := rawSysvicall6(uintptr(unsafe.Pointer(&procGetuid)), 0, 0, 0, 0, 0, 0, 0)
-       uid = int(r0)
-       return
-}
-
-func Kill(pid int, signum syscall.Signal) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procKill)), 2, uintptr(pid), uintptr(signum), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Lchown(path string, uid int, gid int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procLchown)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Link(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procLink)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Listen(s int, backlog int) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proclisten)), 2, uintptr(s), uintptr(backlog), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Lstat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procLstat)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Madvise(b []byte, advice int) (err error) {
-       var _p0 *byte
-       if len(b) > 0 {
-               _p0 = &b[0]
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMadvise)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), uintptr(advice), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Mkdir(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMkdir)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMkdirat)), 3, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Mkfifo(path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMkfifo)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Mkfifoat(dirfd int, path string, mode uint32) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMkfifoat)), 3, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Mknod(path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMknod)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMknodat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Mlock(b []byte) (err error) {
-       var _p0 *byte
-       if len(b) > 0 {
-               _p0 = &b[0]
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMlock)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Mlockall(flags int) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMlockall)), 1, uintptr(flags), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Mprotect(b []byte, prot int) (err error) {
-       var _p0 *byte
-       if len(b) > 0 {
-               _p0 = &b[0]
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMprotect)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), uintptr(prot), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Munlock(b []byte) (err error) {
-       var _p0 *byte
-       if len(b) > 0 {
-               _p0 = &b[0]
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMunlock)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Munlockall() (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMunlockall)), 0, 0, 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procNanosleep)), 2, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Open(path string, mode int, perm uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procOpen)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procOpenat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Pathconf(path string, name int) (val int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procPathconf)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0, 0, 0, 0)
-       val = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Pause() (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procPause)), 0, 0, 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 *byte
-       if len(p) > 0 {
-               _p0 = &p[0]
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procPread)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-       var _p0 *byte
-       if len(p) > 0 {
-               _p0 = &p[0]
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procPwrite)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), uintptr(offset), 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func read(fd int, p []byte) (n int, err error) {
-       var _p0 *byte
-       if len(p) > 0 {
-               _p0 = &p[0]
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procread)), 3, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), 0, 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Readlink(path string, buf []byte) (n int, err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       if len(buf) > 0 {
-               _p1 = &buf[0]
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procReadlink)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(len(buf)), 0, 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Rename(from string, to string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(from)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(to)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procRename)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(oldpath)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(newpath)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procRenameat)), 4, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Rmdir(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procRmdir)), 1, uintptr(unsafe.Pointer(_p0)), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proclseek)), 3, uintptr(fd), uintptr(offset), uintptr(whence), 0, 0, 0)
-       newoffset = int64(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Setegid(egid int) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetegid)), 1, uintptr(egid), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Seteuid(euid int) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSeteuid)), 1, uintptr(euid), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Setgid(gid int) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetgid)), 1, uintptr(gid), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Sethostname(p []byte) (err error) {
-       var _p0 *byte
-       if len(p) > 0 {
-               _p0 = &p[0]
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSethostname)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Setpgid(pid int, pgid int) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetpgid)), 2, uintptr(pid), uintptr(pgid), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Setpriority(which int, who int, prio int) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSetpriority)), 3, uintptr(which), uintptr(who), uintptr(prio), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Setregid(rgid int, egid int) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetregid)), 2, uintptr(rgid), uintptr(egid), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Setreuid(ruid int, euid int) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetreuid)), 2, uintptr(ruid), uintptr(euid), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Setrlimit(which int, lim *Rlimit) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetrlimit)), 2, uintptr(which), uintptr(unsafe.Pointer(lim)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Setsid() (pid int, err error) {
-       r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetsid)), 0, 0, 0, 0, 0, 0, 0)
-       pid = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Setuid(uid int) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetuid)), 1, uintptr(uid), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Shutdown(s int, how int) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procshutdown)), 2, uintptr(s), uintptr(how), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Stat(path string, stat *Stat_t) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procStat)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Symlink(path string, link string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       var _p1 *byte
-       _p1, err = BytePtrFromString(link)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSymlink)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Sync() (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSync)), 0, 0, 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Times(tms *Tms) (ticks uintptr, err error) {
-       r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procTimes)), 1, uintptr(unsafe.Pointer(tms)), 0, 0, 0, 0, 0)
-       ticks = uintptr(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Truncate(path string, length int64) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procTruncate)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Fsync(fd int) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFsync)), 1, uintptr(fd), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Ftruncate(fd int, length int64) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFtruncate)), 2, uintptr(fd), uintptr(length), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Umask(mask int) (oldmask int) {
-       r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procUmask)), 1, uintptr(mask), 0, 0, 0, 0, 0)
-       oldmask = int(r0)
-       return
-}
-
-func Uname(buf *Utsname) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procUname)), 1, uintptr(unsafe.Pointer(buf)), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Unmount(target string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(target)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procumount)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Unlink(path string) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUnlink)), 1, uintptr(unsafe.Pointer(_p0)), 0, 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Unlinkat(dirfd int, path string, flags int) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUnlinkat)), 3, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Ustat(dev int, ubuf *Ustat_t) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUstat)), 2, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func Utime(path string, buf *Utimbuf) (err error) {
-       var _p0 *byte
-       _p0, err = BytePtrFromString(path)
-       if err != nil {
-               return
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUtime)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procbind)), 3, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procconnect)), 3, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procmmap)), 6, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
-       ret = uintptr(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func munmap(addr uintptr, length uintptr) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procmunmap)), 2, uintptr(addr), uintptr(length), 0, 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-       var _p0 *byte
-       if len(buf) > 0 {
-               _p0 = &buf[0]
-       }
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsendto)), 6, uintptr(s), uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func socket(domain int, typ int, proto int) (fd int, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsocket)), 3, uintptr(domain), uintptr(typ), uintptr(proto), 0, 0, 0)
-       fd = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procsocketpair)), 4, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func write(fd int, p []byte) (n int, err error) {
-       var _p0 *byte
-       if len(p) > 0 {
-               _p0 = &p[0]
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procwrite)), 3, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), 0, 0, 0)
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procgetsockopt)), 5, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-       _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procgetpeername)), 3, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-       _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsetsockopt)), 5, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-       var _p0 *byte
-       if len(p) > 0 {
-               _p0 = &p[0]
-       }
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procrecvfrom)), 6, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-       n = int(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
-
-func sysconf(name int) (n int64, err error) {
-       r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsysconf)), 1, uintptr(name), 0, 0, 0, 0, 0)
-       n = int64(r0)
-       if e1 != 0 {
-               err = e1
-       }
-       return
-}
diff --git a/vendor/golang.org/x/sys/unix/zsysctl_openbsd.go b/vendor/golang.org/x/sys/unix/zsysctl_openbsd.go
deleted file mode 100644 (file)
index 83bb935..0000000
+++ /dev/null
@@ -1,270 +0,0 @@
-// mksysctl_openbsd.pl
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-package unix
-
-type mibentry struct {
-       ctlname string
-       ctloid  []_C_int
-}
-
-var sysctlMib = []mibentry{
-       {"ddb.console", []_C_int{9, 6}},
-       {"ddb.log", []_C_int{9, 7}},
-       {"ddb.max_line", []_C_int{9, 3}},
-       {"ddb.max_width", []_C_int{9, 2}},
-       {"ddb.panic", []_C_int{9, 5}},
-       {"ddb.radix", []_C_int{9, 1}},
-       {"ddb.tab_stop_width", []_C_int{9, 4}},
-       {"ddb.trigger", []_C_int{9, 8}},
-       {"fs.posix.setuid", []_C_int{3, 1, 1}},
-       {"hw.allowpowerdown", []_C_int{6, 22}},
-       {"hw.byteorder", []_C_int{6, 4}},
-       {"hw.cpuspeed", []_C_int{6, 12}},
-       {"hw.diskcount", []_C_int{6, 10}},
-       {"hw.disknames", []_C_int{6, 8}},
-       {"hw.diskstats", []_C_int{6, 9}},
-       {"hw.machine", []_C_int{6, 1}},
-       {"hw.model", []_C_int{6, 2}},
-       {"hw.ncpu", []_C_int{6, 3}},
-       {"hw.ncpufound", []_C_int{6, 21}},
-       {"hw.pagesize", []_C_int{6, 7}},
-       {"hw.physmem", []_C_int{6, 19}},
-       {"hw.product", []_C_int{6, 15}},
-       {"hw.serialno", []_C_int{6, 17}},
-       {"hw.setperf", []_C_int{6, 13}},
-       {"hw.usermem", []_C_int{6, 20}},
-       {"hw.uuid", []_C_int{6, 18}},
-       {"hw.vendor", []_C_int{6, 14}},
-       {"hw.version", []_C_int{6, 16}},
-       {"kern.arandom", []_C_int{1, 37}},
-       {"kern.argmax", []_C_int{1, 8}},
-       {"kern.boottime", []_C_int{1, 21}},
-       {"kern.bufcachepercent", []_C_int{1, 72}},
-       {"kern.ccpu", []_C_int{1, 45}},
-       {"kern.clockrate", []_C_int{1, 12}},
-       {"kern.consdev", []_C_int{1, 75}},
-       {"kern.cp_time", []_C_int{1, 40}},
-       {"kern.cp_time2", []_C_int{1, 71}},
-       {"kern.cryptodevallowsoft", []_C_int{1, 53}},
-       {"kern.domainname", []_C_int{1, 22}},
-       {"kern.file", []_C_int{1, 73}},
-       {"kern.forkstat", []_C_int{1, 42}},
-       {"kern.fscale", []_C_int{1, 46}},
-       {"kern.fsync", []_C_int{1, 33}},
-       {"kern.hostid", []_C_int{1, 11}},
-       {"kern.hostname", []_C_int{1, 10}},
-       {"kern.intrcnt.nintrcnt", []_C_int{1, 63, 1}},
-       {"kern.job_control", []_C_int{1, 19}},
-       {"kern.malloc.buckets", []_C_int{1, 39, 1}},
-       {"kern.malloc.kmemnames", []_C_int{1, 39, 3}},
-       {"kern.maxclusters", []_C_int{1, 67}},
-       {"kern.maxfiles", []_C_int{1, 7}},
-       {"kern.maxlocksperuid", []_C_int{1, 70}},
-       {"kern.maxpartitions", []_C_int{1, 23}},
-       {"kern.maxproc", []_C_int{1, 6}},
-       {"kern.maxthread", []_C_int{1, 25}},
-       {"kern.maxvnodes", []_C_int{1, 5}},
-       {"kern.mbstat", []_C_int{1, 59}},
-       {"kern.msgbuf", []_C_int{1, 48}},
-       {"kern.msgbufsize", []_C_int{1, 38}},
-       {"kern.nchstats", []_C_int{1, 41}},
-       {"kern.netlivelocks", []_C_int{1, 76}},
-       {"kern.nfiles", []_C_int{1, 56}},
-       {"kern.ngroups", []_C_int{1, 18}},
-       {"kern.nosuidcoredump", []_C_int{1, 32}},
-       {"kern.nprocs", []_C_int{1, 47}},
-       {"kern.nselcoll", []_C_int{1, 43}},
-       {"kern.nthreads", []_C_int{1, 26}},
-       {"kern.numvnodes", []_C_int{1, 58}},
-       {"kern.osrelease", []_C_int{1, 2}},
-       {"kern.osrevision", []_C_int{1, 3}},
-       {"kern.ostype", []_C_int{1, 1}},
-       {"kern.osversion", []_C_int{1, 27}},
-       {"kern.pool_debug", []_C_int{1, 77}},
-       {"kern.posix1version", []_C_int{1, 17}},
-       {"kern.proc", []_C_int{1, 66}},
-       {"kern.random", []_C_int{1, 31}},
-       {"kern.rawpartition", []_C_int{1, 24}},
-       {"kern.saved_ids", []_C_int{1, 20}},
-       {"kern.securelevel", []_C_int{1, 9}},
-       {"kern.seminfo", []_C_int{1, 61}},
-       {"kern.shminfo", []_C_int{1, 62}},
-       {"kern.somaxconn", []_C_int{1, 28}},
-       {"kern.sominconn", []_C_int{1, 29}},
-       {"kern.splassert", []_C_int{1, 54}},
-       {"kern.stackgap_random", []_C_int{1, 50}},
-       {"kern.sysvipc_info", []_C_int{1, 51}},
-       {"kern.sysvmsg", []_C_int{1, 34}},
-       {"kern.sysvsem", []_C_int{1, 35}},
-       {"kern.sysvshm", []_C_int{1, 36}},
-       {"kern.timecounter.choice", []_C_int{1, 69, 4}},
-       {"kern.timecounter.hardware", []_C_int{1, 69, 3}},
-       {"kern.timecounter.tick", []_C_int{1, 69, 1}},
-       {"kern.timecounter.timestepwarnings", []_C_int{1, 69, 2}},
-       {"kern.tty.maxptys", []_C_int{1, 44, 6}},
-       {"kern.tty.nptys", []_C_int{1, 44, 7}},
-       {"kern.tty.tk_cancc", []_C_int{1, 44, 4}},
-       {"kern.tty.tk_nin", []_C_int{1, 44, 1}},
-       {"kern.tty.tk_nout", []_C_int{1, 44, 2}},
-       {"kern.tty.tk_rawcc", []_C_int{1, 44, 3}},
-       {"kern.tty.ttyinfo", []_C_int{1, 44, 5}},
-       {"kern.ttycount", []_C_int{1, 57}},
-       {"kern.userasymcrypto", []_C_int{1, 60}},
-       {"kern.usercrypto", []_C_int{1, 52}},
-       {"kern.usermount", []_C_int{1, 30}},
-       {"kern.version", []_C_int{1, 4}},
-       {"kern.vnode", []_C_int{1, 13}},
-       {"kern.watchdog.auto", []_C_int{1, 64, 2}},
-       {"kern.watchdog.period", []_C_int{1, 64, 1}},
-       {"net.bpf.bufsize", []_C_int{4, 31, 1}},
-       {"net.bpf.maxbufsize", []_C_int{4, 31, 2}},
-       {"net.inet.ah.enable", []_C_int{4, 2, 51, 1}},
-       {"net.inet.ah.stats", []_C_int{4, 2, 51, 2}},
-       {"net.inet.carp.allow", []_C_int{4, 2, 112, 1}},
-       {"net.inet.carp.log", []_C_int{4, 2, 112, 3}},
-       {"net.inet.carp.preempt", []_C_int{4, 2, 112, 2}},
-       {"net.inet.carp.stats", []_C_int{4, 2, 112, 4}},
-       {"net.inet.divert.recvspace", []_C_int{4, 2, 258, 1}},
-       {"net.inet.divert.sendspace", []_C_int{4, 2, 258, 2}},
-       {"net.inet.divert.stats", []_C_int{4, 2, 258, 3}},
-       {"net.inet.esp.enable", []_C_int{4, 2, 50, 1}},
-       {"net.inet.esp.stats", []_C_int{4, 2, 50, 4}},
-       {"net.inet.esp.udpencap", []_C_int{4, 2, 50, 2}},
-       {"net.inet.esp.udpencap_port", []_C_int{4, 2, 50, 3}},
-       {"net.inet.etherip.allow", []_C_int{4, 2, 97, 1}},
-       {"net.inet.etherip.stats", []_C_int{4, 2, 97, 2}},
-       {"net.inet.gre.allow", []_C_int{4, 2, 47, 1}},
-       {"net.inet.gre.wccp", []_C_int{4, 2, 47, 2}},
-       {"net.inet.icmp.bmcastecho", []_C_int{4, 2, 1, 2}},
-       {"net.inet.icmp.errppslimit", []_C_int{4, 2, 1, 3}},
-       {"net.inet.icmp.maskrepl", []_C_int{4, 2, 1, 1}},
-       {"net.inet.icmp.rediraccept", []_C_int{4, 2, 1, 4}},
-       {"net.inet.icmp.redirtimeout", []_C_int{4, 2, 1, 5}},
-       {"net.inet.icmp.stats", []_C_int{4, 2, 1, 7}},
-       {"net.inet.icmp.tstamprepl", []_C_int{4, 2, 1, 6}},
-       {"net.inet.igmp.stats", []_C_int{4, 2, 2, 1}},
-       {"net.inet.ip.arpqueued", []_C_int{4, 2, 0, 36}},
-       {"net.inet.ip.encdebug", []_C_int{4, 2, 0, 12}},
-       {"net.inet.ip.forwarding", []_C_int{4, 2, 0, 1}},
-       {"net.inet.ip.ifq.congestion", []_C_int{4, 2, 0, 30, 4}},
-       {"net.inet.ip.ifq.drops", []_C_int{4, 2, 0, 30, 3}},
-       {"net.inet.ip.ifq.len", []_C_int{4, 2, 0, 30, 1}},
-       {"net.inet.ip.ifq.maxlen", []_C_int{4, 2, 0, 30, 2}},
-       {"net.inet.ip.maxqueue", []_C_int{4, 2, 0, 11}},
-       {"net.inet.ip.mforwarding", []_C_int{4, 2, 0, 31}},
-       {"net.inet.ip.mrtproto", []_C_int{4, 2, 0, 34}},
-       {"net.inet.ip.mrtstats", []_C_int{4, 2, 0, 35}},
-       {"net.inet.ip.mtu", []_C_int{4, 2, 0, 4}},
-       {"net.inet.ip.mtudisc", []_C_int{4, 2, 0, 27}},
-       {"net.inet.ip.mtudisctimeout", []_C_int{4, 2, 0, 28}},
-       {"net.inet.ip.multipath", []_C_int{4, 2, 0, 32}},
-       {"net.inet.ip.portfirst", []_C_int{4, 2, 0, 7}},
-       {"net.inet.ip.porthifirst", []_C_int{4, 2, 0, 9}},
-       {"net.inet.ip.porthilast", []_C_int{4, 2, 0, 10}},
-       {"net.inet.ip.portlast", []_C_int{4, 2, 0, 8}},
-       {"net.inet.ip.redirect", []_C_int{4, 2, 0, 2}},
-       {"net.inet.ip.sourceroute", []_C_int{4, 2, 0, 5}},
-       {"net.inet.ip.stats", []_C_int{4, 2, 0, 33}},
-       {"net.inet.ip.ttl", []_C_int{4, 2, 0, 3}},
-       {"net.inet.ipcomp.enable", []_C_int{4, 2, 108, 1}},
-       {"net.inet.ipcomp.stats", []_C_int{4, 2, 108, 2}},
-       {"net.inet.ipip.allow", []_C_int{4, 2, 4, 1}},
-       {"net.inet.ipip.stats", []_C_int{4, 2, 4, 2}},
-       {"net.inet.mobileip.allow", []_C_int{4, 2, 55, 1}},
-       {"net.inet.pfsync.stats", []_C_int{4, 2, 240, 1}},
-       {"net.inet.pim.stats", []_C_int{4, 2, 103, 1}},
-       {"net.inet.tcp.ackonpush", []_C_int{4, 2, 6, 13}},
-       {"net.inet.tcp.always_keepalive", []_C_int{4, 2, 6, 22}},
-       {"net.inet.tcp.baddynamic", []_C_int{4, 2, 6, 6}},
-       {"net.inet.tcp.drop", []_C_int{4, 2, 6, 19}},
-       {"net.inet.tcp.ecn", []_C_int{4, 2, 6, 14}},
-       {"net.inet.tcp.ident", []_C_int{4, 2, 6, 9}},
-       {"net.inet.tcp.keepidle", []_C_int{4, 2, 6, 3}},
-       {"net.inet.tcp.keepinittime", []_C_int{4, 2, 6, 2}},
-       {"net.inet.tcp.keepintvl", []_C_int{4, 2, 6, 4}},
-       {"net.inet.tcp.mssdflt", []_C_int{4, 2, 6, 11}},
-       {"net.inet.tcp.reasslimit", []_C_int{4, 2, 6, 18}},
-       {"net.inet.tcp.rfc1323", []_C_int{4, 2, 6, 1}},
-       {"net.inet.tcp.rfc3390", []_C_int{4, 2, 6, 17}},
-       {"net.inet.tcp.rstppslimit", []_C_int{4, 2, 6, 12}},
-       {"net.inet.tcp.sack", []_C_int{4, 2, 6, 10}},
-       {"net.inet.tcp.sackholelimit", []_C_int{4, 2, 6, 20}},
-       {"net.inet.tcp.slowhz", []_C_int{4, 2, 6, 5}},
-       {"net.inet.tcp.stats", []_C_int{4, 2, 6, 21}},
-       {"net.inet.tcp.synbucketlimit", []_C_int{4, 2, 6, 16}},
-       {"net.inet.tcp.syncachelimit", []_C_int{4, 2, 6, 15}},
-       {"net.inet.udp.baddynamic", []_C_int{4, 2, 17, 2}},
-       {"net.inet.udp.checksum", []_C_int{4, 2, 17, 1}},
-       {"net.inet.udp.recvspace", []_C_int{4, 2, 17, 3}},
-       {"net.inet.udp.sendspace", []_C_int{4, 2, 17, 4}},
-       {"net.inet.udp.stats", []_C_int{4, 2, 17, 5}},
-       {"net.inet6.divert.recvspace", []_C_int{4, 24, 86, 1}},
-       {"net.inet6.divert.sendspace", []_C_int{4, 24, 86, 2}},
-       {"net.inet6.divert.stats", []_C_int{4, 24, 86, 3}},
-       {"net.inet6.icmp6.errppslimit", []_C_int{4, 24, 30, 14}},
-       {"net.inet6.icmp6.mtudisc_hiwat", []_C_int{4, 24, 30, 16}},
-       {"net.inet6.icmp6.mtudisc_lowat", []_C_int{4, 24, 30, 17}},
-       {"net.inet6.icmp6.nd6_debug", []_C_int{4, 24, 30, 18}},
-       {"net.inet6.icmp6.nd6_delay", []_C_int{4, 24, 30, 8}},
-       {"net.inet6.icmp6.nd6_maxnudhint", []_C_int{4, 24, 30, 15}},
-       {"net.inet6.icmp6.nd6_mmaxtries", []_C_int{4, 24, 30, 10}},
-       {"net.inet6.icmp6.nd6_prune", []_C_int{4, 24, 30, 6}},
-       {"net.inet6.icmp6.nd6_umaxtries", []_C_int{4, 24, 30, 9}},
-       {"net.inet6.icmp6.nd6_useloopback", []_C_int{4, 24, 30, 11}},
-       {"net.inet6.icmp6.nodeinfo", []_C_int{4, 24, 30, 13}},
-       {"net.inet6.icmp6.rediraccept", []_C_int{4, 24, 30, 2}},
-       {"net.inet6.icmp6.redirtimeout", []_C_int{4, 24, 30, 3}},
-       {"net.inet6.ip6.accept_rtadv", []_C_int{4, 24, 17, 12}},
-       {"net.inet6.ip6.auto_flowlabel", []_C_int{4, 24, 17, 17}},
-       {"net.inet6.ip6.dad_count", []_C_int{4, 24, 17, 16}},
-       {"net.inet6.ip6.dad_pending", []_C_int{4, 24, 17, 49}},
-       {"net.inet6.ip6.defmcasthlim", []_C_int{4, 24, 17, 18}},
-       {"net.inet6.ip6.forwarding", []_C_int{4, 24, 17, 1}},
-       {"net.inet6.ip6.forwsrcrt", []_C_int{4, 24, 17, 5}},
-       {"net.inet6.ip6.hdrnestlimit", []_C_int{4, 24, 17, 15}},
-       {"net.inet6.ip6.hlim", []_C_int{4, 24, 17, 3}},
-       {"net.inet6.ip6.log_interval", []_C_int{4, 24, 17, 14}},
-       {"net.inet6.ip6.maxdynroutes", []_C_int{4, 24, 17, 48}},
-       {"net.inet6.ip6.maxfragpackets", []_C_int{4, 24, 17, 9}},
-       {"net.inet6.ip6.maxfrags", []_C_int{4, 24, 17, 41}},
-       {"net.inet6.ip6.maxifdefrouters", []_C_int{4, 24, 17, 47}},
-       {"net.inet6.ip6.maxifprefixes", []_C_int{4, 24, 17, 46}},
-       {"net.inet6.ip6.mforwarding", []_C_int{4, 24, 17, 42}},
-       {"net.inet6.ip6.mrtproto", []_C_int{4, 24, 17, 8}},
-       {"net.inet6.ip6.mtudisctimeout", []_C_int{4, 24, 17, 50}},
-       {"net.inet6.ip6.multicast_mtudisc", []_C_int{4, 24, 17, 44}},
-       {"net.inet6.ip6.multipath", []_C_int{4, 24, 17, 43}},
-       {"net.inet6.ip6.neighborgcthresh", []_C_int{4, 24, 17, 45}},
-       {"net.inet6.ip6.redirect", []_C_int{4, 24, 17, 2}},
-       {"net.inet6.ip6.rr_prune", []_C_int{4, 24, 17, 22}},
-       {"net.inet6.ip6.sourcecheck", []_C_int{4, 24, 17, 10}},
-       {"net.inet6.ip6.sourcecheck_logint", []_C_int{4, 24, 17, 11}},
-       {"net.inet6.ip6.use_deprecated", []_C_int{4, 24, 17, 21}},
-       {"net.inet6.ip6.v6only", []_C_int{4, 24, 17, 24}},
-       {"net.key.sadb_dump", []_C_int{4, 30, 1}},
-       {"net.key.spd_dump", []_C_int{4, 30, 2}},
-       {"net.mpls.ifq.congestion", []_C_int{4, 33, 3, 4}},
-       {"net.mpls.ifq.drops", []_C_int{4, 33, 3, 3}},
-       {"net.mpls.ifq.len", []_C_int{4, 33, 3, 1}},
-       {"net.mpls.ifq.maxlen", []_C_int{4, 33, 3, 2}},
-       {"net.mpls.mapttl_ip", []_C_int{4, 33, 5}},
-       {"net.mpls.mapttl_ip6", []_C_int{4, 33, 6}},
-       {"net.mpls.maxloop_inkernel", []_C_int{4, 33, 4}},
-       {"net.mpls.ttl", []_C_int{4, 33, 2}},
-       {"net.pflow.stats", []_C_int{4, 34, 1}},
-       {"net.pipex.enable", []_C_int{4, 35, 1}},
-       {"vm.anonmin", []_C_int{2, 7}},
-       {"vm.loadavg", []_C_int{2, 2}},
-       {"vm.maxslp", []_C_int{2, 10}},
-       {"vm.nkmempages", []_C_int{2, 6}},
-       {"vm.psstrings", []_C_int{2, 3}},
-       {"vm.swapencrypt.enable", []_C_int{2, 5, 0}},
-       {"vm.swapencrypt.keyscreated", []_C_int{2, 5, 1}},
-       {"vm.swapencrypt.keysdeleted", []_C_int{2, 5, 2}},
-       {"vm.uspace", []_C_int{2, 11}},
-       {"vm.uvmexp", []_C_int{2, 4}},
-       {"vm.vmmeter", []_C_int{2, 1}},
-       {"vm.vnodemin", []_C_int{2, 9}},
-       {"vm.vtextmin", []_C_int{2, 8}},
-}
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go b/vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go
deleted file mode 100644 (file)
index 2786773..0000000
+++ /dev/null
@@ -1,398 +0,0 @@
-// mksysnum_darwin.pl /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/syscall.h
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build 386,darwin
-
-package unix
-
-const (
-       SYS_SYSCALL                        = 0
-       SYS_EXIT                           = 1
-       SYS_FORK                           = 2
-       SYS_READ                           = 3
-       SYS_WRITE                          = 4
-       SYS_OPEN                           = 5
-       SYS_CLOSE                          = 6
-       SYS_WAIT4                          = 7
-       SYS_LINK                           = 9
-       SYS_UNLINK                         = 10
-       SYS_CHDIR                          = 12
-       SYS_FCHDIR                         = 13
-       SYS_MKNOD                          = 14
-       SYS_CHMOD                          = 15
-       SYS_CHOWN                          = 16
-       SYS_GETFSSTAT                      = 18
-       SYS_GETPID                         = 20
-       SYS_SETUID                         = 23
-       SYS_GETUID                         = 24
-       SYS_GETEUID                        = 25
-       SYS_PTRACE                         = 26
-       SYS_RECVMSG                        = 27
-       SYS_SENDMSG                        = 28
-       SYS_RECVFROM                       = 29
-       SYS_ACCEPT                         = 30
-       SYS_GETPEERNAME                    = 31
-       SYS_GETSOCKNAME                    = 32
-       SYS_ACCESS                         = 33
-       SYS_CHFLAGS                        = 34
-       SYS_FCHFLAGS                       = 35
-       SYS_SYNC                           = 36
-       SYS_KILL                           = 37
-       SYS_GETPPID                        = 39
-       SYS_DUP                            = 41
-       SYS_PIPE                           = 42
-       SYS_GETEGID                        = 43
-       SYS_SIGACTION                      = 46
-       SYS_GETGID                         = 47
-       SYS_SIGPROCMASK                    = 48
-       SYS_GETLOGIN                       = 49
-       SYS_SETLOGIN                       = 50
-       SYS_ACCT                           = 51
-       SYS_SIGPENDING                     = 52
-       SYS_SIGALTSTACK                    = 53
-       SYS_IOCTL                          = 54
-       SYS_REBOOT                         = 55
-       SYS_REVOKE                         = 56
-       SYS_SYMLINK                        = 57
-       SYS_READLINK                       = 58
-       SYS_EXECVE                         = 59
-       SYS_UMASK                          = 60
-       SYS_CHROOT                         = 61
-       SYS_MSYNC                          = 65
-       SYS_VFORK                          = 66
-       SYS_MUNMAP                         = 73
-       SYS_MPROTECT                       = 74
-       SYS_MADVISE                        = 75
-       SYS_MINCORE                        = 78
-       SYS_GETGROUPS                      = 79
-       SYS_SETGROUPS                      = 80
-       SYS_GETPGRP                        = 81
-       SYS_SETPGID                        = 82
-       SYS_SETITIMER                      = 83
-       SYS_SWAPON                         = 85
-       SYS_GETITIMER                      = 86
-       SYS_GETDTABLESIZE                  = 89
-       SYS_DUP2                           = 90
-       SYS_FCNTL                          = 92
-       SYS_SELECT                         = 93
-       SYS_FSYNC                          = 95
-       SYS_SETPRIORITY                    = 96
-       SYS_SOCKET                         = 97
-       SYS_CONNECT                        = 98
-       SYS_GETPRIORITY                    = 100
-       SYS_BIND                           = 104
-       SYS_SETSOCKOPT                     = 105
-       SYS_LISTEN                         = 106
-       SYS_SIGSUSPEND                     = 111
-       SYS_GETTIMEOFDAY                   = 116
-       SYS_GETRUSAGE                      = 117
-       SYS_GETSOCKOPT                     = 118
-       SYS_READV                          = 120
-       SYS_WRITEV                         = 121
-       SYS_SETTIMEOFDAY                   = 122
-       SYS_FCHOWN                         = 123
-       SYS_FCHMOD                         = 124
-       SYS_SETREUID                       = 126
-       SYS_SETREGID                       = 127
-       SYS_RENAME                         = 128
-       SYS_FLOCK                          = 131
-       SYS_MKFIFO                         = 132
-       SYS_SENDTO                         = 133
-       SYS_SHUTDOWN                       = 134
-       SYS_SOCKETPAIR                     = 135
-       SYS_MKDIR                          = 136
-       SYS_RMDIR                          = 137
-       SYS_UTIMES                         = 138
-       SYS_FUTIMES                        = 139
-       SYS_ADJTIME                        = 140
-       SYS_GETHOSTUUID                    = 142
-       SYS_SETSID                         = 147
-       SYS_GETPGID                        = 151
-       SYS_SETPRIVEXEC                    = 152
-       SYS_PREAD                          = 153
-       SYS_PWRITE                         = 154
-       SYS_NFSSVC                         = 155
-       SYS_STATFS                         = 157
-       SYS_FSTATFS                        = 158
-       SYS_UNMOUNT                        = 159
-       SYS_GETFH                          = 161
-       SYS_QUOTACTL                       = 165
-       SYS_MOUNT                          = 167
-       SYS_CSOPS                          = 169
-       SYS_CSOPS_AUDITTOKEN               = 170
-       SYS_WAITID                         = 173
-       SYS_KDEBUG_TRACE64                 = 179
-       SYS_KDEBUG_TRACE                   = 180
-       SYS_SETGID                         = 181
-       SYS_SETEGID                        = 182
-       SYS_SETEUID                        = 183
-       SYS_SIGRETURN                      = 184
-       SYS_CHUD                           = 185
-       SYS_FDATASYNC                      = 187
-       SYS_STAT                           = 188
-       SYS_FSTAT                          = 189
-       SYS_LSTAT                          = 190
-       SYS_PATHCONF                       = 191
-       SYS_FPATHCONF                      = 192
-       SYS_GETRLIMIT                      = 194
-       SYS_SETRLIMIT                      = 195
-       SYS_GETDIRENTRIES                  = 196
-       SYS_MMAP                           = 197
-       SYS_LSEEK                          = 199
-       SYS_TRUNCATE                       = 200
-       SYS_FTRUNCATE                      = 201
-       SYS_SYSCTL                         = 202
-       SYS_MLOCK                          = 203
-       SYS_MUNLOCK                        = 204
-       SYS_UNDELETE                       = 205
-       SYS_OPEN_DPROTECTED_NP             = 216
-       SYS_GETATTRLIST                    = 220
-       SYS_SETATTRLIST                    = 221
-       SYS_GETDIRENTRIESATTR              = 222
-       SYS_EXCHANGEDATA                   = 223
-       SYS_SEARCHFS                       = 225
-       SYS_DELETE                         = 226
-       SYS_COPYFILE                       = 227
-       SYS_FGETATTRLIST                   = 228
-       SYS_FSETATTRLIST                   = 229
-       SYS_POLL                           = 230
-       SYS_WATCHEVENT                     = 231
-       SYS_WAITEVENT                      = 232
-       SYS_MODWATCH                       = 233
-       SYS_GETXATTR                       = 234
-       SYS_FGETXATTR                      = 235
-       SYS_SETXATTR                       = 236
-       SYS_FSETXATTR                      = 237
-       SYS_REMOVEXATTR                    = 238
-       SYS_FREMOVEXATTR                   = 239
-       SYS_LISTXATTR                      = 240
-       SYS_FLISTXATTR                     = 241
-       SYS_FSCTL                          = 242
-       SYS_INITGROUPS                     = 243
-       SYS_POSIX_SPAWN                    = 244
-       SYS_FFSCTL                         = 245
-       SYS_NFSCLNT                        = 247
-       SYS_FHOPEN                         = 248
-       SYS_MINHERIT                       = 250
-       SYS_SEMSYS                         = 251
-       SYS_MSGSYS                         = 252
-       SYS_SHMSYS                         = 253
-       SYS_SEMCTL                         = 254
-       SYS_SEMGET                         = 255
-       SYS_SEMOP                          = 256
-       SYS_MSGCTL                         = 258
-       SYS_MSGGET                         = 259
-       SYS_MSGSND                         = 260
-       SYS_MSGRCV                         = 261
-       SYS_SHMAT                          = 262
-       SYS_SHMCTL                         = 263
-       SYS_SHMDT                          = 264
-       SYS_SHMGET                         = 265
-       SYS_SHM_OPEN                       = 266
-       SYS_SHM_UNLINK                     = 267
-       SYS_SEM_OPEN                       = 268
-       SYS_SEM_CLOSE                      = 269
-       SYS_SEM_UNLINK                     = 270
-       SYS_SEM_WAIT                       = 271
-       SYS_SEM_TRYWAIT                    = 272
-       SYS_SEM_POST                       = 273
-       SYS_SYSCTLBYNAME                   = 274
-       SYS_OPEN_EXTENDED                  = 277
-       SYS_UMASK_EXTENDED                 = 278
-       SYS_STAT_EXTENDED                  = 279
-       SYS_LSTAT_EXTENDED                 = 280
-       SYS_FSTAT_EXTENDED                 = 281
-       SYS_CHMOD_EXTENDED                 = 282
-       SYS_FCHMOD_EXTENDED                = 283
-       SYS_ACCESS_EXTENDED                = 284
-       SYS_SETTID                         = 285
-       SYS_GETTID                         = 286
-       SYS_SETSGROUPS                     = 287
-       SYS_GETSGROUPS                     = 288
-       SYS_SETWGROUPS                     = 289
-       SYS_GETWGROUPS                     = 290
-       SYS_MKFIFO_EXTENDED                = 291
-       SYS_MKDIR_EXTENDED                 = 292
-       SYS_IDENTITYSVC                    = 293
-       SYS_SHARED_REGION_CHECK_NP         = 294
-       SYS_VM_PRESSURE_MONITOR            = 296
-       SYS_PSYNCH_RW_LONGRDLOCK           = 297
-       SYS_PSYNCH_RW_YIELDWRLOCK          = 298
-       SYS_PSYNCH_RW_DOWNGRADE            = 299
-       SYS_PSYNCH_RW_UPGRADE              = 300
-       SYS_PSYNCH_MUTEXWAIT               = 301
-       SYS_PSYNCH_MUTEXDROP               = 302
-       SYS_PSYNCH_CVBROAD                 = 303
-       SYS_PSYNCH_CVSIGNAL                = 304
-       SYS_PSYNCH_CVWAIT                  = 305
-       SYS_PSYNCH_RW_RDLOCK               = 306
-       SYS_PSYNCH_RW_WRLOCK               = 307
-       SYS_PSYNCH_RW_UNLOCK               = 308
-       SYS_PSYNCH_RW_UNLOCK2              = 309
-       SYS_GETSID                         = 310
-       SYS_SETTID_WITH_PID                = 311
-       SYS_PSYNCH_CVCLRPREPOST            = 312
-       SYS_AIO_FSYNC                      = 313
-       SYS_AIO_RETURN                     = 314
-       SYS_AIO_SUSPEND                    = 315
-       SYS_AIO_CANCEL                     = 316
-       SYS_AIO_ERROR                      = 317
-       SYS_AIO_READ                       = 318
-       SYS_AIO_WRITE                      = 319
-       SYS_LIO_LISTIO                     = 320
-       SYS_IOPOLICYSYS                    = 322
-       SYS_PROCESS_POLICY                 = 323
-       SYS_MLOCKALL                       = 324
-       SYS_MUNLOCKALL                     = 325
-       SYS_ISSETUGID                      = 327
-       SYS___PTHREAD_KILL                 = 328
-       SYS___PTHREAD_SIGMASK              = 329
-       SYS___SIGWAIT                      = 330
-       SYS___DISABLE_THREADSIGNAL         = 331
-       SYS___PTHREAD_MARKCANCEL           = 332
-       SYS___PTHREAD_CANCELED             = 333
-       SYS___SEMWAIT_SIGNAL               = 334
-       SYS_PROC_INFO                      = 336
-       SYS_SENDFILE                       = 337
-       SYS_STAT64                         = 338
-       SYS_FSTAT64                        = 339
-       SYS_LSTAT64                        = 340
-       SYS_STAT64_EXTENDED                = 341
-       SYS_LSTAT64_EXTENDED               = 342
-       SYS_FSTAT64_EXTENDED               = 343
-       SYS_GETDIRENTRIES64                = 344
-       SYS_STATFS64                       = 345
-       SYS_FSTATFS64                      = 346
-       SYS_GETFSSTAT64                    = 347
-       SYS___PTHREAD_CHDIR                = 348
-       SYS___PTHREAD_FCHDIR               = 349
-       SYS_AUDIT                          = 350
-       SYS_AUDITON                        = 351
-       SYS_GETAUID                        = 353
-       SYS_SETAUID                        = 354
-       SYS_GETAUDIT_ADDR                  = 357
-       SYS_SETAUDIT_ADDR                  = 358
-       SYS_AUDITCTL                       = 359
-       SYS_BSDTHREAD_CREATE               = 360
-       SYS_BSDTHREAD_TERMINATE            = 361
-       SYS_KQUEUE                         = 362
-       SYS_KEVENT                         = 363
-       SYS_LCHOWN                         = 364
-       SYS_STACK_SNAPSHOT                 = 365
-       SYS_BSDTHREAD_REGISTER             = 366
-       SYS_WORKQ_OPEN                     = 367
-       SYS_WORKQ_KERNRETURN               = 368
-       SYS_KEVENT64                       = 369
-       SYS___OLD_SEMWAIT_SIGNAL           = 370
-       SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL  = 371
-       SYS_THREAD_SELFID                  = 372
-       SYS_LEDGER                         = 373
-       SYS___MAC_EXECVE                   = 380
-       SYS___MAC_SYSCALL                  = 381
-       SYS___MAC_GET_FILE                 = 382
-       SYS___MAC_SET_FILE                 = 383
-       SYS___MAC_GET_LINK                 = 384
-       SYS___MAC_SET_LINK                 = 385
-       SYS___MAC_GET_PROC                 = 386
-       SYS___MAC_SET_PROC                 = 387
-       SYS___MAC_GET_FD                   = 388
-       SYS___MAC_SET_FD                   = 389
-       SYS___MAC_GET_PID                  = 390
-       SYS___MAC_GET_LCID                 = 391
-       SYS___MAC_GET_LCTX                 = 392
-       SYS___MAC_SET_LCTX                 = 393
-       SYS_SETLCID                        = 394
-       SYS_GETLCID                        = 395
-       SYS_READ_NOCANCEL                  = 396
-       SYS_WRITE_NOCANCEL                 = 397
-       SYS_OPEN_NOCANCEL                  = 398
-       SYS_CLOSE_NOCANCEL                 = 399
-       SYS_WAIT4_NOCANCEL                 = 400
-       SYS_RECVMSG_NOCANCEL               = 401
-       SYS_SENDMSG_NOCANCEL               = 402
-       SYS_RECVFROM_NOCANCEL              = 403
-       SYS_ACCEPT_NOCANCEL                = 404
-       SYS_MSYNC_NOCANCEL                 = 405
-       SYS_FCNTL_NOCANCEL                 = 406
-       SYS_SELECT_NOCANCEL                = 407
-       SYS_FSYNC_NOCANCEL                 = 408
-       SYS_CONNECT_NOCANCEL               = 409
-       SYS_SIGSUSPEND_NOCANCEL            = 410
-       SYS_READV_NOCANCEL                 = 411
-       SYS_WRITEV_NOCANCEL                = 412
-       SYS_SENDTO_NOCANCEL                = 413
-       SYS_PREAD_NOCANCEL                 = 414
-       SYS_PWRITE_NOCANCEL                = 415
-       SYS_WAITID_NOCANCEL                = 416
-       SYS_POLL_NOCANCEL                  = 417
-       SYS_MSGSND_NOCANCEL                = 418
-       SYS_MSGRCV_NOCANCEL                = 419
-       SYS_SEM_WAIT_NOCANCEL              = 420
-       SYS_AIO_SUSPEND_NOCANCEL           = 421
-       SYS___SIGWAIT_NOCANCEL             = 422
-       SYS___SEMWAIT_SIGNAL_NOCANCEL      = 423
-       SYS___MAC_MOUNT                    = 424
-       SYS___MAC_GET_MOUNT                = 425
-       SYS___MAC_GETFSSTAT                = 426
-       SYS_FSGETPATH                      = 427
-       SYS_AUDIT_SESSION_SELF             = 428
-       SYS_AUDIT_SESSION_JOIN             = 429
-       SYS_FILEPORT_MAKEPORT              = 430
-       SYS_FILEPORT_MAKEFD                = 431
-       SYS_AUDIT_SESSION_PORT             = 432
-       SYS_PID_SUSPEND                    = 433
-       SYS_PID_RESUME                     = 434
-       SYS_PID_HIBERNATE                  = 435
-       SYS_PID_SHUTDOWN_SOCKETS           = 436
-       SYS_SHARED_REGION_MAP_AND_SLIDE_NP = 438
-       SYS_KAS_INFO                       = 439
-       SYS_MEMORYSTATUS_CONTROL           = 440
-       SYS_GUARDED_OPEN_NP                = 441
-       SYS_GUARDED_CLOSE_NP               = 442
-       SYS_GUARDED_KQUEUE_NP              = 443
-       SYS_CHANGE_FDGUARD_NP              = 444
-       SYS_PROC_RLIMIT_CONTROL            = 446
-       SYS_CONNECTX                       = 447
-       SYS_DISCONNECTX                    = 448
-       SYS_PEELOFF                        = 449
-       SYS_SOCKET_DELEGATE                = 450
-       SYS_TELEMETRY                      = 451
-       SYS_PROC_UUID_POLICY               = 452
-       SYS_MEMORYSTATUS_GET_LEVEL         = 453
-       SYS_SYSTEM_OVERRIDE                = 454
-       SYS_VFS_PURGE                      = 455
-       SYS_SFI_CTL                        = 456
-       SYS_SFI_PIDCTL                     = 457
-       SYS_COALITION                      = 458
-       SYS_COALITION_INFO                 = 459
-       SYS_NECP_MATCH_POLICY              = 460
-       SYS_GETATTRLISTBULK                = 461
-       SYS_OPENAT                         = 463
-       SYS_OPENAT_NOCANCEL                = 464
-       SYS_RENAMEAT                       = 465
-       SYS_FACCESSAT                      = 466
-       SYS_FCHMODAT                       = 467
-       SYS_FCHOWNAT                       = 468
-       SYS_FSTATAT                        = 469
-       SYS_FSTATAT64                      = 470
-       SYS_LINKAT                         = 471
-       SYS_UNLINKAT                       = 472
-       SYS_READLINKAT                     = 473
-       SYS_SYMLINKAT                      = 474
-       SYS_MKDIRAT                        = 475
-       SYS_GETATTRLISTAT                  = 476
-       SYS_PROC_TRACE_LOG                 = 477
-       SYS_BSDTHREAD_CTL                  = 478
-       SYS_OPENBYID_NP                    = 479
-       SYS_RECVMSG_X                      = 480
-       SYS_SENDMSG_X                      = 481
-       SYS_THREAD_SELFUSAGE               = 482
-       SYS_CSRCTL                         = 483
-       SYS_GUARDED_OPEN_DPROTECTED_NP     = 484
-       SYS_GUARDED_WRITE_NP               = 485
-       SYS_GUARDED_PWRITE_NP              = 486
-       SYS_GUARDED_WRITEV_NP              = 487
-       SYS_RENAME_EXT                     = 488
-       SYS_MREMAP_ENCRYPTED               = 489
-       SYS_MAXSYSCALL                     = 490
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go
deleted file mode 100644 (file)
index 09de240..0000000
+++ /dev/null
@@ -1,398 +0,0 @@
-// mksysnum_darwin.pl /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/syscall.h
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build amd64,darwin
-
-package unix
-
-const (
-       SYS_SYSCALL                        = 0
-       SYS_EXIT                           = 1
-       SYS_FORK                           = 2
-       SYS_READ                           = 3
-       SYS_WRITE                          = 4
-       SYS_OPEN                           = 5
-       SYS_CLOSE                          = 6
-       SYS_WAIT4                          = 7
-       SYS_LINK                           = 9
-       SYS_UNLINK                         = 10
-       SYS_CHDIR                          = 12
-       SYS_FCHDIR                         = 13
-       SYS_MKNOD                          = 14
-       SYS_CHMOD                          = 15
-       SYS_CHOWN                          = 16
-       SYS_GETFSSTAT                      = 18
-       SYS_GETPID                         = 20
-       SYS_SETUID                         = 23
-       SYS_GETUID                         = 24
-       SYS_GETEUID                        = 25
-       SYS_PTRACE                         = 26
-       SYS_RECVMSG                        = 27
-       SYS_SENDMSG                        = 28
-       SYS_RECVFROM                       = 29
-       SYS_ACCEPT                         = 30
-       SYS_GETPEERNAME                    = 31
-       SYS_GETSOCKNAME                    = 32
-       SYS_ACCESS                         = 33
-       SYS_CHFLAGS                        = 34
-       SYS_FCHFLAGS                       = 35
-       SYS_SYNC                           = 36
-       SYS_KILL                           = 37
-       SYS_GETPPID                        = 39
-       SYS_DUP                            = 41
-       SYS_PIPE                           = 42
-       SYS_GETEGID                        = 43
-       SYS_SIGACTION                      = 46
-       SYS_GETGID                         = 47
-       SYS_SIGPROCMASK                    = 48
-       SYS_GETLOGIN                       = 49
-       SYS_SETLOGIN                       = 50
-       SYS_ACCT                           = 51
-       SYS_SIGPENDING                     = 52
-       SYS_SIGALTSTACK                    = 53
-       SYS_IOCTL                          = 54
-       SYS_REBOOT                         = 55
-       SYS_REVOKE                         = 56
-       SYS_SYMLINK                        = 57
-       SYS_READLINK                       = 58
-       SYS_EXECVE                         = 59
-       SYS_UMASK                          = 60
-       SYS_CHROOT                         = 61
-       SYS_MSYNC                          = 65
-       SYS_VFORK                          = 66
-       SYS_MUNMAP                         = 73
-       SYS_MPROTECT                       = 74
-       SYS_MADVISE                        = 75
-       SYS_MINCORE                        = 78
-       SYS_GETGROUPS                      = 79
-       SYS_SETGROUPS                      = 80
-       SYS_GETPGRP                        = 81
-       SYS_SETPGID                        = 82
-       SYS_SETITIMER                      = 83
-       SYS_SWAPON                         = 85
-       SYS_GETITIMER                      = 86
-       SYS_GETDTABLESIZE                  = 89
-       SYS_DUP2                           = 90
-       SYS_FCNTL                          = 92
-       SYS_SELECT                         = 93
-       SYS_FSYNC                          = 95
-       SYS_SETPRIORITY                    = 96
-       SYS_SOCKET                         = 97
-       SYS_CONNECT                        = 98
-       SYS_GETPRIORITY                    = 100
-       SYS_BIND                           = 104
-       SYS_SETSOCKOPT                     = 105
-       SYS_LISTEN                         = 106
-       SYS_SIGSUSPEND                     = 111
-       SYS_GETTIMEOFDAY                   = 116
-       SYS_GETRUSAGE                      = 117
-       SYS_GETSOCKOPT                     = 118
-       SYS_READV                          = 120
-       SYS_WRITEV                         = 121
-       SYS_SETTIMEOFDAY                   = 122
-       SYS_FCHOWN                         = 123
-       SYS_FCHMOD                         = 124
-       SYS_SETREUID                       = 126
-       SYS_SETREGID                       = 127
-       SYS_RENAME                         = 128
-       SYS_FLOCK                          = 131
-       SYS_MKFIFO                         = 132
-       SYS_SENDTO                         = 133
-       SYS_SHUTDOWN                       = 134
-       SYS_SOCKETPAIR                     = 135
-       SYS_MKDIR                          = 136
-       SYS_RMDIR                          = 137
-       SYS_UTIMES                         = 138
-       SYS_FUTIMES                        = 139
-       SYS_ADJTIME                        = 140
-       SYS_GETHOSTUUID                    = 142
-       SYS_SETSID                         = 147
-       SYS_GETPGID                        = 151
-       SYS_SETPRIVEXEC                    = 152
-       SYS_PREAD                          = 153
-       SYS_PWRITE                         = 154
-       SYS_NFSSVC                         = 155
-       SYS_STATFS                         = 157
-       SYS_FSTATFS                        = 158
-       SYS_UNMOUNT                        = 159
-       SYS_GETFH                          = 161
-       SYS_QUOTACTL                       = 165
-       SYS_MOUNT                          = 167
-       SYS_CSOPS                          = 169
-       SYS_CSOPS_AUDITTOKEN               = 170
-       SYS_WAITID                         = 173
-       SYS_KDEBUG_TRACE64                 = 179
-       SYS_KDEBUG_TRACE                   = 180
-       SYS_SETGID                         = 181
-       SYS_SETEGID                        = 182
-       SYS_SETEUID                        = 183
-       SYS_SIGRETURN                      = 184
-       SYS_CHUD                           = 185
-       SYS_FDATASYNC                      = 187
-       SYS_STAT                           = 188
-       SYS_FSTAT                          = 189
-       SYS_LSTAT                          = 190
-       SYS_PATHCONF                       = 191
-       SYS_FPATHCONF                      = 192
-       SYS_GETRLIMIT                      = 194
-       SYS_SETRLIMIT                      = 195
-       SYS_GETDIRENTRIES                  = 196
-       SYS_MMAP                           = 197
-       SYS_LSEEK                          = 199
-       SYS_TRUNCATE                       = 200
-       SYS_FTRUNCATE                      = 201
-       SYS_SYSCTL                         = 202
-       SYS_MLOCK                          = 203
-       SYS_MUNLOCK                        = 204
-       SYS_UNDELETE                       = 205
-       SYS_OPEN_DPROTECTED_NP             = 216
-       SYS_GETATTRLIST                    = 220
-       SYS_SETATTRLIST                    = 221
-       SYS_GETDIRENTRIESATTR              = 222
-       SYS_EXCHANGEDATA                   = 223
-       SYS_SEARCHFS                       = 225
-       SYS_DELETE                         = 226
-       SYS_COPYFILE                       = 227
-       SYS_FGETATTRLIST                   = 228
-       SYS_FSETATTRLIST                   = 229
-       SYS_POLL                           = 230
-       SYS_WATCHEVENT                     = 231
-       SYS_WAITEVENT                      = 232
-       SYS_MODWATCH                       = 233
-       SYS_GETXATTR                       = 234
-       SYS_FGETXATTR                      = 235
-       SYS_SETXATTR                       = 236
-       SYS_FSETXATTR                      = 237
-       SYS_REMOVEXATTR                    = 238
-       SYS_FREMOVEXATTR                   = 239
-       SYS_LISTXATTR                      = 240
-       SYS_FLISTXATTR                     = 241
-       SYS_FSCTL                          = 242
-       SYS_INITGROUPS                     = 243
-       SYS_POSIX_SPAWN                    = 244
-       SYS_FFSCTL                         = 245
-       SYS_NFSCLNT                        = 247
-       SYS_FHOPEN                         = 248
-       SYS_MINHERIT                       = 250
-       SYS_SEMSYS                         = 251
-       SYS_MSGSYS                         = 252
-       SYS_SHMSYS                         = 253
-       SYS_SEMCTL                         = 254
-       SYS_SEMGET                         = 255
-       SYS_SEMOP                          = 256
-       SYS_MSGCTL                         = 258
-       SYS_MSGGET                         = 259
-       SYS_MSGSND                         = 260
-       SYS_MSGRCV                         = 261
-       SYS_SHMAT                          = 262
-       SYS_SHMCTL                         = 263
-       SYS_SHMDT                          = 264
-       SYS_SHMGET                         = 265
-       SYS_SHM_OPEN                       = 266
-       SYS_SHM_UNLINK                     = 267
-       SYS_SEM_OPEN                       = 268
-       SYS_SEM_CLOSE                      = 269
-       SYS_SEM_UNLINK                     = 270
-       SYS_SEM_WAIT                       = 271
-       SYS_SEM_TRYWAIT                    = 272
-       SYS_SEM_POST                       = 273
-       SYS_SYSCTLBYNAME                   = 274
-       SYS_OPEN_EXTENDED                  = 277
-       SYS_UMASK_EXTENDED                 = 278
-       SYS_STAT_EXTENDED                  = 279
-       SYS_LSTAT_EXTENDED                 = 280
-       SYS_FSTAT_EXTENDED                 = 281
-       SYS_CHMOD_EXTENDED                 = 282
-       SYS_FCHMOD_EXTENDED                = 283
-       SYS_ACCESS_EXTENDED                = 284
-       SYS_SETTID                         = 285
-       SYS_GETTID                         = 286
-       SYS_SETSGROUPS                     = 287
-       SYS_GETSGROUPS                     = 288
-       SYS_SETWGROUPS                     = 289
-       SYS_GETWGROUPS                     = 290
-       SYS_MKFIFO_EXTENDED                = 291
-       SYS_MKDIR_EXTENDED                 = 292
-       SYS_IDENTITYSVC                    = 293
-       SYS_SHARED_REGION_CHECK_NP         = 294
-       SYS_VM_PRESSURE_MONITOR            = 296
-       SYS_PSYNCH_RW_LONGRDLOCK           = 297
-       SYS_PSYNCH_RW_YIELDWRLOCK          = 298
-       SYS_PSYNCH_RW_DOWNGRADE            = 299
-       SYS_PSYNCH_RW_UPGRADE              = 300
-       SYS_PSYNCH_MUTEXWAIT               = 301
-       SYS_PSYNCH_MUTEXDROP               = 302
-       SYS_PSYNCH_CVBROAD                 = 303
-       SYS_PSYNCH_CVSIGNAL                = 304
-       SYS_PSYNCH_CVWAIT                  = 305
-       SYS_PSYNCH_RW_RDLOCK               = 306
-       SYS_PSYNCH_RW_WRLOCK               = 307
-       SYS_PSYNCH_RW_UNLOCK               = 308
-       SYS_PSYNCH_RW_UNLOCK2              = 309
-       SYS_GETSID                         = 310
-       SYS_SETTID_WITH_PID                = 311
-       SYS_PSYNCH_CVCLRPREPOST            = 312
-       SYS_AIO_FSYNC                      = 313
-       SYS_AIO_RETURN                     = 314
-       SYS_AIO_SUSPEND                    = 315
-       SYS_AIO_CANCEL                     = 316
-       SYS_AIO_ERROR                      = 317
-       SYS_AIO_READ                       = 318
-       SYS_AIO_WRITE                      = 319
-       SYS_LIO_LISTIO                     = 320
-       SYS_IOPOLICYSYS                    = 322
-       SYS_PROCESS_POLICY                 = 323
-       SYS_MLOCKALL                       = 324
-       SYS_MUNLOCKALL                     = 325
-       SYS_ISSETUGID                      = 327
-       SYS___PTHREAD_KILL                 = 328
-       SYS___PTHREAD_SIGMASK              = 329
-       SYS___SIGWAIT                      = 330
-       SYS___DISABLE_THREADSIGNAL         = 331
-       SYS___PTHREAD_MARKCANCEL           = 332
-       SYS___PTHREAD_CANCELED             = 333
-       SYS___SEMWAIT_SIGNAL               = 334
-       SYS_PROC_INFO                      = 336
-       SYS_SENDFILE                       = 337
-       SYS_STAT64                         = 338
-       SYS_FSTAT64                        = 339
-       SYS_LSTAT64                        = 340
-       SYS_STAT64_EXTENDED                = 341
-       SYS_LSTAT64_EXTENDED               = 342
-       SYS_FSTAT64_EXTENDED               = 343
-       SYS_GETDIRENTRIES64                = 344
-       SYS_STATFS64                       = 345
-       SYS_FSTATFS64                      = 346
-       SYS_GETFSSTAT64                    = 347
-       SYS___PTHREAD_CHDIR                = 348
-       SYS___PTHREAD_FCHDIR               = 349
-       SYS_AUDIT                          = 350
-       SYS_AUDITON                        = 351
-       SYS_GETAUID                        = 353
-       SYS_SETAUID                        = 354
-       SYS_GETAUDIT_ADDR                  = 357
-       SYS_SETAUDIT_ADDR                  = 358
-       SYS_AUDITCTL                       = 359
-       SYS_BSDTHREAD_CREATE               = 360
-       SYS_BSDTHREAD_TERMINATE            = 361
-       SYS_KQUEUE                         = 362
-       SYS_KEVENT                         = 363
-       SYS_LCHOWN                         = 364
-       SYS_STACK_SNAPSHOT                 = 365
-       SYS_BSDTHREAD_REGISTER             = 366
-       SYS_WORKQ_OPEN                     = 367
-       SYS_WORKQ_KERNRETURN               = 368
-       SYS_KEVENT64                       = 369
-       SYS___OLD_SEMWAIT_SIGNAL           = 370
-       SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL  = 371
-       SYS_THREAD_SELFID                  = 372
-       SYS_LEDGER                         = 373
-       SYS___MAC_EXECVE                   = 380
-       SYS___MAC_SYSCALL                  = 381
-       SYS___MAC_GET_FILE                 = 382
-       SYS___MAC_SET_FILE                 = 383
-       SYS___MAC_GET_LINK                 = 384
-       SYS___MAC_SET_LINK                 = 385
-       SYS___MAC_GET_PROC                 = 386
-       SYS___MAC_SET_PROC                 = 387
-       SYS___MAC_GET_FD                   = 388
-       SYS___MAC_SET_FD                   = 389
-       SYS___MAC_GET_PID                  = 390
-       SYS___MAC_GET_LCID                 = 391
-       SYS___MAC_GET_LCTX                 = 392
-       SYS___MAC_SET_LCTX                 = 393
-       SYS_SETLCID                        = 394
-       SYS_GETLCID                        = 395
-       SYS_READ_NOCANCEL                  = 396
-       SYS_WRITE_NOCANCEL                 = 397
-       SYS_OPEN_NOCANCEL                  = 398
-       SYS_CLOSE_NOCANCEL                 = 399
-       SYS_WAIT4_NOCANCEL                 = 400
-       SYS_RECVMSG_NOCANCEL               = 401
-       SYS_SENDMSG_NOCANCEL               = 402
-       SYS_RECVFROM_NOCANCEL              = 403
-       SYS_ACCEPT_NOCANCEL                = 404
-       SYS_MSYNC_NOCANCEL                 = 405
-       SYS_FCNTL_NOCANCEL                 = 406
-       SYS_SELECT_NOCANCEL                = 407
-       SYS_FSYNC_NOCANCEL                 = 408
-       SYS_CONNECT_NOCANCEL               = 409
-       SYS_SIGSUSPEND_NOCANCEL            = 410
-       SYS_READV_NOCANCEL                 = 411
-       SYS_WRITEV_NOCANCEL                = 412
-       SYS_SENDTO_NOCANCEL                = 413
-       SYS_PREAD_NOCANCEL                 = 414
-       SYS_PWRITE_NOCANCEL                = 415
-       SYS_WAITID_NOCANCEL                = 416
-       SYS_POLL_NOCANCEL                  = 417
-       SYS_MSGSND_NOCANCEL                = 418
-       SYS_MSGRCV_NOCANCEL                = 419
-       SYS_SEM_WAIT_NOCANCEL              = 420
-       SYS_AIO_SUSPEND_NOCANCEL           = 421
-       SYS___SIGWAIT_NOCANCEL             = 422
-       SYS___SEMWAIT_SIGNAL_NOCANCEL      = 423
-       SYS___MAC_MOUNT                    = 424
-       SYS___MAC_GET_MOUNT                = 425
-       SYS___MAC_GETFSSTAT                = 426
-       SYS_FSGETPATH                      = 427
-       SYS_AUDIT_SESSION_SELF             = 428
-       SYS_AUDIT_SESSION_JOIN             = 429
-       SYS_FILEPORT_MAKEPORT              = 430
-       SYS_FILEPORT_MAKEFD                = 431
-       SYS_AUDIT_SESSION_PORT             = 432
-       SYS_PID_SUSPEND                    = 433
-       SYS_PID_RESUME                     = 434
-       SYS_PID_HIBERNATE                  = 435
-       SYS_PID_SHUTDOWN_SOCKETS           = 436
-       SYS_SHARED_REGION_MAP_AND_SLIDE_NP = 438
-       SYS_KAS_INFO                       = 439
-       SYS_MEMORYSTATUS_CONTROL           = 440
-       SYS_GUARDED_OPEN_NP                = 441
-       SYS_GUARDED_CLOSE_NP               = 442
-       SYS_GUARDED_KQUEUE_NP              = 443
-       SYS_CHANGE_FDGUARD_NP              = 444
-       SYS_PROC_RLIMIT_CONTROL            = 446
-       SYS_CONNECTX                       = 447
-       SYS_DISCONNECTX                    = 448
-       SYS_PEELOFF                        = 449
-       SYS_SOCKET_DELEGATE                = 450
-       SYS_TELEMETRY                      = 451
-       SYS_PROC_UUID_POLICY               = 452
-       SYS_MEMORYSTATUS_GET_LEVEL         = 453
-       SYS_SYSTEM_OVERRIDE                = 454
-       SYS_VFS_PURGE                      = 455
-       SYS_SFI_CTL                        = 456
-       SYS_SFI_PIDCTL                     = 457
-       SYS_COALITION                      = 458
-       SYS_COALITION_INFO                 = 459
-       SYS_NECP_MATCH_POLICY              = 460
-       SYS_GETATTRLISTBULK                = 461
-       SYS_OPENAT                         = 463
-       SYS_OPENAT_NOCANCEL                = 464
-       SYS_RENAMEAT                       = 465
-       SYS_FACCESSAT                      = 466
-       SYS_FCHMODAT                       = 467
-       SYS_FCHOWNAT                       = 468
-       SYS_FSTATAT                        = 469
-       SYS_FSTATAT64                      = 470
-       SYS_LINKAT                         = 471
-       SYS_UNLINKAT                       = 472
-       SYS_READLINKAT                     = 473
-       SYS_SYMLINKAT                      = 474
-       SYS_MKDIRAT                        = 475
-       SYS_GETATTRLISTAT                  = 476
-       SYS_PROC_TRACE_LOG                 = 477
-       SYS_BSDTHREAD_CTL                  = 478
-       SYS_OPENBYID_NP                    = 479
-       SYS_RECVMSG_X                      = 480
-       SYS_SENDMSG_X                      = 481
-       SYS_THREAD_SELFUSAGE               = 482
-       SYS_CSRCTL                         = 483
-       SYS_GUARDED_OPEN_DPROTECTED_NP     = 484
-       SYS_GUARDED_WRITE_NP               = 485
-       SYS_GUARDED_PWRITE_NP              = 486
-       SYS_GUARDED_WRITEV_NP              = 487
-       SYS_RENAME_EXT                     = 488
-       SYS_MREMAP_ENCRYPTED               = 489
-       SYS_MAXSYSCALL                     = 490
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go
deleted file mode 100644 (file)
index b8c9aea..0000000
+++ /dev/null
@@ -1,358 +0,0 @@
-// mksysnum_darwin.pl /usr/include/sys/syscall.h
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build arm,darwin
-
-package unix
-
-const (
-       SYS_SYSCALL                        = 0
-       SYS_EXIT                           = 1
-       SYS_FORK                           = 2
-       SYS_READ                           = 3
-       SYS_WRITE                          = 4
-       SYS_OPEN                           = 5
-       SYS_CLOSE                          = 6
-       SYS_WAIT4                          = 7
-       SYS_LINK                           = 9
-       SYS_UNLINK                         = 10
-       SYS_CHDIR                          = 12
-       SYS_FCHDIR                         = 13
-       SYS_MKNOD                          = 14
-       SYS_CHMOD                          = 15
-       SYS_CHOWN                          = 16
-       SYS_GETFSSTAT                      = 18
-       SYS_GETPID                         = 20
-       SYS_SETUID                         = 23
-       SYS_GETUID                         = 24
-       SYS_GETEUID                        = 25
-       SYS_PTRACE                         = 26
-       SYS_RECVMSG                        = 27
-       SYS_SENDMSG                        = 28
-       SYS_RECVFROM                       = 29
-       SYS_ACCEPT                         = 30
-       SYS_GETPEERNAME                    = 31
-       SYS_GETSOCKNAME                    = 32
-       SYS_ACCESS                         = 33
-       SYS_CHFLAGS                        = 34
-       SYS_FCHFLAGS                       = 35
-       SYS_SYNC                           = 36
-       SYS_KILL                           = 37
-       SYS_GETPPID                        = 39
-       SYS_DUP                            = 41
-       SYS_PIPE                           = 42
-       SYS_GETEGID                        = 43
-       SYS_SIGACTION                      = 46
-       SYS_GETGID                         = 47
-       SYS_SIGPROCMASK                    = 48
-       SYS_GETLOGIN                       = 49
-       SYS_SETLOGIN                       = 50
-       SYS_ACCT                           = 51
-       SYS_SIGPENDING                     = 52
-       SYS_SIGALTSTACK                    = 53
-       SYS_IOCTL                          = 54
-       SYS_REBOOT                         = 55
-       SYS_REVOKE                         = 56
-       SYS_SYMLINK                        = 57
-       SYS_READLINK                       = 58
-       SYS_EXECVE                         = 59
-       SYS_UMASK                          = 60
-       SYS_CHROOT                         = 61
-       SYS_MSYNC                          = 65
-       SYS_VFORK                          = 66
-       SYS_MUNMAP                         = 73
-       SYS_MPROTECT                       = 74
-       SYS_MADVISE                        = 75
-       SYS_MINCORE                        = 78
-       SYS_GETGROUPS                      = 79
-       SYS_SETGROUPS                      = 80
-       SYS_GETPGRP                        = 81
-       SYS_SETPGID                        = 82
-       SYS_SETITIMER                      = 83
-       SYS_SWAPON                         = 85
-       SYS_GETITIMER                      = 86
-       SYS_GETDTABLESIZE                  = 89
-       SYS_DUP2                           = 90
-       SYS_FCNTL                          = 92
-       SYS_SELECT                         = 93
-       SYS_FSYNC                          = 95
-       SYS_SETPRIORITY                    = 96
-       SYS_SOCKET                         = 97
-       SYS_CONNECT                        = 98
-       SYS_GETPRIORITY                    = 100
-       SYS_BIND                           = 104
-       SYS_SETSOCKOPT                     = 105
-       SYS_LISTEN                         = 106
-       SYS_SIGSUSPEND                     = 111
-       SYS_GETTIMEOFDAY                   = 116
-       SYS_GETRUSAGE                      = 117
-       SYS_GETSOCKOPT                     = 118
-       SYS_READV                          = 120
-       SYS_WRITEV                         = 121
-       SYS_SETTIMEOFDAY                   = 122
-       SYS_FCHOWN                         = 123
-       SYS_FCHMOD                         = 124
-       SYS_SETREUID                       = 126
-       SYS_SETREGID                       = 127
-       SYS_RENAME                         = 128
-       SYS_FLOCK                          = 131
-       SYS_MKFIFO                         = 132
-       SYS_SENDTO                         = 133
-       SYS_SHUTDOWN                       = 134
-       SYS_SOCKETPAIR                     = 135
-       SYS_MKDIR                          = 136
-       SYS_RMDIR                          = 137
-       SYS_UTIMES                         = 138
-       SYS_FUTIMES                        = 139
-       SYS_ADJTIME                        = 140
-       SYS_GETHOSTUUID                    = 142
-       SYS_SETSID                         = 147
-       SYS_GETPGID                        = 151
-       SYS_SETPRIVEXEC                    = 152
-       SYS_PREAD                          = 153
-       SYS_PWRITE                         = 154
-       SYS_NFSSVC                         = 155
-       SYS_STATFS                         = 157
-       SYS_FSTATFS                        = 158
-       SYS_UNMOUNT                        = 159
-       SYS_GETFH                          = 161
-       SYS_QUOTACTL                       = 165
-       SYS_MOUNT                          = 167
-       SYS_CSOPS                          = 169
-       SYS_CSOPS_AUDITTOKEN               = 170
-       SYS_WAITID                         = 173
-       SYS_KDEBUG_TRACE                   = 180
-       SYS_SETGID                         = 181
-       SYS_SETEGID                        = 182
-       SYS_SETEUID                        = 183
-       SYS_SIGRETURN                      = 184
-       SYS_CHUD                           = 185
-       SYS_FDATASYNC                      = 187
-       SYS_STAT                           = 188
-       SYS_FSTAT                          = 189
-       SYS_LSTAT                          = 190
-       SYS_PATHCONF                       = 191
-       SYS_FPATHCONF                      = 192
-       SYS_GETRLIMIT                      = 194
-       SYS_SETRLIMIT                      = 195
-       SYS_GETDIRENTRIES                  = 196
-       SYS_MMAP                           = 197
-       SYS_LSEEK                          = 199
-       SYS_TRUNCATE                       = 200
-       SYS_FTRUNCATE                      = 201
-       SYS___SYSCTL                       = 202
-       SYS_MLOCK                          = 203
-       SYS_MUNLOCK                        = 204
-       SYS_UNDELETE                       = 205
-       SYS_ATSOCKET                       = 206
-       SYS_ATGETMSG                       = 207
-       SYS_ATPUTMSG                       = 208
-       SYS_ATPSNDREQ                      = 209
-       SYS_ATPSNDRSP                      = 210
-       SYS_ATPGETREQ                      = 211
-       SYS_ATPGETRSP                      = 212
-       SYS_OPEN_DPROTECTED_NP             = 216
-       SYS_GETATTRLIST                    = 220
-       SYS_SETATTRLIST                    = 221
-       SYS_GETDIRENTRIESATTR              = 222
-       SYS_EXCHANGEDATA                   = 223
-       SYS_SEARCHFS                       = 225
-       SYS_DELETE                         = 226
-       SYS_COPYFILE                       = 227
-       SYS_FGETATTRLIST                   = 228
-       SYS_FSETATTRLIST                   = 229
-       SYS_POLL                           = 230
-       SYS_WATCHEVENT                     = 231
-       SYS_WAITEVENT                      = 232
-       SYS_MODWATCH                       = 233
-       SYS_GETXATTR                       = 234
-       SYS_FGETXATTR                      = 235
-       SYS_SETXATTR                       = 236
-       SYS_FSETXATTR                      = 237
-       SYS_REMOVEXATTR                    = 238
-       SYS_FREMOVEXATTR                   = 239
-       SYS_LISTXATTR                      = 240
-       SYS_FLISTXATTR                     = 241
-       SYS_FSCTL                          = 242
-       SYS_INITGROUPS                     = 243
-       SYS_POSIX_SPAWN                    = 244
-       SYS_FFSCTL                         = 245
-       SYS_NFSCLNT                        = 247
-       SYS_FHOPEN                         = 248
-       SYS_MINHERIT                       = 250
-       SYS_SEMSYS                         = 251
-       SYS_MSGSYS                         = 252
-       SYS_SHMSYS                         = 253
-       SYS_SEMCTL                         = 254
-       SYS_SEMGET                         = 255
-       SYS_SEMOP                          = 256
-       SYS_MSGCTL                         = 258
-       SYS_MSGGET                         = 259
-       SYS_MSGSND                         = 260
-       SYS_MSGRCV                         = 261
-       SYS_SHMAT                          = 262
-       SYS_SHMCTL                         = 263
-       SYS_SHMDT                          = 264
-       SYS_SHMGET                         = 265
-       SYS_SHM_OPEN                       = 266
-       SYS_SHM_UNLINK                     = 267
-       SYS_SEM_OPEN                       = 268
-       SYS_SEM_CLOSE                      = 269
-       SYS_SEM_UNLINK                     = 270
-       SYS_SEM_WAIT                       = 271
-       SYS_SEM_TRYWAIT                    = 272
-       SYS_SEM_POST                       = 273
-       SYS_SEM_GETVALUE                   = 274
-       SYS_SEM_INIT                       = 275
-       SYS_SEM_DESTROY                    = 276
-       SYS_OPEN_EXTENDED                  = 277
-       SYS_UMASK_EXTENDED                 = 278
-       SYS_STAT_EXTENDED                  = 279
-       SYS_LSTAT_EXTENDED                 = 280
-       SYS_FSTAT_EXTENDED                 = 281
-       SYS_CHMOD_EXTENDED                 = 282
-       SYS_FCHMOD_EXTENDED                = 283
-       SYS_ACCESS_EXTENDED                = 284
-       SYS_SETTID                         = 285
-       SYS_GETTID                         = 286
-       SYS_SETSGROUPS                     = 287
-       SYS_GETSGROUPS                     = 288
-       SYS_SETWGROUPS                     = 289
-       SYS_GETWGROUPS                     = 290
-       SYS_MKFIFO_EXTENDED                = 291
-       SYS_MKDIR_EXTENDED                 = 292
-       SYS_IDENTITYSVC                    = 293
-       SYS_SHARED_REGION_CHECK_NP         = 294
-       SYS_VM_PRESSURE_MONITOR            = 296
-       SYS_PSYNCH_RW_LONGRDLOCK           = 297
-       SYS_PSYNCH_RW_YIELDWRLOCK          = 298
-       SYS_PSYNCH_RW_DOWNGRADE            = 299
-       SYS_PSYNCH_RW_UPGRADE              = 300
-       SYS_PSYNCH_MUTEXWAIT               = 301
-       SYS_PSYNCH_MUTEXDROP               = 302
-       SYS_PSYNCH_CVBROAD                 = 303
-       SYS_PSYNCH_CVSIGNAL                = 304
-       SYS_PSYNCH_CVWAIT                  = 305
-       SYS_PSYNCH_RW_RDLOCK               = 306
-       SYS_PSYNCH_RW_WRLOCK               = 307
-       SYS_PSYNCH_RW_UNLOCK               = 308
-       SYS_PSYNCH_RW_UNLOCK2              = 309
-       SYS_GETSID                         = 310
-       SYS_SETTID_WITH_PID                = 311
-       SYS_PSYNCH_CVCLRPREPOST            = 312
-       SYS_AIO_FSYNC                      = 313
-       SYS_AIO_RETURN                     = 314
-       SYS_AIO_SUSPEND                    = 315
-       SYS_AIO_CANCEL                     = 316
-       SYS_AIO_ERROR                      = 317
-       SYS_AIO_READ                       = 318
-       SYS_AIO_WRITE                      = 319
-       SYS_LIO_LISTIO                     = 320
-       SYS_IOPOLICYSYS                    = 322
-       SYS_PROCESS_POLICY                 = 323
-       SYS_MLOCKALL                       = 324
-       SYS_MUNLOCKALL                     = 325
-       SYS_ISSETUGID                      = 327
-       SYS___PTHREAD_KILL                 = 328
-       SYS___PTHREAD_SIGMASK              = 329
-       SYS___SIGWAIT                      = 330
-       SYS___DISABLE_THREADSIGNAL         = 331
-       SYS___PTHREAD_MARKCANCEL           = 332
-       SYS___PTHREAD_CANCELED             = 333
-       SYS___SEMWAIT_SIGNAL               = 334
-       SYS_PROC_INFO                      = 336
-       SYS_SENDFILE                       = 337
-       SYS_STAT64                         = 338
-       SYS_FSTAT64                        = 339
-       SYS_LSTAT64                        = 340
-       SYS_STAT64_EXTENDED                = 341
-       SYS_LSTAT64_EXTENDED               = 342
-       SYS_FSTAT64_EXTENDED               = 343
-       SYS_GETDIRENTRIES64                = 344
-       SYS_STATFS64                       = 345
-       SYS_FSTATFS64                      = 346
-       SYS_GETFSSTAT64                    = 347
-       SYS___PTHREAD_CHDIR                = 348
-       SYS___PTHREAD_FCHDIR               = 349
-       SYS_AUDIT                          = 350
-       SYS_AUDITON                        = 351
-       SYS_GETAUID                        = 353
-       SYS_SETAUID                        = 354
-       SYS_GETAUDIT_ADDR                  = 357
-       SYS_SETAUDIT_ADDR                  = 358
-       SYS_AUDITCTL                       = 359
-       SYS_BSDTHREAD_CREATE               = 360
-       SYS_BSDTHREAD_TERMINATE            = 361
-       SYS_KQUEUE                         = 362
-       SYS_KEVENT                         = 363
-       SYS_LCHOWN                         = 364
-       SYS_STACK_SNAPSHOT                 = 365
-       SYS_BSDTHREAD_REGISTER             = 366
-       SYS_WORKQ_OPEN                     = 367
-       SYS_WORKQ_KERNRETURN               = 368
-       SYS_KEVENT64                       = 369
-       SYS___OLD_SEMWAIT_SIGNAL           = 370
-       SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL  = 371
-       SYS_THREAD_SELFID                  = 372
-       SYS_LEDGER                         = 373
-       SYS___MAC_EXECVE                   = 380
-       SYS___MAC_SYSCALL                  = 381
-       SYS___MAC_GET_FILE                 = 382
-       SYS___MAC_SET_FILE                 = 383
-       SYS___MAC_GET_LINK                 = 384
-       SYS___MAC_SET_LINK                 = 385
-       SYS___MAC_GET_PROC                 = 386
-       SYS___MAC_SET_PROC                 = 387
-       SYS___MAC_GET_FD                   = 388
-       SYS___MAC_SET_FD                   = 389
-       SYS___MAC_GET_PID                  = 390
-       SYS___MAC_GET_LCID                 = 391
-       SYS___MAC_GET_LCTX                 = 392
-       SYS___MAC_SET_LCTX                 = 393
-       SYS_SETLCID                        = 394
-       SYS_GETLCID                        = 395
-       SYS_READ_NOCANCEL                  = 396
-       SYS_WRITE_NOCANCEL                 = 397
-       SYS_OPEN_NOCANCEL                  = 398
-       SYS_CLOSE_NOCANCEL                 = 399
-       SYS_WAIT4_NOCANCEL                 = 400
-       SYS_RECVMSG_NOCANCEL               = 401
-       SYS_SENDMSG_NOCANCEL               = 402
-       SYS_RECVFROM_NOCANCEL              = 403
-       SYS_ACCEPT_NOCANCEL                = 404
-       SYS_MSYNC_NOCANCEL                 = 405
-       SYS_FCNTL_NOCANCEL                 = 406
-       SYS_SELECT_NOCANCEL                = 407
-       SYS_FSYNC_NOCANCEL                 = 408
-       SYS_CONNECT_NOCANCEL               = 409
-       SYS_SIGSUSPEND_NOCANCEL            = 410
-       SYS_READV_NOCANCEL                 = 411
-       SYS_WRITEV_NOCANCEL                = 412
-       SYS_SENDTO_NOCANCEL                = 413
-       SYS_PREAD_NOCANCEL                 = 414
-       SYS_PWRITE_NOCANCEL                = 415
-       SYS_WAITID_NOCANCEL                = 416
-       SYS_POLL_NOCANCEL                  = 417
-       SYS_MSGSND_NOCANCEL                = 418
-       SYS_MSGRCV_NOCANCEL                = 419
-       SYS_SEM_WAIT_NOCANCEL              = 420
-       SYS_AIO_SUSPEND_NOCANCEL           = 421
-       SYS___SIGWAIT_NOCANCEL             = 422
-       SYS___SEMWAIT_SIGNAL_NOCANCEL      = 423
-       SYS___MAC_MOUNT                    = 424
-       SYS___MAC_GET_MOUNT                = 425
-       SYS___MAC_GETFSSTAT                = 426
-       SYS_FSGETPATH                      = 427
-       SYS_AUDIT_SESSION_SELF             = 428
-       SYS_AUDIT_SESSION_JOIN             = 429
-       SYS_FILEPORT_MAKEPORT              = 430
-       SYS_FILEPORT_MAKEFD                = 431
-       SYS_AUDIT_SESSION_PORT             = 432
-       SYS_PID_SUSPEND                    = 433
-       SYS_PID_RESUME                     = 434
-       SYS_PID_HIBERNATE                  = 435
-       SYS_PID_SHUTDOWN_SOCKETS           = 436
-       SYS_SHARED_REGION_MAP_AND_SLIDE_NP = 438
-       SYS_KAS_INFO                       = 439
-       SYS_MAXSYSCALL                     = 440
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go b/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go
deleted file mode 100644 (file)
index 26677eb..0000000
+++ /dev/null
@@ -1,398 +0,0 @@
-// mksysnum_darwin.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/usr/include/sys/syscall.h
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build arm64,darwin
-
-package unix
-
-const (
-       SYS_SYSCALL                        = 0
-       SYS_EXIT                           = 1
-       SYS_FORK                           = 2
-       SYS_READ                           = 3
-       SYS_WRITE                          = 4
-       SYS_OPEN                           = 5
-       SYS_CLOSE                          = 6
-       SYS_WAIT4                          = 7
-       SYS_LINK                           = 9
-       SYS_UNLINK                         = 10
-       SYS_CHDIR                          = 12
-       SYS_FCHDIR                         = 13
-       SYS_MKNOD                          = 14
-       SYS_CHMOD                          = 15
-       SYS_CHOWN                          = 16
-       SYS_GETFSSTAT                      = 18
-       SYS_GETPID                         = 20
-       SYS_SETUID                         = 23
-       SYS_GETUID                         = 24
-       SYS_GETEUID                        = 25
-       SYS_PTRACE                         = 26
-       SYS_RECVMSG                        = 27
-       SYS_SENDMSG                        = 28
-       SYS_RECVFROM                       = 29
-       SYS_ACCEPT                         = 30
-       SYS_GETPEERNAME                    = 31
-       SYS_GETSOCKNAME                    = 32
-       SYS_ACCESS                         = 33
-       SYS_CHFLAGS                        = 34
-       SYS_FCHFLAGS                       = 35
-       SYS_SYNC                           = 36
-       SYS_KILL                           = 37
-       SYS_GETPPID                        = 39
-       SYS_DUP                            = 41
-       SYS_PIPE                           = 42
-       SYS_GETEGID                        = 43
-       SYS_SIGACTION                      = 46
-       SYS_GETGID                         = 47
-       SYS_SIGPROCMASK                    = 48
-       SYS_GETLOGIN                       = 49
-       SYS_SETLOGIN                       = 50
-       SYS_ACCT                           = 51
-       SYS_SIGPENDING                     = 52
-       SYS_SIGALTSTACK                    = 53
-       SYS_IOCTL                          = 54
-       SYS_REBOOT                         = 55
-       SYS_REVOKE                         = 56
-       SYS_SYMLINK                        = 57
-       SYS_READLINK                       = 58
-       SYS_EXECVE                         = 59
-       SYS_UMASK                          = 60
-       SYS_CHROOT                         = 61
-       SYS_MSYNC                          = 65
-       SYS_VFORK                          = 66
-       SYS_MUNMAP                         = 73
-       SYS_MPROTECT                       = 74
-       SYS_MADVISE                        = 75
-       SYS_MINCORE                        = 78
-       SYS_GETGROUPS                      = 79
-       SYS_SETGROUPS                      = 80
-       SYS_GETPGRP                        = 81
-       SYS_SETPGID                        = 82
-       SYS_SETITIMER                      = 83
-       SYS_SWAPON                         = 85
-       SYS_GETITIMER                      = 86
-       SYS_GETDTABLESIZE                  = 89
-       SYS_DUP2                           = 90
-       SYS_FCNTL                          = 92
-       SYS_SELECT                         = 93
-       SYS_FSYNC                          = 95
-       SYS_SETPRIORITY                    = 96
-       SYS_SOCKET                         = 97
-       SYS_CONNECT                        = 98
-       SYS_GETPRIORITY                    = 100
-       SYS_BIND                           = 104
-       SYS_SETSOCKOPT                     = 105
-       SYS_LISTEN                         = 106
-       SYS_SIGSUSPEND                     = 111
-       SYS_GETTIMEOFDAY                   = 116
-       SYS_GETRUSAGE                      = 117
-       SYS_GETSOCKOPT                     = 118
-       SYS_READV                          = 120
-       SYS_WRITEV                         = 121
-       SYS_SETTIMEOFDAY                   = 122
-       SYS_FCHOWN                         = 123
-       SYS_FCHMOD                         = 124
-       SYS_SETREUID                       = 126
-       SYS_SETREGID                       = 127
-       SYS_RENAME                         = 128
-       SYS_FLOCK                          = 131
-       SYS_MKFIFO                         = 132
-       SYS_SENDTO                         = 133
-       SYS_SHUTDOWN                       = 134
-       SYS_SOCKETPAIR                     = 135
-       SYS_MKDIR                          = 136
-       SYS_RMDIR                          = 137
-       SYS_UTIMES                         = 138
-       SYS_FUTIMES                        = 139
-       SYS_ADJTIME                        = 140
-       SYS_GETHOSTUUID                    = 142
-       SYS_SETSID                         = 147
-       SYS_GETPGID                        = 151
-       SYS_SETPRIVEXEC                    = 152
-       SYS_PREAD                          = 153
-       SYS_PWRITE                         = 154
-       SYS_NFSSVC                         = 155
-       SYS_STATFS                         = 157
-       SYS_FSTATFS                        = 158
-       SYS_UNMOUNT                        = 159
-       SYS_GETFH                          = 161
-       SYS_QUOTACTL                       = 165
-       SYS_MOUNT                          = 167
-       SYS_CSOPS                          = 169
-       SYS_CSOPS_AUDITTOKEN               = 170
-       SYS_WAITID                         = 173
-       SYS_KDEBUG_TRACE64                 = 179
-       SYS_KDEBUG_TRACE                   = 180
-       SYS_SETGID                         = 181
-       SYS_SETEGID                        = 182
-       SYS_SETEUID                        = 183
-       SYS_SIGRETURN                      = 184
-       SYS_CHUD                           = 185
-       SYS_FDATASYNC                      = 187
-       SYS_STAT                           = 188
-       SYS_FSTAT                          = 189
-       SYS_LSTAT                          = 190
-       SYS_PATHCONF                       = 191
-       SYS_FPATHCONF                      = 192
-       SYS_GETRLIMIT                      = 194
-       SYS_SETRLIMIT                      = 195
-       SYS_GETDIRENTRIES                  = 196
-       SYS_MMAP                           = 197
-       SYS_LSEEK                          = 199
-       SYS_TRUNCATE                       = 200
-       SYS_FTRUNCATE                      = 201
-       SYS_SYSCTL                         = 202
-       SYS_MLOCK                          = 203
-       SYS_MUNLOCK                        = 204
-       SYS_UNDELETE                       = 205
-       SYS_OPEN_DPROTECTED_NP             = 216
-       SYS_GETATTRLIST                    = 220
-       SYS_SETATTRLIST                    = 221
-       SYS_GETDIRENTRIESATTR              = 222
-       SYS_EXCHANGEDATA                   = 223
-       SYS_SEARCHFS                       = 225
-       SYS_DELETE                         = 226
-       SYS_COPYFILE                       = 227
-       SYS_FGETATTRLIST                   = 228
-       SYS_FSETATTRLIST                   = 229
-       SYS_POLL                           = 230
-       SYS_WATCHEVENT                     = 231
-       SYS_WAITEVENT                      = 232
-       SYS_MODWATCH                       = 233
-       SYS_GETXATTR                       = 234
-       SYS_FGETXATTR                      = 235
-       SYS_SETXATTR                       = 236
-       SYS_FSETXATTR                      = 237
-       SYS_REMOVEXATTR                    = 238
-       SYS_FREMOVEXATTR                   = 239
-       SYS_LISTXATTR                      = 240
-       SYS_FLISTXATTR                     = 241
-       SYS_FSCTL                          = 242
-       SYS_INITGROUPS                     = 243
-       SYS_POSIX_SPAWN                    = 244
-       SYS_FFSCTL                         = 245
-       SYS_NFSCLNT                        = 247
-       SYS_FHOPEN                         = 248
-       SYS_MINHERIT                       = 250
-       SYS_SEMSYS                         = 251
-       SYS_MSGSYS                         = 252
-       SYS_SHMSYS                         = 253
-       SYS_SEMCTL                         = 254
-       SYS_SEMGET                         = 255
-       SYS_SEMOP                          = 256
-       SYS_MSGCTL                         = 258
-       SYS_MSGGET                         = 259
-       SYS_MSGSND                         = 260
-       SYS_MSGRCV                         = 261
-       SYS_SHMAT                          = 262
-       SYS_SHMCTL                         = 263
-       SYS_SHMDT                          = 264
-       SYS_SHMGET                         = 265
-       SYS_SHM_OPEN                       = 266
-       SYS_SHM_UNLINK                     = 267
-       SYS_SEM_OPEN                       = 268
-       SYS_SEM_CLOSE                      = 269
-       SYS_SEM_UNLINK                     = 270
-       SYS_SEM_WAIT                       = 271
-       SYS_SEM_TRYWAIT                    = 272
-       SYS_SEM_POST                       = 273
-       SYS_SYSCTLBYNAME                   = 274
-       SYS_OPEN_EXTENDED                  = 277
-       SYS_UMASK_EXTENDED                 = 278
-       SYS_STAT_EXTENDED                  = 279
-       SYS_LSTAT_EXTENDED                 = 280
-       SYS_FSTAT_EXTENDED                 = 281
-       SYS_CHMOD_EXTENDED                 = 282
-       SYS_FCHMOD_EXTENDED                = 283
-       SYS_ACCESS_EXTENDED                = 284
-       SYS_SETTID                         = 285
-       SYS_GETTID                         = 286
-       SYS_SETSGROUPS                     = 287
-       SYS_GETSGROUPS                     = 288
-       SYS_SETWGROUPS                     = 289
-       SYS_GETWGROUPS                     = 290
-       SYS_MKFIFO_EXTENDED                = 291
-       SYS_MKDIR_EXTENDED                 = 292
-       SYS_IDENTITYSVC                    = 293
-       SYS_SHARED_REGION_CHECK_NP         = 294
-       SYS_VM_PRESSURE_MONITOR            = 296
-       SYS_PSYNCH_RW_LONGRDLOCK           = 297
-       SYS_PSYNCH_RW_YIELDWRLOCK          = 298
-       SYS_PSYNCH_RW_DOWNGRADE            = 299
-       SYS_PSYNCH_RW_UPGRADE              = 300
-       SYS_PSYNCH_MUTEXWAIT               = 301
-       SYS_PSYNCH_MUTEXDROP               = 302
-       SYS_PSYNCH_CVBROAD                 = 303
-       SYS_PSYNCH_CVSIGNAL                = 304
-       SYS_PSYNCH_CVWAIT                  = 305
-       SYS_PSYNCH_RW_RDLOCK               = 306
-       SYS_PSYNCH_RW_WRLOCK               = 307
-       SYS_PSYNCH_RW_UNLOCK               = 308
-       SYS_PSYNCH_RW_UNLOCK2              = 309
-       SYS_GETSID                         = 310
-       SYS_SETTID_WITH_PID                = 311
-       SYS_PSYNCH_CVCLRPREPOST            = 312
-       SYS_AIO_FSYNC                      = 313
-       SYS_AIO_RETURN                     = 314
-       SYS_AIO_SUSPEND                    = 315
-       SYS_AIO_CANCEL                     = 316
-       SYS_AIO_ERROR                      = 317
-       SYS_AIO_READ                       = 318
-       SYS_AIO_WRITE                      = 319
-       SYS_LIO_LISTIO                     = 320
-       SYS_IOPOLICYSYS                    = 322
-       SYS_PROCESS_POLICY                 = 323
-       SYS_MLOCKALL                       = 324
-       SYS_MUNLOCKALL                     = 325
-       SYS_ISSETUGID                      = 327
-       SYS___PTHREAD_KILL                 = 328
-       SYS___PTHREAD_SIGMASK              = 329
-       SYS___SIGWAIT                      = 330
-       SYS___DISABLE_THREADSIGNAL         = 331
-       SYS___PTHREAD_MARKCANCEL           = 332
-       SYS___PTHREAD_CANCELED             = 333
-       SYS___SEMWAIT_SIGNAL               = 334
-       SYS_PROC_INFO                      = 336
-       SYS_SENDFILE                       = 337
-       SYS_STAT64                         = 338
-       SYS_FSTAT64                        = 339
-       SYS_LSTAT64                        = 340
-       SYS_STAT64_EXTENDED                = 341
-       SYS_LSTAT64_EXTENDED               = 342
-       SYS_FSTAT64_EXTENDED               = 343
-       SYS_GETDIRENTRIES64                = 344
-       SYS_STATFS64                       = 345
-       SYS_FSTATFS64                      = 346
-       SYS_GETFSSTAT64                    = 347
-       SYS___PTHREAD_CHDIR                = 348
-       SYS___PTHREAD_FCHDIR               = 349
-       SYS_AUDIT                          = 350
-       SYS_AUDITON                        = 351
-       SYS_GETAUID                        = 353
-       SYS_SETAUID                        = 354
-       SYS_GETAUDIT_ADDR                  = 357
-       SYS_SETAUDIT_ADDR                  = 358
-       SYS_AUDITCTL                       = 359
-       SYS_BSDTHREAD_CREATE               = 360
-       SYS_BSDTHREAD_TERMINATE            = 361
-       SYS_KQUEUE                         = 362
-       SYS_KEVENT                         = 363
-       SYS_LCHOWN                         = 364
-       SYS_STACK_SNAPSHOT                 = 365
-       SYS_BSDTHREAD_REGISTER             = 366
-       SYS_WORKQ_OPEN                     = 367
-       SYS_WORKQ_KERNRETURN               = 368
-       SYS_KEVENT64                       = 369
-       SYS___OLD_SEMWAIT_SIGNAL           = 370
-       SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL  = 371
-       SYS_THREAD_SELFID                  = 372
-       SYS_LEDGER                         = 373
-       SYS___MAC_EXECVE                   = 380
-       SYS___MAC_SYSCALL                  = 381
-       SYS___MAC_GET_FILE                 = 382
-       SYS___MAC_SET_FILE                 = 383
-       SYS___MAC_GET_LINK                 = 384
-       SYS___MAC_SET_LINK                 = 385
-       SYS___MAC_GET_PROC                 = 386
-       SYS___MAC_SET_PROC                 = 387
-       SYS___MAC_GET_FD                   = 388
-       SYS___MAC_SET_FD                   = 389
-       SYS___MAC_GET_PID                  = 390
-       SYS___MAC_GET_LCID                 = 391
-       SYS___MAC_GET_LCTX                 = 392
-       SYS___MAC_SET_LCTX                 = 393
-       SYS_SETLCID                        = 394
-       SYS_GETLCID                        = 395
-       SYS_READ_NOCANCEL                  = 396
-       SYS_WRITE_NOCANCEL                 = 397
-       SYS_OPEN_NOCANCEL                  = 398
-       SYS_CLOSE_NOCANCEL                 = 399
-       SYS_WAIT4_NOCANCEL                 = 400
-       SYS_RECVMSG_NOCANCEL               = 401
-       SYS_SENDMSG_NOCANCEL               = 402
-       SYS_RECVFROM_NOCANCEL              = 403
-       SYS_ACCEPT_NOCANCEL                = 404
-       SYS_MSYNC_NOCANCEL                 = 405
-       SYS_FCNTL_NOCANCEL                 = 406
-       SYS_SELECT_NOCANCEL                = 407
-       SYS_FSYNC_NOCANCEL                 = 408
-       SYS_CONNECT_NOCANCEL               = 409
-       SYS_SIGSUSPEND_NOCANCEL            = 410
-       SYS_READV_NOCANCEL                 = 411
-       SYS_WRITEV_NOCANCEL                = 412
-       SYS_SENDTO_NOCANCEL                = 413
-       SYS_PREAD_NOCANCEL                 = 414
-       SYS_PWRITE_NOCANCEL                = 415
-       SYS_WAITID_NOCANCEL                = 416
-       SYS_POLL_NOCANCEL                  = 417
-       SYS_MSGSND_NOCANCEL                = 418
-       SYS_MSGRCV_NOCANCEL                = 419
-       SYS_SEM_WAIT_NOCANCEL              = 420
-       SYS_AIO_SUSPEND_NOCANCEL           = 421
-       SYS___SIGWAIT_NOCANCEL             = 422
-       SYS___SEMWAIT_SIGNAL_NOCANCEL      = 423
-       SYS___MAC_MOUNT                    = 424
-       SYS___MAC_GET_MOUNT                = 425
-       SYS___MAC_GETFSSTAT                = 426
-       SYS_FSGETPATH                      = 427
-       SYS_AUDIT_SESSION_SELF             = 428
-       SYS_AUDIT_SESSION_JOIN             = 429
-       SYS_FILEPORT_MAKEPORT              = 430
-       SYS_FILEPORT_MAKEFD                = 431
-       SYS_AUDIT_SESSION_PORT             = 432
-       SYS_PID_SUSPEND                    = 433
-       SYS_PID_RESUME                     = 434
-       SYS_PID_HIBERNATE                  = 435
-       SYS_PID_SHUTDOWN_SOCKETS           = 436
-       SYS_SHARED_REGION_MAP_AND_SLIDE_NP = 438
-       SYS_KAS_INFO                       = 439
-       SYS_MEMORYSTATUS_CONTROL           = 440
-       SYS_GUARDED_OPEN_NP                = 441
-       SYS_GUARDED_CLOSE_NP               = 442
-       SYS_GUARDED_KQUEUE_NP              = 443
-       SYS_CHANGE_FDGUARD_NP              = 444
-       SYS_PROC_RLIMIT_CONTROL            = 446
-       SYS_CONNECTX                       = 447
-       SYS_DISCONNECTX                    = 448
-       SYS_PEELOFF                        = 449
-       SYS_SOCKET_DELEGATE                = 450
-       SYS_TELEMETRY                      = 451
-       SYS_PROC_UUID_POLICY               = 452
-       SYS_MEMORYSTATUS_GET_LEVEL         = 453
-       SYS_SYSTEM_OVERRIDE                = 454
-       SYS_VFS_PURGE                      = 455
-       SYS_SFI_CTL                        = 456
-       SYS_SFI_PIDCTL                     = 457
-       SYS_COALITION                      = 458
-       SYS_COALITION_INFO                 = 459
-       SYS_NECP_MATCH_POLICY              = 460
-       SYS_GETATTRLISTBULK                = 461
-       SYS_OPENAT                         = 463
-       SYS_OPENAT_NOCANCEL                = 464
-       SYS_RENAMEAT                       = 465
-       SYS_FACCESSAT                      = 466
-       SYS_FCHMODAT                       = 467
-       SYS_FCHOWNAT                       = 468
-       SYS_FSTATAT                        = 469
-       SYS_FSTATAT64                      = 470
-       SYS_LINKAT                         = 471
-       SYS_UNLINKAT                       = 472
-       SYS_READLINKAT                     = 473
-       SYS_SYMLINKAT                      = 474
-       SYS_MKDIRAT                        = 475
-       SYS_GETATTRLISTAT                  = 476
-       SYS_PROC_TRACE_LOG                 = 477
-       SYS_BSDTHREAD_CTL                  = 478
-       SYS_OPENBYID_NP                    = 479
-       SYS_RECVMSG_X                      = 480
-       SYS_SENDMSG_X                      = 481
-       SYS_THREAD_SELFUSAGE               = 482
-       SYS_CSRCTL                         = 483
-       SYS_GUARDED_OPEN_DPROTECTED_NP     = 484
-       SYS_GUARDED_WRITE_NP               = 485
-       SYS_GUARDED_PWRITE_NP              = 486
-       SYS_GUARDED_WRITEV_NP              = 487
-       SYS_RENAME_EXT                     = 488
-       SYS_MREMAP_ENCRYPTED               = 489
-       SYS_MAXSYSCALL                     = 490
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go
deleted file mode 100644 (file)
index b2c9ef8..0000000
+++ /dev/null
@@ -1,315 +0,0 @@
-// mksysnum_dragonfly.pl
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build amd64,dragonfly
-
-package unix
-
-const (
-       // SYS_NOSYS = 0;  // { int nosys(void); } syscall nosys_args int
-       SYS_EXIT          = 1   // { void exit(int rval); }
-       SYS_FORK          = 2   // { int fork(void); }
-       SYS_READ          = 3   // { ssize_t read(int fd, void *buf, size_t nbyte); }
-       SYS_WRITE         = 4   // { ssize_t write(int fd, const void *buf, size_t nbyte); }
-       SYS_OPEN          = 5   // { int open(char *path, int flags, int mode); }
-       SYS_CLOSE         = 6   // { int close(int fd); }
-       SYS_WAIT4         = 7   // { int wait4(int pid, int *status, int options, \
-       SYS_LINK          = 9   // { int link(char *path, char *link); }
-       SYS_UNLINK        = 10  // { int unlink(char *path); }
-       SYS_CHDIR         = 12  // { int chdir(char *path); }
-       SYS_FCHDIR        = 13  // { int fchdir(int fd); }
-       SYS_MKNOD         = 14  // { int mknod(char *path, int mode, int dev); }
-       SYS_CHMOD         = 15  // { int chmod(char *path, int mode); }
-       SYS_CHOWN         = 16  // { int chown(char *path, int uid, int gid); }
-       SYS_OBREAK        = 17  // { int obreak(char *nsize); } break obreak_args int
-       SYS_GETFSSTAT     = 18  // { int getfsstat(struct statfs *buf, long bufsize, \
-       SYS_GETPID        = 20  // { pid_t getpid(void); }
-       SYS_MOUNT         = 21  // { int mount(char *type, char *path, int flags, \
-       SYS_UNMOUNT       = 22  // { int unmount(char *path, int flags); }
-       SYS_SETUID        = 23  // { int setuid(uid_t uid); }
-       SYS_GETUID        = 24  // { uid_t getuid(void); }
-       SYS_GETEUID       = 25  // { uid_t geteuid(void); }
-       SYS_PTRACE        = 26  // { int ptrace(int req, pid_t pid, caddr_t addr, \
-       SYS_RECVMSG       = 27  // { int recvmsg(int s, struct msghdr *msg, int flags); }
-       SYS_SENDMSG       = 28  // { int sendmsg(int s, caddr_t msg, int flags); }
-       SYS_RECVFROM      = 29  // { int recvfrom(int s, caddr_t buf, size_t len, \
-       SYS_ACCEPT        = 30  // { int accept(int s, caddr_t name, int *anamelen); }
-       SYS_GETPEERNAME   = 31  // { int getpeername(int fdes, caddr_t asa, int *alen); }
-       SYS_GETSOCKNAME   = 32  // { int getsockname(int fdes, caddr_t asa, int *alen); }
-       SYS_ACCESS        = 33  // { int access(char *path, int flags); }
-       SYS_CHFLAGS       = 34  // { int chflags(char *path, int flags); }
-       SYS_FCHFLAGS      = 35  // { int fchflags(int fd, int flags); }
-       SYS_SYNC          = 36  // { int sync(void); }
-       SYS_KILL          = 37  // { int kill(int pid, int signum); }
-       SYS_GETPPID       = 39  // { pid_t getppid(void); }
-       SYS_DUP           = 41  // { int dup(int fd); }
-       SYS_PIPE          = 42  // { int pipe(void); }
-       SYS_GETEGID       = 43  // { gid_t getegid(void); }
-       SYS_PROFIL        = 44  // { int profil(caddr_t samples, size_t size, \
-       SYS_KTRACE        = 45  // { int ktrace(const char *fname, int ops, int facs, \
-       SYS_GETGID        = 47  // { gid_t getgid(void); }
-       SYS_GETLOGIN      = 49  // { int getlogin(char *namebuf, u_int namelen); }
-       SYS_SETLOGIN      = 50  // { int setlogin(char *namebuf); }
-       SYS_ACCT          = 51  // { int acct(char *path); }
-       SYS_SIGALTSTACK   = 53  // { int sigaltstack(stack_t *ss, stack_t *oss); }
-       SYS_IOCTL         = 54  // { int ioctl(int fd, u_long com, caddr_t data); }
-       SYS_REBOOT        = 55  // { int reboot(int opt); }
-       SYS_REVOKE        = 56  // { int revoke(char *path); }
-       SYS_SYMLINK       = 57  // { int symlink(char *path, char *link); }
-       SYS_READLINK      = 58  // { int readlink(char *path, char *buf, int count); }
-       SYS_EXECVE        = 59  // { int execve(char *fname, char **argv, char **envv); }
-       SYS_UMASK         = 60  // { int umask(int newmask); } umask umask_args int
-       SYS_CHROOT        = 61  // { int chroot(char *path); }
-       SYS_MSYNC         = 65  // { int msync(void *addr, size_t len, int flags); }
-       SYS_VFORK         = 66  // { pid_t vfork(void); }
-       SYS_SBRK          = 69  // { int sbrk(int incr); }
-       SYS_SSTK          = 70  // { int sstk(int incr); }
-       SYS_MUNMAP        = 73  // { int munmap(void *addr, size_t len); }
-       SYS_MPROTECT      = 74  // { int mprotect(void *addr, size_t len, int prot); }
-       SYS_MADVISE       = 75  // { int madvise(void *addr, size_t len, int behav); }
-       SYS_MINCORE       = 78  // { int mincore(const void *addr, size_t len, \
-       SYS_GETGROUPS     = 79  // { int getgroups(u_int gidsetsize, gid_t *gidset); }
-       SYS_SETGROUPS     = 80  // { int setgroups(u_int gidsetsize, gid_t *gidset); }
-       SYS_GETPGRP       = 81  // { int getpgrp(void); }
-       SYS_SETPGID       = 82  // { int setpgid(int pid, int pgid); }
-       SYS_SETITIMER     = 83  // { int setitimer(u_int which, struct itimerval *itv, \
-       SYS_SWAPON        = 85  // { int swapon(char *name); }
-       SYS_GETITIMER     = 86  // { int getitimer(u_int which, struct itimerval *itv); }
-       SYS_GETDTABLESIZE = 89  // { int getdtablesize(void); }
-       SYS_DUP2          = 90  // { int dup2(int from, int to); }
-       SYS_FCNTL         = 92  // { int fcntl(int fd, int cmd, long arg); }
-       SYS_SELECT        = 93  // { int select(int nd, fd_set *in, fd_set *ou, \
-       SYS_FSYNC         = 95  // { int fsync(int fd); }
-       SYS_SETPRIORITY   = 96  // { int setpriority(int which, int who, int prio); }
-       SYS_SOCKET        = 97  // { int socket(int domain, int type, int protocol); }
-       SYS_CONNECT       = 98  // { int connect(int s, caddr_t name, int namelen); }
-       SYS_GETPRIORITY   = 100 // { int getpriority(int which, int who); }
-       SYS_BIND          = 104 // { int bind(int s, caddr_t name, int namelen); }
-       SYS_SETSOCKOPT    = 105 // { int setsockopt(int s, int level, int name, \
-       SYS_LISTEN        = 106 // { int listen(int s, int backlog); }
-       SYS_GETTIMEOFDAY  = 116 // { int gettimeofday(struct timeval *tp, \
-       SYS_GETRUSAGE     = 117 // { int getrusage(int who, struct rusage *rusage); }
-       SYS_GETSOCKOPT    = 118 // { int getsockopt(int s, int level, int name, \
-       SYS_READV         = 120 // { int readv(int fd, struct iovec *iovp, u_int iovcnt); }
-       SYS_WRITEV        = 121 // { int writev(int fd, struct iovec *iovp, \
-       SYS_SETTIMEOFDAY  = 122 // { int settimeofday(struct timeval *tv, \
-       SYS_FCHOWN        = 123 // { int fchown(int fd, int uid, int gid); }
-       SYS_FCHMOD        = 124 // { int fchmod(int fd, int mode); }
-       SYS_SETREUID      = 126 // { int setreuid(int ruid, int euid); }
-       SYS_SETREGID      = 127 // { int setregid(int rgid, int egid); }
-       SYS_RENAME        = 128 // { int rename(char *from, char *to); }
-       SYS_FLOCK         = 131 // { int flock(int fd, int how); }
-       SYS_MKFIFO        = 132 // { int mkfifo(char *path, int mode); }
-       SYS_SENDTO        = 133 // { int sendto(int s, caddr_t buf, size_t len, \
-       SYS_SHUTDOWN      = 134 // { int shutdown(int s, int how); }
-       SYS_SOCKETPAIR    = 135 // { int socketpair(int domain, int type, int protocol, \
-       SYS_MKDIR         = 136 // { int mkdir(char *path, int mode); }
-       SYS_RMDIR         = 137 // { int rmdir(char *path); }
-       SYS_UTIMES        = 138 // { int utimes(char *path, struct timeval *tptr); }
-       SYS_ADJTIME       = 140 // { int adjtime(struct timeval *delta, \
-       SYS_SETSID        = 147 // { int setsid(void); }
-       SYS_QUOTACTL      = 148 // { int quotactl(char *path, int cmd, int uid, \
-       SYS_STATFS        = 157 // { int statfs(char *path, struct statfs *buf); }
-       SYS_FSTATFS       = 158 // { int fstatfs(int fd, struct statfs *buf); }
-       SYS_GETFH         = 161 // { int getfh(char *fname, struct fhandle *fhp); }
-       SYS_GETDOMAINNAME = 162 // { int getdomainname(char *domainname, int len); }
-       SYS_SETDOMAINNAME = 163 // { int setdomainname(char *domainname, int len); }
-       SYS_UNAME         = 164 // { int uname(struct utsname *name); }
-       SYS_SYSARCH       = 165 // { int sysarch(int op, char *parms); }
-       SYS_RTPRIO        = 166 // { int rtprio(int function, pid_t pid, \
-       SYS_EXTPREAD      = 173 // { ssize_t extpread(int fd, void *buf, \
-       SYS_EXTPWRITE     = 174 // { ssize_t extpwrite(int fd, const void *buf, \
-       SYS_NTP_ADJTIME   = 176 // { int ntp_adjtime(struct timex *tp); }
-       SYS_SETGID        = 181 // { int setgid(gid_t gid); }
-       SYS_SETEGID       = 182 // { int setegid(gid_t egid); }
-       SYS_SETEUID       = 183 // { int seteuid(uid_t euid); }
-       SYS_PATHCONF      = 191 // { int pathconf(char *path, int name); }
-       SYS_FPATHCONF     = 192 // { int fpathconf(int fd, int name); }
-       SYS_GETRLIMIT     = 194 // { int getrlimit(u_int which, \
-       SYS_SETRLIMIT     = 195 // { int setrlimit(u_int which, \
-       SYS_MMAP          = 197 // { caddr_t mmap(caddr_t addr, size_t len, int prot, \
-       // SYS_NOSYS = 198;  // { int nosys(void); } __syscall __syscall_args int
-       SYS_LSEEK                  = 199 // { off_t lseek(int fd, int pad, off_t offset, \
-       SYS_TRUNCATE               = 200 // { int truncate(char *path, int pad, off_t length); }
-       SYS_FTRUNCATE              = 201 // { int ftruncate(int fd, int pad, off_t length); }
-       SYS___SYSCTL               = 202 // { int __sysctl(int *name, u_int namelen, void *old, \
-       SYS_MLOCK                  = 203 // { int mlock(const void *addr, size_t len); }
-       SYS_MUNLOCK                = 204 // { int munlock(const void *addr, size_t len); }
-       SYS_UNDELETE               = 205 // { int undelete(char *path); }
-       SYS_FUTIMES                = 206 // { int futimes(int fd, struct timeval *tptr); }
-       SYS_GETPGID                = 207 // { int getpgid(pid_t pid); }
-       SYS_POLL                   = 209 // { int poll(struct pollfd *fds, u_int nfds, \
-       SYS___SEMCTL               = 220 // { int __semctl(int semid, int semnum, int cmd, \
-       SYS_SEMGET                 = 221 // { int semget(key_t key, int nsems, int semflg); }
-       SYS_SEMOP                  = 222 // { int semop(int semid, struct sembuf *sops, \
-       SYS_MSGCTL                 = 224 // { int msgctl(int msqid, int cmd, \
-       SYS_MSGGET                 = 225 // { int msgget(key_t key, int msgflg); }
-       SYS_MSGSND                 = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, \
-       SYS_MSGRCV                 = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, \
-       SYS_SHMAT                  = 228 // { caddr_t shmat(int shmid, const void *shmaddr, \
-       SYS_SHMCTL                 = 229 // { int shmctl(int shmid, int cmd, \
-       SYS_SHMDT                  = 230 // { int shmdt(const void *shmaddr); }
-       SYS_SHMGET                 = 231 // { int shmget(key_t key, size_t size, int shmflg); }
-       SYS_CLOCK_GETTIME          = 232 // { int clock_gettime(clockid_t clock_id, \
-       SYS_CLOCK_SETTIME          = 233 // { int clock_settime(clockid_t clock_id, \
-       SYS_CLOCK_GETRES           = 234 // { int clock_getres(clockid_t clock_id, \
-       SYS_NANOSLEEP              = 240 // { int nanosleep(const struct timespec *rqtp, \
-       SYS_MINHERIT               = 250 // { int minherit(void *addr, size_t len, int inherit); }
-       SYS_RFORK                  = 251 // { int rfork(int flags); }
-       SYS_OPENBSD_POLL           = 252 // { int openbsd_poll(struct pollfd *fds, u_int nfds, \
-       SYS_ISSETUGID              = 253 // { int issetugid(void); }
-       SYS_LCHOWN                 = 254 // { int lchown(char *path, int uid, int gid); }
-       SYS_LCHMOD                 = 274 // { int lchmod(char *path, mode_t mode); }
-       SYS_LUTIMES                = 276 // { int lutimes(char *path, struct timeval *tptr); }
-       SYS_EXTPREADV              = 289 // { ssize_t extpreadv(int fd, struct iovec *iovp, \
-       SYS_EXTPWRITEV             = 290 // { ssize_t extpwritev(int fd, struct iovec *iovp,\
-       SYS_FHSTATFS               = 297 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); }
-       SYS_FHOPEN                 = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); }
-       SYS_MODNEXT                = 300 // { int modnext(int modid); }
-       SYS_MODSTAT                = 301 // { int modstat(int modid, struct module_stat* stat); }
-       SYS_MODFNEXT               = 302 // { int modfnext(int modid); }
-       SYS_MODFIND                = 303 // { int modfind(const char *name); }
-       SYS_KLDLOAD                = 304 // { int kldload(const char *file); }
-       SYS_KLDUNLOAD              = 305 // { int kldunload(int fileid); }
-       SYS_KLDFIND                = 306 // { int kldfind(const char *file); }
-       SYS_KLDNEXT                = 307 // { int kldnext(int fileid); }
-       SYS_KLDSTAT                = 308 // { int kldstat(int fileid, struct kld_file_stat* stat); }
-       SYS_KLDFIRSTMOD            = 309 // { int kldfirstmod(int fileid); }
-       SYS_GETSID                 = 310 // { int getsid(pid_t pid); }
-       SYS_SETRESUID              = 311 // { int setresuid(uid_t ruid, uid_t euid, uid_t suid); }
-       SYS_SETRESGID              = 312 // { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
-       SYS_AIO_RETURN             = 314 // { int aio_return(struct aiocb *aiocbp); }
-       SYS_AIO_SUSPEND            = 315 // { int aio_suspend(struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); }
-       SYS_AIO_CANCEL             = 316 // { int aio_cancel(int fd, struct aiocb *aiocbp); }
-       SYS_AIO_ERROR              = 317 // { int aio_error(struct aiocb *aiocbp); }
-       SYS_AIO_READ               = 318 // { int aio_read(struct aiocb *aiocbp); }
-       SYS_AIO_WRITE              = 319 // { int aio_write(struct aiocb *aiocbp); }
-       SYS_LIO_LISTIO             = 320 // { int lio_listio(int mode, struct aiocb * const *acb_list, int nent, struct sigevent *sig); }
-       SYS_YIELD                  = 321 // { int yield(void); }
-       SYS_MLOCKALL               = 324 // { int mlockall(int how); }
-       SYS_MUNLOCKALL             = 325 // { int munlockall(void); }
-       SYS___GETCWD               = 326 // { int __getcwd(u_char *buf, u_int buflen); }
-       SYS_SCHED_SETPARAM         = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); }
-       SYS_SCHED_GETPARAM         = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); }
-       SYS_SCHED_SETSCHEDULER     = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); }
-       SYS_SCHED_GETSCHEDULER     = 330 // { int sched_getscheduler (pid_t pid); }
-       SYS_SCHED_YIELD            = 331 // { int sched_yield (void); }
-       SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); }
-       SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); }
-       SYS_SCHED_RR_GET_INTERVAL  = 334 // { int sched_rr_get_interval (pid_t pid, struct timespec *interval); }
-       SYS_UTRACE                 = 335 // { int utrace(const void *addr, size_t len); }
-       SYS_KLDSYM                 = 337 // { int kldsym(int fileid, int cmd, void *data); }
-       SYS_JAIL                   = 338 // { int jail(struct jail *jail); }
-       SYS_SIGPROCMASK            = 340 // { int sigprocmask(int how, const sigset_t *set, \
-       SYS_SIGSUSPEND             = 341 // { int sigsuspend(const sigset_t *sigmask); }
-       SYS_SIGACTION              = 342 // { int sigaction(int sig, const struct sigaction *act, \
-       SYS_SIGPENDING             = 343 // { int sigpending(sigset_t *set); }
-       SYS_SIGRETURN              = 344 // { int sigreturn(ucontext_t *sigcntxp); }
-       SYS_SIGTIMEDWAIT           = 345 // { int sigtimedwait(const sigset_t *set,\
-       SYS_SIGWAITINFO            = 346 // { int sigwaitinfo(const sigset_t *set,\
-       SYS___ACL_GET_FILE         = 347 // { int __acl_get_file(const char *path, \
-       SYS___ACL_SET_FILE         = 348 // { int __acl_set_file(const char *path, \
-       SYS___ACL_GET_FD           = 349 // { int __acl_get_fd(int filedes, acl_type_t type, \
-       SYS___ACL_SET_FD           = 350 // { int __acl_set_fd(int filedes, acl_type_t type, \
-       SYS___ACL_DELETE_FILE      = 351 // { int __acl_delete_file(const char *path, \
-       SYS___ACL_DELETE_FD        = 352 // { int __acl_delete_fd(int filedes, acl_type_t type); }
-       SYS___ACL_ACLCHECK_FILE    = 353 // { int __acl_aclcheck_file(const char *path, \
-       SYS___ACL_ACLCHECK_FD      = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, \
-       SYS_EXTATTRCTL             = 355 // { int extattrctl(const char *path, int cmd, \
-       SYS_EXTATTR_SET_FILE       = 356 // { int extattr_set_file(const char *path, \
-       SYS_EXTATTR_GET_FILE       = 357 // { int extattr_get_file(const char *path, \
-       SYS_EXTATTR_DELETE_FILE    = 358 // { int extattr_delete_file(const char *path, \
-       SYS_AIO_WAITCOMPLETE       = 359 // { int aio_waitcomplete(struct aiocb **aiocbp, struct timespec *timeout); }
-       SYS_GETRESUID              = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
-       SYS_GETRESGID              = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
-       SYS_KQUEUE                 = 362 // { int kqueue(void); }
-       SYS_KEVENT                 = 363 // { int kevent(int fd, \
-       SYS_KENV                   = 390 // { int kenv(int what, const char *name, char *value, int len); }
-       SYS_LCHFLAGS               = 391 // { int lchflags(char *path, int flags); }
-       SYS_UUIDGEN                = 392 // { int uuidgen(struct uuid *store, int count); }
-       SYS_SENDFILE               = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, \
-       SYS_VARSYM_SET             = 450 // { int varsym_set(int level, const char *name, const char *data); }
-       SYS_VARSYM_GET             = 451 // { int varsym_get(int mask, const char *wild, char *buf, int bufsize); }
-       SYS_VARSYM_LIST            = 452 // { int varsym_list(int level, char *buf, int maxsize, int *marker); }
-       SYS_EXEC_SYS_REGISTER      = 465 // { int exec_sys_register(void *entry); }
-       SYS_EXEC_SYS_UNREGISTER    = 466 // { int exec_sys_unregister(int id); }
-       SYS_SYS_CHECKPOINT         = 467 // { int sys_checkpoint(int type, int fd, pid_t pid, int retval); }
-       SYS_MOUNTCTL               = 468 // { int mountctl(const char *path, int op, int fd, const void *ctl, int ctllen, void *buf, int buflen); }
-       SYS_UMTX_SLEEP             = 469 // { int umtx_sleep(volatile const int *ptr, int value, int timeout); }
-       SYS_UMTX_WAKEUP            = 470 // { int umtx_wakeup(volatile const int *ptr, int count); }
-       SYS_JAIL_ATTACH            = 471 // { int jail_attach(int jid); }
-       SYS_SET_TLS_AREA           = 472 // { int set_tls_area(int which, struct tls_info *info, size_t infosize); }
-       SYS_GET_TLS_AREA           = 473 // { int get_tls_area(int which, struct tls_info *info, size_t infosize); }
-       SYS_CLOSEFROM              = 474 // { int closefrom(int fd); }
-       SYS_STAT                   = 475 // { int stat(const char *path, struct stat *ub); }
-       SYS_FSTAT                  = 476 // { int fstat(int fd, struct stat *sb); }
-       SYS_LSTAT                  = 477 // { int lstat(const char *path, struct stat *ub); }
-       SYS_FHSTAT                 = 478 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
-       SYS_GETDIRENTRIES          = 479 // { int getdirentries(int fd, char *buf, u_int count, \
-       SYS_GETDENTS               = 480 // { int getdents(int fd, char *buf, size_t count); }
-       SYS_USCHED_SET             = 481 // { int usched_set(pid_t pid, int cmd, void *data, \
-       SYS_EXTACCEPT              = 482 // { int extaccept(int s, int flags, caddr_t name, int *anamelen); }
-       SYS_EXTCONNECT             = 483 // { int extconnect(int s, int flags, caddr_t name, int namelen); }
-       SYS_MCONTROL               = 485 // { int mcontrol(void *addr, size_t len, int behav, off_t value); }
-       SYS_VMSPACE_CREATE         = 486 // { int vmspace_create(void *id, int type, void *data); }
-       SYS_VMSPACE_DESTROY        = 487 // { int vmspace_destroy(void *id); }
-       SYS_VMSPACE_CTL            = 488 // { int vmspace_ctl(void *id, int cmd,                \
-       SYS_VMSPACE_MMAP           = 489 // { int vmspace_mmap(void *id, void *addr, size_t len, \
-       SYS_VMSPACE_MUNMAP         = 490 // { int vmspace_munmap(void *id, void *addr,  \
-       SYS_VMSPACE_MCONTROL       = 491 // { int vmspace_mcontrol(void *id, void *addr,        \
-       SYS_VMSPACE_PREAD          = 492 // { ssize_t vmspace_pread(void *id, void *buf, \
-       SYS_VMSPACE_PWRITE         = 493 // { ssize_t vmspace_pwrite(void *id, const void *buf, \
-       SYS_EXTEXIT                = 494 // { void extexit(int how, int status, void *addr); }
-       SYS_LWP_CREATE             = 495 // { int lwp_create(struct lwp_params *params); }
-       SYS_LWP_GETTID             = 496 // { lwpid_t lwp_gettid(void); }
-       SYS_LWP_KILL               = 497 // { int lwp_kill(pid_t pid, lwpid_t tid, int signum); }
-       SYS_LWP_RTPRIO             = 498 // { int lwp_rtprio(int function, pid_t pid, lwpid_t tid, struct rtprio *rtp); }
-       SYS_PSELECT                = 499 // { int pselect(int nd, fd_set *in, fd_set *ou, \
-       SYS_STATVFS                = 500 // { int statvfs(const char *path, struct statvfs *buf); }
-       SYS_FSTATVFS               = 501 // { int fstatvfs(int fd, struct statvfs *buf); }
-       SYS_FHSTATVFS              = 502 // { int fhstatvfs(const struct fhandle *u_fhp, struct statvfs *buf); }
-       SYS_GETVFSSTAT             = 503 // { int getvfsstat(struct statfs *buf,          \
-       SYS_OPENAT                 = 504 // { int openat(int fd, char *path, int flags, int mode); }
-       SYS_FSTATAT                = 505 // { int fstatat(int fd, char *path,   \
-       SYS_FCHMODAT               = 506 // { int fchmodat(int fd, char *path, int mode, \
-       SYS_FCHOWNAT               = 507 // { int fchownat(int fd, char *path, int uid, int gid, \
-       SYS_UNLINKAT               = 508 // { int unlinkat(int fd, char *path, int flags); }
-       SYS_FACCESSAT              = 509 // { int faccessat(int fd, char *path, int amode, \
-       SYS_MQ_OPEN                = 510 // { mqd_t mq_open(const char * name, int oflag, \
-       SYS_MQ_CLOSE               = 511 // { int mq_close(mqd_t mqdes); }
-       SYS_MQ_UNLINK              = 512 // { int mq_unlink(const char *name); }
-       SYS_MQ_GETATTR             = 513 // { int mq_getattr(mqd_t mqdes, \
-       SYS_MQ_SETATTR             = 514 // { int mq_setattr(mqd_t mqdes, \
-       SYS_MQ_NOTIFY              = 515 // { int mq_notify(mqd_t mqdes, \
-       SYS_MQ_SEND                = 516 // { int mq_send(mqd_t mqdes, const char *msg_ptr, \
-       SYS_MQ_RECEIVE             = 517 // { ssize_t mq_receive(mqd_t mqdes, char *msg_ptr, \
-       SYS_MQ_TIMEDSEND           = 518 // { int mq_timedsend(mqd_t mqdes, \
-       SYS_MQ_TIMEDRECEIVE        = 519 // { ssize_t mq_timedreceive(mqd_t mqdes, \
-       SYS_IOPRIO_SET             = 520 // { int ioprio_set(int which, int who, int prio); }
-       SYS_IOPRIO_GET             = 521 // { int ioprio_get(int which, int who); }
-       SYS_CHROOT_KERNEL          = 522 // { int chroot_kernel(char *path); }
-       SYS_RENAMEAT               = 523 // { int renameat(int oldfd, char *old, int newfd, \
-       SYS_MKDIRAT                = 524 // { int mkdirat(int fd, char *path, mode_t mode); }
-       SYS_MKFIFOAT               = 525 // { int mkfifoat(int fd, char *path, mode_t mode); }
-       SYS_MKNODAT                = 526 // { int mknodat(int fd, char *path, mode_t mode, \
-       SYS_READLINKAT             = 527 // { int readlinkat(int fd, char *path, char *buf, \
-       SYS_SYMLINKAT              = 528 // { int symlinkat(char *path1, int fd, char *path2); }
-       SYS_SWAPOFF                = 529 // { int swapoff(char *name); }
-       SYS_VQUOTACTL              = 530 // { int vquotactl(const char *path, \
-       SYS_LINKAT                 = 531 // { int linkat(int fd1, char *path1, int fd2, \
-       SYS_EACCESS                = 532 // { int eaccess(char *path, int flags); }
-       SYS_LPATHCONF              = 533 // { int lpathconf(char *path, int name); }
-       SYS_VMM_GUEST_CTL          = 534 // { int vmm_guest_ctl(int op, struct vmm_guest_options *options); }
-       SYS_VMM_GUEST_SYNC_ADDR    = 535 // { int vmm_guest_sync_addr(long *dstaddr, long *srcaddr); }
-       SYS_PROCCTL                = 536 // { int procctl(idtype_t idtype, id_t id, int cmd, void *data); }
-       SYS_CHFLAGSAT              = 537 // { int chflagsat(int fd, const char *path, int flags, int atflags);}
-       SYS_PIPE2                  = 538 // { int pipe2(int *fildes, int flags); }
-       SYS_UTIMENSAT              = 539 // { int utimensat(int fd, const char *path, const struct timespec *ts, int flags); }
-       SYS_FUTIMENS               = 540 // { int futimens(int fd, const struct timespec *ts); }
-       SYS_ACCEPT4                = 541 // { int accept4(int s, caddr_t name, int *anamelen, int flags); }
-       SYS_LWP_SETNAME            = 542 // { int lwp_setname(lwpid_t tid, const char *name); }
-       SYS_PPOLL                  = 543 // { int ppoll(struct pollfd *fds, u_int nfds, \
-       SYS_LWP_SETAFFINITY        = 544 // { int lwp_setaffinity(pid_t pid, lwpid_t tid, const cpumask_t *mask); }
-       SYS_LWP_GETAFFINITY        = 545 // { int lwp_getaffinity(pid_t pid, lwpid_t tid, cpumask_t *mask); }
-       SYS_LWP_CREATE2            = 546 // { int lwp_create2(struct lwp_params *params, const cpumask_t *mask); }
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go
deleted file mode 100644 (file)
index 262a845..0000000
+++ /dev/null
@@ -1,351 +0,0 @@
-// mksysnum_freebsd.pl
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build 386,freebsd
-
-package unix
-
-const (
-       // SYS_NOSYS = 0;  // { int nosys(void); } syscall nosys_args int
-       SYS_EXIT                     = 1   // { void sys_exit(int rval); } exit \
-       SYS_FORK                     = 2   // { int fork(void); }
-       SYS_READ                     = 3   // { ssize_t read(int fd, void *buf, \
-       SYS_WRITE                    = 4   // { ssize_t write(int fd, const void *buf, \
-       SYS_OPEN                     = 5   // { int open(char *path, int flags, int mode); }
-       SYS_CLOSE                    = 6   // { int close(int fd); }
-       SYS_WAIT4                    = 7   // { int wait4(int pid, int *status, \
-       SYS_LINK                     = 9   // { int link(char *path, char *link); }
-       SYS_UNLINK                   = 10  // { int unlink(char *path); }
-       SYS_CHDIR                    = 12  // { int chdir(char *path); }
-       SYS_FCHDIR                   = 13  // { int fchdir(int fd); }
-       SYS_MKNOD                    = 14  // { int mknod(char *path, int mode, int dev); }
-       SYS_CHMOD                    = 15  // { int chmod(char *path, int mode); }
-       SYS_CHOWN                    = 16  // { int chown(char *path, int uid, int gid); }
-       SYS_OBREAK                   = 17  // { int obreak(char *nsize); } break \
-       SYS_GETPID                   = 20  // { pid_t getpid(void); }
-       SYS_MOUNT                    = 21  // { int mount(char *type, char *path, \
-       SYS_UNMOUNT                  = 22  // { int unmount(char *path, int flags); }
-       SYS_SETUID                   = 23  // { int setuid(uid_t uid); }
-       SYS_GETUID                   = 24  // { uid_t getuid(void); }
-       SYS_GETEUID                  = 25  // { uid_t geteuid(void); }
-       SYS_PTRACE                   = 26  // { int ptrace(int req, pid_t pid, \
-       SYS_RECVMSG                  = 27  // { int recvmsg(int s, struct msghdr *msg, \
-       SYS_SENDMSG                  = 28  // { int sendmsg(int s, struct msghdr *msg, \
-       SYS_RECVFROM                 = 29  // { int recvfrom(int s, caddr_t buf, \
-       SYS_ACCEPT                   = 30  // { int accept(int s, \
-       SYS_GETPEERNAME              = 31  // { int getpeername(int fdes, \
-       SYS_GETSOCKNAME              = 32  // { int getsockname(int fdes, \
-       SYS_ACCESS                   = 33  // { int access(char *path, int amode); }
-       SYS_CHFLAGS                  = 34  // { int chflags(const char *path, u_long flags); }
-       SYS_FCHFLAGS                 = 35  // { int fchflags(int fd, u_long flags); }
-       SYS_SYNC                     = 36  // { int sync(void); }
-       SYS_KILL                     = 37  // { int kill(int pid, int signum); }
-       SYS_GETPPID                  = 39  // { pid_t getppid(void); }
-       SYS_DUP                      = 41  // { int dup(u_int fd); }
-       SYS_PIPE                     = 42  // { int pipe(void); }
-       SYS_GETEGID                  = 43  // { gid_t getegid(void); }
-       SYS_PROFIL                   = 44  // { int profil(caddr_t samples, size_t size, \
-       SYS_KTRACE                   = 45  // { int ktrace(const char *fname, int ops, \
-       SYS_GETGID                   = 47  // { gid_t getgid(void); }
-       SYS_GETLOGIN                 = 49  // { int getlogin(char *namebuf, u_int \
-       SYS_SETLOGIN                 = 50  // { int setlogin(char *namebuf); }
-       SYS_ACCT                     = 51  // { int acct(char *path); }
-       SYS_SIGALTSTACK              = 53  // { int sigaltstack(stack_t *ss, \
-       SYS_IOCTL                    = 54  // { int ioctl(int fd, u_long com, \
-       SYS_REBOOT                   = 55  // { int reboot(int opt); }
-       SYS_REVOKE                   = 56  // { int revoke(char *path); }
-       SYS_SYMLINK                  = 57  // { int symlink(char *path, char *link); }
-       SYS_READLINK                 = 58  // { ssize_t readlink(char *path, char *buf, \
-       SYS_EXECVE                   = 59  // { int execve(char *fname, char **argv, \
-       SYS_UMASK                    = 60  // { int umask(int newmask); } umask umask_args \
-       SYS_CHROOT                   = 61  // { int chroot(char *path); }
-       SYS_MSYNC                    = 65  // { int msync(void *addr, size_t len, \
-       SYS_VFORK                    = 66  // { int vfork(void); }
-       SYS_SBRK                     = 69  // { int sbrk(int incr); }
-       SYS_SSTK                     = 70  // { int sstk(int incr); }
-       SYS_OVADVISE                 = 72  // { int ovadvise(int anom); } vadvise \
-       SYS_MUNMAP                   = 73  // { int munmap(void *addr, size_t len); }
-       SYS_MPROTECT                 = 74  // { int mprotect(const void *addr, size_t len, \
-       SYS_MADVISE                  = 75  // { int madvise(void *addr, size_t len, \
-       SYS_MINCORE                  = 78  // { int mincore(const void *addr, size_t len, \
-       SYS_GETGROUPS                = 79  // { int getgroups(u_int gidsetsize, \
-       SYS_SETGROUPS                = 80  // { int setgroups(u_int gidsetsize, \
-       SYS_GETPGRP                  = 81  // { int getpgrp(void); }
-       SYS_SETPGID                  = 82  // { int setpgid(int pid, int pgid); }
-       SYS_SETITIMER                = 83  // { int setitimer(u_int which, struct \
-       SYS_SWAPON                   = 85  // { int swapon(char *name); }
-       SYS_GETITIMER                = 86  // { int getitimer(u_int which, \
-       SYS_GETDTABLESIZE            = 89  // { int getdtablesize(void); }
-       SYS_DUP2                     = 90  // { int dup2(u_int from, u_int to); }
-       SYS_FCNTL                    = 92  // { int fcntl(int fd, int cmd, long arg); }
-       SYS_SELECT                   = 93  // { int select(int nd, fd_set *in, fd_set *ou, \
-       SYS_FSYNC                    = 95  // { int fsync(int fd); }
-       SYS_SETPRIORITY              = 96  // { int setpriority(int which, int who, \
-       SYS_SOCKET                   = 97  // { int socket(int domain, int type, \
-       SYS_CONNECT                  = 98  // { int connect(int s, caddr_t name, \
-       SYS_GETPRIORITY              = 100 // { int getpriority(int which, int who); }
-       SYS_BIND                     = 104 // { int bind(int s, caddr_t name, \
-       SYS_SETSOCKOPT               = 105 // { int setsockopt(int s, int level, int name, \
-       SYS_LISTEN                   = 106 // { int listen(int s, int backlog); }
-       SYS_GETTIMEOFDAY             = 116 // { int gettimeofday(struct timeval *tp, \
-       SYS_GETRUSAGE                = 117 // { int getrusage(int who, \
-       SYS_GETSOCKOPT               = 118 // { int getsockopt(int s, int level, int name, \
-       SYS_READV                    = 120 // { int readv(int fd, struct iovec *iovp, \
-       SYS_WRITEV                   = 121 // { int writev(int fd, struct iovec *iovp, \
-       SYS_SETTIMEOFDAY             = 122 // { int settimeofday(struct timeval *tv, \
-       SYS_FCHOWN                   = 123 // { int fchown(int fd, int uid, int gid); }
-       SYS_FCHMOD                   = 124 // { int fchmod(int fd, int mode); }
-       SYS_SETREUID                 = 126 // { int setreuid(int ruid, int euid); }
-       SYS_SETREGID                 = 127 // { int setregid(int rgid, int egid); }
-       SYS_RENAME                   = 128 // { int rename(char *from, char *to); }
-       SYS_FLOCK                    = 131 // { int flock(int fd, int how); }
-       SYS_MKFIFO                   = 132 // { int mkfifo(char *path, int mode); }
-       SYS_SENDTO                   = 133 // { int sendto(int s, caddr_t buf, size_t len, \
-       SYS_SHUTDOWN                 = 134 // { int shutdown(int s, int how); }
-       SYS_SOCKETPAIR               = 135 // { int socketpair(int domain, int type, \
-       SYS_MKDIR                    = 136 // { int mkdir(char *path, int mode); }
-       SYS_RMDIR                    = 137 // { int rmdir(char *path); }
-       SYS_UTIMES                   = 138 // { int utimes(char *path, \
-       SYS_ADJTIME                  = 140 // { int adjtime(struct timeval *delta, \
-       SYS_SETSID                   = 147 // { int setsid(void); }
-       SYS_QUOTACTL                 = 148 // { int quotactl(char *path, int cmd, int uid, \
-       SYS_LGETFH                   = 160 // { int lgetfh(char *fname, \
-       SYS_GETFH                    = 161 // { int getfh(char *fname, \
-       SYS_SYSARCH                  = 165 // { int sysarch(int op, char *parms); }
-       SYS_RTPRIO                   = 166 // { int rtprio(int function, pid_t pid, \
-       SYS_FREEBSD6_PREAD           = 173 // { ssize_t freebsd6_pread(int fd, void *buf, \
-       SYS_FREEBSD6_PWRITE          = 174 // { ssize_t freebsd6_pwrite(int fd, \
-       SYS_SETFIB                   = 175 // { int setfib(int fibnum); }
-       SYS_NTP_ADJTIME              = 176 // { int ntp_adjtime(struct timex *tp); }
-       SYS_SETGID                   = 181 // { int setgid(gid_t gid); }
-       SYS_SETEGID                  = 182 // { int setegid(gid_t egid); }
-       SYS_SETEUID                  = 183 // { int seteuid(uid_t euid); }
-       SYS_STAT                     = 188 // { int stat(char *path, struct stat *ub); }
-       SYS_FSTAT                    = 189 // { int fstat(int fd, struct stat *sb); }
-       SYS_LSTAT                    = 190 // { int lstat(char *path, struct stat *ub); }
-       SYS_PATHCONF                 = 191 // { int pathconf(char *path, int name); }
-       SYS_FPATHCONF                = 192 // { int fpathconf(int fd, int name); }
-       SYS_GETRLIMIT                = 194 // { int getrlimit(u_int which, \
-       SYS_SETRLIMIT                = 195 // { int setrlimit(u_int which, \
-       SYS_GETDIRENTRIES            = 196 // { int getdirentries(int fd, char *buf, \
-       SYS_FREEBSD6_MMAP            = 197 // { caddr_t freebsd6_mmap(caddr_t addr, \
-       SYS_FREEBSD6_LSEEK           = 199 // { off_t freebsd6_lseek(int fd, int pad, \
-       SYS_FREEBSD6_TRUNCATE        = 200 // { int freebsd6_truncate(char *path, int pad, \
-       SYS_FREEBSD6_FTRUNCATE       = 201 // { int freebsd6_ftruncate(int fd, int pad, \
-       SYS___SYSCTL                 = 202 // { int __sysctl(int *name, u_int namelen, \
-       SYS_MLOCK                    = 203 // { int mlock(const void *addr, size_t len); }
-       SYS_MUNLOCK                  = 204 // { int munlock(const void *addr, size_t len); }
-       SYS_UNDELETE                 = 205 // { int undelete(char *path); }
-       SYS_FUTIMES                  = 206 // { int futimes(int fd, struct timeval *tptr); }
-       SYS_GETPGID                  = 207 // { int getpgid(pid_t pid); }
-       SYS_POLL                     = 209 // { int poll(struct pollfd *fds, u_int nfds, \
-       SYS_CLOCK_GETTIME            = 232 // { int clock_gettime(clockid_t clock_id, \
-       SYS_CLOCK_SETTIME            = 233 // { int clock_settime( \
-       SYS_CLOCK_GETRES             = 234 // { int clock_getres(clockid_t clock_id, \
-       SYS_KTIMER_CREATE            = 235 // { int ktimer_create(clockid_t clock_id, \
-       SYS_KTIMER_DELETE            = 236 // { int ktimer_delete(int timerid); }
-       SYS_KTIMER_SETTIME           = 237 // { int ktimer_settime(int timerid, int flags, \
-       SYS_KTIMER_GETTIME           = 238 // { int ktimer_gettime(int timerid, struct \
-       SYS_KTIMER_GETOVERRUN        = 239 // { int ktimer_getoverrun(int timerid); }
-       SYS_NANOSLEEP                = 240 // { int nanosleep(const struct timespec *rqtp, \
-       SYS_FFCLOCK_GETCOUNTER       = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
-       SYS_FFCLOCK_SETESTIMATE      = 242 // { int ffclock_setestimate( \
-       SYS_FFCLOCK_GETESTIMATE      = 243 // { int ffclock_getestimate( \
-       SYS_CLOCK_GETCPUCLOCKID2     = 247 // { int clock_getcpuclockid2(id_t id,\
-       SYS_NTP_GETTIME              = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
-       SYS_MINHERIT                 = 250 // { int minherit(void *addr, size_t len, \
-       SYS_RFORK                    = 251 // { int rfork(int flags); }
-       SYS_OPENBSD_POLL             = 252 // { int openbsd_poll(struct pollfd *fds, \
-       SYS_ISSETUGID                = 253 // { int issetugid(void); }
-       SYS_LCHOWN                   = 254 // { int lchown(char *path, int uid, int gid); }
-       SYS_GETDENTS                 = 272 // { int getdents(int fd, char *buf, \
-       SYS_LCHMOD                   = 274 // { int lchmod(char *path, mode_t mode); }
-       SYS_LUTIMES                  = 276 // { int lutimes(char *path, \
-       SYS_NSTAT                    = 278 // { int nstat(char *path, struct nstat *ub); }
-       SYS_NFSTAT                   = 279 // { int nfstat(int fd, struct nstat *sb); }
-       SYS_NLSTAT                   = 280 // { int nlstat(char *path, struct nstat *ub); }
-       SYS_PREADV                   = 289 // { ssize_t preadv(int fd, struct iovec *iovp, \
-       SYS_PWRITEV                  = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, \
-       SYS_FHOPEN                   = 298 // { int fhopen(const struct fhandle *u_fhp, \
-       SYS_FHSTAT                   = 299 // { int fhstat(const struct fhandle *u_fhp, \
-       SYS_MODNEXT                  = 300 // { int modnext(int modid); }
-       SYS_MODSTAT                  = 301 // { int modstat(int modid, \
-       SYS_MODFNEXT                 = 302 // { int modfnext(int modid); }
-       SYS_MODFIND                  = 303 // { int modfind(const char *name); }
-       SYS_KLDLOAD                  = 304 // { int kldload(const char *file); }
-       SYS_KLDUNLOAD                = 305 // { int kldunload(int fileid); }
-       SYS_KLDFIND                  = 306 // { int kldfind(const char *file); }
-       SYS_KLDNEXT                  = 307 // { int kldnext(int fileid); }
-       SYS_KLDSTAT                  = 308 // { int kldstat(int fileid, struct \
-       SYS_KLDFIRSTMOD              = 309 // { int kldfirstmod(int fileid); }
-       SYS_GETSID                   = 310 // { int getsid(pid_t pid); }
-       SYS_SETRESUID                = 311 // { int setresuid(uid_t ruid, uid_t euid, \
-       SYS_SETRESGID                = 312 // { int setresgid(gid_t rgid, gid_t egid, \
-       SYS_YIELD                    = 321 // { int yield(void); }
-       SYS_MLOCKALL                 = 324 // { int mlockall(int how); }
-       SYS_MUNLOCKALL               = 325 // { int munlockall(void); }
-       SYS___GETCWD                 = 326 // { int __getcwd(char *buf, u_int buflen); }
-       SYS_SCHED_SETPARAM           = 327 // { int sched_setparam (pid_t pid, \
-       SYS_SCHED_GETPARAM           = 328 // { int sched_getparam (pid_t pid, struct \
-       SYS_SCHED_SETSCHEDULER       = 329 // { int sched_setscheduler (pid_t pid, int \
-       SYS_SCHED_GETSCHEDULER       = 330 // { int sched_getscheduler (pid_t pid); }
-       SYS_SCHED_YIELD              = 331 // { int sched_yield (void); }
-       SYS_SCHED_GET_PRIORITY_MAX   = 332 // { int sched_get_priority_max (int policy); }
-       SYS_SCHED_GET_PRIORITY_MIN   = 333 // { int sched_get_priority_min (int policy); }
-       SYS_SCHED_RR_GET_INTERVAL    = 334 // { int sched_rr_get_interval (pid_t pid, \
-       SYS_UTRACE                   = 335 // { int utrace(const void *addr, size_t len); }
-       SYS_KLDSYM                   = 337 // { int kldsym(int fileid, int cmd, \
-       SYS_JAIL                     = 338 // { int jail(struct jail *jail); }
-       SYS_SIGPROCMASK              = 340 // { int sigprocmask(int how, \
-       SYS_SIGSUSPEND               = 341 // { int sigsuspend(const sigset_t *sigmask); }
-       SYS_SIGPENDING               = 343 // { int sigpending(sigset_t *set); }
-       SYS_SIGTIMEDWAIT             = 345 // { int sigtimedwait(const sigset_t *set, \
-       SYS_SIGWAITINFO              = 346 // { int sigwaitinfo(const sigset_t *set, \
-       SYS___ACL_GET_FILE           = 347 // { int __acl_get_file(const char *path, \
-       SYS___ACL_SET_FILE           = 348 // { int __acl_set_file(const char *path, \
-       SYS___ACL_GET_FD             = 349 // { int __acl_get_fd(int filedes, \
-       SYS___ACL_SET_FD             = 350 // { int __acl_set_fd(int filedes, \
-       SYS___ACL_DELETE_FILE        = 351 // { int __acl_delete_file(const char *path, \
-       SYS___ACL_DELETE_FD          = 352 // { int __acl_delete_fd(int filedes, \
-       SYS___ACL_ACLCHECK_FILE      = 353 // { int __acl_aclcheck_file(const char *path, \
-       SYS___ACL_ACLCHECK_FD        = 354 // { int __acl_aclcheck_fd(int filedes, \
-       SYS_EXTATTRCTL               = 355 // { int extattrctl(const char *path, int cmd, \
-       SYS_EXTATTR_SET_FILE         = 356 // { ssize_t extattr_set_file( \
-       SYS_EXTATTR_GET_FILE         = 357 // { ssize_t extattr_get_file( \
-       SYS_EXTATTR_DELETE_FILE      = 358 // { int extattr_delete_file(const char *path, \
-       SYS_GETRESUID                = 360 // { int getresuid(uid_t *ruid, uid_t *euid, \
-       SYS_GETRESGID                = 361 // { int getresgid(gid_t *rgid, gid_t *egid, \
-       SYS_KQUEUE                   = 362 // { int kqueue(void); }
-       SYS_KEVENT                   = 363 // { int kevent(int fd, \
-       SYS_EXTATTR_SET_FD           = 371 // { ssize_t extattr_set_fd(int fd, \
-       SYS_EXTATTR_GET_FD           = 372 // { ssize_t extattr_get_fd(int fd, \
-       SYS_EXTATTR_DELETE_FD        = 373 // { int extattr_delete_fd(int fd, \
-       SYS___SETUGID                = 374 // { int __setugid(int flag); }
-       SYS_EACCESS                  = 376 // { int eaccess(char *path, int amode); }
-       SYS_NMOUNT                   = 378 // { int nmount(struct iovec *iovp, \
-       SYS___MAC_GET_PROC           = 384 // { int __mac_get_proc(struct mac *mac_p); }
-       SYS___MAC_SET_PROC           = 385 // { int __mac_set_proc(struct mac *mac_p); }
-       SYS___MAC_GET_FD             = 386 // { int __mac_get_fd(int fd, \
-       SYS___MAC_GET_FILE           = 387 // { int __mac_get_file(const char *path_p, \
-       SYS___MAC_SET_FD             = 388 // { int __mac_set_fd(int fd, \
-       SYS___MAC_SET_FILE           = 389 // { int __mac_set_file(const char *path_p, \
-       SYS_KENV                     = 390 // { int kenv(int what, const char *name, \
-       SYS_LCHFLAGS                 = 391 // { int lchflags(const char *path, \
-       SYS_UUIDGEN                  = 392 // { int uuidgen(struct uuid *store, \
-       SYS_SENDFILE                 = 393 // { int sendfile(int fd, int s, off_t offset, \
-       SYS_MAC_SYSCALL              = 394 // { int mac_syscall(const char *policy, \
-       SYS_GETFSSTAT                = 395 // { int getfsstat(struct statfs *buf, \
-       SYS_STATFS                   = 396 // { int statfs(char *path, \
-       SYS_FSTATFS                  = 397 // { int fstatfs(int fd, struct statfs *buf); }
-       SYS_FHSTATFS                 = 398 // { int fhstatfs(const struct fhandle *u_fhp, \
-       SYS___MAC_GET_PID            = 409 // { int __mac_get_pid(pid_t pid, \
-       SYS___MAC_GET_LINK           = 410 // { int __mac_get_link(const char *path_p, \
-       SYS___MAC_SET_LINK           = 411 // { int __mac_set_link(const char *path_p, \
-       SYS_EXTATTR_SET_LINK         = 412 // { ssize_t extattr_set_link( \
-       SYS_EXTATTR_GET_LINK         = 413 // { ssize_t extattr_get_link( \
-       SYS_EXTATTR_DELETE_LINK      = 414 // { int extattr_delete_link( \
-       SYS___MAC_EXECVE             = 415 // { int __mac_execve(char *fname, char **argv, \
-       SYS_SIGACTION                = 416 // { int sigaction(int sig, \
-       SYS_SIGRETURN                = 417 // { int sigreturn( \
-       SYS_GETCONTEXT               = 421 // { int getcontext(struct __ucontext *ucp); }
-       SYS_SETCONTEXT               = 422 // { int setcontext( \
-       SYS_SWAPCONTEXT              = 423 // { int swapcontext(struct __ucontext *oucp, \
-       SYS_SWAPOFF                  = 424 // { int swapoff(const char *name); }
-       SYS___ACL_GET_LINK           = 425 // { int __acl_get_link(const char *path, \
-       SYS___ACL_SET_LINK           = 426 // { int __acl_set_link(const char *path, \
-       SYS___ACL_DELETE_LINK        = 427 // { int __acl_delete_link(const char *path, \
-       SYS___ACL_ACLCHECK_LINK      = 428 // { int __acl_aclcheck_link(const char *path, \
-       SYS_SIGWAIT                  = 429 // { int sigwait(const sigset_t *set, \
-       SYS_THR_CREATE               = 430 // { int thr_create(ucontext_t *ctx, long *id, \
-       SYS_THR_EXIT                 = 431 // { void thr_exit(long *state); }
-       SYS_THR_SELF                 = 432 // { int thr_self(long *id); }
-       SYS_THR_KILL                 = 433 // { int thr_kill(long id, int sig); }
-       SYS__UMTX_LOCK               = 434 // { int _umtx_lock(struct umtx *umtx); }
-       SYS__UMTX_UNLOCK             = 435 // { int _umtx_unlock(struct umtx *umtx); }
-       SYS_JAIL_ATTACH              = 436 // { int jail_attach(int jid); }
-       SYS_EXTATTR_LIST_FD          = 437 // { ssize_t extattr_list_fd(int fd, \
-       SYS_EXTATTR_LIST_FILE        = 438 // { ssize_t extattr_list_file( \
-       SYS_EXTATTR_LIST_LINK        = 439 // { ssize_t extattr_list_link( \
-       SYS_THR_SUSPEND              = 442 // { int thr_suspend( \
-       SYS_THR_WAKE                 = 443 // { int thr_wake(long id); }
-       SYS_KLDUNLOADF               = 444 // { int kldunloadf(int fileid, int flags); }
-       SYS_AUDIT                    = 445 // { int audit(const void *record, \
-       SYS_AUDITON                  = 446 // { int auditon(int cmd, void *data, \
-       SYS_GETAUID                  = 447 // { int getauid(uid_t *auid); }
-       SYS_SETAUID                  = 448 // { int setauid(uid_t *auid); }
-       SYS_GETAUDIT                 = 449 // { int getaudit(struct auditinfo *auditinfo); }
-       SYS_SETAUDIT                 = 450 // { int setaudit(struct auditinfo *auditinfo); }
-       SYS_GETAUDIT_ADDR            = 451 // { int getaudit_addr( \
-       SYS_SETAUDIT_ADDR            = 452 // { int setaudit_addr( \
-       SYS_AUDITCTL                 = 453 // { int auditctl(char *path); }
-       SYS__UMTX_OP                 = 454 // { int _umtx_op(void *obj, int op, \
-       SYS_THR_NEW                  = 455 // { int thr_new(struct thr_param *param, \
-       SYS_SIGQUEUE                 = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
-       SYS_ABORT2                   = 463 // { int abort2(const char *why, int nargs, void **args); }
-       SYS_THR_SET_NAME             = 464 // { int thr_set_name(long id, const char *name); }
-       SYS_RTPRIO_THREAD            = 466 // { int rtprio_thread(int function, \
-       SYS_SCTP_PEELOFF             = 471 // { int sctp_peeloff(int sd, uint32_t name); }
-       SYS_SCTP_GENERIC_SENDMSG     = 472 // { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, \
-       SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, \
-       SYS_SCTP_GENERIC_RECVMSG     = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, \
-       SYS_PREAD                    = 475 // { ssize_t pread(int fd, void *buf, \
-       SYS_PWRITE                   = 476 // { ssize_t pwrite(int fd, const void *buf, \
-       SYS_MMAP                     = 477 // { caddr_t mmap(caddr_t addr, size_t len, \
-       SYS_LSEEK                    = 478 // { off_t lseek(int fd, off_t offset, \
-       SYS_TRUNCATE                 = 479 // { int truncate(char *path, off_t length); }
-       SYS_FTRUNCATE                = 480 // { int ftruncate(int fd, off_t length); }
-       SYS_THR_KILL2                = 481 // { int thr_kill2(pid_t pid, long id, int sig); }
-       SYS_SHM_OPEN                 = 482 // { int shm_open(const char *path, int flags, \
-       SYS_SHM_UNLINK               = 483 // { int shm_unlink(const char *path); }
-       SYS_CPUSET                   = 484 // { int cpuset(cpusetid_t *setid); }
-       SYS_CPUSET_SETID             = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, \
-       SYS_CPUSET_GETID             = 486 // { int cpuset_getid(cpulevel_t level, \
-       SYS_CPUSET_GETAFFINITY       = 487 // { int cpuset_getaffinity(cpulevel_t level, \
-       SYS_CPUSET_SETAFFINITY       = 488 // { int cpuset_setaffinity(cpulevel_t level, \
-       SYS_FACCESSAT                = 489 // { int faccessat(int fd, char *path, int amode, \
-       SYS_FCHMODAT                 = 490 // { int fchmodat(int fd, char *path, mode_t mode, \
-       SYS_FCHOWNAT                 = 491 // { int fchownat(int fd, char *path, uid_t uid, \
-       SYS_FEXECVE                  = 492 // { int fexecve(int fd, char **argv, \
-       SYS_FSTATAT                  = 493 // { int fstatat(int fd, char *path, \
-       SYS_FUTIMESAT                = 494 // { int futimesat(int fd, char *path, \
-       SYS_LINKAT                   = 495 // { int linkat(int fd1, char *path1, int fd2, \
-       SYS_MKDIRAT                  = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
-       SYS_MKFIFOAT                 = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
-       SYS_MKNODAT                  = 498 // { int mknodat(int fd, char *path, mode_t mode, \
-       SYS_OPENAT                   = 499 // { int openat(int fd, char *path, int flag, \
-       SYS_READLINKAT               = 500 // { int readlinkat(int fd, char *path, char *buf, \
-       SYS_RENAMEAT                 = 501 // { int renameat(int oldfd, char *old, int newfd, \
-       SYS_SYMLINKAT                = 502 // { int symlinkat(char *path1, int fd, \
-       SYS_UNLINKAT                 = 503 // { int unlinkat(int fd, char *path, int flag); }
-       SYS_POSIX_OPENPT             = 504 // { int posix_openpt(int flags); }
-       SYS_JAIL_GET                 = 506 // { int jail_get(struct iovec *iovp, \
-       SYS_JAIL_SET                 = 507 // { int jail_set(struct iovec *iovp, \
-       SYS_JAIL_REMOVE              = 508 // { int jail_remove(int jid); }
-       SYS_CLOSEFROM                = 509 // { int closefrom(int lowfd); }
-       SYS_LPATHCONF                = 513 // { int lpathconf(char *path, int name); }
-       SYS_CAP_NEW                  = 514 // { int cap_new(int fd, uint64_t rights); }
-       SYS_CAP_GETRIGHTS            = 515 // { int cap_getrights(int fd, \
-       SYS_CAP_ENTER                = 516 // { int cap_enter(void); }
-       SYS_CAP_GETMODE              = 517 // { int cap_getmode(u_int *modep); }
-       SYS_PDFORK                   = 518 // { int pdfork(int *fdp, int flags); }
-       SYS_PDKILL                   = 519 // { int pdkill(int fd, int signum); }
-       SYS_PDGETPID                 = 520 // { int pdgetpid(int fd, pid_t *pidp); }
-       SYS_PSELECT                  = 522 // { int pselect(int nd, fd_set *in, \
-       SYS_GETLOGINCLASS            = 523 // { int getloginclass(char *namebuf, \
-       SYS_SETLOGINCLASS            = 524 // { int setloginclass(const char *namebuf); }
-       SYS_RCTL_GET_RACCT           = 525 // { int rctl_get_racct(const void *inbufp, \
-       SYS_RCTL_GET_RULES           = 526 // { int rctl_get_rules(const void *inbufp, \
-       SYS_RCTL_GET_LIMITS          = 527 // { int rctl_get_limits(const void *inbufp, \
-       SYS_RCTL_ADD_RULE            = 528 // { int rctl_add_rule(const void *inbufp, \
-       SYS_RCTL_REMOVE_RULE         = 529 // { int rctl_remove_rule(const void *inbufp, \
-       SYS_POSIX_FALLOCATE          = 530 // { int posix_fallocate(int fd, \
-       SYS_POSIX_FADVISE            = 531 // { int posix_fadvise(int fd, off_t offset, \
-       SYS_WAIT6                    = 532 // { int wait6(idtype_t idtype, id_t id, \
-       SYS_BINDAT                   = 538 // { int bindat(int fd, int s, caddr_t name, \
-       SYS_CONNECTAT                = 539 // { int connectat(int fd, int s, caddr_t name, \
-       SYS_CHFLAGSAT                = 540 // { int chflagsat(int fd, const char *path, \
-       SYS_ACCEPT4                  = 541 // { int accept4(int s, \
-       SYS_PIPE2                    = 542 // { int pipe2(int *fildes, int flags); }
-       SYS_PROCCTL                  = 544 // { int procctl(idtype_t idtype, id_t id, \
-       SYS_PPOLL                    = 545 // { int ppoll(struct pollfd *fds, u_int nfds, \
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go
deleted file mode 100644 (file)
index 57a60ea..0000000
+++ /dev/null
@@ -1,351 +0,0 @@
-// mksysnum_freebsd.pl
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build amd64,freebsd
-
-package unix
-
-const (
-       // SYS_NOSYS = 0;  // { int nosys(void); } syscall nosys_args int
-       SYS_EXIT                     = 1   // { void sys_exit(int rval); } exit \
-       SYS_FORK                     = 2   // { int fork(void); }
-       SYS_READ                     = 3   // { ssize_t read(int fd, void *buf, \
-       SYS_WRITE                    = 4   // { ssize_t write(int fd, const void *buf, \
-       SYS_OPEN                     = 5   // { int open(char *path, int flags, int mode); }
-       SYS_CLOSE                    = 6   // { int close(int fd); }
-       SYS_WAIT4                    = 7   // { int wait4(int pid, int *status, \
-       SYS_LINK                     = 9   // { int link(char *path, char *link); }
-       SYS_UNLINK                   = 10  // { int unlink(char *path); }
-       SYS_CHDIR                    = 12  // { int chdir(char *path); }
-       SYS_FCHDIR                   = 13  // { int fchdir(int fd); }
-       SYS_MKNOD                    = 14  // { int mknod(char *path, int mode, int dev); }
-       SYS_CHMOD                    = 15  // { int chmod(char *path, int mode); }
-       SYS_CHOWN                    = 16  // { int chown(char *path, int uid, int gid); }
-       SYS_OBREAK                   = 17  // { int obreak(char *nsize); } break \
-       SYS_GETPID                   = 20  // { pid_t getpid(void); }
-       SYS_MOUNT                    = 21  // { int mount(char *type, char *path, \
-       SYS_UNMOUNT                  = 22  // { int unmount(char *path, int flags); }
-       SYS_SETUID                   = 23  // { int setuid(uid_t uid); }
-       SYS_GETUID                   = 24  // { uid_t getuid(void); }
-       SYS_GETEUID                  = 25  // { uid_t geteuid(void); }
-       SYS_PTRACE                   = 26  // { int ptrace(int req, pid_t pid, \
-       SYS_RECVMSG                  = 27  // { int recvmsg(int s, struct msghdr *msg, \
-       SYS_SENDMSG                  = 28  // { int sendmsg(int s, struct msghdr *msg, \
-       SYS_RECVFROM                 = 29  // { int recvfrom(int s, caddr_t buf, \
-       SYS_ACCEPT                   = 30  // { int accept(int s, \
-       SYS_GETPEERNAME              = 31  // { int getpeername(int fdes, \
-       SYS_GETSOCKNAME              = 32  // { int getsockname(int fdes, \
-       SYS_ACCESS                   = 33  // { int access(char *path, int amode); }
-       SYS_CHFLAGS                  = 34  // { int chflags(const char *path, u_long flags); }
-       SYS_FCHFLAGS                 = 35  // { int fchflags(int fd, u_long flags); }
-       SYS_SYNC                     = 36  // { int sync(void); }
-       SYS_KILL                     = 37  // { int kill(int pid, int signum); }
-       SYS_GETPPID                  = 39  // { pid_t getppid(void); }
-       SYS_DUP                      = 41  // { int dup(u_int fd); }
-       SYS_PIPE                     = 42  // { int pipe(void); }
-       SYS_GETEGID                  = 43  // { gid_t getegid(void); }
-       SYS_PROFIL                   = 44  // { int profil(caddr_t samples, size_t size, \
-       SYS_KTRACE                   = 45  // { int ktrace(const char *fname, int ops, \
-       SYS_GETGID                   = 47  // { gid_t getgid(void); }
-       SYS_GETLOGIN                 = 49  // { int getlogin(char *namebuf, u_int \
-       SYS_SETLOGIN                 = 50  // { int setlogin(char *namebuf); }
-       SYS_ACCT                     = 51  // { int acct(char *path); }
-       SYS_SIGALTSTACK              = 53  // { int sigaltstack(stack_t *ss, \
-       SYS_IOCTL                    = 54  // { int ioctl(int fd, u_long com, \
-       SYS_REBOOT                   = 55  // { int reboot(int opt); }
-       SYS_REVOKE                   = 56  // { int revoke(char *path); }
-       SYS_SYMLINK                  = 57  // { int symlink(char *path, char *link); }
-       SYS_READLINK                 = 58  // { ssize_t readlink(char *path, char *buf, \
-       SYS_EXECVE                   = 59  // { int execve(char *fname, char **argv, \
-       SYS_UMASK                    = 60  // { int umask(int newmask); } umask umask_args \
-       SYS_CHROOT                   = 61  // { int chroot(char *path); }
-       SYS_MSYNC                    = 65  // { int msync(void *addr, size_t len, \
-       SYS_VFORK                    = 66  // { int vfork(void); }
-       SYS_SBRK                     = 69  // { int sbrk(int incr); }
-       SYS_SSTK                     = 70  // { int sstk(int incr); }
-       SYS_OVADVISE                 = 72  // { int ovadvise(int anom); } vadvise \
-       SYS_MUNMAP                   = 73  // { int munmap(void *addr, size_t len); }
-       SYS_MPROTECT                 = 74  // { int mprotect(const void *addr, size_t len, \
-       SYS_MADVISE                  = 75  // { int madvise(void *addr, size_t len, \
-       SYS_MINCORE                  = 78  // { int mincore(const void *addr, size_t len, \
-       SYS_GETGROUPS                = 79  // { int getgroups(u_int gidsetsize, \
-       SYS_SETGROUPS                = 80  // { int setgroups(u_int gidsetsize, \
-       SYS_GETPGRP                  = 81  // { int getpgrp(void); }
-       SYS_SETPGID                  = 82  // { int setpgid(int pid, int pgid); }
-       SYS_SETITIMER                = 83  // { int setitimer(u_int which, struct \
-       SYS_SWAPON                   = 85  // { int swapon(char *name); }
-       SYS_GETITIMER                = 86  // { int getitimer(u_int which, \
-       SYS_GETDTABLESIZE            = 89  // { int getdtablesize(void); }
-       SYS_DUP2                     = 90  // { int dup2(u_int from, u_int to); }
-       SYS_FCNTL                    = 92  // { int fcntl(int fd, int cmd, long arg); }
-       SYS_SELECT                   = 93  // { int select(int nd, fd_set *in, fd_set *ou, \
-       SYS_FSYNC                    = 95  // { int fsync(int fd); }
-       SYS_SETPRIORITY              = 96  // { int setpriority(int which, int who, \
-       SYS_SOCKET                   = 97  // { int socket(int domain, int type, \
-       SYS_CONNECT                  = 98  // { int connect(int s, caddr_t name, \
-       SYS_GETPRIORITY              = 100 // { int getpriority(int which, int who); }
-       SYS_BIND                     = 104 // { int bind(int s, caddr_t name, \
-       SYS_SETSOCKOPT               = 105 // { int setsockopt(int s, int level, int name, \
-       SYS_LISTEN                   = 106 // { int listen(int s, int backlog); }
-       SYS_GETTIMEOFDAY             = 116 // { int gettimeofday(struct timeval *tp, \
-       SYS_GETRUSAGE                = 117 // { int getrusage(int who, \
-       SYS_GETSOCKOPT               = 118 // { int getsockopt(int s, int level, int name, \
-       SYS_READV                    = 120 // { int readv(int fd, struct iovec *iovp, \
-       SYS_WRITEV                   = 121 // { int writev(int fd, struct iovec *iovp, \
-       SYS_SETTIMEOFDAY             = 122 // { int settimeofday(struct timeval *tv, \
-       SYS_FCHOWN                   = 123 // { int fchown(int fd, int uid, int gid); }
-       SYS_FCHMOD                   = 124 // { int fchmod(int fd, int mode); }
-       SYS_SETREUID                 = 126 // { int setreuid(int ruid, int euid); }
-       SYS_SETREGID                 = 127 // { int setregid(int rgid, int egid); }
-       SYS_RENAME                   = 128 // { int rename(char *from, char *to); }
-       SYS_FLOCK                    = 131 // { int flock(int fd, int how); }
-       SYS_MKFIFO                   = 132 // { int mkfifo(char *path, int mode); }
-       SYS_SENDTO                   = 133 // { int sendto(int s, caddr_t buf, size_t len, \
-       SYS_SHUTDOWN                 = 134 // { int shutdown(int s, int how); }
-       SYS_SOCKETPAIR               = 135 // { int socketpair(int domain, int type, \
-       SYS_MKDIR                    = 136 // { int mkdir(char *path, int mode); }
-       SYS_RMDIR                    = 137 // { int rmdir(char *path); }
-       SYS_UTIMES                   = 138 // { int utimes(char *path, \
-       SYS_ADJTIME                  = 140 // { int adjtime(struct timeval *delta, \
-       SYS_SETSID                   = 147 // { int setsid(void); }
-       SYS_QUOTACTL                 = 148 // { int quotactl(char *path, int cmd, int uid, \
-       SYS_LGETFH                   = 160 // { int lgetfh(char *fname, \
-       SYS_GETFH                    = 161 // { int getfh(char *fname, \
-       SYS_SYSARCH                  = 165 // { int sysarch(int op, char *parms); }
-       SYS_RTPRIO                   = 166 // { int rtprio(int function, pid_t pid, \
-       SYS_FREEBSD6_PREAD           = 173 // { ssize_t freebsd6_pread(int fd, void *buf, \
-       SYS_FREEBSD6_PWRITE          = 174 // { ssize_t freebsd6_pwrite(int fd, \
-       SYS_SETFIB                   = 175 // { int setfib(int fibnum); }
-       SYS_NTP_ADJTIME              = 176 // { int ntp_adjtime(struct timex *tp); }
-       SYS_SETGID                   = 181 // { int setgid(gid_t gid); }
-       SYS_SETEGID                  = 182 // { int setegid(gid_t egid); }
-       SYS_SETEUID                  = 183 // { int seteuid(uid_t euid); }
-       SYS_STAT                     = 188 // { int stat(char *path, struct stat *ub); }
-       SYS_FSTAT                    = 189 // { int fstat(int fd, struct stat *sb); }
-       SYS_LSTAT                    = 190 // { int lstat(char *path, struct stat *ub); }
-       SYS_PATHCONF                 = 191 // { int pathconf(char *path, int name); }
-       SYS_FPATHCONF                = 192 // { int fpathconf(int fd, int name); }
-       SYS_GETRLIMIT                = 194 // { int getrlimit(u_int which, \
-       SYS_SETRLIMIT                = 195 // { int setrlimit(u_int which, \
-       SYS_GETDIRENTRIES            = 196 // { int getdirentries(int fd, char *buf, \
-       SYS_FREEBSD6_MMAP            = 197 // { caddr_t freebsd6_mmap(caddr_t addr, \
-       SYS_FREEBSD6_LSEEK           = 199 // { off_t freebsd6_lseek(int fd, int pad, \
-       SYS_FREEBSD6_TRUNCATE        = 200 // { int freebsd6_truncate(char *path, int pad, \
-       SYS_FREEBSD6_FTRUNCATE       = 201 // { int freebsd6_ftruncate(int fd, int pad, \
-       SYS___SYSCTL                 = 202 // { int __sysctl(int *name, u_int namelen, \
-       SYS_MLOCK                    = 203 // { int mlock(const void *addr, size_t len); }
-       SYS_MUNLOCK                  = 204 // { int munlock(const void *addr, size_t len); }
-       SYS_UNDELETE                 = 205 // { int undelete(char *path); }
-       SYS_FUTIMES                  = 206 // { int futimes(int fd, struct timeval *tptr); }
-       SYS_GETPGID                  = 207 // { int getpgid(pid_t pid); }
-       SYS_POLL                     = 209 // { int poll(struct pollfd *fds, u_int nfds, \
-       SYS_CLOCK_GETTIME            = 232 // { int clock_gettime(clockid_t clock_id, \
-       SYS_CLOCK_SETTIME            = 233 // { int clock_settime( \
-       SYS_CLOCK_GETRES             = 234 // { int clock_getres(clockid_t clock_id, \
-       SYS_KTIMER_CREATE            = 235 // { int ktimer_create(clockid_t clock_id, \
-       SYS_KTIMER_DELETE            = 236 // { int ktimer_delete(int timerid); }
-       SYS_KTIMER_SETTIME           = 237 // { int ktimer_settime(int timerid, int flags, \
-       SYS_KTIMER_GETTIME           = 238 // { int ktimer_gettime(int timerid, struct \
-       SYS_KTIMER_GETOVERRUN        = 239 // { int ktimer_getoverrun(int timerid); }
-       SYS_NANOSLEEP                = 240 // { int nanosleep(const struct timespec *rqtp, \
-       SYS_FFCLOCK_GETCOUNTER       = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
-       SYS_FFCLOCK_SETESTIMATE      = 242 // { int ffclock_setestimate( \
-       SYS_FFCLOCK_GETESTIMATE      = 243 // { int ffclock_getestimate( \
-       SYS_CLOCK_GETCPUCLOCKID2     = 247 // { int clock_getcpuclockid2(id_t id,\
-       SYS_NTP_GETTIME              = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
-       SYS_MINHERIT                 = 250 // { int minherit(void *addr, size_t len, \
-       SYS_RFORK                    = 251 // { int rfork(int flags); }
-       SYS_OPENBSD_POLL             = 252 // { int openbsd_poll(struct pollfd *fds, \
-       SYS_ISSETUGID                = 253 // { int issetugid(void); }
-       SYS_LCHOWN                   = 254 // { int lchown(char *path, int uid, int gid); }
-       SYS_GETDENTS                 = 272 // { int getdents(int fd, char *buf, \
-       SYS_LCHMOD                   = 274 // { int lchmod(char *path, mode_t mode); }
-       SYS_LUTIMES                  = 276 // { int lutimes(char *path, \
-       SYS_NSTAT                    = 278 // { int nstat(char *path, struct nstat *ub); }
-       SYS_NFSTAT                   = 279 // { int nfstat(int fd, struct nstat *sb); }
-       SYS_NLSTAT                   = 280 // { int nlstat(char *path, struct nstat *ub); }
-       SYS_PREADV                   = 289 // { ssize_t preadv(int fd, struct iovec *iovp, \
-       SYS_PWRITEV                  = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, \
-       SYS_FHOPEN                   = 298 // { int fhopen(const struct fhandle *u_fhp, \
-       SYS_FHSTAT                   = 299 // { int fhstat(const struct fhandle *u_fhp, \
-       SYS_MODNEXT                  = 300 // { int modnext(int modid); }
-       SYS_MODSTAT                  = 301 // { int modstat(int modid, \
-       SYS_MODFNEXT                 = 302 // { int modfnext(int modid); }
-       SYS_MODFIND                  = 303 // { int modfind(const char *name); }
-       SYS_KLDLOAD                  = 304 // { int kldload(const char *file); }
-       SYS_KLDUNLOAD                = 305 // { int kldunload(int fileid); }
-       SYS_KLDFIND                  = 306 // { int kldfind(const char *file); }
-       SYS_KLDNEXT                  = 307 // { int kldnext(int fileid); }
-       SYS_KLDSTAT                  = 308 // { int kldstat(int fileid, struct \
-       SYS_KLDFIRSTMOD              = 309 // { int kldfirstmod(int fileid); }
-       SYS_GETSID                   = 310 // { int getsid(pid_t pid); }
-       SYS_SETRESUID                = 311 // { int setresuid(uid_t ruid, uid_t euid, \
-       SYS_SETRESGID                = 312 // { int setresgid(gid_t rgid, gid_t egid, \
-       SYS_YIELD                    = 321 // { int yield(void); }
-       SYS_MLOCKALL                 = 324 // { int mlockall(int how); }
-       SYS_MUNLOCKALL               = 325 // { int munlockall(void); }
-       SYS___GETCWD                 = 326 // { int __getcwd(char *buf, u_int buflen); }
-       SYS_SCHED_SETPARAM           = 327 // { int sched_setparam (pid_t pid, \
-       SYS_SCHED_GETPARAM           = 328 // { int sched_getparam (pid_t pid, struct \
-       SYS_SCHED_SETSCHEDULER       = 329 // { int sched_setscheduler (pid_t pid, int \
-       SYS_SCHED_GETSCHEDULER       = 330 // { int sched_getscheduler (pid_t pid); }
-       SYS_SCHED_YIELD              = 331 // { int sched_yield (void); }
-       SYS_SCHED_GET_PRIORITY_MAX   = 332 // { int sched_get_priority_max (int policy); }
-       SYS_SCHED_GET_PRIORITY_MIN   = 333 // { int sched_get_priority_min (int policy); }
-       SYS_SCHED_RR_GET_INTERVAL    = 334 // { int sched_rr_get_interval (pid_t pid, \
-       SYS_UTRACE                   = 335 // { int utrace(const void *addr, size_t len); }
-       SYS_KLDSYM                   = 337 // { int kldsym(int fileid, int cmd, \
-       SYS_JAIL                     = 338 // { int jail(struct jail *jail); }
-       SYS_SIGPROCMASK              = 340 // { int sigprocmask(int how, \
-       SYS_SIGSUSPEND               = 341 // { int sigsuspend(const sigset_t *sigmask); }
-       SYS_SIGPENDING               = 343 // { int sigpending(sigset_t *set); }
-       SYS_SIGTIMEDWAIT             = 345 // { int sigtimedwait(const sigset_t *set, \
-       SYS_SIGWAITINFO              = 346 // { int sigwaitinfo(const sigset_t *set, \
-       SYS___ACL_GET_FILE           = 347 // { int __acl_get_file(const char *path, \
-       SYS___ACL_SET_FILE           = 348 // { int __acl_set_file(const char *path, \
-       SYS___ACL_GET_FD             = 349 // { int __acl_get_fd(int filedes, \
-       SYS___ACL_SET_FD             = 350 // { int __acl_set_fd(int filedes, \
-       SYS___ACL_DELETE_FILE        = 351 // { int __acl_delete_file(const char *path, \
-       SYS___ACL_DELETE_FD          = 352 // { int __acl_delete_fd(int filedes, \
-       SYS___ACL_ACLCHECK_FILE      = 353 // { int __acl_aclcheck_file(const char *path, \
-       SYS___ACL_ACLCHECK_FD        = 354 // { int __acl_aclcheck_fd(int filedes, \
-       SYS_EXTATTRCTL               = 355 // { int extattrctl(const char *path, int cmd, \
-       SYS_EXTATTR_SET_FILE         = 356 // { ssize_t extattr_set_file( \
-       SYS_EXTATTR_GET_FILE         = 357 // { ssize_t extattr_get_file( \
-       SYS_EXTATTR_DELETE_FILE      = 358 // { int extattr_delete_file(const char *path, \
-       SYS_GETRESUID                = 360 // { int getresuid(uid_t *ruid, uid_t *euid, \
-       SYS_GETRESGID                = 361 // { int getresgid(gid_t *rgid, gid_t *egid, \
-       SYS_KQUEUE                   = 362 // { int kqueue(void); }
-       SYS_KEVENT                   = 363 // { int kevent(int fd, \
-       SYS_EXTATTR_SET_FD           = 371 // { ssize_t extattr_set_fd(int fd, \
-       SYS_EXTATTR_GET_FD           = 372 // { ssize_t extattr_get_fd(int fd, \
-       SYS_EXTATTR_DELETE_FD        = 373 // { int extattr_delete_fd(int fd, \
-       SYS___SETUGID                = 374 // { int __setugid(int flag); }
-       SYS_EACCESS                  = 376 // { int eaccess(char *path, int amode); }
-       SYS_NMOUNT                   = 378 // { int nmount(struct iovec *iovp, \
-       SYS___MAC_GET_PROC           = 384 // { int __mac_get_proc(struct mac *mac_p); }
-       SYS___MAC_SET_PROC           = 385 // { int __mac_set_proc(struct mac *mac_p); }
-       SYS___MAC_GET_FD             = 386 // { int __mac_get_fd(int fd, \
-       SYS___MAC_GET_FILE           = 387 // { int __mac_get_file(const char *path_p, \
-       SYS___MAC_SET_FD             = 388 // { int __mac_set_fd(int fd, \
-       SYS___MAC_SET_FILE           = 389 // { int __mac_set_file(const char *path_p, \
-       SYS_KENV                     = 390 // { int kenv(int what, const char *name, \
-       SYS_LCHFLAGS                 = 391 // { int lchflags(const char *path, \
-       SYS_UUIDGEN                  = 392 // { int uuidgen(struct uuid *store, \
-       SYS_SENDFILE                 = 393 // { int sendfile(int fd, int s, off_t offset, \
-       SYS_MAC_SYSCALL              = 394 // { int mac_syscall(const char *policy, \
-       SYS_GETFSSTAT                = 395 // { int getfsstat(struct statfs *buf, \
-       SYS_STATFS                   = 396 // { int statfs(char *path, \
-       SYS_FSTATFS                  = 397 // { int fstatfs(int fd, struct statfs *buf); }
-       SYS_FHSTATFS                 = 398 // { int fhstatfs(const struct fhandle *u_fhp, \
-       SYS___MAC_GET_PID            = 409 // { int __mac_get_pid(pid_t pid, \
-       SYS___MAC_GET_LINK           = 410 // { int __mac_get_link(const char *path_p, \
-       SYS___MAC_SET_LINK           = 411 // { int __mac_set_link(const char *path_p, \
-       SYS_EXTATTR_SET_LINK         = 412 // { ssize_t extattr_set_link( \
-       SYS_EXTATTR_GET_LINK         = 413 // { ssize_t extattr_get_link( \
-       SYS_EXTATTR_DELETE_LINK      = 414 // { int extattr_delete_link( \
-       SYS___MAC_EXECVE             = 415 // { int __mac_execve(char *fname, char **argv, \
-       SYS_SIGACTION                = 416 // { int sigaction(int sig, \
-       SYS_SIGRETURN                = 417 // { int sigreturn( \
-       SYS_GETCONTEXT               = 421 // { int getcontext(struct __ucontext *ucp); }
-       SYS_SETCONTEXT               = 422 // { int setcontext( \
-       SYS_SWAPCONTEXT              = 423 // { int swapcontext(struct __ucontext *oucp, \
-       SYS_SWAPOFF                  = 424 // { int swapoff(const char *name); }
-       SYS___ACL_GET_LINK           = 425 // { int __acl_get_link(const char *path, \
-       SYS___ACL_SET_LINK           = 426 // { int __acl_set_link(const char *path, \
-       SYS___ACL_DELETE_LINK        = 427 // { int __acl_delete_link(const char *path, \
-       SYS___ACL_ACLCHECK_LINK      = 428 // { int __acl_aclcheck_link(const char *path, \
-       SYS_SIGWAIT                  = 429 // { int sigwait(const sigset_t *set, \
-       SYS_THR_CREATE               = 430 // { int thr_create(ucontext_t *ctx, long *id, \
-       SYS_THR_EXIT                 = 431 // { void thr_exit(long *state); }
-       SYS_THR_SELF                 = 432 // { int thr_self(long *id); }
-       SYS_THR_KILL                 = 433 // { int thr_kill(long id, int sig); }
-       SYS__UMTX_LOCK               = 434 // { int _umtx_lock(struct umtx *umtx); }
-       SYS__UMTX_UNLOCK             = 435 // { int _umtx_unlock(struct umtx *umtx); }
-       SYS_JAIL_ATTACH              = 436 // { int jail_attach(int jid); }
-       SYS_EXTATTR_LIST_FD          = 437 // { ssize_t extattr_list_fd(int fd, \
-       SYS_EXTATTR_LIST_FILE        = 438 // { ssize_t extattr_list_file( \
-       SYS_EXTATTR_LIST_LINK        = 439 // { ssize_t extattr_list_link( \
-       SYS_THR_SUSPEND              = 442 // { int thr_suspend( \
-       SYS_THR_WAKE                 = 443 // { int thr_wake(long id); }
-       SYS_KLDUNLOADF               = 444 // { int kldunloadf(int fileid, int flags); }
-       SYS_AUDIT                    = 445 // { int audit(const void *record, \
-       SYS_AUDITON                  = 446 // { int auditon(int cmd, void *data, \
-       SYS_GETAUID                  = 447 // { int getauid(uid_t *auid); }
-       SYS_SETAUID                  = 448 // { int setauid(uid_t *auid); }
-       SYS_GETAUDIT                 = 449 // { int getaudit(struct auditinfo *auditinfo); }
-       SYS_SETAUDIT                 = 450 // { int setaudit(struct auditinfo *auditinfo); }
-       SYS_GETAUDIT_ADDR            = 451 // { int getaudit_addr( \
-       SYS_SETAUDIT_ADDR            = 452 // { int setaudit_addr( \
-       SYS_AUDITCTL                 = 453 // { int auditctl(char *path); }
-       SYS__UMTX_OP                 = 454 // { int _umtx_op(void *obj, int op, \
-       SYS_THR_NEW                  = 455 // { int thr_new(struct thr_param *param, \
-       SYS_SIGQUEUE                 = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
-       SYS_ABORT2                   = 463 // { int abort2(const char *why, int nargs, void **args); }
-       SYS_THR_SET_NAME             = 464 // { int thr_set_name(long id, const char *name); }
-       SYS_RTPRIO_THREAD            = 466 // { int rtprio_thread(int function, \
-       SYS_SCTP_PEELOFF             = 471 // { int sctp_peeloff(int sd, uint32_t name); }
-       SYS_SCTP_GENERIC_SENDMSG     = 472 // { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, \
-       SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, \
-       SYS_SCTP_GENERIC_RECVMSG     = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, \
-       SYS_PREAD                    = 475 // { ssize_t pread(int fd, void *buf, \
-       SYS_PWRITE                   = 476 // { ssize_t pwrite(int fd, const void *buf, \
-       SYS_MMAP                     = 477 // { caddr_t mmap(caddr_t addr, size_t len, \
-       SYS_LSEEK                    = 478 // { off_t lseek(int fd, off_t offset, \
-       SYS_TRUNCATE                 = 479 // { int truncate(char *path, off_t length); }
-       SYS_FTRUNCATE                = 480 // { int ftruncate(int fd, off_t length); }
-       SYS_THR_KILL2                = 481 // { int thr_kill2(pid_t pid, long id, int sig); }
-       SYS_SHM_OPEN                 = 482 // { int shm_open(const char *path, int flags, \
-       SYS_SHM_UNLINK               = 483 // { int shm_unlink(const char *path); }
-       SYS_CPUSET                   = 484 // { int cpuset(cpusetid_t *setid); }
-       SYS_CPUSET_SETID             = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, \
-       SYS_CPUSET_GETID             = 486 // { int cpuset_getid(cpulevel_t level, \
-       SYS_CPUSET_GETAFFINITY       = 487 // { int cpuset_getaffinity(cpulevel_t level, \
-       SYS_CPUSET_SETAFFINITY       = 488 // { int cpuset_setaffinity(cpulevel_t level, \
-       SYS_FACCESSAT                = 489 // { int faccessat(int fd, char *path, int amode, \
-       SYS_FCHMODAT                 = 490 // { int fchmodat(int fd, char *path, mode_t mode, \
-       SYS_FCHOWNAT                 = 491 // { int fchownat(int fd, char *path, uid_t uid, \
-       SYS_FEXECVE                  = 492 // { int fexecve(int fd, char **argv, \
-       SYS_FSTATAT                  = 493 // { int fstatat(int fd, char *path, \
-       SYS_FUTIMESAT                = 494 // { int futimesat(int fd, char *path, \
-       SYS_LINKAT                   = 495 // { int linkat(int fd1, char *path1, int fd2, \
-       SYS_MKDIRAT                  = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
-       SYS_MKFIFOAT                 = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
-       SYS_MKNODAT                  = 498 // { int mknodat(int fd, char *path, mode_t mode, \
-       SYS_OPENAT                   = 499 // { int openat(int fd, char *path, int flag, \
-       SYS_READLINKAT               = 500 // { int readlinkat(int fd, char *path, char *buf, \
-       SYS_RENAMEAT                 = 501 // { int renameat(int oldfd, char *old, int newfd, \
-       SYS_SYMLINKAT                = 502 // { int symlinkat(char *path1, int fd, \
-       SYS_UNLINKAT                 = 503 // { int unlinkat(int fd, char *path, int flag); }
-       SYS_POSIX_OPENPT             = 504 // { int posix_openpt(int flags); }
-       SYS_JAIL_GET                 = 506 // { int jail_get(struct iovec *iovp, \
-       SYS_JAIL_SET                 = 507 // { int jail_set(struct iovec *iovp, \
-       SYS_JAIL_REMOVE              = 508 // { int jail_remove(int jid); }
-       SYS_CLOSEFROM                = 509 // { int closefrom(int lowfd); }
-       SYS_LPATHCONF                = 513 // { int lpathconf(char *path, int name); }
-       SYS_CAP_NEW                  = 514 // { int cap_new(int fd, uint64_t rights); }
-       SYS_CAP_GETRIGHTS            = 515 // { int cap_getrights(int fd, \
-       SYS_CAP_ENTER                = 516 // { int cap_enter(void); }
-       SYS_CAP_GETMODE              = 517 // { int cap_getmode(u_int *modep); }
-       SYS_PDFORK                   = 518 // { int pdfork(int *fdp, int flags); }
-       SYS_PDKILL                   = 519 // { int pdkill(int fd, int signum); }
-       SYS_PDGETPID                 = 520 // { int pdgetpid(int fd, pid_t *pidp); }
-       SYS_PSELECT                  = 522 // { int pselect(int nd, fd_set *in, \
-       SYS_GETLOGINCLASS            = 523 // { int getloginclass(char *namebuf, \
-       SYS_SETLOGINCLASS            = 524 // { int setloginclass(const char *namebuf); }
-       SYS_RCTL_GET_RACCT           = 525 // { int rctl_get_racct(const void *inbufp, \
-       SYS_RCTL_GET_RULES           = 526 // { int rctl_get_rules(const void *inbufp, \
-       SYS_RCTL_GET_LIMITS          = 527 // { int rctl_get_limits(const void *inbufp, \
-       SYS_RCTL_ADD_RULE            = 528 // { int rctl_add_rule(const void *inbufp, \
-       SYS_RCTL_REMOVE_RULE         = 529 // { int rctl_remove_rule(const void *inbufp, \
-       SYS_POSIX_FALLOCATE          = 530 // { int posix_fallocate(int fd, \
-       SYS_POSIX_FADVISE            = 531 // { int posix_fadvise(int fd, off_t offset, \
-       SYS_WAIT6                    = 532 // { int wait6(idtype_t idtype, id_t id, \
-       SYS_BINDAT                   = 538 // { int bindat(int fd, int s, caddr_t name, \
-       SYS_CONNECTAT                = 539 // { int connectat(int fd, int s, caddr_t name, \
-       SYS_CHFLAGSAT                = 540 // { int chflagsat(int fd, const char *path, \
-       SYS_ACCEPT4                  = 541 // { int accept4(int s, \
-       SYS_PIPE2                    = 542 // { int pipe2(int *fildes, int flags); }
-       SYS_PROCCTL                  = 544 // { int procctl(idtype_t idtype, id_t id, \
-       SYS_PPOLL                    = 545 // { int ppoll(struct pollfd *fds, u_int nfds, \
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go
deleted file mode 100644 (file)
index 206b9f6..0000000
+++ /dev/null
@@ -1,351 +0,0 @@
-// mksysnum_freebsd.pl
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build arm,freebsd
-
-package unix
-
-const (
-       // SYS_NOSYS = 0;  // { int nosys(void); } syscall nosys_args int
-       SYS_EXIT                     = 1   // { void sys_exit(int rval); } exit \
-       SYS_FORK                     = 2   // { int fork(void); }
-       SYS_READ                     = 3   // { ssize_t read(int fd, void *buf, \
-       SYS_WRITE                    = 4   // { ssize_t write(int fd, const void *buf, \
-       SYS_OPEN                     = 5   // { int open(char *path, int flags, int mode); }
-       SYS_CLOSE                    = 6   // { int close(int fd); }
-       SYS_WAIT4                    = 7   // { int wait4(int pid, int *status, \
-       SYS_LINK                     = 9   // { int link(char *path, char *link); }
-       SYS_UNLINK                   = 10  // { int unlink(char *path); }
-       SYS_CHDIR                    = 12  // { int chdir(char *path); }
-       SYS_FCHDIR                   = 13  // { int fchdir(int fd); }
-       SYS_MKNOD                    = 14  // { int mknod(char *path, int mode, int dev); }
-       SYS_CHMOD                    = 15  // { int chmod(char *path, int mode); }
-       SYS_CHOWN                    = 16  // { int chown(char *path, int uid, int gid); }
-       SYS_OBREAK                   = 17  // { int obreak(char *nsize); } break \
-       SYS_GETPID                   = 20  // { pid_t getpid(void); }
-       SYS_MOUNT                    = 21  // { int mount(char *type, char *path, \
-       SYS_UNMOUNT                  = 22  // { int unmount(char *path, int flags); }
-       SYS_SETUID                   = 23  // { int setuid(uid_t uid); }
-       SYS_GETUID                   = 24  // { uid_t getuid(void); }
-       SYS_GETEUID                  = 25  // { uid_t geteuid(void); }
-       SYS_PTRACE                   = 26  // { int ptrace(int req, pid_t pid, \
-       SYS_RECVMSG                  = 27  // { int recvmsg(int s, struct msghdr *msg, \
-       SYS_SENDMSG                  = 28  // { int sendmsg(int s, struct msghdr *msg, \
-       SYS_RECVFROM                 = 29  // { int recvfrom(int s, caddr_t buf, \
-       SYS_ACCEPT                   = 30  // { int accept(int s, \
-       SYS_GETPEERNAME              = 31  // { int getpeername(int fdes, \
-       SYS_GETSOCKNAME              = 32  // { int getsockname(int fdes, \
-       SYS_ACCESS                   = 33  // { int access(char *path, int amode); }
-       SYS_CHFLAGS                  = 34  // { int chflags(const char *path, u_long flags); }
-       SYS_FCHFLAGS                 = 35  // { int fchflags(int fd, u_long flags); }
-       SYS_SYNC                     = 36  // { int sync(void); }
-       SYS_KILL                     = 37  // { int kill(int pid, int signum); }
-       SYS_GETPPID                  = 39  // { pid_t getppid(void); }
-       SYS_DUP                      = 41  // { int dup(u_int fd); }
-       SYS_PIPE                     = 42  // { int pipe(void); }
-       SYS_GETEGID                  = 43  // { gid_t getegid(void); }
-       SYS_PROFIL                   = 44  // { int profil(caddr_t samples, size_t size, \
-       SYS_KTRACE                   = 45  // { int ktrace(const char *fname, int ops, \
-       SYS_GETGID                   = 47  // { gid_t getgid(void); }
-       SYS_GETLOGIN                 = 49  // { int getlogin(char *namebuf, u_int \
-       SYS_SETLOGIN                 = 50  // { int setlogin(char *namebuf); }
-       SYS_ACCT                     = 51  // { int acct(char *path); }
-       SYS_SIGALTSTACK              = 53  // { int sigaltstack(stack_t *ss, \
-       SYS_IOCTL                    = 54  // { int ioctl(int fd, u_long com, \
-       SYS_REBOOT                   = 55  // { int reboot(int opt); }
-       SYS_REVOKE                   = 56  // { int revoke(char *path); }
-       SYS_SYMLINK                  = 57  // { int symlink(char *path, char *link); }
-       SYS_READLINK                 = 58  // { ssize_t readlink(char *path, char *buf, \
-       SYS_EXECVE                   = 59  // { int execve(char *fname, char **argv, \
-       SYS_UMASK                    = 60  // { int umask(int newmask); } umask umask_args \
-       SYS_CHROOT                   = 61  // { int chroot(char *path); }
-       SYS_MSYNC                    = 65  // { int msync(void *addr, size_t len, \
-       SYS_VFORK                    = 66  // { int vfork(void); }
-       SYS_SBRK                     = 69  // { int sbrk(int incr); }
-       SYS_SSTK                     = 70  // { int sstk(int incr); }
-       SYS_OVADVISE                 = 72  // { int ovadvise(int anom); } vadvise \
-       SYS_MUNMAP                   = 73  // { int munmap(void *addr, size_t len); }
-       SYS_MPROTECT                 = 74  // { int mprotect(const void *addr, size_t len, \
-       SYS_MADVISE                  = 75  // { int madvise(void *addr, size_t len, \
-       SYS_MINCORE                  = 78  // { int mincore(const void *addr, size_t len, \
-       SYS_GETGROUPS                = 79  // { int getgroups(u_int gidsetsize, \
-       SYS_SETGROUPS                = 80  // { int setgroups(u_int gidsetsize, \
-       SYS_GETPGRP                  = 81  // { int getpgrp(void); }
-       SYS_SETPGID                  = 82  // { int setpgid(int pid, int pgid); }
-       SYS_SETITIMER                = 83  // { int setitimer(u_int which, struct \
-       SYS_SWAPON                   = 85  // { int swapon(char *name); }
-       SYS_GETITIMER                = 86  // { int getitimer(u_int which, \
-       SYS_GETDTABLESIZE            = 89  // { int getdtablesize(void); }
-       SYS_DUP2                     = 90  // { int dup2(u_int from, u_int to); }
-       SYS_FCNTL                    = 92  // { int fcntl(int fd, int cmd, long arg); }
-       SYS_SELECT                   = 93  // { int select(int nd, fd_set *in, fd_set *ou, \
-       SYS_FSYNC                    = 95  // { int fsync(int fd); }
-       SYS_SETPRIORITY              = 96  // { int setpriority(int which, int who, \
-       SYS_SOCKET                   = 97  // { int socket(int domain, int type, \
-       SYS_CONNECT                  = 98  // { int connect(int s, caddr_t name, \
-       SYS_GETPRIORITY              = 100 // { int getpriority(int which, int who); }
-       SYS_BIND                     = 104 // { int bind(int s, caddr_t name, \
-       SYS_SETSOCKOPT               = 105 // { int setsockopt(int s, int level, int name, \
-       SYS_LISTEN                   = 106 // { int listen(int s, int backlog); }
-       SYS_GETTIMEOFDAY             = 116 // { int gettimeofday(struct timeval *tp, \
-       SYS_GETRUSAGE                = 117 // { int getrusage(int who, \
-       SYS_GETSOCKOPT               = 118 // { int getsockopt(int s, int level, int name, \
-       SYS_READV                    = 120 // { int readv(int fd, struct iovec *iovp, \
-       SYS_WRITEV                   = 121 // { int writev(int fd, struct iovec *iovp, \
-       SYS_SETTIMEOFDAY             = 122 // { int settimeofday(struct timeval *tv, \
-       SYS_FCHOWN                   = 123 // { int fchown(int fd, int uid, int gid); }
-       SYS_FCHMOD                   = 124 // { int fchmod(int fd, int mode); }
-       SYS_SETREUID                 = 126 // { int setreuid(int ruid, int euid); }
-       SYS_SETREGID                 = 127 // { int setregid(int rgid, int egid); }
-       SYS_RENAME                   = 128 // { int rename(char *from, char *to); }
-       SYS_FLOCK                    = 131 // { int flock(int fd, int how); }
-       SYS_MKFIFO                   = 132 // { int mkfifo(char *path, int mode); }
-       SYS_SENDTO                   = 133 // { int sendto(int s, caddr_t buf, size_t len, \
-       SYS_SHUTDOWN                 = 134 // { int shutdown(int s, int how); }
-       SYS_SOCKETPAIR               = 135 // { int socketpair(int domain, int type, \
-       SYS_MKDIR                    = 136 // { int mkdir(char *path, int mode); }
-       SYS_RMDIR                    = 137 // { int rmdir(char *path); }
-       SYS_UTIMES                   = 138 // { int utimes(char *path, \
-       SYS_ADJTIME                  = 140 // { int adjtime(struct timeval *delta, \
-       SYS_SETSID                   = 147 // { int setsid(void); }
-       SYS_QUOTACTL                 = 148 // { int quotactl(char *path, int cmd, int uid, \
-       SYS_LGETFH                   = 160 // { int lgetfh(char *fname, \
-       SYS_GETFH                    = 161 // { int getfh(char *fname, \
-       SYS_SYSARCH                  = 165 // { int sysarch(int op, char *parms); }
-       SYS_RTPRIO                   = 166 // { int rtprio(int function, pid_t pid, \
-       SYS_FREEBSD6_PREAD           = 173 // { ssize_t freebsd6_pread(int fd, void *buf, \
-       SYS_FREEBSD6_PWRITE          = 174 // { ssize_t freebsd6_pwrite(int fd, \
-       SYS_SETFIB                   = 175 // { int setfib(int fibnum); }
-       SYS_NTP_ADJTIME              = 176 // { int ntp_adjtime(struct timex *tp); }
-       SYS_SETGID                   = 181 // { int setgid(gid_t gid); }
-       SYS_SETEGID                  = 182 // { int setegid(gid_t egid); }
-       SYS_SETEUID                  = 183 // { int seteuid(uid_t euid); }
-       SYS_STAT                     = 188 // { int stat(char *path, struct stat *ub); }
-       SYS_FSTAT                    = 189 // { int fstat(int fd, struct stat *sb); }
-       SYS_LSTAT                    = 190 // { int lstat(char *path, struct stat *ub); }
-       SYS_PATHCONF                 = 191 // { int pathconf(char *path, int name); }
-       SYS_FPATHCONF                = 192 // { int fpathconf(int fd, int name); }
-       SYS_GETRLIMIT                = 194 // { int getrlimit(u_int which, \
-       SYS_SETRLIMIT                = 195 // { int setrlimit(u_int which, \
-       SYS_GETDIRENTRIES            = 196 // { int getdirentries(int fd, char *buf, \
-       SYS_FREEBSD6_MMAP            = 197 // { caddr_t freebsd6_mmap(caddr_t addr, \
-       SYS_FREEBSD6_LSEEK           = 199 // { off_t freebsd6_lseek(int fd, int pad, \
-       SYS_FREEBSD6_TRUNCATE        = 200 // { int freebsd6_truncate(char *path, int pad, \
-       SYS_FREEBSD6_FTRUNCATE       = 201 // { int freebsd6_ftruncate(int fd, int pad, \
-       SYS___SYSCTL                 = 202 // { int __sysctl(int *name, u_int namelen, \
-       SYS_MLOCK                    = 203 // { int mlock(const void *addr, size_t len); }
-       SYS_MUNLOCK                  = 204 // { int munlock(const void *addr, size_t len); }
-       SYS_UNDELETE                 = 205 // { int undelete(char *path); }
-       SYS_FUTIMES                  = 206 // { int futimes(int fd, struct timeval *tptr); }
-       SYS_GETPGID                  = 207 // { int getpgid(pid_t pid); }
-       SYS_POLL                     = 209 // { int poll(struct pollfd *fds, u_int nfds, \
-       SYS_CLOCK_GETTIME            = 232 // { int clock_gettime(clockid_t clock_id, \
-       SYS_CLOCK_SETTIME            = 233 // { int clock_settime( \
-       SYS_CLOCK_GETRES             = 234 // { int clock_getres(clockid_t clock_id, \
-       SYS_KTIMER_CREATE            = 235 // { int ktimer_create(clockid_t clock_id, \
-       SYS_KTIMER_DELETE            = 236 // { int ktimer_delete(int timerid); }
-       SYS_KTIMER_SETTIME           = 237 // { int ktimer_settime(int timerid, int flags, \
-       SYS_KTIMER_GETTIME           = 238 // { int ktimer_gettime(int timerid, struct \
-       SYS_KTIMER_GETOVERRUN        = 239 // { int ktimer_getoverrun(int timerid); }
-       SYS_NANOSLEEP                = 240 // { int nanosleep(const struct timespec *rqtp, \
-       SYS_FFCLOCK_GETCOUNTER       = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
-       SYS_FFCLOCK_SETESTIMATE      = 242 // { int ffclock_setestimate( \
-       SYS_FFCLOCK_GETESTIMATE      = 243 // { int ffclock_getestimate( \
-       SYS_CLOCK_GETCPUCLOCKID2     = 247 // { int clock_getcpuclockid2(id_t id,\
-       SYS_NTP_GETTIME              = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
-       SYS_MINHERIT                 = 250 // { int minherit(void *addr, size_t len, \
-       SYS_RFORK                    = 251 // { int rfork(int flags); }
-       SYS_OPENBSD_POLL             = 252 // { int openbsd_poll(struct pollfd *fds, \
-       SYS_ISSETUGID                = 253 // { int issetugid(void); }
-       SYS_LCHOWN                   = 254 // { int lchown(char *path, int uid, int gid); }
-       SYS_GETDENTS                 = 272 // { int getdents(int fd, char *buf, \
-       SYS_LCHMOD                   = 274 // { int lchmod(char *path, mode_t mode); }
-       SYS_LUTIMES                  = 276 // { int lutimes(char *path, \
-       SYS_NSTAT                    = 278 // { int nstat(char *path, struct nstat *ub); }
-       SYS_NFSTAT                   = 279 // { int nfstat(int fd, struct nstat *sb); }
-       SYS_NLSTAT                   = 280 // { int nlstat(char *path, struct nstat *ub); }
-       SYS_PREADV                   = 289 // { ssize_t preadv(int fd, struct iovec *iovp, \
-       SYS_PWRITEV                  = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, \
-       SYS_FHOPEN                   = 298 // { int fhopen(const struct fhandle *u_fhp, \
-       SYS_FHSTAT                   = 299 // { int fhstat(const struct fhandle *u_fhp, \
-       SYS_MODNEXT                  = 300 // { int modnext(int modid); }
-       SYS_MODSTAT                  = 301 // { int modstat(int modid, \
-       SYS_MODFNEXT                 = 302 // { int modfnext(int modid); }
-       SYS_MODFIND                  = 303 // { int modfind(const char *name); }
-       SYS_KLDLOAD                  = 304 // { int kldload(const char *file); }
-       SYS_KLDUNLOAD                = 305 // { int kldunload(int fileid); }
-       SYS_KLDFIND                  = 306 // { int kldfind(const char *file); }
-       SYS_KLDNEXT                  = 307 // { int kldnext(int fileid); }
-       SYS_KLDSTAT                  = 308 // { int kldstat(int fileid, struct \
-       SYS_KLDFIRSTMOD              = 309 // { int kldfirstmod(int fileid); }
-       SYS_GETSID                   = 310 // { int getsid(pid_t pid); }
-       SYS_SETRESUID                = 311 // { int setresuid(uid_t ruid, uid_t euid, \
-       SYS_SETRESGID                = 312 // { int setresgid(gid_t rgid, gid_t egid, \
-       SYS_YIELD                    = 321 // { int yield(void); }
-       SYS_MLOCKALL                 = 324 // { int mlockall(int how); }
-       SYS_MUNLOCKALL               = 325 // { int munlockall(void); }
-       SYS___GETCWD                 = 326 // { int __getcwd(char *buf, u_int buflen); }
-       SYS_SCHED_SETPARAM           = 327 // { int sched_setparam (pid_t pid, \
-       SYS_SCHED_GETPARAM           = 328 // { int sched_getparam (pid_t pid, struct \
-       SYS_SCHED_SETSCHEDULER       = 329 // { int sched_setscheduler (pid_t pid, int \
-       SYS_SCHED_GETSCHEDULER       = 330 // { int sched_getscheduler (pid_t pid); }
-       SYS_SCHED_YIELD              = 331 // { int sched_yield (void); }
-       SYS_SCHED_GET_PRIORITY_MAX   = 332 // { int sched_get_priority_max (int policy); }
-       SYS_SCHED_GET_PRIORITY_MIN   = 333 // { int sched_get_priority_min (int policy); }
-       SYS_SCHED_RR_GET_INTERVAL    = 334 // { int sched_rr_get_interval (pid_t pid, \
-       SYS_UTRACE                   = 335 // { int utrace(const void *addr, size_t len); }
-       SYS_KLDSYM                   = 337 // { int kldsym(int fileid, int cmd, \
-       SYS_JAIL                     = 338 // { int jail(struct jail *jail); }
-       SYS_SIGPROCMASK              = 340 // { int sigprocmask(int how, \
-       SYS_SIGSUSPEND               = 341 // { int sigsuspend(const sigset_t *sigmask); }
-       SYS_SIGPENDING               = 343 // { int sigpending(sigset_t *set); }
-       SYS_SIGTIMEDWAIT             = 345 // { int sigtimedwait(const sigset_t *set, \
-       SYS_SIGWAITINFO              = 346 // { int sigwaitinfo(const sigset_t *set, \
-       SYS___ACL_GET_FILE           = 347 // { int __acl_get_file(const char *path, \
-       SYS___ACL_SET_FILE           = 348 // { int __acl_set_file(const char *path, \
-       SYS___ACL_GET_FD             = 349 // { int __acl_get_fd(int filedes, \
-       SYS___ACL_SET_FD             = 350 // { int __acl_set_fd(int filedes, \
-       SYS___ACL_DELETE_FILE        = 351 // { int __acl_delete_file(const char *path, \
-       SYS___ACL_DELETE_FD          = 352 // { int __acl_delete_fd(int filedes, \
-       SYS___ACL_ACLCHECK_FILE      = 353 // { int __acl_aclcheck_file(const char *path, \
-       SYS___ACL_ACLCHECK_FD        = 354 // { int __acl_aclcheck_fd(int filedes, \
-       SYS_EXTATTRCTL               = 355 // { int extattrctl(const char *path, int cmd, \
-       SYS_EXTATTR_SET_FILE         = 356 // { ssize_t extattr_set_file( \
-       SYS_EXTATTR_GET_FILE         = 357 // { ssize_t extattr_get_file( \
-       SYS_EXTATTR_DELETE_FILE      = 358 // { int extattr_delete_file(const char *path, \
-       SYS_GETRESUID                = 360 // { int getresuid(uid_t *ruid, uid_t *euid, \
-       SYS_GETRESGID                = 361 // { int getresgid(gid_t *rgid, gid_t *egid, \
-       SYS_KQUEUE                   = 362 // { int kqueue(void); }
-       SYS_KEVENT                   = 363 // { int kevent(int fd, \
-       SYS_EXTATTR_SET_FD           = 371 // { ssize_t extattr_set_fd(int fd, \
-       SYS_EXTATTR_GET_FD           = 372 // { ssize_t extattr_get_fd(int fd, \
-       SYS_EXTATTR_DELETE_FD        = 373 // { int extattr_delete_fd(int fd, \
-       SYS___SETUGID                = 374 // { int __setugid(int flag); }
-       SYS_EACCESS                  = 376 // { int eaccess(char *path, int amode); }
-       SYS_NMOUNT                   = 378 // { int nmount(struct iovec *iovp, \
-       SYS___MAC_GET_PROC           = 384 // { int __mac_get_proc(struct mac *mac_p); }
-       SYS___MAC_SET_PROC           = 385 // { int __mac_set_proc(struct mac *mac_p); }
-       SYS___MAC_GET_FD             = 386 // { int __mac_get_fd(int fd, \
-       SYS___MAC_GET_FILE           = 387 // { int __mac_get_file(const char *path_p, \
-       SYS___MAC_SET_FD             = 388 // { int __mac_set_fd(int fd, \
-       SYS___MAC_SET_FILE           = 389 // { int __mac_set_file(const char *path_p, \
-       SYS_KENV                     = 390 // { int kenv(int what, const char *name, \
-       SYS_LCHFLAGS                 = 391 // { int lchflags(const char *path, \
-       SYS_UUIDGEN                  = 392 // { int uuidgen(struct uuid *store, \
-       SYS_SENDFILE                 = 393 // { int sendfile(int fd, int s, off_t offset, \
-       SYS_MAC_SYSCALL              = 394 // { int mac_syscall(const char *policy, \
-       SYS_GETFSSTAT                = 395 // { int getfsstat(struct statfs *buf, \
-       SYS_STATFS                   = 396 // { int statfs(char *path, \
-       SYS_FSTATFS                  = 397 // { int fstatfs(int fd, struct statfs *buf); }
-       SYS_FHSTATFS                 = 398 // { int fhstatfs(const struct fhandle *u_fhp, \
-       SYS___MAC_GET_PID            = 409 // { int __mac_get_pid(pid_t pid, \
-       SYS___MAC_GET_LINK           = 410 // { int __mac_get_link(const char *path_p, \
-       SYS___MAC_SET_LINK           = 411 // { int __mac_set_link(const char *path_p, \
-       SYS_EXTATTR_SET_LINK         = 412 // { ssize_t extattr_set_link( \
-       SYS_EXTATTR_GET_LINK         = 413 // { ssize_t extattr_get_link( \
-       SYS_EXTATTR_DELETE_LINK      = 414 // { int extattr_delete_link( \
-       SYS___MAC_EXECVE             = 415 // { int __mac_execve(char *fname, char **argv, \
-       SYS_SIGACTION                = 416 // { int sigaction(int sig, \
-       SYS_SIGRETURN                = 417 // { int sigreturn( \
-       SYS_GETCONTEXT               = 421 // { int getcontext(struct __ucontext *ucp); }
-       SYS_SETCONTEXT               = 422 // { int setcontext( \
-       SYS_SWAPCONTEXT              = 423 // { int swapcontext(struct __ucontext *oucp, \
-       SYS_SWAPOFF                  = 424 // { int swapoff(const char *name); }
-       SYS___ACL_GET_LINK           = 425 // { int __acl_get_link(const char *path, \
-       SYS___ACL_SET_LINK           = 426 // { int __acl_set_link(const char *path, \
-       SYS___ACL_DELETE_LINK        = 427 // { int __acl_delete_link(const char *path, \
-       SYS___ACL_ACLCHECK_LINK      = 428 // { int __acl_aclcheck_link(const char *path, \
-       SYS_SIGWAIT                  = 429 // { int sigwait(const sigset_t *set, \
-       SYS_THR_CREATE               = 430 // { int thr_create(ucontext_t *ctx, long *id, \
-       SYS_THR_EXIT                 = 431 // { void thr_exit(long *state); }
-       SYS_THR_SELF                 = 432 // { int thr_self(long *id); }
-       SYS_THR_KILL                 = 433 // { int thr_kill(long id, int sig); }
-       SYS__UMTX_LOCK               = 434 // { int _umtx_lock(struct umtx *umtx); }
-       SYS__UMTX_UNLOCK             = 435 // { int _umtx_unlock(struct umtx *umtx); }
-       SYS_JAIL_ATTACH              = 436 // { int jail_attach(int jid); }
-       SYS_EXTATTR_LIST_FD          = 437 // { ssize_t extattr_list_fd(int fd, \
-       SYS_EXTATTR_LIST_FILE        = 438 // { ssize_t extattr_list_file( \
-       SYS_EXTATTR_LIST_LINK        = 439 // { ssize_t extattr_list_link( \
-       SYS_THR_SUSPEND              = 442 // { int thr_suspend( \
-       SYS_THR_WAKE                 = 443 // { int thr_wake(long id); }
-       SYS_KLDUNLOADF               = 444 // { int kldunloadf(int fileid, int flags); }
-       SYS_AUDIT                    = 445 // { int audit(const void *record, \
-       SYS_AUDITON                  = 446 // { int auditon(int cmd, void *data, \
-       SYS_GETAUID                  = 447 // { int getauid(uid_t *auid); }
-       SYS_SETAUID                  = 448 // { int setauid(uid_t *auid); }
-       SYS_GETAUDIT                 = 449 // { int getaudit(struct auditinfo *auditinfo); }
-       SYS_SETAUDIT                 = 450 // { int setaudit(struct auditinfo *auditinfo); }
-       SYS_GETAUDIT_ADDR            = 451 // { int getaudit_addr( \
-       SYS_SETAUDIT_ADDR            = 452 // { int setaudit_addr( \
-       SYS_AUDITCTL                 = 453 // { int auditctl(char *path); }
-       SYS__UMTX_OP                 = 454 // { int _umtx_op(void *obj, int op, \
-       SYS_THR_NEW                  = 455 // { int thr_new(struct thr_param *param, \
-       SYS_SIGQUEUE                 = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
-       SYS_ABORT2                   = 463 // { int abort2(const char *why, int nargs, void **args); }
-       SYS_THR_SET_NAME             = 464 // { int thr_set_name(long id, const char *name); }
-       SYS_RTPRIO_THREAD            = 466 // { int rtprio_thread(int function, \
-       SYS_SCTP_PEELOFF             = 471 // { int sctp_peeloff(int sd, uint32_t name); }
-       SYS_SCTP_GENERIC_SENDMSG     = 472 // { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, \
-       SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, \
-       SYS_SCTP_GENERIC_RECVMSG     = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, \
-       SYS_PREAD                    = 475 // { ssize_t pread(int fd, void *buf, \
-       SYS_PWRITE                   = 476 // { ssize_t pwrite(int fd, const void *buf, \
-       SYS_MMAP                     = 477 // { caddr_t mmap(caddr_t addr, size_t len, \
-       SYS_LSEEK                    = 478 // { off_t lseek(int fd, off_t offset, \
-       SYS_TRUNCATE                 = 479 // { int truncate(char *path, off_t length); }
-       SYS_FTRUNCATE                = 480 // { int ftruncate(int fd, off_t length); }
-       SYS_THR_KILL2                = 481 // { int thr_kill2(pid_t pid, long id, int sig); }
-       SYS_SHM_OPEN                 = 482 // { int shm_open(const char *path, int flags, \
-       SYS_SHM_UNLINK               = 483 // { int shm_unlink(const char *path); }
-       SYS_CPUSET                   = 484 // { int cpuset(cpusetid_t *setid); }
-       SYS_CPUSET_SETID             = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, \
-       SYS_CPUSET_GETID             = 486 // { int cpuset_getid(cpulevel_t level, \
-       SYS_CPUSET_GETAFFINITY       = 487 // { int cpuset_getaffinity(cpulevel_t level, \
-       SYS_CPUSET_SETAFFINITY       = 488 // { int cpuset_setaffinity(cpulevel_t level, \
-       SYS_FACCESSAT                = 489 // { int faccessat(int fd, char *path, int amode, \
-       SYS_FCHMODAT                 = 490 // { int fchmodat(int fd, char *path, mode_t mode, \
-       SYS_FCHOWNAT                 = 491 // { int fchownat(int fd, char *path, uid_t uid, \
-       SYS_FEXECVE                  = 492 // { int fexecve(int fd, char **argv, \
-       SYS_FSTATAT                  = 493 // { int fstatat(int fd, char *path, \
-       SYS_FUTIMESAT                = 494 // { int futimesat(int fd, char *path, \
-       SYS_LINKAT                   = 495 // { int linkat(int fd1, char *path1, int fd2, \
-       SYS_MKDIRAT                  = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
-       SYS_MKFIFOAT                 = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
-       SYS_MKNODAT                  = 498 // { int mknodat(int fd, char *path, mode_t mode, \
-       SYS_OPENAT                   = 499 // { int openat(int fd, char *path, int flag, \
-       SYS_READLINKAT               = 500 // { int readlinkat(int fd, char *path, char *buf, \
-       SYS_RENAMEAT                 = 501 // { int renameat(int oldfd, char *old, int newfd, \
-       SYS_SYMLINKAT                = 502 // { int symlinkat(char *path1, int fd, \
-       SYS_UNLINKAT                 = 503 // { int unlinkat(int fd, char *path, int flag); }
-       SYS_POSIX_OPENPT             = 504 // { int posix_openpt(int flags); }
-       SYS_JAIL_GET                 = 506 // { int jail_get(struct iovec *iovp, \
-       SYS_JAIL_SET                 = 507 // { int jail_set(struct iovec *iovp, \
-       SYS_JAIL_REMOVE              = 508 // { int jail_remove(int jid); }
-       SYS_CLOSEFROM                = 509 // { int closefrom(int lowfd); }
-       SYS_LPATHCONF                = 513 // { int lpathconf(char *path, int name); }
-       SYS_CAP_NEW                  = 514 // { int cap_new(int fd, uint64_t rights); }
-       SYS_CAP_GETRIGHTS            = 515 // { int cap_getrights(int fd, \
-       SYS_CAP_ENTER                = 516 // { int cap_enter(void); }
-       SYS_CAP_GETMODE              = 517 // { int cap_getmode(u_int *modep); }
-       SYS_PDFORK                   = 518 // { int pdfork(int *fdp, int flags); }
-       SYS_PDKILL                   = 519 // { int pdkill(int fd, int signum); }
-       SYS_PDGETPID                 = 520 // { int pdgetpid(int fd, pid_t *pidp); }
-       SYS_PSELECT                  = 522 // { int pselect(int nd, fd_set *in, \
-       SYS_GETLOGINCLASS            = 523 // { int getloginclass(char *namebuf, \
-       SYS_SETLOGINCLASS            = 524 // { int setloginclass(const char *namebuf); }
-       SYS_RCTL_GET_RACCT           = 525 // { int rctl_get_racct(const void *inbufp, \
-       SYS_RCTL_GET_RULES           = 526 // { int rctl_get_rules(const void *inbufp, \
-       SYS_RCTL_GET_LIMITS          = 527 // { int rctl_get_limits(const void *inbufp, \
-       SYS_RCTL_ADD_RULE            = 528 // { int rctl_add_rule(const void *inbufp, \
-       SYS_RCTL_REMOVE_RULE         = 529 // { int rctl_remove_rule(const void *inbufp, \
-       SYS_POSIX_FALLOCATE          = 530 // { int posix_fallocate(int fd, \
-       SYS_POSIX_FADVISE            = 531 // { int posix_fadvise(int fd, off_t offset, \
-       SYS_WAIT6                    = 532 // { int wait6(idtype_t idtype, id_t id, \
-       SYS_BINDAT                   = 538 // { int bindat(int fd, int s, caddr_t name, \
-       SYS_CONNECTAT                = 539 // { int connectat(int fd, int s, caddr_t name, \
-       SYS_CHFLAGSAT                = 540 // { int chflagsat(int fd, const char *path, \
-       SYS_ACCEPT4                  = 541 // { int accept4(int s, \
-       SYS_PIPE2                    = 542 // { int pipe2(int *fildes, int flags); }
-       SYS_PROCCTL                  = 544 // { int procctl(idtype_t idtype, id_t id, \
-       SYS_PPOLL                    = 545 // { int ppoll(struct pollfd *fds, u_int nfds, \
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go
deleted file mode 100644 (file)
index cef4fed..0000000
+++ /dev/null
@@ -1,388 +0,0 @@
-// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include -m32 /tmp/include/asm/unistd.h
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build 386,linux
-
-package unix
-
-const (
-       SYS_RESTART_SYSCALL        = 0
-       SYS_EXIT                   = 1
-       SYS_FORK                   = 2
-       SYS_READ                   = 3
-       SYS_WRITE                  = 4
-       SYS_OPEN                   = 5
-       SYS_CLOSE                  = 6
-       SYS_WAITPID                = 7
-       SYS_CREAT                  = 8
-       SYS_LINK                   = 9
-       SYS_UNLINK                 = 10
-       SYS_EXECVE                 = 11
-       SYS_CHDIR                  = 12
-       SYS_TIME                   = 13
-       SYS_MKNOD                  = 14
-       SYS_CHMOD                  = 15
-       SYS_LCHOWN                 = 16
-       SYS_BREAK                  = 17
-       SYS_OLDSTAT                = 18
-       SYS_LSEEK                  = 19
-       SYS_GETPID                 = 20
-       SYS_MOUNT                  = 21
-       SYS_UMOUNT                 = 22
-       SYS_SETUID                 = 23
-       SYS_GETUID                 = 24
-       SYS_STIME                  = 25
-       SYS_PTRACE                 = 26
-       SYS_ALARM                  = 27
-       SYS_OLDFSTAT               = 28
-       SYS_PAUSE                  = 29
-       SYS_UTIME                  = 30
-       SYS_STTY                   = 31
-       SYS_GTTY                   = 32
-       SYS_ACCESS                 = 33
-       SYS_NICE                   = 34
-       SYS_FTIME                  = 35
-       SYS_SYNC                   = 36
-       SYS_KILL                   = 37
-       SYS_RENAME                 = 38
-       SYS_MKDIR                  = 39
-       SYS_RMDIR                  = 40
-       SYS_DUP                    = 41
-       SYS_PIPE                   = 42
-       SYS_TIMES                  = 43
-       SYS_PROF                   = 44
-       SYS_BRK                    = 45
-       SYS_SETGID                 = 46
-       SYS_GETGID                 = 47
-       SYS_SIGNAL                 = 48
-       SYS_GETEUID                = 49
-       SYS_GETEGID                = 50
-       SYS_ACCT                   = 51
-       SYS_UMOUNT2                = 52
-       SYS_LOCK                   = 53
-       SYS_IOCTL                  = 54
-       SYS_FCNTL                  = 55
-       SYS_MPX                    = 56
-       SYS_SETPGID                = 57
-       SYS_ULIMIT                 = 58
-       SYS_OLDOLDUNAME            = 59
-       SYS_UMASK                  = 60
-       SYS_CHROOT                 = 61
-       SYS_USTAT                  = 62
-       SYS_DUP2                   = 63
-       SYS_GETPPID                = 64
-       SYS_GETPGRP                = 65
-       SYS_SETSID                 = 66
-       SYS_SIGACTION              = 67
-       SYS_SGETMASK               = 68
-       SYS_SSETMASK               = 69
-       SYS_SETREUID               = 70
-       SYS_SETREGID               = 71
-       SYS_SIGSUSPEND             = 72
-       SYS_SIGPENDING             = 73
-       SYS_SETHOSTNAME            = 74
-       SYS_SETRLIMIT              = 75
-       SYS_GETRLIMIT              = 76
-       SYS_GETRUSAGE              = 77
-       SYS_GETTIMEOFDAY           = 78
-       SYS_SETTIMEOFDAY           = 79
-       SYS_GETGROUPS              = 80
-       SYS_SETGROUPS              = 81
-       SYS_SELECT                 = 82
-       SYS_SYMLINK                = 83
-       SYS_OLDLSTAT               = 84
-       SYS_READLINK               = 85
-       SYS_USELIB                 = 86
-       SYS_SWAPON                 = 87
-       SYS_REBOOT                 = 88
-       SYS_READDIR                = 89
-       SYS_MMAP                   = 90
-       SYS_MUNMAP                 = 91
-       SYS_TRUNCATE               = 92
-       SYS_FTRUNCATE              = 93
-       SYS_FCHMOD                 = 94
-       SYS_FCHOWN                 = 95
-       SYS_GETPRIORITY            = 96
-       SYS_SETPRIORITY            = 97
-       SYS_PROFIL                 = 98
-       SYS_STATFS                 = 99
-       SYS_FSTATFS                = 100
-       SYS_IOPERM                 = 101
-       SYS_SOCKETCALL             = 102
-       SYS_SYSLOG                 = 103
-       SYS_SETITIMER              = 104
-       SYS_GETITIMER              = 105
-       SYS_STAT                   = 106
-       SYS_LSTAT                  = 107
-       SYS_FSTAT                  = 108
-       SYS_OLDUNAME               = 109
-       SYS_IOPL                   = 110
-       SYS_VHANGUP                = 111
-       SYS_IDLE                   = 112
-       SYS_VM86OLD                = 113
-       SYS_WAIT4                  = 114
-       SYS_SWAPOFF                = 115
-       SYS_SYSINFO                = 116
-       SYS_IPC                    = 117
-       SYS_FSYNC                  = 118
-       SYS_SIGRETURN              = 119
-       SYS_CLONE                  = 120
-       SYS_SETDOMAINNAME          = 121
-       SYS_UNAME                  = 122
-       SYS_MODIFY_LDT             = 123
-       SYS_ADJTIMEX               = 124
-       SYS_MPROTECT               = 125
-       SYS_SIGPROCMASK            = 126
-       SYS_CREATE_MODULE          = 127
-       SYS_INIT_MODULE            = 128
-       SYS_DELETE_MODULE          = 129
-       SYS_GET_KERNEL_SYMS        = 130
-       SYS_QUOTACTL               = 131
-       SYS_GETPGID                = 132
-       SYS_FCHDIR                 = 133
-       SYS_BDFLUSH                = 134
-       SYS_SYSFS                  = 135
-       SYS_PERSONALITY            = 136
-       SYS_AFS_SYSCALL            = 137
-       SYS_SETFSUID               = 138
-       SYS_SETFSGID               = 139
-       SYS__LLSEEK                = 140
-       SYS_GETDENTS               = 141
-       SYS__NEWSELECT             = 142
-       SYS_FLOCK                  = 143
-       SYS_MSYNC                  = 144
-       SYS_READV                  = 145
-       SYS_WRITEV                 = 146
-       SYS_GETSID                 = 147
-       SYS_FDATASYNC              = 148
-       SYS__SYSCTL                = 149
-       SYS_MLOCK                  = 150
-       SYS_MUNLOCK                = 151
-       SYS_MLOCKALL               = 152
-       SYS_MUNLOCKALL             = 153
-       SYS_SCHED_SETPARAM         = 154
-       SYS_SCHED_GETPARAM         = 155
-       SYS_SCHED_SETSCHEDULER     = 156
-       SYS_SCHED_GETSCHEDULER     = 157
-       SYS_SCHED_YIELD            = 158
-       SYS_SCHED_GET_PRIORITY_MAX = 159
-       SYS_SCHED_GET_PRIORITY_MIN = 160
-       SYS_SCHED_RR_GET_INTERVAL  = 161
-       SYS_NANOSLEEP              = 162
-       SYS_MREMAP                 = 163
-       SYS_SETRESUID              = 164
-       SYS_GETRESUID              = 165
-       SYS_VM86                   = 166
-       SYS_QUERY_MODULE           = 167
-       SYS_POLL                   = 168
-       SYS_NFSSERVCTL             = 169
-       SYS_SETRESGID              = 170
-       SYS_GETRESGID              = 171
-       SYS_PRCTL                  = 172
-       SYS_RT_SIGRETURN           = 173
-       SYS_RT_SIGACTION           = 174
-       SYS_RT_SIGPROCMASK         = 175
-       SYS_RT_SIGPENDING          = 176
-       SYS_RT_SIGTIMEDWAIT        = 177
-       SYS_RT_SIGQUEUEINFO        = 178
-       SYS_RT_SIGSUSPEND          = 179
-       SYS_PREAD64                = 180
-       SYS_PWRITE64               = 181
-       SYS_CHOWN                  = 182
-       SYS_GETCWD                 = 183
-       SYS_CAPGET                 = 184
-       SYS_CAPSET                 = 185
-       SYS_SIGALTSTACK            = 186
-       SYS_SENDFILE               = 187
-       SYS_GETPMSG                = 188
-       SYS_PUTPMSG                = 189
-       SYS_VFORK                  = 190
-       SYS_UGETRLIMIT             = 191
-       SYS_MMAP2                  = 192
-       SYS_TRUNCATE64             = 193
-       SYS_FTRUNCATE64            = 194
-       SYS_STAT64                 = 195
-       SYS_LSTAT64                = 196
-       SYS_FSTAT64                = 197
-       SYS_LCHOWN32               = 198
-       SYS_GETUID32               = 199
-       SYS_GETGID32               = 200
-       SYS_GETEUID32              = 201
-       SYS_GETEGID32              = 202
-       SYS_SETREUID32             = 203
-       SYS_SETREGID32             = 204
-       SYS_GETGROUPS32            = 205
-       SYS_SETGROUPS32            = 206
-       SYS_FCHOWN32               = 207
-       SYS_SETRESUID32            = 208
-       SYS_GETRESUID32            = 209
-       SYS_SETRESGID32            = 210
-       SYS_GETRESGID32            = 211
-       SYS_CHOWN32                = 212
-       SYS_SETUID32               = 213
-       SYS_SETGID32               = 214
-       SYS_SETFSUID32             = 215
-       SYS_SETFSGID32             = 216
-       SYS_PIVOT_ROOT             = 217
-       SYS_MINCORE                = 218
-       SYS_MADVISE                = 219
-       SYS_GETDENTS64             = 220
-       SYS_FCNTL64                = 221
-       SYS_GETTID                 = 224
-       SYS_READAHEAD              = 225
-       SYS_SETXATTR               = 226
-       SYS_LSETXATTR              = 227
-       SYS_FSETXATTR              = 228
-       SYS_GETXATTR               = 229
-       SYS_LGETXATTR              = 230
-       SYS_FGETXATTR              = 231
-       SYS_LISTXATTR              = 232
-       SYS_LLISTXATTR             = 233
-       SYS_FLISTXATTR             = 234
-       SYS_REMOVEXATTR            = 235
-       SYS_LREMOVEXATTR           = 236
-       SYS_FREMOVEXATTR           = 237
-       SYS_TKILL                  = 238
-       SYS_SENDFILE64             = 239
-       SYS_FUTEX                  = 240
-       SYS_SCHED_SETAFFINITY      = 241
-       SYS_SCHED_GETAFFINITY      = 242
-       SYS_SET_THREAD_AREA        = 243
-       SYS_GET_THREAD_AREA        = 244
-       SYS_IO_SETUP               = 245
-       SYS_IO_DESTROY             = 246
-       SYS_IO_GETEVENTS           = 247
-       SYS_IO_SUBMIT              = 248
-       SYS_IO_CANCEL              = 249
-       SYS_FADVISE64              = 250
-       SYS_EXIT_GROUP             = 252
-       SYS_LOOKUP_DCOOKIE         = 253
-       SYS_EPOLL_CREATE           = 254
-       SYS_EPOLL_CTL              = 255
-       SYS_EPOLL_WAIT             = 256
-       SYS_REMAP_FILE_PAGES       = 257
-       SYS_SET_TID_ADDRESS        = 258
-       SYS_TIMER_CREATE           = 259
-       SYS_TIMER_SETTIME          = 260
-       SYS_TIMER_GETTIME          = 261
-       SYS_TIMER_GETOVERRUN       = 262
-       SYS_TIMER_DELETE           = 263
-       SYS_CLOCK_SETTIME          = 264
-       SYS_CLOCK_GETTIME          = 265
-       SYS_CLOCK_GETRES           = 266
-       SYS_CLOCK_NANOSLEEP        = 267
-       SYS_STATFS64               = 268
-       SYS_FSTATFS64              = 269
-       SYS_TGKILL                 = 270
-       SYS_UTIMES                 = 271
-       SYS_FADVISE64_64           = 272
-       SYS_VSERVER                = 273
-       SYS_MBIND                  = 274
-       SYS_GET_MEMPOLICY          = 275
-       SYS_SET_MEMPOLICY          = 276
-       SYS_MQ_OPEN                = 277
-       SYS_MQ_UNLINK              = 278
-       SYS_MQ_TIMEDSEND           = 279
-       SYS_MQ_TIMEDRECEIVE        = 280
-       SYS_MQ_NOTIFY              = 281
-       SYS_MQ_GETSETATTR          = 282
-       SYS_KEXEC_LOAD             = 283
-       SYS_WAITID                 = 284
-       SYS_ADD_KEY                = 286
-       SYS_REQUEST_KEY            = 287
-       SYS_KEYCTL                 = 288
-       SYS_IOPRIO_SET             = 289
-       SYS_IOPRIO_GET             = 290
-       SYS_INOTIFY_INIT           = 291
-       SYS_INOTIFY_ADD_WATCH      = 292
-       SYS_INOTIFY_RM_WATCH       = 293
-       SYS_MIGRATE_PAGES          = 294
-       SYS_OPENAT                 = 295
-       SYS_MKDIRAT                = 296
-       SYS_MKNODAT                = 297
-       SYS_FCHOWNAT               = 298
-       SYS_FUTIMESAT              = 299
-       SYS_FSTATAT64              = 300
-       SYS_UNLINKAT               = 301
-       SYS_RENAMEAT               = 302
-       SYS_LINKAT                 = 303
-       SYS_SYMLINKAT              = 304
-       SYS_READLINKAT             = 305
-       SYS_FCHMODAT               = 306
-       SYS_FACCESSAT              = 307
-       SYS_PSELECT6               = 308
-       SYS_PPOLL                  = 309
-       SYS_UNSHARE                = 310
-       SYS_SET_ROBUST_LIST        = 311
-       SYS_GET_ROBUST_LIST        = 312
-       SYS_SPLICE                 = 313
-       SYS_SYNC_FILE_RANGE        = 314
-       SYS_TEE                    = 315
-       SYS_VMSPLICE               = 316
-       SYS_MOVE_PAGES             = 317
-       SYS_GETCPU                 = 318
-       SYS_EPOLL_PWAIT            = 319
-       SYS_UTIMENSAT              = 320
-       SYS_SIGNALFD               = 321
-       SYS_TIMERFD_CREATE         = 322
-       SYS_EVENTFD                = 323
-       SYS_FALLOCATE              = 324
-       SYS_TIMERFD_SETTIME        = 325
-       SYS_TIMERFD_GETTIME        = 326
-       SYS_SIGNALFD4              = 327
-       SYS_EVENTFD2               = 328
-       SYS_EPOLL_CREATE1          = 329
-       SYS_DUP3                   = 330
-       SYS_PIPE2                  = 331
-       SYS_INOTIFY_INIT1          = 332
-       SYS_PREADV                 = 333
-       SYS_PWRITEV                = 334
-       SYS_RT_TGSIGQUEUEINFO      = 335
-       SYS_PERF_EVENT_OPEN        = 336
-       SYS_RECVMMSG               = 337
-       SYS_FANOTIFY_INIT          = 338
-       SYS_FANOTIFY_MARK          = 339
-       SYS_PRLIMIT64              = 340
-       SYS_NAME_TO_HANDLE_AT      = 341
-       SYS_OPEN_BY_HANDLE_AT      = 342
-       SYS_CLOCK_ADJTIME          = 343
-       SYS_SYNCFS                 = 344
-       SYS_SENDMMSG               = 345
-       SYS_SETNS                  = 346
-       SYS_PROCESS_VM_READV       = 347
-       SYS_PROCESS_VM_WRITEV      = 348
-       SYS_KCMP                   = 349
-       SYS_FINIT_MODULE           = 350
-       SYS_SCHED_SETATTR          = 351
-       SYS_SCHED_GETATTR          = 352
-       SYS_RENAMEAT2              = 353
-       SYS_SECCOMP                = 354
-       SYS_GETRANDOM              = 355
-       SYS_MEMFD_CREATE           = 356
-       SYS_BPF                    = 357
-       SYS_EXECVEAT               = 358
-       SYS_SOCKET                 = 359
-       SYS_SOCKETPAIR             = 360
-       SYS_BIND                   = 361
-       SYS_CONNECT                = 362
-       SYS_LISTEN                 = 363
-       SYS_ACCEPT4                = 364
-       SYS_GETSOCKOPT             = 365
-       SYS_SETSOCKOPT             = 366
-       SYS_GETSOCKNAME            = 367
-       SYS_GETPEERNAME            = 368
-       SYS_SENDTO                 = 369
-       SYS_SENDMSG                = 370
-       SYS_RECVFROM               = 371
-       SYS_RECVMSG                = 372
-       SYS_SHUTDOWN               = 373
-       SYS_USERFAULTFD            = 374
-       SYS_MEMBARRIER             = 375
-       SYS_MLOCK2                 = 376
-       SYS_COPY_FILE_RANGE        = 377
-       SYS_PREADV2                = 378
-       SYS_PWRITEV2               = 379
-       SYS_PKEY_MPROTECT          = 380
-       SYS_PKEY_ALLOC             = 381
-       SYS_PKEY_FREE              = 382
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go
deleted file mode 100644 (file)
index 49bfa12..0000000
+++ /dev/null
@@ -1,341 +0,0 @@
-// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include -m64 /tmp/include/asm/unistd.h
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build amd64,linux
-
-package unix
-
-const (
-       SYS_READ                   = 0
-       SYS_WRITE                  = 1
-       SYS_OPEN                   = 2
-       SYS_CLOSE                  = 3
-       SYS_STAT                   = 4
-       SYS_FSTAT                  = 5
-       SYS_LSTAT                  = 6
-       SYS_POLL                   = 7
-       SYS_LSEEK                  = 8
-       SYS_MMAP                   = 9
-       SYS_MPROTECT               = 10
-       SYS_MUNMAP                 = 11
-       SYS_BRK                    = 12
-       SYS_RT_SIGACTION           = 13
-       SYS_RT_SIGPROCMASK         = 14
-       SYS_RT_SIGRETURN           = 15
-       SYS_IOCTL                  = 16
-       SYS_PREAD64                = 17
-       SYS_PWRITE64               = 18
-       SYS_READV                  = 19
-       SYS_WRITEV                 = 20
-       SYS_ACCESS                 = 21
-       SYS_PIPE                   = 22
-       SYS_SELECT                 = 23
-       SYS_SCHED_YIELD            = 24
-       SYS_MREMAP                 = 25
-       SYS_MSYNC                  = 26
-       SYS_MINCORE                = 27
-       SYS_MADVISE                = 28
-       SYS_SHMGET                 = 29
-       SYS_SHMAT                  = 30
-       SYS_SHMCTL                 = 31
-       SYS_DUP                    = 32
-       SYS_DUP2                   = 33
-       SYS_PAUSE                  = 34
-       SYS_NANOSLEEP              = 35
-       SYS_GETITIMER              = 36
-       SYS_ALARM                  = 37
-       SYS_SETITIMER              = 38
-       SYS_GETPID                 = 39
-       SYS_SENDFILE               = 40
-       SYS_SOCKET                 = 41
-       SYS_CONNECT                = 42
-       SYS_ACCEPT                 = 43
-       SYS_SENDTO                 = 44
-       SYS_RECVFROM               = 45
-       SYS_SENDMSG                = 46
-       SYS_RECVMSG                = 47
-       SYS_SHUTDOWN               = 48
-       SYS_BIND                   = 49
-       SYS_LISTEN                 = 50
-       SYS_GETSOCKNAME            = 51
-       SYS_GETPEERNAME            = 52
-       SYS_SOCKETPAIR             = 53
-       SYS_SETSOCKOPT             = 54
-       SYS_GETSOCKOPT             = 55
-       SYS_CLONE                  = 56
-       SYS_FORK                   = 57
-       SYS_VFORK                  = 58
-       SYS_EXECVE                 = 59
-       SYS_EXIT                   = 60
-       SYS_WAIT4                  = 61
-       SYS_KILL                   = 62
-       SYS_UNAME                  = 63
-       SYS_SEMGET                 = 64
-       SYS_SEMOP                  = 65
-       SYS_SEMCTL                 = 66
-       SYS_SHMDT                  = 67
-       SYS_MSGGET                 = 68
-       SYS_MSGSND                 = 69
-       SYS_MSGRCV                 = 70
-       SYS_MSGCTL                 = 71
-       SYS_FCNTL                  = 72
-       SYS_FLOCK                  = 73
-       SYS_FSYNC                  = 74
-       SYS_FDATASYNC              = 75
-       SYS_TRUNCATE               = 76
-       SYS_FTRUNCATE              = 77
-       SYS_GETDENTS               = 78
-       SYS_GETCWD                 = 79
-       SYS_CHDIR                  = 80
-       SYS_FCHDIR                 = 81
-       SYS_RENAME                 = 82
-       SYS_MKDIR                  = 83
-       SYS_RMDIR                  = 84
-       SYS_CREAT                  = 85
-       SYS_LINK                   = 86
-       SYS_UNLINK                 = 87
-       SYS_SYMLINK                = 88
-       SYS_READLINK               = 89
-       SYS_CHMOD                  = 90
-       SYS_FCHMOD                 = 91
-       SYS_CHOWN                  = 92
-       SYS_FCHOWN                 = 93
-       SYS_LCHOWN                 = 94
-       SYS_UMASK                  = 95
-       SYS_GETTIMEOFDAY           = 96
-       SYS_GETRLIMIT              = 97
-       SYS_GETRUSAGE              = 98
-       SYS_SYSINFO                = 99
-       SYS_TIMES                  = 100
-       SYS_PTRACE                 = 101
-       SYS_GETUID                 = 102
-       SYS_SYSLOG                 = 103
-       SYS_GETGID                 = 104
-       SYS_SETUID                 = 105
-       SYS_SETGID                 = 106
-       SYS_GETEUID                = 107
-       SYS_GETEGID                = 108
-       SYS_SETPGID                = 109
-       SYS_GETPPID                = 110
-       SYS_GETPGRP                = 111
-       SYS_SETSID                 = 112
-       SYS_SETREUID               = 113
-       SYS_SETREGID               = 114
-       SYS_GETGROUPS              = 115
-       SYS_SETGROUPS              = 116
-       SYS_SETRESUID              = 117
-       SYS_GETRESUID              = 118
-       SYS_SETRESGID              = 119
-       SYS_GETRESGID              = 120
-       SYS_GETPGID                = 121
-       SYS_SETFSUID               = 122
-       SYS_SETFSGID               = 123
-       SYS_GETSID                 = 124
-       SYS_CAPGET                 = 125
-       SYS_CAPSET                 = 126
-       SYS_RT_SIGPENDING          = 127
-       SYS_RT_SIGTIMEDWAIT        = 128
-       SYS_RT_SIGQUEUEINFO        = 129
-       SYS_RT_SIGSUSPEND          = 130
-       SYS_SIGALTSTACK            = 131
-       SYS_UTIME                  = 132
-       SYS_MKNOD                  = 133
-       SYS_USELIB                 = 134
-       SYS_PERSONALITY            = 135
-       SYS_USTAT                  = 136
-       SYS_STATFS                 = 137
-       SYS_FSTATFS                = 138
-       SYS_SYSFS                  = 139
-       SYS_GETPRIORITY            = 140
-       SYS_SETPRIORITY            = 141
-       SYS_SCHED_SETPARAM         = 142
-       SYS_SCHED_GETPARAM         = 143
-       SYS_SCHED_SETSCHEDULER     = 144
-       SYS_SCHED_GETSCHEDULER     = 145
-       SYS_SCHED_GET_PRIORITY_MAX = 146
-       SYS_SCHED_GET_PRIORITY_MIN = 147
-       SYS_SCHED_RR_GET_INTERVAL  = 148
-       SYS_MLOCK                  = 149
-       SYS_MUNLOCK                = 150
-       SYS_MLOCKALL               = 151
-       SYS_MUNLOCKALL             = 152
-       SYS_VHANGUP                = 153
-       SYS_MODIFY_LDT             = 154
-       SYS_PIVOT_ROOT             = 155
-       SYS__SYSCTL                = 156
-       SYS_PRCTL                  = 157
-       SYS_ARCH_PRCTL             = 158
-       SYS_ADJTIMEX               = 159
-       SYS_SETRLIMIT              = 160
-       SYS_CHROOT                 = 161
-       SYS_SYNC                   = 162
-       SYS_ACCT                   = 163
-       SYS_SETTIMEOFDAY           = 164
-       SYS_MOUNT                  = 165
-       SYS_UMOUNT2                = 166
-       SYS_SWAPON                 = 167
-       SYS_SWAPOFF                = 168
-       SYS_REBOOT                 = 169
-       SYS_SETHOSTNAME            = 170
-       SYS_SETDOMAINNAME          = 171
-       SYS_IOPL                   = 172
-       SYS_IOPERM                 = 173
-       SYS_CREATE_MODULE          = 174
-       SYS_INIT_MODULE            = 175
-       SYS_DELETE_MODULE          = 176
-       SYS_GET_KERNEL_SYMS        = 177
-       SYS_QUERY_MODULE           = 178
-       SYS_QUOTACTL               = 179
-       SYS_NFSSERVCTL             = 180
-       SYS_GETPMSG                = 181
-       SYS_PUTPMSG                = 182
-       SYS_AFS_SYSCALL            = 183
-       SYS_TUXCALL                = 184
-       SYS_SECURITY               = 185
-       SYS_GETTID                 = 186
-       SYS_READAHEAD              = 187
-       SYS_SETXATTR               = 188
-       SYS_LSETXATTR              = 189
-       SYS_FSETXATTR              = 190
-       SYS_GETXATTR               = 191
-       SYS_LGETXATTR              = 192
-       SYS_FGETXATTR              = 193
-       SYS_LISTXATTR              = 194
-       SYS_LLISTXATTR             = 195
-       SYS_FLISTXATTR             = 196
-       SYS_REMOVEXATTR            = 197
-       SYS_LREMOVEXATTR           = 198
-       SYS_FREMOVEXATTR           = 199
-       SYS_TKILL                  = 200
-       SYS_TIME                   = 201
-       SYS_FUTEX                  = 202
-       SYS_SCHED_SETAFFINITY      = 203
-       SYS_SCHED_GETAFFINITY      = 204
-       SYS_SET_THREAD_AREA        = 205
-       SYS_IO_SETUP               = 206
-       SYS_IO_DESTROY             = 207
-       SYS_IO_GETEVENTS           = 208
-       SYS_IO_SUBMIT              = 209
-       SYS_IO_CANCEL              = 210
-       SYS_GET_THREAD_AREA        = 211
-       SYS_LOOKUP_DCOOKIE         = 212
-       SYS_EPOLL_CREATE           = 213
-       SYS_EPOLL_CTL_OLD          = 214
-       SYS_EPOLL_WAIT_OLD         = 215
-       SYS_REMAP_FILE_PAGES       = 216
-       SYS_GETDENTS64             = 217
-       SYS_SET_TID_ADDRESS        = 218
-       SYS_RESTART_SYSCALL        = 219
-       SYS_SEMTIMEDOP             = 220
-       SYS_FADVISE64              = 221
-       SYS_TIMER_CREATE           = 222
-       SYS_TIMER_SETTIME          = 223
-       SYS_TIMER_GETTIME          = 224
-       SYS_TIMER_GETOVERRUN       = 225
-       SYS_TIMER_DELETE           = 226
-       SYS_CLOCK_SETTIME          = 227
-       SYS_CLOCK_GETTIME          = 228
-       SYS_CLOCK_GETRES           = 229
-       SYS_CLOCK_NANOSLEEP        = 230
-       SYS_EXIT_GROUP             = 231
-       SYS_EPOLL_WAIT             = 232
-       SYS_EPOLL_CTL              = 233
-       SYS_TGKILL                 = 234
-       SYS_UTIMES                 = 235
-       SYS_VSERVER                = 236
-       SYS_MBIND                  = 237
-       SYS_SET_MEMPOLICY          = 238
-       SYS_GET_MEMPOLICY          = 239
-       SYS_MQ_OPEN                = 240
-       SYS_MQ_UNLINK              = 241
-       SYS_MQ_TIMEDSEND           = 242
-       SYS_MQ_TIMEDRECEIVE        = 243
-       SYS_MQ_NOTIFY              = 244
-       SYS_MQ_GETSETATTR          = 245
-       SYS_KEXEC_LOAD             = 246
-       SYS_WAITID                 = 247
-       SYS_ADD_KEY                = 248
-       SYS_REQUEST_KEY            = 249
-       SYS_KEYCTL                 = 250
-       SYS_IOPRIO_SET             = 251
-       SYS_IOPRIO_GET             = 252
-       SYS_INOTIFY_INIT           = 253
-       SYS_INOTIFY_ADD_WATCH      = 254
-       SYS_INOTIFY_RM_WATCH       = 255
-       SYS_MIGRATE_PAGES          = 256
-       SYS_OPENAT                 = 257
-       SYS_MKDIRAT                = 258
-       SYS_MKNODAT                = 259
-       SYS_FCHOWNAT               = 260
-       SYS_FUTIMESAT              = 261
-       SYS_NEWFSTATAT             = 262
-       SYS_UNLINKAT               = 263
-       SYS_RENAMEAT               = 264
-       SYS_LINKAT                 = 265
-       SYS_SYMLINKAT              = 266
-       SYS_READLINKAT             = 267
-       SYS_FCHMODAT               = 268
-       SYS_FACCESSAT              = 269
-       SYS_PSELECT6               = 270
-       SYS_PPOLL                  = 271
-       SYS_UNSHARE                = 272
-       SYS_SET_ROBUST_LIST        = 273
-       SYS_GET_ROBUST_LIST        = 274
-       SYS_SPLICE                 = 275
-       SYS_TEE                    = 276
-       SYS_SYNC_FILE_RANGE        = 277
-       SYS_VMSPLICE               = 278
-       SYS_MOVE_PAGES             = 279
-       SYS_UTIMENSAT              = 280
-       SYS_EPOLL_PWAIT            = 281
-       SYS_SIGNALFD               = 282
-       SYS_TIMERFD_CREATE         = 283
-       SYS_EVENTFD                = 284
-       SYS_FALLOCATE              = 285
-       SYS_TIMERFD_SETTIME        = 286
-       SYS_TIMERFD_GETTIME        = 287
-       SYS_ACCEPT4                = 288
-       SYS_SIGNALFD4              = 289
-       SYS_EVENTFD2               = 290
-       SYS_EPOLL_CREATE1          = 291
-       SYS_DUP3                   = 292
-       SYS_PIPE2                  = 293
-       SYS_INOTIFY_INIT1          = 294
-       SYS_PREADV                 = 295
-       SYS_PWRITEV                = 296
-       SYS_RT_TGSIGQUEUEINFO      = 297
-       SYS_PERF_EVENT_OPEN        = 298
-       SYS_RECVMMSG               = 299
-       SYS_FANOTIFY_INIT          = 300
-       SYS_FANOTIFY_MARK          = 301
-       SYS_PRLIMIT64              = 302
-       SYS_NAME_TO_HANDLE_AT      = 303
-       SYS_OPEN_BY_HANDLE_AT      = 304
-       SYS_CLOCK_ADJTIME          = 305
-       SYS_SYNCFS                 = 306
-       SYS_SENDMMSG               = 307
-       SYS_SETNS                  = 308
-       SYS_GETCPU                 = 309
-       SYS_PROCESS_VM_READV       = 310
-       SYS_PROCESS_VM_WRITEV      = 311
-       SYS_KCMP                   = 312
-       SYS_FINIT_MODULE           = 313
-       SYS_SCHED_SETATTR          = 314
-       SYS_SCHED_GETATTR          = 315
-       SYS_RENAMEAT2              = 316
-       SYS_SECCOMP                = 317
-       SYS_GETRANDOM              = 318
-       SYS_MEMFD_CREATE           = 319
-       SYS_KEXEC_FILE_LOAD        = 320
-       SYS_BPF                    = 321
-       SYS_EXECVEAT               = 322
-       SYS_USERFAULTFD            = 323
-       SYS_MEMBARRIER             = 324
-       SYS_MLOCK2                 = 325
-       SYS_COPY_FILE_RANGE        = 326
-       SYS_PREADV2                = 327
-       SYS_PWRITEV2               = 328
-       SYS_PKEY_MPROTECT          = 329
-       SYS_PKEY_ALLOC             = 330
-       SYS_PKEY_FREE              = 331
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go
deleted file mode 100644 (file)
index 97b182e..0000000
+++ /dev/null
@@ -1,361 +0,0 @@
-// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build arm,linux
-
-package unix
-
-const (
-       SYS_RESTART_SYSCALL        = 0
-       SYS_EXIT                   = 1
-       SYS_FORK                   = 2
-       SYS_READ                   = 3
-       SYS_WRITE                  = 4
-       SYS_OPEN                   = 5
-       SYS_CLOSE                  = 6
-       SYS_CREAT                  = 8
-       SYS_LINK                   = 9
-       SYS_UNLINK                 = 10
-       SYS_EXECVE                 = 11
-       SYS_CHDIR                  = 12
-       SYS_MKNOD                  = 14
-       SYS_CHMOD                  = 15
-       SYS_LCHOWN                 = 16
-       SYS_LSEEK                  = 19
-       SYS_GETPID                 = 20
-       SYS_MOUNT                  = 21
-       SYS_SETUID                 = 23
-       SYS_GETUID                 = 24
-       SYS_PTRACE                 = 26
-       SYS_PAUSE                  = 29
-       SYS_ACCESS                 = 33
-       SYS_NICE                   = 34
-       SYS_SYNC                   = 36
-       SYS_KILL                   = 37
-       SYS_RENAME                 = 38
-       SYS_MKDIR                  = 39
-       SYS_RMDIR                  = 40
-       SYS_DUP                    = 41
-       SYS_PIPE                   = 42
-       SYS_TIMES                  = 43
-       SYS_BRK                    = 45
-       SYS_SETGID                 = 46
-       SYS_GETGID                 = 47
-       SYS_GETEUID                = 49
-       SYS_GETEGID                = 50
-       SYS_ACCT                   = 51
-       SYS_UMOUNT2                = 52
-       SYS_IOCTL                  = 54
-       SYS_FCNTL                  = 55
-       SYS_SETPGID                = 57
-       SYS_UMASK                  = 60
-       SYS_CHROOT                 = 61
-       SYS_USTAT                  = 62
-       SYS_DUP2                   = 63
-       SYS_GETPPID                = 64
-       SYS_GETPGRP                = 65
-       SYS_SETSID                 = 66
-       SYS_SIGACTION              = 67
-       SYS_SETREUID               = 70
-       SYS_SETREGID               = 71
-       SYS_SIGSUSPEND             = 72
-       SYS_SIGPENDING             = 73
-       SYS_SETHOSTNAME            = 74
-       SYS_SETRLIMIT              = 75
-       SYS_GETRUSAGE              = 77
-       SYS_GETTIMEOFDAY           = 78
-       SYS_SETTIMEOFDAY           = 79
-       SYS_GETGROUPS              = 80
-       SYS_SETGROUPS              = 81
-       SYS_SYMLINK                = 83
-       SYS_READLINK               = 85
-       SYS_USELIB                 = 86
-       SYS_SWAPON                 = 87
-       SYS_REBOOT                 = 88
-       SYS_MUNMAP                 = 91
-       SYS_TRUNCATE               = 92
-       SYS_FTRUNCATE              = 93
-       SYS_FCHMOD                 = 94
-       SYS_FCHOWN                 = 95
-       SYS_GETPRIORITY            = 96
-       SYS_SETPRIORITY            = 97
-       SYS_STATFS                 = 99
-       SYS_FSTATFS                = 100
-       SYS_SYSLOG                 = 103
-       SYS_SETITIMER              = 104
-       SYS_GETITIMER              = 105
-       SYS_STAT                   = 106
-       SYS_LSTAT                  = 107
-       SYS_FSTAT                  = 108
-       SYS_VHANGUP                = 111
-       SYS_WAIT4                  = 114
-       SYS_SWAPOFF                = 115
-       SYS_SYSINFO                = 116
-       SYS_FSYNC                  = 118
-       SYS_SIGRETURN              = 119
-       SYS_CLONE                  = 120
-       SYS_SETDOMAINNAME          = 121
-       SYS_UNAME                  = 122
-       SYS_ADJTIMEX               = 124
-       SYS_MPROTECT               = 125
-       SYS_SIGPROCMASK            = 126
-       SYS_INIT_MODULE            = 128
-       SYS_DELETE_MODULE          = 129
-       SYS_QUOTACTL               = 131
-       SYS_GETPGID                = 132
-       SYS_FCHDIR                 = 133
-       SYS_BDFLUSH                = 134
-       SYS_SYSFS                  = 135
-       SYS_PERSONALITY            = 136
-       SYS_SETFSUID               = 138
-       SYS_SETFSGID               = 139
-       SYS__LLSEEK                = 140
-       SYS_GETDENTS               = 141
-       SYS__NEWSELECT             = 142
-       SYS_FLOCK                  = 143
-       SYS_MSYNC                  = 144
-       SYS_READV                  = 145
-       SYS_WRITEV                 = 146
-       SYS_GETSID                 = 147
-       SYS_FDATASYNC              = 148
-       SYS__SYSCTL                = 149
-       SYS_MLOCK                  = 150
-       SYS_MUNLOCK                = 151
-       SYS_MLOCKALL               = 152
-       SYS_MUNLOCKALL             = 153
-       SYS_SCHED_SETPARAM         = 154
-       SYS_SCHED_GETPARAM         = 155
-       SYS_SCHED_SETSCHEDULER     = 156
-       SYS_SCHED_GETSCHEDULER     = 157
-       SYS_SCHED_YIELD            = 158
-       SYS_SCHED_GET_PRIORITY_MAX = 159
-       SYS_SCHED_GET_PRIORITY_MIN = 160
-       SYS_SCHED_RR_GET_INTERVAL  = 161
-       SYS_NANOSLEEP              = 162
-       SYS_MREMAP                 = 163
-       SYS_SETRESUID              = 164
-       SYS_GETRESUID              = 165
-       SYS_POLL                   = 168
-       SYS_NFSSERVCTL             = 169
-       SYS_SETRESGID              = 170
-       SYS_GETRESGID              = 171
-       SYS_PRCTL                  = 172
-       SYS_RT_SIGRETURN           = 173
-       SYS_RT_SIGACTION           = 174
-       SYS_RT_SIGPROCMASK         = 175
-       SYS_RT_SIGPENDING          = 176
-       SYS_RT_SIGTIMEDWAIT        = 177
-       SYS_RT_SIGQUEUEINFO        = 178
-       SYS_RT_SIGSUSPEND          = 179
-       SYS_PREAD64                = 180
-       SYS_PWRITE64               = 181
-       SYS_CHOWN                  = 182
-       SYS_GETCWD                 = 183
-       SYS_CAPGET                 = 184
-       SYS_CAPSET                 = 185
-       SYS_SIGALTSTACK            = 186
-       SYS_SENDFILE               = 187
-       SYS_VFORK                  = 190
-       SYS_UGETRLIMIT             = 191
-       SYS_MMAP2                  = 192
-       SYS_TRUNCATE64             = 193
-       SYS_FTRUNCATE64            = 194
-       SYS_STAT64                 = 195
-       SYS_LSTAT64                = 196
-       SYS_FSTAT64                = 197
-       SYS_LCHOWN32               = 198
-       SYS_GETUID32               = 199
-       SYS_GETGID32               = 200
-       SYS_GETEUID32              = 201
-       SYS_GETEGID32              = 202
-       SYS_SETREUID32             = 203
-       SYS_SETREGID32             = 204
-       SYS_GETGROUPS32            = 205
-       SYS_SETGROUPS32            = 206
-       SYS_FCHOWN32               = 207
-       SYS_SETRESUID32            = 208
-       SYS_GETRESUID32            = 209
-       SYS_SETRESGID32            = 210
-       SYS_GETRESGID32            = 211
-       SYS_CHOWN32                = 212
-       SYS_SETUID32               = 213
-       SYS_SETGID32               = 214
-       SYS_SETFSUID32             = 215
-       SYS_SETFSGID32             = 216
-       SYS_GETDENTS64             = 217
-       SYS_PIVOT_ROOT             = 218
-       SYS_MINCORE                = 219
-       SYS_MADVISE                = 220
-       SYS_FCNTL64                = 221
-       SYS_GETTID                 = 224
-       SYS_READAHEAD              = 225
-       SYS_SETXATTR               = 226
-       SYS_LSETXATTR              = 227
-       SYS_FSETXATTR              = 228
-       SYS_GETXATTR               = 229
-       SYS_LGETXATTR              = 230
-       SYS_FGETXATTR              = 231
-       SYS_LISTXATTR              = 232
-       SYS_LLISTXATTR             = 233
-       SYS_FLISTXATTR             = 234
-       SYS_REMOVEXATTR            = 235
-       SYS_LREMOVEXATTR           = 236
-       SYS_FREMOVEXATTR           = 237
-       SYS_TKILL                  = 238
-       SYS_SENDFILE64             = 239
-       SYS_FUTEX                  = 240
-       SYS_SCHED_SETAFFINITY      = 241
-       SYS_SCHED_GETAFFINITY      = 242
-       SYS_IO_SETUP               = 243
-       SYS_IO_DESTROY             = 244
-       SYS_IO_GETEVENTS           = 245
-       SYS_IO_SUBMIT              = 246
-       SYS_IO_CANCEL              = 247
-       SYS_EXIT_GROUP             = 248
-       SYS_LOOKUP_DCOOKIE         = 249
-       SYS_EPOLL_CREATE           = 250
-       SYS_EPOLL_CTL              = 251
-       SYS_EPOLL_WAIT             = 252
-       SYS_REMAP_FILE_PAGES       = 253
-       SYS_SET_TID_ADDRESS        = 256
-       SYS_TIMER_CREATE           = 257
-       SYS_TIMER_SETTIME          = 258
-       SYS_TIMER_GETTIME          = 259
-       SYS_TIMER_GETOVERRUN       = 260
-       SYS_TIMER_DELETE           = 261
-       SYS_CLOCK_SETTIME          = 262
-       SYS_CLOCK_GETTIME          = 263
-       SYS_CLOCK_GETRES           = 264
-       SYS_CLOCK_NANOSLEEP        = 265
-       SYS_STATFS64               = 266
-       SYS_FSTATFS64              = 267
-       SYS_TGKILL                 = 268
-       SYS_UTIMES                 = 269
-       SYS_ARM_FADVISE64_64       = 270
-       SYS_PCICONFIG_IOBASE       = 271
-       SYS_PCICONFIG_READ         = 272
-       SYS_PCICONFIG_WRITE        = 273
-       SYS_MQ_OPEN                = 274
-       SYS_MQ_UNLINK              = 275
-       SYS_MQ_TIMEDSEND           = 276
-       SYS_MQ_TIMEDRECEIVE        = 277
-       SYS_MQ_NOTIFY              = 278
-       SYS_MQ_GETSETATTR          = 279
-       SYS_WAITID                 = 280
-       SYS_SOCKET                 = 281
-       SYS_BIND                   = 282
-       SYS_CONNECT                = 283
-       SYS_LISTEN                 = 284
-       SYS_ACCEPT                 = 285
-       SYS_GETSOCKNAME            = 286
-       SYS_GETPEERNAME            = 287
-       SYS_SOCKETPAIR             = 288
-       SYS_SEND                   = 289
-       SYS_SENDTO                 = 290
-       SYS_RECV                   = 291
-       SYS_RECVFROM               = 292
-       SYS_SHUTDOWN               = 293
-       SYS_SETSOCKOPT             = 294
-       SYS_GETSOCKOPT             = 295
-       SYS_SENDMSG                = 296
-       SYS_RECVMSG                = 297
-       SYS_SEMOP                  = 298
-       SYS_SEMGET                 = 299
-       SYS_SEMCTL                 = 300
-       SYS_MSGSND                 = 301
-       SYS_MSGRCV                 = 302
-       SYS_MSGGET                 = 303
-       SYS_MSGCTL                 = 304
-       SYS_SHMAT                  = 305
-       SYS_SHMDT                  = 306
-       SYS_SHMGET                 = 307
-       SYS_SHMCTL                 = 308
-       SYS_ADD_KEY                = 309
-       SYS_REQUEST_KEY            = 310
-       SYS_KEYCTL                 = 311
-       SYS_SEMTIMEDOP             = 312
-       SYS_VSERVER                = 313
-       SYS_IOPRIO_SET             = 314
-       SYS_IOPRIO_GET             = 315
-       SYS_INOTIFY_INIT           = 316
-       SYS_INOTIFY_ADD_WATCH      = 317
-       SYS_INOTIFY_RM_WATCH       = 318
-       SYS_MBIND                  = 319
-       SYS_GET_MEMPOLICY          = 320
-       SYS_SET_MEMPOLICY          = 321
-       SYS_OPENAT                 = 322
-       SYS_MKDIRAT                = 323
-       SYS_MKNODAT                = 324
-       SYS_FCHOWNAT               = 325
-       SYS_FUTIMESAT              = 326
-       SYS_FSTATAT64              = 327
-       SYS_UNLINKAT               = 328
-       SYS_RENAMEAT               = 329
-       SYS_LINKAT                 = 330
-       SYS_SYMLINKAT              = 331
-       SYS_READLINKAT             = 332
-       SYS_FCHMODAT               = 333
-       SYS_FACCESSAT              = 334
-       SYS_PSELECT6               = 335
-       SYS_PPOLL                  = 336
-       SYS_UNSHARE                = 337
-       SYS_SET_ROBUST_LIST        = 338
-       SYS_GET_ROBUST_LIST        = 339
-       SYS_SPLICE                 = 340
-       SYS_ARM_SYNC_FILE_RANGE    = 341
-       SYS_TEE                    = 342
-       SYS_VMSPLICE               = 343
-       SYS_MOVE_PAGES             = 344
-       SYS_GETCPU                 = 345
-       SYS_EPOLL_PWAIT            = 346
-       SYS_KEXEC_LOAD             = 347
-       SYS_UTIMENSAT              = 348
-       SYS_SIGNALFD               = 349
-       SYS_TIMERFD_CREATE         = 350
-       SYS_EVENTFD                = 351
-       SYS_FALLOCATE              = 352
-       SYS_TIMERFD_SETTIME        = 353
-       SYS_TIMERFD_GETTIME        = 354
-       SYS_SIGNALFD4              = 355
-       SYS_EVENTFD2               = 356
-       SYS_EPOLL_CREATE1          = 357
-       SYS_DUP3                   = 358
-       SYS_PIPE2                  = 359
-       SYS_INOTIFY_INIT1          = 360
-       SYS_PREADV                 = 361
-       SYS_PWRITEV                = 362
-       SYS_RT_TGSIGQUEUEINFO      = 363
-       SYS_PERF_EVENT_OPEN        = 364
-       SYS_RECVMMSG               = 365
-       SYS_ACCEPT4                = 366
-       SYS_FANOTIFY_INIT          = 367
-       SYS_FANOTIFY_MARK          = 368
-       SYS_PRLIMIT64              = 369
-       SYS_NAME_TO_HANDLE_AT      = 370
-       SYS_OPEN_BY_HANDLE_AT      = 371
-       SYS_CLOCK_ADJTIME          = 372
-       SYS_SYNCFS                 = 373
-       SYS_SENDMMSG               = 374
-       SYS_SETNS                  = 375
-       SYS_PROCESS_VM_READV       = 376
-       SYS_PROCESS_VM_WRITEV      = 377
-       SYS_KCMP                   = 378
-       SYS_FINIT_MODULE           = 379
-       SYS_SCHED_SETATTR          = 380
-       SYS_SCHED_GETATTR          = 381
-       SYS_RENAMEAT2              = 382
-       SYS_SECCOMP                = 383
-       SYS_GETRANDOM              = 384
-       SYS_MEMFD_CREATE           = 385
-       SYS_BPF                    = 386
-       SYS_EXECVEAT               = 387
-       SYS_USERFAULTFD            = 388
-       SYS_MEMBARRIER             = 389
-       SYS_MLOCK2                 = 390
-       SYS_COPY_FILE_RANGE        = 391
-       SYS_PREADV2                = 392
-       SYS_PWRITEV2               = 393
-       SYS_PKEY_MPROTECT          = 394
-       SYS_PKEY_ALLOC             = 395
-       SYS_PKEY_FREE              = 396
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go
deleted file mode 100644 (file)
index 6407843..0000000
+++ /dev/null
@@ -1,285 +0,0 @@
-// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include -fsigned-char /tmp/include/asm/unistd.h
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build arm64,linux
-
-package unix
-
-const (
-       SYS_IO_SETUP               = 0
-       SYS_IO_DESTROY             = 1
-       SYS_IO_SUBMIT              = 2
-       SYS_IO_CANCEL              = 3
-       SYS_IO_GETEVENTS           = 4
-       SYS_SETXATTR               = 5
-       SYS_LSETXATTR              = 6
-       SYS_FSETXATTR              = 7
-       SYS_GETXATTR               = 8
-       SYS_LGETXATTR              = 9
-       SYS_FGETXATTR              = 10
-       SYS_LISTXATTR              = 11
-       SYS_LLISTXATTR             = 12
-       SYS_FLISTXATTR             = 13
-       SYS_REMOVEXATTR            = 14
-       SYS_LREMOVEXATTR           = 15
-       SYS_FREMOVEXATTR           = 16
-       SYS_GETCWD                 = 17
-       SYS_LOOKUP_DCOOKIE         = 18
-       SYS_EVENTFD2               = 19
-       SYS_EPOLL_CREATE1          = 20
-       SYS_EPOLL_CTL              = 21
-       SYS_EPOLL_PWAIT            = 22
-       SYS_DUP                    = 23
-       SYS_DUP3                   = 24
-       SYS_FCNTL                  = 25
-       SYS_INOTIFY_INIT1          = 26
-       SYS_INOTIFY_ADD_WATCH      = 27
-       SYS_INOTIFY_RM_WATCH       = 28
-       SYS_IOCTL                  = 29
-       SYS_IOPRIO_SET             = 30
-       SYS_IOPRIO_GET             = 31
-       SYS_FLOCK                  = 32
-       SYS_MKNODAT                = 33
-       SYS_MKDIRAT                = 34
-       SYS_UNLINKAT               = 35
-       SYS_SYMLINKAT              = 36
-       SYS_LINKAT                 = 37
-       SYS_RENAMEAT               = 38
-       SYS_UMOUNT2                = 39
-       SYS_MOUNT                  = 40
-       SYS_PIVOT_ROOT             = 41
-       SYS_NFSSERVCTL             = 42
-       SYS_STATFS                 = 43
-       SYS_FSTATFS                = 44
-       SYS_TRUNCATE               = 45
-       SYS_FTRUNCATE              = 46
-       SYS_FALLOCATE              = 47
-       SYS_FACCESSAT              = 48
-       SYS_CHDIR                  = 49
-       SYS_FCHDIR                 = 50
-       SYS_CHROOT                 = 51
-       SYS_FCHMOD                 = 52
-       SYS_FCHMODAT               = 53
-       SYS_FCHOWNAT               = 54
-       SYS_FCHOWN                 = 55
-       SYS_OPENAT                 = 56
-       SYS_CLOSE                  = 57
-       SYS_VHANGUP                = 58
-       SYS_PIPE2                  = 59
-       SYS_QUOTACTL               = 60
-       SYS_GETDENTS64             = 61
-       SYS_LSEEK                  = 62
-       SYS_READ                   = 63
-       SYS_WRITE                  = 64
-       SYS_READV                  = 65
-       SYS_WRITEV                 = 66
-       SYS_PREAD64                = 67
-       SYS_PWRITE64               = 68
-       SYS_PREADV                 = 69
-       SYS_PWRITEV                = 70
-       SYS_SENDFILE               = 71
-       SYS_PSELECT6               = 72
-       SYS_PPOLL                  = 73
-       SYS_SIGNALFD4              = 74
-       SYS_VMSPLICE               = 75
-       SYS_SPLICE                 = 76
-       SYS_TEE                    = 77
-       SYS_READLINKAT             = 78
-       SYS_FSTATAT                = 79
-       SYS_FSTAT                  = 80
-       SYS_SYNC                   = 81
-       SYS_FSYNC                  = 82
-       SYS_FDATASYNC              = 83
-       SYS_SYNC_FILE_RANGE        = 84
-       SYS_TIMERFD_CREATE         = 85
-       SYS_TIMERFD_SETTIME        = 86
-       SYS_TIMERFD_GETTIME        = 87
-       SYS_UTIMENSAT              = 88
-       SYS_ACCT                   = 89
-       SYS_CAPGET                 = 90
-       SYS_CAPSET                 = 91
-       SYS_PERSONALITY            = 92
-       SYS_EXIT                   = 93
-       SYS_EXIT_GROUP             = 94
-       SYS_WAITID                 = 95
-       SYS_SET_TID_ADDRESS        = 96
-       SYS_UNSHARE                = 97
-       SYS_FUTEX                  = 98
-       SYS_SET_ROBUST_LIST        = 99
-       SYS_GET_ROBUST_LIST        = 100
-       SYS_NANOSLEEP              = 101
-       SYS_GETITIMER              = 102
-       SYS_SETITIMER              = 103
-       SYS_KEXEC_LOAD             = 104
-       SYS_INIT_MODULE            = 105
-       SYS_DELETE_MODULE          = 106
-       SYS_TIMER_CREATE           = 107
-       SYS_TIMER_GETTIME          = 108
-       SYS_TIMER_GETOVERRUN       = 109
-       SYS_TIMER_SETTIME          = 110
-       SYS_TIMER_DELETE           = 111
-       SYS_CLOCK_SETTIME          = 112
-       SYS_CLOCK_GETTIME          = 113
-       SYS_CLOCK_GETRES           = 114
-       SYS_CLOCK_NANOSLEEP        = 115
-       SYS_SYSLOG                 = 116
-       SYS_PTRACE                 = 117
-       SYS_SCHED_SETPARAM         = 118
-       SYS_SCHED_SETSCHEDULER     = 119
-       SYS_SCHED_GETSCHEDULER     = 120
-       SYS_SCHED_GETPARAM         = 121
-       SYS_SCHED_SETAFFINITY      = 122
-       SYS_SCHED_GETAFFINITY      = 123
-       SYS_SCHED_YIELD            = 124
-       SYS_SCHED_GET_PRIORITY_MAX = 125
-       SYS_SCHED_GET_PRIORITY_MIN = 126
-       SYS_SCHED_RR_GET_INTERVAL  = 127
-       SYS_RESTART_SYSCALL        = 128
-       SYS_KILL                   = 129
-       SYS_TKILL                  = 130
-       SYS_TGKILL                 = 131
-       SYS_SIGALTSTACK            = 132
-       SYS_RT_SIGSUSPEND          = 133
-       SYS_RT_SIGACTION           = 134
-       SYS_RT_SIGPROCMASK         = 135
-       SYS_RT_SIGPENDING          = 136
-       SYS_RT_SIGTIMEDWAIT        = 137
-       SYS_RT_SIGQUEUEINFO        = 138
-       SYS_RT_SIGRETURN           = 139
-       SYS_SETPRIORITY            = 140
-       SYS_GETPRIORITY            = 141
-       SYS_REBOOT                 = 142
-       SYS_SETREGID               = 143
-       SYS_SETGID                 = 144
-       SYS_SETREUID               = 145
-       SYS_SETUID                 = 146
-       SYS_SETRESUID              = 147
-       SYS_GETRESUID              = 148
-       SYS_SETRESGID              = 149
-       SYS_GETRESGID              = 150
-       SYS_SETFSUID               = 151
-       SYS_SETFSGID               = 152
-       SYS_TIMES                  = 153
-       SYS_SETPGID                = 154
-       SYS_GETPGID                = 155
-       SYS_GETSID                 = 156
-       SYS_SETSID                 = 157
-       SYS_GETGROUPS              = 158
-       SYS_SETGROUPS              = 159
-       SYS_UNAME                  = 160
-       SYS_SETHOSTNAME            = 161
-       SYS_SETDOMAINNAME          = 162
-       SYS_GETRLIMIT              = 163
-       SYS_SETRLIMIT              = 164
-       SYS_GETRUSAGE              = 165
-       SYS_UMASK                  = 166
-       SYS_PRCTL                  = 167
-       SYS_GETCPU                 = 168
-       SYS_GETTIMEOFDAY           = 169
-       SYS_SETTIMEOFDAY           = 170
-       SYS_ADJTIMEX               = 171
-       SYS_GETPID                 = 172
-       SYS_GETPPID                = 173
-       SYS_GETUID                 = 174
-       SYS_GETEUID                = 175
-       SYS_GETGID                 = 176
-       SYS_GETEGID                = 177
-       SYS_GETTID                 = 178
-       SYS_SYSINFO                = 179
-       SYS_MQ_OPEN                = 180
-       SYS_MQ_UNLINK              = 181
-       SYS_MQ_TIMEDSEND           = 182
-       SYS_MQ_TIMEDRECEIVE        = 183
-       SYS_MQ_NOTIFY              = 184
-       SYS_MQ_GETSETATTR          = 185
-       SYS_MSGGET                 = 186
-       SYS_MSGCTL                 = 187
-       SYS_MSGRCV                 = 188
-       SYS_MSGSND                 = 189
-       SYS_SEMGET                 = 190
-       SYS_SEMCTL                 = 191
-       SYS_SEMTIMEDOP             = 192
-       SYS_SEMOP                  = 193
-       SYS_SHMGET                 = 194
-       SYS_SHMCTL                 = 195
-       SYS_SHMAT                  = 196
-       SYS_SHMDT                  = 197
-       SYS_SOCKET                 = 198
-       SYS_SOCKETPAIR             = 199
-       SYS_BIND                   = 200
-       SYS_LISTEN                 = 201
-       SYS_ACCEPT                 = 202
-       SYS_CONNECT                = 203
-       SYS_GETSOCKNAME            = 204
-       SYS_GETPEERNAME            = 205
-       SYS_SENDTO                 = 206
-       SYS_RECVFROM               = 207
-       SYS_SETSOCKOPT             = 208
-       SYS_GETSOCKOPT             = 209
-       SYS_SHUTDOWN               = 210
-       SYS_SENDMSG                = 211
-       SYS_RECVMSG                = 212
-       SYS_READAHEAD              = 213
-       SYS_BRK                    = 214
-       SYS_MUNMAP                 = 215
-       SYS_MREMAP                 = 216
-       SYS_ADD_KEY                = 217
-       SYS_REQUEST_KEY            = 218
-       SYS_KEYCTL                 = 219
-       SYS_CLONE                  = 220
-       SYS_EXECVE                 = 221
-       SYS_MMAP                   = 222
-       SYS_FADVISE64              = 223
-       SYS_SWAPON                 = 224
-       SYS_SWAPOFF                = 225
-       SYS_MPROTECT               = 226
-       SYS_MSYNC                  = 227
-       SYS_MLOCK                  = 228
-       SYS_MUNLOCK                = 229
-       SYS_MLOCKALL               = 230
-       SYS_MUNLOCKALL             = 231
-       SYS_MINCORE                = 232
-       SYS_MADVISE                = 233
-       SYS_REMAP_FILE_PAGES       = 234
-       SYS_MBIND                  = 235
-       SYS_GET_MEMPOLICY          = 236
-       SYS_SET_MEMPOLICY          = 237
-       SYS_MIGRATE_PAGES          = 238
-       SYS_MOVE_PAGES             = 239
-       SYS_RT_TGSIGQUEUEINFO      = 240
-       SYS_PERF_EVENT_OPEN        = 241
-       SYS_ACCEPT4                = 242
-       SYS_RECVMMSG               = 243
-       SYS_ARCH_SPECIFIC_SYSCALL  = 244
-       SYS_WAIT4                  = 260
-       SYS_PRLIMIT64              = 261
-       SYS_FANOTIFY_INIT          = 262
-       SYS_FANOTIFY_MARK          = 263
-       SYS_NAME_TO_HANDLE_AT      = 264
-       SYS_OPEN_BY_HANDLE_AT      = 265
-       SYS_CLOCK_ADJTIME          = 266
-       SYS_SYNCFS                 = 267
-       SYS_SETNS                  = 268
-       SYS_SENDMMSG               = 269
-       SYS_PROCESS_VM_READV       = 270
-       SYS_PROCESS_VM_WRITEV      = 271
-       SYS_KCMP                   = 272
-       SYS_FINIT_MODULE           = 273
-       SYS_SCHED_SETATTR          = 274
-       SYS_SCHED_GETATTR          = 275
-       SYS_RENAMEAT2              = 276
-       SYS_SECCOMP                = 277
-       SYS_GETRANDOM              = 278
-       SYS_MEMFD_CREATE           = 279
-       SYS_BPF                    = 280
-       SYS_EXECVEAT               = 281
-       SYS_USERFAULTFD            = 282
-       SYS_MEMBARRIER             = 283
-       SYS_MLOCK2                 = 284
-       SYS_COPY_FILE_RANGE        = 285
-       SYS_PREADV2                = 286
-       SYS_PWRITEV2               = 287
-       SYS_PKEY_MPROTECT          = 288
-       SYS_PKEY_ALLOC             = 289
-       SYS_PKEY_FREE              = 290
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go
deleted file mode 100644 (file)
index 939567c..0000000
+++ /dev/null
@@ -1,374 +0,0 @@
-// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build mips,linux
-
-package unix
-
-const (
-       SYS_SYSCALL                = 4000
-       SYS_EXIT                   = 4001
-       SYS_FORK                   = 4002
-       SYS_READ                   = 4003
-       SYS_WRITE                  = 4004
-       SYS_OPEN                   = 4005
-       SYS_CLOSE                  = 4006
-       SYS_WAITPID                = 4007
-       SYS_CREAT                  = 4008
-       SYS_LINK                   = 4009
-       SYS_UNLINK                 = 4010
-       SYS_EXECVE                 = 4011
-       SYS_CHDIR                  = 4012
-       SYS_TIME                   = 4013
-       SYS_MKNOD                  = 4014
-       SYS_CHMOD                  = 4015
-       SYS_LCHOWN                 = 4016
-       SYS_BREAK                  = 4017
-       SYS_UNUSED18               = 4018
-       SYS_LSEEK                  = 4019
-       SYS_GETPID                 = 4020
-       SYS_MOUNT                  = 4021
-       SYS_UMOUNT                 = 4022
-       SYS_SETUID                 = 4023
-       SYS_GETUID                 = 4024
-       SYS_STIME                  = 4025
-       SYS_PTRACE                 = 4026
-       SYS_ALARM                  = 4027
-       SYS_UNUSED28               = 4028
-       SYS_PAUSE                  = 4029
-       SYS_UTIME                  = 4030
-       SYS_STTY                   = 4031
-       SYS_GTTY                   = 4032
-       SYS_ACCESS                 = 4033
-       SYS_NICE                   = 4034
-       SYS_FTIME                  = 4035
-       SYS_SYNC                   = 4036
-       SYS_KILL                   = 4037
-       SYS_RENAME                 = 4038
-       SYS_MKDIR                  = 4039
-       SYS_RMDIR                  = 4040
-       SYS_DUP                    = 4041
-       SYS_PIPE                   = 4042
-       SYS_TIMES                  = 4043
-       SYS_PROF                   = 4044
-       SYS_BRK                    = 4045
-       SYS_SETGID                 = 4046
-       SYS_GETGID                 = 4047
-       SYS_SIGNAL                 = 4048
-       SYS_GETEUID                = 4049
-       SYS_GETEGID                = 4050
-       SYS_ACCT                   = 4051
-       SYS_UMOUNT2                = 4052
-       SYS_LOCK                   = 4053
-       SYS_IOCTL                  = 4054
-       SYS_FCNTL                  = 4055
-       SYS_MPX                    = 4056
-       SYS_SETPGID                = 4057
-       SYS_ULIMIT                 = 4058
-       SYS_UNUSED59               = 4059
-       SYS_UMASK                  = 4060
-       SYS_CHROOT                 = 4061
-       SYS_USTAT                  = 4062
-       SYS_DUP2                   = 4063
-       SYS_GETPPID                = 4064
-       SYS_GETPGRP                = 4065
-       SYS_SETSID                 = 4066
-       SYS_SIGACTION              = 4067
-       SYS_SGETMASK               = 4068
-       SYS_SSETMASK               = 4069
-       SYS_SETREUID               = 4070
-       SYS_SETREGID               = 4071
-       SYS_SIGSUSPEND             = 4072
-       SYS_SIGPENDING             = 4073
-       SYS_SETHOSTNAME            = 4074
-       SYS_SETRLIMIT              = 4075
-       SYS_GETRLIMIT              = 4076
-       SYS_GETRUSAGE              = 4077
-       SYS_GETTIMEOFDAY           = 4078
-       SYS_SETTIMEOFDAY           = 4079
-       SYS_GETGROUPS              = 4080
-       SYS_SETGROUPS              = 4081
-       SYS_RESERVED82             = 4082
-       SYS_SYMLINK                = 4083
-       SYS_UNUSED84               = 4084
-       SYS_READLINK               = 4085
-       SYS_USELIB                 = 4086
-       SYS_SWAPON                 = 4087
-       SYS_REBOOT                 = 4088
-       SYS_READDIR                = 4089
-       SYS_MMAP                   = 4090
-       SYS_MUNMAP                 = 4091
-       SYS_TRUNCATE               = 4092
-       SYS_FTRUNCATE              = 4093
-       SYS_FCHMOD                 = 4094
-       SYS_FCHOWN                 = 4095
-       SYS_GETPRIORITY            = 4096
-       SYS_SETPRIORITY            = 4097
-       SYS_PROFIL                 = 4098
-       SYS_STATFS                 = 4099
-       SYS_FSTATFS                = 4100
-       SYS_IOPERM                 = 4101
-       SYS_SOCKETCALL             = 4102
-       SYS_SYSLOG                 = 4103
-       SYS_SETITIMER              = 4104
-       SYS_GETITIMER              = 4105
-       SYS_STAT                   = 4106
-       SYS_LSTAT                  = 4107
-       SYS_FSTAT                  = 4108
-       SYS_UNUSED109              = 4109
-       SYS_IOPL                   = 4110
-       SYS_VHANGUP                = 4111
-       SYS_IDLE                   = 4112
-       SYS_VM86                   = 4113
-       SYS_WAIT4                  = 4114
-       SYS_SWAPOFF                = 4115
-       SYS_SYSINFO                = 4116
-       SYS_IPC                    = 4117
-       SYS_FSYNC                  = 4118
-       SYS_SIGRETURN              = 4119
-       SYS_CLONE                  = 4120
-       SYS_SETDOMAINNAME          = 4121
-       SYS_UNAME                  = 4122
-       SYS_MODIFY_LDT             = 4123
-       SYS_ADJTIMEX               = 4124
-       SYS_MPROTECT               = 4125
-       SYS_SIGPROCMASK            = 4126
-       SYS_CREATE_MODULE          = 4127
-       SYS_INIT_MODULE            = 4128
-       SYS_DELETE_MODULE          = 4129
-       SYS_GET_KERNEL_SYMS        = 4130
-       SYS_QUOTACTL               = 4131
-       SYS_GETPGID                = 4132
-       SYS_FCHDIR                 = 4133
-       SYS_BDFLUSH                = 4134
-       SYS_SYSFS                  = 4135
-       SYS_PERSONALITY            = 4136
-       SYS_AFS_SYSCALL            = 4137
-       SYS_SETFSUID               = 4138
-       SYS_SETFSGID               = 4139
-       SYS__LLSEEK                = 4140
-       SYS_GETDENTS               = 4141
-       SYS__NEWSELECT             = 4142
-       SYS_FLOCK                  = 4143
-       SYS_MSYNC                  = 4144
-       SYS_READV                  = 4145
-       SYS_WRITEV                 = 4146
-       SYS_CACHEFLUSH             = 4147
-       SYS_CACHECTL               = 4148
-       SYS_SYSMIPS                = 4149
-       SYS_UNUSED150              = 4150
-       SYS_GETSID                 = 4151
-       SYS_FDATASYNC              = 4152
-       SYS__SYSCTL                = 4153
-       SYS_MLOCK                  = 4154
-       SYS_MUNLOCK                = 4155
-       SYS_MLOCKALL               = 4156
-       SYS_MUNLOCKALL             = 4157
-       SYS_SCHED_SETPARAM         = 4158
-       SYS_SCHED_GETPARAM         = 4159
-       SYS_SCHED_SETSCHEDULER     = 4160
-       SYS_SCHED_GETSCHEDULER     = 4161
-       SYS_SCHED_YIELD            = 4162
-       SYS_SCHED_GET_PRIORITY_MAX = 4163
-       SYS_SCHED_GET_PRIORITY_MIN = 4164
-       SYS_SCHED_RR_GET_INTERVAL  = 4165
-       SYS_NANOSLEEP              = 4166
-       SYS_MREMAP                 = 4167
-       SYS_ACCEPT                 = 4168
-       SYS_BIND                   = 4169
-       SYS_CONNECT                = 4170
-       SYS_GETPEERNAME            = 4171
-       SYS_GETSOCKNAME            = 4172
-       SYS_GETSOCKOPT             = 4173
-       SYS_LISTEN                 = 4174
-       SYS_RECV                   = 4175
-       SYS_RECVFROM               = 4176
-       SYS_RECVMSG                = 4177
-       SYS_SEND                   = 4178
-       SYS_SENDMSG                = 4179
-       SYS_SENDTO                 = 4180
-       SYS_SETSOCKOPT             = 4181
-       SYS_SHUTDOWN               = 4182
-       SYS_SOCKET                 = 4183
-       SYS_SOCKETPAIR             = 4184
-       SYS_SETRESUID              = 4185
-       SYS_GETRESUID              = 4186
-       SYS_QUERY_MODULE           = 4187
-       SYS_POLL                   = 4188
-       SYS_NFSSERVCTL             = 4189
-       SYS_SETRESGID              = 4190
-       SYS_GETRESGID              = 4191
-       SYS_PRCTL                  = 4192
-       SYS_RT_SIGRETURN           = 4193
-       SYS_RT_SIGACTION           = 4194
-       SYS_RT_SIGPROCMASK         = 4195
-       SYS_RT_SIGPENDING          = 4196
-       SYS_RT_SIGTIMEDWAIT        = 4197
-       SYS_RT_SIGQUEUEINFO        = 4198
-       SYS_RT_SIGSUSPEND          = 4199
-       SYS_PREAD64                = 4200
-       SYS_PWRITE64               = 4201
-       SYS_CHOWN                  = 4202
-       SYS_GETCWD                 = 4203
-       SYS_CAPGET                 = 4204
-       SYS_CAPSET                 = 4205
-       SYS_SIGALTSTACK            = 4206
-       SYS_SENDFILE               = 4207
-       SYS_GETPMSG                = 4208
-       SYS_PUTPMSG                = 4209
-       SYS_MMAP2                  = 4210
-       SYS_TRUNCATE64             = 4211
-       SYS_FTRUNCATE64            = 4212
-       SYS_STAT64                 = 4213
-       SYS_LSTAT64                = 4214
-       SYS_FSTAT64                = 4215
-       SYS_PIVOT_ROOT             = 4216
-       SYS_MINCORE                = 4217
-       SYS_MADVISE                = 4218
-       SYS_GETDENTS64             = 4219
-       SYS_FCNTL64                = 4220
-       SYS_RESERVED221            = 4221
-       SYS_GETTID                 = 4222
-       SYS_READAHEAD              = 4223
-       SYS_SETXATTR               = 4224
-       SYS_LSETXATTR              = 4225
-       SYS_FSETXATTR              = 4226
-       SYS_GETXATTR               = 4227
-       SYS_LGETXATTR              = 4228
-       SYS_FGETXATTR              = 4229
-       SYS_LISTXATTR              = 4230
-       SYS_LLISTXATTR             = 4231
-       SYS_FLISTXATTR             = 4232
-       SYS_REMOVEXATTR            = 4233
-       SYS_LREMOVEXATTR           = 4234
-       SYS_FREMOVEXATTR           = 4235
-       SYS_TKILL                  = 4236
-       SYS_SENDFILE64             = 4237
-       SYS_FUTEX                  = 4238
-       SYS_SCHED_SETAFFINITY      = 4239
-       SYS_SCHED_GETAFFINITY      = 4240
-       SYS_IO_SETUP               = 4241
-       SYS_IO_DESTROY             = 4242
-       SYS_IO_GETEVENTS           = 4243
-       SYS_IO_SUBMIT              = 4244
-       SYS_IO_CANCEL              = 4245
-       SYS_EXIT_GROUP             = 4246
-       SYS_LOOKUP_DCOOKIE         = 4247
-       SYS_EPOLL_CREATE           = 4248
-       SYS_EPOLL_CTL              = 4249
-       SYS_EPOLL_WAIT             = 4250
-       SYS_REMAP_FILE_PAGES       = 4251
-       SYS_SET_TID_ADDRESS        = 4252
-       SYS_RESTART_SYSCALL        = 4253
-       SYS_FADVISE64              = 4254
-       SYS_STATFS64               = 4255
-       SYS_FSTATFS64              = 4256
-       SYS_TIMER_CREATE           = 4257
-       SYS_TIMER_SETTIME          = 4258
-       SYS_TIMER_GETTIME          = 4259
-       SYS_TIMER_GETOVERRUN       = 4260
-       SYS_TIMER_DELETE           = 4261
-       SYS_CLOCK_SETTIME          = 4262
-       SYS_CLOCK_GETTIME          = 4263
-       SYS_CLOCK_GETRES           = 4264
-       SYS_CLOCK_NANOSLEEP        = 4265
-       SYS_TGKILL                 = 4266
-       SYS_UTIMES                 = 4267
-       SYS_MBIND                  = 4268
-       SYS_GET_MEMPOLICY          = 4269
-       SYS_SET_MEMPOLICY          = 4270
-       SYS_MQ_OPEN                = 4271
-       SYS_MQ_UNLINK              = 4272
-       SYS_MQ_TIMEDSEND           = 4273
-       SYS_MQ_TIMEDRECEIVE        = 4274
-       SYS_MQ_NOTIFY              = 4275
-       SYS_MQ_GETSETATTR          = 4276
-       SYS_VSERVER                = 4277
-       SYS_WAITID                 = 4278
-       SYS_ADD_KEY                = 4280
-       SYS_REQUEST_KEY            = 4281
-       SYS_KEYCTL                 = 4282
-       SYS_SET_THREAD_AREA        = 4283
-       SYS_INOTIFY_INIT           = 4284
-       SYS_INOTIFY_ADD_WATCH      = 4285
-       SYS_INOTIFY_RM_WATCH       = 4286
-       SYS_MIGRATE_PAGES          = 4287
-       SYS_OPENAT                 = 4288
-       SYS_MKDIRAT                = 4289
-       SYS_MKNODAT                = 4290
-       SYS_FCHOWNAT               = 4291
-       SYS_FUTIMESAT              = 4292
-       SYS_FSTATAT64              = 4293
-       SYS_UNLINKAT               = 4294
-       SYS_RENAMEAT               = 4295
-       SYS_LINKAT                 = 4296
-       SYS_SYMLINKAT              = 4297
-       SYS_READLINKAT             = 4298
-       SYS_FCHMODAT               = 4299
-       SYS_FACCESSAT              = 4300
-       SYS_PSELECT6               = 4301
-       SYS_PPOLL                  = 4302
-       SYS_UNSHARE                = 4303
-       SYS_SPLICE                 = 4304
-       SYS_SYNC_FILE_RANGE        = 4305
-       SYS_TEE                    = 4306
-       SYS_VMSPLICE               = 4307
-       SYS_MOVE_PAGES             = 4308
-       SYS_SET_ROBUST_LIST        = 4309
-       SYS_GET_ROBUST_LIST        = 4310
-       SYS_KEXEC_LOAD             = 4311
-       SYS_GETCPU                 = 4312
-       SYS_EPOLL_PWAIT            = 4313
-       SYS_IOPRIO_SET             = 4314
-       SYS_IOPRIO_GET             = 4315
-       SYS_UTIMENSAT              = 4316
-       SYS_SIGNALFD               = 4317
-       SYS_TIMERFD                = 4318
-       SYS_EVENTFD                = 4319
-       SYS_FALLOCATE              = 4320
-       SYS_TIMERFD_CREATE         = 4321
-       SYS_TIMERFD_GETTIME        = 4322
-       SYS_TIMERFD_SETTIME        = 4323
-       SYS_SIGNALFD4              = 4324
-       SYS_EVENTFD2               = 4325
-       SYS_EPOLL_CREATE1          = 4326
-       SYS_DUP3                   = 4327
-       SYS_PIPE2                  = 4328
-       SYS_INOTIFY_INIT1          = 4329
-       SYS_PREADV                 = 4330
-       SYS_PWRITEV                = 4331
-       SYS_RT_TGSIGQUEUEINFO      = 4332
-       SYS_PERF_EVENT_OPEN        = 4333
-       SYS_ACCEPT4                = 4334
-       SYS_RECVMMSG               = 4335
-       SYS_FANOTIFY_INIT          = 4336
-       SYS_FANOTIFY_MARK          = 4337
-       SYS_PRLIMIT64              = 4338
-       SYS_NAME_TO_HANDLE_AT      = 4339
-       SYS_OPEN_BY_HANDLE_AT      = 4340
-       SYS_CLOCK_ADJTIME          = 4341
-       SYS_SYNCFS                 = 4342
-       SYS_SENDMMSG               = 4343
-       SYS_SETNS                  = 4344
-       SYS_PROCESS_VM_READV       = 4345
-       SYS_PROCESS_VM_WRITEV      = 4346
-       SYS_KCMP                   = 4347
-       SYS_FINIT_MODULE           = 4348
-       SYS_SCHED_SETATTR          = 4349
-       SYS_SCHED_GETATTR          = 4350
-       SYS_RENAMEAT2              = 4351
-       SYS_SECCOMP                = 4352
-       SYS_GETRANDOM              = 4353
-       SYS_MEMFD_CREATE           = 4354
-       SYS_BPF                    = 4355
-       SYS_EXECVEAT               = 4356
-       SYS_USERFAULTFD            = 4357
-       SYS_MEMBARRIER             = 4358
-       SYS_MLOCK2                 = 4359
-       SYS_COPY_FILE_RANGE        = 4360
-       SYS_PREADV2                = 4361
-       SYS_PWRITEV2               = 4362
-       SYS_PKEY_MPROTECT          = 4363
-       SYS_PKEY_ALLOC             = 4364
-       SYS_PKEY_FREE              = 4365
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go
deleted file mode 100644 (file)
index 09db959..0000000
+++ /dev/null
@@ -1,334 +0,0 @@
-// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build mips64,linux
-
-package unix
-
-const (
-       SYS_READ                   = 5000
-       SYS_WRITE                  = 5001
-       SYS_OPEN                   = 5002
-       SYS_CLOSE                  = 5003
-       SYS_STAT                   = 5004
-       SYS_FSTAT                  = 5005
-       SYS_LSTAT                  = 5006
-       SYS_POLL                   = 5007
-       SYS_LSEEK                  = 5008
-       SYS_MMAP                   = 5009
-       SYS_MPROTECT               = 5010
-       SYS_MUNMAP                 = 5011
-       SYS_BRK                    = 5012
-       SYS_RT_SIGACTION           = 5013
-       SYS_RT_SIGPROCMASK         = 5014
-       SYS_IOCTL                  = 5015
-       SYS_PREAD64                = 5016
-       SYS_PWRITE64               = 5017
-       SYS_READV                  = 5018
-       SYS_WRITEV                 = 5019
-       SYS_ACCESS                 = 5020
-       SYS_PIPE                   = 5021
-       SYS__NEWSELECT             = 5022
-       SYS_SCHED_YIELD            = 5023
-       SYS_MREMAP                 = 5024
-       SYS_MSYNC                  = 5025
-       SYS_MINCORE                = 5026
-       SYS_MADVISE                = 5027
-       SYS_SHMGET                 = 5028
-       SYS_SHMAT                  = 5029
-       SYS_SHMCTL                 = 5030
-       SYS_DUP                    = 5031
-       SYS_DUP2                   = 5032
-       SYS_PAUSE                  = 5033
-       SYS_NANOSLEEP              = 5034
-       SYS_GETITIMER              = 5035
-       SYS_SETITIMER              = 5036
-       SYS_ALARM                  = 5037
-       SYS_GETPID                 = 5038
-       SYS_SENDFILE               = 5039
-       SYS_SOCKET                 = 5040
-       SYS_CONNECT                = 5041
-       SYS_ACCEPT                 = 5042
-       SYS_SENDTO                 = 5043
-       SYS_RECVFROM               = 5044
-       SYS_SENDMSG                = 5045
-       SYS_RECVMSG                = 5046
-       SYS_SHUTDOWN               = 5047
-       SYS_BIND                   = 5048
-       SYS_LISTEN                 = 5049
-       SYS_GETSOCKNAME            = 5050
-       SYS_GETPEERNAME            = 5051
-       SYS_SOCKETPAIR             = 5052
-       SYS_SETSOCKOPT             = 5053
-       SYS_GETSOCKOPT             = 5054
-       SYS_CLONE                  = 5055
-       SYS_FORK                   = 5056
-       SYS_EXECVE                 = 5057
-       SYS_EXIT                   = 5058
-       SYS_WAIT4                  = 5059
-       SYS_KILL                   = 5060
-       SYS_UNAME                  = 5061
-       SYS_SEMGET                 = 5062
-       SYS_SEMOP                  = 5063
-       SYS_SEMCTL                 = 5064
-       SYS_SHMDT                  = 5065
-       SYS_MSGGET                 = 5066
-       SYS_MSGSND                 = 5067
-       SYS_MSGRCV                 = 5068
-       SYS_MSGCTL                 = 5069
-       SYS_FCNTL                  = 5070
-       SYS_FLOCK                  = 5071
-       SYS_FSYNC                  = 5072
-       SYS_FDATASYNC              = 5073
-       SYS_TRUNCATE               = 5074
-       SYS_FTRUNCATE              = 5075
-       SYS_GETDENTS               = 5076
-       SYS_GETCWD                 = 5077
-       SYS_CHDIR                  = 5078
-       SYS_FCHDIR                 = 5079
-       SYS_RENAME                 = 5080
-       SYS_MKDIR                  = 5081
-       SYS_RMDIR                  = 5082
-       SYS_CREAT                  = 5083
-       SYS_LINK                   = 5084
-       SYS_UNLINK                 = 5085
-       SYS_SYMLINK                = 5086
-       SYS_READLINK               = 5087
-       SYS_CHMOD                  = 5088
-       SYS_FCHMOD                 = 5089
-       SYS_CHOWN                  = 5090
-       SYS_FCHOWN                 = 5091
-       SYS_LCHOWN                 = 5092
-       SYS_UMASK                  = 5093
-       SYS_GETTIMEOFDAY           = 5094
-       SYS_GETRLIMIT              = 5095
-       SYS_GETRUSAGE              = 5096
-       SYS_SYSINFO                = 5097
-       SYS_TIMES                  = 5098
-       SYS_PTRACE                 = 5099
-       SYS_GETUID                 = 5100
-       SYS_SYSLOG                 = 5101
-       SYS_GETGID                 = 5102
-       SYS_SETUID                 = 5103
-       SYS_SETGID                 = 5104
-       SYS_GETEUID                = 5105
-       SYS_GETEGID                = 5106
-       SYS_SETPGID                = 5107
-       SYS_GETPPID                = 5108
-       SYS_GETPGRP                = 5109
-       SYS_SETSID                 = 5110
-       SYS_SETREUID               = 5111
-       SYS_SETREGID               = 5112
-       SYS_GETGROUPS              = 5113
-       SYS_SETGROUPS              = 5114
-       SYS_SETRESUID              = 5115
-       SYS_GETRESUID              = 5116
-       SYS_SETRESGID              = 5117
-       SYS_GETRESGID              = 5118
-       SYS_GETPGID                = 5119
-       SYS_SETFSUID               = 5120
-       SYS_SETFSGID               = 5121
-       SYS_GETSID                 = 5122
-       SYS_CAPGET                 = 5123
-       SYS_CAPSET                 = 5124
-       SYS_RT_SIGPENDING          = 5125
-       SYS_RT_SIGTIMEDWAIT        = 5126
-       SYS_RT_SIGQUEUEINFO        = 5127
-       SYS_RT_SIGSUSPEND          = 5128
-       SYS_SIGALTSTACK            = 5129
-       SYS_UTIME                  = 5130
-       SYS_MKNOD                  = 5131
-       SYS_PERSONALITY            = 5132
-       SYS_USTAT                  = 5133
-       SYS_STATFS                 = 5134
-       SYS_FSTATFS                = 5135
-       SYS_SYSFS                  = 5136
-       SYS_GETPRIORITY            = 5137
-       SYS_SETPRIORITY            = 5138
-       SYS_SCHED_SETPARAM         = 5139
-       SYS_SCHED_GETPARAM         = 5140
-       SYS_SCHED_SETSCHEDULER     = 5141
-       SYS_SCHED_GETSCHEDULER     = 5142
-       SYS_SCHED_GET_PRIORITY_MAX = 5143
-       SYS_SCHED_GET_PRIORITY_MIN = 5144
-       SYS_SCHED_RR_GET_INTERVAL  = 5145
-       SYS_MLOCK                  = 5146
-       SYS_MUNLOCK                = 5147
-       SYS_MLOCKALL               = 5148
-       SYS_MUNLOCKALL             = 5149
-       SYS_VHANGUP                = 5150
-       SYS_PIVOT_ROOT             = 5151
-       SYS__SYSCTL                = 5152
-       SYS_PRCTL                  = 5153
-       SYS_ADJTIMEX               = 5154
-       SYS_SETRLIMIT              = 5155
-       SYS_CHROOT                 = 5156
-       SYS_SYNC                   = 5157
-       SYS_ACCT                   = 5158
-       SYS_SETTIMEOFDAY           = 5159
-       SYS_MOUNT                  = 5160
-       SYS_UMOUNT2                = 5161
-       SYS_SWAPON                 = 5162
-       SYS_SWAPOFF                = 5163
-       SYS_REBOOT                 = 5164
-       SYS_SETHOSTNAME            = 5165
-       SYS_SETDOMAINNAME          = 5166
-       SYS_CREATE_MODULE          = 5167
-       SYS_INIT_MODULE            = 5168
-       SYS_DELETE_MODULE          = 5169
-       SYS_GET_KERNEL_SYMS        = 5170
-       SYS_QUERY_MODULE           = 5171
-       SYS_QUOTACTL               = 5172
-       SYS_NFSSERVCTL             = 5173
-       SYS_GETPMSG                = 5174
-       SYS_PUTPMSG                = 5175
-       SYS_AFS_SYSCALL            = 5176
-       SYS_RESERVED177            = 5177
-       SYS_GETTID                 = 5178
-       SYS_READAHEAD              = 5179
-       SYS_SETXATTR               = 5180
-       SYS_LSETXATTR              = 5181
-       SYS_FSETXATTR              = 5182
-       SYS_GETXATTR               = 5183
-       SYS_LGETXATTR              = 5184
-       SYS_FGETXATTR              = 5185
-       SYS_LISTXATTR              = 5186
-       SYS_LLISTXATTR             = 5187
-       SYS_FLISTXATTR             = 5188
-       SYS_REMOVEXATTR            = 5189
-       SYS_LREMOVEXATTR           = 5190
-       SYS_FREMOVEXATTR           = 5191
-       SYS_TKILL                  = 5192
-       SYS_RESERVED193            = 5193
-       SYS_FUTEX                  = 5194
-       SYS_SCHED_SETAFFINITY      = 5195
-       SYS_SCHED_GETAFFINITY      = 5196
-       SYS_CACHEFLUSH             = 5197
-       SYS_CACHECTL               = 5198
-       SYS_SYSMIPS                = 5199
-       SYS_IO_SETUP               = 5200
-       SYS_IO_DESTROY             = 5201
-       SYS_IO_GETEVENTS           = 5202
-       SYS_IO_SUBMIT              = 5203
-       SYS_IO_CANCEL              = 5204
-       SYS_EXIT_GROUP             = 5205
-       SYS_LOOKUP_DCOOKIE         = 5206
-       SYS_EPOLL_CREATE           = 5207
-       SYS_EPOLL_CTL              = 5208
-       SYS_EPOLL_WAIT             = 5209
-       SYS_REMAP_FILE_PAGES       = 5210
-       SYS_RT_SIGRETURN           = 5211
-       SYS_SET_TID_ADDRESS        = 5212
-       SYS_RESTART_SYSCALL        = 5213
-       SYS_SEMTIMEDOP             = 5214
-       SYS_FADVISE64              = 5215
-       SYS_TIMER_CREATE           = 5216
-       SYS_TIMER_SETTIME          = 5217
-       SYS_TIMER_GETTIME          = 5218
-       SYS_TIMER_GETOVERRUN       = 5219
-       SYS_TIMER_DELETE           = 5220
-       SYS_CLOCK_SETTIME          = 5221
-       SYS_CLOCK_GETTIME          = 5222
-       SYS_CLOCK_GETRES           = 5223
-       SYS_CLOCK_NANOSLEEP        = 5224
-       SYS_TGKILL                 = 5225
-       SYS_UTIMES                 = 5226
-       SYS_MBIND                  = 5227
-       SYS_GET_MEMPOLICY          = 5228
-       SYS_SET_MEMPOLICY          = 5229
-       SYS_MQ_OPEN                = 5230
-       SYS_MQ_UNLINK              = 5231
-       SYS_MQ_TIMEDSEND           = 5232
-       SYS_MQ_TIMEDRECEIVE        = 5233
-       SYS_MQ_NOTIFY              = 5234
-       SYS_MQ_GETSETATTR          = 5235
-       SYS_VSERVER                = 5236
-       SYS_WAITID                 = 5237
-       SYS_ADD_KEY                = 5239
-       SYS_REQUEST_KEY            = 5240
-       SYS_KEYCTL                 = 5241
-       SYS_SET_THREAD_AREA        = 5242
-       SYS_INOTIFY_INIT           = 5243
-       SYS_INOTIFY_ADD_WATCH      = 5244
-       SYS_INOTIFY_RM_WATCH       = 5245
-       SYS_MIGRATE_PAGES          = 5246
-       SYS_OPENAT                 = 5247
-       SYS_MKDIRAT                = 5248
-       SYS_MKNODAT                = 5249
-       SYS_FCHOWNAT               = 5250
-       SYS_FUTIMESAT              = 5251
-       SYS_NEWFSTATAT             = 5252
-       SYS_UNLINKAT               = 5253
-       SYS_RENAMEAT               = 5254
-       SYS_LINKAT                 = 5255
-       SYS_SYMLINKAT              = 5256
-       SYS_READLINKAT             = 5257
-       SYS_FCHMODAT               = 5258
-       SYS_FACCESSAT              = 5259
-       SYS_PSELECT6               = 5260
-       SYS_PPOLL                  = 5261
-       SYS_UNSHARE                = 5262
-       SYS_SPLICE                 = 5263
-       SYS_SYNC_FILE_RANGE        = 5264
-       SYS_TEE                    = 5265
-       SYS_VMSPLICE               = 5266
-       SYS_MOVE_PAGES             = 5267
-       SYS_SET_ROBUST_LIST        = 5268
-       SYS_GET_ROBUST_LIST        = 5269
-       SYS_KEXEC_LOAD             = 5270
-       SYS_GETCPU                 = 5271
-       SYS_EPOLL_PWAIT            = 5272
-       SYS_IOPRIO_SET             = 5273
-       SYS_IOPRIO_GET             = 5274
-       SYS_UTIMENSAT              = 5275
-       SYS_SIGNALFD               = 5276
-       SYS_TIMERFD                = 5277
-       SYS_EVENTFD                = 5278
-       SYS_FALLOCATE              = 5279
-       SYS_TIMERFD_CREATE         = 5280
-       SYS_TIMERFD_GETTIME        = 5281
-       SYS_TIMERFD_SETTIME        = 5282
-       SYS_SIGNALFD4              = 5283
-       SYS_EVENTFD2               = 5284
-       SYS_EPOLL_CREATE1          = 5285
-       SYS_DUP3                   = 5286
-       SYS_PIPE2                  = 5287
-       SYS_INOTIFY_INIT1          = 5288
-       SYS_PREADV                 = 5289
-       SYS_PWRITEV                = 5290
-       SYS_RT_TGSIGQUEUEINFO      = 5291
-       SYS_PERF_EVENT_OPEN        = 5292
-       SYS_ACCEPT4                = 5293
-       SYS_RECVMMSG               = 5294
-       SYS_FANOTIFY_INIT          = 5295
-       SYS_FANOTIFY_MARK          = 5296
-       SYS_PRLIMIT64              = 5297
-       SYS_NAME_TO_HANDLE_AT      = 5298
-       SYS_OPEN_BY_HANDLE_AT      = 5299
-       SYS_CLOCK_ADJTIME          = 5300
-       SYS_SYNCFS                 = 5301
-       SYS_SENDMMSG               = 5302
-       SYS_SETNS                  = 5303
-       SYS_PROCESS_VM_READV       = 5304
-       SYS_PROCESS_VM_WRITEV      = 5305
-       SYS_KCMP                   = 5306
-       SYS_FINIT_MODULE           = 5307
-       SYS_GETDENTS64             = 5308
-       SYS_SCHED_SETATTR          = 5309
-       SYS_SCHED_GETATTR          = 5310
-       SYS_RENAMEAT2              = 5311
-       SYS_SECCOMP                = 5312
-       SYS_GETRANDOM              = 5313
-       SYS_MEMFD_CREATE           = 5314
-       SYS_BPF                    = 5315
-       SYS_EXECVEAT               = 5316
-       SYS_USERFAULTFD            = 5317
-       SYS_MEMBARRIER             = 5318
-       SYS_MLOCK2                 = 5319
-       SYS_COPY_FILE_RANGE        = 5320
-       SYS_PREADV2                = 5321
-       SYS_PWRITEV2               = 5322
-       SYS_PKEY_MPROTECT          = 5323
-       SYS_PKEY_ALLOC             = 5324
-       SYS_PKEY_FREE              = 5325
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go
deleted file mode 100644 (file)
index d1b872a..0000000
+++ /dev/null
@@ -1,334 +0,0 @@
-// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build mips64le,linux
-
-package unix
-
-const (
-       SYS_READ                   = 5000
-       SYS_WRITE                  = 5001
-       SYS_OPEN                   = 5002
-       SYS_CLOSE                  = 5003
-       SYS_STAT                   = 5004
-       SYS_FSTAT                  = 5005
-       SYS_LSTAT                  = 5006
-       SYS_POLL                   = 5007
-       SYS_LSEEK                  = 5008
-       SYS_MMAP                   = 5009
-       SYS_MPROTECT               = 5010
-       SYS_MUNMAP                 = 5011
-       SYS_BRK                    = 5012
-       SYS_RT_SIGACTION           = 5013
-       SYS_RT_SIGPROCMASK         = 5014
-       SYS_IOCTL                  = 5015
-       SYS_PREAD64                = 5016
-       SYS_PWRITE64               = 5017
-       SYS_READV                  = 5018
-       SYS_WRITEV                 = 5019
-       SYS_ACCESS                 = 5020
-       SYS_PIPE                   = 5021
-       SYS__NEWSELECT             = 5022
-       SYS_SCHED_YIELD            = 5023
-       SYS_MREMAP                 = 5024
-       SYS_MSYNC                  = 5025
-       SYS_MINCORE                = 5026
-       SYS_MADVISE                = 5027
-       SYS_SHMGET                 = 5028
-       SYS_SHMAT                  = 5029
-       SYS_SHMCTL                 = 5030
-       SYS_DUP                    = 5031
-       SYS_DUP2                   = 5032
-       SYS_PAUSE                  = 5033
-       SYS_NANOSLEEP              = 5034
-       SYS_GETITIMER              = 5035
-       SYS_SETITIMER              = 5036
-       SYS_ALARM                  = 5037
-       SYS_GETPID                 = 5038
-       SYS_SENDFILE               = 5039
-       SYS_SOCKET                 = 5040
-       SYS_CONNECT                = 5041
-       SYS_ACCEPT                 = 5042
-       SYS_SENDTO                 = 5043
-       SYS_RECVFROM               = 5044
-       SYS_SENDMSG                = 5045
-       SYS_RECVMSG                = 5046
-       SYS_SHUTDOWN               = 5047
-       SYS_BIND                   = 5048
-       SYS_LISTEN                 = 5049
-       SYS_GETSOCKNAME            = 5050
-       SYS_GETPEERNAME            = 5051
-       SYS_SOCKETPAIR             = 5052
-       SYS_SETSOCKOPT             = 5053
-       SYS_GETSOCKOPT             = 5054
-       SYS_CLONE                  = 5055
-       SYS_FORK                   = 5056
-       SYS_EXECVE                 = 5057
-       SYS_EXIT                   = 5058
-       SYS_WAIT4                  = 5059
-       SYS_KILL                   = 5060
-       SYS_UNAME                  = 5061
-       SYS_SEMGET                 = 5062
-       SYS_SEMOP                  = 5063
-       SYS_SEMCTL                 = 5064
-       SYS_SHMDT                  = 5065
-       SYS_MSGGET                 = 5066
-       SYS_MSGSND                 = 5067
-       SYS_MSGRCV                 = 5068
-       SYS_MSGCTL                 = 5069
-       SYS_FCNTL                  = 5070
-       SYS_FLOCK                  = 5071
-       SYS_FSYNC                  = 5072
-       SYS_FDATASYNC              = 5073
-       SYS_TRUNCATE               = 5074
-       SYS_FTRUNCATE              = 5075
-       SYS_GETDENTS               = 5076
-       SYS_GETCWD                 = 5077
-       SYS_CHDIR                  = 5078
-       SYS_FCHDIR                 = 5079
-       SYS_RENAME                 = 5080
-       SYS_MKDIR                  = 5081
-       SYS_RMDIR                  = 5082
-       SYS_CREAT                  = 5083
-       SYS_LINK                   = 5084
-       SYS_UNLINK                 = 5085
-       SYS_SYMLINK                = 5086
-       SYS_READLINK               = 5087
-       SYS_CHMOD                  = 5088
-       SYS_FCHMOD                 = 5089
-       SYS_CHOWN                  = 5090
-       SYS_FCHOWN                 = 5091
-       SYS_LCHOWN                 = 5092
-       SYS_UMASK                  = 5093
-       SYS_GETTIMEOFDAY           = 5094
-       SYS_GETRLIMIT              = 5095
-       SYS_GETRUSAGE              = 5096
-       SYS_SYSINFO                = 5097
-       SYS_TIMES                  = 5098
-       SYS_PTRACE                 = 5099
-       SYS_GETUID                 = 5100
-       SYS_SYSLOG                 = 5101
-       SYS_GETGID                 = 5102
-       SYS_SETUID                 = 5103
-       SYS_SETGID                 = 5104
-       SYS_GETEUID                = 5105
-       SYS_GETEGID                = 5106
-       SYS_SETPGID                = 5107
-       SYS_GETPPID                = 5108
-       SYS_GETPGRP                = 5109
-       SYS_SETSID                 = 5110
-       SYS_SETREUID               = 5111
-       SYS_SETREGID               = 5112
-       SYS_GETGROUPS              = 5113
-       SYS_SETGROUPS              = 5114
-       SYS_SETRESUID              = 5115
-       SYS_GETRESUID              = 5116
-       SYS_SETRESGID              = 5117
-       SYS_GETRESGID              = 5118
-       SYS_GETPGID                = 5119
-       SYS_SETFSUID               = 5120
-       SYS_SETFSGID               = 5121
-       SYS_GETSID                 = 5122
-       SYS_CAPGET                 = 5123
-       SYS_CAPSET                 = 5124
-       SYS_RT_SIGPENDING          = 5125
-       SYS_RT_SIGTIMEDWAIT        = 5126
-       SYS_RT_SIGQUEUEINFO        = 5127
-       SYS_RT_SIGSUSPEND          = 5128
-       SYS_SIGALTSTACK            = 5129
-       SYS_UTIME                  = 5130
-       SYS_MKNOD                  = 5131
-       SYS_PERSONALITY            = 5132
-       SYS_USTAT                  = 5133
-       SYS_STATFS                 = 5134
-       SYS_FSTATFS                = 5135
-       SYS_SYSFS                  = 5136
-       SYS_GETPRIORITY            = 5137
-       SYS_SETPRIORITY            = 5138
-       SYS_SCHED_SETPARAM         = 5139
-       SYS_SCHED_GETPARAM         = 5140
-       SYS_SCHED_SETSCHEDULER     = 5141
-       SYS_SCHED_GETSCHEDULER     = 5142
-       SYS_SCHED_GET_PRIORITY_MAX = 5143
-       SYS_SCHED_GET_PRIORITY_MIN = 5144
-       SYS_SCHED_RR_GET_INTERVAL  = 5145
-       SYS_MLOCK                  = 5146
-       SYS_MUNLOCK                = 5147
-       SYS_MLOCKALL               = 5148
-       SYS_MUNLOCKALL             = 5149
-       SYS_VHANGUP                = 5150
-       SYS_PIVOT_ROOT             = 5151
-       SYS__SYSCTL                = 5152
-       SYS_PRCTL                  = 5153
-       SYS_ADJTIMEX               = 5154
-       SYS_SETRLIMIT              = 5155
-       SYS_CHROOT                 = 5156
-       SYS_SYNC                   = 5157
-       SYS_ACCT                   = 5158
-       SYS_SETTIMEOFDAY           = 5159
-       SYS_MOUNT                  = 5160
-       SYS_UMOUNT2                = 5161
-       SYS_SWAPON                 = 5162
-       SYS_SWAPOFF                = 5163
-       SYS_REBOOT                 = 5164
-       SYS_SETHOSTNAME            = 5165
-       SYS_SETDOMAINNAME          = 5166
-       SYS_CREATE_MODULE          = 5167
-       SYS_INIT_MODULE            = 5168
-       SYS_DELETE_MODULE          = 5169
-       SYS_GET_KERNEL_SYMS        = 5170
-       SYS_QUERY_MODULE           = 5171
-       SYS_QUOTACTL               = 5172
-       SYS_NFSSERVCTL             = 5173
-       SYS_GETPMSG                = 5174
-       SYS_PUTPMSG                = 5175
-       SYS_AFS_SYSCALL            = 5176
-       SYS_RESERVED177            = 5177
-       SYS_GETTID                 = 5178
-       SYS_READAHEAD              = 5179
-       SYS_SETXATTR               = 5180
-       SYS_LSETXATTR              = 5181
-       SYS_FSETXATTR              = 5182
-       SYS_GETXATTR               = 5183
-       SYS_LGETXATTR              = 5184
-       SYS_FGETXATTR              = 5185
-       SYS_LISTXATTR              = 5186
-       SYS_LLISTXATTR             = 5187
-       SYS_FLISTXATTR             = 5188
-       SYS_REMOVEXATTR            = 5189
-       SYS_LREMOVEXATTR           = 5190
-       SYS_FREMOVEXATTR           = 5191
-       SYS_TKILL                  = 5192
-       SYS_RESERVED193            = 5193
-       SYS_FUTEX                  = 5194
-       SYS_SCHED_SETAFFINITY      = 5195
-       SYS_SCHED_GETAFFINITY      = 5196
-       SYS_CACHEFLUSH             = 5197
-       SYS_CACHECTL               = 5198
-       SYS_SYSMIPS                = 5199
-       SYS_IO_SETUP               = 5200
-       SYS_IO_DESTROY             = 5201
-       SYS_IO_GETEVENTS           = 5202
-       SYS_IO_SUBMIT              = 5203
-       SYS_IO_CANCEL              = 5204
-       SYS_EXIT_GROUP             = 5205
-       SYS_LOOKUP_DCOOKIE         = 5206
-       SYS_EPOLL_CREATE           = 5207
-       SYS_EPOLL_CTL              = 5208
-       SYS_EPOLL_WAIT             = 5209
-       SYS_REMAP_FILE_PAGES       = 5210
-       SYS_RT_SIGRETURN           = 5211
-       SYS_SET_TID_ADDRESS        = 5212
-       SYS_RESTART_SYSCALL        = 5213
-       SYS_SEMTIMEDOP             = 5214
-       SYS_FADVISE64              = 5215
-       SYS_TIMER_CREATE           = 5216
-       SYS_TIMER_SETTIME          = 5217
-       SYS_TIMER_GETTIME          = 5218
-       SYS_TIMER_GETOVERRUN       = 5219
-       SYS_TIMER_DELETE           = 5220
-       SYS_CLOCK_SETTIME          = 5221
-       SYS_CLOCK_GETTIME          = 5222
-       SYS_CLOCK_GETRES           = 5223
-       SYS_CLOCK_NANOSLEEP        = 5224
-       SYS_TGKILL                 = 5225
-       SYS_UTIMES                 = 5226
-       SYS_MBIND                  = 5227
-       SYS_GET_MEMPOLICY          = 5228
-       SYS_SET_MEMPOLICY          = 5229
-       SYS_MQ_OPEN                = 5230
-       SYS_MQ_UNLINK              = 5231
-       SYS_MQ_TIMEDSEND           = 5232
-       SYS_MQ_TIMEDRECEIVE        = 5233
-       SYS_MQ_NOTIFY              = 5234
-       SYS_MQ_GETSETATTR          = 5235
-       SYS_VSERVER                = 5236
-       SYS_WAITID                 = 5237
-       SYS_ADD_KEY                = 5239
-       SYS_REQUEST_KEY            = 5240
-       SYS_KEYCTL                 = 5241
-       SYS_SET_THREAD_AREA        = 5242
-       SYS_INOTIFY_INIT           = 5243
-       SYS_INOTIFY_ADD_WATCH      = 5244
-       SYS_INOTIFY_RM_WATCH       = 5245
-       SYS_MIGRATE_PAGES          = 5246
-       SYS_OPENAT                 = 5247
-       SYS_MKDIRAT                = 5248
-       SYS_MKNODAT                = 5249
-       SYS_FCHOWNAT               = 5250
-       SYS_FUTIMESAT              = 5251
-       SYS_NEWFSTATAT             = 5252
-       SYS_UNLINKAT               = 5253
-       SYS_RENAMEAT               = 5254
-       SYS_LINKAT                 = 5255
-       SYS_SYMLINKAT              = 5256
-       SYS_READLINKAT             = 5257
-       SYS_FCHMODAT               = 5258
-       SYS_FACCESSAT              = 5259
-       SYS_PSELECT6               = 5260
-       SYS_PPOLL                  = 5261
-       SYS_UNSHARE                = 5262
-       SYS_SPLICE                 = 5263
-       SYS_SYNC_FILE_RANGE        = 5264
-       SYS_TEE                    = 5265
-       SYS_VMSPLICE               = 5266
-       SYS_MOVE_PAGES             = 5267
-       SYS_SET_ROBUST_LIST        = 5268
-       SYS_GET_ROBUST_LIST        = 5269
-       SYS_KEXEC_LOAD             = 5270
-       SYS_GETCPU                 = 5271
-       SYS_EPOLL_PWAIT            = 5272
-       SYS_IOPRIO_SET             = 5273
-       SYS_IOPRIO_GET             = 5274
-       SYS_UTIMENSAT              = 5275
-       SYS_SIGNALFD               = 5276
-       SYS_TIMERFD                = 5277
-       SYS_EVENTFD                = 5278
-       SYS_FALLOCATE              = 5279
-       SYS_TIMERFD_CREATE         = 5280
-       SYS_TIMERFD_GETTIME        = 5281
-       SYS_TIMERFD_SETTIME        = 5282
-       SYS_SIGNALFD4              = 5283
-       SYS_EVENTFD2               = 5284
-       SYS_EPOLL_CREATE1          = 5285
-       SYS_DUP3                   = 5286
-       SYS_PIPE2                  = 5287
-       SYS_INOTIFY_INIT1          = 5288
-       SYS_PREADV                 = 5289
-       SYS_PWRITEV                = 5290
-       SYS_RT_TGSIGQUEUEINFO      = 5291
-       SYS_PERF_EVENT_OPEN        = 5292
-       SYS_ACCEPT4                = 5293
-       SYS_RECVMMSG               = 5294
-       SYS_FANOTIFY_INIT          = 5295
-       SYS_FANOTIFY_MARK          = 5296
-       SYS_PRLIMIT64              = 5297
-       SYS_NAME_TO_HANDLE_AT      = 5298
-       SYS_OPEN_BY_HANDLE_AT      = 5299
-       SYS_CLOCK_ADJTIME          = 5300
-       SYS_SYNCFS                 = 5301
-       SYS_SENDMMSG               = 5302
-       SYS_SETNS                  = 5303
-       SYS_PROCESS_VM_READV       = 5304
-       SYS_PROCESS_VM_WRITEV      = 5305
-       SYS_KCMP                   = 5306
-       SYS_FINIT_MODULE           = 5307
-       SYS_GETDENTS64             = 5308
-       SYS_SCHED_SETATTR          = 5309
-       SYS_SCHED_GETATTR          = 5310
-       SYS_RENAMEAT2              = 5311
-       SYS_SECCOMP                = 5312
-       SYS_GETRANDOM              = 5313
-       SYS_MEMFD_CREATE           = 5314
-       SYS_BPF                    = 5315
-       SYS_EXECVEAT               = 5316
-       SYS_USERFAULTFD            = 5317
-       SYS_MEMBARRIER             = 5318
-       SYS_MLOCK2                 = 5319
-       SYS_COPY_FILE_RANGE        = 5320
-       SYS_PREADV2                = 5321
-       SYS_PWRITEV2               = 5322
-       SYS_PKEY_MPROTECT          = 5323
-       SYS_PKEY_ALLOC             = 5324
-       SYS_PKEY_FREE              = 5325
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go
deleted file mode 100644 (file)
index 82ba20f..0000000
+++ /dev/null
@@ -1,374 +0,0 @@
-// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build mipsle,linux
-
-package unix
-
-const (
-       SYS_SYSCALL                = 4000
-       SYS_EXIT                   = 4001
-       SYS_FORK                   = 4002
-       SYS_READ                   = 4003
-       SYS_WRITE                  = 4004
-       SYS_OPEN                   = 4005
-       SYS_CLOSE                  = 4006
-       SYS_WAITPID                = 4007
-       SYS_CREAT                  = 4008
-       SYS_LINK                   = 4009
-       SYS_UNLINK                 = 4010
-       SYS_EXECVE                 = 4011
-       SYS_CHDIR                  = 4012
-       SYS_TIME                   = 4013
-       SYS_MKNOD                  = 4014
-       SYS_CHMOD                  = 4015
-       SYS_LCHOWN                 = 4016
-       SYS_BREAK                  = 4017
-       SYS_UNUSED18               = 4018
-       SYS_LSEEK                  = 4019
-       SYS_GETPID                 = 4020
-       SYS_MOUNT                  = 4021
-       SYS_UMOUNT                 = 4022
-       SYS_SETUID                 = 4023
-       SYS_GETUID                 = 4024
-       SYS_STIME                  = 4025
-       SYS_PTRACE                 = 4026
-       SYS_ALARM                  = 4027
-       SYS_UNUSED28               = 4028
-       SYS_PAUSE                  = 4029
-       SYS_UTIME                  = 4030
-       SYS_STTY                   = 4031
-       SYS_GTTY                   = 4032
-       SYS_ACCESS                 = 4033
-       SYS_NICE                   = 4034
-       SYS_FTIME                  = 4035
-       SYS_SYNC                   = 4036
-       SYS_KILL                   = 4037
-       SYS_RENAME                 = 4038
-       SYS_MKDIR                  = 4039
-       SYS_RMDIR                  = 4040
-       SYS_DUP                    = 4041
-       SYS_PIPE                   = 4042
-       SYS_TIMES                  = 4043
-       SYS_PROF                   = 4044
-       SYS_BRK                    = 4045
-       SYS_SETGID                 = 4046
-       SYS_GETGID                 = 4047
-       SYS_SIGNAL                 = 4048
-       SYS_GETEUID                = 4049
-       SYS_GETEGID                = 4050
-       SYS_ACCT                   = 4051
-       SYS_UMOUNT2                = 4052
-       SYS_LOCK                   = 4053
-       SYS_IOCTL                  = 4054
-       SYS_FCNTL                  = 4055
-       SYS_MPX                    = 4056
-       SYS_SETPGID                = 4057
-       SYS_ULIMIT                 = 4058
-       SYS_UNUSED59               = 4059
-       SYS_UMASK                  = 4060
-       SYS_CHROOT                 = 4061
-       SYS_USTAT                  = 4062
-       SYS_DUP2                   = 4063
-       SYS_GETPPID                = 4064
-       SYS_GETPGRP                = 4065
-       SYS_SETSID                 = 4066
-       SYS_SIGACTION              = 4067
-       SYS_SGETMASK               = 4068
-       SYS_SSETMASK               = 4069
-       SYS_SETREUID               = 4070
-       SYS_SETREGID               = 4071
-       SYS_SIGSUSPEND             = 4072
-       SYS_SIGPENDING             = 4073
-       SYS_SETHOSTNAME            = 4074
-       SYS_SETRLIMIT              = 4075
-       SYS_GETRLIMIT              = 4076
-       SYS_GETRUSAGE              = 4077
-       SYS_GETTIMEOFDAY           = 4078
-       SYS_SETTIMEOFDAY           = 4079
-       SYS_GETGROUPS              = 4080
-       SYS_SETGROUPS              = 4081
-       SYS_RESERVED82             = 4082
-       SYS_SYMLINK                = 4083
-       SYS_UNUSED84               = 4084
-       SYS_READLINK               = 4085
-       SYS_USELIB                 = 4086
-       SYS_SWAPON                 = 4087
-       SYS_REBOOT                 = 4088
-       SYS_READDIR                = 4089
-       SYS_MMAP                   = 4090
-       SYS_MUNMAP                 = 4091
-       SYS_TRUNCATE               = 4092
-       SYS_FTRUNCATE              = 4093
-       SYS_FCHMOD                 = 4094
-       SYS_FCHOWN                 = 4095
-       SYS_GETPRIORITY            = 4096
-       SYS_SETPRIORITY            = 4097
-       SYS_PROFIL                 = 4098
-       SYS_STATFS                 = 4099
-       SYS_FSTATFS                = 4100
-       SYS_IOPERM                 = 4101
-       SYS_SOCKETCALL             = 4102
-       SYS_SYSLOG                 = 4103
-       SYS_SETITIMER              = 4104
-       SYS_GETITIMER              = 4105
-       SYS_STAT                   = 4106
-       SYS_LSTAT                  = 4107
-       SYS_FSTAT                  = 4108
-       SYS_UNUSED109              = 4109
-       SYS_IOPL                   = 4110
-       SYS_VHANGUP                = 4111
-       SYS_IDLE                   = 4112
-       SYS_VM86                   = 4113
-       SYS_WAIT4                  = 4114
-       SYS_SWAPOFF                = 4115
-       SYS_SYSINFO                = 4116
-       SYS_IPC                    = 4117
-       SYS_FSYNC                  = 4118
-       SYS_SIGRETURN              = 4119
-       SYS_CLONE                  = 4120
-       SYS_SETDOMAINNAME          = 4121
-       SYS_UNAME                  = 4122
-       SYS_MODIFY_LDT             = 4123
-       SYS_ADJTIMEX               = 4124
-       SYS_MPROTECT               = 4125
-       SYS_SIGPROCMASK            = 4126
-       SYS_CREATE_MODULE          = 4127
-       SYS_INIT_MODULE            = 4128
-       SYS_DELETE_MODULE          = 4129
-       SYS_GET_KERNEL_SYMS        = 4130
-       SYS_QUOTACTL               = 4131
-       SYS_GETPGID                = 4132
-       SYS_FCHDIR                 = 4133
-       SYS_BDFLUSH                = 4134
-       SYS_SYSFS                  = 4135
-       SYS_PERSONALITY            = 4136
-       SYS_AFS_SYSCALL            = 4137
-       SYS_SETFSUID               = 4138
-       SYS_SETFSGID               = 4139
-       SYS__LLSEEK                = 4140
-       SYS_GETDENTS               = 4141
-       SYS__NEWSELECT             = 4142
-       SYS_FLOCK                  = 4143
-       SYS_MSYNC                  = 4144
-       SYS_READV                  = 4145
-       SYS_WRITEV                 = 4146
-       SYS_CACHEFLUSH             = 4147
-       SYS_CACHECTL               = 4148
-       SYS_SYSMIPS                = 4149
-       SYS_UNUSED150              = 4150
-       SYS_GETSID                 = 4151
-       SYS_FDATASYNC              = 4152
-       SYS__SYSCTL                = 4153
-       SYS_MLOCK                  = 4154
-       SYS_MUNLOCK                = 4155
-       SYS_MLOCKALL               = 4156
-       SYS_MUNLOCKALL             = 4157
-       SYS_SCHED_SETPARAM         = 4158
-       SYS_SCHED_GETPARAM         = 4159
-       SYS_SCHED_SETSCHEDULER     = 4160
-       SYS_SCHED_GETSCHEDULER     = 4161
-       SYS_SCHED_YIELD            = 4162
-       SYS_SCHED_GET_PRIORITY_MAX = 4163
-       SYS_SCHED_GET_PRIORITY_MIN = 4164
-       SYS_SCHED_RR_GET_INTERVAL  = 4165
-       SYS_NANOSLEEP              = 4166
-       SYS_MREMAP                 = 4167
-       SYS_ACCEPT                 = 4168
-       SYS_BIND                   = 4169
-       SYS_CONNECT                = 4170
-       SYS_GETPEERNAME            = 4171
-       SYS_GETSOCKNAME            = 4172
-       SYS_GETSOCKOPT             = 4173
-       SYS_LISTEN                 = 4174
-       SYS_RECV                   = 4175
-       SYS_RECVFROM               = 4176
-       SYS_RECVMSG                = 4177
-       SYS_SEND                   = 4178
-       SYS_SENDMSG                = 4179
-       SYS_SENDTO                 = 4180
-       SYS_SETSOCKOPT             = 4181
-       SYS_SHUTDOWN               = 4182
-       SYS_SOCKET                 = 4183
-       SYS_SOCKETPAIR             = 4184
-       SYS_SETRESUID              = 4185
-       SYS_GETRESUID              = 4186
-       SYS_QUERY_MODULE           = 4187
-       SYS_POLL                   = 4188
-       SYS_NFSSERVCTL             = 4189
-       SYS_SETRESGID              = 4190
-       SYS_GETRESGID              = 4191
-       SYS_PRCTL                  = 4192
-       SYS_RT_SIGRETURN           = 4193
-       SYS_RT_SIGACTION           = 4194
-       SYS_RT_SIGPROCMASK         = 4195
-       SYS_RT_SIGPENDING          = 4196
-       SYS_RT_SIGTIMEDWAIT        = 4197
-       SYS_RT_SIGQUEUEINFO        = 4198
-       SYS_RT_SIGSUSPEND          = 4199
-       SYS_PREAD64                = 4200
-       SYS_PWRITE64               = 4201
-       SYS_CHOWN                  = 4202
-       SYS_GETCWD                 = 4203
-       SYS_CAPGET                 = 4204
-       SYS_CAPSET                 = 4205
-       SYS_SIGALTSTACK            = 4206
-       SYS_SENDFILE               = 4207
-       SYS_GETPMSG                = 4208
-       SYS_PUTPMSG                = 4209
-       SYS_MMAP2                  = 4210
-       SYS_TRUNCATE64             = 4211
-       SYS_FTRUNCATE64            = 4212
-       SYS_STAT64                 = 4213
-       SYS_LSTAT64                = 4214
-       SYS_FSTAT64                = 4215
-       SYS_PIVOT_ROOT             = 4216
-       SYS_MINCORE                = 4217
-       SYS_MADVISE                = 4218
-       SYS_GETDENTS64             = 4219
-       SYS_FCNTL64                = 4220
-       SYS_RESERVED221            = 4221
-       SYS_GETTID                 = 4222
-       SYS_READAHEAD              = 4223
-       SYS_SETXATTR               = 4224
-       SYS_LSETXATTR              = 4225
-       SYS_FSETXATTR              = 4226
-       SYS_GETXATTR               = 4227
-       SYS_LGETXATTR              = 4228
-       SYS_FGETXATTR              = 4229
-       SYS_LISTXATTR              = 4230
-       SYS_LLISTXATTR             = 4231
-       SYS_FLISTXATTR             = 4232
-       SYS_REMOVEXATTR            = 4233
-       SYS_LREMOVEXATTR           = 4234
-       SYS_FREMOVEXATTR           = 4235
-       SYS_TKILL                  = 4236
-       SYS_SENDFILE64             = 4237
-       SYS_FUTEX                  = 4238
-       SYS_SCHED_SETAFFINITY      = 4239
-       SYS_SCHED_GETAFFINITY      = 4240
-       SYS_IO_SETUP               = 4241
-       SYS_IO_DESTROY             = 4242
-       SYS_IO_GETEVENTS           = 4243
-       SYS_IO_SUBMIT              = 4244
-       SYS_IO_CANCEL              = 4245
-       SYS_EXIT_GROUP             = 4246
-       SYS_LOOKUP_DCOOKIE         = 4247
-       SYS_EPOLL_CREATE           = 4248
-       SYS_EPOLL_CTL              = 4249
-       SYS_EPOLL_WAIT             = 4250
-       SYS_REMAP_FILE_PAGES       = 4251
-       SYS_SET_TID_ADDRESS        = 4252
-       SYS_RESTART_SYSCALL        = 4253
-       SYS_FADVISE64              = 4254
-       SYS_STATFS64               = 4255
-       SYS_FSTATFS64              = 4256
-       SYS_TIMER_CREATE           = 4257
-       SYS_TIMER_SETTIME          = 4258
-       SYS_TIMER_GETTIME          = 4259
-       SYS_TIMER_GETOVERRUN       = 4260
-       SYS_TIMER_DELETE           = 4261
-       SYS_CLOCK_SETTIME          = 4262
-       SYS_CLOCK_GETTIME          = 4263
-       SYS_CLOCK_GETRES           = 4264
-       SYS_CLOCK_NANOSLEEP        = 4265
-       SYS_TGKILL                 = 4266
-       SYS_UTIMES                 = 4267
-       SYS_MBIND                  = 4268
-       SYS_GET_MEMPOLICY          = 4269
-       SYS_SET_MEMPOLICY          = 4270
-       SYS_MQ_OPEN                = 4271
-       SYS_MQ_UNLINK              = 4272
-       SYS_MQ_TIMEDSEND           = 4273
-       SYS_MQ_TIMEDRECEIVE        = 4274
-       SYS_MQ_NOTIFY              = 4275
-       SYS_MQ_GETSETATTR          = 4276
-       SYS_VSERVER                = 4277
-       SYS_WAITID                 = 4278
-       SYS_ADD_KEY                = 4280
-       SYS_REQUEST_KEY            = 4281
-       SYS_KEYCTL                 = 4282
-       SYS_SET_THREAD_AREA        = 4283
-       SYS_INOTIFY_INIT           = 4284
-       SYS_INOTIFY_ADD_WATCH      = 4285
-       SYS_INOTIFY_RM_WATCH       = 4286
-       SYS_MIGRATE_PAGES          = 4287
-       SYS_OPENAT                 = 4288
-       SYS_MKDIRAT                = 4289
-       SYS_MKNODAT                = 4290
-       SYS_FCHOWNAT               = 4291
-       SYS_FUTIMESAT              = 4292
-       SYS_FSTATAT64              = 4293
-       SYS_UNLINKAT               = 4294
-       SYS_RENAMEAT               = 4295
-       SYS_LINKAT                 = 4296
-       SYS_SYMLINKAT              = 4297
-       SYS_READLINKAT             = 4298
-       SYS_FCHMODAT               = 4299
-       SYS_FACCESSAT              = 4300
-       SYS_PSELECT6               = 4301
-       SYS_PPOLL                  = 4302
-       SYS_UNSHARE                = 4303
-       SYS_SPLICE                 = 4304
-       SYS_SYNC_FILE_RANGE        = 4305
-       SYS_TEE                    = 4306
-       SYS_VMSPLICE               = 4307
-       SYS_MOVE_PAGES             = 4308
-       SYS_SET_ROBUST_LIST        = 4309
-       SYS_GET_ROBUST_LIST        = 4310
-       SYS_KEXEC_LOAD             = 4311
-       SYS_GETCPU                 = 4312
-       SYS_EPOLL_PWAIT            = 4313
-       SYS_IOPRIO_SET             = 4314
-       SYS_IOPRIO_GET             = 4315
-       SYS_UTIMENSAT              = 4316
-       SYS_SIGNALFD               = 4317
-       SYS_TIMERFD                = 4318
-       SYS_EVENTFD                = 4319
-       SYS_FALLOCATE              = 4320
-       SYS_TIMERFD_CREATE         = 4321
-       SYS_TIMERFD_GETTIME        = 4322
-       SYS_TIMERFD_SETTIME        = 4323
-       SYS_SIGNALFD4              = 4324
-       SYS_EVENTFD2               = 4325
-       SYS_EPOLL_CREATE1          = 4326
-       SYS_DUP3                   = 4327
-       SYS_PIPE2                  = 4328
-       SYS_INOTIFY_INIT1          = 4329
-       SYS_PREADV                 = 4330
-       SYS_PWRITEV                = 4331
-       SYS_RT_TGSIGQUEUEINFO      = 4332
-       SYS_PERF_EVENT_OPEN        = 4333
-       SYS_ACCEPT4                = 4334
-       SYS_RECVMMSG               = 4335
-       SYS_FANOTIFY_INIT          = 4336
-       SYS_FANOTIFY_MARK          = 4337
-       SYS_PRLIMIT64              = 4338
-       SYS_NAME_TO_HANDLE_AT      = 4339
-       SYS_OPEN_BY_HANDLE_AT      = 4340
-       SYS_CLOCK_ADJTIME          = 4341
-       SYS_SYNCFS                 = 4342
-       SYS_SENDMMSG               = 4343
-       SYS_SETNS                  = 4344
-       SYS_PROCESS_VM_READV       = 4345
-       SYS_PROCESS_VM_WRITEV      = 4346
-       SYS_KCMP                   = 4347
-       SYS_FINIT_MODULE           = 4348
-       SYS_SCHED_SETATTR          = 4349
-       SYS_SCHED_GETATTR          = 4350
-       SYS_RENAMEAT2              = 4351
-       SYS_SECCOMP                = 4352
-       SYS_GETRANDOM              = 4353
-       SYS_MEMFD_CREATE           = 4354
-       SYS_BPF                    = 4355
-       SYS_EXECVEAT               = 4356
-       SYS_USERFAULTFD            = 4357
-       SYS_MEMBARRIER             = 4358
-       SYS_MLOCK2                 = 4359
-       SYS_COPY_FILE_RANGE        = 4360
-       SYS_PREADV2                = 4361
-       SYS_PWRITEV2               = 4362
-       SYS_PKEY_MPROTECT          = 4363
-       SYS_PKEY_ALLOC             = 4364
-       SYS_PKEY_FREE              = 4365
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go
deleted file mode 100644 (file)
index 8944448..0000000
+++ /dev/null
@@ -1,369 +0,0 @@
-// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build ppc64,linux
-
-package unix
-
-const (
-       SYS_RESTART_SYSCALL        = 0
-       SYS_EXIT                   = 1
-       SYS_FORK                   = 2
-       SYS_READ                   = 3
-       SYS_WRITE                  = 4
-       SYS_OPEN                   = 5
-       SYS_CLOSE                  = 6
-       SYS_WAITPID                = 7
-       SYS_CREAT                  = 8
-       SYS_LINK                   = 9
-       SYS_UNLINK                 = 10
-       SYS_EXECVE                 = 11
-       SYS_CHDIR                  = 12
-       SYS_TIME                   = 13
-       SYS_MKNOD                  = 14
-       SYS_CHMOD                  = 15
-       SYS_LCHOWN                 = 16
-       SYS_BREAK                  = 17
-       SYS_OLDSTAT                = 18
-       SYS_LSEEK                  = 19
-       SYS_GETPID                 = 20
-       SYS_MOUNT                  = 21
-       SYS_UMOUNT                 = 22
-       SYS_SETUID                 = 23
-       SYS_GETUID                 = 24
-       SYS_STIME                  = 25
-       SYS_PTRACE                 = 26
-       SYS_ALARM                  = 27
-       SYS_OLDFSTAT               = 28
-       SYS_PAUSE                  = 29
-       SYS_UTIME                  = 30
-       SYS_STTY                   = 31
-       SYS_GTTY                   = 32
-       SYS_ACCESS                 = 33
-       SYS_NICE                   = 34
-       SYS_FTIME                  = 35
-       SYS_SYNC                   = 36
-       SYS_KILL                   = 37
-       SYS_RENAME                 = 38
-       SYS_MKDIR                  = 39
-       SYS_RMDIR                  = 40
-       SYS_DUP                    = 41
-       SYS_PIPE                   = 42
-       SYS_TIMES                  = 43
-       SYS_PROF                   = 44
-       SYS_BRK                    = 45
-       SYS_SETGID                 = 46
-       SYS_GETGID                 = 47
-       SYS_SIGNAL                 = 48
-       SYS_GETEUID                = 49
-       SYS_GETEGID                = 50
-       SYS_ACCT                   = 51
-       SYS_UMOUNT2                = 52
-       SYS_LOCK                   = 53
-       SYS_IOCTL                  = 54
-       SYS_FCNTL                  = 55
-       SYS_MPX                    = 56
-       SYS_SETPGID                = 57
-       SYS_ULIMIT                 = 58
-       SYS_OLDOLDUNAME            = 59
-       SYS_UMASK                  = 60
-       SYS_CHROOT                 = 61
-       SYS_USTAT                  = 62
-       SYS_DUP2                   = 63
-       SYS_GETPPID                = 64
-       SYS_GETPGRP                = 65
-       SYS_SETSID                 = 66
-       SYS_SIGACTION              = 67
-       SYS_SGETMASK               = 68
-       SYS_SSETMASK               = 69
-       SYS_SETREUID               = 70
-       SYS_SETREGID               = 71
-       SYS_SIGSUSPEND             = 72
-       SYS_SIGPENDING             = 73
-       SYS_SETHOSTNAME            = 74
-       SYS_SETRLIMIT              = 75
-       SYS_GETRLIMIT              = 76
-       SYS_GETRUSAGE              = 77
-       SYS_GETTIMEOFDAY           = 78
-       SYS_SETTIMEOFDAY           = 79
-       SYS_GETGROUPS              = 80
-       SYS_SETGROUPS              = 81
-       SYS_SELECT                 = 82
-       SYS_SYMLINK                = 83
-       SYS_OLDLSTAT               = 84
-       SYS_READLINK               = 85
-       SYS_USELIB                 = 86
-       SYS_SWAPON                 = 87
-       SYS_REBOOT                 = 88
-       SYS_READDIR                = 89
-       SYS_MMAP                   = 90
-       SYS_MUNMAP                 = 91
-       SYS_TRUNCATE               = 92
-       SYS_FTRUNCATE              = 93
-       SYS_FCHMOD                 = 94
-       SYS_FCHOWN                 = 95
-       SYS_GETPRIORITY            = 96
-       SYS_SETPRIORITY            = 97
-       SYS_PROFIL                 = 98
-       SYS_STATFS                 = 99
-       SYS_FSTATFS                = 100
-       SYS_IOPERM                 = 101
-       SYS_SOCKETCALL             = 102
-       SYS_SYSLOG                 = 103
-       SYS_SETITIMER              = 104
-       SYS_GETITIMER              = 105
-       SYS_STAT                   = 106
-       SYS_LSTAT                  = 107
-       SYS_FSTAT                  = 108
-       SYS_OLDUNAME               = 109
-       SYS_IOPL                   = 110
-       SYS_VHANGUP                = 111
-       SYS_IDLE                   = 112
-       SYS_VM86                   = 113
-       SYS_WAIT4                  = 114
-       SYS_SWAPOFF                = 115
-       SYS_SYSINFO                = 116
-       SYS_IPC                    = 117
-       SYS_FSYNC                  = 118
-       SYS_SIGRETURN              = 119
-       SYS_CLONE                  = 120
-       SYS_SETDOMAINNAME          = 121
-       SYS_UNAME                  = 122
-       SYS_MODIFY_LDT             = 123
-       SYS_ADJTIMEX               = 124
-       SYS_MPROTECT               = 125
-       SYS_SIGPROCMASK            = 126
-       SYS_CREATE_MODULE          = 127
-       SYS_INIT_MODULE            = 128
-       SYS_DELETE_MODULE          = 129
-       SYS_GET_KERNEL_SYMS        = 130
-       SYS_QUOTACTL               = 131
-       SYS_GETPGID                = 132
-       SYS_FCHDIR                 = 133
-       SYS_BDFLUSH                = 134
-       SYS_SYSFS                  = 135
-       SYS_PERSONALITY            = 136
-       SYS_AFS_SYSCALL            = 137
-       SYS_SETFSUID               = 138
-       SYS_SETFSGID               = 139
-       SYS__LLSEEK                = 140
-       SYS_GETDENTS               = 141
-       SYS__NEWSELECT             = 142
-       SYS_FLOCK                  = 143
-       SYS_MSYNC                  = 144
-       SYS_READV                  = 145
-       SYS_WRITEV                 = 146
-       SYS_GETSID                 = 147
-       SYS_FDATASYNC              = 148
-       SYS__SYSCTL                = 149
-       SYS_MLOCK                  = 150
-       SYS_MUNLOCK                = 151
-       SYS_MLOCKALL               = 152
-       SYS_MUNLOCKALL             = 153
-       SYS_SCHED_SETPARAM         = 154
-       SYS_SCHED_GETPARAM         = 155
-       SYS_SCHED_SETSCHEDULER     = 156
-       SYS_SCHED_GETSCHEDULER     = 157
-       SYS_SCHED_YIELD            = 158
-       SYS_SCHED_GET_PRIORITY_MAX = 159
-       SYS_SCHED_GET_PRIORITY_MIN = 160
-       SYS_SCHED_RR_GET_INTERVAL  = 161
-       SYS_NANOSLEEP              = 162
-       SYS_MREMAP                 = 163
-       SYS_SETRESUID              = 164
-       SYS_GETRESUID              = 165
-       SYS_QUERY_MODULE           = 166
-       SYS_POLL                   = 167
-       SYS_NFSSERVCTL             = 168
-       SYS_SETRESGID              = 169
-       SYS_GETRESGID              = 170
-       SYS_PRCTL                  = 171
-       SYS_RT_SIGRETURN           = 172
-       SYS_RT_SIGACTION           = 173
-       SYS_RT_SIGPROCMASK         = 174
-       SYS_RT_SIGPENDING          = 175
-       SYS_RT_SIGTIMEDWAIT        = 176
-       SYS_RT_SIGQUEUEINFO        = 177
-       SYS_RT_SIGSUSPEND          = 178
-       SYS_PREAD64                = 179
-       SYS_PWRITE64               = 180
-       SYS_CHOWN                  = 181
-       SYS_GETCWD                 = 182
-       SYS_CAPGET                 = 183
-       SYS_CAPSET                 = 184
-       SYS_SIGALTSTACK            = 185
-       SYS_SENDFILE               = 186
-       SYS_GETPMSG                = 187
-       SYS_PUTPMSG                = 188
-       SYS_VFORK                  = 189
-       SYS_UGETRLIMIT             = 190
-       SYS_READAHEAD              = 191
-       SYS_PCICONFIG_READ         = 198
-       SYS_PCICONFIG_WRITE        = 199
-       SYS_PCICONFIG_IOBASE       = 200
-       SYS_MULTIPLEXER            = 201
-       SYS_GETDENTS64             = 202
-       SYS_PIVOT_ROOT             = 203
-       SYS_MADVISE                = 205
-       SYS_MINCORE                = 206
-       SYS_GETTID                 = 207
-       SYS_TKILL                  = 208
-       SYS_SETXATTR               = 209
-       SYS_LSETXATTR              = 210
-       SYS_FSETXATTR              = 211
-       SYS_GETXATTR               = 212
-       SYS_LGETXATTR              = 213
-       SYS_FGETXATTR              = 214
-       SYS_LISTXATTR              = 215
-       SYS_LLISTXATTR             = 216
-       SYS_FLISTXATTR             = 217
-       SYS_REMOVEXATTR            = 218
-       SYS_LREMOVEXATTR           = 219
-       SYS_FREMOVEXATTR           = 220
-       SYS_FUTEX                  = 221
-       SYS_SCHED_SETAFFINITY      = 222
-       SYS_SCHED_GETAFFINITY      = 223
-       SYS_TUXCALL                = 225
-       SYS_IO_SETUP               = 227
-       SYS_IO_DESTROY             = 228
-       SYS_IO_GETEVENTS           = 229
-       SYS_IO_SUBMIT              = 230
-       SYS_IO_CANCEL              = 231
-       SYS_SET_TID_ADDRESS        = 232
-       SYS_FADVISE64              = 233
-       SYS_EXIT_GROUP             = 234
-       SYS_LOOKUP_DCOOKIE         = 235
-       SYS_EPOLL_CREATE           = 236
-       SYS_EPOLL_CTL              = 237
-       SYS_EPOLL_WAIT             = 238
-       SYS_REMAP_FILE_PAGES       = 239
-       SYS_TIMER_CREATE           = 240
-       SYS_TIMER_SETTIME          = 241
-       SYS_TIMER_GETTIME          = 242
-       SYS_TIMER_GETOVERRUN       = 243
-       SYS_TIMER_DELETE           = 244
-       SYS_CLOCK_SETTIME          = 245
-       SYS_CLOCK_GETTIME          = 246
-       SYS_CLOCK_GETRES           = 247
-       SYS_CLOCK_NANOSLEEP        = 248
-       SYS_SWAPCONTEXT            = 249
-       SYS_TGKILL                 = 250
-       SYS_UTIMES                 = 251
-       SYS_STATFS64               = 252
-       SYS_FSTATFS64              = 253
-       SYS_RTAS                   = 255
-       SYS_SYS_DEBUG_SETCONTEXT   = 256
-       SYS_MIGRATE_PAGES          = 258
-       SYS_MBIND                  = 259
-       SYS_GET_MEMPOLICY          = 260
-       SYS_SET_MEMPOLICY          = 261
-       SYS_MQ_OPEN                = 262
-       SYS_MQ_UNLINK              = 263
-       SYS_MQ_TIMEDSEND           = 264
-       SYS_MQ_TIMEDRECEIVE        = 265
-       SYS_MQ_NOTIFY              = 266
-       SYS_MQ_GETSETATTR          = 267
-       SYS_KEXEC_LOAD             = 268
-       SYS_ADD_KEY                = 269
-       SYS_REQUEST_KEY            = 270
-       SYS_KEYCTL                 = 271
-       SYS_WAITID                 = 272
-       SYS_IOPRIO_SET             = 273
-       SYS_IOPRIO_GET             = 274
-       SYS_INOTIFY_INIT           = 275
-       SYS_INOTIFY_ADD_WATCH      = 276
-       SYS_INOTIFY_RM_WATCH       = 277
-       SYS_SPU_RUN                = 278
-       SYS_SPU_CREATE             = 279
-       SYS_PSELECT6               = 280
-       SYS_PPOLL                  = 281
-       SYS_UNSHARE                = 282
-       SYS_SPLICE                 = 283
-       SYS_TEE                    = 284
-       SYS_VMSPLICE               = 285
-       SYS_OPENAT                 = 286
-       SYS_MKDIRAT                = 287
-       SYS_MKNODAT                = 288
-       SYS_FCHOWNAT               = 289
-       SYS_FUTIMESAT              = 290
-       SYS_NEWFSTATAT             = 291
-       SYS_UNLINKAT               = 292
-       SYS_RENAMEAT               = 293
-       SYS_LINKAT                 = 294
-       SYS_SYMLINKAT              = 295
-       SYS_READLINKAT             = 296
-       SYS_FCHMODAT               = 297
-       SYS_FACCESSAT              = 298
-       SYS_GET_ROBUST_LIST        = 299
-       SYS_SET_ROBUST_LIST        = 300
-       SYS_MOVE_PAGES             = 301
-       SYS_GETCPU                 = 302
-       SYS_EPOLL_PWAIT            = 303
-       SYS_UTIMENSAT              = 304
-       SYS_SIGNALFD               = 305
-       SYS_TIMERFD_CREATE         = 306
-       SYS_EVENTFD                = 307
-       SYS_SYNC_FILE_RANGE2       = 308
-       SYS_FALLOCATE              = 309
-       SYS_SUBPAGE_PROT           = 310
-       SYS_TIMERFD_SETTIME        = 311
-       SYS_TIMERFD_GETTIME        = 312
-       SYS_SIGNALFD4              = 313
-       SYS_EVENTFD2               = 314
-       SYS_EPOLL_CREATE1          = 315
-       SYS_DUP3                   = 316
-       SYS_PIPE2                  = 317
-       SYS_INOTIFY_INIT1          = 318
-       SYS_PERF_EVENT_OPEN        = 319
-       SYS_PREADV                 = 320
-       SYS_PWRITEV                = 321
-       SYS_RT_TGSIGQUEUEINFO      = 322
-       SYS_FANOTIFY_INIT          = 323
-       SYS_FANOTIFY_MARK          = 324
-       SYS_PRLIMIT64              = 325
-       SYS_SOCKET                 = 326
-       SYS_BIND                   = 327
-       SYS_CONNECT                = 328
-       SYS_LISTEN                 = 329
-       SYS_ACCEPT                 = 330
-       SYS_GETSOCKNAME            = 331
-       SYS_GETPEERNAME            = 332
-       SYS_SOCKETPAIR             = 333
-       SYS_SEND                   = 334
-       SYS_SENDTO                 = 335
-       SYS_RECV                   = 336
-       SYS_RECVFROM               = 337
-       SYS_SHUTDOWN               = 338
-       SYS_SETSOCKOPT             = 339
-       SYS_GETSOCKOPT             = 340
-       SYS_SENDMSG                = 341
-       SYS_RECVMSG                = 342
-       SYS_RECVMMSG               = 343
-       SYS_ACCEPT4                = 344
-       SYS_NAME_TO_HANDLE_AT      = 345
-       SYS_OPEN_BY_HANDLE_AT      = 346
-       SYS_CLOCK_ADJTIME          = 347
-       SYS_SYNCFS                 = 348
-       SYS_SENDMMSG               = 349
-       SYS_SETNS                  = 350
-       SYS_PROCESS_VM_READV       = 351
-       SYS_PROCESS_VM_WRITEV      = 352
-       SYS_FINIT_MODULE           = 353
-       SYS_KCMP                   = 354
-       SYS_SCHED_SETATTR          = 355
-       SYS_SCHED_GETATTR          = 356
-       SYS_RENAMEAT2              = 357
-       SYS_SECCOMP                = 358
-       SYS_GETRANDOM              = 359
-       SYS_MEMFD_CREATE           = 360
-       SYS_BPF                    = 361
-       SYS_EXECVEAT               = 362
-       SYS_SWITCH_ENDIAN          = 363
-       SYS_USERFAULTFD            = 364
-       SYS_MEMBARRIER             = 365
-       SYS_MLOCK2                 = 378
-       SYS_COPY_FILE_RANGE        = 379
-       SYS_PREADV2                = 380
-       SYS_PWRITEV2               = 381
-       SYS_KEXEC_FILE_LOAD        = 382
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go
deleted file mode 100644 (file)
index 90a039b..0000000
+++ /dev/null
@@ -1,369 +0,0 @@
-// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build ppc64le,linux
-
-package unix
-
-const (
-       SYS_RESTART_SYSCALL        = 0
-       SYS_EXIT                   = 1
-       SYS_FORK                   = 2
-       SYS_READ                   = 3
-       SYS_WRITE                  = 4
-       SYS_OPEN                   = 5
-       SYS_CLOSE                  = 6
-       SYS_WAITPID                = 7
-       SYS_CREAT                  = 8
-       SYS_LINK                   = 9
-       SYS_UNLINK                 = 10
-       SYS_EXECVE                 = 11
-       SYS_CHDIR                  = 12
-       SYS_TIME                   = 13
-       SYS_MKNOD                  = 14
-       SYS_CHMOD                  = 15
-       SYS_LCHOWN                 = 16
-       SYS_BREAK                  = 17
-       SYS_OLDSTAT                = 18
-       SYS_LSEEK                  = 19
-       SYS_GETPID                 = 20
-       SYS_MOUNT                  = 21
-       SYS_UMOUNT                 = 22
-       SYS_SETUID                 = 23
-       SYS_GETUID                 = 24
-       SYS_STIME                  = 25
-       SYS_PTRACE                 = 26
-       SYS_ALARM                  = 27
-       SYS_OLDFSTAT               = 28
-       SYS_PAUSE                  = 29
-       SYS_UTIME                  = 30
-       SYS_STTY                   = 31
-       SYS_GTTY                   = 32
-       SYS_ACCESS                 = 33
-       SYS_NICE                   = 34
-       SYS_FTIME                  = 35
-       SYS_SYNC                   = 36
-       SYS_KILL                   = 37
-       SYS_RENAME                 = 38
-       SYS_MKDIR                  = 39
-       SYS_RMDIR                  = 40
-       SYS_DUP                    = 41
-       SYS_PIPE                   = 42
-       SYS_TIMES                  = 43
-       SYS_PROF                   = 44
-       SYS_BRK                    = 45
-       SYS_SETGID                 = 46
-       SYS_GETGID                 = 47
-       SYS_SIGNAL                 = 48
-       SYS_GETEUID                = 49
-       SYS_GETEGID                = 50
-       SYS_ACCT                   = 51
-       SYS_UMOUNT2                = 52
-       SYS_LOCK                   = 53
-       SYS_IOCTL                  = 54
-       SYS_FCNTL                  = 55
-       SYS_MPX                    = 56
-       SYS_SETPGID                = 57
-       SYS_ULIMIT                 = 58
-       SYS_OLDOLDUNAME            = 59
-       SYS_UMASK                  = 60
-       SYS_CHROOT                 = 61
-       SYS_USTAT                  = 62
-       SYS_DUP2                   = 63
-       SYS_GETPPID                = 64
-       SYS_GETPGRP                = 65
-       SYS_SETSID                 = 66
-       SYS_SIGACTION              = 67
-       SYS_SGETMASK               = 68
-       SYS_SSETMASK               = 69
-       SYS_SETREUID               = 70
-       SYS_SETREGID               = 71
-       SYS_SIGSUSPEND             = 72
-       SYS_SIGPENDING             = 73
-       SYS_SETHOSTNAME            = 74
-       SYS_SETRLIMIT              = 75
-       SYS_GETRLIMIT              = 76
-       SYS_GETRUSAGE              = 77
-       SYS_GETTIMEOFDAY           = 78
-       SYS_SETTIMEOFDAY           = 79
-       SYS_GETGROUPS              = 80
-       SYS_SETGROUPS              = 81
-       SYS_SELECT                 = 82
-       SYS_SYMLINK                = 83
-       SYS_OLDLSTAT               = 84
-       SYS_READLINK               = 85
-       SYS_USELIB                 = 86
-       SYS_SWAPON                 = 87
-       SYS_REBOOT                 = 88
-       SYS_READDIR                = 89
-       SYS_MMAP                   = 90
-       SYS_MUNMAP                 = 91
-       SYS_TRUNCATE               = 92
-       SYS_FTRUNCATE              = 93
-       SYS_FCHMOD                 = 94
-       SYS_FCHOWN                 = 95
-       SYS_GETPRIORITY            = 96
-       SYS_SETPRIORITY            = 97
-       SYS_PROFIL                 = 98
-       SYS_STATFS                 = 99
-       SYS_FSTATFS                = 100
-       SYS_IOPERM                 = 101
-       SYS_SOCKETCALL             = 102
-       SYS_SYSLOG                 = 103
-       SYS_SETITIMER              = 104
-       SYS_GETITIMER              = 105
-       SYS_STAT                   = 106
-       SYS_LSTAT                  = 107
-       SYS_FSTAT                  = 108
-       SYS_OLDUNAME               = 109
-       SYS_IOPL                   = 110
-       SYS_VHANGUP                = 111
-       SYS_IDLE                   = 112
-       SYS_VM86                   = 113
-       SYS_WAIT4                  = 114
-       SYS_SWAPOFF                = 115
-       SYS_SYSINFO                = 116
-       SYS_IPC                    = 117
-       SYS_FSYNC                  = 118
-       SYS_SIGRETURN              = 119
-       SYS_CLONE                  = 120
-       SYS_SETDOMAINNAME          = 121
-       SYS_UNAME                  = 122
-       SYS_MODIFY_LDT             = 123
-       SYS_ADJTIMEX               = 124
-       SYS_MPROTECT               = 125
-       SYS_SIGPROCMASK            = 126
-       SYS_CREATE_MODULE          = 127
-       SYS_INIT_MODULE            = 128
-       SYS_DELETE_MODULE          = 129
-       SYS_GET_KERNEL_SYMS        = 130
-       SYS_QUOTACTL               = 131
-       SYS_GETPGID                = 132
-       SYS_FCHDIR                 = 133
-       SYS_BDFLUSH                = 134
-       SYS_SYSFS                  = 135
-       SYS_PERSONALITY            = 136
-       SYS_AFS_SYSCALL            = 137
-       SYS_SETFSUID               = 138
-       SYS_SETFSGID               = 139
-       SYS__LLSEEK                = 140
-       SYS_GETDENTS               = 141
-       SYS__NEWSELECT             = 142
-       SYS_FLOCK                  = 143
-       SYS_MSYNC                  = 144
-       SYS_READV                  = 145
-       SYS_WRITEV                 = 146
-       SYS_GETSID                 = 147
-       SYS_FDATASYNC              = 148
-       SYS__SYSCTL                = 149
-       SYS_MLOCK                  = 150
-       SYS_MUNLOCK                = 151
-       SYS_MLOCKALL               = 152
-       SYS_MUNLOCKALL             = 153
-       SYS_SCHED_SETPARAM         = 154
-       SYS_SCHED_GETPARAM         = 155
-       SYS_SCHED_SETSCHEDULER     = 156
-       SYS_SCHED_GETSCHEDULER     = 157
-       SYS_SCHED_YIELD            = 158
-       SYS_SCHED_GET_PRIORITY_MAX = 159
-       SYS_SCHED_GET_PRIORITY_MIN = 160
-       SYS_SCHED_RR_GET_INTERVAL  = 161
-       SYS_NANOSLEEP              = 162
-       SYS_MREMAP                 = 163
-       SYS_SETRESUID              = 164
-       SYS_GETRESUID              = 165
-       SYS_QUERY_MODULE           = 166
-       SYS_POLL                   = 167
-       SYS_NFSSERVCTL             = 168
-       SYS_SETRESGID              = 169
-       SYS_GETRESGID              = 170
-       SYS_PRCTL                  = 171
-       SYS_RT_SIGRETURN           = 172
-       SYS_RT_SIGACTION           = 173
-       SYS_RT_SIGPROCMASK         = 174
-       SYS_RT_SIGPENDING          = 175
-       SYS_RT_SIGTIMEDWAIT        = 176
-       SYS_RT_SIGQUEUEINFO        = 177
-       SYS_RT_SIGSUSPEND          = 178
-       SYS_PREAD64                = 179
-       SYS_PWRITE64               = 180
-       SYS_CHOWN                  = 181
-       SYS_GETCWD                 = 182
-       SYS_CAPGET                 = 183
-       SYS_CAPSET                 = 184
-       SYS_SIGALTSTACK            = 185
-       SYS_SENDFILE               = 186
-       SYS_GETPMSG                = 187
-       SYS_PUTPMSG                = 188
-       SYS_VFORK                  = 189
-       SYS_UGETRLIMIT             = 190
-       SYS_READAHEAD              = 191
-       SYS_PCICONFIG_READ         = 198
-       SYS_PCICONFIG_WRITE        = 199
-       SYS_PCICONFIG_IOBASE       = 200
-       SYS_MULTIPLEXER            = 201
-       SYS_GETDENTS64             = 202
-       SYS_PIVOT_ROOT             = 203
-       SYS_MADVISE                = 205
-       SYS_MINCORE                = 206
-       SYS_GETTID                 = 207
-       SYS_TKILL                  = 208
-       SYS_SETXATTR               = 209
-       SYS_LSETXATTR              = 210
-       SYS_FSETXATTR              = 211
-       SYS_GETXATTR               = 212
-       SYS_LGETXATTR              = 213
-       SYS_FGETXATTR              = 214
-       SYS_LISTXATTR              = 215
-       SYS_LLISTXATTR             = 216
-       SYS_FLISTXATTR             = 217
-       SYS_REMOVEXATTR            = 218
-       SYS_LREMOVEXATTR           = 219
-       SYS_FREMOVEXATTR           = 220
-       SYS_FUTEX                  = 221
-       SYS_SCHED_SETAFFINITY      = 222
-       SYS_SCHED_GETAFFINITY      = 223
-       SYS_TUXCALL                = 225
-       SYS_IO_SETUP               = 227
-       SYS_IO_DESTROY             = 228
-       SYS_IO_GETEVENTS           = 229
-       SYS_IO_SUBMIT              = 230
-       SYS_IO_CANCEL              = 231
-       SYS_SET_TID_ADDRESS        = 232
-       SYS_FADVISE64              = 233
-       SYS_EXIT_GROUP             = 234
-       SYS_LOOKUP_DCOOKIE         = 235
-       SYS_EPOLL_CREATE           = 236
-       SYS_EPOLL_CTL              = 237
-       SYS_EPOLL_WAIT             = 238
-       SYS_REMAP_FILE_PAGES       = 239
-       SYS_TIMER_CREATE           = 240
-       SYS_TIMER_SETTIME          = 241
-       SYS_TIMER_GETTIME          = 242
-       SYS_TIMER_GETOVERRUN       = 243
-       SYS_TIMER_DELETE           = 244
-       SYS_CLOCK_SETTIME          = 245
-       SYS_CLOCK_GETTIME          = 246
-       SYS_CLOCK_GETRES           = 247
-       SYS_CLOCK_NANOSLEEP        = 248
-       SYS_SWAPCONTEXT            = 249
-       SYS_TGKILL                 = 250
-       SYS_UTIMES                 = 251
-       SYS_STATFS64               = 252
-       SYS_FSTATFS64              = 253
-       SYS_RTAS                   = 255
-       SYS_SYS_DEBUG_SETCONTEXT   = 256
-       SYS_MIGRATE_PAGES          = 258
-       SYS_MBIND                  = 259
-       SYS_GET_MEMPOLICY          = 260
-       SYS_SET_MEMPOLICY          = 261
-       SYS_MQ_OPEN                = 262
-       SYS_MQ_UNLINK              = 263
-       SYS_MQ_TIMEDSEND           = 264
-       SYS_MQ_TIMEDRECEIVE        = 265
-       SYS_MQ_NOTIFY              = 266
-       SYS_MQ_GETSETATTR          = 267
-       SYS_KEXEC_LOAD             = 268
-       SYS_ADD_KEY                = 269
-       SYS_REQUEST_KEY            = 270
-       SYS_KEYCTL                 = 271
-       SYS_WAITID                 = 272
-       SYS_IOPRIO_SET             = 273
-       SYS_IOPRIO_GET             = 274
-       SYS_INOTIFY_INIT           = 275
-       SYS_INOTIFY_ADD_WATCH      = 276
-       SYS_INOTIFY_RM_WATCH       = 277
-       SYS_SPU_RUN                = 278
-       SYS_SPU_CREATE             = 279
-       SYS_PSELECT6               = 280
-       SYS_PPOLL                  = 281
-       SYS_UNSHARE                = 282
-       SYS_SPLICE                 = 283
-       SYS_TEE                    = 284
-       SYS_VMSPLICE               = 285
-       SYS_OPENAT                 = 286
-       SYS_MKDIRAT                = 287
-       SYS_MKNODAT                = 288
-       SYS_FCHOWNAT               = 289
-       SYS_FUTIMESAT              = 290
-       SYS_NEWFSTATAT             = 291
-       SYS_UNLINKAT               = 292
-       SYS_RENAMEAT               = 293
-       SYS_LINKAT                 = 294
-       SYS_SYMLINKAT              = 295
-       SYS_READLINKAT             = 296
-       SYS_FCHMODAT               = 297
-       SYS_FACCESSAT              = 298
-       SYS_GET_ROBUST_LIST        = 299
-       SYS_SET_ROBUST_LIST        = 300
-       SYS_MOVE_PAGES             = 301
-       SYS_GETCPU                 = 302
-       SYS_EPOLL_PWAIT            = 303
-       SYS_UTIMENSAT              = 304
-       SYS_SIGNALFD               = 305
-       SYS_TIMERFD_CREATE         = 306
-       SYS_EVENTFD                = 307
-       SYS_SYNC_FILE_RANGE2       = 308
-       SYS_FALLOCATE              = 309
-       SYS_SUBPAGE_PROT           = 310
-       SYS_TIMERFD_SETTIME        = 311
-       SYS_TIMERFD_GETTIME        = 312
-       SYS_SIGNALFD4              = 313
-       SYS_EVENTFD2               = 314
-       SYS_EPOLL_CREATE1          = 315
-       SYS_DUP3                   = 316
-       SYS_PIPE2                  = 317
-       SYS_INOTIFY_INIT1          = 318
-       SYS_PERF_EVENT_OPEN        = 319
-       SYS_PREADV                 = 320
-       SYS_PWRITEV                = 321
-       SYS_RT_TGSIGQUEUEINFO      = 322
-       SYS_FANOTIFY_INIT          = 323
-       SYS_FANOTIFY_MARK          = 324
-       SYS_PRLIMIT64              = 325
-       SYS_SOCKET                 = 326
-       SYS_BIND                   = 327
-       SYS_CONNECT                = 328
-       SYS_LISTEN                 = 329
-       SYS_ACCEPT                 = 330
-       SYS_GETSOCKNAME            = 331
-       SYS_GETPEERNAME            = 332
-       SYS_SOCKETPAIR             = 333
-       SYS_SEND                   = 334
-       SYS_SENDTO                 = 335
-       SYS_RECV                   = 336
-       SYS_RECVFROM               = 337
-       SYS_SHUTDOWN               = 338
-       SYS_SETSOCKOPT             = 339
-       SYS_GETSOCKOPT             = 340
-       SYS_SENDMSG                = 341
-       SYS_RECVMSG                = 342
-       SYS_RECVMMSG               = 343
-       SYS_ACCEPT4                = 344
-       SYS_NAME_TO_HANDLE_AT      = 345
-       SYS_OPEN_BY_HANDLE_AT      = 346
-       SYS_CLOCK_ADJTIME          = 347
-       SYS_SYNCFS                 = 348
-       SYS_SENDMMSG               = 349
-       SYS_SETNS                  = 350
-       SYS_PROCESS_VM_READV       = 351
-       SYS_PROCESS_VM_WRITEV      = 352
-       SYS_FINIT_MODULE           = 353
-       SYS_KCMP                   = 354
-       SYS_SCHED_SETATTR          = 355
-       SYS_SCHED_GETATTR          = 356
-       SYS_RENAMEAT2              = 357
-       SYS_SECCOMP                = 358
-       SYS_GETRANDOM              = 359
-       SYS_MEMFD_CREATE           = 360
-       SYS_BPF                    = 361
-       SYS_EXECVEAT               = 362
-       SYS_SWITCH_ENDIAN          = 363
-       SYS_USERFAULTFD            = 364
-       SYS_MEMBARRIER             = 365
-       SYS_MLOCK2                 = 378
-       SYS_COPY_FILE_RANGE        = 379
-       SYS_PREADV2                = 380
-       SYS_PWRITEV2               = 381
-       SYS_KEXEC_FILE_LOAD        = 382
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go
deleted file mode 100644 (file)
index aab0cdb..0000000
+++ /dev/null
@@ -1,331 +0,0 @@
-// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include -fsigned-char /tmp/include/asm/unistd.h
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build s390x,linux
-
-package unix
-
-const (
-       SYS_EXIT                   = 1
-       SYS_FORK                   = 2
-       SYS_READ                   = 3
-       SYS_WRITE                  = 4
-       SYS_OPEN                   = 5
-       SYS_CLOSE                  = 6
-       SYS_RESTART_SYSCALL        = 7
-       SYS_CREAT                  = 8
-       SYS_LINK                   = 9
-       SYS_UNLINK                 = 10
-       SYS_EXECVE                 = 11
-       SYS_CHDIR                  = 12
-       SYS_MKNOD                  = 14
-       SYS_CHMOD                  = 15
-       SYS_LSEEK                  = 19
-       SYS_GETPID                 = 20
-       SYS_MOUNT                  = 21
-       SYS_UMOUNT                 = 22
-       SYS_PTRACE                 = 26
-       SYS_ALARM                  = 27
-       SYS_PAUSE                  = 29
-       SYS_UTIME                  = 30
-       SYS_ACCESS                 = 33
-       SYS_NICE                   = 34
-       SYS_SYNC                   = 36
-       SYS_KILL                   = 37
-       SYS_RENAME                 = 38
-       SYS_MKDIR                  = 39
-       SYS_RMDIR                  = 40
-       SYS_DUP                    = 41
-       SYS_PIPE                   = 42
-       SYS_TIMES                  = 43
-       SYS_BRK                    = 45
-       SYS_SIGNAL                 = 48
-       SYS_ACCT                   = 51
-       SYS_UMOUNT2                = 52
-       SYS_IOCTL                  = 54
-       SYS_FCNTL                  = 55
-       SYS_SETPGID                = 57
-       SYS_UMASK                  = 60
-       SYS_CHROOT                 = 61
-       SYS_USTAT                  = 62
-       SYS_DUP2                   = 63
-       SYS_GETPPID                = 64
-       SYS_GETPGRP                = 65
-       SYS_SETSID                 = 66
-       SYS_SIGACTION              = 67
-       SYS_SIGSUSPEND             = 72
-       SYS_SIGPENDING             = 73
-       SYS_SETHOSTNAME            = 74
-       SYS_SETRLIMIT              = 75
-       SYS_GETRUSAGE              = 77
-       SYS_GETTIMEOFDAY           = 78
-       SYS_SETTIMEOFDAY           = 79
-       SYS_SYMLINK                = 83
-       SYS_READLINK               = 85
-       SYS_USELIB                 = 86
-       SYS_SWAPON                 = 87
-       SYS_REBOOT                 = 88
-       SYS_READDIR                = 89
-       SYS_MMAP                   = 90
-       SYS_MUNMAP                 = 91
-       SYS_TRUNCATE               = 92
-       SYS_FTRUNCATE              = 93
-       SYS_FCHMOD                 = 94
-       SYS_GETPRIORITY            = 96
-       SYS_SETPRIORITY            = 97
-       SYS_STATFS                 = 99
-       SYS_FSTATFS                = 100
-       SYS_SOCKETCALL             = 102
-       SYS_SYSLOG                 = 103
-       SYS_SETITIMER              = 104
-       SYS_GETITIMER              = 105
-       SYS_STAT                   = 106
-       SYS_LSTAT                  = 107
-       SYS_FSTAT                  = 108
-       SYS_LOOKUP_DCOOKIE         = 110
-       SYS_VHANGUP                = 111
-       SYS_IDLE                   = 112
-       SYS_WAIT4                  = 114
-       SYS_SWAPOFF                = 115
-       SYS_SYSINFO                = 116
-       SYS_IPC                    = 117
-       SYS_FSYNC                  = 118
-       SYS_SIGRETURN              = 119
-       SYS_CLONE                  = 120
-       SYS_SETDOMAINNAME          = 121
-       SYS_UNAME                  = 122
-       SYS_ADJTIMEX               = 124
-       SYS_MPROTECT               = 125
-       SYS_SIGPROCMASK            = 126
-       SYS_CREATE_MODULE          = 127
-       SYS_INIT_MODULE            = 128
-       SYS_DELETE_MODULE          = 129
-       SYS_GET_KERNEL_SYMS        = 130
-       SYS_QUOTACTL               = 131
-       SYS_GETPGID                = 132
-       SYS_FCHDIR                 = 133
-       SYS_BDFLUSH                = 134
-       SYS_SYSFS                  = 135
-       SYS_PERSONALITY            = 136
-       SYS_AFS_SYSCALL            = 137
-       SYS_GETDENTS               = 141
-       SYS_FLOCK                  = 143
-       SYS_MSYNC                  = 144
-       SYS_READV                  = 145
-       SYS_WRITEV                 = 146
-       SYS_GETSID                 = 147
-       SYS_FDATASYNC              = 148
-       SYS__SYSCTL                = 149
-       SYS_MLOCK                  = 150
-       SYS_MUNLOCK                = 151
-       SYS_MLOCKALL               = 152
-       SYS_MUNLOCKALL             = 153
-       SYS_SCHED_SETPARAM         = 154
-       SYS_SCHED_GETPARAM         = 155
-       SYS_SCHED_SETSCHEDULER     = 156
-       SYS_SCHED_GETSCHEDULER     = 157
-       SYS_SCHED_YIELD            = 158
-       SYS_SCHED_GET_PRIORITY_MAX = 159
-       SYS_SCHED_GET_PRIORITY_MIN = 160
-       SYS_SCHED_RR_GET_INTERVAL  = 161
-       SYS_NANOSLEEP              = 162
-       SYS_MREMAP                 = 163
-       SYS_QUERY_MODULE           = 167
-       SYS_POLL                   = 168
-       SYS_NFSSERVCTL             = 169
-       SYS_PRCTL                  = 172
-       SYS_RT_SIGRETURN           = 173
-       SYS_RT_SIGACTION           = 174
-       SYS_RT_SIGPROCMASK         = 175
-       SYS_RT_SIGPENDING          = 176
-       SYS_RT_SIGTIMEDWAIT        = 177
-       SYS_RT_SIGQUEUEINFO        = 178
-       SYS_RT_SIGSUSPEND          = 179
-       SYS_PREAD64                = 180
-       SYS_PWRITE64               = 181
-       SYS_GETCWD                 = 183
-       SYS_CAPGET                 = 184
-       SYS_CAPSET                 = 185
-       SYS_SIGALTSTACK            = 186
-       SYS_SENDFILE               = 187
-       SYS_GETPMSG                = 188
-       SYS_PUTPMSG                = 189
-       SYS_VFORK                  = 190
-       SYS_PIVOT_ROOT             = 217
-       SYS_MINCORE                = 218
-       SYS_MADVISE                = 219
-       SYS_GETDENTS64             = 220
-       SYS_READAHEAD              = 222
-       SYS_SETXATTR               = 224
-       SYS_LSETXATTR              = 225
-       SYS_FSETXATTR              = 226
-       SYS_GETXATTR               = 227
-       SYS_LGETXATTR              = 228
-       SYS_FGETXATTR              = 229
-       SYS_LISTXATTR              = 230
-       SYS_LLISTXATTR             = 231
-       SYS_FLISTXATTR             = 232
-       SYS_REMOVEXATTR            = 233
-       SYS_LREMOVEXATTR           = 234
-       SYS_FREMOVEXATTR           = 235
-       SYS_GETTID                 = 236
-       SYS_TKILL                  = 237
-       SYS_FUTEX                  = 238
-       SYS_SCHED_SETAFFINITY      = 239
-       SYS_SCHED_GETAFFINITY      = 240
-       SYS_TGKILL                 = 241
-       SYS_IO_SETUP               = 243
-       SYS_IO_DESTROY             = 244
-       SYS_IO_GETEVENTS           = 245
-       SYS_IO_SUBMIT              = 246
-       SYS_IO_CANCEL              = 247
-       SYS_EXIT_GROUP             = 248
-       SYS_EPOLL_CREATE           = 249
-       SYS_EPOLL_CTL              = 250
-       SYS_EPOLL_WAIT             = 251
-       SYS_SET_TID_ADDRESS        = 252
-       SYS_FADVISE64              = 253
-       SYS_TIMER_CREATE           = 254
-       SYS_TIMER_SETTIME          = 255
-       SYS_TIMER_GETTIME          = 256
-       SYS_TIMER_GETOVERRUN       = 257
-       SYS_TIMER_DELETE           = 258
-       SYS_CLOCK_SETTIME          = 259
-       SYS_CLOCK_GETTIME          = 260
-       SYS_CLOCK_GETRES           = 261
-       SYS_CLOCK_NANOSLEEP        = 262
-       SYS_STATFS64               = 265
-       SYS_FSTATFS64              = 266
-       SYS_REMAP_FILE_PAGES       = 267
-       SYS_MBIND                  = 268
-       SYS_GET_MEMPOLICY          = 269
-       SYS_SET_MEMPOLICY          = 270
-       SYS_MQ_OPEN                = 271
-       SYS_MQ_UNLINK              = 272
-       SYS_MQ_TIMEDSEND           = 273
-       SYS_MQ_TIMEDRECEIVE        = 274
-       SYS_MQ_NOTIFY              = 275
-       SYS_MQ_GETSETATTR          = 276
-       SYS_KEXEC_LOAD             = 277
-       SYS_ADD_KEY                = 278
-       SYS_REQUEST_KEY            = 279
-       SYS_KEYCTL                 = 280
-       SYS_WAITID                 = 281
-       SYS_IOPRIO_SET             = 282
-       SYS_IOPRIO_GET             = 283
-       SYS_INOTIFY_INIT           = 284
-       SYS_INOTIFY_ADD_WATCH      = 285
-       SYS_INOTIFY_RM_WATCH       = 286
-       SYS_MIGRATE_PAGES          = 287
-       SYS_OPENAT                 = 288
-       SYS_MKDIRAT                = 289
-       SYS_MKNODAT                = 290
-       SYS_FCHOWNAT               = 291
-       SYS_FUTIMESAT              = 292
-       SYS_UNLINKAT               = 294
-       SYS_RENAMEAT               = 295
-       SYS_LINKAT                 = 296
-       SYS_SYMLINKAT              = 297
-       SYS_READLINKAT             = 298
-       SYS_FCHMODAT               = 299
-       SYS_FACCESSAT              = 300
-       SYS_PSELECT6               = 301
-       SYS_PPOLL                  = 302
-       SYS_UNSHARE                = 303
-       SYS_SET_ROBUST_LIST        = 304
-       SYS_GET_ROBUST_LIST        = 305
-       SYS_SPLICE                 = 306
-       SYS_SYNC_FILE_RANGE        = 307
-       SYS_TEE                    = 308
-       SYS_VMSPLICE               = 309
-       SYS_MOVE_PAGES             = 310
-       SYS_GETCPU                 = 311
-       SYS_EPOLL_PWAIT            = 312
-       SYS_UTIMES                 = 313
-       SYS_FALLOCATE              = 314
-       SYS_UTIMENSAT              = 315
-       SYS_SIGNALFD               = 316
-       SYS_TIMERFD                = 317
-       SYS_EVENTFD                = 318
-       SYS_TIMERFD_CREATE         = 319
-       SYS_TIMERFD_SETTIME        = 320
-       SYS_TIMERFD_GETTIME        = 321
-       SYS_SIGNALFD4              = 322
-       SYS_EVENTFD2               = 323
-       SYS_INOTIFY_INIT1          = 324
-       SYS_PIPE2                  = 325
-       SYS_DUP3                   = 326
-       SYS_EPOLL_CREATE1          = 327
-       SYS_PREADV                 = 328
-       SYS_PWRITEV                = 329
-       SYS_RT_TGSIGQUEUEINFO      = 330
-       SYS_PERF_EVENT_OPEN        = 331
-       SYS_FANOTIFY_INIT          = 332
-       SYS_FANOTIFY_MARK          = 333
-       SYS_PRLIMIT64              = 334
-       SYS_NAME_TO_HANDLE_AT      = 335
-       SYS_OPEN_BY_HANDLE_AT      = 336
-       SYS_CLOCK_ADJTIME          = 337
-       SYS_SYNCFS                 = 338
-       SYS_SETNS                  = 339
-       SYS_PROCESS_VM_READV       = 340
-       SYS_PROCESS_VM_WRITEV      = 341
-       SYS_S390_RUNTIME_INSTR     = 342
-       SYS_KCMP                   = 343
-       SYS_FINIT_MODULE           = 344
-       SYS_SCHED_SETATTR          = 345
-       SYS_SCHED_GETATTR          = 346
-       SYS_RENAMEAT2              = 347
-       SYS_SECCOMP                = 348
-       SYS_GETRANDOM              = 349
-       SYS_MEMFD_CREATE           = 350
-       SYS_BPF                    = 351
-       SYS_S390_PCI_MMIO_WRITE    = 352
-       SYS_S390_PCI_MMIO_READ     = 353
-       SYS_EXECVEAT               = 354
-       SYS_USERFAULTFD            = 355
-       SYS_MEMBARRIER             = 356
-       SYS_RECVMMSG               = 357
-       SYS_SENDMMSG               = 358
-       SYS_SOCKET                 = 359
-       SYS_SOCKETPAIR             = 360
-       SYS_BIND                   = 361
-       SYS_CONNECT                = 362
-       SYS_LISTEN                 = 363
-       SYS_ACCEPT4                = 364
-       SYS_GETSOCKOPT             = 365
-       SYS_SETSOCKOPT             = 366
-       SYS_GETSOCKNAME            = 367
-       SYS_GETPEERNAME            = 368
-       SYS_SENDTO                 = 369
-       SYS_SENDMSG                = 370
-       SYS_RECVFROM               = 371
-       SYS_RECVMSG                = 372
-       SYS_SHUTDOWN               = 373
-       SYS_MLOCK2                 = 374
-       SYS_COPY_FILE_RANGE        = 375
-       SYS_PREADV2                = 376
-       SYS_PWRITEV2               = 377
-       SYS_SELECT                 = 142
-       SYS_GETRLIMIT              = 191
-       SYS_LCHOWN                 = 198
-       SYS_GETUID                 = 199
-       SYS_GETGID                 = 200
-       SYS_GETEUID                = 201
-       SYS_GETEGID                = 202
-       SYS_SETREUID               = 203
-       SYS_SETREGID               = 204
-       SYS_GETGROUPS              = 205
-       SYS_SETGROUPS              = 206
-       SYS_FCHOWN                 = 207
-       SYS_SETRESUID              = 208
-       SYS_GETRESUID              = 209
-       SYS_SETRESGID              = 210
-       SYS_GETRESGID              = 211
-       SYS_CHOWN                  = 212
-       SYS_SETUID                 = 213
-       SYS_SETGID                 = 214
-       SYS_SETFSUID               = 215
-       SYS_SETFSGID               = 216
-       SYS_NEWFSTATAT             = 293
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go
deleted file mode 100644 (file)
index c9c129d..0000000
+++ /dev/null
@@ -1,348 +0,0 @@
-// mksysnum_linux.pl -Ilinux/usr/include -m64 -D__arch64__ linux/usr/include/asm/unistd.h
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build sparc64,linux
-
-package unix
-
-const (
-       SYS_RESTART_SYSCALL        = 0
-       SYS_EXIT                   = 1
-       SYS_FORK                   = 2
-       SYS_READ                   = 3
-       SYS_WRITE                  = 4
-       SYS_OPEN                   = 5
-       SYS_CLOSE                  = 6
-       SYS_WAIT4                  = 7
-       SYS_CREAT                  = 8
-       SYS_LINK                   = 9
-       SYS_UNLINK                 = 10
-       SYS_EXECV                  = 11
-       SYS_CHDIR                  = 12
-       SYS_CHOWN                  = 13
-       SYS_MKNOD                  = 14
-       SYS_CHMOD                  = 15
-       SYS_LCHOWN                 = 16
-       SYS_BRK                    = 17
-       SYS_PERFCTR                = 18
-       SYS_LSEEK                  = 19
-       SYS_GETPID                 = 20
-       SYS_CAPGET                 = 21
-       SYS_CAPSET                 = 22
-       SYS_SETUID                 = 23
-       SYS_GETUID                 = 24
-       SYS_VMSPLICE               = 25
-       SYS_PTRACE                 = 26
-       SYS_ALARM                  = 27
-       SYS_SIGALTSTACK            = 28
-       SYS_PAUSE                  = 29
-       SYS_UTIME                  = 30
-       SYS_ACCESS                 = 33
-       SYS_NICE                   = 34
-       SYS_SYNC                   = 36
-       SYS_KILL                   = 37
-       SYS_STAT                   = 38
-       SYS_SENDFILE               = 39
-       SYS_LSTAT                  = 40
-       SYS_DUP                    = 41
-       SYS_PIPE                   = 42
-       SYS_TIMES                  = 43
-       SYS_UMOUNT2                = 45
-       SYS_SETGID                 = 46
-       SYS_GETGID                 = 47
-       SYS_SIGNAL                 = 48
-       SYS_GETEUID                = 49
-       SYS_GETEGID                = 50
-       SYS_ACCT                   = 51
-       SYS_MEMORY_ORDERING        = 52
-       SYS_IOCTL                  = 54
-       SYS_REBOOT                 = 55
-       SYS_SYMLINK                = 57
-       SYS_READLINK               = 58
-       SYS_EXECVE                 = 59
-       SYS_UMASK                  = 60
-       SYS_CHROOT                 = 61
-       SYS_FSTAT                  = 62
-       SYS_FSTAT64                = 63
-       SYS_GETPAGESIZE            = 64
-       SYS_MSYNC                  = 65
-       SYS_VFORK                  = 66
-       SYS_PREAD64                = 67
-       SYS_PWRITE64               = 68
-       SYS_MMAP                   = 71
-       SYS_MUNMAP                 = 73
-       SYS_MPROTECT               = 74
-       SYS_MADVISE                = 75
-       SYS_VHANGUP                = 76
-       SYS_MINCORE                = 78
-       SYS_GETGROUPS              = 79
-       SYS_SETGROUPS              = 80
-       SYS_GETPGRP                = 81
-       SYS_SETITIMER              = 83
-       SYS_SWAPON                 = 85
-       SYS_GETITIMER              = 86
-       SYS_SETHOSTNAME            = 88
-       SYS_DUP2                   = 90
-       SYS_FCNTL                  = 92
-       SYS_SELECT                 = 93
-       SYS_FSYNC                  = 95
-       SYS_SETPRIORITY            = 96
-       SYS_SOCKET                 = 97
-       SYS_CONNECT                = 98
-       SYS_ACCEPT                 = 99
-       SYS_GETPRIORITY            = 100
-       SYS_RT_SIGRETURN           = 101
-       SYS_RT_SIGACTION           = 102
-       SYS_RT_SIGPROCMASK         = 103
-       SYS_RT_SIGPENDING          = 104
-       SYS_RT_SIGTIMEDWAIT        = 105
-       SYS_RT_SIGQUEUEINFO        = 106
-       SYS_RT_SIGSUSPEND          = 107
-       SYS_SETRESUID              = 108
-       SYS_GETRESUID              = 109
-       SYS_SETRESGID              = 110
-       SYS_GETRESGID              = 111
-       SYS_RECVMSG                = 113
-       SYS_SENDMSG                = 114
-       SYS_GETTIMEOFDAY           = 116
-       SYS_GETRUSAGE              = 117
-       SYS_GETSOCKOPT             = 118
-       SYS_GETCWD                 = 119
-       SYS_READV                  = 120
-       SYS_WRITEV                 = 121
-       SYS_SETTIMEOFDAY           = 122
-       SYS_FCHOWN                 = 123
-       SYS_FCHMOD                 = 124
-       SYS_RECVFROM               = 125
-       SYS_SETREUID               = 126
-       SYS_SETREGID               = 127
-       SYS_RENAME                 = 128
-       SYS_TRUNCATE               = 129
-       SYS_FTRUNCATE              = 130
-       SYS_FLOCK                  = 131
-       SYS_LSTAT64                = 132
-       SYS_SENDTO                 = 133
-       SYS_SHUTDOWN               = 134
-       SYS_SOCKETPAIR             = 135
-       SYS_MKDIR                  = 136
-       SYS_RMDIR                  = 137
-       SYS_UTIMES                 = 138
-       SYS_STAT64                 = 139
-       SYS_SENDFILE64             = 140
-       SYS_GETPEERNAME            = 141
-       SYS_FUTEX                  = 142
-       SYS_GETTID                 = 143
-       SYS_GETRLIMIT              = 144
-       SYS_SETRLIMIT              = 145
-       SYS_PIVOT_ROOT             = 146
-       SYS_PRCTL                  = 147
-       SYS_PCICONFIG_READ         = 148
-       SYS_PCICONFIG_WRITE        = 149
-       SYS_GETSOCKNAME            = 150
-       SYS_INOTIFY_INIT           = 151
-       SYS_INOTIFY_ADD_WATCH      = 152
-       SYS_POLL                   = 153
-       SYS_GETDENTS64             = 154
-       SYS_INOTIFY_RM_WATCH       = 156
-       SYS_STATFS                 = 157
-       SYS_FSTATFS                = 158
-       SYS_UMOUNT                 = 159
-       SYS_SCHED_SET_AFFINITY     = 160
-       SYS_SCHED_GET_AFFINITY     = 161
-       SYS_GETDOMAINNAME          = 162
-       SYS_SETDOMAINNAME          = 163
-       SYS_UTRAP_INSTALL          = 164
-       SYS_QUOTACTL               = 165
-       SYS_SET_TID_ADDRESS        = 166
-       SYS_MOUNT                  = 167
-       SYS_USTAT                  = 168
-       SYS_SETXATTR               = 169
-       SYS_LSETXATTR              = 170
-       SYS_FSETXATTR              = 171
-       SYS_GETXATTR               = 172
-       SYS_LGETXATTR              = 173
-       SYS_GETDENTS               = 174
-       SYS_SETSID                 = 175
-       SYS_FCHDIR                 = 176
-       SYS_FGETXATTR              = 177
-       SYS_LISTXATTR              = 178
-       SYS_LLISTXATTR             = 179
-       SYS_FLISTXATTR             = 180
-       SYS_REMOVEXATTR            = 181
-       SYS_LREMOVEXATTR           = 182
-       SYS_SIGPENDING             = 183
-       SYS_QUERY_MODULE           = 184
-       SYS_SETPGID                = 185
-       SYS_FREMOVEXATTR           = 186
-       SYS_TKILL                  = 187
-       SYS_EXIT_GROUP             = 188
-       SYS_UNAME                  = 189
-       SYS_INIT_MODULE            = 190
-       SYS_PERSONALITY            = 191
-       SYS_REMAP_FILE_PAGES       = 192
-       SYS_EPOLL_CREATE           = 193
-       SYS_EPOLL_CTL              = 194
-       SYS_EPOLL_WAIT             = 195
-       SYS_IOPRIO_SET             = 196
-       SYS_GETPPID                = 197
-       SYS_SIGACTION              = 198
-       SYS_SGETMASK               = 199
-       SYS_SSETMASK               = 200
-       SYS_SIGSUSPEND             = 201
-       SYS_OLDLSTAT               = 202
-       SYS_USELIB                 = 203
-       SYS_READDIR                = 204
-       SYS_READAHEAD              = 205
-       SYS_SOCKETCALL             = 206
-       SYS_SYSLOG                 = 207
-       SYS_LOOKUP_DCOOKIE         = 208
-       SYS_FADVISE64              = 209
-       SYS_FADVISE64_64           = 210
-       SYS_TGKILL                 = 211
-       SYS_WAITPID                = 212
-       SYS_SWAPOFF                = 213
-       SYS_SYSINFO                = 214
-       SYS_IPC                    = 215
-       SYS_SIGRETURN              = 216
-       SYS_CLONE                  = 217
-       SYS_IOPRIO_GET             = 218
-       SYS_ADJTIMEX               = 219
-       SYS_SIGPROCMASK            = 220
-       SYS_CREATE_MODULE          = 221
-       SYS_DELETE_MODULE          = 222
-       SYS_GET_KERNEL_SYMS        = 223
-       SYS_GETPGID                = 224
-       SYS_BDFLUSH                = 225
-       SYS_SYSFS                  = 226
-       SYS_AFS_SYSCALL            = 227
-       SYS_SETFSUID               = 228
-       SYS_SETFSGID               = 229
-       SYS__NEWSELECT             = 230
-       SYS_SPLICE                 = 232
-       SYS_STIME                  = 233
-       SYS_STATFS64               = 234
-       SYS_FSTATFS64              = 235
-       SYS__LLSEEK                = 236
-       SYS_MLOCK                  = 237
-       SYS_MUNLOCK                = 238
-       SYS_MLOCKALL               = 239
-       SYS_MUNLOCKALL             = 240
-       SYS_SCHED_SETPARAM         = 241
-       SYS_SCHED_GETPARAM         = 242
-       SYS_SCHED_SETSCHEDULER     = 243
-       SYS_SCHED_GETSCHEDULER     = 244
-       SYS_SCHED_YIELD            = 245
-       SYS_SCHED_GET_PRIORITY_MAX = 246
-       SYS_SCHED_GET_PRIORITY_MIN = 247
-       SYS_SCHED_RR_GET_INTERVAL  = 248
-       SYS_NANOSLEEP              = 249
-       SYS_MREMAP                 = 250
-       SYS__SYSCTL                = 251
-       SYS_GETSID                 = 252
-       SYS_FDATASYNC              = 253
-       SYS_NFSSERVCTL             = 254
-       SYS_SYNC_FILE_RANGE        = 255
-       SYS_CLOCK_SETTIME          = 256
-       SYS_CLOCK_GETTIME          = 257
-       SYS_CLOCK_GETRES           = 258
-       SYS_CLOCK_NANOSLEEP        = 259
-       SYS_SCHED_GETAFFINITY      = 260
-       SYS_SCHED_SETAFFINITY      = 261
-       SYS_TIMER_SETTIME          = 262
-       SYS_TIMER_GETTIME          = 263
-       SYS_TIMER_GETOVERRUN       = 264
-       SYS_TIMER_DELETE           = 265
-       SYS_TIMER_CREATE           = 266
-       SYS_IO_SETUP               = 268
-       SYS_IO_DESTROY             = 269
-       SYS_IO_SUBMIT              = 270
-       SYS_IO_CANCEL              = 271
-       SYS_IO_GETEVENTS           = 272
-       SYS_MQ_OPEN                = 273
-       SYS_MQ_UNLINK              = 274
-       SYS_MQ_TIMEDSEND           = 275
-       SYS_MQ_TIMEDRECEIVE        = 276
-       SYS_MQ_NOTIFY              = 277
-       SYS_MQ_GETSETATTR          = 278
-       SYS_WAITID                 = 279
-       SYS_TEE                    = 280
-       SYS_ADD_KEY                = 281
-       SYS_REQUEST_KEY            = 282
-       SYS_KEYCTL                 = 283
-       SYS_OPENAT                 = 284
-       SYS_MKDIRAT                = 285
-       SYS_MKNODAT                = 286
-       SYS_FCHOWNAT               = 287
-       SYS_FUTIMESAT              = 288
-       SYS_FSTATAT64              = 289
-       SYS_UNLINKAT               = 290
-       SYS_RENAMEAT               = 291
-       SYS_LINKAT                 = 292
-       SYS_SYMLINKAT              = 293
-       SYS_READLINKAT             = 294
-       SYS_FCHMODAT               = 295
-       SYS_FACCESSAT              = 296
-       SYS_PSELECT6               = 297
-       SYS_PPOLL                  = 298
-       SYS_UNSHARE                = 299
-       SYS_SET_ROBUST_LIST        = 300
-       SYS_GET_ROBUST_LIST        = 301
-       SYS_MIGRATE_PAGES          = 302
-       SYS_MBIND                  = 303
-       SYS_GET_MEMPOLICY          = 304
-       SYS_SET_MEMPOLICY          = 305
-       SYS_KEXEC_LOAD             = 306
-       SYS_MOVE_PAGES             = 307
-       SYS_GETCPU                 = 308
-       SYS_EPOLL_PWAIT            = 309
-       SYS_UTIMENSAT              = 310
-       SYS_SIGNALFD               = 311
-       SYS_TIMERFD_CREATE         = 312
-       SYS_EVENTFD                = 313
-       SYS_FALLOCATE              = 314
-       SYS_TIMERFD_SETTIME        = 315
-       SYS_TIMERFD_GETTIME        = 316
-       SYS_SIGNALFD4              = 317
-       SYS_EVENTFD2               = 318
-       SYS_EPOLL_CREATE1          = 319
-       SYS_DUP3                   = 320
-       SYS_PIPE2                  = 321
-       SYS_INOTIFY_INIT1          = 322
-       SYS_ACCEPT4                = 323
-       SYS_PREADV                 = 324
-       SYS_PWRITEV                = 325
-       SYS_RT_TGSIGQUEUEINFO      = 326
-       SYS_PERF_EVENT_OPEN        = 327
-       SYS_RECVMMSG               = 328
-       SYS_FANOTIFY_INIT          = 329
-       SYS_FANOTIFY_MARK          = 330
-       SYS_PRLIMIT64              = 331
-       SYS_NAME_TO_HANDLE_AT      = 332
-       SYS_OPEN_BY_HANDLE_AT      = 333
-       SYS_CLOCK_ADJTIME          = 334
-       SYS_SYNCFS                 = 335
-       SYS_SENDMMSG               = 336
-       SYS_SETNS                  = 337
-       SYS_PROCESS_VM_READV       = 338
-       SYS_PROCESS_VM_WRITEV      = 339
-       SYS_KERN_FEATURES          = 340
-       SYS_KCMP                   = 341
-       SYS_FINIT_MODULE           = 342
-       SYS_SCHED_SETATTR          = 343
-       SYS_SCHED_GETATTR          = 344
-       SYS_RENAMEAT2              = 345
-       SYS_SECCOMP                = 346
-       SYS_GETRANDOM              = 347
-       SYS_MEMFD_CREATE           = 348
-       SYS_BPF                    = 349
-       SYS_EXECVEAT               = 350
-       SYS_MEMBARRIER             = 351
-       SYS_USERFAULTFD            = 352
-       SYS_BIND                   = 353
-       SYS_LISTEN                 = 354
-       SYS_SETSOCKOPT             = 355
-       SYS_MLOCK2                 = 356
-       SYS_COPY_FILE_RANGE        = 357
-       SYS_PREADV2                = 358
-       SYS_PWRITEV2               = 359
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go b/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go
deleted file mode 100644 (file)
index f60d8f9..0000000
+++ /dev/null
@@ -1,273 +0,0 @@
-// mksysnum_netbsd.pl
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build 386,netbsd
-
-package unix
-
-const (
-       SYS_EXIT                 = 1   // { void|sys||exit(int rval); }
-       SYS_FORK                 = 2   // { int|sys||fork(void); }
-       SYS_READ                 = 3   // { ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
-       SYS_WRITE                = 4   // { ssize_t|sys||write(int fd, const void *buf, size_t nbyte); }
-       SYS_OPEN                 = 5   // { int|sys||open(const char *path, int flags, ... mode_t mode); }
-       SYS_CLOSE                = 6   // { int|sys||close(int fd); }
-       SYS_LINK                 = 9   // { int|sys||link(const char *path, const char *link); }
-       SYS_UNLINK               = 10  // { int|sys||unlink(const char *path); }
-       SYS_CHDIR                = 12  // { int|sys||chdir(const char *path); }
-       SYS_FCHDIR               = 13  // { int|sys||fchdir(int fd); }
-       SYS_CHMOD                = 15  // { int|sys||chmod(const char *path, mode_t mode); }
-       SYS_CHOWN                = 16  // { int|sys||chown(const char *path, uid_t uid, gid_t gid); }
-       SYS_BREAK                = 17  // { int|sys||obreak(char *nsize); }
-       SYS_GETPID               = 20  // { pid_t|sys||getpid_with_ppid(void); }
-       SYS_UNMOUNT              = 22  // { int|sys||unmount(const char *path, int flags); }
-       SYS_SETUID               = 23  // { int|sys||setuid(uid_t uid); }
-       SYS_GETUID               = 24  // { uid_t|sys||getuid_with_euid(void); }
-       SYS_GETEUID              = 25  // { uid_t|sys||geteuid(void); }
-       SYS_PTRACE               = 26  // { int|sys||ptrace(int req, pid_t pid, void *addr, int data); }
-       SYS_RECVMSG              = 27  // { ssize_t|sys||recvmsg(int s, struct msghdr *msg, int flags); }
-       SYS_SENDMSG              = 28  // { ssize_t|sys||sendmsg(int s, const struct msghdr *msg, int flags); }
-       SYS_RECVFROM             = 29  // { ssize_t|sys||recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlenaddr); }
-       SYS_ACCEPT               = 30  // { int|sys||accept(int s, struct sockaddr *name, socklen_t *anamelen); }
-       SYS_GETPEERNAME          = 31  // { int|sys||getpeername(int fdes, struct sockaddr *asa, socklen_t *alen); }
-       SYS_GETSOCKNAME          = 32  // { int|sys||getsockname(int fdes, struct sockaddr *asa, socklen_t *alen); }
-       SYS_ACCESS               = 33  // { int|sys||access(const char *path, int flags); }
-       SYS_CHFLAGS              = 34  // { int|sys||chflags(const char *path, u_long flags); }
-       SYS_FCHFLAGS             = 35  // { int|sys||fchflags(int fd, u_long flags); }
-       SYS_SYNC                 = 36  // { void|sys||sync(void); }
-       SYS_KILL                 = 37  // { int|sys||kill(pid_t pid, int signum); }
-       SYS_GETPPID              = 39  // { pid_t|sys||getppid(void); }
-       SYS_DUP                  = 41  // { int|sys||dup(int fd); }
-       SYS_PIPE                 = 42  // { int|sys||pipe(void); }
-       SYS_GETEGID              = 43  // { gid_t|sys||getegid(void); }
-       SYS_PROFIL               = 44  // { int|sys||profil(char *samples, size_t size, u_long offset, u_int scale); }
-       SYS_KTRACE               = 45  // { int|sys||ktrace(const char *fname, int ops, int facs, pid_t pid); }
-       SYS_GETGID               = 47  // { gid_t|sys||getgid_with_egid(void); }
-       SYS___GETLOGIN           = 49  // { int|sys||__getlogin(char *namebuf, size_t namelen); }
-       SYS___SETLOGIN           = 50  // { int|sys||__setlogin(const char *namebuf); }
-       SYS_ACCT                 = 51  // { int|sys||acct(const char *path); }
-       SYS_IOCTL                = 54  // { int|sys||ioctl(int fd, u_long com, ... void *data); }
-       SYS_REVOKE               = 56  // { int|sys||revoke(const char *path); }
-       SYS_SYMLINK              = 57  // { int|sys||symlink(const char *path, const char *link); }
-       SYS_READLINK             = 58  // { ssize_t|sys||readlink(const char *path, char *buf, size_t count); }
-       SYS_EXECVE               = 59  // { int|sys||execve(const char *path, char * const *argp, char * const *envp); }
-       SYS_UMASK                = 60  // { mode_t|sys||umask(mode_t newmask); }
-       SYS_CHROOT               = 61  // { int|sys||chroot(const char *path); }
-       SYS_VFORK                = 66  // { int|sys||vfork(void); }
-       SYS_SBRK                 = 69  // { int|sys||sbrk(intptr_t incr); }
-       SYS_SSTK                 = 70  // { int|sys||sstk(int incr); }
-       SYS_VADVISE              = 72  // { int|sys||ovadvise(int anom); }
-       SYS_MUNMAP               = 73  // { int|sys||munmap(void *addr, size_t len); }
-       SYS_MPROTECT             = 74  // { int|sys||mprotect(void *addr, size_t len, int prot); }
-       SYS_MADVISE              = 75  // { int|sys||madvise(void *addr, size_t len, int behav); }
-       SYS_MINCORE              = 78  // { int|sys||mincore(void *addr, size_t len, char *vec); }
-       SYS_GETGROUPS            = 79  // { int|sys||getgroups(int gidsetsize, gid_t *gidset); }
-       SYS_SETGROUPS            = 80  // { int|sys||setgroups(int gidsetsize, const gid_t *gidset); }
-       SYS_GETPGRP              = 81  // { int|sys||getpgrp(void); }
-       SYS_SETPGID              = 82  // { int|sys||setpgid(pid_t pid, pid_t pgid); }
-       SYS_DUP2                 = 90  // { int|sys||dup2(int from, int to); }
-       SYS_FCNTL                = 92  // { int|sys||fcntl(int fd, int cmd, ... void *arg); }
-       SYS_FSYNC                = 95  // { int|sys||fsync(int fd); }
-       SYS_SETPRIORITY          = 96  // { int|sys||setpriority(int which, id_t who, int prio); }
-       SYS_CONNECT              = 98  // { int|sys||connect(int s, const struct sockaddr *name, socklen_t namelen); }
-       SYS_GETPRIORITY          = 100 // { int|sys||getpriority(int which, id_t who); }
-       SYS_BIND                 = 104 // { int|sys||bind(int s, const struct sockaddr *name, socklen_t namelen); }
-       SYS_SETSOCKOPT           = 105 // { int|sys||setsockopt(int s, int level, int name, const void *val, socklen_t valsize); }
-       SYS_LISTEN               = 106 // { int|sys||listen(int s, int backlog); }
-       SYS_GETSOCKOPT           = 118 // { int|sys||getsockopt(int s, int level, int name, void *val, socklen_t *avalsize); }
-       SYS_READV                = 120 // { ssize_t|sys||readv(int fd, const struct iovec *iovp, int iovcnt); }
-       SYS_WRITEV               = 121 // { ssize_t|sys||writev(int fd, const struct iovec *iovp, int iovcnt); }
-       SYS_FCHOWN               = 123 // { int|sys||fchown(int fd, uid_t uid, gid_t gid); }
-       SYS_FCHMOD               = 124 // { int|sys||fchmod(int fd, mode_t mode); }
-       SYS_SETREUID             = 126 // { int|sys||setreuid(uid_t ruid, uid_t euid); }
-       SYS_SETREGID             = 127 // { int|sys||setregid(gid_t rgid, gid_t egid); }
-       SYS_RENAME               = 128 // { int|sys||rename(const char *from, const char *to); }
-       SYS_FLOCK                = 131 // { int|sys||flock(int fd, int how); }
-       SYS_MKFIFO               = 132 // { int|sys||mkfifo(const char *path, mode_t mode); }
-       SYS_SENDTO               = 133 // { ssize_t|sys||sendto(int s, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen); }
-       SYS_SHUTDOWN             = 134 // { int|sys||shutdown(int s, int how); }
-       SYS_SOCKETPAIR           = 135 // { int|sys||socketpair(int domain, int type, int protocol, int *rsv); }
-       SYS_MKDIR                = 136 // { int|sys||mkdir(const char *path, mode_t mode); }
-       SYS_RMDIR                = 137 // { int|sys||rmdir(const char *path); }
-       SYS_SETSID               = 147 // { int|sys||setsid(void); }
-       SYS_SYSARCH              = 165 // { int|sys||sysarch(int op, void *parms); }
-       SYS_PREAD                = 173 // { ssize_t|sys||pread(int fd, void *buf, size_t nbyte, int PAD, off_t offset); }
-       SYS_PWRITE               = 174 // { ssize_t|sys||pwrite(int fd, const void *buf, size_t nbyte, int PAD, off_t offset); }
-       SYS_NTP_ADJTIME          = 176 // { int|sys||ntp_adjtime(struct timex *tp); }
-       SYS_SETGID               = 181 // { int|sys||setgid(gid_t gid); }
-       SYS_SETEGID              = 182 // { int|sys||setegid(gid_t egid); }
-       SYS_SETEUID              = 183 // { int|sys||seteuid(uid_t euid); }
-       SYS_PATHCONF             = 191 // { long|sys||pathconf(const char *path, int name); }
-       SYS_FPATHCONF            = 192 // { long|sys||fpathconf(int fd, int name); }
-       SYS_GETRLIMIT            = 194 // { int|sys||getrlimit(int which, struct rlimit *rlp); }
-       SYS_SETRLIMIT            = 195 // { int|sys||setrlimit(int which, const struct rlimit *rlp); }
-       SYS_MMAP                 = 197 // { void *|sys||mmap(void *addr, size_t len, int prot, int flags, int fd, long PAD, off_t pos); }
-       SYS_LSEEK                = 199 // { off_t|sys||lseek(int fd, int PAD, off_t offset, int whence); }
-       SYS_TRUNCATE             = 200 // { int|sys||truncate(const char *path, int PAD, off_t length); }
-       SYS_FTRUNCATE            = 201 // { int|sys||ftruncate(int fd, int PAD, off_t length); }
-       SYS___SYSCTL             = 202 // { int|sys||__sysctl(const int *name, u_int namelen, void *old, size_t *oldlenp, const void *new, size_t newlen); }
-       SYS_MLOCK                = 203 // { int|sys||mlock(const void *addr, size_t len); }
-       SYS_MUNLOCK              = 204 // { int|sys||munlock(const void *addr, size_t len); }
-       SYS_UNDELETE             = 205 // { int|sys||undelete(const char *path); }
-       SYS_GETPGID              = 207 // { pid_t|sys||getpgid(pid_t pid); }
-       SYS_REBOOT               = 208 // { int|sys||reboot(int opt, char *bootstr); }
-       SYS_POLL                 = 209 // { int|sys||poll(struct pollfd *fds, u_int nfds, int timeout); }
-       SYS_SEMGET               = 221 // { int|sys||semget(key_t key, int nsems, int semflg); }
-       SYS_SEMOP                = 222 // { int|sys||semop(int semid, struct sembuf *sops, size_t nsops); }
-       SYS_SEMCONFIG            = 223 // { int|sys||semconfig(int flag); }
-       SYS_MSGGET               = 225 // { int|sys||msgget(key_t key, int msgflg); }
-       SYS_MSGSND               = 226 // { int|sys||msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
-       SYS_MSGRCV               = 227 // { ssize_t|sys||msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
-       SYS_SHMAT                = 228 // { void *|sys||shmat(int shmid, const void *shmaddr, int shmflg); }
-       SYS_SHMDT                = 230 // { int|sys||shmdt(const void *shmaddr); }
-       SYS_SHMGET               = 231 // { int|sys||shmget(key_t key, size_t size, int shmflg); }
-       SYS_TIMER_CREATE         = 235 // { int|sys||timer_create(clockid_t clock_id, struct sigevent *evp, timer_t *timerid); }
-       SYS_TIMER_DELETE         = 236 // { int|sys||timer_delete(timer_t timerid); }
-       SYS_TIMER_GETOVERRUN     = 239 // { int|sys||timer_getoverrun(timer_t timerid); }
-       SYS_FDATASYNC            = 241 // { int|sys||fdatasync(int fd); }
-       SYS_MLOCKALL             = 242 // { int|sys||mlockall(int flags); }
-       SYS_MUNLOCKALL           = 243 // { int|sys||munlockall(void); }
-       SYS_SIGQUEUEINFO         = 245 // { int|sys||sigqueueinfo(pid_t pid, const siginfo_t *info); }
-       SYS_MODCTL               = 246 // { int|sys||modctl(int cmd, void *arg); }
-       SYS___POSIX_RENAME       = 270 // { int|sys||__posix_rename(const char *from, const char *to); }
-       SYS_SWAPCTL              = 271 // { int|sys||swapctl(int cmd, void *arg, int misc); }
-       SYS_MINHERIT             = 273 // { int|sys||minherit(void *addr, size_t len, int inherit); }
-       SYS_LCHMOD               = 274 // { int|sys||lchmod(const char *path, mode_t mode); }
-       SYS_LCHOWN               = 275 // { int|sys||lchown(const char *path, uid_t uid, gid_t gid); }
-       SYS___POSIX_CHOWN        = 283 // { int|sys||__posix_chown(const char *path, uid_t uid, gid_t gid); }
-       SYS___POSIX_FCHOWN       = 284 // { int|sys||__posix_fchown(int fd, uid_t uid, gid_t gid); }
-       SYS___POSIX_LCHOWN       = 285 // { int|sys||__posix_lchown(const char *path, uid_t uid, gid_t gid); }
-       SYS_GETSID               = 286 // { pid_t|sys||getsid(pid_t pid); }
-       SYS___CLONE              = 287 // { pid_t|sys||__clone(int flags, void *stack); }
-       SYS_FKTRACE              = 288 // { int|sys||fktrace(int fd, int ops, int facs, pid_t pid); }
-       SYS_PREADV               = 289 // { ssize_t|sys||preadv(int fd, const struct iovec *iovp, int iovcnt, int PAD, off_t offset); }
-       SYS_PWRITEV              = 290 // { ssize_t|sys||pwritev(int fd, const struct iovec *iovp, int iovcnt, int PAD, off_t offset); }
-       SYS___GETCWD             = 296 // { int|sys||__getcwd(char *bufp, size_t length); }
-       SYS_FCHROOT              = 297 // { int|sys||fchroot(int fd); }
-       SYS_LCHFLAGS             = 304 // { int|sys||lchflags(const char *path, u_long flags); }
-       SYS_ISSETUGID            = 305 // { int|sys||issetugid(void); }
-       SYS_UTRACE               = 306 // { int|sys||utrace(const char *label, void *addr, size_t len); }
-       SYS_GETCONTEXT           = 307 // { int|sys||getcontext(struct __ucontext *ucp); }
-       SYS_SETCONTEXT           = 308 // { int|sys||setcontext(const struct __ucontext *ucp); }
-       SYS__LWP_CREATE          = 309 // { int|sys||_lwp_create(const struct __ucontext *ucp, u_long flags, lwpid_t *new_lwp); }
-       SYS__LWP_EXIT            = 310 // { int|sys||_lwp_exit(void); }
-       SYS__LWP_SELF            = 311 // { lwpid_t|sys||_lwp_self(void); }
-       SYS__LWP_WAIT            = 312 // { int|sys||_lwp_wait(lwpid_t wait_for, lwpid_t *departed); }
-       SYS__LWP_SUSPEND         = 313 // { int|sys||_lwp_suspend(lwpid_t target); }
-       SYS__LWP_CONTINUE        = 314 // { int|sys||_lwp_continue(lwpid_t target); }
-       SYS__LWP_WAKEUP          = 315 // { int|sys||_lwp_wakeup(lwpid_t target); }
-       SYS__LWP_GETPRIVATE      = 316 // { void *|sys||_lwp_getprivate(void); }
-       SYS__LWP_SETPRIVATE      = 317 // { void|sys||_lwp_setprivate(void *ptr); }
-       SYS__LWP_KILL            = 318 // { int|sys||_lwp_kill(lwpid_t target, int signo); }
-       SYS__LWP_DETACH          = 319 // { int|sys||_lwp_detach(lwpid_t target); }
-       SYS__LWP_UNPARK          = 321 // { int|sys||_lwp_unpark(lwpid_t target, const void *hint); }
-       SYS__LWP_UNPARK_ALL      = 322 // { ssize_t|sys||_lwp_unpark_all(const lwpid_t *targets, size_t ntargets, const void *hint); }
-       SYS__LWP_SETNAME         = 323 // { int|sys||_lwp_setname(lwpid_t target, const char *name); }
-       SYS__LWP_GETNAME         = 324 // { int|sys||_lwp_getname(lwpid_t target, char *name, size_t len); }
-       SYS__LWP_CTL             = 325 // { int|sys||_lwp_ctl(int features, struct lwpctl **address); }
-       SYS___SIGACTION_SIGTRAMP = 340 // { int|sys||__sigaction_sigtramp(int signum, const struct sigaction *nsa, struct sigaction *osa, const void *tramp, int vers); }
-       SYS_PMC_GET_INFO         = 341 // { int|sys||pmc_get_info(int ctr, int op, void *args); }
-       SYS_PMC_CONTROL          = 342 // { int|sys||pmc_control(int ctr, int op, void *args); }
-       SYS_RASCTL               = 343 // { int|sys||rasctl(void *addr, size_t len, int op); }
-       SYS_KQUEUE               = 344 // { int|sys||kqueue(void); }
-       SYS__SCHED_SETPARAM      = 346 // { int|sys||_sched_setparam(pid_t pid, lwpid_t lid, int policy, const struct sched_param *params); }
-       SYS__SCHED_GETPARAM      = 347 // { int|sys||_sched_getparam(pid_t pid, lwpid_t lid, int *policy, struct sched_param *params); }
-       SYS__SCHED_SETAFFINITY   = 348 // { int|sys||_sched_setaffinity(pid_t pid, lwpid_t lid, size_t size, const cpuset_t *cpuset); }
-       SYS__SCHED_GETAFFINITY   = 349 // { int|sys||_sched_getaffinity(pid_t pid, lwpid_t lid, size_t size, cpuset_t *cpuset); }
-       SYS_SCHED_YIELD          = 350 // { int|sys||sched_yield(void); }
-       SYS_FSYNC_RANGE          = 354 // { int|sys||fsync_range(int fd, int flags, off_t start, off_t length); }
-       SYS_UUIDGEN              = 355 // { int|sys||uuidgen(struct uuid *store, int count); }
-       SYS_GETVFSSTAT           = 356 // { int|sys||getvfsstat(struct statvfs *buf, size_t bufsize, int flags); }
-       SYS_STATVFS1             = 357 // { int|sys||statvfs1(const char *path, struct statvfs *buf, int flags); }
-       SYS_FSTATVFS1            = 358 // { int|sys||fstatvfs1(int fd, struct statvfs *buf, int flags); }
-       SYS_EXTATTRCTL           = 360 // { int|sys||extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_SET_FILE     = 361 // { int|sys||extattr_set_file(const char *path, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
-       SYS_EXTATTR_GET_FILE     = 362 // { ssize_t|sys||extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
-       SYS_EXTATTR_DELETE_FILE  = 363 // { int|sys||extattr_delete_file(const char *path, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_SET_FD       = 364 // { int|sys||extattr_set_fd(int fd, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
-       SYS_EXTATTR_GET_FD       = 365 // { ssize_t|sys||extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
-       SYS_EXTATTR_DELETE_FD    = 366 // { int|sys||extattr_delete_fd(int fd, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_SET_LINK     = 367 // { int|sys||extattr_set_link(const char *path, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
-       SYS_EXTATTR_GET_LINK     = 368 // { ssize_t|sys||extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
-       SYS_EXTATTR_DELETE_LINK  = 369 // { int|sys||extattr_delete_link(const char *path, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_LIST_FD      = 370 // { ssize_t|sys||extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); }
-       SYS_EXTATTR_LIST_FILE    = 371 // { ssize_t|sys||extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); }
-       SYS_EXTATTR_LIST_LINK    = 372 // { ssize_t|sys||extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); }
-       SYS_SETXATTR             = 375 // { int|sys||setxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
-       SYS_LSETXATTR            = 376 // { int|sys||lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
-       SYS_FSETXATTR            = 377 // { int|sys||fsetxattr(int fd, const char *name, const void *value, size_t size, int flags); }
-       SYS_GETXATTR             = 378 // { int|sys||getxattr(const char *path, const char *name, void *value, size_t size); }
-       SYS_LGETXATTR            = 379 // { int|sys||lgetxattr(const char *path, const char *name, void *value, size_t size); }
-       SYS_FGETXATTR            = 380 // { int|sys||fgetxattr(int fd, const char *name, void *value, size_t size); }
-       SYS_LISTXATTR            = 381 // { int|sys||listxattr(const char *path, char *list, size_t size); }
-       SYS_LLISTXATTR           = 382 // { int|sys||llistxattr(const char *path, char *list, size_t size); }
-       SYS_FLISTXATTR           = 383 // { int|sys||flistxattr(int fd, char *list, size_t size); }
-       SYS_REMOVEXATTR          = 384 // { int|sys||removexattr(const char *path, const char *name); }
-       SYS_LREMOVEXATTR         = 385 // { int|sys||lremovexattr(const char *path, const char *name); }
-       SYS_FREMOVEXATTR         = 386 // { int|sys||fremovexattr(int fd, const char *name); }
-       SYS_GETDENTS             = 390 // { int|sys|30|getdents(int fd, char *buf, size_t count); }
-       SYS_SOCKET               = 394 // { int|sys|30|socket(int domain, int type, int protocol); }
-       SYS_GETFH                = 395 // { int|sys|30|getfh(const char *fname, void *fhp, size_t *fh_size); }
-       SYS_MOUNT                = 410 // { int|sys|50|mount(const char *type, const char *path, int flags, void *data, size_t data_len); }
-       SYS_MREMAP               = 411 // { void *|sys||mremap(void *old_address, size_t old_size, void *new_address, size_t new_size, int flags); }
-       SYS_PSET_CREATE          = 412 // { int|sys||pset_create(psetid_t *psid); }
-       SYS_PSET_DESTROY         = 413 // { int|sys||pset_destroy(psetid_t psid); }
-       SYS_PSET_ASSIGN          = 414 // { int|sys||pset_assign(psetid_t psid, cpuid_t cpuid, psetid_t *opsid); }
-       SYS__PSET_BIND           = 415 // { int|sys||_pset_bind(idtype_t idtype, id_t first_id, id_t second_id, psetid_t psid, psetid_t *opsid); }
-       SYS_POSIX_FADVISE        = 416 // { int|sys|50|posix_fadvise(int fd, int PAD, off_t offset, off_t len, int advice); }
-       SYS_SELECT               = 417 // { int|sys|50|select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
-       SYS_GETTIMEOFDAY         = 418 // { int|sys|50|gettimeofday(struct timeval *tp, void *tzp); }
-       SYS_SETTIMEOFDAY         = 419 // { int|sys|50|settimeofday(const struct timeval *tv, const void *tzp); }
-       SYS_UTIMES               = 420 // { int|sys|50|utimes(const char *path, const struct timeval *tptr); }
-       SYS_ADJTIME              = 421 // { int|sys|50|adjtime(const struct timeval *delta, struct timeval *olddelta); }
-       SYS_FUTIMES              = 423 // { int|sys|50|futimes(int fd, const struct timeval *tptr); }
-       SYS_LUTIMES              = 424 // { int|sys|50|lutimes(const char *path, const struct timeval *tptr); }
-       SYS_SETITIMER            = 425 // { int|sys|50|setitimer(int which, const struct itimerval *itv, struct itimerval *oitv); }
-       SYS_GETITIMER            = 426 // { int|sys|50|getitimer(int which, struct itimerval *itv); }
-       SYS_CLOCK_GETTIME        = 427 // { int|sys|50|clock_gettime(clockid_t clock_id, struct timespec *tp); }
-       SYS_CLOCK_SETTIME        = 428 // { int|sys|50|clock_settime(clockid_t clock_id, const struct timespec *tp); }
-       SYS_CLOCK_GETRES         = 429 // { int|sys|50|clock_getres(clockid_t clock_id, struct timespec *tp); }
-       SYS_NANOSLEEP            = 430 // { int|sys|50|nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
-       SYS___SIGTIMEDWAIT       = 431 // { int|sys|50|__sigtimedwait(const sigset_t *set, siginfo_t *info, struct timespec *timeout); }
-       SYS__LWP_PARK            = 434 // { int|sys|50|_lwp_park(const struct timespec *ts, lwpid_t unpark, const void *hint, const void *unparkhint); }
-       SYS_KEVENT               = 435 // { int|sys|50|kevent(int fd, const struct kevent *changelist, size_t nchanges, struct kevent *eventlist, size_t nevents, const struct timespec *timeout); }
-       SYS_PSELECT              = 436 // { int|sys|50|pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *mask); }
-       SYS_POLLTS               = 437 // { int|sys|50|pollts(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *mask); }
-       SYS_STAT                 = 439 // { int|sys|50|stat(const char *path, struct stat *ub); }
-       SYS_FSTAT                = 440 // { int|sys|50|fstat(int fd, struct stat *sb); }
-       SYS_LSTAT                = 441 // { int|sys|50|lstat(const char *path, struct stat *ub); }
-       SYS___SEMCTL             = 442 // { int|sys|50|__semctl(int semid, int semnum, int cmd, ... union __semun *arg); }
-       SYS_SHMCTL               = 443 // { int|sys|50|shmctl(int shmid, int cmd, struct shmid_ds *buf); }
-       SYS_MSGCTL               = 444 // { int|sys|50|msgctl(int msqid, int cmd, struct msqid_ds *buf); }
-       SYS_GETRUSAGE            = 445 // { int|sys|50|getrusage(int who, struct rusage *rusage); }
-       SYS_TIMER_SETTIME        = 446 // { int|sys|50|timer_settime(timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue); }
-       SYS_TIMER_GETTIME        = 447 // { int|sys|50|timer_gettime(timer_t timerid, struct itimerspec *value); }
-       SYS_NTP_GETTIME          = 448 // { int|sys|50|ntp_gettime(struct ntptimeval *ntvp); }
-       SYS_WAIT4                = 449 // { int|sys|50|wait4(pid_t pid, int *status, int options, struct rusage *rusage); }
-       SYS_MKNOD                = 450 // { int|sys|50|mknod(const char *path, mode_t mode, dev_t dev); }
-       SYS_FHSTAT               = 451 // { int|sys|50|fhstat(const void *fhp, size_t fh_size, struct stat *sb); }
-       SYS_PIPE2                = 453 // { int|sys||pipe2(int *fildes, int flags); }
-       SYS_DUP3                 = 454 // { int|sys||dup3(int from, int to, int flags); }
-       SYS_KQUEUE1              = 455 // { int|sys||kqueue1(int flags); }
-       SYS_PACCEPT              = 456 // { int|sys||paccept(int s, struct sockaddr *name, socklen_t *anamelen, const sigset_t *mask, int flags); }
-       SYS_LINKAT               = 457 // { int|sys||linkat(int fd1, const char *name1, int fd2, const char *name2, int flags); }
-       SYS_RENAMEAT             = 458 // { int|sys||renameat(int fromfd, const char *from, int tofd, const char *to); }
-       SYS_MKFIFOAT             = 459 // { int|sys||mkfifoat(int fd, const char *path, mode_t mode); }
-       SYS_MKNODAT              = 460 // { int|sys||mknodat(int fd, const char *path, mode_t mode, uint32_t dev); }
-       SYS_MKDIRAT              = 461 // { int|sys||mkdirat(int fd, const char *path, mode_t mode); }
-       SYS_FACCESSAT            = 462 // { int|sys||faccessat(int fd, const char *path, int amode, int flag); }
-       SYS_FCHMODAT             = 463 // { int|sys||fchmodat(int fd, const char *path, mode_t mode, int flag); }
-       SYS_FCHOWNAT             = 464 // { int|sys||fchownat(int fd, const char *path, uid_t owner, gid_t group, int flag); }
-       SYS_FEXECVE              = 465 // { int|sys||fexecve(int fd, char * const *argp, char * const *envp); }
-       SYS_FSTATAT              = 466 // { int|sys||fstatat(int fd, const char *path, struct stat *buf, int flag); }
-       SYS_UTIMENSAT            = 467 // { int|sys||utimensat(int fd, const char *path, const struct timespec *tptr, int flag); }
-       SYS_OPENAT               = 468 // { int|sys||openat(int fd, const char *path, int oflags, ... mode_t mode); }
-       SYS_READLINKAT           = 469 // { int|sys||readlinkat(int fd, const char *path, char *buf, size_t bufsize); }
-       SYS_SYMLINKAT            = 470 // { int|sys||symlinkat(const char *path1, int fd, const char *path2); }
-       SYS_UNLINKAT             = 471 // { int|sys||unlinkat(int fd, const char *path, int flag); }
-       SYS_FUTIMENS             = 472 // { int|sys||futimens(int fd, const struct timespec *tptr); }
-       SYS___QUOTACTL           = 473 // { int|sys||__quotactl(const char *path, struct quotactl_args *args); }
-       SYS_POSIX_SPAWN          = 474 // { int|sys||posix_spawn(pid_t *pid, const char *path, const struct posix_spawn_file_actions *file_actions, const struct posix_spawnattr *attrp, char *const *argv, char *const *envp); }
-       SYS_RECVMMSG             = 475 // { int|sys||recvmmsg(int s, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags, struct timespec *timeout); }
-       SYS_SENDMMSG             = 476 // { int|sys||sendmmsg(int s, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags); }
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go
deleted file mode 100644 (file)
index 48a91d4..0000000
+++ /dev/null
@@ -1,273 +0,0 @@
-// mksysnum_netbsd.pl
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build amd64,netbsd
-
-package unix
-
-const (
-       SYS_EXIT                 = 1   // { void|sys||exit(int rval); }
-       SYS_FORK                 = 2   // { int|sys||fork(void); }
-       SYS_READ                 = 3   // { ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
-       SYS_WRITE                = 4   // { ssize_t|sys||write(int fd, const void *buf, size_t nbyte); }
-       SYS_OPEN                 = 5   // { int|sys||open(const char *path, int flags, ... mode_t mode); }
-       SYS_CLOSE                = 6   // { int|sys||close(int fd); }
-       SYS_LINK                 = 9   // { int|sys||link(const char *path, const char *link); }
-       SYS_UNLINK               = 10  // { int|sys||unlink(const char *path); }
-       SYS_CHDIR                = 12  // { int|sys||chdir(const char *path); }
-       SYS_FCHDIR               = 13  // { int|sys||fchdir(int fd); }
-       SYS_CHMOD                = 15  // { int|sys||chmod(const char *path, mode_t mode); }
-       SYS_CHOWN                = 16  // { int|sys||chown(const char *path, uid_t uid, gid_t gid); }
-       SYS_BREAK                = 17  // { int|sys||obreak(char *nsize); }
-       SYS_GETPID               = 20  // { pid_t|sys||getpid_with_ppid(void); }
-       SYS_UNMOUNT              = 22  // { int|sys||unmount(const char *path, int flags); }
-       SYS_SETUID               = 23  // { int|sys||setuid(uid_t uid); }
-       SYS_GETUID               = 24  // { uid_t|sys||getuid_with_euid(void); }
-       SYS_GETEUID              = 25  // { uid_t|sys||geteuid(void); }
-       SYS_PTRACE               = 26  // { int|sys||ptrace(int req, pid_t pid, void *addr, int data); }
-       SYS_RECVMSG              = 27  // { ssize_t|sys||recvmsg(int s, struct msghdr *msg, int flags); }
-       SYS_SENDMSG              = 28  // { ssize_t|sys||sendmsg(int s, const struct msghdr *msg, int flags); }
-       SYS_RECVFROM             = 29  // { ssize_t|sys||recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlenaddr); }
-       SYS_ACCEPT               = 30  // { int|sys||accept(int s, struct sockaddr *name, socklen_t *anamelen); }
-       SYS_GETPEERNAME          = 31  // { int|sys||getpeername(int fdes, struct sockaddr *asa, socklen_t *alen); }
-       SYS_GETSOCKNAME          = 32  // { int|sys||getsockname(int fdes, struct sockaddr *asa, socklen_t *alen); }
-       SYS_ACCESS               = 33  // { int|sys||access(const char *path, int flags); }
-       SYS_CHFLAGS              = 34  // { int|sys||chflags(const char *path, u_long flags); }
-       SYS_FCHFLAGS             = 35  // { int|sys||fchflags(int fd, u_long flags); }
-       SYS_SYNC                 = 36  // { void|sys||sync(void); }
-       SYS_KILL                 = 37  // { int|sys||kill(pid_t pid, int signum); }
-       SYS_GETPPID              = 39  // { pid_t|sys||getppid(void); }
-       SYS_DUP                  = 41  // { int|sys||dup(int fd); }
-       SYS_PIPE                 = 42  // { int|sys||pipe(void); }
-       SYS_GETEGID              = 43  // { gid_t|sys||getegid(void); }
-       SYS_PROFIL               = 44  // { int|sys||profil(char *samples, size_t size, u_long offset, u_int scale); }
-       SYS_KTRACE               = 45  // { int|sys||ktrace(const char *fname, int ops, int facs, pid_t pid); }
-       SYS_GETGID               = 47  // { gid_t|sys||getgid_with_egid(void); }
-       SYS___GETLOGIN           = 49  // { int|sys||__getlogin(char *namebuf, size_t namelen); }
-       SYS___SETLOGIN           = 50  // { int|sys||__setlogin(const char *namebuf); }
-       SYS_ACCT                 = 51  // { int|sys||acct(const char *path); }
-       SYS_IOCTL                = 54  // { int|sys||ioctl(int fd, u_long com, ... void *data); }
-       SYS_REVOKE               = 56  // { int|sys||revoke(const char *path); }
-       SYS_SYMLINK              = 57  // { int|sys||symlink(const char *path, const char *link); }
-       SYS_READLINK             = 58  // { ssize_t|sys||readlink(const char *path, char *buf, size_t count); }
-       SYS_EXECVE               = 59  // { int|sys||execve(const char *path, char * const *argp, char * const *envp); }
-       SYS_UMASK                = 60  // { mode_t|sys||umask(mode_t newmask); }
-       SYS_CHROOT               = 61  // { int|sys||chroot(const char *path); }
-       SYS_VFORK                = 66  // { int|sys||vfork(void); }
-       SYS_SBRK                 = 69  // { int|sys||sbrk(intptr_t incr); }
-       SYS_SSTK                 = 70  // { int|sys||sstk(int incr); }
-       SYS_VADVISE              = 72  // { int|sys||ovadvise(int anom); }
-       SYS_MUNMAP               = 73  // { int|sys||munmap(void *addr, size_t len); }
-       SYS_MPROTECT             = 74  // { int|sys||mprotect(void *addr, size_t len, int prot); }
-       SYS_MADVISE              = 75  // { int|sys||madvise(void *addr, size_t len, int behav); }
-       SYS_MINCORE              = 78  // { int|sys||mincore(void *addr, size_t len, char *vec); }
-       SYS_GETGROUPS            = 79  // { int|sys||getgroups(int gidsetsize, gid_t *gidset); }
-       SYS_SETGROUPS            = 80  // { int|sys||setgroups(int gidsetsize, const gid_t *gidset); }
-       SYS_GETPGRP              = 81  // { int|sys||getpgrp(void); }
-       SYS_SETPGID              = 82  // { int|sys||setpgid(pid_t pid, pid_t pgid); }
-       SYS_DUP2                 = 90  // { int|sys||dup2(int from, int to); }
-       SYS_FCNTL                = 92  // { int|sys||fcntl(int fd, int cmd, ... void *arg); }
-       SYS_FSYNC                = 95  // { int|sys||fsync(int fd); }
-       SYS_SETPRIORITY          = 96  // { int|sys||setpriority(int which, id_t who, int prio); }
-       SYS_CONNECT              = 98  // { int|sys||connect(int s, const struct sockaddr *name, socklen_t namelen); }
-       SYS_GETPRIORITY          = 100 // { int|sys||getpriority(int which, id_t who); }
-       SYS_BIND                 = 104 // { int|sys||bind(int s, const struct sockaddr *name, socklen_t namelen); }
-       SYS_SETSOCKOPT           = 105 // { int|sys||setsockopt(int s, int level, int name, const void *val, socklen_t valsize); }
-       SYS_LISTEN               = 106 // { int|sys||listen(int s, int backlog); }
-       SYS_GETSOCKOPT           = 118 // { int|sys||getsockopt(int s, int level, int name, void *val, socklen_t *avalsize); }
-       SYS_READV                = 120 // { ssize_t|sys||readv(int fd, const struct iovec *iovp, int iovcnt); }
-       SYS_WRITEV               = 121 // { ssize_t|sys||writev(int fd, const struct iovec *iovp, int iovcnt); }
-       SYS_FCHOWN               = 123 // { int|sys||fchown(int fd, uid_t uid, gid_t gid); }
-       SYS_FCHMOD               = 124 // { int|sys||fchmod(int fd, mode_t mode); }
-       SYS_SETREUID             = 126 // { int|sys||setreuid(uid_t ruid, uid_t euid); }
-       SYS_SETREGID             = 127 // { int|sys||setregid(gid_t rgid, gid_t egid); }
-       SYS_RENAME               = 128 // { int|sys||rename(const char *from, const char *to); }
-       SYS_FLOCK                = 131 // { int|sys||flock(int fd, int how); }
-       SYS_MKFIFO               = 132 // { int|sys||mkfifo(const char *path, mode_t mode); }
-       SYS_SENDTO               = 133 // { ssize_t|sys||sendto(int s, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen); }
-       SYS_SHUTDOWN             = 134 // { int|sys||shutdown(int s, int how); }
-       SYS_SOCKETPAIR           = 135 // { int|sys||socketpair(int domain, int type, int protocol, int *rsv); }
-       SYS_MKDIR                = 136 // { int|sys||mkdir(const char *path, mode_t mode); }
-       SYS_RMDIR                = 137 // { int|sys||rmdir(const char *path); }
-       SYS_SETSID               = 147 // { int|sys||setsid(void); }
-       SYS_SYSARCH              = 165 // { int|sys||sysarch(int op, void *parms); }
-       SYS_PREAD                = 173 // { ssize_t|sys||pread(int fd, void *buf, size_t nbyte, int PAD, off_t offset); }
-       SYS_PWRITE               = 174 // { ssize_t|sys||pwrite(int fd, const void *buf, size_t nbyte, int PAD, off_t offset); }
-       SYS_NTP_ADJTIME          = 176 // { int|sys||ntp_adjtime(struct timex *tp); }
-       SYS_SETGID               = 181 // { int|sys||setgid(gid_t gid); }
-       SYS_SETEGID              = 182 // { int|sys||setegid(gid_t egid); }
-       SYS_SETEUID              = 183 // { int|sys||seteuid(uid_t euid); }
-       SYS_PATHCONF             = 191 // { long|sys||pathconf(const char *path, int name); }
-       SYS_FPATHCONF            = 192 // { long|sys||fpathconf(int fd, int name); }
-       SYS_GETRLIMIT            = 194 // { int|sys||getrlimit(int which, struct rlimit *rlp); }
-       SYS_SETRLIMIT            = 195 // { int|sys||setrlimit(int which, const struct rlimit *rlp); }
-       SYS_MMAP                 = 197 // { void *|sys||mmap(void *addr, size_t len, int prot, int flags, int fd, long PAD, off_t pos); }
-       SYS_LSEEK                = 199 // { off_t|sys||lseek(int fd, int PAD, off_t offset, int whence); }
-       SYS_TRUNCATE             = 200 // { int|sys||truncate(const char *path, int PAD, off_t length); }
-       SYS_FTRUNCATE            = 201 // { int|sys||ftruncate(int fd, int PAD, off_t length); }
-       SYS___SYSCTL             = 202 // { int|sys||__sysctl(const int *name, u_int namelen, void *old, size_t *oldlenp, const void *new, size_t newlen); }
-       SYS_MLOCK                = 203 // { int|sys||mlock(const void *addr, size_t len); }
-       SYS_MUNLOCK              = 204 // { int|sys||munlock(const void *addr, size_t len); }
-       SYS_UNDELETE             = 205 // { int|sys||undelete(const char *path); }
-       SYS_GETPGID              = 207 // { pid_t|sys||getpgid(pid_t pid); }
-       SYS_REBOOT               = 208 // { int|sys||reboot(int opt, char *bootstr); }
-       SYS_POLL                 = 209 // { int|sys||poll(struct pollfd *fds, u_int nfds, int timeout); }
-       SYS_SEMGET               = 221 // { int|sys||semget(key_t key, int nsems, int semflg); }
-       SYS_SEMOP                = 222 // { int|sys||semop(int semid, struct sembuf *sops, size_t nsops); }
-       SYS_SEMCONFIG            = 223 // { int|sys||semconfig(int flag); }
-       SYS_MSGGET               = 225 // { int|sys||msgget(key_t key, int msgflg); }
-       SYS_MSGSND               = 226 // { int|sys||msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
-       SYS_MSGRCV               = 227 // { ssize_t|sys||msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
-       SYS_SHMAT                = 228 // { void *|sys||shmat(int shmid, const void *shmaddr, int shmflg); }
-       SYS_SHMDT                = 230 // { int|sys||shmdt(const void *shmaddr); }
-       SYS_SHMGET               = 231 // { int|sys||shmget(key_t key, size_t size, int shmflg); }
-       SYS_TIMER_CREATE         = 235 // { int|sys||timer_create(clockid_t clock_id, struct sigevent *evp, timer_t *timerid); }
-       SYS_TIMER_DELETE         = 236 // { int|sys||timer_delete(timer_t timerid); }
-       SYS_TIMER_GETOVERRUN     = 239 // { int|sys||timer_getoverrun(timer_t timerid); }
-       SYS_FDATASYNC            = 241 // { int|sys||fdatasync(int fd); }
-       SYS_MLOCKALL             = 242 // { int|sys||mlockall(int flags); }
-       SYS_MUNLOCKALL           = 243 // { int|sys||munlockall(void); }
-       SYS_SIGQUEUEINFO         = 245 // { int|sys||sigqueueinfo(pid_t pid, const siginfo_t *info); }
-       SYS_MODCTL               = 246 // { int|sys||modctl(int cmd, void *arg); }
-       SYS___POSIX_RENAME       = 270 // { int|sys||__posix_rename(const char *from, const char *to); }
-       SYS_SWAPCTL              = 271 // { int|sys||swapctl(int cmd, void *arg, int misc); }
-       SYS_MINHERIT             = 273 // { int|sys||minherit(void *addr, size_t len, int inherit); }
-       SYS_LCHMOD               = 274 // { int|sys||lchmod(const char *path, mode_t mode); }
-       SYS_LCHOWN               = 275 // { int|sys||lchown(const char *path, uid_t uid, gid_t gid); }
-       SYS___POSIX_CHOWN        = 283 // { int|sys||__posix_chown(const char *path, uid_t uid, gid_t gid); }
-       SYS___POSIX_FCHOWN       = 284 // { int|sys||__posix_fchown(int fd, uid_t uid, gid_t gid); }
-       SYS___POSIX_LCHOWN       = 285 // { int|sys||__posix_lchown(const char *path, uid_t uid, gid_t gid); }
-       SYS_GETSID               = 286 // { pid_t|sys||getsid(pid_t pid); }
-       SYS___CLONE              = 287 // { pid_t|sys||__clone(int flags, void *stack); }
-       SYS_FKTRACE              = 288 // { int|sys||fktrace(int fd, int ops, int facs, pid_t pid); }
-       SYS_PREADV               = 289 // { ssize_t|sys||preadv(int fd, const struct iovec *iovp, int iovcnt, int PAD, off_t offset); }
-       SYS_PWRITEV              = 290 // { ssize_t|sys||pwritev(int fd, const struct iovec *iovp, int iovcnt, int PAD, off_t offset); }
-       SYS___GETCWD             = 296 // { int|sys||__getcwd(char *bufp, size_t length); }
-       SYS_FCHROOT              = 297 // { int|sys||fchroot(int fd); }
-       SYS_LCHFLAGS             = 304 // { int|sys||lchflags(const char *path, u_long flags); }
-       SYS_ISSETUGID            = 305 // { int|sys||issetugid(void); }
-       SYS_UTRACE               = 306 // { int|sys||utrace(const char *label, void *addr, size_t len); }
-       SYS_GETCONTEXT           = 307 // { int|sys||getcontext(struct __ucontext *ucp); }
-       SYS_SETCONTEXT           = 308 // { int|sys||setcontext(const struct __ucontext *ucp); }
-       SYS__LWP_CREATE          = 309 // { int|sys||_lwp_create(const struct __ucontext *ucp, u_long flags, lwpid_t *new_lwp); }
-       SYS__LWP_EXIT            = 310 // { int|sys||_lwp_exit(void); }
-       SYS__LWP_SELF            = 311 // { lwpid_t|sys||_lwp_self(void); }
-       SYS__LWP_WAIT            = 312 // { int|sys||_lwp_wait(lwpid_t wait_for, lwpid_t *departed); }
-       SYS__LWP_SUSPEND         = 313 // { int|sys||_lwp_suspend(lwpid_t target); }
-       SYS__LWP_CONTINUE        = 314 // { int|sys||_lwp_continue(lwpid_t target); }
-       SYS__LWP_WAKEUP          = 315 // { int|sys||_lwp_wakeup(lwpid_t target); }
-       SYS__LWP_GETPRIVATE      = 316 // { void *|sys||_lwp_getprivate(void); }
-       SYS__LWP_SETPRIVATE      = 317 // { void|sys||_lwp_setprivate(void *ptr); }
-       SYS__LWP_KILL            = 318 // { int|sys||_lwp_kill(lwpid_t target, int signo); }
-       SYS__LWP_DETACH          = 319 // { int|sys||_lwp_detach(lwpid_t target); }
-       SYS__LWP_UNPARK          = 321 // { int|sys||_lwp_unpark(lwpid_t target, const void *hint); }
-       SYS__LWP_UNPARK_ALL      = 322 // { ssize_t|sys||_lwp_unpark_all(const lwpid_t *targets, size_t ntargets, const void *hint); }
-       SYS__LWP_SETNAME         = 323 // { int|sys||_lwp_setname(lwpid_t target, const char *name); }
-       SYS__LWP_GETNAME         = 324 // { int|sys||_lwp_getname(lwpid_t target, char *name, size_t len); }
-       SYS__LWP_CTL             = 325 // { int|sys||_lwp_ctl(int features, struct lwpctl **address); }
-       SYS___SIGACTION_SIGTRAMP = 340 // { int|sys||__sigaction_sigtramp(int signum, const struct sigaction *nsa, struct sigaction *osa, const void *tramp, int vers); }
-       SYS_PMC_GET_INFO         = 341 // { int|sys||pmc_get_info(int ctr, int op, void *args); }
-       SYS_PMC_CONTROL          = 342 // { int|sys||pmc_control(int ctr, int op, void *args); }
-       SYS_RASCTL               = 343 // { int|sys||rasctl(void *addr, size_t len, int op); }
-       SYS_KQUEUE               = 344 // { int|sys||kqueue(void); }
-       SYS__SCHED_SETPARAM      = 346 // { int|sys||_sched_setparam(pid_t pid, lwpid_t lid, int policy, const struct sched_param *params); }
-       SYS__SCHED_GETPARAM      = 347 // { int|sys||_sched_getparam(pid_t pid, lwpid_t lid, int *policy, struct sched_param *params); }
-       SYS__SCHED_SETAFFINITY   = 348 // { int|sys||_sched_setaffinity(pid_t pid, lwpid_t lid, size_t size, const cpuset_t *cpuset); }
-       SYS__SCHED_GETAFFINITY   = 349 // { int|sys||_sched_getaffinity(pid_t pid, lwpid_t lid, size_t size, cpuset_t *cpuset); }
-       SYS_SCHED_YIELD          = 350 // { int|sys||sched_yield(void); }
-       SYS_FSYNC_RANGE          = 354 // { int|sys||fsync_range(int fd, int flags, off_t start, off_t length); }
-       SYS_UUIDGEN              = 355 // { int|sys||uuidgen(struct uuid *store, int count); }
-       SYS_GETVFSSTAT           = 356 // { int|sys||getvfsstat(struct statvfs *buf, size_t bufsize, int flags); }
-       SYS_STATVFS1             = 357 // { int|sys||statvfs1(const char *path, struct statvfs *buf, int flags); }
-       SYS_FSTATVFS1            = 358 // { int|sys||fstatvfs1(int fd, struct statvfs *buf, int flags); }
-       SYS_EXTATTRCTL           = 360 // { int|sys||extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_SET_FILE     = 361 // { int|sys||extattr_set_file(const char *path, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
-       SYS_EXTATTR_GET_FILE     = 362 // { ssize_t|sys||extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
-       SYS_EXTATTR_DELETE_FILE  = 363 // { int|sys||extattr_delete_file(const char *path, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_SET_FD       = 364 // { int|sys||extattr_set_fd(int fd, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
-       SYS_EXTATTR_GET_FD       = 365 // { ssize_t|sys||extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
-       SYS_EXTATTR_DELETE_FD    = 366 // { int|sys||extattr_delete_fd(int fd, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_SET_LINK     = 367 // { int|sys||extattr_set_link(const char *path, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
-       SYS_EXTATTR_GET_LINK     = 368 // { ssize_t|sys||extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
-       SYS_EXTATTR_DELETE_LINK  = 369 // { int|sys||extattr_delete_link(const char *path, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_LIST_FD      = 370 // { ssize_t|sys||extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); }
-       SYS_EXTATTR_LIST_FILE    = 371 // { ssize_t|sys||extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); }
-       SYS_EXTATTR_LIST_LINK    = 372 // { ssize_t|sys||extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); }
-       SYS_SETXATTR             = 375 // { int|sys||setxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
-       SYS_LSETXATTR            = 376 // { int|sys||lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
-       SYS_FSETXATTR            = 377 // { int|sys||fsetxattr(int fd, const char *name, const void *value, size_t size, int flags); }
-       SYS_GETXATTR             = 378 // { int|sys||getxattr(const char *path, const char *name, void *value, size_t size); }
-       SYS_LGETXATTR            = 379 // { int|sys||lgetxattr(const char *path, const char *name, void *value, size_t size); }
-       SYS_FGETXATTR            = 380 // { int|sys||fgetxattr(int fd, const char *name, void *value, size_t size); }
-       SYS_LISTXATTR            = 381 // { int|sys||listxattr(const char *path, char *list, size_t size); }
-       SYS_LLISTXATTR           = 382 // { int|sys||llistxattr(const char *path, char *list, size_t size); }
-       SYS_FLISTXATTR           = 383 // { int|sys||flistxattr(int fd, char *list, size_t size); }
-       SYS_REMOVEXATTR          = 384 // { int|sys||removexattr(const char *path, const char *name); }
-       SYS_LREMOVEXATTR         = 385 // { int|sys||lremovexattr(const char *path, const char *name); }
-       SYS_FREMOVEXATTR         = 386 // { int|sys||fremovexattr(int fd, const char *name); }
-       SYS_GETDENTS             = 390 // { int|sys|30|getdents(int fd, char *buf, size_t count); }
-       SYS_SOCKET               = 394 // { int|sys|30|socket(int domain, int type, int protocol); }
-       SYS_GETFH                = 395 // { int|sys|30|getfh(const char *fname, void *fhp, size_t *fh_size); }
-       SYS_MOUNT                = 410 // { int|sys|50|mount(const char *type, const char *path, int flags, void *data, size_t data_len); }
-       SYS_MREMAP               = 411 // { void *|sys||mremap(void *old_address, size_t old_size, void *new_address, size_t new_size, int flags); }
-       SYS_PSET_CREATE          = 412 // { int|sys||pset_create(psetid_t *psid); }
-       SYS_PSET_DESTROY         = 413 // { int|sys||pset_destroy(psetid_t psid); }
-       SYS_PSET_ASSIGN          = 414 // { int|sys||pset_assign(psetid_t psid, cpuid_t cpuid, psetid_t *opsid); }
-       SYS__PSET_BIND           = 415 // { int|sys||_pset_bind(idtype_t idtype, id_t first_id, id_t second_id, psetid_t psid, psetid_t *opsid); }
-       SYS_POSIX_FADVISE        = 416 // { int|sys|50|posix_fadvise(int fd, int PAD, off_t offset, off_t len, int advice); }
-       SYS_SELECT               = 417 // { int|sys|50|select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
-       SYS_GETTIMEOFDAY         = 418 // { int|sys|50|gettimeofday(struct timeval *tp, void *tzp); }
-       SYS_SETTIMEOFDAY         = 419 // { int|sys|50|settimeofday(const struct timeval *tv, const void *tzp); }
-       SYS_UTIMES               = 420 // { int|sys|50|utimes(const char *path, const struct timeval *tptr); }
-       SYS_ADJTIME              = 421 // { int|sys|50|adjtime(const struct timeval *delta, struct timeval *olddelta); }
-       SYS_FUTIMES              = 423 // { int|sys|50|futimes(int fd, const struct timeval *tptr); }
-       SYS_LUTIMES              = 424 // { int|sys|50|lutimes(const char *path, const struct timeval *tptr); }
-       SYS_SETITIMER            = 425 // { int|sys|50|setitimer(int which, const struct itimerval *itv, struct itimerval *oitv); }
-       SYS_GETITIMER            = 426 // { int|sys|50|getitimer(int which, struct itimerval *itv); }
-       SYS_CLOCK_GETTIME        = 427 // { int|sys|50|clock_gettime(clockid_t clock_id, struct timespec *tp); }
-       SYS_CLOCK_SETTIME        = 428 // { int|sys|50|clock_settime(clockid_t clock_id, const struct timespec *tp); }
-       SYS_CLOCK_GETRES         = 429 // { int|sys|50|clock_getres(clockid_t clock_id, struct timespec *tp); }
-       SYS_NANOSLEEP            = 430 // { int|sys|50|nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
-       SYS___SIGTIMEDWAIT       = 431 // { int|sys|50|__sigtimedwait(const sigset_t *set, siginfo_t *info, struct timespec *timeout); }
-       SYS__LWP_PARK            = 434 // { int|sys|50|_lwp_park(const struct timespec *ts, lwpid_t unpark, const void *hint, const void *unparkhint); }
-       SYS_KEVENT               = 435 // { int|sys|50|kevent(int fd, const struct kevent *changelist, size_t nchanges, struct kevent *eventlist, size_t nevents, const struct timespec *timeout); }
-       SYS_PSELECT              = 436 // { int|sys|50|pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *mask); }
-       SYS_POLLTS               = 437 // { int|sys|50|pollts(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *mask); }
-       SYS_STAT                 = 439 // { int|sys|50|stat(const char *path, struct stat *ub); }
-       SYS_FSTAT                = 440 // { int|sys|50|fstat(int fd, struct stat *sb); }
-       SYS_LSTAT                = 441 // { int|sys|50|lstat(const char *path, struct stat *ub); }
-       SYS___SEMCTL             = 442 // { int|sys|50|__semctl(int semid, int semnum, int cmd, ... union __semun *arg); }
-       SYS_SHMCTL               = 443 // { int|sys|50|shmctl(int shmid, int cmd, struct shmid_ds *buf); }
-       SYS_MSGCTL               = 444 // { int|sys|50|msgctl(int msqid, int cmd, struct msqid_ds *buf); }
-       SYS_GETRUSAGE            = 445 // { int|sys|50|getrusage(int who, struct rusage *rusage); }
-       SYS_TIMER_SETTIME        = 446 // { int|sys|50|timer_settime(timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue); }
-       SYS_TIMER_GETTIME        = 447 // { int|sys|50|timer_gettime(timer_t timerid, struct itimerspec *value); }
-       SYS_NTP_GETTIME          = 448 // { int|sys|50|ntp_gettime(struct ntptimeval *ntvp); }
-       SYS_WAIT4                = 449 // { int|sys|50|wait4(pid_t pid, int *status, int options, struct rusage *rusage); }
-       SYS_MKNOD                = 450 // { int|sys|50|mknod(const char *path, mode_t mode, dev_t dev); }
-       SYS_FHSTAT               = 451 // { int|sys|50|fhstat(const void *fhp, size_t fh_size, struct stat *sb); }
-       SYS_PIPE2                = 453 // { int|sys||pipe2(int *fildes, int flags); }
-       SYS_DUP3                 = 454 // { int|sys||dup3(int from, int to, int flags); }
-       SYS_KQUEUE1              = 455 // { int|sys||kqueue1(int flags); }
-       SYS_PACCEPT              = 456 // { int|sys||paccept(int s, struct sockaddr *name, socklen_t *anamelen, const sigset_t *mask, int flags); }
-       SYS_LINKAT               = 457 // { int|sys||linkat(int fd1, const char *name1, int fd2, const char *name2, int flags); }
-       SYS_RENAMEAT             = 458 // { int|sys||renameat(int fromfd, const char *from, int tofd, const char *to); }
-       SYS_MKFIFOAT             = 459 // { int|sys||mkfifoat(int fd, const char *path, mode_t mode); }
-       SYS_MKNODAT              = 460 // { int|sys||mknodat(int fd, const char *path, mode_t mode, uint32_t dev); }
-       SYS_MKDIRAT              = 461 // { int|sys||mkdirat(int fd, const char *path, mode_t mode); }
-       SYS_FACCESSAT            = 462 // { int|sys||faccessat(int fd, const char *path, int amode, int flag); }
-       SYS_FCHMODAT             = 463 // { int|sys||fchmodat(int fd, const char *path, mode_t mode, int flag); }
-       SYS_FCHOWNAT             = 464 // { int|sys||fchownat(int fd, const char *path, uid_t owner, gid_t group, int flag); }
-       SYS_FEXECVE              = 465 // { int|sys||fexecve(int fd, char * const *argp, char * const *envp); }
-       SYS_FSTATAT              = 466 // { int|sys||fstatat(int fd, const char *path, struct stat *buf, int flag); }
-       SYS_UTIMENSAT            = 467 // { int|sys||utimensat(int fd, const char *path, const struct timespec *tptr, int flag); }
-       SYS_OPENAT               = 468 // { int|sys||openat(int fd, const char *path, int oflags, ... mode_t mode); }
-       SYS_READLINKAT           = 469 // { int|sys||readlinkat(int fd, const char *path, char *buf, size_t bufsize); }
-       SYS_SYMLINKAT            = 470 // { int|sys||symlinkat(const char *path1, int fd, const char *path2); }
-       SYS_UNLINKAT             = 471 // { int|sys||unlinkat(int fd, const char *path, int flag); }
-       SYS_FUTIMENS             = 472 // { int|sys||futimens(int fd, const struct timespec *tptr); }
-       SYS___QUOTACTL           = 473 // { int|sys||__quotactl(const char *path, struct quotactl_args *args); }
-       SYS_POSIX_SPAWN          = 474 // { int|sys||posix_spawn(pid_t *pid, const char *path, const struct posix_spawn_file_actions *file_actions, const struct posix_spawnattr *attrp, char *const *argv, char *const *envp); }
-       SYS_RECVMMSG             = 475 // { int|sys||recvmmsg(int s, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags, struct timespec *timeout); }
-       SYS_SENDMMSG             = 476 // { int|sys||sendmmsg(int s, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags); }
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go
deleted file mode 100644 (file)
index 612ba66..0000000
+++ /dev/null
@@ -1,273 +0,0 @@
-// mksysnum_netbsd.pl
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build arm,netbsd
-
-package unix
-
-const (
-       SYS_EXIT                 = 1   // { void|sys||exit(int rval); }
-       SYS_FORK                 = 2   // { int|sys||fork(void); }
-       SYS_READ                 = 3   // { ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
-       SYS_WRITE                = 4   // { ssize_t|sys||write(int fd, const void *buf, size_t nbyte); }
-       SYS_OPEN                 = 5   // { int|sys||open(const char *path, int flags, ... mode_t mode); }
-       SYS_CLOSE                = 6   // { int|sys||close(int fd); }
-       SYS_LINK                 = 9   // { int|sys||link(const char *path, const char *link); }
-       SYS_UNLINK               = 10  // { int|sys||unlink(const char *path); }
-       SYS_CHDIR                = 12  // { int|sys||chdir(const char *path); }
-       SYS_FCHDIR               = 13  // { int|sys||fchdir(int fd); }
-       SYS_CHMOD                = 15  // { int|sys||chmod(const char *path, mode_t mode); }
-       SYS_CHOWN                = 16  // { int|sys||chown(const char *path, uid_t uid, gid_t gid); }
-       SYS_BREAK                = 17  // { int|sys||obreak(char *nsize); }
-       SYS_GETPID               = 20  // { pid_t|sys||getpid_with_ppid(void); }
-       SYS_UNMOUNT              = 22  // { int|sys||unmount(const char *path, int flags); }
-       SYS_SETUID               = 23  // { int|sys||setuid(uid_t uid); }
-       SYS_GETUID               = 24  // { uid_t|sys||getuid_with_euid(void); }
-       SYS_GETEUID              = 25  // { uid_t|sys||geteuid(void); }
-       SYS_PTRACE               = 26  // { int|sys||ptrace(int req, pid_t pid, void *addr, int data); }
-       SYS_RECVMSG              = 27  // { ssize_t|sys||recvmsg(int s, struct msghdr *msg, int flags); }
-       SYS_SENDMSG              = 28  // { ssize_t|sys||sendmsg(int s, const struct msghdr *msg, int flags); }
-       SYS_RECVFROM             = 29  // { ssize_t|sys||recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlenaddr); }
-       SYS_ACCEPT               = 30  // { int|sys||accept(int s, struct sockaddr *name, socklen_t *anamelen); }
-       SYS_GETPEERNAME          = 31  // { int|sys||getpeername(int fdes, struct sockaddr *asa, socklen_t *alen); }
-       SYS_GETSOCKNAME          = 32  // { int|sys||getsockname(int fdes, struct sockaddr *asa, socklen_t *alen); }
-       SYS_ACCESS               = 33  // { int|sys||access(const char *path, int flags); }
-       SYS_CHFLAGS              = 34  // { int|sys||chflags(const char *path, u_long flags); }
-       SYS_FCHFLAGS             = 35  // { int|sys||fchflags(int fd, u_long flags); }
-       SYS_SYNC                 = 36  // { void|sys||sync(void); }
-       SYS_KILL                 = 37  // { int|sys||kill(pid_t pid, int signum); }
-       SYS_GETPPID              = 39  // { pid_t|sys||getppid(void); }
-       SYS_DUP                  = 41  // { int|sys||dup(int fd); }
-       SYS_PIPE                 = 42  // { int|sys||pipe(void); }
-       SYS_GETEGID              = 43  // { gid_t|sys||getegid(void); }
-       SYS_PROFIL               = 44  // { int|sys||profil(char *samples, size_t size, u_long offset, u_int scale); }
-       SYS_KTRACE               = 45  // { int|sys||ktrace(const char *fname, int ops, int facs, pid_t pid); }
-       SYS_GETGID               = 47  // { gid_t|sys||getgid_with_egid(void); }
-       SYS___GETLOGIN           = 49  // { int|sys||__getlogin(char *namebuf, size_t namelen); }
-       SYS___SETLOGIN           = 50  // { int|sys||__setlogin(const char *namebuf); }
-       SYS_ACCT                 = 51  // { int|sys||acct(const char *path); }
-       SYS_IOCTL                = 54  // { int|sys||ioctl(int fd, u_long com, ... void *data); }
-       SYS_REVOKE               = 56  // { int|sys||revoke(const char *path); }
-       SYS_SYMLINK              = 57  // { int|sys||symlink(const char *path, const char *link); }
-       SYS_READLINK             = 58  // { ssize_t|sys||readlink(const char *path, char *buf, size_t count); }
-       SYS_EXECVE               = 59  // { int|sys||execve(const char *path, char * const *argp, char * const *envp); }
-       SYS_UMASK                = 60  // { mode_t|sys||umask(mode_t newmask); }
-       SYS_CHROOT               = 61  // { int|sys||chroot(const char *path); }
-       SYS_VFORK                = 66  // { int|sys||vfork(void); }
-       SYS_SBRK                 = 69  // { int|sys||sbrk(intptr_t incr); }
-       SYS_SSTK                 = 70  // { int|sys||sstk(int incr); }
-       SYS_VADVISE              = 72  // { int|sys||ovadvise(int anom); }
-       SYS_MUNMAP               = 73  // { int|sys||munmap(void *addr, size_t len); }
-       SYS_MPROTECT             = 74  // { int|sys||mprotect(void *addr, size_t len, int prot); }
-       SYS_MADVISE              = 75  // { int|sys||madvise(void *addr, size_t len, int behav); }
-       SYS_MINCORE              = 78  // { int|sys||mincore(void *addr, size_t len, char *vec); }
-       SYS_GETGROUPS            = 79  // { int|sys||getgroups(int gidsetsize, gid_t *gidset); }
-       SYS_SETGROUPS            = 80  // { int|sys||setgroups(int gidsetsize, const gid_t *gidset); }
-       SYS_GETPGRP              = 81  // { int|sys||getpgrp(void); }
-       SYS_SETPGID              = 82  // { int|sys||setpgid(pid_t pid, pid_t pgid); }
-       SYS_DUP2                 = 90  // { int|sys||dup2(int from, int to); }
-       SYS_FCNTL                = 92  // { int|sys||fcntl(int fd, int cmd, ... void *arg); }
-       SYS_FSYNC                = 95  // { int|sys||fsync(int fd); }
-       SYS_SETPRIORITY          = 96  // { int|sys||setpriority(int which, id_t who, int prio); }
-       SYS_CONNECT              = 98  // { int|sys||connect(int s, const struct sockaddr *name, socklen_t namelen); }
-       SYS_GETPRIORITY          = 100 // { int|sys||getpriority(int which, id_t who); }
-       SYS_BIND                 = 104 // { int|sys||bind(int s, const struct sockaddr *name, socklen_t namelen); }
-       SYS_SETSOCKOPT           = 105 // { int|sys||setsockopt(int s, int level, int name, const void *val, socklen_t valsize); }
-       SYS_LISTEN               = 106 // { int|sys||listen(int s, int backlog); }
-       SYS_GETSOCKOPT           = 118 // { int|sys||getsockopt(int s, int level, int name, void *val, socklen_t *avalsize); }
-       SYS_READV                = 120 // { ssize_t|sys||readv(int fd, const struct iovec *iovp, int iovcnt); }
-       SYS_WRITEV               = 121 // { ssize_t|sys||writev(int fd, const struct iovec *iovp, int iovcnt); }
-       SYS_FCHOWN               = 123 // { int|sys||fchown(int fd, uid_t uid, gid_t gid); }
-       SYS_FCHMOD               = 124 // { int|sys||fchmod(int fd, mode_t mode); }
-       SYS_SETREUID             = 126 // { int|sys||setreuid(uid_t ruid, uid_t euid); }
-       SYS_SETREGID             = 127 // { int|sys||setregid(gid_t rgid, gid_t egid); }
-       SYS_RENAME               = 128 // { int|sys||rename(const char *from, const char *to); }
-       SYS_FLOCK                = 131 // { int|sys||flock(int fd, int how); }
-       SYS_MKFIFO               = 132 // { int|sys||mkfifo(const char *path, mode_t mode); }
-       SYS_SENDTO               = 133 // { ssize_t|sys||sendto(int s, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen); }
-       SYS_SHUTDOWN             = 134 // { int|sys||shutdown(int s, int how); }
-       SYS_SOCKETPAIR           = 135 // { int|sys||socketpair(int domain, int type, int protocol, int *rsv); }
-       SYS_MKDIR                = 136 // { int|sys||mkdir(const char *path, mode_t mode); }
-       SYS_RMDIR                = 137 // { int|sys||rmdir(const char *path); }
-       SYS_SETSID               = 147 // { int|sys||setsid(void); }
-       SYS_SYSARCH              = 165 // { int|sys||sysarch(int op, void *parms); }
-       SYS_PREAD                = 173 // { ssize_t|sys||pread(int fd, void *buf, size_t nbyte, int PAD, off_t offset); }
-       SYS_PWRITE               = 174 // { ssize_t|sys||pwrite(int fd, const void *buf, size_t nbyte, int PAD, off_t offset); }
-       SYS_NTP_ADJTIME          = 176 // { int|sys||ntp_adjtime(struct timex *tp); }
-       SYS_SETGID               = 181 // { int|sys||setgid(gid_t gid); }
-       SYS_SETEGID              = 182 // { int|sys||setegid(gid_t egid); }
-       SYS_SETEUID              = 183 // { int|sys||seteuid(uid_t euid); }
-       SYS_PATHCONF             = 191 // { long|sys||pathconf(const char *path, int name); }
-       SYS_FPATHCONF            = 192 // { long|sys||fpathconf(int fd, int name); }
-       SYS_GETRLIMIT            = 194 // { int|sys||getrlimit(int which, struct rlimit *rlp); }
-       SYS_SETRLIMIT            = 195 // { int|sys||setrlimit(int which, const struct rlimit *rlp); }
-       SYS_MMAP                 = 197 // { void *|sys||mmap(void *addr, size_t len, int prot, int flags, int fd, long PAD, off_t pos); }
-       SYS_LSEEK                = 199 // { off_t|sys||lseek(int fd, int PAD, off_t offset, int whence); }
-       SYS_TRUNCATE             = 200 // { int|sys||truncate(const char *path, int PAD, off_t length); }
-       SYS_FTRUNCATE            = 201 // { int|sys||ftruncate(int fd, int PAD, off_t length); }
-       SYS___SYSCTL             = 202 // { int|sys||__sysctl(const int *name, u_int namelen, void *old, size_t *oldlenp, const void *new, size_t newlen); }
-       SYS_MLOCK                = 203 // { int|sys||mlock(const void *addr, size_t len); }
-       SYS_MUNLOCK              = 204 // { int|sys||munlock(const void *addr, size_t len); }
-       SYS_UNDELETE             = 205 // { int|sys||undelete(const char *path); }
-       SYS_GETPGID              = 207 // { pid_t|sys||getpgid(pid_t pid); }
-       SYS_REBOOT               = 208 // { int|sys||reboot(int opt, char *bootstr); }
-       SYS_POLL                 = 209 // { int|sys||poll(struct pollfd *fds, u_int nfds, int timeout); }
-       SYS_SEMGET               = 221 // { int|sys||semget(key_t key, int nsems, int semflg); }
-       SYS_SEMOP                = 222 // { int|sys||semop(int semid, struct sembuf *sops, size_t nsops); }
-       SYS_SEMCONFIG            = 223 // { int|sys||semconfig(int flag); }
-       SYS_MSGGET               = 225 // { int|sys||msgget(key_t key, int msgflg); }
-       SYS_MSGSND               = 226 // { int|sys||msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
-       SYS_MSGRCV               = 227 // { ssize_t|sys||msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
-       SYS_SHMAT                = 228 // { void *|sys||shmat(int shmid, const void *shmaddr, int shmflg); }
-       SYS_SHMDT                = 230 // { int|sys||shmdt(const void *shmaddr); }
-       SYS_SHMGET               = 231 // { int|sys||shmget(key_t key, size_t size, int shmflg); }
-       SYS_TIMER_CREATE         = 235 // { int|sys||timer_create(clockid_t clock_id, struct sigevent *evp, timer_t *timerid); }
-       SYS_TIMER_DELETE         = 236 // { int|sys||timer_delete(timer_t timerid); }
-       SYS_TIMER_GETOVERRUN     = 239 // { int|sys||timer_getoverrun(timer_t timerid); }
-       SYS_FDATASYNC            = 241 // { int|sys||fdatasync(int fd); }
-       SYS_MLOCKALL             = 242 // { int|sys||mlockall(int flags); }
-       SYS_MUNLOCKALL           = 243 // { int|sys||munlockall(void); }
-       SYS_SIGQUEUEINFO         = 245 // { int|sys||sigqueueinfo(pid_t pid, const siginfo_t *info); }
-       SYS_MODCTL               = 246 // { int|sys||modctl(int cmd, void *arg); }
-       SYS___POSIX_RENAME       = 270 // { int|sys||__posix_rename(const char *from, const char *to); }
-       SYS_SWAPCTL              = 271 // { int|sys||swapctl(int cmd, void *arg, int misc); }
-       SYS_MINHERIT             = 273 // { int|sys||minherit(void *addr, size_t len, int inherit); }
-       SYS_LCHMOD               = 274 // { int|sys||lchmod(const char *path, mode_t mode); }
-       SYS_LCHOWN               = 275 // { int|sys||lchown(const char *path, uid_t uid, gid_t gid); }
-       SYS___POSIX_CHOWN        = 283 // { int|sys||__posix_chown(const char *path, uid_t uid, gid_t gid); }
-       SYS___POSIX_FCHOWN       = 284 // { int|sys||__posix_fchown(int fd, uid_t uid, gid_t gid); }
-       SYS___POSIX_LCHOWN       = 285 // { int|sys||__posix_lchown(const char *path, uid_t uid, gid_t gid); }
-       SYS_GETSID               = 286 // { pid_t|sys||getsid(pid_t pid); }
-       SYS___CLONE              = 287 // { pid_t|sys||__clone(int flags, void *stack); }
-       SYS_FKTRACE              = 288 // { int|sys||fktrace(int fd, int ops, int facs, pid_t pid); }
-       SYS_PREADV               = 289 // { ssize_t|sys||preadv(int fd, const struct iovec *iovp, int iovcnt, int PAD, off_t offset); }
-       SYS_PWRITEV              = 290 // { ssize_t|sys||pwritev(int fd, const struct iovec *iovp, int iovcnt, int PAD, off_t offset); }
-       SYS___GETCWD             = 296 // { int|sys||__getcwd(char *bufp, size_t length); }
-       SYS_FCHROOT              = 297 // { int|sys||fchroot(int fd); }
-       SYS_LCHFLAGS             = 304 // { int|sys||lchflags(const char *path, u_long flags); }
-       SYS_ISSETUGID            = 305 // { int|sys||issetugid(void); }
-       SYS_UTRACE               = 306 // { int|sys||utrace(const char *label, void *addr, size_t len); }
-       SYS_GETCONTEXT           = 307 // { int|sys||getcontext(struct __ucontext *ucp); }
-       SYS_SETCONTEXT           = 308 // { int|sys||setcontext(const struct __ucontext *ucp); }
-       SYS__LWP_CREATE          = 309 // { int|sys||_lwp_create(const struct __ucontext *ucp, u_long flags, lwpid_t *new_lwp); }
-       SYS__LWP_EXIT            = 310 // { int|sys||_lwp_exit(void); }
-       SYS__LWP_SELF            = 311 // { lwpid_t|sys||_lwp_self(void); }
-       SYS__LWP_WAIT            = 312 // { int|sys||_lwp_wait(lwpid_t wait_for, lwpid_t *departed); }
-       SYS__LWP_SUSPEND         = 313 // { int|sys||_lwp_suspend(lwpid_t target); }
-       SYS__LWP_CONTINUE        = 314 // { int|sys||_lwp_continue(lwpid_t target); }
-       SYS__LWP_WAKEUP          = 315 // { int|sys||_lwp_wakeup(lwpid_t target); }
-       SYS__LWP_GETPRIVATE      = 316 // { void *|sys||_lwp_getprivate(void); }
-       SYS__LWP_SETPRIVATE      = 317 // { void|sys||_lwp_setprivate(void *ptr); }
-       SYS__LWP_KILL            = 318 // { int|sys||_lwp_kill(lwpid_t target, int signo); }
-       SYS__LWP_DETACH          = 319 // { int|sys||_lwp_detach(lwpid_t target); }
-       SYS__LWP_UNPARK          = 321 // { int|sys||_lwp_unpark(lwpid_t target, const void *hint); }
-       SYS__LWP_UNPARK_ALL      = 322 // { ssize_t|sys||_lwp_unpark_all(const lwpid_t *targets, size_t ntargets, const void *hint); }
-       SYS__LWP_SETNAME         = 323 // { int|sys||_lwp_setname(lwpid_t target, const char *name); }
-       SYS__LWP_GETNAME         = 324 // { int|sys||_lwp_getname(lwpid_t target, char *name, size_t len); }
-       SYS__LWP_CTL             = 325 // { int|sys||_lwp_ctl(int features, struct lwpctl **address); }
-       SYS___SIGACTION_SIGTRAMP = 340 // { int|sys||__sigaction_sigtramp(int signum, const struct sigaction *nsa, struct sigaction *osa, const void *tramp, int vers); }
-       SYS_PMC_GET_INFO         = 341 // { int|sys||pmc_get_info(int ctr, int op, void *args); }
-       SYS_PMC_CONTROL          = 342 // { int|sys||pmc_control(int ctr, int op, void *args); }
-       SYS_RASCTL               = 343 // { int|sys||rasctl(void *addr, size_t len, int op); }
-       SYS_KQUEUE               = 344 // { int|sys||kqueue(void); }
-       SYS__SCHED_SETPARAM      = 346 // { int|sys||_sched_setparam(pid_t pid, lwpid_t lid, int policy, const struct sched_param *params); }
-       SYS__SCHED_GETPARAM      = 347 // { int|sys||_sched_getparam(pid_t pid, lwpid_t lid, int *policy, struct sched_param *params); }
-       SYS__SCHED_SETAFFINITY   = 348 // { int|sys||_sched_setaffinity(pid_t pid, lwpid_t lid, size_t size, const cpuset_t *cpuset); }
-       SYS__SCHED_GETAFFINITY   = 349 // { int|sys||_sched_getaffinity(pid_t pid, lwpid_t lid, size_t size, cpuset_t *cpuset); }
-       SYS_SCHED_YIELD          = 350 // { int|sys||sched_yield(void); }
-       SYS_FSYNC_RANGE          = 354 // { int|sys||fsync_range(int fd, int flags, off_t start, off_t length); }
-       SYS_UUIDGEN              = 355 // { int|sys||uuidgen(struct uuid *store, int count); }
-       SYS_GETVFSSTAT           = 356 // { int|sys||getvfsstat(struct statvfs *buf, size_t bufsize, int flags); }
-       SYS_STATVFS1             = 357 // { int|sys||statvfs1(const char *path, struct statvfs *buf, int flags); }
-       SYS_FSTATVFS1            = 358 // { int|sys||fstatvfs1(int fd, struct statvfs *buf, int flags); }
-       SYS_EXTATTRCTL           = 360 // { int|sys||extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_SET_FILE     = 361 // { int|sys||extattr_set_file(const char *path, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
-       SYS_EXTATTR_GET_FILE     = 362 // { ssize_t|sys||extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
-       SYS_EXTATTR_DELETE_FILE  = 363 // { int|sys||extattr_delete_file(const char *path, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_SET_FD       = 364 // { int|sys||extattr_set_fd(int fd, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
-       SYS_EXTATTR_GET_FD       = 365 // { ssize_t|sys||extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
-       SYS_EXTATTR_DELETE_FD    = 366 // { int|sys||extattr_delete_fd(int fd, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_SET_LINK     = 367 // { int|sys||extattr_set_link(const char *path, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
-       SYS_EXTATTR_GET_LINK     = 368 // { ssize_t|sys||extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
-       SYS_EXTATTR_DELETE_LINK  = 369 // { int|sys||extattr_delete_link(const char *path, int attrnamespace, const char *attrname); }
-       SYS_EXTATTR_LIST_FD      = 370 // { ssize_t|sys||extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); }
-       SYS_EXTATTR_LIST_FILE    = 371 // { ssize_t|sys||extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); }
-       SYS_EXTATTR_LIST_LINK    = 372 // { ssize_t|sys||extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); }
-       SYS_SETXATTR             = 375 // { int|sys||setxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
-       SYS_LSETXATTR            = 376 // { int|sys||lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
-       SYS_FSETXATTR            = 377 // { int|sys||fsetxattr(int fd, const char *name, const void *value, size_t size, int flags); }
-       SYS_GETXATTR             = 378 // { int|sys||getxattr(const char *path, const char *name, void *value, size_t size); }
-       SYS_LGETXATTR            = 379 // { int|sys||lgetxattr(const char *path, const char *name, void *value, size_t size); }
-       SYS_FGETXATTR            = 380 // { int|sys||fgetxattr(int fd, const char *name, void *value, size_t size); }
-       SYS_LISTXATTR            = 381 // { int|sys||listxattr(const char *path, char *list, size_t size); }
-       SYS_LLISTXATTR           = 382 // { int|sys||llistxattr(const char *path, char *list, size_t size); }
-       SYS_FLISTXATTR           = 383 // { int|sys||flistxattr(int fd, char *list, size_t size); }
-       SYS_REMOVEXATTR          = 384 // { int|sys||removexattr(const char *path, const char *name); }
-       SYS_LREMOVEXATTR         = 385 // { int|sys||lremovexattr(const char *path, const char *name); }
-       SYS_FREMOVEXATTR         = 386 // { int|sys||fremovexattr(int fd, const char *name); }
-       SYS_GETDENTS             = 390 // { int|sys|30|getdents(int fd, char *buf, size_t count); }
-       SYS_SOCKET               = 394 // { int|sys|30|socket(int domain, int type, int protocol); }
-       SYS_GETFH                = 395 // { int|sys|30|getfh(const char *fname, void *fhp, size_t *fh_size); }
-       SYS_MOUNT                = 410 // { int|sys|50|mount(const char *type, const char *path, int flags, void *data, size_t data_len); }
-       SYS_MREMAP               = 411 // { void *|sys||mremap(void *old_address, size_t old_size, void *new_address, size_t new_size, int flags); }
-       SYS_PSET_CREATE          = 412 // { int|sys||pset_create(psetid_t *psid); }
-       SYS_PSET_DESTROY         = 413 // { int|sys||pset_destroy(psetid_t psid); }
-       SYS_PSET_ASSIGN          = 414 // { int|sys||pset_assign(psetid_t psid, cpuid_t cpuid, psetid_t *opsid); }
-       SYS__PSET_BIND           = 415 // { int|sys||_pset_bind(idtype_t idtype, id_t first_id, id_t second_id, psetid_t psid, psetid_t *opsid); }
-       SYS_POSIX_FADVISE        = 416 // { int|sys|50|posix_fadvise(int fd, int PAD, off_t offset, off_t len, int advice); }
-       SYS_SELECT               = 417 // { int|sys|50|select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
-       SYS_GETTIMEOFDAY         = 418 // { int|sys|50|gettimeofday(struct timeval *tp, void *tzp); }
-       SYS_SETTIMEOFDAY         = 419 // { int|sys|50|settimeofday(const struct timeval *tv, const void *tzp); }
-       SYS_UTIMES               = 420 // { int|sys|50|utimes(const char *path, const struct timeval *tptr); }
-       SYS_ADJTIME              = 421 // { int|sys|50|adjtime(const struct timeval *delta, struct timeval *olddelta); }
-       SYS_FUTIMES              = 423 // { int|sys|50|futimes(int fd, const struct timeval *tptr); }
-       SYS_LUTIMES              = 424 // { int|sys|50|lutimes(const char *path, const struct timeval *tptr); }
-       SYS_SETITIMER            = 425 // { int|sys|50|setitimer(int which, const struct itimerval *itv, struct itimerval *oitv); }
-       SYS_GETITIMER            = 426 // { int|sys|50|getitimer(int which, struct itimerval *itv); }
-       SYS_CLOCK_GETTIME        = 427 // { int|sys|50|clock_gettime(clockid_t clock_id, struct timespec *tp); }
-       SYS_CLOCK_SETTIME        = 428 // { int|sys|50|clock_settime(clockid_t clock_id, const struct timespec *tp); }
-       SYS_CLOCK_GETRES         = 429 // { int|sys|50|clock_getres(clockid_t clock_id, struct timespec *tp); }
-       SYS_NANOSLEEP            = 430 // { int|sys|50|nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
-       SYS___SIGTIMEDWAIT       = 431 // { int|sys|50|__sigtimedwait(const sigset_t *set, siginfo_t *info, struct timespec *timeout); }
-       SYS__LWP_PARK            = 434 // { int|sys|50|_lwp_park(const struct timespec *ts, lwpid_t unpark, const void *hint, const void *unparkhint); }
-       SYS_KEVENT               = 435 // { int|sys|50|kevent(int fd, const struct kevent *changelist, size_t nchanges, struct kevent *eventlist, size_t nevents, const struct timespec *timeout); }
-       SYS_PSELECT              = 436 // { int|sys|50|pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *mask); }
-       SYS_POLLTS               = 437 // { int|sys|50|pollts(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *mask); }
-       SYS_STAT                 = 439 // { int|sys|50|stat(const char *path, struct stat *ub); }
-       SYS_FSTAT                = 440 // { int|sys|50|fstat(int fd, struct stat *sb); }
-       SYS_LSTAT                = 441 // { int|sys|50|lstat(const char *path, struct stat *ub); }
-       SYS___SEMCTL             = 442 // { int|sys|50|__semctl(int semid, int semnum, int cmd, ... union __semun *arg); }
-       SYS_SHMCTL               = 443 // { int|sys|50|shmctl(int shmid, int cmd, struct shmid_ds *buf); }
-       SYS_MSGCTL               = 444 // { int|sys|50|msgctl(int msqid, int cmd, struct msqid_ds *buf); }
-       SYS_GETRUSAGE            = 445 // { int|sys|50|getrusage(int who, struct rusage *rusage); }
-       SYS_TIMER_SETTIME        = 446 // { int|sys|50|timer_settime(timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue); }
-       SYS_TIMER_GETTIME        = 447 // { int|sys|50|timer_gettime(timer_t timerid, struct itimerspec *value); }
-       SYS_NTP_GETTIME          = 448 // { int|sys|50|ntp_gettime(struct ntptimeval *ntvp); }
-       SYS_WAIT4                = 449 // { int|sys|50|wait4(pid_t pid, int *status, int options, struct rusage *rusage); }
-       SYS_MKNOD                = 450 // { int|sys|50|mknod(const char *path, mode_t mode, dev_t dev); }
-       SYS_FHSTAT               = 451 // { int|sys|50|fhstat(const void *fhp, size_t fh_size, struct stat *sb); }
-       SYS_PIPE2                = 453 // { int|sys||pipe2(int *fildes, int flags); }
-       SYS_DUP3                 = 454 // { int|sys||dup3(int from, int to, int flags); }
-       SYS_KQUEUE1              = 455 // { int|sys||kqueue1(int flags); }
-       SYS_PACCEPT              = 456 // { int|sys||paccept(int s, struct sockaddr *name, socklen_t *anamelen, const sigset_t *mask, int flags); }
-       SYS_LINKAT               = 457 // { int|sys||linkat(int fd1, const char *name1, int fd2, const char *name2, int flags); }
-       SYS_RENAMEAT             = 458 // { int|sys||renameat(int fromfd, const char *from, int tofd, const char *to); }
-       SYS_MKFIFOAT             = 459 // { int|sys||mkfifoat(int fd, const char *path, mode_t mode); }
-       SYS_MKNODAT              = 460 // { int|sys||mknodat(int fd, const char *path, mode_t mode, uint32_t dev); }
-       SYS_MKDIRAT              = 461 // { int|sys||mkdirat(int fd, const char *path, mode_t mode); }
-       SYS_FACCESSAT            = 462 // { int|sys||faccessat(int fd, const char *path, int amode, int flag); }
-       SYS_FCHMODAT             = 463 // { int|sys||fchmodat(int fd, const char *path, mode_t mode, int flag); }
-       SYS_FCHOWNAT             = 464 // { int|sys||fchownat(int fd, const char *path, uid_t owner, gid_t group, int flag); }
-       SYS_FEXECVE              = 465 // { int|sys||fexecve(int fd, char * const *argp, char * const *envp); }
-       SYS_FSTATAT              = 466 // { int|sys||fstatat(int fd, const char *path, struct stat *buf, int flag); }
-       SYS_UTIMENSAT            = 467 // { int|sys||utimensat(int fd, const char *path, const struct timespec *tptr, int flag); }
-       SYS_OPENAT               = 468 // { int|sys||openat(int fd, const char *path, int oflags, ... mode_t mode); }
-       SYS_READLINKAT           = 469 // { int|sys||readlinkat(int fd, const char *path, char *buf, size_t bufsize); }
-       SYS_SYMLINKAT            = 470 // { int|sys||symlinkat(const char *path1, int fd, const char *path2); }
-       SYS_UNLINKAT             = 471 // { int|sys||unlinkat(int fd, const char *path, int flag); }
-       SYS_FUTIMENS             = 472 // { int|sys||futimens(int fd, const struct timespec *tptr); }
-       SYS___QUOTACTL           = 473 // { int|sys||__quotactl(const char *path, struct quotactl_args *args); }
-       SYS_POSIX_SPAWN          = 474 // { int|sys||posix_spawn(pid_t *pid, const char *path, const struct posix_spawn_file_actions *file_actions, const struct posix_spawnattr *attrp, char *const *argv, char *const *envp); }
-       SYS_RECVMMSG             = 475 // { int|sys||recvmmsg(int s, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags, struct timespec *timeout); }
-       SYS_SENDMMSG             = 476 // { int|sys||sendmmsg(int s, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags); }
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go
deleted file mode 100644 (file)
index 3e8ce2a..0000000
+++ /dev/null
@@ -1,207 +0,0 @@
-// mksysnum_openbsd.pl
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build 386,openbsd
-
-package unix
-
-const (
-       SYS_EXIT           = 1   // { void sys_exit(int rval); }
-       SYS_FORK           = 2   // { int sys_fork(void); }
-       SYS_READ           = 3   // { ssize_t sys_read(int fd, void *buf, size_t nbyte); }
-       SYS_WRITE          = 4   // { ssize_t sys_write(int fd, const void *buf, \
-       SYS_OPEN           = 5   // { int sys_open(const char *path, \
-       SYS_CLOSE          = 6   // { int sys_close(int fd); }
-       SYS___TFORK        = 8   // { int sys___tfork(const struct __tfork *param, \
-       SYS_LINK           = 9   // { int sys_link(const char *path, const char *link); }
-       SYS_UNLINK         = 10  // { int sys_unlink(const char *path); }
-       SYS_WAIT4          = 11  // { pid_t sys_wait4(pid_t pid, int *status, \
-       SYS_CHDIR          = 12  // { int sys_chdir(const char *path); }
-       SYS_FCHDIR         = 13  // { int sys_fchdir(int fd); }
-       SYS_MKNOD          = 14  // { int sys_mknod(const char *path, mode_t mode, \
-       SYS_CHMOD          = 15  // { int sys_chmod(const char *path, mode_t mode); }
-       SYS_CHOWN          = 16  // { int sys_chown(const char *path, uid_t uid, \
-       SYS_OBREAK         = 17  // { int sys_obreak(char *nsize); } break
-       SYS_GETDTABLECOUNT = 18  // { int sys_getdtablecount(void); }
-       SYS_GETRUSAGE      = 19  // { int sys_getrusage(int who, \
-       SYS_GETPID         = 20  // { pid_t sys_getpid(void); }
-       SYS_MOUNT          = 21  // { int sys_mount(const char *type, const char *path, \
-       SYS_UNMOUNT        = 22  // { int sys_unmount(const char *path, int flags); }
-       SYS_SETUID         = 23  // { int sys_setuid(uid_t uid); }
-       SYS_GETUID         = 24  // { uid_t sys_getuid(void); }
-       SYS_GETEUID        = 25  // { uid_t sys_geteuid(void); }
-       SYS_PTRACE         = 26  // { int sys_ptrace(int req, pid_t pid, caddr_t addr, \
-       SYS_RECVMSG        = 27  // { ssize_t sys_recvmsg(int s, struct msghdr *msg, \
-       SYS_SENDMSG        = 28  // { ssize_t sys_sendmsg(int s, \
-       SYS_RECVFROM       = 29  // { ssize_t sys_recvfrom(int s, void *buf, size_t len, \
-       SYS_ACCEPT         = 30  // { int sys_accept(int s, struct sockaddr *name, \
-       SYS_GETPEERNAME    = 31  // { int sys_getpeername(int fdes, struct sockaddr *asa, \
-       SYS_GETSOCKNAME    = 32  // { int sys_getsockname(int fdes, struct sockaddr *asa, \
-       SYS_ACCESS         = 33  // { int sys_access(const char *path, int flags); }
-       SYS_CHFLAGS        = 34  // { int sys_chflags(const char *path, u_int flags); }
-       SYS_FCHFLAGS       = 35  // { int sys_fchflags(int fd, u_int flags); }
-       SYS_SYNC           = 36  // { void sys_sync(void); }
-       SYS_KILL           = 37  // { int sys_kill(int pid, int signum); }
-       SYS_STAT           = 38  // { int sys_stat(const char *path, struct stat *ub); }
-       SYS_GETPPID        = 39  // { pid_t sys_getppid(void); }
-       SYS_LSTAT          = 40  // { int sys_lstat(const char *path, struct stat *ub); }
-       SYS_DUP            = 41  // { int sys_dup(int fd); }
-       SYS_FSTATAT        = 42  // { int sys_fstatat(int fd, const char *path, \
-       SYS_GETEGID        = 43  // { gid_t sys_getegid(void); }
-       SYS_PROFIL         = 44  // { int sys_profil(caddr_t samples, size_t size, \
-       SYS_KTRACE         = 45  // { int sys_ktrace(const char *fname, int ops, \
-       SYS_SIGACTION      = 46  // { int sys_sigaction(int signum, \
-       SYS_GETGID         = 47  // { gid_t sys_getgid(void); }
-       SYS_SIGPROCMASK    = 48  // { int sys_sigprocmask(int how, sigset_t mask); }
-       SYS_GETLOGIN       = 49  // { int sys_getlogin(char *namebuf, u_int namelen); }
-       SYS_SETLOGIN       = 50  // { int sys_setlogin(const char *namebuf); }
-       SYS_ACCT           = 51  // { int sys_acct(const char *path); }
-       SYS_SIGPENDING     = 52  // { int sys_sigpending(void); }
-       SYS_FSTAT          = 53  // { int sys_fstat(int fd, struct stat *sb); }
-       SYS_IOCTL          = 54  // { int sys_ioctl(int fd, \
-       SYS_REBOOT         = 55  // { int sys_reboot(int opt); }
-       SYS_REVOKE         = 56  // { int sys_revoke(const char *path); }
-       SYS_SYMLINK        = 57  // { int sys_symlink(const char *path, \
-       SYS_READLINK       = 58  // { int sys_readlink(const char *path, char *buf, \
-       SYS_EXECVE         = 59  // { int sys_execve(const char *path, \
-       SYS_UMASK          = 60  // { mode_t sys_umask(mode_t newmask); }
-       SYS_CHROOT         = 61  // { int sys_chroot(const char *path); }
-       SYS_GETFSSTAT      = 62  // { int sys_getfsstat(struct statfs *buf, size_t bufsize, \
-       SYS_STATFS         = 63  // { int sys_statfs(const char *path, \
-       SYS_FSTATFS        = 64  // { int sys_fstatfs(int fd, struct statfs *buf); }
-       SYS_FHSTATFS       = 65  // { int sys_fhstatfs(const fhandle_t *fhp, \
-       SYS_VFORK          = 66  // { int sys_vfork(void); }
-       SYS_GETTIMEOFDAY   = 67  // { int sys_gettimeofday(struct timeval *tp, \
-       SYS_SETTIMEOFDAY   = 68  // { int sys_settimeofday(const struct timeval *tv, \
-       SYS_SETITIMER      = 69  // { int sys_setitimer(int which, \
-       SYS_GETITIMER      = 70  // { int sys_getitimer(int which, \
-       SYS_SELECT         = 71  // { int sys_select(int nd, fd_set *in, fd_set *ou, \
-       SYS_KEVENT         = 72  // { int sys_kevent(int fd, \
-       SYS_MUNMAP         = 73  // { int sys_munmap(void *addr, size_t len); }
-       SYS_MPROTECT       = 74  // { int sys_mprotect(void *addr, size_t len, \
-       SYS_MADVISE        = 75  // { int sys_madvise(void *addr, size_t len, \
-       SYS_UTIMES         = 76  // { int sys_utimes(const char *path, \
-       SYS_FUTIMES        = 77  // { int sys_futimes(int fd, \
-       SYS_MINCORE        = 78  // { int sys_mincore(void *addr, size_t len, \
-       SYS_GETGROUPS      = 79  // { int sys_getgroups(int gidsetsize, \
-       SYS_SETGROUPS      = 80  // { int sys_setgroups(int gidsetsize, \
-       SYS_GETPGRP        = 81  // { int sys_getpgrp(void); }
-       SYS_SETPGID        = 82  // { int sys_setpgid(pid_t pid, int pgid); }
-       SYS_UTIMENSAT      = 84  // { int sys_utimensat(int fd, const char *path, \
-       SYS_FUTIMENS       = 85  // { int sys_futimens(int fd, \
-       SYS_CLOCK_GETTIME  = 87  // { int sys_clock_gettime(clockid_t clock_id, \
-       SYS_CLOCK_SETTIME  = 88  // { int sys_clock_settime(clockid_t clock_id, \
-       SYS_CLOCK_GETRES   = 89  // { int sys_clock_getres(clockid_t clock_id, \
-       SYS_DUP2           = 90  // { int sys_dup2(int from, int to); }
-       SYS_NANOSLEEP      = 91  // { int sys_nanosleep(const struct timespec *rqtp, \
-       SYS_FCNTL          = 92  // { int sys_fcntl(int fd, int cmd, ... void *arg); }
-       SYS___THRSLEEP     = 94  // { int sys___thrsleep(const volatile void *ident, \
-       SYS_FSYNC          = 95  // { int sys_fsync(int fd); }
-       SYS_SETPRIORITY    = 96  // { int sys_setpriority(int which, id_t who, int prio); }
-       SYS_SOCKET         = 97  // { int sys_socket(int domain, int type, int protocol); }
-       SYS_CONNECT        = 98  // { int sys_connect(int s, const struct sockaddr *name, \
-       SYS_GETDENTS       = 99  // { int sys_getdents(int fd, void *buf, size_t buflen); }
-       SYS_GETPRIORITY    = 100 // { int sys_getpriority(int which, id_t who); }
-       SYS_SIGRETURN      = 103 // { int sys_sigreturn(struct sigcontext *sigcntxp); }
-       SYS_BIND           = 104 // { int sys_bind(int s, const struct sockaddr *name, \
-       SYS_SETSOCKOPT     = 105 // { int sys_setsockopt(int s, int level, int name, \
-       SYS_LISTEN         = 106 // { int sys_listen(int s, int backlog); }
-       SYS_PPOLL          = 109 // { int sys_ppoll(struct pollfd *fds, \
-       SYS_PSELECT        = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, \
-       SYS_SIGSUSPEND     = 111 // { int sys_sigsuspend(int mask); }
-       SYS_GETSOCKOPT     = 118 // { int sys_getsockopt(int s, int level, int name, \
-       SYS_READV          = 120 // { ssize_t sys_readv(int fd, \
-       SYS_WRITEV         = 121 // { ssize_t sys_writev(int fd, \
-       SYS_FCHOWN         = 123 // { int sys_fchown(int fd, uid_t uid, gid_t gid); }
-       SYS_FCHMOD         = 124 // { int sys_fchmod(int fd, mode_t mode); }
-       SYS_SETREUID       = 126 // { int sys_setreuid(uid_t ruid, uid_t euid); }
-       SYS_SETREGID       = 127 // { int sys_setregid(gid_t rgid, gid_t egid); }
-       SYS_RENAME         = 128 // { int sys_rename(const char *from, const char *to); }
-       SYS_FLOCK          = 131 // { int sys_flock(int fd, int how); }
-       SYS_MKFIFO         = 132 // { int sys_mkfifo(const char *path, mode_t mode); }
-       SYS_SENDTO         = 133 // { ssize_t sys_sendto(int s, const void *buf, \
-       SYS_SHUTDOWN       = 134 // { int sys_shutdown(int s, int how); }
-       SYS_SOCKETPAIR     = 135 // { int sys_socketpair(int domain, int type, \
-       SYS_MKDIR          = 136 // { int sys_mkdir(const char *path, mode_t mode); }
-       SYS_RMDIR          = 137 // { int sys_rmdir(const char *path); }
-       SYS_ADJTIME        = 140 // { int sys_adjtime(const struct timeval *delta, \
-       SYS_SETSID         = 147 // { int sys_setsid(void); }
-       SYS_QUOTACTL       = 148 // { int sys_quotactl(const char *path, int cmd, \
-       SYS_NFSSVC         = 155 // { int sys_nfssvc(int flag, void *argp); }
-       SYS_GETFH          = 161 // { int sys_getfh(const char *fname, fhandle_t *fhp); }
-       SYS_SYSARCH        = 165 // { int sys_sysarch(int op, void *parms); }
-       SYS_PREAD          = 173 // { ssize_t sys_pread(int fd, void *buf, \
-       SYS_PWRITE         = 174 // { ssize_t sys_pwrite(int fd, const void *buf, \
-       SYS_SETGID         = 181 // { int sys_setgid(gid_t gid); }
-       SYS_SETEGID        = 182 // { int sys_setegid(gid_t egid); }
-       SYS_SETEUID        = 183 // { int sys_seteuid(uid_t euid); }
-       SYS_PATHCONF       = 191 // { long sys_pathconf(const char *path, int name); }
-       SYS_FPATHCONF      = 192 // { long sys_fpathconf(int fd, int name); }
-       SYS_SWAPCTL        = 193 // { int sys_swapctl(int cmd, const void *arg, int misc); }
-       SYS_GETRLIMIT      = 194 // { int sys_getrlimit(int which, \
-       SYS_SETRLIMIT      = 195 // { int sys_setrlimit(int which, \
-       SYS_MMAP           = 197 // { void *sys_mmap(void *addr, size_t len, int prot, \
-       SYS_LSEEK          = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, \
-       SYS_TRUNCATE       = 200 // { int sys_truncate(const char *path, int pad, \
-       SYS_FTRUNCATE      = 201 // { int sys_ftruncate(int fd, int pad, off_t length); }
-       SYS___SYSCTL       = 202 // { int sys___sysctl(const int *name, u_int namelen, \
-       SYS_MLOCK          = 203 // { int sys_mlock(const void *addr, size_t len); }
-       SYS_MUNLOCK        = 204 // { int sys_munlock(const void *addr, size_t len); }
-       SYS_GETPGID        = 207 // { pid_t sys_getpgid(pid_t pid); }
-       SYS_UTRACE         = 209 // { int sys_utrace(const char *label, const void *addr, \
-       SYS_SEMGET         = 221 // { int sys_semget(key_t key, int nsems, int semflg); }
-       SYS_MSGGET         = 225 // { int sys_msgget(key_t key, int msgflg); }
-       SYS_MSGSND         = 226 // { int sys_msgsnd(int msqid, const void *msgp, size_t msgsz, \
-       SYS_MSGRCV         = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \
-       SYS_SHMAT          = 228 // { void *sys_shmat(int shmid, const void *shmaddr, \
-       SYS_SHMDT          = 230 // { int sys_shmdt(const void *shmaddr); }
-       SYS_MINHERIT       = 250 // { int sys_minherit(void *addr, size_t len, \
-       SYS_POLL           = 252 // { int sys_poll(struct pollfd *fds, \
-       SYS_ISSETUGID      = 253 // { int sys_issetugid(void); }
-       SYS_LCHOWN         = 254 // { int sys_lchown(const char *path, uid_t uid, gid_t gid); }
-       SYS_GETSID         = 255 // { pid_t sys_getsid(pid_t pid); }
-       SYS_MSYNC          = 256 // { int sys_msync(void *addr, size_t len, int flags); }
-       SYS_PIPE           = 263 // { int sys_pipe(int *fdp); }
-       SYS_FHOPEN         = 264 // { int sys_fhopen(const fhandle_t *fhp, int flags); }
-       SYS_PREADV         = 267 // { ssize_t sys_preadv(int fd, \
-       SYS_PWRITEV        = 268 // { ssize_t sys_pwritev(int fd, \
-       SYS_KQUEUE         = 269 // { int sys_kqueue(void); }
-       SYS_MLOCKALL       = 271 // { int sys_mlockall(int flags); }
-       SYS_MUNLOCKALL     = 272 // { int sys_munlockall(void); }
-       SYS_GETRESUID      = 281 // { int sys_getresuid(uid_t *ruid, uid_t *euid, \
-       SYS_SETRESUID      = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, \
-       SYS_GETRESGID      = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, \
-       SYS_SETRESGID      = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, \
-       SYS_MQUERY         = 286 // { void *sys_mquery(void *addr, size_t len, int prot, \
-       SYS_CLOSEFROM      = 287 // { int sys_closefrom(int fd); }
-       SYS_SIGALTSTACK    = 288 // { int sys_sigaltstack(const struct sigaltstack *nss, \
-       SYS_SHMGET         = 289 // { int sys_shmget(key_t key, size_t size, int shmflg); }
-       SYS_SEMOP          = 290 // { int sys_semop(int semid, struct sembuf *sops, \
-       SYS_FHSTAT         = 294 // { int sys_fhstat(const fhandle_t *fhp, \
-       SYS___SEMCTL       = 295 // { int sys___semctl(int semid, int semnum, int cmd, \
-       SYS_SHMCTL         = 296 // { int sys_shmctl(int shmid, int cmd, \
-       SYS_MSGCTL         = 297 // { int sys_msgctl(int msqid, int cmd, \
-       SYS_SCHED_YIELD    = 298 // { int sys_sched_yield(void); }
-       SYS_GETTHRID       = 299 // { pid_t sys_getthrid(void); }
-       SYS___THRWAKEUP    = 301 // { int sys___thrwakeup(const volatile void *ident, \
-       SYS___THREXIT      = 302 // { void sys___threxit(pid_t *notdead); }
-       SYS___THRSIGDIVERT = 303 // { int sys___thrsigdivert(sigset_t sigmask, \
-       SYS___GETCWD       = 304 // { int sys___getcwd(char *buf, size_t len); }
-       SYS_ADJFREQ        = 305 // { int sys_adjfreq(const int64_t *freq, \
-       SYS_SETRTABLE      = 310 // { int sys_setrtable(int rtableid); }
-       SYS_GETRTABLE      = 311 // { int sys_getrtable(void); }
-       SYS_FACCESSAT      = 313 // { int sys_faccessat(int fd, const char *path, \
-       SYS_FCHMODAT       = 314 // { int sys_fchmodat(int fd, const char *path, \
-       SYS_FCHOWNAT       = 315 // { int sys_fchownat(int fd, const char *path, \
-       SYS_LINKAT         = 317 // { int sys_linkat(int fd1, const char *path1, int fd2, \
-       SYS_MKDIRAT        = 318 // { int sys_mkdirat(int fd, const char *path, \
-       SYS_MKFIFOAT       = 319 // { int sys_mkfifoat(int fd, const char *path, \
-       SYS_MKNODAT        = 320 // { int sys_mknodat(int fd, const char *path, \
-       SYS_OPENAT         = 321 // { int sys_openat(int fd, const char *path, int flags, \
-       SYS_READLINKAT     = 322 // { ssize_t sys_readlinkat(int fd, const char *path, \
-       SYS_RENAMEAT       = 323 // { int sys_renameat(int fromfd, const char *from, \
-       SYS_SYMLINKAT      = 324 // { int sys_symlinkat(const char *path, int fd, \
-       SYS_UNLINKAT       = 325 // { int sys_unlinkat(int fd, const char *path, \
-       SYS___SET_TCB      = 329 // { void sys___set_tcb(void *tcb); }
-       SYS___GET_TCB      = 330 // { void *sys___get_tcb(void); }
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go
deleted file mode 100644 (file)
index bd28146..0000000
+++ /dev/null
@@ -1,207 +0,0 @@
-// mksysnum_openbsd.pl
-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-
-// +build amd64,openbsd
-
-package unix
-
-const (
-       SYS_EXIT           = 1   // { void sys_exit(int rval); }
-       SYS_FORK           = 2   // { int sys_fork(void); }
-       SYS_READ           = 3   // { ssize_t sys_read(int fd, void *buf, size_t nbyte); }
-       SYS_WRITE          = 4   // { ssize_t sys_write(int fd, const void *buf, \
-       SYS_OPEN           = 5   // { int sys_open(const char *path, \
-       SYS_CLOSE          = 6   // { int sys_close(int fd); }
-       SYS___TFORK        = 8   // { int sys___tfork(const struct __tfork *param, \
-       SYS_LINK           = 9   // { int sys_link(const char *path, const char *link); }
-       SYS_UNLINK         = 10  // { int sys_unlink(const char *path); }
-       SYS_WAIT4          = 11  // { pid_t sys_wait4(pid_t pid, int *status, \
-       SYS_CHDIR          = 12  // { int sys_chdir(const char *path); }
-       SYS_FCHDIR         = 13  // { int sys_fchdir(int fd); }
-       SYS_MKNOD          = 14  // { int sys_mknod(const char *path, mode_t mode, \
-       SYS_CHMOD          = 15  // { int sys_chmod(const char *path, mode_t mode); }
-       SYS_CHOWN          = 16  // { int sys_chown(const char *path, uid_t uid, \
-       SYS_OBREAK         = 17  // { int sys_obreak(char *nsize); } break
-       SYS_GETDTABLECOUNT = 18  // { int sys_getdtablecount(void); }
-       SYS_GETRUSAGE      = 19  // { int sys_getrusage(int who, \
-       SYS_GETPID         = 20  // { pid_t sys_getpid(void); }
-       SYS_MOUNT          = 21  // { int sys_mount(const char *type, const char *path, \
-       SYS_UNMOUNT        = 22  // { int sys_unmount(const char *path, int flags); }
-       SYS_SETUID         = 23  // { int sys_setuid(uid_t uid); }
-       SYS_GETUID         = 24  // { uid_t sys_getuid(void); }
-       SYS_GETEUID        = 25  // { uid_t sys_geteuid(void); }
-       SYS_PTRACE         = 26  // { int sys_ptrace(int req, pid_t pid, caddr_t addr, \
-       SYS_RECVMSG        = 27  // { ssize_t sys_recvmsg(int s, struct msghdr *msg, \
-       SYS_SENDMSG        = 28  // { ssize_t sys_sendmsg(int s, \
-       SYS_RECVFROM       = 29  // { ssize_t sys_recvfrom(int s, void *buf, size_t len, \
-       SYS_ACCEPT         = 30  // { int sys_accept(int s, struct sockaddr *name, \
-       SYS_GETPEERNAME    = 31  // { int sys_getpeername(int fdes, struct sockaddr *asa, \
-       SYS_GETSOCKNAME    = 32  // { int sys_getsockname(int fdes, struct sockaddr *asa, \
-       SYS_ACCESS         = 33  // { int sys_access(const char *path, int flags); }
-       SYS_CHFLAGS        = 34  // { int sys_chflags(const char *path, u_int flags); }
-       SYS_FCHFLAGS       = 35  // { int sys_fchflags(int fd, u_int flags); }
-       SYS_SYNC           = 36  // { void sys_sync(void); }
-       SYS_KILL           = 37  // { int sys_kill(int pid, int signum); }
-       SYS_STAT           = 38  // { int sys_stat(const char *path, struct stat *ub); }
-       SYS_GETPPID        = 39  // { pid_t sys_getppid(void); }
-       SYS_LSTAT          = 40  // { int sys_lstat(const char *path, struct stat *ub); }
-       SYS_DUP            = 41  // { int sys_dup(int fd); }
-       SYS_FSTATAT        = 42  // { int sys_fstatat(int fd, const char *path, \
-       SYS_GETEGID        = 43  // { gid_t sys_getegid(void); }
-       SYS_PROFIL         = 44  // { int sys_profil(caddr_t samples, size_t size, \
-       SYS_KTRACE         = 45  // { int sys_ktrace(const char *fname, int ops, \
-       SYS_SIGACTION      = 46  // { int sys_sigaction(int signum, \
-       SYS_GETGID         = 47  // { gid_t sys_getgid(void); }
-       SYS_SIGPROCMASK    = 48  // { int sys_sigprocmask(int how, sigset_t mask); }
-       SYS_GETLOGIN       = 49  // { int sys_getlogin(char *namebuf, u_int namelen); }
-       SYS_SETLOGIN       = 50  // { int sys_setlogin(const char *namebuf); }
-       SYS_ACCT           = 51  // { int sys_acct(const char *path); }
-       SYS_SIGPENDING     = 52  // { int sys_sigpending(void); }
-       SYS_FSTAT          = 53  // { int sys_fstat(int fd, struct stat *sb); }
-       SYS_IOCTL          = 54  // { int sys_ioctl(int fd, \
-       SYS_REBOOT         = 55  // { int sys_reboot(int opt); }
-       SYS_REVOKE         = 56  // { int sys_revoke(const char *path); }
-       SYS_SYMLINK        = 57  // { int sys_symlink(const char *path, \
-       SYS_READLINK       = 58  // { int sys_readlink(const char *path, char *buf, \
-       SYS_EXECVE         = 59  // { int sys_execve(const char *path, \
-       SYS_UMASK          = 60  // { mode_t sys_umask(mode_t newmask); }
-       SYS_CHROOT         = 61  // { int sys_chroot(const char *path); }
-       SYS_GETFSSTAT      = 62  // { int sys_getfsstat(struct statfs *buf, size_t bufsize, \
-       SYS_STATFS         = 63  // { int sys_statfs(const char *path, \
-       SYS_FSTATFS        = 64  // { int sys_fstatfs(int fd, struct statfs *buf); }
-       SYS_FHSTATFS       = 65  // { int sys_fhstatfs(const fhandle_t *fhp, \
-       SYS_VFORK          = 66  // { int sys_vfork(void); }
-       SYS_GETTIMEOFDAY   = 67  // { int sys_gettimeofday(struct timeval *tp, \
-       SYS_SETTIMEOFDAY   = 68  // { int sys_settimeofday(const struct timeval *tv, \
-       SYS_SETITIMER      = 69  // { int sys_setitimer(int which, \
-       SYS_GETITIMER      = 70  // { int sys_getitimer(int which, \
-       SYS_SELECT         = 71  // { int sys_select(int nd, fd_set *in, fd_set *ou, \
-       SYS_KEVENT         = 72  // { int sys_kevent(int fd, \
-       SYS_MUNMAP         = 73  // { int sys_munmap(void *addr, size_t len); }
-       SYS_MPROTECT       = 74  // { int sys_mprotect(void *addr, size_t len, \
-       SYS_MADVISE        = 75  // { int sys_madvise(void *addr, size_t len, \
-       SYS_UTIMES         = 76  // { int sys_utimes(const char *path, \
-       SYS_FUTIMES        = 77  // { int sys_futimes(int fd, \
-       SYS_MINCORE        = 78  // { int sys_mincore(void *addr, size_t len, \
-       SYS_GETGROUPS      = 79  // { int sys_getgroups(int gidsetsize, \
-       SYS_SETGROUPS      = 80  // { int sys_setgroups(int gidsetsize, \
-       SYS_GETPGRP        = 81  // { int sys_getpgrp(void); }
-       SYS_SETPGID        = 82  // { int sys_setpgid(pid_t pid, int pgid); }
-       SYS_UTIMENSAT      = 84  // { int sys_utimensat(int fd, const char *path, \
-       SYS_FUTIMENS       = 85  // { int sys_futimens(int fd, \
-       SYS_CLOCK_GETTIME  = 87  // { int sys_clock_gettime(clockid_t clock_id, \
-       SYS_CLOCK_SETTIME  = 88  // { int sys_clock_settime(clockid_t clock_id, \
-       SYS_CLOCK_GETRES   = 89  // { int sys_clock_getres(clockid_t clock_id, \
-       SYS_DUP2           = 90  // { int sys_dup2(int from, int to); }
-       SYS_NANOSLEEP      = 91  // { int sys_nanosleep(const struct timespec *rqtp, \
-       SYS_FCNTL          = 92  // { int sys_fcntl(int fd, int cmd, ... void *arg); }
-       SYS___THRSLEEP     = 94  // { int sys___thrsleep(const volatile void *ident, \
-       SYS_FSYNC          = 95  // { int sys_fsync(int fd); }
-       SYS_SETPRIORITY    = 96  // { int sys_setpriority(int which, id_t who, int prio); }
-       SYS_SOCKET         = 97  // { int sys_socket(int domain, int type, int protocol); }
-       SYS_CONNECT        = 98  // { int sys_connect(int s, const struct sockaddr *name, \
-       SYS_GETDENTS       = 99  // { int sys_getdents(int fd, void *buf, size_t buflen); }
-       SYS_GETPRIORITY    = 100 // { int sys_getpriority(int which, id_t who); }
-       SYS_SIGRETURN      = 103 // { int sys_sigreturn(struct sigcontext *sigcntxp); }
-       SYS_BIND           = 104 // { int sys_bind(int s, const struct sockaddr *name, \
-       SYS_SETSOCKOPT     = 105 // { int sys_setsockopt(int s, int level, int name, \
-       SYS_LISTEN         = 106 // { int sys_listen(int s, int backlog); }
-       SYS_PPOLL          = 109 // { int sys_ppoll(struct pollfd *fds, \
-       SYS_PSELECT        = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, \
-       SYS_SIGSUSPEND     = 111 // { int sys_sigsuspend(int mask); }
-       SYS_GETSOCKOPT     = 118 // { int sys_getsockopt(int s, int level, int name, \
-       SYS_READV          = 120 // { ssize_t sys_readv(int fd, \
-       SYS_WRITEV         = 121 // { ssize_t sys_writev(int fd, \
-       SYS_FCHOWN         = 123 // { int sys_fchown(int fd, uid_t uid, gid_t gid); }
-       SYS_FCHMOD         = 124 // { int sys_fchmod(int fd, mode_t mode); }
-       SYS_SETREUID       = 126 // { int sys_setreuid(uid_t ruid, uid_t euid); }
-       SYS_SETREGID       = 127 // { int sys_setregid(gid_t rgid, gid_t egid); }
-       SYS_RENAME         = 128 // { int sys_rename(const char *from, const char *to); }
-       SYS_FLOCK          = 131 // { int sys_flock(int fd, int how); }
-       SYS_MKFIFO         = 132 // { int sys_mkfifo(const char *path, mode_t mode); }
-       SYS_SENDTO         = 133 // { ssize_t sys_sendto(int s, const void *buf, \
-       SYS_SHUTDOWN       = 134 // { int sys_shutdown(int s, int how); }
-       SYS_SOCKETPAIR     = 135 // { int sys_socketpair(int domain, int type, \
-       SYS_MKDIR          = 136 // { int sys_mkdir(const char *path, mode_t mode); }
-       SYS_RMDIR          = 137 // { int sys_rmdir(const char *path); }
-       SYS_ADJTIME        = 140 // { int sys_adjtime(const struct timeval *delta, \
-       SYS_SETSID         = 147 // { int sys_setsid(void); }
-       SYS_QUOTACTL       = 148 // { int sys_quotactl(const char *path, int cmd, \
-       SYS_NFSSVC         = 155 // { int sys_nfssvc(int flag, void *argp); }
-       SYS_GETFH          = 161 // { int sys_getfh(const char *fname, fhandle_t *fhp); }
-       SYS_SYSARCH        = 165 // { int sys_sysarch(int op, void *parms); }
-       SYS_PREAD          = 173 // { ssize_t sys_pread(int fd, void *buf, \
-       SYS_PWRITE         = 174 // { ssize_t sys_pwrite(int fd, const void *buf, \
-       SYS_SETGID         = 181 // { int sys_setgid(gid_t gid); }
-       SYS_SETEGID        = 182 // { int sys_setegid(gid_t egid); }
-       SYS_SETEUID        = 183 // { int sys_seteuid(uid_t euid); }
-       SYS_PATHCONF       = 191 // { long sys_pathconf(const char *path, int name); }
-       SYS_FPATHCONF      = 192 // { long sys_fpathconf(int fd, int name); }
-       SYS_SWAPCTL        = 193 // { int sys_swapctl(int cmd, const void *arg, int misc); }
-       SYS_GETRLIMIT      = 194 // { int sys_getrlimit(int which, \
-       SYS_SETRLIMIT      = 195 // { int sys_setrlimit(int which, \
-       SYS_MMAP           = 197 // { void *sys_mmap(void *addr, size_t len, int prot, \
-       SYS_LSEEK          = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, \
-       SYS_TRUNCATE       = 200 // { int sys_truncate(const char *path, int pad, \
-       SYS_FTRUNCATE      = 201 // { int sys_ftruncate(int fd, int pad, off_t length); }
-       SYS___SYSCTL       = 202 // { int sys___sysctl(const int *name, u_int namelen, \
-       SYS_MLOCK          = 203 // { int sys_mlock(const void *addr, size_t len); }
-       SYS_MUNLOCK        = 204 // { int sys_munlock(const void *addr, size_t len); }
-       SYS_GETPGID        = 207 // { pid_t sys_getpgid(pid_t pid); }
-       SYS_UTRACE         = 209 // { int sys_utrace(const char *label, const void *addr, \
-       SYS_SEMGET         = 221 // { int sys_semget(key_t key, int nsems, int semflg); }
-       SYS_MSGGET         = 225 // { int sys_msgget(key_t key, int msgflg); }
-       SYS_MSGSND         = 226 // { int sys_msgsnd(int msqid, const void *msgp, size_t msgsz, \
-       SYS_MSGRCV         = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \
-       SYS_SHMAT          = 228 // { void *sys_shmat(int shmid, const void *shmaddr, \
-       SYS_SHMDT          = 230 // { int sys_shmdt(const void *shmaddr); }
-       SYS_MINHERIT       = 250 // { int sys_minherit(void *addr, size_t len, \
-       SYS_POLL           = 252 // { int sys_poll(struct pollfd *fds, \
-       SYS_ISSETUGID      = 253 // { int sys_issetugid(void); }
-       SYS_LCHOWN         = 254 // { int sys_lchown(const char *path, uid_t uid, gid_t gid); }
-       SYS_GETSID         = 255 // { pid_t sys_getsid(pid_t pid); }
-       SYS_MSYNC          = 256 // { int sys_msync(void *addr, size_t len, int flags); }
-       SYS_PIPE           = 263 // { int sys_pipe(int *fdp); }
-       SYS_FHOPEN         = 264 // { int sys_fhopen(const fhandle_t *fhp, int flags); }
-       SYS_PREADV         = 267 // { ssize_t sys_preadv(int fd, \
-       SYS_PWRITEV        = 268 // { ssize_t sys_pwritev(int fd, \
-       SYS_KQUEUE         = 269 // { int sys_kqueue(void); }
-       SYS_MLOCKALL       = 271 // { int sys_mlockall(int flags); }
-       SYS_MUNLOCKALL     = 272 // { int sys_munlockall(void); }
-       SYS_GETRESUID      = 281 // { int sys_getresuid(uid_t *ruid, uid_t *euid, \
-       SYS_SETRESUID      = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, \
-       SYS_GETRESGID      = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, \
-       SYS_SETRESGID      = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, \
-       SYS_MQUERY         = 286 // { void *sys_mquery(void *addr, size_t len, int prot, \
-       SYS_CLOSEFROM      = 287 // { int sys_closefrom(int fd); }
-       SYS_SIGALTSTACK    = 288 // { int sys_sigaltstack(const struct sigaltstack *nss, \
-       SYS_SHMGET         = 289 // { int sys_shmget(key_t key, size_t size, int shmflg); }
-       SYS_SEMOP          = 290 // { int sys_semop(int semid, struct sembuf *sops, \
-       SYS_FHSTAT         = 294 // { int sys_fhstat(const fhandle_t *fhp, \
-       SYS___SEMCTL       = 295 // { int sys___semctl(int semid, int semnum, int cmd, \
-       SYS_SHMCTL         = 296 // { int sys_shmctl(int shmid, int cmd, \
-       SYS_MSGCTL         = 297 // { int sys_msgctl(int msqid, int cmd, \
-       SYS_SCHED_YIELD    = 298 // { int sys_sched_yield(void); }
-       SYS_GETTHRID       = 299 // { pid_t sys_getthrid(void); }
-       SYS___THRWAKEUP    = 301 // { int sys___thrwakeup(const volatile void *ident, \
-       SYS___THREXIT      = 302 // { void sys___threxit(pid_t *notdead); }
-       SYS___THRSIGDIVERT = 303 // { int sys___thrsigdivert(sigset_t sigmask, \
-       SYS___GETCWD       = 304 // { int sys___getcwd(char *buf, size_t len); }
-       SYS_ADJFREQ        = 305 // { int sys_adjfreq(const int64_t *freq, \
-       SYS_SETRTABLE      = 310 // { int sys_setrtable(int rtableid); }
-       SYS_GETRTABLE      = 311 // { int sys_getrtable(void); }
-       SYS_FACCESSAT      = 313 // { int sys_faccessat(int fd, const char *path, \
-       SYS_FCHMODAT       = 314 // { int sys_fchmodat(int fd, const char *path, \
-       SYS_FCHOWNAT       = 315 // { int sys_fchownat(int fd, const char *path, \
-       SYS_LINKAT         = 317 // { int sys_linkat(int fd1, const char *path1, int fd2, \
-       SYS_MKDIRAT        = 318 // { int sys_mkdirat(int fd, const char *path, \
-       SYS_MKFIFOAT       = 319 // { int sys_mkfifoat(int fd, const char *path, \
-       SYS_MKNODAT        = 320 // { int sys_mknodat(int fd, const char *path, \
-       SYS_OPENAT         = 321 // { int sys_openat(int fd, const char *path, int flags, \
-       SYS_READLINKAT     = 322 // { ssize_t sys_readlinkat(int fd, const char *path, \
-       SYS_RENAMEAT       = 323 // { int sys_renameat(int fromfd, const char *from, \
-       SYS_SYMLINKAT      = 324 // { int sys_symlinkat(const char *path, int fd, \
-       SYS_UNLINKAT       = 325 // { int sys_unlinkat(int fd, const char *path, \
-       SYS___SET_TCB      = 329 // { void sys___set_tcb(void *tcb); }
-       SYS___GET_TCB      = 330 // { void *sys___get_tcb(void); }
-)
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go
deleted file mode 100644 (file)
index c708659..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// Copyright 2014 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build amd64,solaris
-
-package unix
-
-// TODO(aram): remove these before Go 1.3.
-const (
-       SYS_EXECVE = 59
-       SYS_FCNTL  = 62
-)
diff --git a/vendor/golang.org/x/sys/unix/ztypes_darwin_386.go b/vendor/golang.org/x/sys/unix/ztypes_darwin_386.go
deleted file mode 100644 (file)
index 2de1d44..0000000
+++ /dev/null
@@ -1,447 +0,0 @@
-// +build 386,darwin
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_darwin.go
-
-package unix
-
-const (
-       sizeofPtr      = 0x4
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x4
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int32
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int32
-       Nsec int32
-}
-
-type Timeval struct {
-       Sec  int32
-       Usec int32
-}
-
-type Timeval32 struct{}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int32
-       Ixrss    int32
-       Idrss    int32
-       Isrss    int32
-       Minflt   int32
-       Majflt   int32
-       Nswap    int32
-       Inblock  int32
-       Oublock  int32
-       Msgsnd   int32
-       Msgrcv   int32
-       Nsignals int32
-       Nvcsw    int32
-       Nivcsw   int32
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev           int32
-       Mode          uint16
-       Nlink         uint16
-       Ino           uint64
-       Uid           uint32
-       Gid           uint32
-       Rdev          int32
-       Atimespec     Timespec
-       Mtimespec     Timespec
-       Ctimespec     Timespec
-       Birthtimespec Timespec
-       Size          int64
-       Blocks        int64
-       Blksize       int32
-       Flags         uint32
-       Gen           uint32
-       Lspare        int32
-       Qspare        [2]int64
-}
-
-type Statfs_t struct {
-       Bsize       uint32
-       Iosize      int32
-       Blocks      uint64
-       Bfree       uint64
-       Bavail      uint64
-       Files       uint64
-       Ffree       uint64
-       Fsid        Fsid
-       Owner       uint32
-       Type        uint32
-       Flags       uint32
-       Fssubtype   uint32
-       Fstypename  [16]int8
-       Mntonname   [1024]int8
-       Mntfromname [1024]int8
-       Reserved    [8]uint32
-}
-
-type Flock_t struct {
-       Start  int64
-       Len    int64
-       Pid    int32
-       Type   int16
-       Whence int16
-}
-
-type Fstore_t struct {
-       Flags      uint32
-       Posmode    int32
-       Offset     int64
-       Length     int64
-       Bytesalloc int64
-}
-
-type Radvisory_t struct {
-       Offset int64
-       Count  int32
-}
-
-type Fbootstraptransfer_t struct {
-       Offset int64
-       Length uint32
-       Buffer *byte
-}
-
-type Log2phys_t struct {
-       Flags       uint32
-       Contigbytes int64
-       Devoffset   int64
-}
-
-type Fsid struct {
-       Val [2]int32
-}
-
-type Dirent struct {
-       Ino       uint64
-       Seekoff   uint64
-       Reclen    uint16
-       Namlen    uint16
-       Type      uint8
-       Name      [1024]int8
-       Pad_cgo_0 [3]byte
-}
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [12]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint32
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Iov        *Iovec
-       Iovlen     int32
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  uint32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x14
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x1c
-       SizeofCmsghdr          = 0xc
-       SizeofInet4Pktinfo     = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident  uint32
-       Filter int16
-       Flags  uint16
-       Fflags uint32
-       Data   int32
-       Udata  *byte
-}
-
-type FdSet struct {
-       Bits [32]int32
-}
-
-const (
-       SizeofIfMsghdr    = 0x70
-       SizeofIfData      = 0x60
-       SizeofIfaMsghdr   = 0x14
-       SizeofIfmaMsghdr  = 0x10
-       SizeofIfmaMsghdr2 = 0x14
-       SizeofRtMsghdr    = 0x5c
-       SizeofRtMetrics   = 0x38
-)
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-}
-
-type IfData struct {
-       Type       uint8
-       Typelen    uint8
-       Physical   uint8
-       Addrlen    uint8
-       Hdrlen     uint8
-       Recvquota  uint8
-       Xmitquota  uint8
-       Unused1    uint8
-       Mtu        uint32
-       Metric     uint32
-       Baudrate   uint32
-       Ipackets   uint32
-       Ierrors    uint32
-       Opackets   uint32
-       Oerrors    uint32
-       Collisions uint32
-       Ibytes     uint32
-       Obytes     uint32
-       Imcasts    uint32
-       Omcasts    uint32
-       Iqdrops    uint32
-       Noproto    uint32
-       Recvtiming uint32
-       Xmittiming uint32
-       Lastchange Timeval
-       Unused2    uint32
-       Hwassist   uint32
-       Reserved1  uint32
-       Reserved2  uint32
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Metric    int32
-}
-
-type IfmaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-}
-
-type IfmaMsghdr2 struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Refcount  int32
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Use       int32
-       Inits     uint32
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks    uint32
-       Mtu      uint32
-       Hopcount uint32
-       Expire   int32
-       Recvpipe uint32
-       Sendpipe uint32
-       Ssthresh uint32
-       Rtt      uint32
-       Rttvar   uint32
-       Pksent   uint32
-       Filler   [4]uint32
-}
-
-const (
-       SizeofBpfVersion = 0x4
-       SizeofBpfStat    = 0x8
-       SizeofBpfProgram = 0x8
-       SizeofBpfInsn    = 0x8
-       SizeofBpfHdr     = 0x14
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv uint32
-       Drop uint32
-}
-
-type BpfProgram struct {
-       Len   uint32
-       Insns *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    Timeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [2]byte
-}
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [20]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go
deleted file mode 100644 (file)
index 0446578..0000000
+++ /dev/null
@@ -1,462 +0,0 @@
-// +build amd64,darwin
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_darwin.go
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec       int64
-       Usec      int32
-       Pad_cgo_0 [4]byte
-}
-
-type Timeval32 struct {
-       Sec  int32
-       Usec int32
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev           int32
-       Mode          uint16
-       Nlink         uint16
-       Ino           uint64
-       Uid           uint32
-       Gid           uint32
-       Rdev          int32
-       Pad_cgo_0     [4]byte
-       Atimespec     Timespec
-       Mtimespec     Timespec
-       Ctimespec     Timespec
-       Birthtimespec Timespec
-       Size          int64
-       Blocks        int64
-       Blksize       int32
-       Flags         uint32
-       Gen           uint32
-       Lspare        int32
-       Qspare        [2]int64
-}
-
-type Statfs_t struct {
-       Bsize       uint32
-       Iosize      int32
-       Blocks      uint64
-       Bfree       uint64
-       Bavail      uint64
-       Files       uint64
-       Ffree       uint64
-       Fsid        Fsid
-       Owner       uint32
-       Type        uint32
-       Flags       uint32
-       Fssubtype   uint32
-       Fstypename  [16]int8
-       Mntonname   [1024]int8
-       Mntfromname [1024]int8
-       Reserved    [8]uint32
-}
-
-type Flock_t struct {
-       Start  int64
-       Len    int64
-       Pid    int32
-       Type   int16
-       Whence int16
-}
-
-type Fstore_t struct {
-       Flags      uint32
-       Posmode    int32
-       Offset     int64
-       Length     int64
-       Bytesalloc int64
-}
-
-type Radvisory_t struct {
-       Offset    int64
-       Count     int32
-       Pad_cgo_0 [4]byte
-}
-
-type Fbootstraptransfer_t struct {
-       Offset int64
-       Length uint64
-       Buffer *byte
-}
-
-type Log2phys_t struct {
-       Flags     uint32
-       Pad_cgo_0 [8]byte
-       Pad_cgo_1 [8]byte
-}
-
-type Fsid struct {
-       Val [2]int32
-}
-
-type Dirent struct {
-       Ino       uint64
-       Seekoff   uint64
-       Reclen    uint16
-       Namlen    uint16
-       Type      uint8
-       Name      [1024]int8
-       Pad_cgo_0 [3]byte
-}
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [12]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     int32
-       Pad_cgo_1  [4]byte
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  uint32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x14
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x30
-       SizeofCmsghdr          = 0xc
-       SizeofInet4Pktinfo     = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident  uint64
-       Filter int16
-       Flags  uint16
-       Fflags uint32
-       Data   int64
-       Udata  *byte
-}
-
-type FdSet struct {
-       Bits [32]int32
-}
-
-const (
-       SizeofIfMsghdr    = 0x70
-       SizeofIfData      = 0x60
-       SizeofIfaMsghdr   = 0x14
-       SizeofIfmaMsghdr  = 0x10
-       SizeofIfmaMsghdr2 = 0x14
-       SizeofRtMsghdr    = 0x5c
-       SizeofRtMetrics   = 0x38
-)
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-}
-
-type IfData struct {
-       Type       uint8
-       Typelen    uint8
-       Physical   uint8
-       Addrlen    uint8
-       Hdrlen     uint8
-       Recvquota  uint8
-       Xmitquota  uint8
-       Unused1    uint8
-       Mtu        uint32
-       Metric     uint32
-       Baudrate   uint32
-       Ipackets   uint32
-       Ierrors    uint32
-       Opackets   uint32
-       Oerrors    uint32
-       Collisions uint32
-       Ibytes     uint32
-       Obytes     uint32
-       Imcasts    uint32
-       Omcasts    uint32
-       Iqdrops    uint32
-       Noproto    uint32
-       Recvtiming uint32
-       Xmittiming uint32
-       Lastchange Timeval32
-       Unused2    uint32
-       Hwassist   uint32
-       Reserved1  uint32
-       Reserved2  uint32
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Metric    int32
-}
-
-type IfmaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-}
-
-type IfmaMsghdr2 struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Refcount  int32
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Use       int32
-       Inits     uint32
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks    uint32
-       Mtu      uint32
-       Hopcount uint32
-       Expire   int32
-       Recvpipe uint32
-       Sendpipe uint32
-       Ssthresh uint32
-       Rtt      uint32
-       Rttvar   uint32
-       Pksent   uint32
-       Filler   [4]uint32
-}
-
-const (
-       SizeofBpfVersion = 0x4
-       SizeofBpfStat    = 0x8
-       SizeofBpfProgram = 0x10
-       SizeofBpfInsn    = 0x8
-       SizeofBpfHdr     = 0x14
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv uint32
-       Drop uint32
-}
-
-type BpfProgram struct {
-       Len       uint32
-       Pad_cgo_0 [4]byte
-       Insns     *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    Timeval32
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [2]byte
-}
-
-type Termios struct {
-       Iflag     uint64
-       Oflag     uint64
-       Cflag     uint64
-       Lflag     uint64
-       Cc        [20]uint8
-       Pad_cgo_0 [4]byte
-       Ispeed    uint64
-       Ospeed    uint64
-}
-
-const (
-       AT_FDCWD            = -0x2
-       AT_SYMLINK_NOFOLLOW = 0x20
-)
diff --git a/vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go b/vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go
deleted file mode 100644 (file)
index 66df363..0000000
+++ /dev/null
@@ -1,449 +0,0 @@
-// NOTE: cgo can't generate struct Stat_t and struct Statfs_t yet
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_darwin.go
-
-// +build arm,darwin
-
-package unix
-
-const (
-       sizeofPtr      = 0x4
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x4
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int32
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int32
-       Nsec int32
-}
-
-type Timeval struct {
-       Sec  int32
-       Usec int32
-}
-
-type Timeval32 [0]byte
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int32
-       Ixrss    int32
-       Idrss    int32
-       Isrss    int32
-       Minflt   int32
-       Majflt   int32
-       Nswap    int32
-       Inblock  int32
-       Oublock  int32
-       Msgsnd   int32
-       Msgrcv   int32
-       Nsignals int32
-       Nvcsw    int32
-       Nivcsw   int32
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev           int32
-       Mode          uint16
-       Nlink         uint16
-       Ino           uint64
-       Uid           uint32
-       Gid           uint32
-       Rdev          int32
-       Atimespec     Timespec
-       Mtimespec     Timespec
-       Ctimespec     Timespec
-       Birthtimespec Timespec
-       Size          int64
-       Blocks        int64
-       Blksize       int32
-       Flags         uint32
-       Gen           uint32
-       Lspare        int32
-       Qspare        [2]int64
-}
-
-type Statfs_t struct {
-       Bsize       uint32
-       Iosize      int32
-       Blocks      uint64
-       Bfree       uint64
-       Bavail      uint64
-       Files       uint64
-       Ffree       uint64
-       Fsid        Fsid
-       Owner       uint32
-       Type        uint32
-       Flags       uint32
-       Fssubtype   uint32
-       Fstypename  [16]int8
-       Mntonname   [1024]int8
-       Mntfromname [1024]int8
-       Reserved    [8]uint32
-}
-
-type Flock_t struct {
-       Start  int64
-       Len    int64
-       Pid    int32
-       Type   int16
-       Whence int16
-}
-
-type Fstore_t struct {
-       Flags      uint32
-       Posmode    int32
-       Offset     int64
-       Length     int64
-       Bytesalloc int64
-}
-
-type Radvisory_t struct {
-       Offset int64
-       Count  int32
-}
-
-type Fbootstraptransfer_t struct {
-       Offset int64
-       Length uint32
-       Buffer *byte
-}
-
-type Log2phys_t struct {
-       Flags       uint32
-       Contigbytes int64
-       Devoffset   int64
-}
-
-type Fsid struct {
-       Val [2]int32
-}
-
-type Dirent struct {
-       Ino       uint64
-       Seekoff   uint64
-       Reclen    uint16
-       Namlen    uint16
-       Type      uint8
-       Name      [1024]int8
-       Pad_cgo_0 [3]byte
-}
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [12]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint32
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Iov        *Iovec
-       Iovlen     int32
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  uint32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x14
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x1c
-       SizeofCmsghdr          = 0xc
-       SizeofInet4Pktinfo     = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident  uint32
-       Filter int16
-       Flags  uint16
-       Fflags uint32
-       Data   int32
-       Udata  *byte
-}
-
-type FdSet struct {
-       Bits [32]int32
-}
-
-const (
-       SizeofIfMsghdr    = 0x70
-       SizeofIfData      = 0x60
-       SizeofIfaMsghdr   = 0x14
-       SizeofIfmaMsghdr  = 0x10
-       SizeofIfmaMsghdr2 = 0x14
-       SizeofRtMsghdr    = 0x5c
-       SizeofRtMetrics   = 0x38
-)
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-}
-
-type IfData struct {
-       Type       uint8
-       Typelen    uint8
-       Physical   uint8
-       Addrlen    uint8
-       Hdrlen     uint8
-       Recvquota  uint8
-       Xmitquota  uint8
-       Unused1    uint8
-       Mtu        uint32
-       Metric     uint32
-       Baudrate   uint32
-       Ipackets   uint32
-       Ierrors    uint32
-       Opackets   uint32
-       Oerrors    uint32
-       Collisions uint32
-       Ibytes     uint32
-       Obytes     uint32
-       Imcasts    uint32
-       Omcasts    uint32
-       Iqdrops    uint32
-       Noproto    uint32
-       Recvtiming uint32
-       Xmittiming uint32
-       Lastchange Timeval
-       Unused2    uint32
-       Hwassist   uint32
-       Reserved1  uint32
-       Reserved2  uint32
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Metric    int32
-}
-
-type IfmaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-}
-
-type IfmaMsghdr2 struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Refcount  int32
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Use       int32
-       Inits     uint32
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks    uint32
-       Mtu      uint32
-       Hopcount uint32
-       Expire   int32
-       Recvpipe uint32
-       Sendpipe uint32
-       Ssthresh uint32
-       Rtt      uint32
-       Rttvar   uint32
-       Pksent   uint32
-       Filler   [4]uint32
-}
-
-const (
-       SizeofBpfVersion = 0x4
-       SizeofBpfStat    = 0x8
-       SizeofBpfProgram = 0x8
-       SizeofBpfInsn    = 0x8
-       SizeofBpfHdr     = 0x14
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv uint32
-       Drop uint32
-}
-
-type BpfProgram struct {
-       Len   uint32
-       Insns *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    Timeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [2]byte
-}
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [20]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go b/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go
deleted file mode 100644 (file)
index 85d56ea..0000000
+++ /dev/null
@@ -1,457 +0,0 @@
-// +build arm64,darwin
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_darwin.go
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec       int64
-       Usec      int32
-       Pad_cgo_0 [4]byte
-}
-
-type Timeval32 struct {
-       Sec  int32
-       Usec int32
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev           int32
-       Mode          uint16
-       Nlink         uint16
-       Ino           uint64
-       Uid           uint32
-       Gid           uint32
-       Rdev          int32
-       Pad_cgo_0     [4]byte
-       Atimespec     Timespec
-       Mtimespec     Timespec
-       Ctimespec     Timespec
-       Birthtimespec Timespec
-       Size          int64
-       Blocks        int64
-       Blksize       int32
-       Flags         uint32
-       Gen           uint32
-       Lspare        int32
-       Qspare        [2]int64
-}
-
-type Statfs_t struct {
-       Bsize       uint32
-       Iosize      int32
-       Blocks      uint64
-       Bfree       uint64
-       Bavail      uint64
-       Files       uint64
-       Ffree       uint64
-       Fsid        Fsid
-       Owner       uint32
-       Type        uint32
-       Flags       uint32
-       Fssubtype   uint32
-       Fstypename  [16]int8
-       Mntonname   [1024]int8
-       Mntfromname [1024]int8
-       Reserved    [8]uint32
-}
-
-type Flock_t struct {
-       Start  int64
-       Len    int64
-       Pid    int32
-       Type   int16
-       Whence int16
-}
-
-type Fstore_t struct {
-       Flags      uint32
-       Posmode    int32
-       Offset     int64
-       Length     int64
-       Bytesalloc int64
-}
-
-type Radvisory_t struct {
-       Offset    int64
-       Count     int32
-       Pad_cgo_0 [4]byte
-}
-
-type Fbootstraptransfer_t struct {
-       Offset int64
-       Length uint64
-       Buffer *byte
-}
-
-type Log2phys_t struct {
-       Flags     uint32
-       Pad_cgo_0 [8]byte
-       Pad_cgo_1 [8]byte
-}
-
-type Fsid struct {
-       Val [2]int32
-}
-
-type Dirent struct {
-       Ino       uint64
-       Seekoff   uint64
-       Reclen    uint16
-       Namlen    uint16
-       Type      uint8
-       Name      [1024]int8
-       Pad_cgo_0 [3]byte
-}
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [12]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     int32
-       Pad_cgo_1  [4]byte
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  uint32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x14
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x30
-       SizeofCmsghdr          = 0xc
-       SizeofInet4Pktinfo     = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident  uint64
-       Filter int16
-       Flags  uint16
-       Fflags uint32
-       Data   int64
-       Udata  *byte
-}
-
-type FdSet struct {
-       Bits [32]int32
-}
-
-const (
-       SizeofIfMsghdr    = 0x70
-       SizeofIfData      = 0x60
-       SizeofIfaMsghdr   = 0x14
-       SizeofIfmaMsghdr  = 0x10
-       SizeofIfmaMsghdr2 = 0x14
-       SizeofRtMsghdr    = 0x5c
-       SizeofRtMetrics   = 0x38
-)
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-}
-
-type IfData struct {
-       Type       uint8
-       Typelen    uint8
-       Physical   uint8
-       Addrlen    uint8
-       Hdrlen     uint8
-       Recvquota  uint8
-       Xmitquota  uint8
-       Unused1    uint8
-       Mtu        uint32
-       Metric     uint32
-       Baudrate   uint32
-       Ipackets   uint32
-       Ierrors    uint32
-       Opackets   uint32
-       Oerrors    uint32
-       Collisions uint32
-       Ibytes     uint32
-       Obytes     uint32
-       Imcasts    uint32
-       Omcasts    uint32
-       Iqdrops    uint32
-       Noproto    uint32
-       Recvtiming uint32
-       Xmittiming uint32
-       Lastchange Timeval32
-       Unused2    uint32
-       Hwassist   uint32
-       Reserved1  uint32
-       Reserved2  uint32
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Metric    int32
-}
-
-type IfmaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-}
-
-type IfmaMsghdr2 struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Refcount  int32
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Use       int32
-       Inits     uint32
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks    uint32
-       Mtu      uint32
-       Hopcount uint32
-       Expire   int32
-       Recvpipe uint32
-       Sendpipe uint32
-       Ssthresh uint32
-       Rtt      uint32
-       Rttvar   uint32
-       Pksent   uint32
-       Filler   [4]uint32
-}
-
-const (
-       SizeofBpfVersion = 0x4
-       SizeofBpfStat    = 0x8
-       SizeofBpfProgram = 0x10
-       SizeofBpfInsn    = 0x8
-       SizeofBpfHdr     = 0x14
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv uint32
-       Drop uint32
-}
-
-type BpfProgram struct {
-       Len       uint32
-       Pad_cgo_0 [4]byte
-       Insns     *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    Timeval32
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [2]byte
-}
-
-type Termios struct {
-       Iflag     uint64
-       Oflag     uint64
-       Cflag     uint64
-       Lflag     uint64
-       Cc        [20]uint8
-       Pad_cgo_0 [4]byte
-       Ispeed    uint64
-       Ospeed    uint64
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go
deleted file mode 100644 (file)
index e585c89..0000000
+++ /dev/null
@@ -1,443 +0,0 @@
-// cgo -godefs types_dragonfly.go | go run mkpost.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build amd64,dragonfly
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur int64
-       Max int64
-}
-
-type _Gid_t uint32
-
-const (
-       S_IFMT   = 0xf000
-       S_IFIFO  = 0x1000
-       S_IFCHR  = 0x2000
-       S_IFDIR  = 0x4000
-       S_IFBLK  = 0x6000
-       S_IFREG  = 0x8000
-       S_IFLNK  = 0xa000
-       S_IFSOCK = 0xc000
-       S_ISUID  = 0x800
-       S_ISGID  = 0x400
-       S_ISVTX  = 0x200
-       S_IRUSR  = 0x100
-       S_IWUSR  = 0x80
-       S_IXUSR  = 0x40
-)
-
-type Stat_t struct {
-       Ino      uint64
-       Nlink    uint32
-       Dev      uint32
-       Mode     uint16
-       Padding1 uint16
-       Uid      uint32
-       Gid      uint32
-       Rdev     uint32
-       Atim     Timespec
-       Mtim     Timespec
-       Ctim     Timespec
-       Size     int64
-       Blocks   int64
-       Blksize  uint32
-       Flags    uint32
-       Gen      uint32
-       Lspare   int32
-       Qspare1  int64
-       Qspare2  int64
-}
-
-type Statfs_t struct {
-       Spare2      int64
-       Bsize       int64
-       Iosize      int64
-       Blocks      int64
-       Bfree       int64
-       Bavail      int64
-       Files       int64
-       Ffree       int64
-       Fsid        Fsid
-       Owner       uint32
-       Type        int32
-       Flags       int32
-       Pad_cgo_0   [4]byte
-       Syncwrites  int64
-       Asyncwrites int64
-       Fstypename  [16]int8
-       Mntonname   [80]int8
-       Syncreads   int64
-       Asyncreads  int64
-       Spares1     int16
-       Mntfromname [80]int8
-       Spares2     int16
-       Pad_cgo_1   [4]byte
-       Spare       [2]int64
-}
-
-type Flock_t struct {
-       Start  int64
-       Len    int64
-       Pid    int32
-       Type   int16
-       Whence int16
-}
-
-type Dirent struct {
-       Fileno  uint64
-       Namlen  uint16
-       Type    uint8
-       Unused1 uint8
-       Unused2 uint32
-       Name    [256]int8
-}
-
-type Fsid struct {
-       Val [2]int32
-}
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [12]int8
-       Rcf    uint16
-       Route  [16]uint16
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     int32
-       Pad_cgo_1  [4]byte
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x36
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x30
-       SizeofCmsghdr          = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident  uint64
-       Filter int16
-       Flags  uint16
-       Fflags uint32
-       Data   int64
-       Udata  *byte
-}
-
-type FdSet struct {
-       Bits [16]uint64
-}
-
-const (
-       SizeofIfMsghdr         = 0xb0
-       SizeofIfData           = 0xa0
-       SizeofIfaMsghdr        = 0x14
-       SizeofIfmaMsghdr       = 0x10
-       SizeofIfAnnounceMsghdr = 0x18
-       SizeofRtMsghdr         = 0x98
-       SizeofRtMetrics        = 0x70
-)
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-}
-
-type IfData struct {
-       Type       uint8
-       Physical   uint8
-       Addrlen    uint8
-       Hdrlen     uint8
-       Recvquota  uint8
-       Xmitquota  uint8
-       Pad_cgo_0  [2]byte
-       Mtu        uint64
-       Metric     uint64
-       Link_state uint64
-       Baudrate   uint64
-       Ipackets   uint64
-       Ierrors    uint64
-       Opackets   uint64
-       Oerrors    uint64
-       Collisions uint64
-       Ibytes     uint64
-       Obytes     uint64
-       Imcasts    uint64
-       Omcasts    uint64
-       Iqdrops    uint64
-       Noproto    uint64
-       Hwassist   uint64
-       Oqdrops    uint64
-       Lastchange Timeval
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Metric    int32
-}
-
-type IfmaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-}
-
-type IfAnnounceMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Index   uint16
-       Name    [16]int8
-       What    uint16
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Use       int32
-       Inits     uint64
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks     uint64
-       Mtu       uint64
-       Pksent    uint64
-       Expire    uint64
-       Sendpipe  uint64
-       Ssthresh  uint64
-       Rtt       uint64
-       Rttvar    uint64
-       Recvpipe  uint64
-       Hopcount  uint64
-       Mssopt    uint16
-       Pad       uint16
-       Pad_cgo_0 [4]byte
-       Msl       uint64
-       Iwmaxsegs uint64
-       Iwcapsegs uint64
-}
-
-const (
-       SizeofBpfVersion = 0x4
-       SizeofBpfStat    = 0x8
-       SizeofBpfProgram = 0x10
-       SizeofBpfInsn    = 0x8
-       SizeofBpfHdr     = 0x20
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv uint32
-       Drop uint32
-}
-
-type BpfProgram struct {
-       Len       uint32
-       Pad_cgo_0 [4]byte
-       Insns     *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    Timeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [6]byte
-}
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [20]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go b/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go
deleted file mode 100644 (file)
index 8cf3094..0000000
+++ /dev/null
@@ -1,502 +0,0 @@
-// +build 386,freebsd
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_freebsd.go
-
-package unix
-
-const (
-       sizeofPtr      = 0x4
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x4
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int32
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int32
-       Nsec int32
-}
-
-type Timeval struct {
-       Sec  int32
-       Usec int32
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int32
-       Ixrss    int32
-       Idrss    int32
-       Isrss    int32
-       Minflt   int32
-       Majflt   int32
-       Nswap    int32
-       Inblock  int32
-       Oublock  int32
-       Msgsnd   int32
-       Msgrcv   int32
-       Nsignals int32
-       Nvcsw    int32
-       Nivcsw   int32
-}
-
-type Rlimit struct {
-       Cur int64
-       Max int64
-}
-
-type _Gid_t uint32
-
-const (
-       S_IFMT   = 0xf000
-       S_IFIFO  = 0x1000
-       S_IFCHR  = 0x2000
-       S_IFDIR  = 0x4000
-       S_IFBLK  = 0x6000
-       S_IFREG  = 0x8000
-       S_IFLNK  = 0xa000
-       S_IFSOCK = 0xc000
-       S_ISUID  = 0x800
-       S_ISGID  = 0x400
-       S_ISVTX  = 0x200
-       S_IRUSR  = 0x100
-       S_IWUSR  = 0x80
-       S_IXUSR  = 0x40
-)
-
-type Stat_t struct {
-       Dev           uint32
-       Ino           uint32
-       Mode          uint16
-       Nlink         uint16
-       Uid           uint32
-       Gid           uint32
-       Rdev          uint32
-       Atimespec     Timespec
-       Mtimespec     Timespec
-       Ctimespec     Timespec
-       Size          int64
-       Blocks        int64
-       Blksize       uint32
-       Flags         uint32
-       Gen           uint32
-       Lspare        int32
-       Birthtimespec Timespec
-       Pad_cgo_0     [8]byte
-}
-
-type Statfs_t struct {
-       Version     uint32
-       Type        uint32
-       Flags       uint64
-       Bsize       uint64
-       Iosize      uint64
-       Blocks      uint64
-       Bfree       uint64
-       Bavail      int64
-       Files       uint64
-       Ffree       int64
-       Syncwrites  uint64
-       Asyncwrites uint64
-       Syncreads   uint64
-       Asyncreads  uint64
-       Spare       [10]uint64
-       Namemax     uint32
-       Owner       uint32
-       Fsid        Fsid
-       Charspare   [80]int8
-       Fstypename  [16]int8
-       Mntfromname [88]int8
-       Mntonname   [88]int8
-}
-
-type Flock_t struct {
-       Start  int64
-       Len    int64
-       Pid    int32
-       Type   int16
-       Whence int16
-       Sysid  int32
-}
-
-type Dirent struct {
-       Fileno uint32
-       Reclen uint16
-       Type   uint8
-       Namlen uint8
-       Name   [256]int8
-}
-
-type Fsid struct {
-       Val [2]int32
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x4
-       FADV_NOREUSE    = 0x5
-)
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [46]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint32
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Iov        *Iovec
-       Iovlen     int32
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x36
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPMreqn          = 0xc
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x1c
-       SizeofCmsghdr          = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident  uint32
-       Filter int16
-       Flags  uint16
-       Fflags uint32
-       Data   int32
-       Udata  *byte
-}
-
-type FdSet struct {
-       X__fds_bits [32]uint32
-}
-
-const (
-       sizeofIfMsghdr         = 0x64
-       SizeofIfMsghdr         = 0x60
-       sizeofIfData           = 0x54
-       SizeofIfData           = 0x50
-       SizeofIfaMsghdr        = 0x14
-       SizeofIfmaMsghdr       = 0x10
-       SizeofIfAnnounceMsghdr = 0x18
-       SizeofRtMsghdr         = 0x5c
-       SizeofRtMetrics        = 0x38
-)
-
-type ifMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      ifData
-}
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-}
-
-type ifData struct {
-       Type        uint8
-       Physical    uint8
-       Addrlen     uint8
-       Hdrlen      uint8
-       Link_state  uint8
-       Vhid        uint8
-       Baudrate_pf uint8
-       Datalen     uint8
-       Mtu         uint32
-       Metric      uint32
-       Baudrate    uint32
-       Ipackets    uint32
-       Ierrors     uint32
-       Opackets    uint32
-       Oerrors     uint32
-       Collisions  uint32
-       Ibytes      uint32
-       Obytes      uint32
-       Imcasts     uint32
-       Omcasts     uint32
-       Iqdrops     uint32
-       Noproto     uint32
-       Hwassist    uint64
-       Epoch       int32
-       Lastchange  Timeval
-}
-
-type IfData struct {
-       Type        uint8
-       Physical    uint8
-       Addrlen     uint8
-       Hdrlen      uint8
-       Link_state  uint8
-       Spare_char1 uint8
-       Spare_char2 uint8
-       Datalen     uint8
-       Mtu         uint32
-       Metric      uint32
-       Baudrate    uint32
-       Ipackets    uint32
-       Ierrors     uint32
-       Opackets    uint32
-       Oerrors     uint32
-       Collisions  uint32
-       Ibytes      uint32
-       Obytes      uint32
-       Imcasts     uint32
-       Omcasts     uint32
-       Iqdrops     uint32
-       Noproto     uint32
-       Hwassist    uint32
-       Epoch       int32
-       Lastchange  Timeval
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Metric    int32
-}
-
-type IfmaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-}
-
-type IfAnnounceMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Index   uint16
-       Name    [16]int8
-       What    uint16
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Fmask     int32
-       Inits     uint32
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks    uint32
-       Mtu      uint32
-       Hopcount uint32
-       Expire   uint32
-       Recvpipe uint32
-       Sendpipe uint32
-       Ssthresh uint32
-       Rtt      uint32
-       Rttvar   uint32
-       Pksent   uint32
-       Weight   uint32
-       Filler   [3]uint32
-}
-
-const (
-       SizeofBpfVersion    = 0x4
-       SizeofBpfStat       = 0x8
-       SizeofBpfZbuf       = 0xc
-       SizeofBpfProgram    = 0x8
-       SizeofBpfInsn       = 0x8
-       SizeofBpfHdr        = 0x14
-       SizeofBpfZbufHeader = 0x20
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv uint32
-       Drop uint32
-}
-
-type BpfZbuf struct {
-       Bufa   *byte
-       Bufb   *byte
-       Buflen uint32
-}
-
-type BpfProgram struct {
-       Len   uint32
-       Insns *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    Timeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [2]byte
-}
-
-type BpfZbufHeader struct {
-       Kernel_gen uint32
-       Kernel_len uint32
-       User_gen   uint32
-       X_bzh_pad  [5]uint32
-}
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [20]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
deleted file mode 100644 (file)
index e5feb20..0000000
+++ /dev/null
@@ -1,505 +0,0 @@
-// +build amd64,freebsd
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_freebsd.go
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur int64
-       Max int64
-}
-
-type _Gid_t uint32
-
-const (
-       S_IFMT   = 0xf000
-       S_IFIFO  = 0x1000
-       S_IFCHR  = 0x2000
-       S_IFDIR  = 0x4000
-       S_IFBLK  = 0x6000
-       S_IFREG  = 0x8000
-       S_IFLNK  = 0xa000
-       S_IFSOCK = 0xc000
-       S_ISUID  = 0x800
-       S_ISGID  = 0x400
-       S_ISVTX  = 0x200
-       S_IRUSR  = 0x100
-       S_IWUSR  = 0x80
-       S_IXUSR  = 0x40
-)
-
-type Stat_t struct {
-       Dev           uint32
-       Ino           uint32
-       Mode          uint16
-       Nlink         uint16
-       Uid           uint32
-       Gid           uint32
-       Rdev          uint32
-       Atimespec     Timespec
-       Mtimespec     Timespec
-       Ctimespec     Timespec
-       Size          int64
-       Blocks        int64
-       Blksize       uint32
-       Flags         uint32
-       Gen           uint32
-       Lspare        int32
-       Birthtimespec Timespec
-}
-
-type Statfs_t struct {
-       Version     uint32
-       Type        uint32
-       Flags       uint64
-       Bsize       uint64
-       Iosize      uint64
-       Blocks      uint64
-       Bfree       uint64
-       Bavail      int64
-       Files       uint64
-       Ffree       int64
-       Syncwrites  uint64
-       Asyncwrites uint64
-       Syncreads   uint64
-       Asyncreads  uint64
-       Spare       [10]uint64
-       Namemax     uint32
-       Owner       uint32
-       Fsid        Fsid
-       Charspare   [80]int8
-       Fstypename  [16]int8
-       Mntfromname [88]int8
-       Mntonname   [88]int8
-}
-
-type Flock_t struct {
-       Start     int64
-       Len       int64
-       Pid       int32
-       Type      int16
-       Whence    int16
-       Sysid     int32
-       Pad_cgo_0 [4]byte
-}
-
-type Dirent struct {
-       Fileno uint32
-       Reclen uint16
-       Type   uint8
-       Namlen uint8
-       Name   [256]int8
-}
-
-type Fsid struct {
-       Val [2]int32
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x4
-       FADV_NOREUSE    = 0x5
-)
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [46]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     int32
-       Pad_cgo_1  [4]byte
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x36
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPMreqn          = 0xc
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x30
-       SizeofCmsghdr          = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident  uint64
-       Filter int16
-       Flags  uint16
-       Fflags uint32
-       Data   int64
-       Udata  *byte
-}
-
-type FdSet struct {
-       X__fds_bits [16]uint64
-}
-
-const (
-       sizeofIfMsghdr         = 0xa8
-       SizeofIfMsghdr         = 0xa8
-       sizeofIfData           = 0x98
-       SizeofIfData           = 0x98
-       SizeofIfaMsghdr        = 0x14
-       SizeofIfmaMsghdr       = 0x10
-       SizeofIfAnnounceMsghdr = 0x18
-       SizeofRtMsghdr         = 0x98
-       SizeofRtMetrics        = 0x70
-)
-
-type ifMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      ifData
-}
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-}
-
-type ifData struct {
-       Type        uint8
-       Physical    uint8
-       Addrlen     uint8
-       Hdrlen      uint8
-       Link_state  uint8
-       Vhid        uint8
-       Baudrate_pf uint8
-       Datalen     uint8
-       Mtu         uint64
-       Metric      uint64
-       Baudrate    uint64
-       Ipackets    uint64
-       Ierrors     uint64
-       Opackets    uint64
-       Oerrors     uint64
-       Collisions  uint64
-       Ibytes      uint64
-       Obytes      uint64
-       Imcasts     uint64
-       Omcasts     uint64
-       Iqdrops     uint64
-       Noproto     uint64
-       Hwassist    uint64
-       Epoch       int64
-       Lastchange  Timeval
-}
-
-type IfData struct {
-       Type        uint8
-       Physical    uint8
-       Addrlen     uint8
-       Hdrlen      uint8
-       Link_state  uint8
-       Spare_char1 uint8
-       Spare_char2 uint8
-       Datalen     uint8
-       Mtu         uint64
-       Metric      uint64
-       Baudrate    uint64
-       Ipackets    uint64
-       Ierrors     uint64
-       Opackets    uint64
-       Oerrors     uint64
-       Collisions  uint64
-       Ibytes      uint64
-       Obytes      uint64
-       Imcasts     uint64
-       Omcasts     uint64
-       Iqdrops     uint64
-       Noproto     uint64
-       Hwassist    uint64
-       Epoch       int64
-       Lastchange  Timeval
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Metric    int32
-}
-
-type IfmaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-}
-
-type IfAnnounceMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Index   uint16
-       Name    [16]int8
-       What    uint16
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Fmask     int32
-       Inits     uint64
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks    uint64
-       Mtu      uint64
-       Hopcount uint64
-       Expire   uint64
-       Recvpipe uint64
-       Sendpipe uint64
-       Ssthresh uint64
-       Rtt      uint64
-       Rttvar   uint64
-       Pksent   uint64
-       Weight   uint64
-       Filler   [3]uint64
-}
-
-const (
-       SizeofBpfVersion    = 0x4
-       SizeofBpfStat       = 0x8
-       SizeofBpfZbuf       = 0x18
-       SizeofBpfProgram    = 0x10
-       SizeofBpfInsn       = 0x8
-       SizeofBpfHdr        = 0x20
-       SizeofBpfZbufHeader = 0x20
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv uint32
-       Drop uint32
-}
-
-type BpfZbuf struct {
-       Bufa   *byte
-       Bufb   *byte
-       Buflen uint64
-}
-
-type BpfProgram struct {
-       Len       uint32
-       Pad_cgo_0 [4]byte
-       Insns     *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    Timeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [6]byte
-}
-
-type BpfZbufHeader struct {
-       Kernel_gen uint32
-       Kernel_len uint32
-       User_gen   uint32
-       X_bzh_pad  [5]uint32
-}
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [20]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go b/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go
deleted file mode 100644 (file)
index 5472b54..0000000
+++ /dev/null
@@ -1,497 +0,0 @@
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs -- -fsigned-char types_freebsd.go
-
-// +build arm,freebsd
-
-package unix
-
-const (
-       sizeofPtr      = 0x4
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x4
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int32
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec       int64
-       Nsec      int32
-       Pad_cgo_0 [4]byte
-}
-
-type Timeval struct {
-       Sec       int64
-       Usec      int32
-       Pad_cgo_0 [4]byte
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int32
-       Ixrss    int32
-       Idrss    int32
-       Isrss    int32
-       Minflt   int32
-       Majflt   int32
-       Nswap    int32
-       Inblock  int32
-       Oublock  int32
-       Msgsnd   int32
-       Msgrcv   int32
-       Nsignals int32
-       Nvcsw    int32
-       Nivcsw   int32
-}
-
-type Rlimit struct {
-       Cur int64
-       Max int64
-}
-
-type _Gid_t uint32
-
-const (
-       S_IFMT   = 0xf000
-       S_IFIFO  = 0x1000
-       S_IFCHR  = 0x2000
-       S_IFDIR  = 0x4000
-       S_IFBLK  = 0x6000
-       S_IFREG  = 0x8000
-       S_IFLNK  = 0xa000
-       S_IFSOCK = 0xc000
-       S_ISUID  = 0x800
-       S_ISGID  = 0x400
-       S_ISVTX  = 0x200
-       S_IRUSR  = 0x100
-       S_IWUSR  = 0x80
-       S_IXUSR  = 0x40
-)
-
-type Stat_t struct {
-       Dev           uint32
-       Ino           uint32
-       Mode          uint16
-       Nlink         uint16
-       Uid           uint32
-       Gid           uint32
-       Rdev          uint32
-       Atimespec     Timespec
-       Mtimespec     Timespec
-       Ctimespec     Timespec
-       Size          int64
-       Blocks        int64
-       Blksize       uint32
-       Flags         uint32
-       Gen           uint32
-       Lspare        int32
-       Birthtimespec Timespec
-}
-
-type Statfs_t struct {
-       Version     uint32
-       Type        uint32
-       Flags       uint64
-       Bsize       uint64
-       Iosize      uint64
-       Blocks      uint64
-       Bfree       uint64
-       Bavail      int64
-       Files       uint64
-       Ffree       int64
-       Syncwrites  uint64
-       Asyncwrites uint64
-       Syncreads   uint64
-       Asyncreads  uint64
-       Spare       [10]uint64
-       Namemax     uint32
-       Owner       uint32
-       Fsid        Fsid
-       Charspare   [80]int8
-       Fstypename  [16]int8
-       Mntfromname [88]int8
-       Mntonname   [88]int8
-}
-
-type Flock_t struct {
-       Start     int64
-       Len       int64
-       Pid       int32
-       Type      int16
-       Whence    int16
-       Sysid     int32
-       Pad_cgo_0 [4]byte
-}
-
-type Dirent struct {
-       Fileno uint32
-       Reclen uint16
-       Type   uint8
-       Namlen uint8
-       Name   [256]int8
-}
-
-type Fsid struct {
-       Val [2]int32
-}
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [46]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint32
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Iov        *Iovec
-       Iovlen     int32
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x36
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPMreqn          = 0xc
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x1c
-       SizeofCmsghdr          = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident  uint32
-       Filter int16
-       Flags  uint16
-       Fflags uint32
-       Data   int32
-       Udata  *byte
-}
-
-type FdSet struct {
-       X__fds_bits [32]uint32
-}
-
-const (
-       sizeofIfMsghdr         = 0x70
-       SizeofIfMsghdr         = 0x70
-       sizeofIfData           = 0x60
-       SizeofIfData           = 0x60
-       SizeofIfaMsghdr        = 0x14
-       SizeofIfmaMsghdr       = 0x10
-       SizeofIfAnnounceMsghdr = 0x18
-       SizeofRtMsghdr         = 0x5c
-       SizeofRtMetrics        = 0x38
-)
-
-type ifMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      ifData
-}
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-}
-
-type ifData struct {
-       Type        uint8
-       Physical    uint8
-       Addrlen     uint8
-       Hdrlen      uint8
-       Link_state  uint8
-       Vhid        uint8
-       Baudrate_pf uint8
-       Datalen     uint8
-       Mtu         uint32
-       Metric      uint32
-       Baudrate    uint32
-       Ipackets    uint32
-       Ierrors     uint32
-       Opackets    uint32
-       Oerrors     uint32
-       Collisions  uint32
-       Ibytes      uint32
-       Obytes      uint32
-       Imcasts     uint32
-       Omcasts     uint32
-       Iqdrops     uint32
-       Noproto     uint32
-       Hwassist    uint64
-       Epoch       int64
-       Lastchange  Timeval
-}
-
-type IfData struct {
-       Type        uint8
-       Physical    uint8
-       Addrlen     uint8
-       Hdrlen      uint8
-       Link_state  uint8
-       Spare_char1 uint8
-       Spare_char2 uint8
-       Datalen     uint8
-       Mtu         uint32
-       Metric      uint32
-       Baudrate    uint32
-       Ipackets    uint32
-       Ierrors     uint32
-       Opackets    uint32
-       Oerrors     uint32
-       Collisions  uint32
-       Ibytes      uint32
-       Obytes      uint32
-       Imcasts     uint32
-       Omcasts     uint32
-       Iqdrops     uint32
-       Noproto     uint32
-       Hwassist    uint32
-       Pad_cgo_0   [4]byte
-       Epoch       int64
-       Lastchange  Timeval
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Metric    int32
-}
-
-type IfmaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-}
-
-type IfAnnounceMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Index   uint16
-       Name    [16]int8
-       What    uint16
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Fmask     int32
-       Inits     uint32
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks    uint32
-       Mtu      uint32
-       Hopcount uint32
-       Expire   uint32
-       Recvpipe uint32
-       Sendpipe uint32
-       Ssthresh uint32
-       Rtt      uint32
-       Rttvar   uint32
-       Pksent   uint32
-       Weight   uint32
-       Filler   [3]uint32
-}
-
-const (
-       SizeofBpfVersion    = 0x4
-       SizeofBpfStat       = 0x8
-       SizeofBpfZbuf       = 0xc
-       SizeofBpfProgram    = 0x8
-       SizeofBpfInsn       = 0x8
-       SizeofBpfHdr        = 0x20
-       SizeofBpfZbufHeader = 0x20
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv uint32
-       Drop uint32
-}
-
-type BpfZbuf struct {
-       Bufa   *byte
-       Bufb   *byte
-       Buflen uint32
-}
-
-type BpfProgram struct {
-       Len   uint32
-       Insns *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    Timeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [6]byte
-}
-
-type BpfZbufHeader struct {
-       Kernel_gen uint32
-       Kernel_len uint32
-       User_gen   uint32
-       X_bzh_pad  [5]uint32
-}
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [20]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_386.go b/vendor/golang.org/x/sys/unix/ztypes_linux_386.go
deleted file mode 100644 (file)
index 7333755..0000000
+++ /dev/null
@@ -1,668 +0,0 @@
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m32 linux/types.go | go run mkpost.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build 386,linux
-
-package unix
-
-const (
-       sizeofPtr      = 0x4
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x4
-       sizeofLongLong = 0x8
-       PathMax        = 0x1000
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int32
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int32
-       Nsec int32
-}
-
-type Timeval struct {
-       Sec  int32
-       Usec int32
-}
-
-type Timex struct {
-       Modes     uint32
-       Offset    int32
-       Freq      int32
-       Maxerror  int32
-       Esterror  int32
-       Status    int32
-       Constant  int32
-       Precision int32
-       Tolerance int32
-       Time      Timeval
-       Tick      int32
-       Ppsfreq   int32
-       Jitter    int32
-       Shift     int32
-       Stabil    int32
-       Jitcnt    int32
-       Calcnt    int32
-       Errcnt    int32
-       Stbcnt    int32
-       Tai       int32
-       Pad_cgo_0 [44]byte
-}
-
-type Time_t int32
-
-type Tms struct {
-       Utime  int32
-       Stime  int32
-       Cutime int32
-       Cstime int32
-}
-
-type Utimbuf struct {
-       Actime  int32
-       Modtime int32
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int32
-       Ixrss    int32
-       Idrss    int32
-       Isrss    int32
-       Minflt   int32
-       Majflt   int32
-       Nswap    int32
-       Inblock  int32
-       Oublock  int32
-       Msgsnd   int32
-       Msgrcv   int32
-       Nsignals int32
-       Nvcsw    int32
-       Nivcsw   int32
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev       uint64
-       X__pad1   uint16
-       Pad_cgo_0 [2]byte
-       X__st_ino uint32
-       Mode      uint32
-       Nlink     uint32
-       Uid       uint32
-       Gid       uint32
-       Rdev      uint64
-       X__pad2   uint16
-       Pad_cgo_1 [2]byte
-       Size      int64
-       Blksize   int32
-       Blocks    int64
-       Atim      Timespec
-       Mtim      Timespec
-       Ctim      Timespec
-       Ino       uint64
-}
-
-type Statfs_t struct {
-       Type    int32
-       Bsize   int32
-       Blocks  uint64
-       Bfree   uint64
-       Bavail  uint64
-       Files   uint64
-       Ffree   uint64
-       Fsid    Fsid
-       Namelen int32
-       Frsize  int32
-       Flags   int32
-       Spare   [4]int32
-}
-
-type Dirent struct {
-       Ino       uint64
-       Off       int64
-       Reclen    uint16
-       Type      uint8
-       Name      [256]int8
-       Pad_cgo_0 [1]byte
-}
-
-type Fsid struct {
-       X__val [2]int32
-}
-
-type Flock_t struct {
-       Type   int16
-       Whence int16
-       Start  int64
-       Len    int64
-       Pid    int32
-}
-
-type FscryptPolicy struct {
-       Version                   uint8
-       Contents_encryption_mode  uint8
-       Filenames_encryption_mode uint8
-       Flags                     uint8
-       Master_key_descriptor     [8]uint8
-}
-
-type FscryptKey struct {
-       Mode uint32
-       Raw  [64]uint8
-       Size uint32
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x4
-       FADV_NOREUSE    = 0x5
-)
-
-type RawSockaddrInet4 struct {
-       Family uint16
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]uint8
-}
-
-type RawSockaddrInet6 struct {
-       Family   uint16
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Family uint16
-       Path   [108]int8
-}
-
-type RawSockaddrLinklayer struct {
-       Family   uint16
-       Protocol uint16
-       Ifindex  int32
-       Hatype   uint16
-       Pkttype  uint8
-       Halen    uint8
-       Addr     [8]uint8
-}
-
-type RawSockaddrNetlink struct {
-       Family uint16
-       Pad    uint16
-       Pid    uint32
-       Groups uint32
-}
-
-type RawSockaddrHCI struct {
-       Family  uint16
-       Dev     uint16
-       Channel uint16
-}
-
-type RawSockaddrCAN struct {
-       Family    uint16
-       Pad_cgo_0 [2]byte
-       Ifindex   int32
-       Addr      [8]byte
-}
-
-type RawSockaddrALG struct {
-       Family uint16
-       Type   [14]uint8
-       Feat   uint32
-       Mask   uint32
-       Name   [64]uint8
-}
-
-type RawSockaddrVM struct {
-       Family    uint16
-       Reserved1 uint16
-       Port      uint32
-       Cid       uint32
-       Zero      [4]uint8
-}
-
-type RawSockaddr struct {
-       Family uint16
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [96]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint32
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Iov        *Iovec
-       Iovlen     uint32
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  int32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Data [8]uint32
-}
-
-type Ucred struct {
-       Pid int32
-       Uid uint32
-       Gid uint32
-}
-
-type TCPInfo struct {
-       State          uint8
-       Ca_state       uint8
-       Retransmits    uint8
-       Probes         uint8
-       Backoff        uint8
-       Options        uint8
-       Pad_cgo_0      [2]byte
-       Rto            uint32
-       Ato            uint32
-       Snd_mss        uint32
-       Rcv_mss        uint32
-       Unacked        uint32
-       Sacked         uint32
-       Lost           uint32
-       Retrans        uint32
-       Fackets        uint32
-       Last_data_sent uint32
-       Last_ack_sent  uint32
-       Last_data_recv uint32
-       Last_ack_recv  uint32
-       Pmtu           uint32
-       Rcv_ssthresh   uint32
-       Rtt            uint32
-       Rttvar         uint32
-       Snd_ssthresh   uint32
-       Snd_cwnd       uint32
-       Advmss         uint32
-       Reordering     uint32
-       Rcv_rtt        uint32
-       Rcv_space      uint32
-       Total_retrans  uint32
-}
-
-const (
-       SizeofSockaddrInet4     = 0x10
-       SizeofSockaddrInet6     = 0x1c
-       SizeofSockaddrAny       = 0x70
-       SizeofSockaddrUnix      = 0x6e
-       SizeofSockaddrLinklayer = 0x14
-       SizeofSockaddrNetlink   = 0xc
-       SizeofSockaddrHCI       = 0x6
-       SizeofSockaddrCAN       = 0x10
-       SizeofSockaddrALG       = 0x58
-       SizeofSockaddrVM        = 0x10
-       SizeofLinger            = 0x8
-       SizeofIPMreq            = 0x8
-       SizeofIPMreqn           = 0xc
-       SizeofIPv6Mreq          = 0x14
-       SizeofMsghdr            = 0x1c
-       SizeofCmsghdr           = 0xc
-       SizeofInet4Pktinfo      = 0xc
-       SizeofInet6Pktinfo      = 0x14
-       SizeofIPv6MTUInfo       = 0x20
-       SizeofICMPv6Filter      = 0x20
-       SizeofUcred             = 0xc
-       SizeofTCPInfo           = 0x68
-)
-
-const (
-       IFA_UNSPEC          = 0x0
-       IFA_ADDRESS         = 0x1
-       IFA_LOCAL           = 0x2
-       IFA_LABEL           = 0x3
-       IFA_BROADCAST       = 0x4
-       IFA_ANYCAST         = 0x5
-       IFA_CACHEINFO       = 0x6
-       IFA_MULTICAST       = 0x7
-       IFLA_UNSPEC         = 0x0
-       IFLA_ADDRESS        = 0x1
-       IFLA_BROADCAST      = 0x2
-       IFLA_IFNAME         = 0x3
-       IFLA_MTU            = 0x4
-       IFLA_LINK           = 0x5
-       IFLA_QDISC          = 0x6
-       IFLA_STATS          = 0x7
-       IFLA_COST           = 0x8
-       IFLA_PRIORITY       = 0x9
-       IFLA_MASTER         = 0xa
-       IFLA_WIRELESS       = 0xb
-       IFLA_PROTINFO       = 0xc
-       IFLA_TXQLEN         = 0xd
-       IFLA_MAP            = 0xe
-       IFLA_WEIGHT         = 0xf
-       IFLA_OPERSTATE      = 0x10
-       IFLA_LINKMODE       = 0x11
-       IFLA_LINKINFO       = 0x12
-       IFLA_NET_NS_PID     = 0x13
-       IFLA_IFALIAS        = 0x14
-       IFLA_MAX            = 0x2b
-       RT_SCOPE_UNIVERSE   = 0x0
-       RT_SCOPE_SITE       = 0xc8
-       RT_SCOPE_LINK       = 0xfd
-       RT_SCOPE_HOST       = 0xfe
-       RT_SCOPE_NOWHERE    = 0xff
-       RT_TABLE_UNSPEC     = 0x0
-       RT_TABLE_COMPAT     = 0xfc
-       RT_TABLE_DEFAULT    = 0xfd
-       RT_TABLE_MAIN       = 0xfe
-       RT_TABLE_LOCAL      = 0xff
-       RT_TABLE_MAX        = 0xffffffff
-       RTA_UNSPEC          = 0x0
-       RTA_DST             = 0x1
-       RTA_SRC             = 0x2
-       RTA_IIF             = 0x3
-       RTA_OIF             = 0x4
-       RTA_GATEWAY         = 0x5
-       RTA_PRIORITY        = 0x6
-       RTA_PREFSRC         = 0x7
-       RTA_METRICS         = 0x8
-       RTA_MULTIPATH       = 0x9
-       RTA_FLOW            = 0xb
-       RTA_CACHEINFO       = 0xc
-       RTA_TABLE           = 0xf
-       RTN_UNSPEC          = 0x0
-       RTN_UNICAST         = 0x1
-       RTN_LOCAL           = 0x2
-       RTN_BROADCAST       = 0x3
-       RTN_ANYCAST         = 0x4
-       RTN_MULTICAST       = 0x5
-       RTN_BLACKHOLE       = 0x6
-       RTN_UNREACHABLE     = 0x7
-       RTN_PROHIBIT        = 0x8
-       RTN_THROW           = 0x9
-       RTN_NAT             = 0xa
-       RTN_XRESOLVE        = 0xb
-       RTNLGRP_NONE        = 0x0
-       RTNLGRP_LINK        = 0x1
-       RTNLGRP_NOTIFY      = 0x2
-       RTNLGRP_NEIGH       = 0x3
-       RTNLGRP_TC          = 0x4
-       RTNLGRP_IPV4_IFADDR = 0x5
-       RTNLGRP_IPV4_MROUTE = 0x6
-       RTNLGRP_IPV4_ROUTE  = 0x7
-       RTNLGRP_IPV4_RULE   = 0x8
-       RTNLGRP_IPV6_IFADDR = 0x9
-       RTNLGRP_IPV6_MROUTE = 0xa
-       RTNLGRP_IPV6_ROUTE  = 0xb
-       RTNLGRP_IPV6_IFINFO = 0xc
-       RTNLGRP_IPV6_PREFIX = 0x12
-       RTNLGRP_IPV6_RULE   = 0x13
-       RTNLGRP_ND_USEROPT  = 0x14
-       SizeofNlMsghdr      = 0x10
-       SizeofNlMsgerr      = 0x14
-       SizeofRtGenmsg      = 0x1
-       SizeofNlAttr        = 0x4
-       SizeofRtAttr        = 0x4
-       SizeofIfInfomsg     = 0x10
-       SizeofIfAddrmsg     = 0x8
-       SizeofRtMsg         = 0xc
-       SizeofRtNexthop     = 0x8
-)
-
-type NlMsghdr struct {
-       Len   uint32
-       Type  uint16
-       Flags uint16
-       Seq   uint32
-       Pid   uint32
-}
-
-type NlMsgerr struct {
-       Error int32
-       Msg   NlMsghdr
-}
-
-type RtGenmsg struct {
-       Family uint8
-}
-
-type NlAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type RtAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type IfInfomsg struct {
-       Family     uint8
-       X__ifi_pad uint8
-       Type       uint16
-       Index      int32
-       Flags      uint32
-       Change     uint32
-}
-
-type IfAddrmsg struct {
-       Family    uint8
-       Prefixlen uint8
-       Flags     uint8
-       Scope     uint8
-       Index     uint32
-}
-
-type RtMsg struct {
-       Family   uint8
-       Dst_len  uint8
-       Src_len  uint8
-       Tos      uint8
-       Table    uint8
-       Protocol uint8
-       Scope    uint8
-       Type     uint8
-       Flags    uint32
-}
-
-type RtNexthop struct {
-       Len     uint16
-       Flags   uint8
-       Hops    uint8
-       Ifindex int32
-}
-
-const (
-       SizeofSockFilter = 0x8
-       SizeofSockFprog  = 0x8
-)
-
-type SockFilter struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type SockFprog struct {
-       Len       uint16
-       Pad_cgo_0 [2]byte
-       Filter    *SockFilter
-}
-
-type InotifyEvent struct {
-       Wd     int32
-       Mask   uint32
-       Cookie uint32
-       Len    uint32
-}
-
-const SizeofInotifyEvent = 0x10
-
-type PtraceRegs struct {
-       Ebx      int32
-       Ecx      int32
-       Edx      int32
-       Esi      int32
-       Edi      int32
-       Ebp      int32
-       Eax      int32
-       Xds      int32
-       Xes      int32
-       Xfs      int32
-       Xgs      int32
-       Orig_eax int32
-       Eip      int32
-       Xcs      int32
-       Eflags   int32
-       Esp      int32
-       Xss      int32
-}
-
-type FdSet struct {
-       Bits [32]int32
-}
-
-type Sysinfo_t struct {
-       Uptime    int32
-       Loads     [3]uint32
-       Totalram  uint32
-       Freeram   uint32
-       Sharedram uint32
-       Bufferram uint32
-       Totalswap uint32
-       Freeswap  uint32
-       Procs     uint16
-       Pad       uint16
-       Totalhigh uint32
-       Freehigh  uint32
-       Unit      uint32
-       X_f       [8]int8
-}
-
-type Utsname struct {
-       Sysname    [65]int8
-       Nodename   [65]int8
-       Release    [65]int8
-       Version    [65]int8
-       Machine    [65]int8
-       Domainname [65]int8
-}
-
-type Ustat_t struct {
-       Tfree  int32
-       Tinode uint32
-       Fname  [6]int8
-       Fpack  [6]int8
-}
-
-type EpollEvent struct {
-       Events uint32
-       Fd     int32
-       Pad    int32
-}
-
-const (
-       AT_FDCWD            = -0x64
-       AT_REMOVEDIR        = 0x200
-       AT_SYMLINK_FOLLOW   = 0x400
-       AT_SYMLINK_NOFOLLOW = 0x100
-)
-
-type PollFd struct {
-       Fd      int32
-       Events  int16
-       Revents int16
-}
-
-const (
-       POLLIN    = 0x1
-       POLLPRI   = 0x2
-       POLLOUT   = 0x4
-       POLLRDHUP = 0x2000
-       POLLERR   = 0x8
-       POLLHUP   = 0x10
-       POLLNVAL  = 0x20
-)
-
-type Sigset_t struct {
-       X__val [32]uint32
-}
-
-const _SC_PAGESIZE = 0x1e
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Line   uint8
-       Cc     [19]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
deleted file mode 100644 (file)
index 5807e17..0000000
+++ /dev/null
@@ -1,686 +0,0 @@
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m64 linux/types.go | go run mkpost.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build amd64,linux
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-       PathMax        = 0x1000
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Timex struct {
-       Modes     uint32
-       Pad_cgo_0 [4]byte
-       Offset    int64
-       Freq      int64
-       Maxerror  int64
-       Esterror  int64
-       Status    int32
-       Pad_cgo_1 [4]byte
-       Constant  int64
-       Precision int64
-       Tolerance int64
-       Time      Timeval
-       Tick      int64
-       Ppsfreq   int64
-       Jitter    int64
-       Shift     int32
-       Pad_cgo_2 [4]byte
-       Stabil    int64
-       Jitcnt    int64
-       Calcnt    int64
-       Errcnt    int64
-       Stbcnt    int64
-       Tai       int32
-       Pad_cgo_3 [44]byte
-}
-
-type Time_t int64
-
-type Tms struct {
-       Utime  int64
-       Stime  int64
-       Cutime int64
-       Cstime int64
-}
-
-type Utimbuf struct {
-       Actime  int64
-       Modtime int64
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev     uint64
-       Ino     uint64
-       Nlink   uint64
-       Mode    uint32
-       Uid     uint32
-       Gid     uint32
-       X__pad0 int32
-       Rdev    uint64
-       Size    int64
-       Blksize int64
-       Blocks  int64
-       Atim    Timespec
-       Mtim    Timespec
-       Ctim    Timespec
-       _       [3]int64
-}
-
-type Statfs_t struct {
-       Type    int64
-       Bsize   int64
-       Blocks  uint64
-       Bfree   uint64
-       Bavail  uint64
-       Files   uint64
-       Ffree   uint64
-       Fsid    Fsid
-       Namelen int64
-       Frsize  int64
-       Flags   int64
-       Spare   [4]int64
-}
-
-type Dirent struct {
-       Ino       uint64
-       Off       int64
-       Reclen    uint16
-       Type      uint8
-       Name      [256]int8
-       Pad_cgo_0 [5]byte
-}
-
-type Fsid struct {
-       X__val [2]int32
-}
-
-type Flock_t struct {
-       Type      int16
-       Whence    int16
-       Pad_cgo_0 [4]byte
-       Start     int64
-       Len       int64
-       Pid       int32
-       Pad_cgo_1 [4]byte
-}
-
-type FscryptPolicy struct {
-       Version                   uint8
-       Contents_encryption_mode  uint8
-       Filenames_encryption_mode uint8
-       Flags                     uint8
-       Master_key_descriptor     [8]uint8
-}
-
-type FscryptKey struct {
-       Mode uint32
-       Raw  [64]uint8
-       Size uint32
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x4
-       FADV_NOREUSE    = 0x5
-)
-
-type RawSockaddrInet4 struct {
-       Family uint16
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]uint8
-}
-
-type RawSockaddrInet6 struct {
-       Family   uint16
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Family uint16
-       Path   [108]int8
-}
-
-type RawSockaddrLinklayer struct {
-       Family   uint16
-       Protocol uint16
-       Ifindex  int32
-       Hatype   uint16
-       Pkttype  uint8
-       Halen    uint8
-       Addr     [8]uint8
-}
-
-type RawSockaddrNetlink struct {
-       Family uint16
-       Pad    uint16
-       Pid    uint32
-       Groups uint32
-}
-
-type RawSockaddrHCI struct {
-       Family  uint16
-       Dev     uint16
-       Channel uint16
-}
-
-type RawSockaddrCAN struct {
-       Family    uint16
-       Pad_cgo_0 [2]byte
-       Ifindex   int32
-       Addr      [8]byte
-}
-
-type RawSockaddrALG struct {
-       Family uint16
-       Type   [14]uint8
-       Feat   uint32
-       Mask   uint32
-       Name   [64]uint8
-}
-
-type RawSockaddrVM struct {
-       Family    uint16
-       Reserved1 uint16
-       Port      uint32
-       Cid       uint32
-       Zero      [4]uint8
-}
-
-type RawSockaddr struct {
-       Family uint16
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [96]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     uint64
-       Control    *byte
-       Controllen uint64
-       Flags      int32
-       Pad_cgo_1  [4]byte
-}
-
-type Cmsghdr struct {
-       Len   uint64
-       Level int32
-       Type  int32
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  int32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Data [8]uint32
-}
-
-type Ucred struct {
-       Pid int32
-       Uid uint32
-       Gid uint32
-}
-
-type TCPInfo struct {
-       State          uint8
-       Ca_state       uint8
-       Retransmits    uint8
-       Probes         uint8
-       Backoff        uint8
-       Options        uint8
-       Pad_cgo_0      [2]byte
-       Rto            uint32
-       Ato            uint32
-       Snd_mss        uint32
-       Rcv_mss        uint32
-       Unacked        uint32
-       Sacked         uint32
-       Lost           uint32
-       Retrans        uint32
-       Fackets        uint32
-       Last_data_sent uint32
-       Last_ack_sent  uint32
-       Last_data_recv uint32
-       Last_ack_recv  uint32
-       Pmtu           uint32
-       Rcv_ssthresh   uint32
-       Rtt            uint32
-       Rttvar         uint32
-       Snd_ssthresh   uint32
-       Snd_cwnd       uint32
-       Advmss         uint32
-       Reordering     uint32
-       Rcv_rtt        uint32
-       Rcv_space      uint32
-       Total_retrans  uint32
-}
-
-const (
-       SizeofSockaddrInet4     = 0x10
-       SizeofSockaddrInet6     = 0x1c
-       SizeofSockaddrAny       = 0x70
-       SizeofSockaddrUnix      = 0x6e
-       SizeofSockaddrLinklayer = 0x14
-       SizeofSockaddrNetlink   = 0xc
-       SizeofSockaddrHCI       = 0x6
-       SizeofSockaddrCAN       = 0x10
-       SizeofSockaddrALG       = 0x58
-       SizeofSockaddrVM        = 0x10
-       SizeofLinger            = 0x8
-       SizeofIPMreq            = 0x8
-       SizeofIPMreqn           = 0xc
-       SizeofIPv6Mreq          = 0x14
-       SizeofMsghdr            = 0x38
-       SizeofCmsghdr           = 0x10
-       SizeofInet4Pktinfo      = 0xc
-       SizeofInet6Pktinfo      = 0x14
-       SizeofIPv6MTUInfo       = 0x20
-       SizeofICMPv6Filter      = 0x20
-       SizeofUcred             = 0xc
-       SizeofTCPInfo           = 0x68
-)
-
-const (
-       IFA_UNSPEC          = 0x0
-       IFA_ADDRESS         = 0x1
-       IFA_LOCAL           = 0x2
-       IFA_LABEL           = 0x3
-       IFA_BROADCAST       = 0x4
-       IFA_ANYCAST         = 0x5
-       IFA_CACHEINFO       = 0x6
-       IFA_MULTICAST       = 0x7
-       IFLA_UNSPEC         = 0x0
-       IFLA_ADDRESS        = 0x1
-       IFLA_BROADCAST      = 0x2
-       IFLA_IFNAME         = 0x3
-       IFLA_MTU            = 0x4
-       IFLA_LINK           = 0x5
-       IFLA_QDISC          = 0x6
-       IFLA_STATS          = 0x7
-       IFLA_COST           = 0x8
-       IFLA_PRIORITY       = 0x9
-       IFLA_MASTER         = 0xa
-       IFLA_WIRELESS       = 0xb
-       IFLA_PROTINFO       = 0xc
-       IFLA_TXQLEN         = 0xd
-       IFLA_MAP            = 0xe
-       IFLA_WEIGHT         = 0xf
-       IFLA_OPERSTATE      = 0x10
-       IFLA_LINKMODE       = 0x11
-       IFLA_LINKINFO       = 0x12
-       IFLA_NET_NS_PID     = 0x13
-       IFLA_IFALIAS        = 0x14
-       IFLA_MAX            = 0x2b
-       RT_SCOPE_UNIVERSE   = 0x0
-       RT_SCOPE_SITE       = 0xc8
-       RT_SCOPE_LINK       = 0xfd
-       RT_SCOPE_HOST       = 0xfe
-       RT_SCOPE_NOWHERE    = 0xff
-       RT_TABLE_UNSPEC     = 0x0
-       RT_TABLE_COMPAT     = 0xfc
-       RT_TABLE_DEFAULT    = 0xfd
-       RT_TABLE_MAIN       = 0xfe
-       RT_TABLE_LOCAL      = 0xff
-       RT_TABLE_MAX        = 0xffffffff
-       RTA_UNSPEC          = 0x0
-       RTA_DST             = 0x1
-       RTA_SRC             = 0x2
-       RTA_IIF             = 0x3
-       RTA_OIF             = 0x4
-       RTA_GATEWAY         = 0x5
-       RTA_PRIORITY        = 0x6
-       RTA_PREFSRC         = 0x7
-       RTA_METRICS         = 0x8
-       RTA_MULTIPATH       = 0x9
-       RTA_FLOW            = 0xb
-       RTA_CACHEINFO       = 0xc
-       RTA_TABLE           = 0xf
-       RTN_UNSPEC          = 0x0
-       RTN_UNICAST         = 0x1
-       RTN_LOCAL           = 0x2
-       RTN_BROADCAST       = 0x3
-       RTN_ANYCAST         = 0x4
-       RTN_MULTICAST       = 0x5
-       RTN_BLACKHOLE       = 0x6
-       RTN_UNREACHABLE     = 0x7
-       RTN_PROHIBIT        = 0x8
-       RTN_THROW           = 0x9
-       RTN_NAT             = 0xa
-       RTN_XRESOLVE        = 0xb
-       RTNLGRP_NONE        = 0x0
-       RTNLGRP_LINK        = 0x1
-       RTNLGRP_NOTIFY      = 0x2
-       RTNLGRP_NEIGH       = 0x3
-       RTNLGRP_TC          = 0x4
-       RTNLGRP_IPV4_IFADDR = 0x5
-       RTNLGRP_IPV4_MROUTE = 0x6
-       RTNLGRP_IPV4_ROUTE  = 0x7
-       RTNLGRP_IPV4_RULE   = 0x8
-       RTNLGRP_IPV6_IFADDR = 0x9
-       RTNLGRP_IPV6_MROUTE = 0xa
-       RTNLGRP_IPV6_ROUTE  = 0xb
-       RTNLGRP_IPV6_IFINFO = 0xc
-       RTNLGRP_IPV6_PREFIX = 0x12
-       RTNLGRP_IPV6_RULE   = 0x13
-       RTNLGRP_ND_USEROPT  = 0x14
-       SizeofNlMsghdr      = 0x10
-       SizeofNlMsgerr      = 0x14
-       SizeofRtGenmsg      = 0x1
-       SizeofNlAttr        = 0x4
-       SizeofRtAttr        = 0x4
-       SizeofIfInfomsg     = 0x10
-       SizeofIfAddrmsg     = 0x8
-       SizeofRtMsg         = 0xc
-       SizeofRtNexthop     = 0x8
-)
-
-type NlMsghdr struct {
-       Len   uint32
-       Type  uint16
-       Flags uint16
-       Seq   uint32
-       Pid   uint32
-}
-
-type NlMsgerr struct {
-       Error int32
-       Msg   NlMsghdr
-}
-
-type RtGenmsg struct {
-       Family uint8
-}
-
-type NlAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type RtAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type IfInfomsg struct {
-       Family     uint8
-       X__ifi_pad uint8
-       Type       uint16
-       Index      int32
-       Flags      uint32
-       Change     uint32
-}
-
-type IfAddrmsg struct {
-       Family    uint8
-       Prefixlen uint8
-       Flags     uint8
-       Scope     uint8
-       Index     uint32
-}
-
-type RtMsg struct {
-       Family   uint8
-       Dst_len  uint8
-       Src_len  uint8
-       Tos      uint8
-       Table    uint8
-       Protocol uint8
-       Scope    uint8
-       Type     uint8
-       Flags    uint32
-}
-
-type RtNexthop struct {
-       Len     uint16
-       Flags   uint8
-       Hops    uint8
-       Ifindex int32
-}
-
-const (
-       SizeofSockFilter = 0x8
-       SizeofSockFprog  = 0x10
-)
-
-type SockFilter struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type SockFprog struct {
-       Len       uint16
-       Pad_cgo_0 [6]byte
-       Filter    *SockFilter
-}
-
-type InotifyEvent struct {
-       Wd     int32
-       Mask   uint32
-       Cookie uint32
-       Len    uint32
-}
-
-const SizeofInotifyEvent = 0x10
-
-type PtraceRegs struct {
-       R15      uint64
-       R14      uint64
-       R13      uint64
-       R12      uint64
-       Rbp      uint64
-       Rbx      uint64
-       R11      uint64
-       R10      uint64
-       R9       uint64
-       R8       uint64
-       Rax      uint64
-       Rcx      uint64
-       Rdx      uint64
-       Rsi      uint64
-       Rdi      uint64
-       Orig_rax uint64
-       Rip      uint64
-       Cs       uint64
-       Eflags   uint64
-       Rsp      uint64
-       Ss       uint64
-       Fs_base  uint64
-       Gs_base  uint64
-       Ds       uint64
-       Es       uint64
-       Fs       uint64
-       Gs       uint64
-}
-
-type FdSet struct {
-       Bits [16]int64
-}
-
-type Sysinfo_t struct {
-       Uptime    int64
-       Loads     [3]uint64
-       Totalram  uint64
-       Freeram   uint64
-       Sharedram uint64
-       Bufferram uint64
-       Totalswap uint64
-       Freeswap  uint64
-       Procs     uint16
-       Pad       uint16
-       Pad_cgo_0 [4]byte
-       Totalhigh uint64
-       Freehigh  uint64
-       Unit      uint32
-       X_f       [0]int8
-       Pad_cgo_1 [4]byte
-}
-
-type Utsname struct {
-       Sysname    [65]int8
-       Nodename   [65]int8
-       Release    [65]int8
-       Version    [65]int8
-       Machine    [65]int8
-       Domainname [65]int8
-}
-
-type Ustat_t struct {
-       Tfree     int32
-       Pad_cgo_0 [4]byte
-       Tinode    uint64
-       Fname     [6]int8
-       Fpack     [6]int8
-       Pad_cgo_1 [4]byte
-}
-
-type EpollEvent struct {
-       Events uint32
-       Fd     int32
-       Pad    int32
-}
-
-const (
-       AT_FDCWD            = -0x64
-       AT_REMOVEDIR        = 0x200
-       AT_SYMLINK_FOLLOW   = 0x400
-       AT_SYMLINK_NOFOLLOW = 0x100
-)
-
-type PollFd struct {
-       Fd      int32
-       Events  int16
-       Revents int16
-}
-
-const (
-       POLLIN    = 0x1
-       POLLPRI   = 0x2
-       POLLOUT   = 0x4
-       POLLRDHUP = 0x2000
-       POLLERR   = 0x8
-       POLLHUP   = 0x10
-       POLLNVAL  = 0x20
-)
-
-type Sigset_t struct {
-       X__val [16]uint64
-}
-
-const _SC_PAGESIZE = 0x1e
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Line   uint8
-       Cc     [19]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go b/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go
deleted file mode 100644 (file)
index db7c8bf..0000000
+++ /dev/null
@@ -1,657 +0,0 @@
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build arm,linux
-
-package unix
-
-const (
-       sizeofPtr      = 0x4
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x4
-       sizeofLongLong = 0x8
-       PathMax        = 0x1000
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int32
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int32
-       Nsec int32
-}
-
-type Timeval struct {
-       Sec  int32
-       Usec int32
-}
-
-type Timex struct {
-       Modes     uint32
-       Offset    int32
-       Freq      int32
-       Maxerror  int32
-       Esterror  int32
-       Status    int32
-       Constant  int32
-       Precision int32
-       Tolerance int32
-       Time      Timeval
-       Tick      int32
-       Ppsfreq   int32
-       Jitter    int32
-       Shift     int32
-       Stabil    int32
-       Jitcnt    int32
-       Calcnt    int32
-       Errcnt    int32
-       Stbcnt    int32
-       Tai       int32
-       Pad_cgo_0 [44]byte
-}
-
-type Time_t int32
-
-type Tms struct {
-       Utime  int32
-       Stime  int32
-       Cutime int32
-       Cstime int32
-}
-
-type Utimbuf struct {
-       Actime  int32
-       Modtime int32
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int32
-       Ixrss    int32
-       Idrss    int32
-       Isrss    int32
-       Minflt   int32
-       Majflt   int32
-       Nswap    int32
-       Inblock  int32
-       Oublock  int32
-       Msgsnd   int32
-       Msgrcv   int32
-       Nsignals int32
-       Nvcsw    int32
-       Nivcsw   int32
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev       uint64
-       X__pad1   uint16
-       Pad_cgo_0 [2]byte
-       X__st_ino uint32
-       Mode      uint32
-       Nlink     uint32
-       Uid       uint32
-       Gid       uint32
-       Rdev      uint64
-       X__pad2   uint16
-       Pad_cgo_1 [6]byte
-       Size      int64
-       Blksize   int32
-       Pad_cgo_2 [4]byte
-       Blocks    int64
-       Atim      Timespec
-       Mtim      Timespec
-       Ctim      Timespec
-       Ino       uint64
-}
-
-type Statfs_t struct {
-       Type      int32
-       Bsize     int32
-       Blocks    uint64
-       Bfree     uint64
-       Bavail    uint64
-       Files     uint64
-       Ffree     uint64
-       Fsid      Fsid
-       Namelen   int32
-       Frsize    int32
-       Flags     int32
-       Spare     [4]int32
-       Pad_cgo_0 [4]byte
-}
-
-type Dirent struct {
-       Ino       uint64
-       Off       int64
-       Reclen    uint16
-       Type      uint8
-       Name      [256]uint8
-       Pad_cgo_0 [5]byte
-}
-
-type Fsid struct {
-       X__val [2]int32
-}
-
-type Flock_t struct {
-       Type      int16
-       Whence    int16
-       Pad_cgo_0 [4]byte
-       Start     int64
-       Len       int64
-       Pid       int32
-       Pad_cgo_1 [4]byte
-}
-
-type FscryptPolicy struct {
-       Version                   uint8
-       Contents_encryption_mode  uint8
-       Filenames_encryption_mode uint8
-       Flags                     uint8
-       Master_key_descriptor     [8]uint8
-}
-
-type FscryptKey struct {
-       Mode uint32
-       Raw  [64]uint8
-       Size uint32
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x4
-       FADV_NOREUSE    = 0x5
-)
-
-type RawSockaddrInet4 struct {
-       Family uint16
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]uint8
-}
-
-type RawSockaddrInet6 struct {
-       Family   uint16
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Family uint16
-       Path   [108]int8
-}
-
-type RawSockaddrLinklayer struct {
-       Family   uint16
-       Protocol uint16
-       Ifindex  int32
-       Hatype   uint16
-       Pkttype  uint8
-       Halen    uint8
-       Addr     [8]uint8
-}
-
-type RawSockaddrNetlink struct {
-       Family uint16
-       Pad    uint16
-       Pid    uint32
-       Groups uint32
-}
-
-type RawSockaddrHCI struct {
-       Family  uint16
-       Dev     uint16
-       Channel uint16
-}
-
-type RawSockaddrCAN struct {
-       Family    uint16
-       Pad_cgo_0 [2]byte
-       Ifindex   int32
-       Addr      [8]byte
-}
-
-type RawSockaddrALG struct {
-       Family uint16
-       Type   [14]uint8
-       Feat   uint32
-       Mask   uint32
-       Name   [64]uint8
-}
-
-type RawSockaddrVM struct {
-       Family    uint16
-       Reserved1 uint16
-       Port      uint32
-       Cid       uint32
-       Zero      [4]uint8
-}
-
-type RawSockaddr struct {
-       Family uint16
-       Data   [14]uint8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [96]uint8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint32
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Iov        *Iovec
-       Iovlen     uint32
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  int32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Data [8]uint32
-}
-
-type Ucred struct {
-       Pid int32
-       Uid uint32
-       Gid uint32
-}
-
-type TCPInfo struct {
-       State          uint8
-       Ca_state       uint8
-       Retransmits    uint8
-       Probes         uint8
-       Backoff        uint8
-       Options        uint8
-       Pad_cgo_0      [2]byte
-       Rto            uint32
-       Ato            uint32
-       Snd_mss        uint32
-       Rcv_mss        uint32
-       Unacked        uint32
-       Sacked         uint32
-       Lost           uint32
-       Retrans        uint32
-       Fackets        uint32
-       Last_data_sent uint32
-       Last_ack_sent  uint32
-       Last_data_recv uint32
-       Last_ack_recv  uint32
-       Pmtu           uint32
-       Rcv_ssthresh   uint32
-       Rtt            uint32
-       Rttvar         uint32
-       Snd_ssthresh   uint32
-       Snd_cwnd       uint32
-       Advmss         uint32
-       Reordering     uint32
-       Rcv_rtt        uint32
-       Rcv_space      uint32
-       Total_retrans  uint32
-}
-
-const (
-       SizeofSockaddrInet4     = 0x10
-       SizeofSockaddrInet6     = 0x1c
-       SizeofSockaddrAny       = 0x70
-       SizeofSockaddrUnix      = 0x6e
-       SizeofSockaddrLinklayer = 0x14
-       SizeofSockaddrNetlink   = 0xc
-       SizeofSockaddrHCI       = 0x6
-       SizeofSockaddrCAN       = 0x10
-       SizeofSockaddrALG       = 0x58
-       SizeofSockaddrVM        = 0x10
-       SizeofLinger            = 0x8
-       SizeofIPMreq            = 0x8
-       SizeofIPMreqn           = 0xc
-       SizeofIPv6Mreq          = 0x14
-       SizeofMsghdr            = 0x1c
-       SizeofCmsghdr           = 0xc
-       SizeofInet4Pktinfo      = 0xc
-       SizeofInet6Pktinfo      = 0x14
-       SizeofIPv6MTUInfo       = 0x20
-       SizeofICMPv6Filter      = 0x20
-       SizeofUcred             = 0xc
-       SizeofTCPInfo           = 0x68
-)
-
-const (
-       IFA_UNSPEC          = 0x0
-       IFA_ADDRESS         = 0x1
-       IFA_LOCAL           = 0x2
-       IFA_LABEL           = 0x3
-       IFA_BROADCAST       = 0x4
-       IFA_ANYCAST         = 0x5
-       IFA_CACHEINFO       = 0x6
-       IFA_MULTICAST       = 0x7
-       IFLA_UNSPEC         = 0x0
-       IFLA_ADDRESS        = 0x1
-       IFLA_BROADCAST      = 0x2
-       IFLA_IFNAME         = 0x3
-       IFLA_MTU            = 0x4
-       IFLA_LINK           = 0x5
-       IFLA_QDISC          = 0x6
-       IFLA_STATS          = 0x7
-       IFLA_COST           = 0x8
-       IFLA_PRIORITY       = 0x9
-       IFLA_MASTER         = 0xa
-       IFLA_WIRELESS       = 0xb
-       IFLA_PROTINFO       = 0xc
-       IFLA_TXQLEN         = 0xd
-       IFLA_MAP            = 0xe
-       IFLA_WEIGHT         = 0xf
-       IFLA_OPERSTATE      = 0x10
-       IFLA_LINKMODE       = 0x11
-       IFLA_LINKINFO       = 0x12
-       IFLA_NET_NS_PID     = 0x13
-       IFLA_IFALIAS        = 0x14
-       IFLA_MAX            = 0x2b
-       RT_SCOPE_UNIVERSE   = 0x0
-       RT_SCOPE_SITE       = 0xc8
-       RT_SCOPE_LINK       = 0xfd
-       RT_SCOPE_HOST       = 0xfe
-       RT_SCOPE_NOWHERE    = 0xff
-       RT_TABLE_UNSPEC     = 0x0
-       RT_TABLE_COMPAT     = 0xfc
-       RT_TABLE_DEFAULT    = 0xfd
-       RT_TABLE_MAIN       = 0xfe
-       RT_TABLE_LOCAL      = 0xff
-       RT_TABLE_MAX        = 0xffffffff
-       RTA_UNSPEC          = 0x0
-       RTA_DST             = 0x1
-       RTA_SRC             = 0x2
-       RTA_IIF             = 0x3
-       RTA_OIF             = 0x4
-       RTA_GATEWAY         = 0x5
-       RTA_PRIORITY        = 0x6
-       RTA_PREFSRC         = 0x7
-       RTA_METRICS         = 0x8
-       RTA_MULTIPATH       = 0x9
-       RTA_FLOW            = 0xb
-       RTA_CACHEINFO       = 0xc
-       RTA_TABLE           = 0xf
-       RTN_UNSPEC          = 0x0
-       RTN_UNICAST         = 0x1
-       RTN_LOCAL           = 0x2
-       RTN_BROADCAST       = 0x3
-       RTN_ANYCAST         = 0x4
-       RTN_MULTICAST       = 0x5
-       RTN_BLACKHOLE       = 0x6
-       RTN_UNREACHABLE     = 0x7
-       RTN_PROHIBIT        = 0x8
-       RTN_THROW           = 0x9
-       RTN_NAT             = 0xa
-       RTN_XRESOLVE        = 0xb
-       RTNLGRP_NONE        = 0x0
-       RTNLGRP_LINK        = 0x1
-       RTNLGRP_NOTIFY      = 0x2
-       RTNLGRP_NEIGH       = 0x3
-       RTNLGRP_TC          = 0x4
-       RTNLGRP_IPV4_IFADDR = 0x5
-       RTNLGRP_IPV4_MROUTE = 0x6
-       RTNLGRP_IPV4_ROUTE  = 0x7
-       RTNLGRP_IPV4_RULE   = 0x8
-       RTNLGRP_IPV6_IFADDR = 0x9
-       RTNLGRP_IPV6_MROUTE = 0xa
-       RTNLGRP_IPV6_ROUTE  = 0xb
-       RTNLGRP_IPV6_IFINFO = 0xc
-       RTNLGRP_IPV6_PREFIX = 0x12
-       RTNLGRP_IPV6_RULE   = 0x13
-       RTNLGRP_ND_USEROPT  = 0x14
-       SizeofNlMsghdr      = 0x10
-       SizeofNlMsgerr      = 0x14
-       SizeofRtGenmsg      = 0x1
-       SizeofNlAttr        = 0x4
-       SizeofRtAttr        = 0x4
-       SizeofIfInfomsg     = 0x10
-       SizeofIfAddrmsg     = 0x8
-       SizeofRtMsg         = 0xc
-       SizeofRtNexthop     = 0x8
-)
-
-type NlMsghdr struct {
-       Len   uint32
-       Type  uint16
-       Flags uint16
-       Seq   uint32
-       Pid   uint32
-}
-
-type NlMsgerr struct {
-       Error int32
-       Msg   NlMsghdr
-}
-
-type RtGenmsg struct {
-       Family uint8
-}
-
-type NlAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type RtAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type IfInfomsg struct {
-       Family     uint8
-       X__ifi_pad uint8
-       Type       uint16
-       Index      int32
-       Flags      uint32
-       Change     uint32
-}
-
-type IfAddrmsg struct {
-       Family    uint8
-       Prefixlen uint8
-       Flags     uint8
-       Scope     uint8
-       Index     uint32
-}
-
-type RtMsg struct {
-       Family   uint8
-       Dst_len  uint8
-       Src_len  uint8
-       Tos      uint8
-       Table    uint8
-       Protocol uint8
-       Scope    uint8
-       Type     uint8
-       Flags    uint32
-}
-
-type RtNexthop struct {
-       Len     uint16
-       Flags   uint8
-       Hops    uint8
-       Ifindex int32
-}
-
-const (
-       SizeofSockFilter = 0x8
-       SizeofSockFprog  = 0x8
-)
-
-type SockFilter struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type SockFprog struct {
-       Len       uint16
-       Pad_cgo_0 [2]byte
-       Filter    *SockFilter
-}
-
-type InotifyEvent struct {
-       Wd     int32
-       Mask   uint32
-       Cookie uint32
-       Len    uint32
-}
-
-const SizeofInotifyEvent = 0x10
-
-type PtraceRegs struct {
-       Uregs [18]uint32
-}
-
-type FdSet struct {
-       Bits [32]int32
-}
-
-type Sysinfo_t struct {
-       Uptime    int32
-       Loads     [3]uint32
-       Totalram  uint32
-       Freeram   uint32
-       Sharedram uint32
-       Bufferram uint32
-       Totalswap uint32
-       Freeswap  uint32
-       Procs     uint16
-       Pad       uint16
-       Totalhigh uint32
-       Freehigh  uint32
-       Unit      uint32
-       X_f       [8]uint8
-}
-
-type Utsname struct {
-       Sysname    [65]uint8
-       Nodename   [65]uint8
-       Release    [65]uint8
-       Version    [65]uint8
-       Machine    [65]uint8
-       Domainname [65]uint8
-}
-
-type Ustat_t struct {
-       Tfree  int32
-       Tinode uint32
-       Fname  [6]uint8
-       Fpack  [6]uint8
-}
-
-type EpollEvent struct {
-       Events uint32
-       PadFd  int32
-       Fd     int32
-       Pad    int32
-}
-
-const (
-       AT_FDCWD            = -0x64
-       AT_REMOVEDIR        = 0x200
-       AT_SYMLINK_FOLLOW   = 0x400
-       AT_SYMLINK_NOFOLLOW = 0x100
-)
-
-type PollFd struct {
-       Fd      int32
-       Events  int16
-       Revents int16
-}
-
-const (
-       POLLIN    = 0x1
-       POLLPRI   = 0x2
-       POLLOUT   = 0x4
-       POLLRDHUP = 0x2000
-       POLLERR   = 0x8
-       POLLHUP   = 0x10
-       POLLNVAL  = 0x20
-)
-
-type Sigset_t struct {
-       X__val [32]uint32
-}
-
-const _SC_PAGESIZE = 0x1e
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Line   uint8
-       Cc     [19]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
deleted file mode 100644 (file)
index 19cca4f..0000000
+++ /dev/null
@@ -1,665 +0,0 @@
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char linux/types.go | go run mkpost.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build arm64,linux
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-       PathMax        = 0x1000
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Timex struct {
-       Modes     uint32
-       Pad_cgo_0 [4]byte
-       Offset    int64
-       Freq      int64
-       Maxerror  int64
-       Esterror  int64
-       Status    int32
-       Pad_cgo_1 [4]byte
-       Constant  int64
-       Precision int64
-       Tolerance int64
-       Time      Timeval
-       Tick      int64
-       Ppsfreq   int64
-       Jitter    int64
-       Shift     int32
-       Pad_cgo_2 [4]byte
-       Stabil    int64
-       Jitcnt    int64
-       Calcnt    int64
-       Errcnt    int64
-       Stbcnt    int64
-       Tai       int32
-       Pad_cgo_3 [44]byte
-}
-
-type Time_t int64
-
-type Tms struct {
-       Utime  int64
-       Stime  int64
-       Cutime int64
-       Cstime int64
-}
-
-type Utimbuf struct {
-       Actime  int64
-       Modtime int64
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev     uint64
-       Ino     uint64
-       Mode    uint32
-       Nlink   uint32
-       Uid     uint32
-       Gid     uint32
-       Rdev    uint64
-       X__pad1 uint64
-       Size    int64
-       Blksize int32
-       X__pad2 int32
-       Blocks  int64
-       Atim    Timespec
-       Mtim    Timespec
-       Ctim    Timespec
-       _       [2]int32
-}
-
-type Statfs_t struct {
-       Type    int64
-       Bsize   int64
-       Blocks  uint64
-       Bfree   uint64
-       Bavail  uint64
-       Files   uint64
-       Ffree   uint64
-       Fsid    Fsid
-       Namelen int64
-       Frsize  int64
-       Flags   int64
-       Spare   [4]int64
-}
-
-type Dirent struct {
-       Ino       uint64
-       Off       int64
-       Reclen    uint16
-       Type      uint8
-       Name      [256]int8
-       Pad_cgo_0 [5]byte
-}
-
-type Fsid struct {
-       X__val [2]int32
-}
-
-type Flock_t struct {
-       Type      int16
-       Whence    int16
-       Pad_cgo_0 [4]byte
-       Start     int64
-       Len       int64
-       Pid       int32
-       Pad_cgo_1 [4]byte
-}
-
-type FscryptPolicy struct {
-       Version                   uint8
-       Contents_encryption_mode  uint8
-       Filenames_encryption_mode uint8
-       Flags                     uint8
-       Master_key_descriptor     [8]uint8
-}
-
-type FscryptKey struct {
-       Mode uint32
-       Raw  [64]uint8
-       Size uint32
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x4
-       FADV_NOREUSE    = 0x5
-)
-
-type RawSockaddrInet4 struct {
-       Family uint16
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]uint8
-}
-
-type RawSockaddrInet6 struct {
-       Family   uint16
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Family uint16
-       Path   [108]int8
-}
-
-type RawSockaddrLinklayer struct {
-       Family   uint16
-       Protocol uint16
-       Ifindex  int32
-       Hatype   uint16
-       Pkttype  uint8
-       Halen    uint8
-       Addr     [8]uint8
-}
-
-type RawSockaddrNetlink struct {
-       Family uint16
-       Pad    uint16
-       Pid    uint32
-       Groups uint32
-}
-
-type RawSockaddrHCI struct {
-       Family  uint16
-       Dev     uint16
-       Channel uint16
-}
-
-type RawSockaddrCAN struct {
-       Family    uint16
-       Pad_cgo_0 [2]byte
-       Ifindex   int32
-       Addr      [8]byte
-}
-
-type RawSockaddrALG struct {
-       Family uint16
-       Type   [14]uint8
-       Feat   uint32
-       Mask   uint32
-       Name   [64]uint8
-}
-
-type RawSockaddrVM struct {
-       Family    uint16
-       Reserved1 uint16
-       Port      uint32
-       Cid       uint32
-       Zero      [4]uint8
-}
-
-type RawSockaddr struct {
-       Family uint16
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [96]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     uint64
-       Control    *byte
-       Controllen uint64
-       Flags      int32
-       Pad_cgo_1  [4]byte
-}
-
-type Cmsghdr struct {
-       Len   uint64
-       Level int32
-       Type  int32
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  int32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Data [8]uint32
-}
-
-type Ucred struct {
-       Pid int32
-       Uid uint32
-       Gid uint32
-}
-
-type TCPInfo struct {
-       State          uint8
-       Ca_state       uint8
-       Retransmits    uint8
-       Probes         uint8
-       Backoff        uint8
-       Options        uint8
-       Pad_cgo_0      [2]byte
-       Rto            uint32
-       Ato            uint32
-       Snd_mss        uint32
-       Rcv_mss        uint32
-       Unacked        uint32
-       Sacked         uint32
-       Lost           uint32
-       Retrans        uint32
-       Fackets        uint32
-       Last_data_sent uint32
-       Last_ack_sent  uint32
-       Last_data_recv uint32
-       Last_ack_recv  uint32
-       Pmtu           uint32
-       Rcv_ssthresh   uint32
-       Rtt            uint32
-       Rttvar         uint32
-       Snd_ssthresh   uint32
-       Snd_cwnd       uint32
-       Advmss         uint32
-       Reordering     uint32
-       Rcv_rtt        uint32
-       Rcv_space      uint32
-       Total_retrans  uint32
-}
-
-const (
-       SizeofSockaddrInet4     = 0x10
-       SizeofSockaddrInet6     = 0x1c
-       SizeofSockaddrAny       = 0x70
-       SizeofSockaddrUnix      = 0x6e
-       SizeofSockaddrLinklayer = 0x14
-       SizeofSockaddrNetlink   = 0xc
-       SizeofSockaddrHCI       = 0x6
-       SizeofSockaddrCAN       = 0x10
-       SizeofSockaddrALG       = 0x58
-       SizeofSockaddrVM        = 0x10
-       SizeofLinger            = 0x8
-       SizeofIPMreq            = 0x8
-       SizeofIPMreqn           = 0xc
-       SizeofIPv6Mreq          = 0x14
-       SizeofMsghdr            = 0x38
-       SizeofCmsghdr           = 0x10
-       SizeofInet4Pktinfo      = 0xc
-       SizeofInet6Pktinfo      = 0x14
-       SizeofIPv6MTUInfo       = 0x20
-       SizeofICMPv6Filter      = 0x20
-       SizeofUcred             = 0xc
-       SizeofTCPInfo           = 0x68
-)
-
-const (
-       IFA_UNSPEC          = 0x0
-       IFA_ADDRESS         = 0x1
-       IFA_LOCAL           = 0x2
-       IFA_LABEL           = 0x3
-       IFA_BROADCAST       = 0x4
-       IFA_ANYCAST         = 0x5
-       IFA_CACHEINFO       = 0x6
-       IFA_MULTICAST       = 0x7
-       IFLA_UNSPEC         = 0x0
-       IFLA_ADDRESS        = 0x1
-       IFLA_BROADCAST      = 0x2
-       IFLA_IFNAME         = 0x3
-       IFLA_MTU            = 0x4
-       IFLA_LINK           = 0x5
-       IFLA_QDISC          = 0x6
-       IFLA_STATS          = 0x7
-       IFLA_COST           = 0x8
-       IFLA_PRIORITY       = 0x9
-       IFLA_MASTER         = 0xa
-       IFLA_WIRELESS       = 0xb
-       IFLA_PROTINFO       = 0xc
-       IFLA_TXQLEN         = 0xd
-       IFLA_MAP            = 0xe
-       IFLA_WEIGHT         = 0xf
-       IFLA_OPERSTATE      = 0x10
-       IFLA_LINKMODE       = 0x11
-       IFLA_LINKINFO       = 0x12
-       IFLA_NET_NS_PID     = 0x13
-       IFLA_IFALIAS        = 0x14
-       IFLA_MAX            = 0x2b
-       RT_SCOPE_UNIVERSE   = 0x0
-       RT_SCOPE_SITE       = 0xc8
-       RT_SCOPE_LINK       = 0xfd
-       RT_SCOPE_HOST       = 0xfe
-       RT_SCOPE_NOWHERE    = 0xff
-       RT_TABLE_UNSPEC     = 0x0
-       RT_TABLE_COMPAT     = 0xfc
-       RT_TABLE_DEFAULT    = 0xfd
-       RT_TABLE_MAIN       = 0xfe
-       RT_TABLE_LOCAL      = 0xff
-       RT_TABLE_MAX        = 0xffffffff
-       RTA_UNSPEC          = 0x0
-       RTA_DST             = 0x1
-       RTA_SRC             = 0x2
-       RTA_IIF             = 0x3
-       RTA_OIF             = 0x4
-       RTA_GATEWAY         = 0x5
-       RTA_PRIORITY        = 0x6
-       RTA_PREFSRC         = 0x7
-       RTA_METRICS         = 0x8
-       RTA_MULTIPATH       = 0x9
-       RTA_FLOW            = 0xb
-       RTA_CACHEINFO       = 0xc
-       RTA_TABLE           = 0xf
-       RTN_UNSPEC          = 0x0
-       RTN_UNICAST         = 0x1
-       RTN_LOCAL           = 0x2
-       RTN_BROADCAST       = 0x3
-       RTN_ANYCAST         = 0x4
-       RTN_MULTICAST       = 0x5
-       RTN_BLACKHOLE       = 0x6
-       RTN_UNREACHABLE     = 0x7
-       RTN_PROHIBIT        = 0x8
-       RTN_THROW           = 0x9
-       RTN_NAT             = 0xa
-       RTN_XRESOLVE        = 0xb
-       RTNLGRP_NONE        = 0x0
-       RTNLGRP_LINK        = 0x1
-       RTNLGRP_NOTIFY      = 0x2
-       RTNLGRP_NEIGH       = 0x3
-       RTNLGRP_TC          = 0x4
-       RTNLGRP_IPV4_IFADDR = 0x5
-       RTNLGRP_IPV4_MROUTE = 0x6
-       RTNLGRP_IPV4_ROUTE  = 0x7
-       RTNLGRP_IPV4_RULE   = 0x8
-       RTNLGRP_IPV6_IFADDR = 0x9
-       RTNLGRP_IPV6_MROUTE = 0xa
-       RTNLGRP_IPV6_ROUTE  = 0xb
-       RTNLGRP_IPV6_IFINFO = 0xc
-       RTNLGRP_IPV6_PREFIX = 0x12
-       RTNLGRP_IPV6_RULE   = 0x13
-       RTNLGRP_ND_USEROPT  = 0x14
-       SizeofNlMsghdr      = 0x10
-       SizeofNlMsgerr      = 0x14
-       SizeofRtGenmsg      = 0x1
-       SizeofNlAttr        = 0x4
-       SizeofRtAttr        = 0x4
-       SizeofIfInfomsg     = 0x10
-       SizeofIfAddrmsg     = 0x8
-       SizeofRtMsg         = 0xc
-       SizeofRtNexthop     = 0x8
-)
-
-type NlMsghdr struct {
-       Len   uint32
-       Type  uint16
-       Flags uint16
-       Seq   uint32
-       Pid   uint32
-}
-
-type NlMsgerr struct {
-       Error int32
-       Msg   NlMsghdr
-}
-
-type RtGenmsg struct {
-       Family uint8
-}
-
-type NlAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type RtAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type IfInfomsg struct {
-       Family     uint8
-       X__ifi_pad uint8
-       Type       uint16
-       Index      int32
-       Flags      uint32
-       Change     uint32
-}
-
-type IfAddrmsg struct {
-       Family    uint8
-       Prefixlen uint8
-       Flags     uint8
-       Scope     uint8
-       Index     uint32
-}
-
-type RtMsg struct {
-       Family   uint8
-       Dst_len  uint8
-       Src_len  uint8
-       Tos      uint8
-       Table    uint8
-       Protocol uint8
-       Scope    uint8
-       Type     uint8
-       Flags    uint32
-}
-
-type RtNexthop struct {
-       Len     uint16
-       Flags   uint8
-       Hops    uint8
-       Ifindex int32
-}
-
-const (
-       SizeofSockFilter = 0x8
-       SizeofSockFprog  = 0x10
-)
-
-type SockFilter struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type SockFprog struct {
-       Len       uint16
-       Pad_cgo_0 [6]byte
-       Filter    *SockFilter
-}
-
-type InotifyEvent struct {
-       Wd     int32
-       Mask   uint32
-       Cookie uint32
-       Len    uint32
-}
-
-const SizeofInotifyEvent = 0x10
-
-type PtraceRegs struct {
-       Regs   [31]uint64
-       Sp     uint64
-       Pc     uint64
-       Pstate uint64
-}
-
-type FdSet struct {
-       Bits [16]int64
-}
-
-type Sysinfo_t struct {
-       Uptime    int64
-       Loads     [3]uint64
-       Totalram  uint64
-       Freeram   uint64
-       Sharedram uint64
-       Bufferram uint64
-       Totalswap uint64
-       Freeswap  uint64
-       Procs     uint16
-       Pad       uint16
-       Pad_cgo_0 [4]byte
-       Totalhigh uint64
-       Freehigh  uint64
-       Unit      uint32
-       X_f       [0]int8
-       Pad_cgo_1 [4]byte
-}
-
-type Utsname struct {
-       Sysname    [65]int8
-       Nodename   [65]int8
-       Release    [65]int8
-       Version    [65]int8
-       Machine    [65]int8
-       Domainname [65]int8
-}
-
-type Ustat_t struct {
-       Tfree     int32
-       Pad_cgo_0 [4]byte
-       Tinode    uint64
-       Fname     [6]int8
-       Fpack     [6]int8
-       Pad_cgo_1 [4]byte
-}
-
-type EpollEvent struct {
-       Events uint32
-       PadFd  int32
-       Fd     int32
-       Pad    int32
-}
-
-const (
-       AT_FDCWD            = -0x64
-       AT_REMOVEDIR        = 0x200
-       AT_SYMLINK_FOLLOW   = 0x400
-       AT_SYMLINK_NOFOLLOW = 0x100
-)
-
-type PollFd struct {
-       Fd      int32
-       Events  int16
-       Revents int16
-}
-
-const (
-       POLLIN    = 0x1
-       POLLPRI   = 0x2
-       POLLOUT   = 0x4
-       POLLRDHUP = 0x2000
-       POLLERR   = 0x8
-       POLLHUP   = 0x10
-       POLLNVAL  = 0x20
-)
-
-type Sigset_t struct {
-       X__val [16]uint64
-}
-
-const _SC_PAGESIZE = 0x1e
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Line   uint8
-       Cc     [19]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go b/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go
deleted file mode 100644 (file)
index d04ca4c..0000000
+++ /dev/null
@@ -1,666 +0,0 @@
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build mips,linux
-
-package unix
-
-const (
-       sizeofPtr      = 0x4
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x4
-       sizeofLongLong = 0x8
-       PathMax        = 0x1000
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int32
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int32
-       Nsec int32
-}
-
-type Timeval struct {
-       Sec  int32
-       Usec int32
-}
-
-type Timex struct {
-       Modes     uint32
-       Offset    int32
-       Freq      int32
-       Maxerror  int32
-       Esterror  int32
-       Status    int32
-       Constant  int32
-       Precision int32
-       Tolerance int32
-       Time      Timeval
-       Tick      int32
-       Ppsfreq   int32
-       Jitter    int32
-       Shift     int32
-       Stabil    int32
-       Jitcnt    int32
-       Calcnt    int32
-       Errcnt    int32
-       Stbcnt    int32
-       Tai       int32
-       Pad_cgo_0 [44]byte
-}
-
-type Time_t int32
-
-type Tms struct {
-       Utime  int32
-       Stime  int32
-       Cutime int32
-       Cstime int32
-}
-
-type Utimbuf struct {
-       Actime  int32
-       Modtime int32
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int32
-       Ixrss    int32
-       Idrss    int32
-       Isrss    int32
-       Minflt   int32
-       Majflt   int32
-       Nswap    int32
-       Inblock  int32
-       Oublock  int32
-       Msgsnd   int32
-       Msgrcv   int32
-       Nsignals int32
-       Nvcsw    int32
-       Nivcsw   int32
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev     uint32
-       Pad1    [3]int32
-       Ino     uint64
-       Mode    uint32
-       Nlink   uint32
-       Uid     uint32
-       Gid     uint32
-       Rdev    uint32
-       Pad2    [3]int32
-       Size    int64
-       Atim    Timespec
-       Mtim    Timespec
-       Ctim    Timespec
-       Blksize int32
-       Pad4    int32
-       Blocks  int64
-       Pad5    [14]int32
-}
-
-type Statfs_t struct {
-       Type      int32
-       Bsize     int32
-       Frsize    int32
-       Pad_cgo_0 [4]byte
-       Blocks    uint64
-       Bfree     uint64
-       Files     uint64
-       Ffree     uint64
-       Bavail    uint64
-       Fsid      Fsid
-       Namelen   int32
-       Flags     int32
-       Spare     [5]int32
-       Pad_cgo_1 [4]byte
-}
-
-type Dirent struct {
-       Ino       uint64
-       Off       int64
-       Reclen    uint16
-       Type      uint8
-       Name      [256]int8
-       Pad_cgo_0 [5]byte
-}
-
-type Fsid struct {
-       X__val [2]int32
-}
-
-type Flock_t struct {
-       Type      int16
-       Whence    int16
-       Pad_cgo_0 [4]byte
-       Start     int64
-       Len       int64
-       Pid       int32
-       Pad_cgo_1 [4]byte
-}
-
-type FscryptPolicy struct {
-       Version                   uint8
-       Contents_encryption_mode  uint8
-       Filenames_encryption_mode uint8
-       Flags                     uint8
-       Master_key_descriptor     [8]uint8
-}
-
-type FscryptKey struct {
-       Mode uint32
-       Raw  [64]uint8
-       Size uint32
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x4
-       FADV_NOREUSE    = 0x5
-)
-
-type RawSockaddrInet4 struct {
-       Family uint16
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]uint8
-}
-
-type RawSockaddrInet6 struct {
-       Family   uint16
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Family uint16
-       Path   [108]int8
-}
-
-type RawSockaddrLinklayer struct {
-       Family   uint16
-       Protocol uint16
-       Ifindex  int32
-       Hatype   uint16
-       Pkttype  uint8
-       Halen    uint8
-       Addr     [8]uint8
-}
-
-type RawSockaddrNetlink struct {
-       Family uint16
-       Pad    uint16
-       Pid    uint32
-       Groups uint32
-}
-
-type RawSockaddrHCI struct {
-       Family  uint16
-       Dev     uint16
-       Channel uint16
-}
-
-type RawSockaddrCAN struct {
-       Family    uint16
-       Pad_cgo_0 [2]byte
-       Ifindex   int32
-       Addr      [8]byte
-}
-
-type RawSockaddrALG struct {
-       Family uint16
-       Type   [14]uint8
-       Feat   uint32
-       Mask   uint32
-       Name   [64]uint8
-}
-
-type RawSockaddrVM struct {
-       Family    uint16
-       Reserved1 uint16
-       Port      uint32
-       Cid       uint32
-       Zero      [4]uint8
-}
-
-type RawSockaddr struct {
-       Family uint16
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [96]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint32
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Iov        *Iovec
-       Iovlen     uint32
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  int32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Data [8]uint32
-}
-
-type Ucred struct {
-       Pid int32
-       Uid uint32
-       Gid uint32
-}
-
-type TCPInfo struct {
-       State          uint8
-       Ca_state       uint8
-       Retransmits    uint8
-       Probes         uint8
-       Backoff        uint8
-       Options        uint8
-       Pad_cgo_0      [2]byte
-       Rto            uint32
-       Ato            uint32
-       Snd_mss        uint32
-       Rcv_mss        uint32
-       Unacked        uint32
-       Sacked         uint32
-       Lost           uint32
-       Retrans        uint32
-       Fackets        uint32
-       Last_data_sent uint32
-       Last_ack_sent  uint32
-       Last_data_recv uint32
-       Last_ack_recv  uint32
-       Pmtu           uint32
-       Rcv_ssthresh   uint32
-       Rtt            uint32
-       Rttvar         uint32
-       Snd_ssthresh   uint32
-       Snd_cwnd       uint32
-       Advmss         uint32
-       Reordering     uint32
-       Rcv_rtt        uint32
-       Rcv_space      uint32
-       Total_retrans  uint32
-}
-
-const (
-       SizeofSockaddrInet4     = 0x10
-       SizeofSockaddrInet6     = 0x1c
-       SizeofSockaddrAny       = 0x70
-       SizeofSockaddrUnix      = 0x6e
-       SizeofSockaddrLinklayer = 0x14
-       SizeofSockaddrNetlink   = 0xc
-       SizeofSockaddrHCI       = 0x6
-       SizeofSockaddrCAN       = 0x10
-       SizeofSockaddrALG       = 0x58
-       SizeofSockaddrVM        = 0x10
-       SizeofLinger            = 0x8
-       SizeofIPMreq            = 0x8
-       SizeofIPMreqn           = 0xc
-       SizeofIPv6Mreq          = 0x14
-       SizeofMsghdr            = 0x1c
-       SizeofCmsghdr           = 0xc
-       SizeofInet4Pktinfo      = 0xc
-       SizeofInet6Pktinfo      = 0x14
-       SizeofIPv6MTUInfo       = 0x20
-       SizeofICMPv6Filter      = 0x20
-       SizeofUcred             = 0xc
-       SizeofTCPInfo           = 0x68
-)
-
-const (
-       IFA_UNSPEC          = 0x0
-       IFA_ADDRESS         = 0x1
-       IFA_LOCAL           = 0x2
-       IFA_LABEL           = 0x3
-       IFA_BROADCAST       = 0x4
-       IFA_ANYCAST         = 0x5
-       IFA_CACHEINFO       = 0x6
-       IFA_MULTICAST       = 0x7
-       IFLA_UNSPEC         = 0x0
-       IFLA_ADDRESS        = 0x1
-       IFLA_BROADCAST      = 0x2
-       IFLA_IFNAME         = 0x3
-       IFLA_MTU            = 0x4
-       IFLA_LINK           = 0x5
-       IFLA_QDISC          = 0x6
-       IFLA_STATS          = 0x7
-       IFLA_COST           = 0x8
-       IFLA_PRIORITY       = 0x9
-       IFLA_MASTER         = 0xa
-       IFLA_WIRELESS       = 0xb
-       IFLA_PROTINFO       = 0xc
-       IFLA_TXQLEN         = 0xd
-       IFLA_MAP            = 0xe
-       IFLA_WEIGHT         = 0xf
-       IFLA_OPERSTATE      = 0x10
-       IFLA_LINKMODE       = 0x11
-       IFLA_LINKINFO       = 0x12
-       IFLA_NET_NS_PID     = 0x13
-       IFLA_IFALIAS        = 0x14
-       IFLA_MAX            = 0x2b
-       RT_SCOPE_UNIVERSE   = 0x0
-       RT_SCOPE_SITE       = 0xc8
-       RT_SCOPE_LINK       = 0xfd
-       RT_SCOPE_HOST       = 0xfe
-       RT_SCOPE_NOWHERE    = 0xff
-       RT_TABLE_UNSPEC     = 0x0
-       RT_TABLE_COMPAT     = 0xfc
-       RT_TABLE_DEFAULT    = 0xfd
-       RT_TABLE_MAIN       = 0xfe
-       RT_TABLE_LOCAL      = 0xff
-       RT_TABLE_MAX        = 0xffffffff
-       RTA_UNSPEC          = 0x0
-       RTA_DST             = 0x1
-       RTA_SRC             = 0x2
-       RTA_IIF             = 0x3
-       RTA_OIF             = 0x4
-       RTA_GATEWAY         = 0x5
-       RTA_PRIORITY        = 0x6
-       RTA_PREFSRC         = 0x7
-       RTA_METRICS         = 0x8
-       RTA_MULTIPATH       = 0x9
-       RTA_FLOW            = 0xb
-       RTA_CACHEINFO       = 0xc
-       RTA_TABLE           = 0xf
-       RTN_UNSPEC          = 0x0
-       RTN_UNICAST         = 0x1
-       RTN_LOCAL           = 0x2
-       RTN_BROADCAST       = 0x3
-       RTN_ANYCAST         = 0x4
-       RTN_MULTICAST       = 0x5
-       RTN_BLACKHOLE       = 0x6
-       RTN_UNREACHABLE     = 0x7
-       RTN_PROHIBIT        = 0x8
-       RTN_THROW           = 0x9
-       RTN_NAT             = 0xa
-       RTN_XRESOLVE        = 0xb
-       RTNLGRP_NONE        = 0x0
-       RTNLGRP_LINK        = 0x1
-       RTNLGRP_NOTIFY      = 0x2
-       RTNLGRP_NEIGH       = 0x3
-       RTNLGRP_TC          = 0x4
-       RTNLGRP_IPV4_IFADDR = 0x5
-       RTNLGRP_IPV4_MROUTE = 0x6
-       RTNLGRP_IPV4_ROUTE  = 0x7
-       RTNLGRP_IPV4_RULE   = 0x8
-       RTNLGRP_IPV6_IFADDR = 0x9
-       RTNLGRP_IPV6_MROUTE = 0xa
-       RTNLGRP_IPV6_ROUTE  = 0xb
-       RTNLGRP_IPV6_IFINFO = 0xc
-       RTNLGRP_IPV6_PREFIX = 0x12
-       RTNLGRP_IPV6_RULE   = 0x13
-       RTNLGRP_ND_USEROPT  = 0x14
-       SizeofNlMsghdr      = 0x10
-       SizeofNlMsgerr      = 0x14
-       SizeofRtGenmsg      = 0x1
-       SizeofNlAttr        = 0x4
-       SizeofRtAttr        = 0x4
-       SizeofIfInfomsg     = 0x10
-       SizeofIfAddrmsg     = 0x8
-       SizeofRtMsg         = 0xc
-       SizeofRtNexthop     = 0x8
-)
-
-type NlMsghdr struct {
-       Len   uint32
-       Type  uint16
-       Flags uint16
-       Seq   uint32
-       Pid   uint32
-}
-
-type NlMsgerr struct {
-       Error int32
-       Msg   NlMsghdr
-}
-
-type RtGenmsg struct {
-       Family uint8
-}
-
-type NlAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type RtAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type IfInfomsg struct {
-       Family     uint8
-       X__ifi_pad uint8
-       Type       uint16
-       Index      int32
-       Flags      uint32
-       Change     uint32
-}
-
-type IfAddrmsg struct {
-       Family    uint8
-       Prefixlen uint8
-       Flags     uint8
-       Scope     uint8
-       Index     uint32
-}
-
-type RtMsg struct {
-       Family   uint8
-       Dst_len  uint8
-       Src_len  uint8
-       Tos      uint8
-       Table    uint8
-       Protocol uint8
-       Scope    uint8
-       Type     uint8
-       Flags    uint32
-}
-
-type RtNexthop struct {
-       Len     uint16
-       Flags   uint8
-       Hops    uint8
-       Ifindex int32
-}
-
-const (
-       SizeofSockFilter = 0x8
-       SizeofSockFprog  = 0x8
-)
-
-type SockFilter struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type SockFprog struct {
-       Len       uint16
-       Pad_cgo_0 [2]byte
-       Filter    *SockFilter
-}
-
-type InotifyEvent struct {
-       Wd     int32
-       Mask   uint32
-       Cookie uint32
-       Len    uint32
-}
-
-const SizeofInotifyEvent = 0x10
-
-type PtraceRegs struct {
-       Regs        [109]uint32
-       U_tsize     uint32
-       U_dsize     uint32
-       U_ssize     uint32
-       Start_code  uint32
-       Start_data  uint32
-       Start_stack uint32
-       Signal      int32
-       U_ar0       *byte
-       Magic       uint32
-       U_comm      [32]int8
-}
-
-type FdSet struct {
-       Bits [32]int32
-}
-
-type Sysinfo_t struct {
-       Uptime    int32
-       Loads     [3]uint32
-       Totalram  uint32
-       Freeram   uint32
-       Sharedram uint32
-       Bufferram uint32
-       Totalswap uint32
-       Freeswap  uint32
-       Procs     uint16
-       Pad       uint16
-       Totalhigh uint32
-       Freehigh  uint32
-       Unit      uint32
-       X_f       [8]int8
-}
-
-type Utsname struct {
-       Sysname    [65]int8
-       Nodename   [65]int8
-       Release    [65]int8
-       Version    [65]int8
-       Machine    [65]int8
-       Domainname [65]int8
-}
-
-type Ustat_t struct {
-       Tfree  int32
-       Tinode uint32
-       Fname  [6]int8
-       Fpack  [6]int8
-}
-
-type EpollEvent struct {
-       Events uint32
-       PadFd  int32
-       Fd     int32
-       Pad    int32
-}
-
-const (
-       AT_FDCWD            = -0x64
-       AT_REMOVEDIR        = 0x200
-       AT_SYMLINK_FOLLOW   = 0x400
-       AT_SYMLINK_NOFOLLOW = 0x100
-)
-
-type PollFd struct {
-       Fd      int32
-       Events  int16
-       Revents int16
-}
-
-const (
-       POLLIN    = 0x1
-       POLLPRI   = 0x2
-       POLLOUT   = 0x4
-       POLLRDHUP = 0x2000
-       POLLERR   = 0x8
-       POLLHUP   = 0x10
-       POLLNVAL  = 0x20
-)
-
-type Sigset_t struct {
-       X__val [32]uint32
-}
-
-const _SC_PAGESIZE = 0x1e
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Line   uint8
-       Cc     [23]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
deleted file mode 100644 (file)
index 60b83a1..0000000
+++ /dev/null
@@ -1,671 +0,0 @@
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build mips64,linux
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-       PathMax        = 0x1000
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Timex struct {
-       Modes     uint32
-       Pad_cgo_0 [4]byte
-       Offset    int64
-       Freq      int64
-       Maxerror  int64
-       Esterror  int64
-       Status    int32
-       Pad_cgo_1 [4]byte
-       Constant  int64
-       Precision int64
-       Tolerance int64
-       Time      Timeval
-       Tick      int64
-       Ppsfreq   int64
-       Jitter    int64
-       Shift     int32
-       Pad_cgo_2 [4]byte
-       Stabil    int64
-       Jitcnt    int64
-       Calcnt    int64
-       Errcnt    int64
-       Stbcnt    int64
-       Tai       int32
-       Pad_cgo_3 [44]byte
-}
-
-type Time_t int64
-
-type Tms struct {
-       Utime  int64
-       Stime  int64
-       Cutime int64
-       Cstime int64
-}
-
-type Utimbuf struct {
-       Actime  int64
-       Modtime int64
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev     uint32
-       Pad1    [3]uint32
-       Ino     uint64
-       Mode    uint32
-       Nlink   uint32
-       Uid     uint32
-       Gid     uint32
-       Rdev    uint32
-       Pad2    [3]uint32
-       Size    int64
-       Atim    Timespec
-       Mtim    Timespec
-       Ctim    Timespec
-       Blksize uint32
-       Pad4    uint32
-       Blocks  int64
-}
-
-type Statfs_t struct {
-       Type    int64
-       Bsize   int64
-       Frsize  int64
-       Blocks  uint64
-       Bfree   uint64
-       Files   uint64
-       Ffree   uint64
-       Bavail  uint64
-       Fsid    Fsid
-       Namelen int64
-       Flags   int64
-       Spare   [5]int64
-}
-
-type Dirent struct {
-       Ino       uint64
-       Off       int64
-       Reclen    uint16
-       Type      uint8
-       Name      [256]int8
-       Pad_cgo_0 [5]byte
-}
-
-type Fsid struct {
-       X__val [2]int32
-}
-
-type Flock_t struct {
-       Type      int16
-       Whence    int16
-       Pad_cgo_0 [4]byte
-       Start     int64
-       Len       int64
-       Pid       int32
-       Pad_cgo_1 [4]byte
-}
-
-type FscryptPolicy struct {
-       Version                   uint8
-       Contents_encryption_mode  uint8
-       Filenames_encryption_mode uint8
-       Flags                     uint8
-       Master_key_descriptor     [8]uint8
-}
-
-type FscryptKey struct {
-       Mode uint32
-       Raw  [64]uint8
-       Size uint32
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x4
-       FADV_NOREUSE    = 0x5
-)
-
-type RawSockaddrInet4 struct {
-       Family uint16
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]uint8
-}
-
-type RawSockaddrInet6 struct {
-       Family   uint16
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Family uint16
-       Path   [108]int8
-}
-
-type RawSockaddrLinklayer struct {
-       Family   uint16
-       Protocol uint16
-       Ifindex  int32
-       Hatype   uint16
-       Pkttype  uint8
-       Halen    uint8
-       Addr     [8]uint8
-}
-
-type RawSockaddrNetlink struct {
-       Family uint16
-       Pad    uint16
-       Pid    uint32
-       Groups uint32
-}
-
-type RawSockaddrHCI struct {
-       Family  uint16
-       Dev     uint16
-       Channel uint16
-}
-
-type RawSockaddrCAN struct {
-       Family    uint16
-       Pad_cgo_0 [2]byte
-       Ifindex   int32
-       Addr      [8]byte
-}
-
-type RawSockaddrALG struct {
-       Family uint16
-       Type   [14]uint8
-       Feat   uint32
-       Mask   uint32
-       Name   [64]uint8
-}
-
-type RawSockaddrVM struct {
-       Family    uint16
-       Reserved1 uint16
-       Port      uint32
-       Cid       uint32
-       Zero      [4]uint8
-}
-
-type RawSockaddr struct {
-       Family uint16
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [96]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     uint64
-       Control    *byte
-       Controllen uint64
-       Flags      int32
-       Pad_cgo_1  [4]byte
-}
-
-type Cmsghdr struct {
-       Len   uint64
-       Level int32
-       Type  int32
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  int32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Data [8]uint32
-}
-
-type Ucred struct {
-       Pid int32
-       Uid uint32
-       Gid uint32
-}
-
-type TCPInfo struct {
-       State          uint8
-       Ca_state       uint8
-       Retransmits    uint8
-       Probes         uint8
-       Backoff        uint8
-       Options        uint8
-       Pad_cgo_0      [2]byte
-       Rto            uint32
-       Ato            uint32
-       Snd_mss        uint32
-       Rcv_mss        uint32
-       Unacked        uint32
-       Sacked         uint32
-       Lost           uint32
-       Retrans        uint32
-       Fackets        uint32
-       Last_data_sent uint32
-       Last_ack_sent  uint32
-       Last_data_recv uint32
-       Last_ack_recv  uint32
-       Pmtu           uint32
-       Rcv_ssthresh   uint32
-       Rtt            uint32
-       Rttvar         uint32
-       Snd_ssthresh   uint32
-       Snd_cwnd       uint32
-       Advmss         uint32
-       Reordering     uint32
-       Rcv_rtt        uint32
-       Rcv_space      uint32
-       Total_retrans  uint32
-}
-
-const (
-       SizeofSockaddrInet4     = 0x10
-       SizeofSockaddrInet6     = 0x1c
-       SizeofSockaddrAny       = 0x70
-       SizeofSockaddrUnix      = 0x6e
-       SizeofSockaddrLinklayer = 0x14
-       SizeofSockaddrNetlink   = 0xc
-       SizeofSockaddrHCI       = 0x6
-       SizeofSockaddrCAN       = 0x10
-       SizeofSockaddrALG       = 0x58
-       SizeofSockaddrVM        = 0x10
-       SizeofLinger            = 0x8
-       SizeofIPMreq            = 0x8
-       SizeofIPMreqn           = 0xc
-       SizeofIPv6Mreq          = 0x14
-       SizeofMsghdr            = 0x38
-       SizeofCmsghdr           = 0x10
-       SizeofInet4Pktinfo      = 0xc
-       SizeofInet6Pktinfo      = 0x14
-       SizeofIPv6MTUInfo       = 0x20
-       SizeofICMPv6Filter      = 0x20
-       SizeofUcred             = 0xc
-       SizeofTCPInfo           = 0x68
-)
-
-const (
-       IFA_UNSPEC          = 0x0
-       IFA_ADDRESS         = 0x1
-       IFA_LOCAL           = 0x2
-       IFA_LABEL           = 0x3
-       IFA_BROADCAST       = 0x4
-       IFA_ANYCAST         = 0x5
-       IFA_CACHEINFO       = 0x6
-       IFA_MULTICAST       = 0x7
-       IFLA_UNSPEC         = 0x0
-       IFLA_ADDRESS        = 0x1
-       IFLA_BROADCAST      = 0x2
-       IFLA_IFNAME         = 0x3
-       IFLA_MTU            = 0x4
-       IFLA_LINK           = 0x5
-       IFLA_QDISC          = 0x6
-       IFLA_STATS          = 0x7
-       IFLA_COST           = 0x8
-       IFLA_PRIORITY       = 0x9
-       IFLA_MASTER         = 0xa
-       IFLA_WIRELESS       = 0xb
-       IFLA_PROTINFO       = 0xc
-       IFLA_TXQLEN         = 0xd
-       IFLA_MAP            = 0xe
-       IFLA_WEIGHT         = 0xf
-       IFLA_OPERSTATE      = 0x10
-       IFLA_LINKMODE       = 0x11
-       IFLA_LINKINFO       = 0x12
-       IFLA_NET_NS_PID     = 0x13
-       IFLA_IFALIAS        = 0x14
-       IFLA_MAX            = 0x2b
-       RT_SCOPE_UNIVERSE   = 0x0
-       RT_SCOPE_SITE       = 0xc8
-       RT_SCOPE_LINK       = 0xfd
-       RT_SCOPE_HOST       = 0xfe
-       RT_SCOPE_NOWHERE    = 0xff
-       RT_TABLE_UNSPEC     = 0x0
-       RT_TABLE_COMPAT     = 0xfc
-       RT_TABLE_DEFAULT    = 0xfd
-       RT_TABLE_MAIN       = 0xfe
-       RT_TABLE_LOCAL      = 0xff
-       RT_TABLE_MAX        = 0xffffffff
-       RTA_UNSPEC          = 0x0
-       RTA_DST             = 0x1
-       RTA_SRC             = 0x2
-       RTA_IIF             = 0x3
-       RTA_OIF             = 0x4
-       RTA_GATEWAY         = 0x5
-       RTA_PRIORITY        = 0x6
-       RTA_PREFSRC         = 0x7
-       RTA_METRICS         = 0x8
-       RTA_MULTIPATH       = 0x9
-       RTA_FLOW            = 0xb
-       RTA_CACHEINFO       = 0xc
-       RTA_TABLE           = 0xf
-       RTN_UNSPEC          = 0x0
-       RTN_UNICAST         = 0x1
-       RTN_LOCAL           = 0x2
-       RTN_BROADCAST       = 0x3
-       RTN_ANYCAST         = 0x4
-       RTN_MULTICAST       = 0x5
-       RTN_BLACKHOLE       = 0x6
-       RTN_UNREACHABLE     = 0x7
-       RTN_PROHIBIT        = 0x8
-       RTN_THROW           = 0x9
-       RTN_NAT             = 0xa
-       RTN_XRESOLVE        = 0xb
-       RTNLGRP_NONE        = 0x0
-       RTNLGRP_LINK        = 0x1
-       RTNLGRP_NOTIFY      = 0x2
-       RTNLGRP_NEIGH       = 0x3
-       RTNLGRP_TC          = 0x4
-       RTNLGRP_IPV4_IFADDR = 0x5
-       RTNLGRP_IPV4_MROUTE = 0x6
-       RTNLGRP_IPV4_ROUTE  = 0x7
-       RTNLGRP_IPV4_RULE   = 0x8
-       RTNLGRP_IPV6_IFADDR = 0x9
-       RTNLGRP_IPV6_MROUTE = 0xa
-       RTNLGRP_IPV6_ROUTE  = 0xb
-       RTNLGRP_IPV6_IFINFO = 0xc
-       RTNLGRP_IPV6_PREFIX = 0x12
-       RTNLGRP_IPV6_RULE   = 0x13
-       RTNLGRP_ND_USEROPT  = 0x14
-       SizeofNlMsghdr      = 0x10
-       SizeofNlMsgerr      = 0x14
-       SizeofRtGenmsg      = 0x1
-       SizeofNlAttr        = 0x4
-       SizeofRtAttr        = 0x4
-       SizeofIfInfomsg     = 0x10
-       SizeofIfAddrmsg     = 0x8
-       SizeofRtMsg         = 0xc
-       SizeofRtNexthop     = 0x8
-)
-
-type NlMsghdr struct {
-       Len   uint32
-       Type  uint16
-       Flags uint16
-       Seq   uint32
-       Pid   uint32
-}
-
-type NlMsgerr struct {
-       Error int32
-       Msg   NlMsghdr
-}
-
-type RtGenmsg struct {
-       Family uint8
-}
-
-type NlAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type RtAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type IfInfomsg struct {
-       Family     uint8
-       X__ifi_pad uint8
-       Type       uint16
-       Index      int32
-       Flags      uint32
-       Change     uint32
-}
-
-type IfAddrmsg struct {
-       Family    uint8
-       Prefixlen uint8
-       Flags     uint8
-       Scope     uint8
-       Index     uint32
-}
-
-type RtMsg struct {
-       Family   uint8
-       Dst_len  uint8
-       Src_len  uint8
-       Tos      uint8
-       Table    uint8
-       Protocol uint8
-       Scope    uint8
-       Type     uint8
-       Flags    uint32
-}
-
-type RtNexthop struct {
-       Len     uint16
-       Flags   uint8
-       Hops    uint8
-       Ifindex int32
-}
-
-const (
-       SizeofSockFilter = 0x8
-       SizeofSockFprog  = 0x10
-)
-
-type SockFilter struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type SockFprog struct {
-       Len       uint16
-       Pad_cgo_0 [6]byte
-       Filter    *SockFilter
-}
-
-type InotifyEvent struct {
-       Wd     int32
-       Mask   uint32
-       Cookie uint32
-       Len    uint32
-}
-
-const SizeofInotifyEvent = 0x10
-
-type PtraceRegs struct {
-       Regs        [102]uint64
-       U_tsize     uint64
-       U_dsize     uint64
-       U_ssize     uint64
-       Start_code  uint64
-       Start_data  uint64
-       Start_stack uint64
-       Signal      int64
-       U_ar0       uint64
-       Magic       uint64
-       U_comm      [32]int8
-}
-
-type FdSet struct {
-       Bits [16]int64
-}
-
-type Sysinfo_t struct {
-       Uptime    int64
-       Loads     [3]uint64
-       Totalram  uint64
-       Freeram   uint64
-       Sharedram uint64
-       Bufferram uint64
-       Totalswap uint64
-       Freeswap  uint64
-       Procs     uint16
-       Pad       uint16
-       Pad_cgo_0 [4]byte
-       Totalhigh uint64
-       Freehigh  uint64
-       Unit      uint32
-       X_f       [0]int8
-       Pad_cgo_1 [4]byte
-}
-
-type Utsname struct {
-       Sysname    [65]int8
-       Nodename   [65]int8
-       Release    [65]int8
-       Version    [65]int8
-       Machine    [65]int8
-       Domainname [65]int8
-}
-
-type Ustat_t struct {
-       Tfree     int32
-       Pad_cgo_0 [4]byte
-       Tinode    uint64
-       Fname     [6]int8
-       Fpack     [6]int8
-       Pad_cgo_1 [4]byte
-}
-
-type EpollEvent struct {
-       Events uint32
-       Fd     int32
-       Pad    int32
-}
-
-const (
-       AT_FDCWD            = -0x64
-       AT_REMOVEDIR        = 0x200
-       AT_SYMLINK_FOLLOW   = 0x400
-       AT_SYMLINK_NOFOLLOW = 0x100
-)
-
-type PollFd struct {
-       Fd      int32
-       Events  int16
-       Revents int16
-}
-
-const (
-       POLLIN    = 0x1
-       POLLPRI   = 0x2
-       POLLOUT   = 0x4
-       POLLRDHUP = 0x2000
-       POLLERR   = 0x8
-       POLLHUP   = 0x10
-       POLLNVAL  = 0x20
-)
-
-type Sigset_t struct {
-       X__val [16]uint64
-}
-
-const _SC_PAGESIZE = 0x1e
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Line   uint8
-       Cc     [23]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go
deleted file mode 100644 (file)
index 9e9c680..0000000
+++ /dev/null
@@ -1,671 +0,0 @@
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build mips64le,linux
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-       PathMax        = 0x1000
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Timex struct {
-       Modes     uint32
-       Pad_cgo_0 [4]byte
-       Offset    int64
-       Freq      int64
-       Maxerror  int64
-       Esterror  int64
-       Status    int32
-       Pad_cgo_1 [4]byte
-       Constant  int64
-       Precision int64
-       Tolerance int64
-       Time      Timeval
-       Tick      int64
-       Ppsfreq   int64
-       Jitter    int64
-       Shift     int32
-       Pad_cgo_2 [4]byte
-       Stabil    int64
-       Jitcnt    int64
-       Calcnt    int64
-       Errcnt    int64
-       Stbcnt    int64
-       Tai       int32
-       Pad_cgo_3 [44]byte
-}
-
-type Time_t int64
-
-type Tms struct {
-       Utime  int64
-       Stime  int64
-       Cutime int64
-       Cstime int64
-}
-
-type Utimbuf struct {
-       Actime  int64
-       Modtime int64
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev     uint32
-       Pad1    [3]uint32
-       Ino     uint64
-       Mode    uint32
-       Nlink   uint32
-       Uid     uint32
-       Gid     uint32
-       Rdev    uint32
-       Pad2    [3]uint32
-       Size    int64
-       Atim    Timespec
-       Mtim    Timespec
-       Ctim    Timespec
-       Blksize uint32
-       Pad4    uint32
-       Blocks  int64
-}
-
-type Statfs_t struct {
-       Type    int64
-       Bsize   int64
-       Frsize  int64
-       Blocks  uint64
-       Bfree   uint64
-       Files   uint64
-       Ffree   uint64
-       Bavail  uint64
-       Fsid    Fsid
-       Namelen int64
-       Flags   int64
-       Spare   [5]int64
-}
-
-type Dirent struct {
-       Ino       uint64
-       Off       int64
-       Reclen    uint16
-       Type      uint8
-       Name      [256]int8
-       Pad_cgo_0 [5]byte
-}
-
-type Fsid struct {
-       X__val [2]int32
-}
-
-type Flock_t struct {
-       Type      int16
-       Whence    int16
-       Pad_cgo_0 [4]byte
-       Start     int64
-       Len       int64
-       Pid       int32
-       Pad_cgo_1 [4]byte
-}
-
-type FscryptPolicy struct {
-       Version                   uint8
-       Contents_encryption_mode  uint8
-       Filenames_encryption_mode uint8
-       Flags                     uint8
-       Master_key_descriptor     [8]uint8
-}
-
-type FscryptKey struct {
-       Mode uint32
-       Raw  [64]uint8
-       Size uint32
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x4
-       FADV_NOREUSE    = 0x5
-)
-
-type RawSockaddrInet4 struct {
-       Family uint16
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]uint8
-}
-
-type RawSockaddrInet6 struct {
-       Family   uint16
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Family uint16
-       Path   [108]int8
-}
-
-type RawSockaddrLinklayer struct {
-       Family   uint16
-       Protocol uint16
-       Ifindex  int32
-       Hatype   uint16
-       Pkttype  uint8
-       Halen    uint8
-       Addr     [8]uint8
-}
-
-type RawSockaddrNetlink struct {
-       Family uint16
-       Pad    uint16
-       Pid    uint32
-       Groups uint32
-}
-
-type RawSockaddrHCI struct {
-       Family  uint16
-       Dev     uint16
-       Channel uint16
-}
-
-type RawSockaddrCAN struct {
-       Family    uint16
-       Pad_cgo_0 [2]byte
-       Ifindex   int32
-       Addr      [8]byte
-}
-
-type RawSockaddrALG struct {
-       Family uint16
-       Type   [14]uint8
-       Feat   uint32
-       Mask   uint32
-       Name   [64]uint8
-}
-
-type RawSockaddrVM struct {
-       Family    uint16
-       Reserved1 uint16
-       Port      uint32
-       Cid       uint32
-       Zero      [4]uint8
-}
-
-type RawSockaddr struct {
-       Family uint16
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [96]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     uint64
-       Control    *byte
-       Controllen uint64
-       Flags      int32
-       Pad_cgo_1  [4]byte
-}
-
-type Cmsghdr struct {
-       Len   uint64
-       Level int32
-       Type  int32
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  int32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Data [8]uint32
-}
-
-type Ucred struct {
-       Pid int32
-       Uid uint32
-       Gid uint32
-}
-
-type TCPInfo struct {
-       State          uint8
-       Ca_state       uint8
-       Retransmits    uint8
-       Probes         uint8
-       Backoff        uint8
-       Options        uint8
-       Pad_cgo_0      [2]byte
-       Rto            uint32
-       Ato            uint32
-       Snd_mss        uint32
-       Rcv_mss        uint32
-       Unacked        uint32
-       Sacked         uint32
-       Lost           uint32
-       Retrans        uint32
-       Fackets        uint32
-       Last_data_sent uint32
-       Last_ack_sent  uint32
-       Last_data_recv uint32
-       Last_ack_recv  uint32
-       Pmtu           uint32
-       Rcv_ssthresh   uint32
-       Rtt            uint32
-       Rttvar         uint32
-       Snd_ssthresh   uint32
-       Snd_cwnd       uint32
-       Advmss         uint32
-       Reordering     uint32
-       Rcv_rtt        uint32
-       Rcv_space      uint32
-       Total_retrans  uint32
-}
-
-const (
-       SizeofSockaddrInet4     = 0x10
-       SizeofSockaddrInet6     = 0x1c
-       SizeofSockaddrAny       = 0x70
-       SizeofSockaddrUnix      = 0x6e
-       SizeofSockaddrLinklayer = 0x14
-       SizeofSockaddrNetlink   = 0xc
-       SizeofSockaddrHCI       = 0x6
-       SizeofSockaddrCAN       = 0x10
-       SizeofSockaddrALG       = 0x58
-       SizeofSockaddrVM        = 0x10
-       SizeofLinger            = 0x8
-       SizeofIPMreq            = 0x8
-       SizeofIPMreqn           = 0xc
-       SizeofIPv6Mreq          = 0x14
-       SizeofMsghdr            = 0x38
-       SizeofCmsghdr           = 0x10
-       SizeofInet4Pktinfo      = 0xc
-       SizeofInet6Pktinfo      = 0x14
-       SizeofIPv6MTUInfo       = 0x20
-       SizeofICMPv6Filter      = 0x20
-       SizeofUcred             = 0xc
-       SizeofTCPInfo           = 0x68
-)
-
-const (
-       IFA_UNSPEC          = 0x0
-       IFA_ADDRESS         = 0x1
-       IFA_LOCAL           = 0x2
-       IFA_LABEL           = 0x3
-       IFA_BROADCAST       = 0x4
-       IFA_ANYCAST         = 0x5
-       IFA_CACHEINFO       = 0x6
-       IFA_MULTICAST       = 0x7
-       IFLA_UNSPEC         = 0x0
-       IFLA_ADDRESS        = 0x1
-       IFLA_BROADCAST      = 0x2
-       IFLA_IFNAME         = 0x3
-       IFLA_MTU            = 0x4
-       IFLA_LINK           = 0x5
-       IFLA_QDISC          = 0x6
-       IFLA_STATS          = 0x7
-       IFLA_COST           = 0x8
-       IFLA_PRIORITY       = 0x9
-       IFLA_MASTER         = 0xa
-       IFLA_WIRELESS       = 0xb
-       IFLA_PROTINFO       = 0xc
-       IFLA_TXQLEN         = 0xd
-       IFLA_MAP            = 0xe
-       IFLA_WEIGHT         = 0xf
-       IFLA_OPERSTATE      = 0x10
-       IFLA_LINKMODE       = 0x11
-       IFLA_LINKINFO       = 0x12
-       IFLA_NET_NS_PID     = 0x13
-       IFLA_IFALIAS        = 0x14
-       IFLA_MAX            = 0x2b
-       RT_SCOPE_UNIVERSE   = 0x0
-       RT_SCOPE_SITE       = 0xc8
-       RT_SCOPE_LINK       = 0xfd
-       RT_SCOPE_HOST       = 0xfe
-       RT_SCOPE_NOWHERE    = 0xff
-       RT_TABLE_UNSPEC     = 0x0
-       RT_TABLE_COMPAT     = 0xfc
-       RT_TABLE_DEFAULT    = 0xfd
-       RT_TABLE_MAIN       = 0xfe
-       RT_TABLE_LOCAL      = 0xff
-       RT_TABLE_MAX        = 0xffffffff
-       RTA_UNSPEC          = 0x0
-       RTA_DST             = 0x1
-       RTA_SRC             = 0x2
-       RTA_IIF             = 0x3
-       RTA_OIF             = 0x4
-       RTA_GATEWAY         = 0x5
-       RTA_PRIORITY        = 0x6
-       RTA_PREFSRC         = 0x7
-       RTA_METRICS         = 0x8
-       RTA_MULTIPATH       = 0x9
-       RTA_FLOW            = 0xb
-       RTA_CACHEINFO       = 0xc
-       RTA_TABLE           = 0xf
-       RTN_UNSPEC          = 0x0
-       RTN_UNICAST         = 0x1
-       RTN_LOCAL           = 0x2
-       RTN_BROADCAST       = 0x3
-       RTN_ANYCAST         = 0x4
-       RTN_MULTICAST       = 0x5
-       RTN_BLACKHOLE       = 0x6
-       RTN_UNREACHABLE     = 0x7
-       RTN_PROHIBIT        = 0x8
-       RTN_THROW           = 0x9
-       RTN_NAT             = 0xa
-       RTN_XRESOLVE        = 0xb
-       RTNLGRP_NONE        = 0x0
-       RTNLGRP_LINK        = 0x1
-       RTNLGRP_NOTIFY      = 0x2
-       RTNLGRP_NEIGH       = 0x3
-       RTNLGRP_TC          = 0x4
-       RTNLGRP_IPV4_IFADDR = 0x5
-       RTNLGRP_IPV4_MROUTE = 0x6
-       RTNLGRP_IPV4_ROUTE  = 0x7
-       RTNLGRP_IPV4_RULE   = 0x8
-       RTNLGRP_IPV6_IFADDR = 0x9
-       RTNLGRP_IPV6_MROUTE = 0xa
-       RTNLGRP_IPV6_ROUTE  = 0xb
-       RTNLGRP_IPV6_IFINFO = 0xc
-       RTNLGRP_IPV6_PREFIX = 0x12
-       RTNLGRP_IPV6_RULE   = 0x13
-       RTNLGRP_ND_USEROPT  = 0x14
-       SizeofNlMsghdr      = 0x10
-       SizeofNlMsgerr      = 0x14
-       SizeofRtGenmsg      = 0x1
-       SizeofNlAttr        = 0x4
-       SizeofRtAttr        = 0x4
-       SizeofIfInfomsg     = 0x10
-       SizeofIfAddrmsg     = 0x8
-       SizeofRtMsg         = 0xc
-       SizeofRtNexthop     = 0x8
-)
-
-type NlMsghdr struct {
-       Len   uint32
-       Type  uint16
-       Flags uint16
-       Seq   uint32
-       Pid   uint32
-}
-
-type NlMsgerr struct {
-       Error int32
-       Msg   NlMsghdr
-}
-
-type RtGenmsg struct {
-       Family uint8
-}
-
-type NlAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type RtAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type IfInfomsg struct {
-       Family     uint8
-       X__ifi_pad uint8
-       Type       uint16
-       Index      int32
-       Flags      uint32
-       Change     uint32
-}
-
-type IfAddrmsg struct {
-       Family    uint8
-       Prefixlen uint8
-       Flags     uint8
-       Scope     uint8
-       Index     uint32
-}
-
-type RtMsg struct {
-       Family   uint8
-       Dst_len  uint8
-       Src_len  uint8
-       Tos      uint8
-       Table    uint8
-       Protocol uint8
-       Scope    uint8
-       Type     uint8
-       Flags    uint32
-}
-
-type RtNexthop struct {
-       Len     uint16
-       Flags   uint8
-       Hops    uint8
-       Ifindex int32
-}
-
-const (
-       SizeofSockFilter = 0x8
-       SizeofSockFprog  = 0x10
-)
-
-type SockFilter struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type SockFprog struct {
-       Len       uint16
-       Pad_cgo_0 [6]byte
-       Filter    *SockFilter
-}
-
-type InotifyEvent struct {
-       Wd     int32
-       Mask   uint32
-       Cookie uint32
-       Len    uint32
-}
-
-const SizeofInotifyEvent = 0x10
-
-type PtraceRegs struct {
-       Regs        [102]uint64
-       U_tsize     uint64
-       U_dsize     uint64
-       U_ssize     uint64
-       Start_code  uint64
-       Start_data  uint64
-       Start_stack uint64
-       Signal      int64
-       U_ar0       uint64
-       Magic       uint64
-       U_comm      [32]int8
-}
-
-type FdSet struct {
-       Bits [16]int64
-}
-
-type Sysinfo_t struct {
-       Uptime    int64
-       Loads     [3]uint64
-       Totalram  uint64
-       Freeram   uint64
-       Sharedram uint64
-       Bufferram uint64
-       Totalswap uint64
-       Freeswap  uint64
-       Procs     uint16
-       Pad       uint16
-       Pad_cgo_0 [4]byte
-       Totalhigh uint64
-       Freehigh  uint64
-       Unit      uint32
-       X_f       [0]int8
-       Pad_cgo_1 [4]byte
-}
-
-type Utsname struct {
-       Sysname    [65]int8
-       Nodename   [65]int8
-       Release    [65]int8
-       Version    [65]int8
-       Machine    [65]int8
-       Domainname [65]int8
-}
-
-type Ustat_t struct {
-       Tfree     int32
-       Pad_cgo_0 [4]byte
-       Tinode    uint64
-       Fname     [6]int8
-       Fpack     [6]int8
-       Pad_cgo_1 [4]byte
-}
-
-type EpollEvent struct {
-       Events uint32
-       Fd     int32
-       Pad    int32
-}
-
-const (
-       AT_FDCWD            = -0x64
-       AT_REMOVEDIR        = 0x200
-       AT_SYMLINK_FOLLOW   = 0x400
-       AT_SYMLINK_NOFOLLOW = 0x100
-)
-
-type PollFd struct {
-       Fd      int32
-       Events  int16
-       Revents int16
-}
-
-const (
-       POLLIN    = 0x1
-       POLLPRI   = 0x2
-       POLLOUT   = 0x4
-       POLLRDHUP = 0x2000
-       POLLERR   = 0x8
-       POLLHUP   = 0x10
-       POLLNVAL  = 0x20
-)
-
-type Sigset_t struct {
-       X__val [16]uint64
-}
-
-const _SC_PAGESIZE = 0x1e
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Line   uint8
-       Cc     [23]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go b/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go
deleted file mode 100644 (file)
index 482b48f..0000000
+++ /dev/null
@@ -1,666 +0,0 @@
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build mipsle,linux
-
-package unix
-
-const (
-       sizeofPtr      = 0x4
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x4
-       sizeofLongLong = 0x8
-       PathMax        = 0x1000
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int32
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int32
-       Nsec int32
-}
-
-type Timeval struct {
-       Sec  int32
-       Usec int32
-}
-
-type Timex struct {
-       Modes     uint32
-       Offset    int32
-       Freq      int32
-       Maxerror  int32
-       Esterror  int32
-       Status    int32
-       Constant  int32
-       Precision int32
-       Tolerance int32
-       Time      Timeval
-       Tick      int32
-       Ppsfreq   int32
-       Jitter    int32
-       Shift     int32
-       Stabil    int32
-       Jitcnt    int32
-       Calcnt    int32
-       Errcnt    int32
-       Stbcnt    int32
-       Tai       int32
-       Pad_cgo_0 [44]byte
-}
-
-type Time_t int32
-
-type Tms struct {
-       Utime  int32
-       Stime  int32
-       Cutime int32
-       Cstime int32
-}
-
-type Utimbuf struct {
-       Actime  int32
-       Modtime int32
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int32
-       Ixrss    int32
-       Idrss    int32
-       Isrss    int32
-       Minflt   int32
-       Majflt   int32
-       Nswap    int32
-       Inblock  int32
-       Oublock  int32
-       Msgsnd   int32
-       Msgrcv   int32
-       Nsignals int32
-       Nvcsw    int32
-       Nivcsw   int32
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev     uint32
-       Pad1    [3]int32
-       Ino     uint64
-       Mode    uint32
-       Nlink   uint32
-       Uid     uint32
-       Gid     uint32
-       Rdev    uint32
-       Pad2    [3]int32
-       Size    int64
-       Atim    Timespec
-       Mtim    Timespec
-       Ctim    Timespec
-       Blksize int32
-       Pad4    int32
-       Blocks  int64
-       Pad5    [14]int32
-}
-
-type Statfs_t struct {
-       Type      int32
-       Bsize     int32
-       Frsize    int32
-       Pad_cgo_0 [4]byte
-       Blocks    uint64
-       Bfree     uint64
-       Files     uint64
-       Ffree     uint64
-       Bavail    uint64
-       Fsid      Fsid
-       Namelen   int32
-       Flags     int32
-       Spare     [5]int32
-       Pad_cgo_1 [4]byte
-}
-
-type Dirent struct {
-       Ino       uint64
-       Off       int64
-       Reclen    uint16
-       Type      uint8
-       Name      [256]int8
-       Pad_cgo_0 [5]byte
-}
-
-type Fsid struct {
-       X__val [2]int32
-}
-
-type Flock_t struct {
-       Type      int16
-       Whence    int16
-       Pad_cgo_0 [4]byte
-       Start     int64
-       Len       int64
-       Pid       int32
-       Pad_cgo_1 [4]byte
-}
-
-type FscryptPolicy struct {
-       Version                   uint8
-       Contents_encryption_mode  uint8
-       Filenames_encryption_mode uint8
-       Flags                     uint8
-       Master_key_descriptor     [8]uint8
-}
-
-type FscryptKey struct {
-       Mode uint32
-       Raw  [64]uint8
-       Size uint32
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x4
-       FADV_NOREUSE    = 0x5
-)
-
-type RawSockaddrInet4 struct {
-       Family uint16
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]uint8
-}
-
-type RawSockaddrInet6 struct {
-       Family   uint16
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Family uint16
-       Path   [108]int8
-}
-
-type RawSockaddrLinklayer struct {
-       Family   uint16
-       Protocol uint16
-       Ifindex  int32
-       Hatype   uint16
-       Pkttype  uint8
-       Halen    uint8
-       Addr     [8]uint8
-}
-
-type RawSockaddrNetlink struct {
-       Family uint16
-       Pad    uint16
-       Pid    uint32
-       Groups uint32
-}
-
-type RawSockaddrHCI struct {
-       Family  uint16
-       Dev     uint16
-       Channel uint16
-}
-
-type RawSockaddrCAN struct {
-       Family    uint16
-       Pad_cgo_0 [2]byte
-       Ifindex   int32
-       Addr      [8]byte
-}
-
-type RawSockaddrALG struct {
-       Family uint16
-       Type   [14]uint8
-       Feat   uint32
-       Mask   uint32
-       Name   [64]uint8
-}
-
-type RawSockaddrVM struct {
-       Family    uint16
-       Reserved1 uint16
-       Port      uint32
-       Cid       uint32
-       Zero      [4]uint8
-}
-
-type RawSockaddr struct {
-       Family uint16
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [96]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint32
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Iov        *Iovec
-       Iovlen     uint32
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  int32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Data [8]uint32
-}
-
-type Ucred struct {
-       Pid int32
-       Uid uint32
-       Gid uint32
-}
-
-type TCPInfo struct {
-       State          uint8
-       Ca_state       uint8
-       Retransmits    uint8
-       Probes         uint8
-       Backoff        uint8
-       Options        uint8
-       Pad_cgo_0      [2]byte
-       Rto            uint32
-       Ato            uint32
-       Snd_mss        uint32
-       Rcv_mss        uint32
-       Unacked        uint32
-       Sacked         uint32
-       Lost           uint32
-       Retrans        uint32
-       Fackets        uint32
-       Last_data_sent uint32
-       Last_ack_sent  uint32
-       Last_data_recv uint32
-       Last_ack_recv  uint32
-       Pmtu           uint32
-       Rcv_ssthresh   uint32
-       Rtt            uint32
-       Rttvar         uint32
-       Snd_ssthresh   uint32
-       Snd_cwnd       uint32
-       Advmss         uint32
-       Reordering     uint32
-       Rcv_rtt        uint32
-       Rcv_space      uint32
-       Total_retrans  uint32
-}
-
-const (
-       SizeofSockaddrInet4     = 0x10
-       SizeofSockaddrInet6     = 0x1c
-       SizeofSockaddrAny       = 0x70
-       SizeofSockaddrUnix      = 0x6e
-       SizeofSockaddrLinklayer = 0x14
-       SizeofSockaddrNetlink   = 0xc
-       SizeofSockaddrHCI       = 0x6
-       SizeofSockaddrCAN       = 0x10
-       SizeofSockaddrALG       = 0x58
-       SizeofSockaddrVM        = 0x10
-       SizeofLinger            = 0x8
-       SizeofIPMreq            = 0x8
-       SizeofIPMreqn           = 0xc
-       SizeofIPv6Mreq          = 0x14
-       SizeofMsghdr            = 0x1c
-       SizeofCmsghdr           = 0xc
-       SizeofInet4Pktinfo      = 0xc
-       SizeofInet6Pktinfo      = 0x14
-       SizeofIPv6MTUInfo       = 0x20
-       SizeofICMPv6Filter      = 0x20
-       SizeofUcred             = 0xc
-       SizeofTCPInfo           = 0x68
-)
-
-const (
-       IFA_UNSPEC          = 0x0
-       IFA_ADDRESS         = 0x1
-       IFA_LOCAL           = 0x2
-       IFA_LABEL           = 0x3
-       IFA_BROADCAST       = 0x4
-       IFA_ANYCAST         = 0x5
-       IFA_CACHEINFO       = 0x6
-       IFA_MULTICAST       = 0x7
-       IFLA_UNSPEC         = 0x0
-       IFLA_ADDRESS        = 0x1
-       IFLA_BROADCAST      = 0x2
-       IFLA_IFNAME         = 0x3
-       IFLA_MTU            = 0x4
-       IFLA_LINK           = 0x5
-       IFLA_QDISC          = 0x6
-       IFLA_STATS          = 0x7
-       IFLA_COST           = 0x8
-       IFLA_PRIORITY       = 0x9
-       IFLA_MASTER         = 0xa
-       IFLA_WIRELESS       = 0xb
-       IFLA_PROTINFO       = 0xc
-       IFLA_TXQLEN         = 0xd
-       IFLA_MAP            = 0xe
-       IFLA_WEIGHT         = 0xf
-       IFLA_OPERSTATE      = 0x10
-       IFLA_LINKMODE       = 0x11
-       IFLA_LINKINFO       = 0x12
-       IFLA_NET_NS_PID     = 0x13
-       IFLA_IFALIAS        = 0x14
-       IFLA_MAX            = 0x2b
-       RT_SCOPE_UNIVERSE   = 0x0
-       RT_SCOPE_SITE       = 0xc8
-       RT_SCOPE_LINK       = 0xfd
-       RT_SCOPE_HOST       = 0xfe
-       RT_SCOPE_NOWHERE    = 0xff
-       RT_TABLE_UNSPEC     = 0x0
-       RT_TABLE_COMPAT     = 0xfc
-       RT_TABLE_DEFAULT    = 0xfd
-       RT_TABLE_MAIN       = 0xfe
-       RT_TABLE_LOCAL      = 0xff
-       RT_TABLE_MAX        = 0xffffffff
-       RTA_UNSPEC          = 0x0
-       RTA_DST             = 0x1
-       RTA_SRC             = 0x2
-       RTA_IIF             = 0x3
-       RTA_OIF             = 0x4
-       RTA_GATEWAY         = 0x5
-       RTA_PRIORITY        = 0x6
-       RTA_PREFSRC         = 0x7
-       RTA_METRICS         = 0x8
-       RTA_MULTIPATH       = 0x9
-       RTA_FLOW            = 0xb
-       RTA_CACHEINFO       = 0xc
-       RTA_TABLE           = 0xf
-       RTN_UNSPEC          = 0x0
-       RTN_UNICAST         = 0x1
-       RTN_LOCAL           = 0x2
-       RTN_BROADCAST       = 0x3
-       RTN_ANYCAST         = 0x4
-       RTN_MULTICAST       = 0x5
-       RTN_BLACKHOLE       = 0x6
-       RTN_UNREACHABLE     = 0x7
-       RTN_PROHIBIT        = 0x8
-       RTN_THROW           = 0x9
-       RTN_NAT             = 0xa
-       RTN_XRESOLVE        = 0xb
-       RTNLGRP_NONE        = 0x0
-       RTNLGRP_LINK        = 0x1
-       RTNLGRP_NOTIFY      = 0x2
-       RTNLGRP_NEIGH       = 0x3
-       RTNLGRP_TC          = 0x4
-       RTNLGRP_IPV4_IFADDR = 0x5
-       RTNLGRP_IPV4_MROUTE = 0x6
-       RTNLGRP_IPV4_ROUTE  = 0x7
-       RTNLGRP_IPV4_RULE   = 0x8
-       RTNLGRP_IPV6_IFADDR = 0x9
-       RTNLGRP_IPV6_MROUTE = 0xa
-       RTNLGRP_IPV6_ROUTE  = 0xb
-       RTNLGRP_IPV6_IFINFO = 0xc
-       RTNLGRP_IPV6_PREFIX = 0x12
-       RTNLGRP_IPV6_RULE   = 0x13
-       RTNLGRP_ND_USEROPT  = 0x14
-       SizeofNlMsghdr      = 0x10
-       SizeofNlMsgerr      = 0x14
-       SizeofRtGenmsg      = 0x1
-       SizeofNlAttr        = 0x4
-       SizeofRtAttr        = 0x4
-       SizeofIfInfomsg     = 0x10
-       SizeofIfAddrmsg     = 0x8
-       SizeofRtMsg         = 0xc
-       SizeofRtNexthop     = 0x8
-)
-
-type NlMsghdr struct {
-       Len   uint32
-       Type  uint16
-       Flags uint16
-       Seq   uint32
-       Pid   uint32
-}
-
-type NlMsgerr struct {
-       Error int32
-       Msg   NlMsghdr
-}
-
-type RtGenmsg struct {
-       Family uint8
-}
-
-type NlAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type RtAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type IfInfomsg struct {
-       Family     uint8
-       X__ifi_pad uint8
-       Type       uint16
-       Index      int32
-       Flags      uint32
-       Change     uint32
-}
-
-type IfAddrmsg struct {
-       Family    uint8
-       Prefixlen uint8
-       Flags     uint8
-       Scope     uint8
-       Index     uint32
-}
-
-type RtMsg struct {
-       Family   uint8
-       Dst_len  uint8
-       Src_len  uint8
-       Tos      uint8
-       Table    uint8
-       Protocol uint8
-       Scope    uint8
-       Type     uint8
-       Flags    uint32
-}
-
-type RtNexthop struct {
-       Len     uint16
-       Flags   uint8
-       Hops    uint8
-       Ifindex int32
-}
-
-const (
-       SizeofSockFilter = 0x8
-       SizeofSockFprog  = 0x8
-)
-
-type SockFilter struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type SockFprog struct {
-       Len       uint16
-       Pad_cgo_0 [2]byte
-       Filter    *SockFilter
-}
-
-type InotifyEvent struct {
-       Wd     int32
-       Mask   uint32
-       Cookie uint32
-       Len    uint32
-}
-
-const SizeofInotifyEvent = 0x10
-
-type PtraceRegs struct {
-       Regs        [109]uint32
-       U_tsize     uint32
-       U_dsize     uint32
-       U_ssize     uint32
-       Start_code  uint32
-       Start_data  uint32
-       Start_stack uint32
-       Signal      int32
-       U_ar0       *byte
-       Magic       uint32
-       U_comm      [32]int8
-}
-
-type FdSet struct {
-       Bits [32]int32
-}
-
-type Sysinfo_t struct {
-       Uptime    int32
-       Loads     [3]uint32
-       Totalram  uint32
-       Freeram   uint32
-       Sharedram uint32
-       Bufferram uint32
-       Totalswap uint32
-       Freeswap  uint32
-       Procs     uint16
-       Pad       uint16
-       Totalhigh uint32
-       Freehigh  uint32
-       Unit      uint32
-       X_f       [8]int8
-}
-
-type Utsname struct {
-       Sysname    [65]int8
-       Nodename   [65]int8
-       Release    [65]int8
-       Version    [65]int8
-       Machine    [65]int8
-       Domainname [65]int8
-}
-
-type Ustat_t struct {
-       Tfree  int32
-       Tinode uint32
-       Fname  [6]int8
-       Fpack  [6]int8
-}
-
-type EpollEvent struct {
-       Events uint32
-       PadFd  int32
-       Fd     int32
-       Pad    int32
-}
-
-const (
-       AT_FDCWD            = -0x64
-       AT_REMOVEDIR        = 0x200
-       AT_SYMLINK_FOLLOW   = 0x400
-       AT_SYMLINK_NOFOLLOW = 0x100
-)
-
-type PollFd struct {
-       Fd      int32
-       Events  int16
-       Revents int16
-}
-
-const (
-       POLLIN    = 0x1
-       POLLPRI   = 0x2
-       POLLOUT   = 0x4
-       POLLRDHUP = 0x2000
-       POLLERR   = 0x8
-       POLLHUP   = 0x10
-       POLLNVAL  = 0x20
-)
-
-type Sigset_t struct {
-       X__val [32]uint32
-}
-
-const _SC_PAGESIZE = 0x1e
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Line   uint8
-       Cc     [23]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go
deleted file mode 100644 (file)
index 4410abb..0000000
+++ /dev/null
@@ -1,675 +0,0 @@
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build ppc64,linux
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-       PathMax        = 0x1000
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Timex struct {
-       Modes     uint32
-       Pad_cgo_0 [4]byte
-       Offset    int64
-       Freq      int64
-       Maxerror  int64
-       Esterror  int64
-       Status    int32
-       Pad_cgo_1 [4]byte
-       Constant  int64
-       Precision int64
-       Tolerance int64
-       Time      Timeval
-       Tick      int64
-       Ppsfreq   int64
-       Jitter    int64
-       Shift     int32
-       Pad_cgo_2 [4]byte
-       Stabil    int64
-       Jitcnt    int64
-       Calcnt    int64
-       Errcnt    int64
-       Stbcnt    int64
-       Tai       int32
-       Pad_cgo_3 [44]byte
-}
-
-type Time_t int64
-
-type Tms struct {
-       Utime  int64
-       Stime  int64
-       Cutime int64
-       Cstime int64
-}
-
-type Utimbuf struct {
-       Actime  int64
-       Modtime int64
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev     uint64
-       Ino     uint64
-       Nlink   uint64
-       Mode    uint32
-       Uid     uint32
-       Gid     uint32
-       X__pad2 int32
-       Rdev    uint64
-       Size    int64
-       Blksize int64
-       Blocks  int64
-       Atim    Timespec
-       Mtim    Timespec
-       Ctim    Timespec
-       _       uint64
-       _       uint64
-       _       uint64
-}
-
-type Statfs_t struct {
-       Type    int64
-       Bsize   int64
-       Blocks  uint64
-       Bfree   uint64
-       Bavail  uint64
-       Files   uint64
-       Ffree   uint64
-       Fsid    Fsid
-       Namelen int64
-       Frsize  int64
-       Flags   int64
-       Spare   [4]int64
-}
-
-type Dirent struct {
-       Ino       uint64
-       Off       int64
-       Reclen    uint16
-       Type      uint8
-       Name      [256]uint8
-       Pad_cgo_0 [5]byte
-}
-
-type Fsid struct {
-       X__val [2]int32
-}
-
-type Flock_t struct {
-       Type      int16
-       Whence    int16
-       Pad_cgo_0 [4]byte
-       Start     int64
-       Len       int64
-       Pid       int32
-       Pad_cgo_1 [4]byte
-}
-
-type FscryptPolicy struct {
-       Version                   uint8
-       Contents_encryption_mode  uint8
-       Filenames_encryption_mode uint8
-       Flags                     uint8
-       Master_key_descriptor     [8]uint8
-}
-
-type FscryptKey struct {
-       Mode uint32
-       Raw  [64]uint8
-       Size uint32
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x4
-       FADV_NOREUSE    = 0x5
-)
-
-type RawSockaddrInet4 struct {
-       Family uint16
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]uint8
-}
-
-type RawSockaddrInet6 struct {
-       Family   uint16
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Family uint16
-       Path   [108]int8
-}
-
-type RawSockaddrLinklayer struct {
-       Family   uint16
-       Protocol uint16
-       Ifindex  int32
-       Hatype   uint16
-       Pkttype  uint8
-       Halen    uint8
-       Addr     [8]uint8
-}
-
-type RawSockaddrNetlink struct {
-       Family uint16
-       Pad    uint16
-       Pid    uint32
-       Groups uint32
-}
-
-type RawSockaddrHCI struct {
-       Family  uint16
-       Dev     uint16
-       Channel uint16
-}
-
-type RawSockaddrCAN struct {
-       Family    uint16
-       Pad_cgo_0 [2]byte
-       Ifindex   int32
-       Addr      [8]byte
-}
-
-type RawSockaddrALG struct {
-       Family uint16
-       Type   [14]uint8
-       Feat   uint32
-       Mask   uint32
-       Name   [64]uint8
-}
-
-type RawSockaddrVM struct {
-       Family    uint16
-       Reserved1 uint16
-       Port      uint32
-       Cid       uint32
-       Zero      [4]uint8
-}
-
-type RawSockaddr struct {
-       Family uint16
-       Data   [14]uint8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [96]uint8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     uint64
-       Control    *byte
-       Controllen uint64
-       Flags      int32
-       Pad_cgo_1  [4]byte
-}
-
-type Cmsghdr struct {
-       Len   uint64
-       Level int32
-       Type  int32
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  int32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Data [8]uint32
-}
-
-type Ucred struct {
-       Pid int32
-       Uid uint32
-       Gid uint32
-}
-
-type TCPInfo struct {
-       State          uint8
-       Ca_state       uint8
-       Retransmits    uint8
-       Probes         uint8
-       Backoff        uint8
-       Options        uint8
-       Pad_cgo_0      [2]byte
-       Rto            uint32
-       Ato            uint32
-       Snd_mss        uint32
-       Rcv_mss        uint32
-       Unacked        uint32
-       Sacked         uint32
-       Lost           uint32
-       Retrans        uint32
-       Fackets        uint32
-       Last_data_sent uint32
-       Last_ack_sent  uint32
-       Last_data_recv uint32
-       Last_ack_recv  uint32
-       Pmtu           uint32
-       Rcv_ssthresh   uint32
-       Rtt            uint32
-       Rttvar         uint32
-       Snd_ssthresh   uint32
-       Snd_cwnd       uint32
-       Advmss         uint32
-       Reordering     uint32
-       Rcv_rtt        uint32
-       Rcv_space      uint32
-       Total_retrans  uint32
-}
-
-const (
-       SizeofSockaddrInet4     = 0x10
-       SizeofSockaddrInet6     = 0x1c
-       SizeofSockaddrAny       = 0x70
-       SizeofSockaddrUnix      = 0x6e
-       SizeofSockaddrLinklayer = 0x14
-       SizeofSockaddrNetlink   = 0xc
-       SizeofSockaddrHCI       = 0x6
-       SizeofSockaddrCAN       = 0x10
-       SizeofSockaddrALG       = 0x58
-       SizeofSockaddrVM        = 0x10
-       SizeofLinger            = 0x8
-       SizeofIPMreq            = 0x8
-       SizeofIPMreqn           = 0xc
-       SizeofIPv6Mreq          = 0x14
-       SizeofMsghdr            = 0x38
-       SizeofCmsghdr           = 0x10
-       SizeofInet4Pktinfo      = 0xc
-       SizeofInet6Pktinfo      = 0x14
-       SizeofIPv6MTUInfo       = 0x20
-       SizeofICMPv6Filter      = 0x20
-       SizeofUcred             = 0xc
-       SizeofTCPInfo           = 0x68
-)
-
-const (
-       IFA_UNSPEC          = 0x0
-       IFA_ADDRESS         = 0x1
-       IFA_LOCAL           = 0x2
-       IFA_LABEL           = 0x3
-       IFA_BROADCAST       = 0x4
-       IFA_ANYCAST         = 0x5
-       IFA_CACHEINFO       = 0x6
-       IFA_MULTICAST       = 0x7
-       IFLA_UNSPEC         = 0x0
-       IFLA_ADDRESS        = 0x1
-       IFLA_BROADCAST      = 0x2
-       IFLA_IFNAME         = 0x3
-       IFLA_MTU            = 0x4
-       IFLA_LINK           = 0x5
-       IFLA_QDISC          = 0x6
-       IFLA_STATS          = 0x7
-       IFLA_COST           = 0x8
-       IFLA_PRIORITY       = 0x9
-       IFLA_MASTER         = 0xa
-       IFLA_WIRELESS       = 0xb
-       IFLA_PROTINFO       = 0xc
-       IFLA_TXQLEN         = 0xd
-       IFLA_MAP            = 0xe
-       IFLA_WEIGHT         = 0xf
-       IFLA_OPERSTATE      = 0x10
-       IFLA_LINKMODE       = 0x11
-       IFLA_LINKINFO       = 0x12
-       IFLA_NET_NS_PID     = 0x13
-       IFLA_IFALIAS        = 0x14
-       IFLA_MAX            = 0x2b
-       RT_SCOPE_UNIVERSE   = 0x0
-       RT_SCOPE_SITE       = 0xc8
-       RT_SCOPE_LINK       = 0xfd
-       RT_SCOPE_HOST       = 0xfe
-       RT_SCOPE_NOWHERE    = 0xff
-       RT_TABLE_UNSPEC     = 0x0
-       RT_TABLE_COMPAT     = 0xfc
-       RT_TABLE_DEFAULT    = 0xfd
-       RT_TABLE_MAIN       = 0xfe
-       RT_TABLE_LOCAL      = 0xff
-       RT_TABLE_MAX        = 0xffffffff
-       RTA_UNSPEC          = 0x0
-       RTA_DST             = 0x1
-       RTA_SRC             = 0x2
-       RTA_IIF             = 0x3
-       RTA_OIF             = 0x4
-       RTA_GATEWAY         = 0x5
-       RTA_PRIORITY        = 0x6
-       RTA_PREFSRC         = 0x7
-       RTA_METRICS         = 0x8
-       RTA_MULTIPATH       = 0x9
-       RTA_FLOW            = 0xb
-       RTA_CACHEINFO       = 0xc
-       RTA_TABLE           = 0xf
-       RTN_UNSPEC          = 0x0
-       RTN_UNICAST         = 0x1
-       RTN_LOCAL           = 0x2
-       RTN_BROADCAST       = 0x3
-       RTN_ANYCAST         = 0x4
-       RTN_MULTICAST       = 0x5
-       RTN_BLACKHOLE       = 0x6
-       RTN_UNREACHABLE     = 0x7
-       RTN_PROHIBIT        = 0x8
-       RTN_THROW           = 0x9
-       RTN_NAT             = 0xa
-       RTN_XRESOLVE        = 0xb
-       RTNLGRP_NONE        = 0x0
-       RTNLGRP_LINK        = 0x1
-       RTNLGRP_NOTIFY      = 0x2
-       RTNLGRP_NEIGH       = 0x3
-       RTNLGRP_TC          = 0x4
-       RTNLGRP_IPV4_IFADDR = 0x5
-       RTNLGRP_IPV4_MROUTE = 0x6
-       RTNLGRP_IPV4_ROUTE  = 0x7
-       RTNLGRP_IPV4_RULE   = 0x8
-       RTNLGRP_IPV6_IFADDR = 0x9
-       RTNLGRP_IPV6_MROUTE = 0xa
-       RTNLGRP_IPV6_ROUTE  = 0xb
-       RTNLGRP_IPV6_IFINFO = 0xc
-       RTNLGRP_IPV6_PREFIX = 0x12
-       RTNLGRP_IPV6_RULE   = 0x13
-       RTNLGRP_ND_USEROPT  = 0x14
-       SizeofNlMsghdr      = 0x10
-       SizeofNlMsgerr      = 0x14
-       SizeofRtGenmsg      = 0x1
-       SizeofNlAttr        = 0x4
-       SizeofRtAttr        = 0x4
-       SizeofIfInfomsg     = 0x10
-       SizeofIfAddrmsg     = 0x8
-       SizeofRtMsg         = 0xc
-       SizeofRtNexthop     = 0x8
-)
-
-type NlMsghdr struct {
-       Len   uint32
-       Type  uint16
-       Flags uint16
-       Seq   uint32
-       Pid   uint32
-}
-
-type NlMsgerr struct {
-       Error int32
-       Msg   NlMsghdr
-}
-
-type RtGenmsg struct {
-       Family uint8
-}
-
-type NlAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type RtAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type IfInfomsg struct {
-       Family     uint8
-       X__ifi_pad uint8
-       Type       uint16
-       Index      int32
-       Flags      uint32
-       Change     uint32
-}
-
-type IfAddrmsg struct {
-       Family    uint8
-       Prefixlen uint8
-       Flags     uint8
-       Scope     uint8
-       Index     uint32
-}
-
-type RtMsg struct {
-       Family   uint8
-       Dst_len  uint8
-       Src_len  uint8
-       Tos      uint8
-       Table    uint8
-       Protocol uint8
-       Scope    uint8
-       Type     uint8
-       Flags    uint32
-}
-
-type RtNexthop struct {
-       Len     uint16
-       Flags   uint8
-       Hops    uint8
-       Ifindex int32
-}
-
-const (
-       SizeofSockFilter = 0x8
-       SizeofSockFprog  = 0x10
-)
-
-type SockFilter struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type SockFprog struct {
-       Len       uint16
-       Pad_cgo_0 [6]byte
-       Filter    *SockFilter
-}
-
-type InotifyEvent struct {
-       Wd     int32
-       Mask   uint32
-       Cookie uint32
-       Len    uint32
-}
-
-const SizeofInotifyEvent = 0x10
-
-type PtraceRegs struct {
-       Gpr       [32]uint64
-       Nip       uint64
-       Msr       uint64
-       Orig_gpr3 uint64
-       Ctr       uint64
-       Link      uint64
-       Xer       uint64
-       Ccr       uint64
-       Softe     uint64
-       Trap      uint64
-       Dar       uint64
-       Dsisr     uint64
-       Result    uint64
-}
-
-type FdSet struct {
-       Bits [16]int64
-}
-
-type Sysinfo_t struct {
-       Uptime    int64
-       Loads     [3]uint64
-       Totalram  uint64
-       Freeram   uint64
-       Sharedram uint64
-       Bufferram uint64
-       Totalswap uint64
-       Freeswap  uint64
-       Procs     uint16
-       Pad       uint16
-       Pad_cgo_0 [4]byte
-       Totalhigh uint64
-       Freehigh  uint64
-       Unit      uint32
-       X_f       [0]uint8
-       Pad_cgo_1 [4]byte
-}
-
-type Utsname struct {
-       Sysname    [65]uint8
-       Nodename   [65]uint8
-       Release    [65]uint8
-       Version    [65]uint8
-       Machine    [65]uint8
-       Domainname [65]uint8
-}
-
-type Ustat_t struct {
-       Tfree     int32
-       Pad_cgo_0 [4]byte
-       Tinode    uint64
-       Fname     [6]uint8
-       Fpack     [6]uint8
-       Pad_cgo_1 [4]byte
-}
-
-type EpollEvent struct {
-       Events  uint32
-       X_padFd int32
-       Fd      int32
-       Pad     int32
-}
-
-const (
-       AT_FDCWD            = -0x64
-       AT_REMOVEDIR        = 0x200
-       AT_SYMLINK_FOLLOW   = 0x400
-       AT_SYMLINK_NOFOLLOW = 0x100
-)
-
-type PollFd struct {
-       Fd      int32
-       Events  int16
-       Revents int16
-}
-
-const (
-       POLLIN    = 0x1
-       POLLPRI   = 0x2
-       POLLOUT   = 0x4
-       POLLRDHUP = 0x2000
-       POLLERR   = 0x8
-       POLLHUP   = 0x10
-       POLLNVAL  = 0x20
-)
-
-type Sigset_t struct {
-       X__val [16]uint64
-}
-
-const _SC_PAGESIZE = 0x1e
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [19]uint8
-       Line   uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
deleted file mode 100644 (file)
index 10947c3..0000000
+++ /dev/null
@@ -1,675 +0,0 @@
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build ppc64le,linux
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-       PathMax        = 0x1000
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Timex struct {
-       Modes     uint32
-       Pad_cgo_0 [4]byte
-       Offset    int64
-       Freq      int64
-       Maxerror  int64
-       Esterror  int64
-       Status    int32
-       Pad_cgo_1 [4]byte
-       Constant  int64
-       Precision int64
-       Tolerance int64
-       Time      Timeval
-       Tick      int64
-       Ppsfreq   int64
-       Jitter    int64
-       Shift     int32
-       Pad_cgo_2 [4]byte
-       Stabil    int64
-       Jitcnt    int64
-       Calcnt    int64
-       Errcnt    int64
-       Stbcnt    int64
-       Tai       int32
-       Pad_cgo_3 [44]byte
-}
-
-type Time_t int64
-
-type Tms struct {
-       Utime  int64
-       Stime  int64
-       Cutime int64
-       Cstime int64
-}
-
-type Utimbuf struct {
-       Actime  int64
-       Modtime int64
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev     uint64
-       Ino     uint64
-       Nlink   uint64
-       Mode    uint32
-       Uid     uint32
-       Gid     uint32
-       X__pad2 int32
-       Rdev    uint64
-       Size    int64
-       Blksize int64
-       Blocks  int64
-       Atim    Timespec
-       Mtim    Timespec
-       Ctim    Timespec
-       _       uint64
-       _       uint64
-       _       uint64
-}
-
-type Statfs_t struct {
-       Type    int64
-       Bsize   int64
-       Blocks  uint64
-       Bfree   uint64
-       Bavail  uint64
-       Files   uint64
-       Ffree   uint64
-       Fsid    Fsid
-       Namelen int64
-       Frsize  int64
-       Flags   int64
-       Spare   [4]int64
-}
-
-type Dirent struct {
-       Ino       uint64
-       Off       int64
-       Reclen    uint16
-       Type      uint8
-       Name      [256]uint8
-       Pad_cgo_0 [5]byte
-}
-
-type Fsid struct {
-       X__val [2]int32
-}
-
-type Flock_t struct {
-       Type      int16
-       Whence    int16
-       Pad_cgo_0 [4]byte
-       Start     int64
-       Len       int64
-       Pid       int32
-       Pad_cgo_1 [4]byte
-}
-
-type FscryptPolicy struct {
-       Version                   uint8
-       Contents_encryption_mode  uint8
-       Filenames_encryption_mode uint8
-       Flags                     uint8
-       Master_key_descriptor     [8]uint8
-}
-
-type FscryptKey struct {
-       Mode uint32
-       Raw  [64]uint8
-       Size uint32
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x4
-       FADV_NOREUSE    = 0x5
-)
-
-type RawSockaddrInet4 struct {
-       Family uint16
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]uint8
-}
-
-type RawSockaddrInet6 struct {
-       Family   uint16
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Family uint16
-       Path   [108]int8
-}
-
-type RawSockaddrLinklayer struct {
-       Family   uint16
-       Protocol uint16
-       Ifindex  int32
-       Hatype   uint16
-       Pkttype  uint8
-       Halen    uint8
-       Addr     [8]uint8
-}
-
-type RawSockaddrNetlink struct {
-       Family uint16
-       Pad    uint16
-       Pid    uint32
-       Groups uint32
-}
-
-type RawSockaddrHCI struct {
-       Family  uint16
-       Dev     uint16
-       Channel uint16
-}
-
-type RawSockaddrCAN struct {
-       Family    uint16
-       Pad_cgo_0 [2]byte
-       Ifindex   int32
-       Addr      [8]byte
-}
-
-type RawSockaddrALG struct {
-       Family uint16
-       Type   [14]uint8
-       Feat   uint32
-       Mask   uint32
-       Name   [64]uint8
-}
-
-type RawSockaddrVM struct {
-       Family    uint16
-       Reserved1 uint16
-       Port      uint32
-       Cid       uint32
-       Zero      [4]uint8
-}
-
-type RawSockaddr struct {
-       Family uint16
-       Data   [14]uint8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [96]uint8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     uint64
-       Control    *byte
-       Controllen uint64
-       Flags      int32
-       Pad_cgo_1  [4]byte
-}
-
-type Cmsghdr struct {
-       Len   uint64
-       Level int32
-       Type  int32
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  int32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Data [8]uint32
-}
-
-type Ucred struct {
-       Pid int32
-       Uid uint32
-       Gid uint32
-}
-
-type TCPInfo struct {
-       State          uint8
-       Ca_state       uint8
-       Retransmits    uint8
-       Probes         uint8
-       Backoff        uint8
-       Options        uint8
-       Pad_cgo_0      [2]byte
-       Rto            uint32
-       Ato            uint32
-       Snd_mss        uint32
-       Rcv_mss        uint32
-       Unacked        uint32
-       Sacked         uint32
-       Lost           uint32
-       Retrans        uint32
-       Fackets        uint32
-       Last_data_sent uint32
-       Last_ack_sent  uint32
-       Last_data_recv uint32
-       Last_ack_recv  uint32
-       Pmtu           uint32
-       Rcv_ssthresh   uint32
-       Rtt            uint32
-       Rttvar         uint32
-       Snd_ssthresh   uint32
-       Snd_cwnd       uint32
-       Advmss         uint32
-       Reordering     uint32
-       Rcv_rtt        uint32
-       Rcv_space      uint32
-       Total_retrans  uint32
-}
-
-const (
-       SizeofSockaddrInet4     = 0x10
-       SizeofSockaddrInet6     = 0x1c
-       SizeofSockaddrAny       = 0x70
-       SizeofSockaddrUnix      = 0x6e
-       SizeofSockaddrLinklayer = 0x14
-       SizeofSockaddrNetlink   = 0xc
-       SizeofSockaddrHCI       = 0x6
-       SizeofSockaddrCAN       = 0x10
-       SizeofSockaddrALG       = 0x58
-       SizeofSockaddrVM        = 0x10
-       SizeofLinger            = 0x8
-       SizeofIPMreq            = 0x8
-       SizeofIPMreqn           = 0xc
-       SizeofIPv6Mreq          = 0x14
-       SizeofMsghdr            = 0x38
-       SizeofCmsghdr           = 0x10
-       SizeofInet4Pktinfo      = 0xc
-       SizeofInet6Pktinfo      = 0x14
-       SizeofIPv6MTUInfo       = 0x20
-       SizeofICMPv6Filter      = 0x20
-       SizeofUcred             = 0xc
-       SizeofTCPInfo           = 0x68
-)
-
-const (
-       IFA_UNSPEC          = 0x0
-       IFA_ADDRESS         = 0x1
-       IFA_LOCAL           = 0x2
-       IFA_LABEL           = 0x3
-       IFA_BROADCAST       = 0x4
-       IFA_ANYCAST         = 0x5
-       IFA_CACHEINFO       = 0x6
-       IFA_MULTICAST       = 0x7
-       IFLA_UNSPEC         = 0x0
-       IFLA_ADDRESS        = 0x1
-       IFLA_BROADCAST      = 0x2
-       IFLA_IFNAME         = 0x3
-       IFLA_MTU            = 0x4
-       IFLA_LINK           = 0x5
-       IFLA_QDISC          = 0x6
-       IFLA_STATS          = 0x7
-       IFLA_COST           = 0x8
-       IFLA_PRIORITY       = 0x9
-       IFLA_MASTER         = 0xa
-       IFLA_WIRELESS       = 0xb
-       IFLA_PROTINFO       = 0xc
-       IFLA_TXQLEN         = 0xd
-       IFLA_MAP            = 0xe
-       IFLA_WEIGHT         = 0xf
-       IFLA_OPERSTATE      = 0x10
-       IFLA_LINKMODE       = 0x11
-       IFLA_LINKINFO       = 0x12
-       IFLA_NET_NS_PID     = 0x13
-       IFLA_IFALIAS        = 0x14
-       IFLA_MAX            = 0x2b
-       RT_SCOPE_UNIVERSE   = 0x0
-       RT_SCOPE_SITE       = 0xc8
-       RT_SCOPE_LINK       = 0xfd
-       RT_SCOPE_HOST       = 0xfe
-       RT_SCOPE_NOWHERE    = 0xff
-       RT_TABLE_UNSPEC     = 0x0
-       RT_TABLE_COMPAT     = 0xfc
-       RT_TABLE_DEFAULT    = 0xfd
-       RT_TABLE_MAIN       = 0xfe
-       RT_TABLE_LOCAL      = 0xff
-       RT_TABLE_MAX        = 0xffffffff
-       RTA_UNSPEC          = 0x0
-       RTA_DST             = 0x1
-       RTA_SRC             = 0x2
-       RTA_IIF             = 0x3
-       RTA_OIF             = 0x4
-       RTA_GATEWAY         = 0x5
-       RTA_PRIORITY        = 0x6
-       RTA_PREFSRC         = 0x7
-       RTA_METRICS         = 0x8
-       RTA_MULTIPATH       = 0x9
-       RTA_FLOW            = 0xb
-       RTA_CACHEINFO       = 0xc
-       RTA_TABLE           = 0xf
-       RTN_UNSPEC          = 0x0
-       RTN_UNICAST         = 0x1
-       RTN_LOCAL           = 0x2
-       RTN_BROADCAST       = 0x3
-       RTN_ANYCAST         = 0x4
-       RTN_MULTICAST       = 0x5
-       RTN_BLACKHOLE       = 0x6
-       RTN_UNREACHABLE     = 0x7
-       RTN_PROHIBIT        = 0x8
-       RTN_THROW           = 0x9
-       RTN_NAT             = 0xa
-       RTN_XRESOLVE        = 0xb
-       RTNLGRP_NONE        = 0x0
-       RTNLGRP_LINK        = 0x1
-       RTNLGRP_NOTIFY      = 0x2
-       RTNLGRP_NEIGH       = 0x3
-       RTNLGRP_TC          = 0x4
-       RTNLGRP_IPV4_IFADDR = 0x5
-       RTNLGRP_IPV4_MROUTE = 0x6
-       RTNLGRP_IPV4_ROUTE  = 0x7
-       RTNLGRP_IPV4_RULE   = 0x8
-       RTNLGRP_IPV6_IFADDR = 0x9
-       RTNLGRP_IPV6_MROUTE = 0xa
-       RTNLGRP_IPV6_ROUTE  = 0xb
-       RTNLGRP_IPV6_IFINFO = 0xc
-       RTNLGRP_IPV6_PREFIX = 0x12
-       RTNLGRP_IPV6_RULE   = 0x13
-       RTNLGRP_ND_USEROPT  = 0x14
-       SizeofNlMsghdr      = 0x10
-       SizeofNlMsgerr      = 0x14
-       SizeofRtGenmsg      = 0x1
-       SizeofNlAttr        = 0x4
-       SizeofRtAttr        = 0x4
-       SizeofIfInfomsg     = 0x10
-       SizeofIfAddrmsg     = 0x8
-       SizeofRtMsg         = 0xc
-       SizeofRtNexthop     = 0x8
-)
-
-type NlMsghdr struct {
-       Len   uint32
-       Type  uint16
-       Flags uint16
-       Seq   uint32
-       Pid   uint32
-}
-
-type NlMsgerr struct {
-       Error int32
-       Msg   NlMsghdr
-}
-
-type RtGenmsg struct {
-       Family uint8
-}
-
-type NlAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type RtAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type IfInfomsg struct {
-       Family     uint8
-       X__ifi_pad uint8
-       Type       uint16
-       Index      int32
-       Flags      uint32
-       Change     uint32
-}
-
-type IfAddrmsg struct {
-       Family    uint8
-       Prefixlen uint8
-       Flags     uint8
-       Scope     uint8
-       Index     uint32
-}
-
-type RtMsg struct {
-       Family   uint8
-       Dst_len  uint8
-       Src_len  uint8
-       Tos      uint8
-       Table    uint8
-       Protocol uint8
-       Scope    uint8
-       Type     uint8
-       Flags    uint32
-}
-
-type RtNexthop struct {
-       Len     uint16
-       Flags   uint8
-       Hops    uint8
-       Ifindex int32
-}
-
-const (
-       SizeofSockFilter = 0x8
-       SizeofSockFprog  = 0x10
-)
-
-type SockFilter struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type SockFprog struct {
-       Len       uint16
-       Pad_cgo_0 [6]byte
-       Filter    *SockFilter
-}
-
-type InotifyEvent struct {
-       Wd     int32
-       Mask   uint32
-       Cookie uint32
-       Len    uint32
-}
-
-const SizeofInotifyEvent = 0x10
-
-type PtraceRegs struct {
-       Gpr       [32]uint64
-       Nip       uint64
-       Msr       uint64
-       Orig_gpr3 uint64
-       Ctr       uint64
-       Link      uint64
-       Xer       uint64
-       Ccr       uint64
-       Softe     uint64
-       Trap      uint64
-       Dar       uint64
-       Dsisr     uint64
-       Result    uint64
-}
-
-type FdSet struct {
-       Bits [16]int64
-}
-
-type Sysinfo_t struct {
-       Uptime    int64
-       Loads     [3]uint64
-       Totalram  uint64
-       Freeram   uint64
-       Sharedram uint64
-       Bufferram uint64
-       Totalswap uint64
-       Freeswap  uint64
-       Procs     uint16
-       Pad       uint16
-       Pad_cgo_0 [4]byte
-       Totalhigh uint64
-       Freehigh  uint64
-       Unit      uint32
-       X_f       [0]uint8
-       Pad_cgo_1 [4]byte
-}
-
-type Utsname struct {
-       Sysname    [65]uint8
-       Nodename   [65]uint8
-       Release    [65]uint8
-       Version    [65]uint8
-       Machine    [65]uint8
-       Domainname [65]uint8
-}
-
-type Ustat_t struct {
-       Tfree     int32
-       Pad_cgo_0 [4]byte
-       Tinode    uint64
-       Fname     [6]uint8
-       Fpack     [6]uint8
-       Pad_cgo_1 [4]byte
-}
-
-type EpollEvent struct {
-       Events  uint32
-       X_padFd int32
-       Fd      int32
-       Pad     int32
-}
-
-const (
-       AT_FDCWD            = -0x64
-       AT_REMOVEDIR        = 0x200
-       AT_SYMLINK_FOLLOW   = 0x400
-       AT_SYMLINK_NOFOLLOW = 0x100
-)
-
-type PollFd struct {
-       Fd      int32
-       Events  int16
-       Revents int16
-}
-
-const (
-       POLLIN    = 0x1
-       POLLPRI   = 0x2
-       POLLOUT   = 0x4
-       POLLRDHUP = 0x2000
-       POLLERR   = 0x8
-       POLLHUP   = 0x10
-       POLLNVAL  = 0x20
-)
-
-type Sigset_t struct {
-       X__val [16]uint64
-}
-
-const _SC_PAGESIZE = 0x1e
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [19]uint8
-       Line   uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go b/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go
deleted file mode 100644 (file)
index 57dbb36..0000000
+++ /dev/null
@@ -1,692 +0,0 @@
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char linux/types.go | go run mkpost.go
-// Code generated by the command above; see README.md. DO NOT EDIT.
-
-// +build s390x,linux
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-       PathMax        = 0x1000
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Timex struct {
-       Modes     uint32
-       _         [4]byte
-       Offset    int64
-       Freq      int64
-       Maxerror  int64
-       Esterror  int64
-       Status    int32
-       _         [4]byte
-       Constant  int64
-       Precision int64
-       Tolerance int64
-       Time      Timeval
-       Tick      int64
-       Ppsfreq   int64
-       Jitter    int64
-       Shift     int32
-       _         [4]byte
-       Stabil    int64
-       Jitcnt    int64
-       Calcnt    int64
-       Errcnt    int64
-       Stbcnt    int64
-       Tai       int32
-       _         [44]byte
-}
-
-type Time_t int64
-
-type Tms struct {
-       Utime  int64
-       Stime  int64
-       Cutime int64
-       Cstime int64
-}
-
-type Utimbuf struct {
-       Actime  int64
-       Modtime int64
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev     uint64
-       Ino     uint64
-       Nlink   uint64
-       Mode    uint32
-       Uid     uint32
-       Gid     uint32
-       _       int32
-       Rdev    uint64
-       Size    int64
-       Atim    Timespec
-       Mtim    Timespec
-       Ctim    Timespec
-       Blksize int64
-       Blocks  int64
-       _       [3]int64
-}
-
-type Statfs_t struct {
-       Type    uint32
-       Bsize   uint32
-       Blocks  uint64
-       Bfree   uint64
-       Bavail  uint64
-       Files   uint64
-       Ffree   uint64
-       Fsid    Fsid
-       Namelen uint32
-       Frsize  uint32
-       Flags   uint32
-       Spare   [4]uint32
-       _       [4]byte
-}
-
-type Dirent struct {
-       Ino    uint64
-       Off    int64
-       Reclen uint16
-       Type   uint8
-       Name   [256]int8
-       _      [5]byte
-}
-
-type Fsid struct {
-       _ [2]int32
-}
-
-type Flock_t struct {
-       Type   int16
-       Whence int16
-       _      [4]byte
-       Start  int64
-       Len    int64
-       Pid    int32
-       _      [4]byte
-}
-
-type FscryptPolicy struct {
-       Version                   uint8
-       Contents_encryption_mode  uint8
-       Filenames_encryption_mode uint8
-       Flags                     uint8
-       Master_key_descriptor     [8]uint8
-}
-
-type FscryptKey struct {
-       Mode uint32
-       Raw  [64]uint8
-       Size uint32
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x6
-       FADV_NOREUSE    = 0x7
-)
-
-type RawSockaddrInet4 struct {
-       Family uint16
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]uint8
-}
-
-type RawSockaddrInet6 struct {
-       Family   uint16
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Family uint16
-       Path   [108]int8
-}
-
-type RawSockaddrLinklayer struct {
-       Family   uint16
-       Protocol uint16
-       Ifindex  int32
-       Hatype   uint16
-       Pkttype  uint8
-       Halen    uint8
-       Addr     [8]uint8
-}
-
-type RawSockaddrNetlink struct {
-       Family uint16
-       Pad    uint16
-       Pid    uint32
-       Groups uint32
-}
-
-type RawSockaddrHCI struct {
-       Family  uint16
-       Dev     uint16
-       Channel uint16
-}
-
-type RawSockaddrCAN struct {
-       Family  uint16
-       _       [2]byte
-       Ifindex int32
-       Addr    [8]byte
-}
-
-type RawSockaddrALG struct {
-       Family uint16
-       Type   [14]uint8
-       Feat   uint32
-       Mask   uint32
-       Name   [64]uint8
-}
-
-type RawSockaddrVM struct {
-       Family    uint16
-       Reserved1 uint16
-       Port      uint32
-       Cid       uint32
-       Zero      [4]uint8
-}
-
-type RawSockaddr struct {
-       Family uint16
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [96]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       _          [4]byte
-       Iov        *Iovec
-       Iovlen     uint64
-       Control    *byte
-       Controllen uint64
-       Flags      int32
-       _          [4]byte
-}
-
-type Cmsghdr struct {
-       Len   uint64
-       Level int32
-       Type  int32
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  int32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Data [8]uint32
-}
-
-type Ucred struct {
-       Pid int32
-       Uid uint32
-       Gid uint32
-}
-
-type TCPInfo struct {
-       State          uint8
-       Ca_state       uint8
-       Retransmits    uint8
-       Probes         uint8
-       Backoff        uint8
-       Options        uint8
-       _              [2]byte
-       Rto            uint32
-       Ato            uint32
-       Snd_mss        uint32
-       Rcv_mss        uint32
-       Unacked        uint32
-       Sacked         uint32
-       Lost           uint32
-       Retrans        uint32
-       Fackets        uint32
-       Last_data_sent uint32
-       Last_ack_sent  uint32
-       Last_data_recv uint32
-       Last_ack_recv  uint32
-       Pmtu           uint32
-       Rcv_ssthresh   uint32
-       Rtt            uint32
-       Rttvar         uint32
-       Snd_ssthresh   uint32
-       Snd_cwnd       uint32
-       Advmss         uint32
-       Reordering     uint32
-       Rcv_rtt        uint32
-       Rcv_space      uint32
-       Total_retrans  uint32
-}
-
-const (
-       SizeofSockaddrInet4     = 0x10
-       SizeofSockaddrInet6     = 0x1c
-       SizeofSockaddrAny       = 0x70
-       SizeofSockaddrUnix      = 0x6e
-       SizeofSockaddrLinklayer = 0x14
-       SizeofSockaddrNetlink   = 0xc
-       SizeofSockaddrHCI       = 0x6
-       SizeofSockaddrCAN       = 0x10
-       SizeofSockaddrALG       = 0x58
-       SizeofSockaddrVM        = 0x10
-       SizeofLinger            = 0x8
-       SizeofIPMreq            = 0x8
-       SizeofIPMreqn           = 0xc
-       SizeofIPv6Mreq          = 0x14
-       SizeofMsghdr            = 0x38
-       SizeofCmsghdr           = 0x10
-       SizeofInet4Pktinfo      = 0xc
-       SizeofInet6Pktinfo      = 0x14
-       SizeofIPv6MTUInfo       = 0x20
-       SizeofICMPv6Filter      = 0x20
-       SizeofUcred             = 0xc
-       SizeofTCPInfo           = 0x68
-)
-
-const (
-       IFA_UNSPEC          = 0x0
-       IFA_ADDRESS         = 0x1
-       IFA_LOCAL           = 0x2
-       IFA_LABEL           = 0x3
-       IFA_BROADCAST       = 0x4
-       IFA_ANYCAST         = 0x5
-       IFA_CACHEINFO       = 0x6
-       IFA_MULTICAST       = 0x7
-       IFLA_UNSPEC         = 0x0
-       IFLA_ADDRESS        = 0x1
-       IFLA_BROADCAST      = 0x2
-       IFLA_IFNAME         = 0x3
-       IFLA_MTU            = 0x4
-       IFLA_LINK           = 0x5
-       IFLA_QDISC          = 0x6
-       IFLA_STATS          = 0x7
-       IFLA_COST           = 0x8
-       IFLA_PRIORITY       = 0x9
-       IFLA_MASTER         = 0xa
-       IFLA_WIRELESS       = 0xb
-       IFLA_PROTINFO       = 0xc
-       IFLA_TXQLEN         = 0xd
-       IFLA_MAP            = 0xe
-       IFLA_WEIGHT         = 0xf
-       IFLA_OPERSTATE      = 0x10
-       IFLA_LINKMODE       = 0x11
-       IFLA_LINKINFO       = 0x12
-       IFLA_NET_NS_PID     = 0x13
-       IFLA_IFALIAS        = 0x14
-       IFLA_MAX            = 0x2b
-       RT_SCOPE_UNIVERSE   = 0x0
-       RT_SCOPE_SITE       = 0xc8
-       RT_SCOPE_LINK       = 0xfd
-       RT_SCOPE_HOST       = 0xfe
-       RT_SCOPE_NOWHERE    = 0xff
-       RT_TABLE_UNSPEC     = 0x0
-       RT_TABLE_COMPAT     = 0xfc
-       RT_TABLE_DEFAULT    = 0xfd
-       RT_TABLE_MAIN       = 0xfe
-       RT_TABLE_LOCAL      = 0xff
-       RT_TABLE_MAX        = 0xffffffff
-       RTA_UNSPEC          = 0x0
-       RTA_DST             = 0x1
-       RTA_SRC             = 0x2
-       RTA_IIF             = 0x3
-       RTA_OIF             = 0x4
-       RTA_GATEWAY         = 0x5
-       RTA_PRIORITY        = 0x6
-       RTA_PREFSRC         = 0x7
-       RTA_METRICS         = 0x8
-       RTA_MULTIPATH       = 0x9
-       RTA_FLOW            = 0xb
-       RTA_CACHEINFO       = 0xc
-       RTA_TABLE           = 0xf
-       RTN_UNSPEC          = 0x0
-       RTN_UNICAST         = 0x1
-       RTN_LOCAL           = 0x2
-       RTN_BROADCAST       = 0x3
-       RTN_ANYCAST         = 0x4
-       RTN_MULTICAST       = 0x5
-       RTN_BLACKHOLE       = 0x6
-       RTN_UNREACHABLE     = 0x7
-       RTN_PROHIBIT        = 0x8
-       RTN_THROW           = 0x9
-       RTN_NAT             = 0xa
-       RTN_XRESOLVE        = 0xb
-       RTNLGRP_NONE        = 0x0
-       RTNLGRP_LINK        = 0x1
-       RTNLGRP_NOTIFY      = 0x2
-       RTNLGRP_NEIGH       = 0x3
-       RTNLGRP_TC          = 0x4
-       RTNLGRP_IPV4_IFADDR = 0x5
-       RTNLGRP_IPV4_MROUTE = 0x6
-       RTNLGRP_IPV4_ROUTE  = 0x7
-       RTNLGRP_IPV4_RULE   = 0x8
-       RTNLGRP_IPV6_IFADDR = 0x9
-       RTNLGRP_IPV6_MROUTE = 0xa
-       RTNLGRP_IPV6_ROUTE  = 0xb
-       RTNLGRP_IPV6_IFINFO = 0xc
-       RTNLGRP_IPV6_PREFIX = 0x12
-       RTNLGRP_IPV6_RULE   = 0x13
-       RTNLGRP_ND_USEROPT  = 0x14
-       SizeofNlMsghdr      = 0x10
-       SizeofNlMsgerr      = 0x14
-       SizeofRtGenmsg      = 0x1
-       SizeofNlAttr        = 0x4
-       SizeofRtAttr        = 0x4
-       SizeofIfInfomsg     = 0x10
-       SizeofIfAddrmsg     = 0x8
-       SizeofRtMsg         = 0xc
-       SizeofRtNexthop     = 0x8
-)
-
-type NlMsghdr struct {
-       Len   uint32
-       Type  uint16
-       Flags uint16
-       Seq   uint32
-       Pid   uint32
-}
-
-type NlMsgerr struct {
-       Error int32
-       Msg   NlMsghdr
-}
-
-type RtGenmsg struct {
-       Family uint8
-}
-
-type NlAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type RtAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type IfInfomsg struct {
-       Family uint8
-       _      uint8
-       Type   uint16
-       Index  int32
-       Flags  uint32
-       Change uint32
-}
-
-type IfAddrmsg struct {
-       Family    uint8
-       Prefixlen uint8
-       Flags     uint8
-       Scope     uint8
-       Index     uint32
-}
-
-type RtMsg struct {
-       Family   uint8
-       Dst_len  uint8
-       Src_len  uint8
-       Tos      uint8
-       Table    uint8
-       Protocol uint8
-       Scope    uint8
-       Type     uint8
-       Flags    uint32
-}
-
-type RtNexthop struct {
-       Len     uint16
-       Flags   uint8
-       Hops    uint8
-       Ifindex int32
-}
-
-const (
-       SizeofSockFilter = 0x8
-       SizeofSockFprog  = 0x10
-)
-
-type SockFilter struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type SockFprog struct {
-       Len    uint16
-       _      [6]byte
-       Filter *SockFilter
-}
-
-type InotifyEvent struct {
-       Wd     int32
-       Mask   uint32
-       Cookie uint32
-       Len    uint32
-}
-
-const SizeofInotifyEvent = 0x10
-
-type PtraceRegs struct {
-       Psw                      PtracePsw
-       Gprs                     [16]uint64
-       Acrs                     [16]uint32
-       Orig_gpr2                uint64
-       Fp_regs                  PtraceFpregs
-       Per_info                 PtracePer
-       Ieee_instruction_pointer uint64
-}
-
-type PtracePsw struct {
-       Mask uint64
-       Addr uint64
-}
-
-type PtraceFpregs struct {
-       Fpc  uint32
-       _    [4]byte
-       Fprs [16]float64
-}
-
-type PtracePer struct {
-       _             [0]uint64
-       _             [24]byte
-       _             [8]byte
-       Starting_addr uint64
-       Ending_addr   uint64
-       Perc_atmid    uint16
-       _             [6]byte
-       Address       uint64
-       Access_id     uint8
-       _             [7]byte
-}
-
-type FdSet struct {
-       Bits [16]int64
-}
-
-type Sysinfo_t struct {
-       Uptime    int64
-       Loads     [3]uint64
-       Totalram  uint64
-       Freeram   uint64
-       Sharedram uint64
-       Bufferram uint64
-       Totalswap uint64
-       Freeswap  uint64
-       Procs     uint16
-       Pad       uint16
-       _         [4]byte
-       Totalhigh uint64
-       Freehigh  uint64
-       Unit      uint32
-       _         [0]int8
-       _         [4]byte
-}
-
-type Utsname struct {
-       Sysname    [65]int8
-       Nodename   [65]int8
-       Release    [65]int8
-       Version    [65]int8
-       Machine    [65]int8
-       Domainname [65]int8
-}
-
-type Ustat_t struct {
-       Tfree  int32
-       _      [4]byte
-       Tinode uint64
-       Fname  [6]int8
-       Fpack  [6]int8
-       _      [4]byte
-}
-
-type EpollEvent struct {
-       Events uint32
-       _      int32
-       Fd     int32
-       Pad    int32
-}
-
-const (
-       AT_FDCWD            = -0x64
-       AT_REMOVEDIR        = 0x200
-       AT_SYMLINK_FOLLOW   = 0x400
-       AT_SYMLINK_NOFOLLOW = 0x100
-)
-
-type PollFd struct {
-       Fd      int32
-       Events  int16
-       Revents int16
-}
-
-const (
-       POLLIN    = 0x1
-       POLLPRI   = 0x2
-       POLLOUT   = 0x4
-       POLLRDHUP = 0x2000
-       POLLERR   = 0x8
-       POLLHUP   = 0x10
-       POLLNVAL  = 0x20
-)
-
-type Sigset_t struct {
-       _ [16]uint64
-}
-
-const _SC_PAGESIZE = 0x1e
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Line   uint8
-       Cc     [19]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go
deleted file mode 100644 (file)
index 22bdab9..0000000
+++ /dev/null
@@ -1,666 +0,0 @@
-// +build sparc64,linux
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_linux.go | go run mkpost.go
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-       PathMax        = 0x1000
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec       int64
-       Usec      int32
-       Pad_cgo_0 [4]byte
-}
-
-type Timex struct {
-       Modes     uint32
-       Pad_cgo_0 [4]byte
-       Offset    int64
-       Freq      int64
-       Maxerror  int64
-       Esterror  int64
-       Status    int32
-       Pad_cgo_1 [4]byte
-       Constant  int64
-       Precision int64
-       Tolerance int64
-       Time      Timeval
-       Tick      int64
-       Ppsfreq   int64
-       Jitter    int64
-       Shift     int32
-       Pad_cgo_2 [4]byte
-       Stabil    int64
-       Jitcnt    int64
-       Calcnt    int64
-       Errcnt    int64
-       Stbcnt    int64
-       Tai       int32
-       Pad_cgo_3 [44]byte
-}
-
-type Time_t int64
-
-type Tms struct {
-       Utime  int64
-       Stime  int64
-       Cutime int64
-       Cstime int64
-}
-
-type Utimbuf struct {
-       Actime  int64
-       Modtime int64
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev                uint64
-       X__pad1            uint16
-       Pad_cgo_0          [6]byte
-       Ino                uint64
-       Mode               uint32
-       Nlink              uint32
-       Uid                uint32
-       Gid                uint32
-       Rdev               uint64
-       X__pad2            uint16
-       Pad_cgo_1          [6]byte
-       Size               int64
-       Blksize            int64
-       Blocks             int64
-       Atim               Timespec
-       Mtim               Timespec
-       Ctim               Timespec
-       X__glibc_reserved4 uint64
-       X__glibc_reserved5 uint64
-}
-
-type Statfs_t struct {
-       Type    int64
-       Bsize   int64
-       Blocks  uint64
-       Bfree   uint64
-       Bavail  uint64
-       Files   uint64
-       Ffree   uint64
-       Fsid    Fsid
-       Namelen int64
-       Frsize  int64
-       Flags   int64
-       Spare   [4]int64
-}
-
-type Dirent struct {
-       Ino       uint64
-       Off       int64
-       Reclen    uint16
-       Type      uint8
-       Name      [256]int8
-       Pad_cgo_0 [5]byte
-}
-
-type Fsid struct {
-       X__val [2]int32
-}
-
-type Flock_t struct {
-       Type              int16
-       Whence            int16
-       Pad_cgo_0         [4]byte
-       Start             int64
-       Len               int64
-       Pid               int32
-       X__glibc_reserved int16
-       Pad_cgo_1         [2]byte
-}
-
-const (
-       FADV_NORMAL     = 0x0
-       FADV_RANDOM     = 0x1
-       FADV_SEQUENTIAL = 0x2
-       FADV_WILLNEED   = 0x3
-       FADV_DONTNEED   = 0x4
-       FADV_NOREUSE    = 0x5
-)
-
-type RawSockaddrInet4 struct {
-       Family uint16
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]uint8
-}
-
-type RawSockaddrInet6 struct {
-       Family   uint16
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Family uint16
-       Path   [108]int8
-}
-
-type RawSockaddrLinklayer struct {
-       Family   uint16
-       Protocol uint16
-       Ifindex  int32
-       Hatype   uint16
-       Pkttype  uint8
-       Halen    uint8
-       Addr     [8]uint8
-}
-
-type RawSockaddrNetlink struct {
-       Family uint16
-       Pad    uint16
-       Pid    uint32
-       Groups uint32
-}
-
-type RawSockaddrHCI struct {
-       Family  uint16
-       Dev     uint16
-       Channel uint16
-}
-
-type RawSockaddrCAN struct {
-       Family    uint16
-       Pad_cgo_0 [2]byte
-       Ifindex   int32
-       Addr      [8]byte
-}
-
-type RawSockaddrALG struct {
-       Family uint16
-       Type   [14]uint8
-       Feat   uint32
-       Mask   uint32
-       Name   [64]uint8
-}
-
-type RawSockaddrVM struct {
-       Family    uint16
-       Reserved1 uint16
-       Port      uint32
-       Cid       uint32
-       Zero      [4]uint8
-}
-
-type RawSockaddr struct {
-       Family uint16
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [96]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPMreqn struct {
-       Multiaddr [4]byte /* in_addr */
-       Address   [4]byte /* in_addr */
-       Ifindex   int32
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     uint64
-       Control    *byte
-       Controllen uint64
-       Flags      int32
-       Pad_cgo_1  [4]byte
-}
-
-type Cmsghdr struct {
-       Len   uint64
-       Level int32
-       Type  int32
-}
-
-type Inet4Pktinfo struct {
-       Ifindex  int32
-       Spec_dst [4]byte /* in_addr */
-       Addr     [4]byte /* in_addr */
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Data [8]uint32
-}
-
-type Ucred struct {
-       Pid int32
-       Uid uint32
-       Gid uint32
-}
-
-type TCPInfo struct {
-       State          uint8
-       Ca_state       uint8
-       Retransmits    uint8
-       Probes         uint8
-       Backoff        uint8
-       Options        uint8
-       Pad_cgo_0      [2]byte
-       Rto            uint32
-       Ato            uint32
-       Snd_mss        uint32
-       Rcv_mss        uint32
-       Unacked        uint32
-       Sacked         uint32
-       Lost           uint32
-       Retrans        uint32
-       Fackets        uint32
-       Last_data_sent uint32
-       Last_ack_sent  uint32
-       Last_data_recv uint32
-       Last_ack_recv  uint32
-       Pmtu           uint32
-       Rcv_ssthresh   uint32
-       Rtt            uint32
-       Rttvar         uint32
-       Snd_ssthresh   uint32
-       Snd_cwnd       uint32
-       Advmss         uint32
-       Reordering     uint32
-       Rcv_rtt        uint32
-       Rcv_space      uint32
-       Total_retrans  uint32
-}
-
-const (
-       SizeofSockaddrInet4     = 0x10
-       SizeofSockaddrInet6     = 0x1c
-       SizeofSockaddrAny       = 0x70
-       SizeofSockaddrUnix      = 0x6e
-       SizeofSockaddrLinklayer = 0x14
-       SizeofSockaddrNetlink   = 0xc
-       SizeofSockaddrHCI       = 0x6
-       SizeofSockaddrCAN       = 0x10
-       SizeofSockaddrALG       = 0x58
-       SizeofSockaddrVM        = 0x10
-       SizeofLinger            = 0x8
-       SizeofIPMreq            = 0x8
-       SizeofIPMreqn           = 0xc
-       SizeofIPv6Mreq          = 0x14
-       SizeofMsghdr            = 0x38
-       SizeofCmsghdr           = 0x10
-       SizeofInet4Pktinfo      = 0xc
-       SizeofInet6Pktinfo      = 0x14
-       SizeofIPv6MTUInfo       = 0x20
-       SizeofICMPv6Filter      = 0x20
-       SizeofUcred             = 0xc
-       SizeofTCPInfo           = 0x68
-)
-
-const (
-       IFA_UNSPEC          = 0x0
-       IFA_ADDRESS         = 0x1
-       IFA_LOCAL           = 0x2
-       IFA_LABEL           = 0x3
-       IFA_BROADCAST       = 0x4
-       IFA_ANYCAST         = 0x5
-       IFA_CACHEINFO       = 0x6
-       IFA_MULTICAST       = 0x7
-       IFLA_UNSPEC         = 0x0
-       IFLA_ADDRESS        = 0x1
-       IFLA_BROADCAST      = 0x2
-       IFLA_IFNAME         = 0x3
-       IFLA_MTU            = 0x4
-       IFLA_LINK           = 0x5
-       IFLA_QDISC          = 0x6
-       IFLA_STATS          = 0x7
-       IFLA_COST           = 0x8
-       IFLA_PRIORITY       = 0x9
-       IFLA_MASTER         = 0xa
-       IFLA_WIRELESS       = 0xb
-       IFLA_PROTINFO       = 0xc
-       IFLA_TXQLEN         = 0xd
-       IFLA_MAP            = 0xe
-       IFLA_WEIGHT         = 0xf
-       IFLA_OPERSTATE      = 0x10
-       IFLA_LINKMODE       = 0x11
-       IFLA_LINKINFO       = 0x12
-       IFLA_NET_NS_PID     = 0x13
-       IFLA_IFALIAS        = 0x14
-       IFLA_MAX            = 0x2a
-       RT_SCOPE_UNIVERSE   = 0x0
-       RT_SCOPE_SITE       = 0xc8
-       RT_SCOPE_LINK       = 0xfd
-       RT_SCOPE_HOST       = 0xfe
-       RT_SCOPE_NOWHERE    = 0xff
-       RT_TABLE_UNSPEC     = 0x0
-       RT_TABLE_COMPAT     = 0xfc
-       RT_TABLE_DEFAULT    = 0xfd
-       RT_TABLE_MAIN       = 0xfe
-       RT_TABLE_LOCAL      = 0xff
-       RT_TABLE_MAX        = 0xffffffff
-       RTA_UNSPEC          = 0x0
-       RTA_DST             = 0x1
-       RTA_SRC             = 0x2
-       RTA_IIF             = 0x3
-       RTA_OIF             = 0x4
-       RTA_GATEWAY         = 0x5
-       RTA_PRIORITY        = 0x6
-       RTA_PREFSRC         = 0x7
-       RTA_METRICS         = 0x8
-       RTA_MULTIPATH       = 0x9
-       RTA_FLOW            = 0xb
-       RTA_CACHEINFO       = 0xc
-       RTA_TABLE           = 0xf
-       RTN_UNSPEC          = 0x0
-       RTN_UNICAST         = 0x1
-       RTN_LOCAL           = 0x2
-       RTN_BROADCAST       = 0x3
-       RTN_ANYCAST         = 0x4
-       RTN_MULTICAST       = 0x5
-       RTN_BLACKHOLE       = 0x6
-       RTN_UNREACHABLE     = 0x7
-       RTN_PROHIBIT        = 0x8
-       RTN_THROW           = 0x9
-       RTN_NAT             = 0xa
-       RTN_XRESOLVE        = 0xb
-       RTNLGRP_NONE        = 0x0
-       RTNLGRP_LINK        = 0x1
-       RTNLGRP_NOTIFY      = 0x2
-       RTNLGRP_NEIGH       = 0x3
-       RTNLGRP_TC          = 0x4
-       RTNLGRP_IPV4_IFADDR = 0x5
-       RTNLGRP_IPV4_MROUTE = 0x6
-       RTNLGRP_IPV4_ROUTE  = 0x7
-       RTNLGRP_IPV4_RULE   = 0x8
-       RTNLGRP_IPV6_IFADDR = 0x9
-       RTNLGRP_IPV6_MROUTE = 0xa
-       RTNLGRP_IPV6_ROUTE  = 0xb
-       RTNLGRP_IPV6_IFINFO = 0xc
-       RTNLGRP_IPV6_PREFIX = 0x12
-       RTNLGRP_IPV6_RULE   = 0x13
-       RTNLGRP_ND_USEROPT  = 0x14
-       SizeofNlMsghdr      = 0x10
-       SizeofNlMsgerr      = 0x14
-       SizeofRtGenmsg      = 0x1
-       SizeofNlAttr        = 0x4
-       SizeofRtAttr        = 0x4
-       SizeofIfInfomsg     = 0x10
-       SizeofIfAddrmsg     = 0x8
-       SizeofRtMsg         = 0xc
-       SizeofRtNexthop     = 0x8
-)
-
-type NlMsghdr struct {
-       Len   uint32
-       Type  uint16
-       Flags uint16
-       Seq   uint32
-       Pid   uint32
-}
-
-type NlMsgerr struct {
-       Error int32
-       Msg   NlMsghdr
-}
-
-type RtGenmsg struct {
-       Family uint8
-}
-
-type NlAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type RtAttr struct {
-       Len  uint16
-       Type uint16
-}
-
-type IfInfomsg struct {
-       Family     uint8
-       X__ifi_pad uint8
-       Type       uint16
-       Index      int32
-       Flags      uint32
-       Change     uint32
-}
-
-type IfAddrmsg struct {
-       Family    uint8
-       Prefixlen uint8
-       Flags     uint8
-       Scope     uint8
-       Index     uint32
-}
-
-type RtMsg struct {
-       Family   uint8
-       Dst_len  uint8
-       Src_len  uint8
-       Tos      uint8
-       Table    uint8
-       Protocol uint8
-       Scope    uint8
-       Type     uint8
-       Flags    uint32
-}
-
-type RtNexthop struct {
-       Len     uint16
-       Flags   uint8
-       Hops    uint8
-       Ifindex int32
-}
-
-const (
-       SizeofSockFilter = 0x8
-       SizeofSockFprog  = 0x10
-)
-
-type SockFilter struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type SockFprog struct {
-       Len       uint16
-       Pad_cgo_0 [6]byte
-       Filter    *SockFilter
-}
-
-type InotifyEvent struct {
-       Wd     int32
-       Mask   uint32
-       Cookie uint32
-       Len    uint32
-}
-
-const SizeofInotifyEvent = 0x10
-
-type PtraceRegs struct {
-       Regs   [16]uint64
-       Tstate uint64
-       Tpc    uint64
-       Tnpc   uint64
-       Y      uint32
-       Magic  uint32
-}
-
-type ptracePsw struct {
-}
-
-type ptraceFpregs struct {
-}
-
-type ptracePer struct {
-}
-
-type FdSet struct {
-       Bits [16]int64
-}
-
-type Sysinfo_t struct {
-       Uptime    int64
-       Loads     [3]uint64
-       Totalram  uint64
-       Freeram   uint64
-       Sharedram uint64
-       Bufferram uint64
-       Totalswap uint64
-       Freeswap  uint64
-       Procs     uint16
-       Pad       uint16
-       Pad_cgo_0 [4]byte
-       Totalhigh uint64
-       Freehigh  uint64
-       Unit      uint32
-       X_f       [0]int8
-       Pad_cgo_1 [4]byte
-}
-
-type Utsname struct {
-       Sysname    [65]int8
-       Nodename   [65]int8
-       Release    [65]int8
-       Version    [65]int8
-       Machine    [65]int8
-       Domainname [65]int8
-}
-
-type Ustat_t struct {
-       Tfree     int32
-       Pad_cgo_0 [4]byte
-       Tinode    uint64
-       Fname     [6]int8
-       Fpack     [6]int8
-       Pad_cgo_1 [4]byte
-}
-
-type EpollEvent struct {
-       Events  uint32
-       X_padFd int32
-       Fd      int32
-       Pad     int32
-}
-
-const (
-       AT_FDCWD            = -0x64
-       AT_REMOVEDIR        = 0x200
-       AT_SYMLINK_FOLLOW   = 0x400
-       AT_SYMLINK_NOFOLLOW = 0x100
-)
-
-type PollFd struct {
-       Fd      int32
-       Events  int16
-       Revents int16
-}
-
-const (
-       POLLIN    = 0x1
-       POLLPRI   = 0x2
-       POLLOUT   = 0x4
-       POLLRDHUP = 0x800
-       POLLERR   = 0x8
-       POLLHUP   = 0x10
-       POLLNVAL  = 0x20
-)
-
-type Sigset_t struct {
-       X__val [16]uint64
-}
-
-const _SC_PAGESIZE = 0x1e
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Line   uint8
-       Cc     [19]uint8
-       Ispeed uint32
-       Ospeed uint32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go b/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go
deleted file mode 100644 (file)
index caf755f..0000000
+++ /dev/null
@@ -1,396 +0,0 @@
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_netbsd.go
-
-// +build 386,netbsd
-
-package unix
-
-const (
-       sizeofPtr      = 0x4
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x4
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int32
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int32
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int32
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int32
-       Ixrss    int32
-       Idrss    int32
-       Isrss    int32
-       Minflt   int32
-       Majflt   int32
-       Nswap    int32
-       Inblock  int32
-       Oublock  int32
-       Msgsnd   int32
-       Msgrcv   int32
-       Nsignals int32
-       Nvcsw    int32
-       Nivcsw   int32
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev           uint64
-       Mode          uint32
-       Ino           uint64
-       Nlink         uint32
-       Uid           uint32
-       Gid           uint32
-       Rdev          uint64
-       Atimespec     Timespec
-       Mtimespec     Timespec
-       Ctimespec     Timespec
-       Birthtimespec Timespec
-       Size          int64
-       Blocks        int64
-       Blksize       uint32
-       Flags         uint32
-       Gen           uint32
-       Spare         [2]uint32
-}
-
-type Statfs_t [0]byte
-
-type Flock_t struct {
-       Start  int64
-       Len    int64
-       Pid    int32
-       Type   int16
-       Whence int16
-}
-
-type Dirent struct {
-       Fileno    uint64
-       Reclen    uint16
-       Namlen    uint16
-       Type      uint8
-       Name      [512]int8
-       Pad_cgo_0 [3]byte
-}
-
-type Fsid struct {
-       X__fsid_val [2]int32
-}
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [12]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint32
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Iov        *Iovec
-       Iovlen     int32
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x14
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x1c
-       SizeofCmsghdr          = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident  uint32
-       Filter uint32
-       Flags  uint32
-       Fflags uint32
-       Data   int64
-       Udata  int32
-}
-
-type FdSet struct {
-       Bits [8]uint32
-}
-
-const (
-       SizeofIfMsghdr         = 0x98
-       SizeofIfData           = 0x84
-       SizeofIfaMsghdr        = 0x18
-       SizeofIfAnnounceMsghdr = 0x18
-       SizeofRtMsghdr         = 0x78
-       SizeofRtMetrics        = 0x50
-)
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-       Pad_cgo_1 [4]byte
-}
-
-type IfData struct {
-       Type       uint8
-       Addrlen    uint8
-       Hdrlen     uint8
-       Pad_cgo_0  [1]byte
-       Link_state int32
-       Mtu        uint64
-       Metric     uint64
-       Baudrate   uint64
-       Ipackets   uint64
-       Ierrors    uint64
-       Opackets   uint64
-       Oerrors    uint64
-       Collisions uint64
-       Ibytes     uint64
-       Obytes     uint64
-       Imcasts    uint64
-       Omcasts    uint64
-       Iqdrops    uint64
-       Noproto    uint64
-       Lastchange Timespec
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Metric    int32
-       Index     uint16
-       Pad_cgo_0 [6]byte
-}
-
-type IfAnnounceMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Index   uint16
-       Name    [16]int8
-       What    uint16
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Use       int32
-       Inits     int32
-       Pad_cgo_1 [4]byte
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks    uint64
-       Mtu      uint64
-       Hopcount uint64
-       Recvpipe uint64
-       Sendpipe uint64
-       Ssthresh uint64
-       Rtt      uint64
-       Rttvar   uint64
-       Expire   int64
-       Pksent   int64
-}
-
-type Mclpool [0]byte
-
-const (
-       SizeofBpfVersion = 0x4
-       SizeofBpfStat    = 0x80
-       SizeofBpfProgram = 0x8
-       SizeofBpfInsn    = 0x8
-       SizeofBpfHdr     = 0x14
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv    uint64
-       Drop    uint64
-       Capt    uint64
-       Padding [13]uint64
-}
-
-type BpfProgram struct {
-       Len   uint32
-       Insns *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    BpfTimeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [2]byte
-}
-
-type BpfTimeval struct {
-       Sec  int32
-       Usec int32
-}
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [20]uint8
-       Ispeed int32
-       Ospeed int32
-}
-
-type Sysctlnode struct {
-       Flags           uint32
-       Num             int32
-       Name            [32]int8
-       Ver             uint32
-       X__rsvd         uint32
-       Un              [16]byte
-       X_sysctl_size   [8]byte
-       X_sysctl_func   [8]byte
-       X_sysctl_parent [8]byte
-       X_sysctl_desc   [8]byte
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go
deleted file mode 100644 (file)
index 91b4a53..0000000
+++ /dev/null
@@ -1,403 +0,0 @@
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_netbsd.go
-
-// +build amd64,netbsd
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec       int64
-       Usec      int32
-       Pad_cgo_0 [4]byte
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev           uint64
-       Mode          uint32
-       Pad_cgo_0     [4]byte
-       Ino           uint64
-       Nlink         uint32
-       Uid           uint32
-       Gid           uint32
-       Pad_cgo_1     [4]byte
-       Rdev          uint64
-       Atimespec     Timespec
-       Mtimespec     Timespec
-       Ctimespec     Timespec
-       Birthtimespec Timespec
-       Size          int64
-       Blocks        int64
-       Blksize       uint32
-       Flags         uint32
-       Gen           uint32
-       Spare         [2]uint32
-       Pad_cgo_2     [4]byte
-}
-
-type Statfs_t [0]byte
-
-type Flock_t struct {
-       Start  int64
-       Len    int64
-       Pid    int32
-       Type   int16
-       Whence int16
-}
-
-type Dirent struct {
-       Fileno    uint64
-       Reclen    uint16
-       Namlen    uint16
-       Type      uint8
-       Name      [512]int8
-       Pad_cgo_0 [3]byte
-}
-
-type Fsid struct {
-       X__fsid_val [2]int32
-}
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [12]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     int32
-       Pad_cgo_1  [4]byte
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x14
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x30
-       SizeofCmsghdr          = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident     uint64
-       Filter    uint32
-       Flags     uint32
-       Fflags    uint32
-       Pad_cgo_0 [4]byte
-       Data      int64
-       Udata     int64
-}
-
-type FdSet struct {
-       Bits [8]uint32
-}
-
-const (
-       SizeofIfMsghdr         = 0x98
-       SizeofIfData           = 0x88
-       SizeofIfaMsghdr        = 0x18
-       SizeofIfAnnounceMsghdr = 0x18
-       SizeofRtMsghdr         = 0x78
-       SizeofRtMetrics        = 0x50
-)
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-}
-
-type IfData struct {
-       Type       uint8
-       Addrlen    uint8
-       Hdrlen     uint8
-       Pad_cgo_0  [1]byte
-       Link_state int32
-       Mtu        uint64
-       Metric     uint64
-       Baudrate   uint64
-       Ipackets   uint64
-       Ierrors    uint64
-       Opackets   uint64
-       Oerrors    uint64
-       Collisions uint64
-       Ibytes     uint64
-       Obytes     uint64
-       Imcasts    uint64
-       Omcasts    uint64
-       Iqdrops    uint64
-       Noproto    uint64
-       Lastchange Timespec
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Metric    int32
-       Index     uint16
-       Pad_cgo_0 [6]byte
-}
-
-type IfAnnounceMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Index   uint16
-       Name    [16]int8
-       What    uint16
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Use       int32
-       Inits     int32
-       Pad_cgo_1 [4]byte
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks    uint64
-       Mtu      uint64
-       Hopcount uint64
-       Recvpipe uint64
-       Sendpipe uint64
-       Ssthresh uint64
-       Rtt      uint64
-       Rttvar   uint64
-       Expire   int64
-       Pksent   int64
-}
-
-type Mclpool [0]byte
-
-const (
-       SizeofBpfVersion = 0x4
-       SizeofBpfStat    = 0x80
-       SizeofBpfProgram = 0x10
-       SizeofBpfInsn    = 0x8
-       SizeofBpfHdr     = 0x20
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv    uint64
-       Drop    uint64
-       Capt    uint64
-       Padding [13]uint64
-}
-
-type BpfProgram struct {
-       Len       uint32
-       Pad_cgo_0 [4]byte
-       Insns     *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    BpfTimeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [6]byte
-}
-
-type BpfTimeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [20]uint8
-       Ispeed int32
-       Ospeed int32
-}
-
-type Sysctlnode struct {
-       Flags           uint32
-       Num             int32
-       Name            [32]int8
-       Ver             uint32
-       X__rsvd         uint32
-       Un              [16]byte
-       X_sysctl_size   [8]byte
-       X_sysctl_func   [8]byte
-       X_sysctl_parent [8]byte
-       X_sysctl_desc   [8]byte
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go b/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go
deleted file mode 100644 (file)
index c0758f9..0000000
+++ /dev/null
@@ -1,401 +0,0 @@
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_netbsd.go
-
-// +build arm,netbsd
-
-package unix
-
-const (
-       sizeofPtr      = 0x4
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x4
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int32
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec       int64
-       Nsec      int32
-       Pad_cgo_0 [4]byte
-}
-
-type Timeval struct {
-       Sec       int64
-       Usec      int32
-       Pad_cgo_0 [4]byte
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int32
-       Ixrss    int32
-       Idrss    int32
-       Isrss    int32
-       Minflt   int32
-       Majflt   int32
-       Nswap    int32
-       Inblock  int32
-       Oublock  int32
-       Msgsnd   int32
-       Msgrcv   int32
-       Nsignals int32
-       Nvcsw    int32
-       Nivcsw   int32
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-type Stat_t struct {
-       Dev           uint64
-       Mode          uint32
-       Pad_cgo_0     [4]byte
-       Ino           uint64
-       Nlink         uint32
-       Uid           uint32
-       Gid           uint32
-       Pad_cgo_1     [4]byte
-       Rdev          uint64
-       Atimespec     Timespec
-       Mtimespec     Timespec
-       Ctimespec     Timespec
-       Birthtimespec Timespec
-       Size          int64
-       Blocks        int64
-       Blksize       uint32
-       Flags         uint32
-       Gen           uint32
-       Spare         [2]uint32
-       Pad_cgo_2     [4]byte
-}
-
-type Statfs_t [0]byte
-
-type Flock_t struct {
-       Start  int64
-       Len    int64
-       Pid    int32
-       Type   int16
-       Whence int16
-}
-
-type Dirent struct {
-       Fileno    uint64
-       Reclen    uint16
-       Namlen    uint16
-       Type      uint8
-       Name      [512]int8
-       Pad_cgo_0 [3]byte
-}
-
-type Fsid struct {
-       X__fsid_val [2]int32
-}
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [12]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint32
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Iov        *Iovec
-       Iovlen     int32
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x14
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x1c
-       SizeofCmsghdr          = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident     uint32
-       Filter    uint32
-       Flags     uint32
-       Fflags    uint32
-       Data      int64
-       Udata     int32
-       Pad_cgo_0 [4]byte
-}
-
-type FdSet struct {
-       Bits [8]uint32
-}
-
-const (
-       SizeofIfMsghdr         = 0x98
-       SizeofIfData           = 0x88
-       SizeofIfaMsghdr        = 0x18
-       SizeofIfAnnounceMsghdr = 0x18
-       SizeofRtMsghdr         = 0x78
-       SizeofRtMetrics        = 0x50
-)
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-}
-
-type IfData struct {
-       Type       uint8
-       Addrlen    uint8
-       Hdrlen     uint8
-       Pad_cgo_0  [1]byte
-       Link_state int32
-       Mtu        uint64
-       Metric     uint64
-       Baudrate   uint64
-       Ipackets   uint64
-       Ierrors    uint64
-       Opackets   uint64
-       Oerrors    uint64
-       Collisions uint64
-       Ibytes     uint64
-       Obytes     uint64
-       Imcasts    uint64
-       Omcasts    uint64
-       Iqdrops    uint64
-       Noproto    uint64
-       Lastchange Timespec
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Metric    int32
-       Index     uint16
-       Pad_cgo_0 [6]byte
-}
-
-type IfAnnounceMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Index   uint16
-       Name    [16]int8
-       What    uint16
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Use       int32
-       Inits     int32
-       Pad_cgo_1 [4]byte
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks    uint64
-       Mtu      uint64
-       Hopcount uint64
-       Recvpipe uint64
-       Sendpipe uint64
-       Ssthresh uint64
-       Rtt      uint64
-       Rttvar   uint64
-       Expire   int64
-       Pksent   int64
-}
-
-type Mclpool [0]byte
-
-const (
-       SizeofBpfVersion = 0x4
-       SizeofBpfStat    = 0x80
-       SizeofBpfProgram = 0x8
-       SizeofBpfInsn    = 0x8
-       SizeofBpfHdr     = 0x14
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv    uint64
-       Drop    uint64
-       Capt    uint64
-       Padding [13]uint64
-}
-
-type BpfProgram struct {
-       Len   uint32
-       Insns *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    BpfTimeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [2]byte
-}
-
-type BpfTimeval struct {
-       Sec  int32
-       Usec int32
-}
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [20]uint8
-       Ispeed int32
-       Ospeed int32
-}
-
-type Sysctlnode struct {
-       Flags           uint32
-       Num             int32
-       Name            [32]int8
-       Ver             uint32
-       X__rsvd         uint32
-       Un              [16]byte
-       X_sysctl_size   [8]byte
-       X_sysctl_func   [8]byte
-       X_sysctl_parent [8]byte
-       X_sysctl_desc   [8]byte
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go b/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go
deleted file mode 100644 (file)
index 860a469..0000000
+++ /dev/null
@@ -1,441 +0,0 @@
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_openbsd.go
-
-// +build 386,openbsd
-
-package unix
-
-const (
-       sizeofPtr      = 0x4
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x4
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int32
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int32
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int32
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int32
-       Ixrss    int32
-       Idrss    int32
-       Isrss    int32
-       Minflt   int32
-       Majflt   int32
-       Nswap    int32
-       Inblock  int32
-       Oublock  int32
-       Msgsnd   int32
-       Msgrcv   int32
-       Nsignals int32
-       Nvcsw    int32
-       Nivcsw   int32
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-const (
-       S_IFMT   = 0xf000
-       S_IFIFO  = 0x1000
-       S_IFCHR  = 0x2000
-       S_IFDIR  = 0x4000
-       S_IFBLK  = 0x6000
-       S_IFREG  = 0x8000
-       S_IFLNK  = 0xa000
-       S_IFSOCK = 0xc000
-       S_ISUID  = 0x800
-       S_ISGID  = 0x400
-       S_ISVTX  = 0x200
-       S_IRUSR  = 0x100
-       S_IWUSR  = 0x80
-       S_IXUSR  = 0x40
-)
-
-type Stat_t struct {
-       Mode           uint32
-       Dev            int32
-       Ino            uint64
-       Nlink          uint32
-       Uid            uint32
-       Gid            uint32
-       Rdev           int32
-       Atim           Timespec
-       Mtim           Timespec
-       Ctim           Timespec
-       Size           int64
-       Blocks         int64
-       Blksize        uint32
-       Flags          uint32
-       Gen            uint32
-       X__st_birthtim Timespec
-}
-
-type Statfs_t struct {
-       F_flags       uint32
-       F_bsize       uint32
-       F_iosize      uint32
-       F_blocks      uint64
-       F_bfree       uint64
-       F_bavail      int64
-       F_files       uint64
-       F_ffree       uint64
-       F_favail      int64
-       F_syncwrites  uint64
-       F_syncreads   uint64
-       F_asyncwrites uint64
-       F_asyncreads  uint64
-       F_fsid        Fsid
-       F_namemax     uint32
-       F_owner       uint32
-       F_ctime       uint64
-       F_fstypename  [16]int8
-       F_mntonname   [90]int8
-       F_mntfromname [90]int8
-       F_mntfromspec [90]int8
-       Pad_cgo_0     [2]byte
-       Mount_info    [160]byte
-}
-
-type Flock_t struct {
-       Start  int64
-       Len    int64
-       Pid    int32
-       Type   int16
-       Whence int16
-}
-
-type Dirent struct {
-       Fileno       uint64
-       Off          int64
-       Reclen       uint16
-       Type         uint8
-       Namlen       uint8
-       X__d_padding [4]uint8
-       Name         [256]int8
-}
-
-type Fsid struct {
-       Val [2]int32
-}
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [24]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint32
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Iov        *Iovec
-       Iovlen     uint32
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x20
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x1c
-       SizeofCmsghdr          = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident  uint32
-       Filter int16
-       Flags  uint16
-       Fflags uint32
-       Data   int64
-       Udata  *byte
-}
-
-type FdSet struct {
-       Bits [32]uint32
-}
-
-const (
-       SizeofIfMsghdr         = 0xec
-       SizeofIfData           = 0xd4
-       SizeofIfaMsghdr        = 0x18
-       SizeofIfAnnounceMsghdr = 0x1a
-       SizeofRtMsghdr         = 0x60
-       SizeofRtMetrics        = 0x38
-)
-
-type IfMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Hdrlen  uint16
-       Index   uint16
-       Tableid uint16
-       Pad1    uint8
-       Pad2    uint8
-       Addrs   int32
-       Flags   int32
-       Xflags  int32
-       Data    IfData
-}
-
-type IfData struct {
-       Type         uint8
-       Addrlen      uint8
-       Hdrlen       uint8
-       Link_state   uint8
-       Mtu          uint32
-       Metric       uint32
-       Pad          uint32
-       Baudrate     uint64
-       Ipackets     uint64
-       Ierrors      uint64
-       Opackets     uint64
-       Oerrors      uint64
-       Collisions   uint64
-       Ibytes       uint64
-       Obytes       uint64
-       Imcasts      uint64
-       Omcasts      uint64
-       Iqdrops      uint64
-       Noproto      uint64
-       Capabilities uint32
-       Lastchange   Timeval
-       Mclpool      [7]Mclpool
-}
-
-type IfaMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Hdrlen  uint16
-       Index   uint16
-       Tableid uint16
-       Pad1    uint8
-       Pad2    uint8
-       Addrs   int32
-       Flags   int32
-       Metric  int32
-}
-
-type IfAnnounceMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Hdrlen  uint16
-       Index   uint16
-       What    uint16
-       Name    [16]int8
-}
-
-type RtMsghdr struct {
-       Msglen   uint16
-       Version  uint8
-       Type     uint8
-       Hdrlen   uint16
-       Index    uint16
-       Tableid  uint16
-       Priority uint8
-       Mpls     uint8
-       Addrs    int32
-       Flags    int32
-       Fmask    int32
-       Pid      int32
-       Seq      int32
-       Errno    int32
-       Inits    uint32
-       Rmx      RtMetrics
-}
-
-type RtMetrics struct {
-       Pksent   uint64
-       Expire   int64
-       Locks    uint32
-       Mtu      uint32
-       Refcnt   uint32
-       Hopcount uint32
-       Recvpipe uint32
-       Sendpipe uint32
-       Ssthresh uint32
-       Rtt      uint32
-       Rttvar   uint32
-       Pad      uint32
-}
-
-type Mclpool struct {
-       Grown int32
-       Alive uint16
-       Hwm   uint16
-       Cwm   uint16
-       Lwm   uint16
-}
-
-const (
-       SizeofBpfVersion = 0x4
-       SizeofBpfStat    = 0x8
-       SizeofBpfProgram = 0x8
-       SizeofBpfInsn    = 0x8
-       SizeofBpfHdr     = 0x14
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv uint32
-       Drop uint32
-}
-
-type BpfProgram struct {
-       Len   uint32
-       Insns *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    BpfTimeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [2]byte
-}
-
-type BpfTimeval struct {
-       Sec  uint32
-       Usec uint32
-}
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [20]uint8
-       Ispeed int32
-       Ospeed int32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go
deleted file mode 100644 (file)
index 23c5272..0000000
+++ /dev/null
@@ -1,448 +0,0 @@
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_openbsd.go
-
-// +build amd64,openbsd
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-const (
-       S_IFMT   = 0xf000
-       S_IFIFO  = 0x1000
-       S_IFCHR  = 0x2000
-       S_IFDIR  = 0x4000
-       S_IFBLK  = 0x6000
-       S_IFREG  = 0x8000
-       S_IFLNK  = 0xa000
-       S_IFSOCK = 0xc000
-       S_ISUID  = 0x800
-       S_ISGID  = 0x400
-       S_ISVTX  = 0x200
-       S_IRUSR  = 0x100
-       S_IWUSR  = 0x80
-       S_IXUSR  = 0x40
-)
-
-type Stat_t struct {
-       Mode           uint32
-       Dev            int32
-       Ino            uint64
-       Nlink          uint32
-       Uid            uint32
-       Gid            uint32
-       Rdev           int32
-       Atim           Timespec
-       Mtim           Timespec
-       Ctim           Timespec
-       Size           int64
-       Blocks         int64
-       Blksize        uint32
-       Flags          uint32
-       Gen            uint32
-       Pad_cgo_0      [4]byte
-       X__st_birthtim Timespec
-}
-
-type Statfs_t struct {
-       F_flags       uint32
-       F_bsize       uint32
-       F_iosize      uint32
-       Pad_cgo_0     [4]byte
-       F_blocks      uint64
-       F_bfree       uint64
-       F_bavail      int64
-       F_files       uint64
-       F_ffree       uint64
-       F_favail      int64
-       F_syncwrites  uint64
-       F_syncreads   uint64
-       F_asyncwrites uint64
-       F_asyncreads  uint64
-       F_fsid        Fsid
-       F_namemax     uint32
-       F_owner       uint32
-       F_ctime       uint64
-       F_fstypename  [16]int8
-       F_mntonname   [90]int8
-       F_mntfromname [90]int8
-       F_mntfromspec [90]int8
-       Pad_cgo_1     [2]byte
-       Mount_info    [160]byte
-}
-
-type Flock_t struct {
-       Start  int64
-       Len    int64
-       Pid    int32
-       Type   int16
-       Whence int16
-}
-
-type Dirent struct {
-       Fileno       uint64
-       Off          int64
-       Reclen       uint16
-       Type         uint8
-       Namlen       uint8
-       X__d_padding [4]uint8
-       Name         [256]int8
-}
-
-type Fsid struct {
-       Val [2]int32
-}
-
-type RawSockaddrInet4 struct {
-       Len    uint8
-       Family uint8
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Len      uint8
-       Family   uint8
-       Port     uint16
-       Flowinfo uint32
-       Addr     [16]byte /* in6_addr */
-       Scope_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Len    uint8
-       Family uint8
-       Path   [104]int8
-}
-
-type RawSockaddrDatalink struct {
-       Len    uint8
-       Family uint8
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [24]int8
-}
-
-type RawSockaddr struct {
-       Len    uint8
-       Family uint8
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [92]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *byte
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name       *byte
-       Namelen    uint32
-       Pad_cgo_0  [4]byte
-       Iov        *Iovec
-       Iovlen     uint32
-       Pad_cgo_1  [4]byte
-       Control    *byte
-       Controllen uint32
-       Flags      int32
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       Filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x1c
-       SizeofSockaddrAny      = 0x6c
-       SizeofSockaddrUnix     = 0x6a
-       SizeofSockaddrDatalink = 0x20
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x30
-       SizeofCmsghdr          = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x20
-       SizeofICMPv6Filter     = 0x20
-)
-
-const (
-       PTRACE_TRACEME = 0x0
-       PTRACE_CONT    = 0x7
-       PTRACE_KILL    = 0x8
-)
-
-type Kevent_t struct {
-       Ident  uint64
-       Filter int16
-       Flags  uint16
-       Fflags uint32
-       Data   int64
-       Udata  *byte
-}
-
-type FdSet struct {
-       Bits [32]uint32
-}
-
-const (
-       SizeofIfMsghdr         = 0xf8
-       SizeofIfData           = 0xe0
-       SizeofIfaMsghdr        = 0x18
-       SizeofIfAnnounceMsghdr = 0x1a
-       SizeofRtMsghdr         = 0x60
-       SizeofRtMetrics        = 0x38
-)
-
-type IfMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Hdrlen  uint16
-       Index   uint16
-       Tableid uint16
-       Pad1    uint8
-       Pad2    uint8
-       Addrs   int32
-       Flags   int32
-       Xflags  int32
-       Data    IfData
-}
-
-type IfData struct {
-       Type         uint8
-       Addrlen      uint8
-       Hdrlen       uint8
-       Link_state   uint8
-       Mtu          uint32
-       Metric       uint32
-       Pad          uint32
-       Baudrate     uint64
-       Ipackets     uint64
-       Ierrors      uint64
-       Opackets     uint64
-       Oerrors      uint64
-       Collisions   uint64
-       Ibytes       uint64
-       Obytes       uint64
-       Imcasts      uint64
-       Omcasts      uint64
-       Iqdrops      uint64
-       Noproto      uint64
-       Capabilities uint32
-       Pad_cgo_0    [4]byte
-       Lastchange   Timeval
-       Mclpool      [7]Mclpool
-       Pad_cgo_1    [4]byte
-}
-
-type IfaMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Hdrlen  uint16
-       Index   uint16
-       Tableid uint16
-       Pad1    uint8
-       Pad2    uint8
-       Addrs   int32
-       Flags   int32
-       Metric  int32
-}
-
-type IfAnnounceMsghdr struct {
-       Msglen  uint16
-       Version uint8
-       Type    uint8
-       Hdrlen  uint16
-       Index   uint16
-       What    uint16
-       Name    [16]int8
-}
-
-type RtMsghdr struct {
-       Msglen   uint16
-       Version  uint8
-       Type     uint8
-       Hdrlen   uint16
-       Index    uint16
-       Tableid  uint16
-       Priority uint8
-       Mpls     uint8
-       Addrs    int32
-       Flags    int32
-       Fmask    int32
-       Pid      int32
-       Seq      int32
-       Errno    int32
-       Inits    uint32
-       Rmx      RtMetrics
-}
-
-type RtMetrics struct {
-       Pksent   uint64
-       Expire   int64
-       Locks    uint32
-       Mtu      uint32
-       Refcnt   uint32
-       Hopcount uint32
-       Recvpipe uint32
-       Sendpipe uint32
-       Ssthresh uint32
-       Rtt      uint32
-       Rttvar   uint32
-       Pad      uint32
-}
-
-type Mclpool struct {
-       Grown int32
-       Alive uint16
-       Hwm   uint16
-       Cwm   uint16
-       Lwm   uint16
-}
-
-const (
-       SizeofBpfVersion = 0x4
-       SizeofBpfStat    = 0x8
-       SizeofBpfProgram = 0x10
-       SizeofBpfInsn    = 0x8
-       SizeofBpfHdr     = 0x14
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv uint32
-       Drop uint32
-}
-
-type BpfProgram struct {
-       Len       uint32
-       Pad_cgo_0 [4]byte
-       Insns     *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfHdr struct {
-       Tstamp    BpfTimeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [2]byte
-}
-
-type BpfTimeval struct {
-       Sec  uint32
-       Usec uint32
-}
-
-type Termios struct {
-       Iflag  uint32
-       Oflag  uint32
-       Cflag  uint32
-       Lflag  uint32
-       Cc     [20]uint8
-       Ispeed int32
-       Ospeed int32
-}
diff --git a/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go
deleted file mode 100644 (file)
index 02777e4..0000000
+++ /dev/null
@@ -1,423 +0,0 @@
-// +build amd64,solaris
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_solaris.go | go run mkpost.go
-
-package unix
-
-const (
-       sizeofPtr      = 0x8
-       sizeofShort    = 0x2
-       sizeofInt      = 0x4
-       sizeofLong     = 0x8
-       sizeofLongLong = 0x8
-       PathMax        = 0x400
-       MaxHostNameLen = 0x100
-)
-
-type (
-       _C_short     int16
-       _C_int       int32
-       _C_long      int64
-       _C_long_long int64
-)
-
-type Timespec struct {
-       Sec  int64
-       Nsec int64
-}
-
-type Timeval struct {
-       Sec  int64
-       Usec int64
-}
-
-type Timeval32 struct {
-       Sec  int32
-       Usec int32
-}
-
-type Tms struct {
-       Utime  int64
-       Stime  int64
-       Cutime int64
-       Cstime int64
-}
-
-type Utimbuf struct {
-       Actime  int64
-       Modtime int64
-}
-
-type Rusage struct {
-       Utime    Timeval
-       Stime    Timeval
-       Maxrss   int64
-       Ixrss    int64
-       Idrss    int64
-       Isrss    int64
-       Minflt   int64
-       Majflt   int64
-       Nswap    int64
-       Inblock  int64
-       Oublock  int64
-       Msgsnd   int64
-       Msgrcv   int64
-       Nsignals int64
-       Nvcsw    int64
-       Nivcsw   int64
-}
-
-type Rlimit struct {
-       Cur uint64
-       Max uint64
-}
-
-type _Gid_t uint32
-
-const (
-       S_IFMT   = 0xf000
-       S_IFIFO  = 0x1000
-       S_IFCHR  = 0x2000
-       S_IFDIR  = 0x4000
-       S_IFBLK  = 0x6000
-       S_IFREG  = 0x8000
-       S_IFLNK  = 0xa000
-       S_IFSOCK = 0xc000
-       S_ISUID  = 0x800
-       S_ISGID  = 0x400
-       S_ISVTX  = 0x200
-       S_IRUSR  = 0x100
-       S_IWUSR  = 0x80
-       S_IXUSR  = 0x40
-)
-
-type Stat_t struct {
-       Dev       uint64
-       Ino       uint64
-       Mode      uint32
-       Nlink     uint32
-       Uid       uint32
-       Gid       uint32
-       Rdev      uint64
-       Size      int64
-       Atim      Timespec
-       Mtim      Timespec
-       Ctim      Timespec
-       Blksize   int32
-       Pad_cgo_0 [4]byte
-       Blocks    int64
-       Fstype    [16]int8
-}
-
-type Flock_t struct {
-       Type      int16
-       Whence    int16
-       Pad_cgo_0 [4]byte
-       Start     int64
-       Len       int64
-       Sysid     int32
-       Pid       int32
-       Pad       [4]int64
-}
-
-type Dirent struct {
-       Ino       uint64
-       Off       int64
-       Reclen    uint16
-       Name      [1]int8
-       Pad_cgo_0 [5]byte
-}
-
-type RawSockaddrInet4 struct {
-       Family uint16
-       Port   uint16
-       Addr   [4]byte /* in_addr */
-       Zero   [8]int8
-}
-
-type RawSockaddrInet6 struct {
-       Family         uint16
-       Port           uint16
-       Flowinfo       uint32
-       Addr           [16]byte /* in6_addr */
-       Scope_id       uint32
-       X__sin6_src_id uint32
-}
-
-type RawSockaddrUnix struct {
-       Family uint16
-       Path   [108]int8
-}
-
-type RawSockaddrDatalink struct {
-       Family uint16
-       Index  uint16
-       Type   uint8
-       Nlen   uint8
-       Alen   uint8
-       Slen   uint8
-       Data   [244]int8
-}
-
-type RawSockaddr struct {
-       Family uint16
-       Data   [14]int8
-}
-
-type RawSockaddrAny struct {
-       Addr RawSockaddr
-       Pad  [236]int8
-}
-
-type _Socklen uint32
-
-type Linger struct {
-       Onoff  int32
-       Linger int32
-}
-
-type Iovec struct {
-       Base *int8
-       Len  uint64
-}
-
-type IPMreq struct {
-       Multiaddr [4]byte /* in_addr */
-       Interface [4]byte /* in_addr */
-}
-
-type IPv6Mreq struct {
-       Multiaddr [16]byte /* in6_addr */
-       Interface uint32
-}
-
-type Msghdr struct {
-       Name         *byte
-       Namelen      uint32
-       Pad_cgo_0    [4]byte
-       Iov          *Iovec
-       Iovlen       int32
-       Pad_cgo_1    [4]byte
-       Accrights    *int8
-       Accrightslen int32
-       Pad_cgo_2    [4]byte
-}
-
-type Cmsghdr struct {
-       Len   uint32
-       Level int32
-       Type  int32
-}
-
-type Inet6Pktinfo struct {
-       Addr    [16]byte /* in6_addr */
-       Ifindex uint32
-}
-
-type IPv6MTUInfo struct {
-       Addr RawSockaddrInet6
-       Mtu  uint32
-}
-
-type ICMPv6Filter struct {
-       X__icmp6_filt [8]uint32
-}
-
-const (
-       SizeofSockaddrInet4    = 0x10
-       SizeofSockaddrInet6    = 0x20
-       SizeofSockaddrAny      = 0xfc
-       SizeofSockaddrUnix     = 0x6e
-       SizeofSockaddrDatalink = 0xfc
-       SizeofLinger           = 0x8
-       SizeofIPMreq           = 0x8
-       SizeofIPv6Mreq         = 0x14
-       SizeofMsghdr           = 0x30
-       SizeofCmsghdr          = 0xc
-       SizeofInet6Pktinfo     = 0x14
-       SizeofIPv6MTUInfo      = 0x24
-       SizeofICMPv6Filter     = 0x20
-)
-
-type FdSet struct {
-       Bits [1024]int64
-}
-
-type Utsname struct {
-       Sysname  [257]int8
-       Nodename [257]int8
-       Release  [257]int8
-       Version  [257]int8
-       Machine  [257]int8
-}
-
-type Ustat_t struct {
-       Tfree     int64
-       Tinode    uint64
-       Fname     [6]int8
-       Fpack     [6]int8
-       Pad_cgo_0 [4]byte
-}
-
-const (
-       AT_FDCWD            = 0xffd19553
-       AT_SYMLINK_NOFOLLOW = 0x1000
-       AT_SYMLINK_FOLLOW   = 0x2000
-       AT_REMOVEDIR        = 0x1
-       AT_EACCESS          = 0x4
-)
-
-const (
-       SizeofIfMsghdr  = 0x54
-       SizeofIfData    = 0x44
-       SizeofIfaMsghdr = 0x14
-       SizeofRtMsghdr  = 0x4c
-       SizeofRtMetrics = 0x28
-)
-
-type IfMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Data      IfData
-}
-
-type IfData struct {
-       Type       uint8
-       Addrlen    uint8
-       Hdrlen     uint8
-       Pad_cgo_0  [1]byte
-       Mtu        uint32
-       Metric     uint32
-       Baudrate   uint32
-       Ipackets   uint32
-       Ierrors    uint32
-       Opackets   uint32
-       Oerrors    uint32
-       Collisions uint32
-       Ibytes     uint32
-       Obytes     uint32
-       Imcasts    uint32
-       Omcasts    uint32
-       Iqdrops    uint32
-       Noproto    uint32
-       Lastchange Timeval32
-}
-
-type IfaMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Addrs     int32
-       Flags     int32
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Metric    int32
-}
-
-type RtMsghdr struct {
-       Msglen    uint16
-       Version   uint8
-       Type      uint8
-       Index     uint16
-       Pad_cgo_0 [2]byte
-       Flags     int32
-       Addrs     int32
-       Pid       int32
-       Seq       int32
-       Errno     int32
-       Use       int32
-       Inits     uint32
-       Rmx       RtMetrics
-}
-
-type RtMetrics struct {
-       Locks    uint32
-       Mtu      uint32
-       Hopcount uint32
-       Expire   uint32
-       Recvpipe uint32
-       Sendpipe uint32
-       Ssthresh uint32
-       Rtt      uint32
-       Rttvar   uint32
-       Pksent   uint32
-}
-
-const (
-       SizeofBpfVersion = 0x4
-       SizeofBpfStat    = 0x80
-       SizeofBpfProgram = 0x10
-       SizeofBpfInsn    = 0x8
-       SizeofBpfHdr     = 0x14
-)
-
-type BpfVersion struct {
-       Major uint16
-       Minor uint16
-}
-
-type BpfStat struct {
-       Recv    uint64
-       Drop    uint64
-       Capt    uint64
-       Padding [13]uint64
-}
-
-type BpfProgram struct {
-       Len       uint32
-       Pad_cgo_0 [4]byte
-       Insns     *BpfInsn
-}
-
-type BpfInsn struct {
-       Code uint16
-       Jt   uint8
-       Jf   uint8
-       K    uint32
-}
-
-type BpfTimeval struct {
-       Sec  int32
-       Usec int32
-}
-
-type BpfHdr struct {
-       Tstamp    BpfTimeval
-       Caplen    uint32
-       Datalen   uint32
-       Hdrlen    uint16
-       Pad_cgo_0 [2]byte
-}
-
-const _SC_PAGESIZE = 0xb
-
-type Termios struct {
-       Iflag     uint32
-       Oflag     uint32
-       Cflag     uint32
-       Lflag     uint32
-       Cc        [19]uint8
-       Pad_cgo_0 [1]byte
-}
-
-type Termio struct {
-       Iflag     uint16
-       Oflag     uint16
-       Cflag     uint16
-       Lflag     uint16
-       Line      int8
-       Cc        [8]uint8
-       Pad_cgo_0 [1]byte
-}
-
-type Winsize struct {
-       Row    uint16
-       Col    uint16
-       Xpixel uint16
-       Ypixel uint16
-}
diff --git a/vendor/gopkg.in/yaml.v2/.travis.yml b/vendor/gopkg.in/yaml.v2/.travis.yml
deleted file mode 100644 (file)
index 004172a..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-language: go
-
-go:
-    - 1.4
-    - 1.5
-    - 1.6
-    - tip
-
-go_import_path: gopkg.in/yaml.v2
diff --git a/vendor/gopkg.in/yaml.v2/LICENSE b/vendor/gopkg.in/yaml.v2/LICENSE
deleted file mode 100644 (file)
index 866d74a..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-Copyright 2011-2016 Canonical Ltd.
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
diff --git a/vendor/gopkg.in/yaml.v2/LICENSE.libyaml b/vendor/gopkg.in/yaml.v2/LICENSE.libyaml
deleted file mode 100644 (file)
index 8da58fb..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-The following files were ported to Go from C files of libyaml, and thus
-are still covered by their original copyright and license:
-
-    apic.go
-    emitterc.go
-    parserc.go
-    readerc.go
-    scannerc.go
-    writerc.go
-    yamlh.go
-    yamlprivateh.go
-
-Copyright (c) 2006 Kirill Simonov
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
-so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/vendor/gopkg.in/yaml.v2/README.md b/vendor/gopkg.in/yaml.v2/README.md
deleted file mode 100644 (file)
index 1884de6..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-# YAML support for the Go language
-
-Introduction
-------------
-
-The yaml package enables Go programs to comfortably encode and decode YAML
-values. It was developed within [Canonical](https://www.canonical.com) as
-part of the [juju](https://juju.ubuntu.com) project, and is based on a
-pure Go port of the well-known [libyaml](http://pyyaml.org/wiki/LibYAML)
-C library to parse and generate YAML data quickly and reliably.
-
-Compatibility
--------------
-
-The yaml package supports most of YAML 1.1 and 1.2, including support for
-anchors, tags, map merging, etc. Multi-document unmarshalling is not yet
-implemented, and base-60 floats from YAML 1.1 are purposefully not
-supported since they're a poor design and are gone in YAML 1.2.
-
-Installation and usage
-----------------------
-
-The import path for the package is *gopkg.in/yaml.v2*.
-
-To install it, run:
-
-    go get gopkg.in/yaml.v2
-
-API documentation
------------------
-
-If opened in a browser, the import path itself leads to the API documentation:
-
-  * [https://gopkg.in/yaml.v2](https://gopkg.in/yaml.v2)
-
-API stability
--------------
-
-The package API for yaml v2 will remain stable as described in [gopkg.in](https://gopkg.in).
-
-
-License
--------
-
-The yaml package is licensed under the Apache License 2.0. Please see the LICENSE file for details.
-
-
-Example
--------
-
-```Go
-package main
-
-import (
-        "fmt"
-        "log"
-
-        "gopkg.in/yaml.v2"
-)
-
-var data = `
-a: Easy!
-b:
-  c: 2
-  d: [3, 4]
-`
-
-type T struct {
-        A string
-        B struct {
-                RenamedC int   `yaml:"c"`
-                D        []int `yaml:",flow"`
-        }
-}
-
-func main() {
-        t := T{}
-    
-        err := yaml.Unmarshal([]byte(data), &t)
-        if err != nil {
-                log.Fatalf("error: %v", err)
-        }
-        fmt.Printf("--- t:\n%v\n\n", t)
-    
-        d, err := yaml.Marshal(&t)
-        if err != nil {
-                log.Fatalf("error: %v", err)
-        }
-        fmt.Printf("--- t dump:\n%s\n\n", string(d))
-    
-        m := make(map[interface{}]interface{})
-    
-        err = yaml.Unmarshal([]byte(data), &m)
-        if err != nil {
-                log.Fatalf("error: %v", err)
-        }
-        fmt.Printf("--- m:\n%v\n\n", m)
-    
-        d, err = yaml.Marshal(&m)
-        if err != nil {
-                log.Fatalf("error: %v", err)
-        }
-        fmt.Printf("--- m dump:\n%s\n\n", string(d))
-}
-```
-
-This example will generate the following output:
-
-```
---- t:
-{Easy! {2 [3 4]}}
-
---- t dump:
-a: Easy!
-b:
-  c: 2
-  d: [3, 4]
-
-
---- m:
-map[a:Easy! b:map[c:2 d:[3 4]]]
-
---- m dump:
-a: Easy!
-b:
-  c: 2
-  d:
-  - 3
-  - 4
-```
-
diff --git a/vendor/gopkg.in/yaml.v2/apic.go b/vendor/gopkg.in/yaml.v2/apic.go
deleted file mode 100644 (file)
index 95ec014..0000000
+++ /dev/null
@@ -1,742 +0,0 @@
-package yaml
-
-import (
-       "io"
-       "os"
-)
-
-func yaml_insert_token(parser *yaml_parser_t, pos int, token *yaml_token_t) {
-       //fmt.Println("yaml_insert_token", "pos:", pos, "typ:", token.typ, "head:", parser.tokens_head, "len:", len(parser.tokens))
-
-       // Check if we can move the queue at the beginning of the buffer.
-       if parser.tokens_head > 0 && len(parser.tokens) == cap(parser.tokens) {
-               if parser.tokens_head != len(parser.tokens) {
-                       copy(parser.tokens, parser.tokens[parser.tokens_head:])
-               }
-               parser.tokens = parser.tokens[:len(parser.tokens)-parser.tokens_head]
-               parser.tokens_head = 0
-       }
-       parser.tokens = append(parser.tokens, *token)
-       if pos < 0 {
-               return
-       }
-       copy(parser.tokens[parser.tokens_head+pos+1:], parser.tokens[parser.tokens_head+pos:])
-       parser.tokens[parser.tokens_head+pos] = *token
-}
-
-// Create a new parser object.
-func yaml_parser_initialize(parser *yaml_parser_t) bool {
-       *parser = yaml_parser_t{
-               raw_buffer: make([]byte, 0, input_raw_buffer_size),
-               buffer:     make([]byte, 0, input_buffer_size),
-       }
-       return true
-}
-
-// Destroy a parser object.
-func yaml_parser_delete(parser *yaml_parser_t) {
-       *parser = yaml_parser_t{}
-}
-
-// String read handler.
-func yaml_string_read_handler(parser *yaml_parser_t, buffer []byte) (n int, err error) {
-       if parser.input_pos == len(parser.input) {
-               return 0, io.EOF
-       }
-       n = copy(buffer, parser.input[parser.input_pos:])
-       parser.input_pos += n
-       return n, nil
-}
-
-// File read handler.
-func yaml_file_read_handler(parser *yaml_parser_t, buffer []byte) (n int, err error) {
-       return parser.input_file.Read(buffer)
-}
-
-// Set a string input.
-func yaml_parser_set_input_string(parser *yaml_parser_t, input []byte) {
-       if parser.read_handler != nil {
-               panic("must set the input source only once")
-       }
-       parser.read_handler = yaml_string_read_handler
-       parser.input = input
-       parser.input_pos = 0
-}
-
-// Set a file input.
-func yaml_parser_set_input_file(parser *yaml_parser_t, file *os.File) {
-       if parser.read_handler != nil {
-               panic("must set the input source only once")
-       }
-       parser.read_handler = yaml_file_read_handler
-       parser.input_file = file
-}
-
-// Set the source encoding.
-func yaml_parser_set_encoding(parser *yaml_parser_t, encoding yaml_encoding_t) {
-       if parser.encoding != yaml_ANY_ENCODING {
-               panic("must set the encoding only once")
-       }
-       parser.encoding = encoding
-}
-
-// Create a new emitter object.
-func yaml_emitter_initialize(emitter *yaml_emitter_t) bool {
-       *emitter = yaml_emitter_t{
-               buffer:     make([]byte, output_buffer_size),
-               raw_buffer: make([]byte, 0, output_raw_buffer_size),
-               states:     make([]yaml_emitter_state_t, 0, initial_stack_size),
-               events:     make([]yaml_event_t, 0, initial_queue_size),
-       }
-       return true
-}
-
-// Destroy an emitter object.
-func yaml_emitter_delete(emitter *yaml_emitter_t) {
-       *emitter = yaml_emitter_t{}
-}
-
-// String write handler.
-func yaml_string_write_handler(emitter *yaml_emitter_t, buffer []byte) error {
-       *emitter.output_buffer = append(*emitter.output_buffer, buffer...)
-       return nil
-}
-
-// File write handler.
-func yaml_file_write_handler(emitter *yaml_emitter_t, buffer []byte) error {
-       _, err := emitter.output_file.Write(buffer)
-       return err
-}
-
-// Set a string output.
-func yaml_emitter_set_output_string(emitter *yaml_emitter_t, output_buffer *[]byte) {
-       if emitter.write_handler != nil {
-               panic("must set the output target only once")
-       }
-       emitter.write_handler = yaml_string_write_handler
-       emitter.output_buffer = output_buffer
-}
-
-// Set a file output.
-func yaml_emitter_set_output_file(emitter *yaml_emitter_t, file io.Writer) {
-       if emitter.write_handler != nil {
-               panic("must set the output target only once")
-       }
-       emitter.write_handler = yaml_file_write_handler
-       emitter.output_file = file
-}
-
-// Set the output encoding.
-func yaml_emitter_set_encoding(emitter *yaml_emitter_t, encoding yaml_encoding_t) {
-       if emitter.encoding != yaml_ANY_ENCODING {
-               panic("must set the output encoding only once")
-       }
-       emitter.encoding = encoding
-}
-
-// Set the canonical output style.
-func yaml_emitter_set_canonical(emitter *yaml_emitter_t, canonical bool) {
-       emitter.canonical = canonical
-}
-
-//// Set the indentation increment.
-func yaml_emitter_set_indent(emitter *yaml_emitter_t, indent int) {
-       if indent < 2 || indent > 9 {
-               indent = 2
-       }
-       emitter.best_indent = indent
-}
-
-// Set the preferred line width.
-func yaml_emitter_set_width(emitter *yaml_emitter_t, width int) {
-       if width < 0 {
-               width = -1
-       }
-       emitter.best_width = width
-}
-
-// Set if unescaped non-ASCII characters are allowed.
-func yaml_emitter_set_unicode(emitter *yaml_emitter_t, unicode bool) {
-       emitter.unicode = unicode
-}
-
-// Set the preferred line break character.
-func yaml_emitter_set_break(emitter *yaml_emitter_t, line_break yaml_break_t) {
-       emitter.line_break = line_break
-}
-
-///*
-// * Destroy a token object.
-// */
-//
-//YAML_DECLARE(void)
-//yaml_token_delete(yaml_token_t *token)
-//{
-//    assert(token);  // Non-NULL token object expected.
-//
-//    switch (token.type)
-//    {
-//        case YAML_TAG_DIRECTIVE_TOKEN:
-//            yaml_free(token.data.tag_directive.handle);
-//            yaml_free(token.data.tag_directive.prefix);
-//            break;
-//
-//        case YAML_ALIAS_TOKEN:
-//            yaml_free(token.data.alias.value);
-//            break;
-//
-//        case YAML_ANCHOR_TOKEN:
-//            yaml_free(token.data.anchor.value);
-//            break;
-//
-//        case YAML_TAG_TOKEN:
-//            yaml_free(token.data.tag.handle);
-//            yaml_free(token.data.tag.suffix);
-//            break;
-//
-//        case YAML_SCALAR_TOKEN:
-//            yaml_free(token.data.scalar.value);
-//            break;
-//
-//        default:
-//            break;
-//    }
-//
-//    memset(token, 0, sizeof(yaml_token_t));
-//}
-//
-///*
-// * Check if a string is a valid UTF-8 sequence.
-// *
-// * Check 'reader.c' for more details on UTF-8 encoding.
-// */
-//
-//static int
-//yaml_check_utf8(yaml_char_t *start, size_t length)
-//{
-//    yaml_char_t *end = start+length;
-//    yaml_char_t *pointer = start;
-//
-//    while (pointer < end) {
-//        unsigned char octet;
-//        unsigned int width;
-//        unsigned int value;
-//        size_t k;
-//
-//        octet = pointer[0];
-//        width = (octet & 0x80) == 0x00 ? 1 :
-//                (octet & 0xE0) == 0xC0 ? 2 :
-//                (octet & 0xF0) == 0xE0 ? 3 :
-//                (octet & 0xF8) == 0xF0 ? 4 : 0;
-//        value = (octet & 0x80) == 0x00 ? octet & 0x7F :
-//                (octet & 0xE0) == 0xC0 ? octet & 0x1F :
-//                (octet & 0xF0) == 0xE0 ? octet & 0x0F :
-//                (octet & 0xF8) == 0xF0 ? octet & 0x07 : 0;
-//        if (!width) return 0;
-//        if (pointer+width > end) return 0;
-//        for (k = 1; k < width; k ++) {
-//            octet = pointer[k];
-//            if ((octet & 0xC0) != 0x80) return 0;
-//            value = (value << 6) + (octet & 0x3F);
-//        }
-//        if (!((width == 1) ||
-//            (width == 2 && value >= 0x80) ||
-//            (width == 3 && value >= 0x800) ||
-//            (width == 4 && value >= 0x10000))) return 0;
-//
-//        pointer += width;
-//    }
-//
-//    return 1;
-//}
-//
-
-// Create STREAM-START.
-func yaml_stream_start_event_initialize(event *yaml_event_t, encoding yaml_encoding_t) bool {
-       *event = yaml_event_t{
-               typ:      yaml_STREAM_START_EVENT,
-               encoding: encoding,
-       }
-       return true
-}
-
-// Create STREAM-END.
-func yaml_stream_end_event_initialize(event *yaml_event_t) bool {
-       *event = yaml_event_t{
-               typ: yaml_STREAM_END_EVENT,
-       }
-       return true
-}
-
-// Create DOCUMENT-START.
-func yaml_document_start_event_initialize(event *yaml_event_t, version_directive *yaml_version_directive_t,
-       tag_directives []yaml_tag_directive_t, implicit bool) bool {
-       *event = yaml_event_t{
-               typ:               yaml_DOCUMENT_START_EVENT,
-               version_directive: version_directive,
-               tag_directives:    tag_directives,
-               implicit:          implicit,
-       }
-       return true
-}
-
-// Create DOCUMENT-END.
-func yaml_document_end_event_initialize(event *yaml_event_t, implicit bool) bool {
-       *event = yaml_event_t{
-               typ:      yaml_DOCUMENT_END_EVENT,
-               implicit: implicit,
-       }
-       return true
-}
-
-///*
-// * Create ALIAS.
-// */
-//
-//YAML_DECLARE(int)
-//yaml_alias_event_initialize(event *yaml_event_t, anchor *yaml_char_t)
-//{
-//    mark yaml_mark_t = { 0, 0, 0 }
-//    anchor_copy *yaml_char_t = NULL
-//
-//    assert(event) // Non-NULL event object is expected.
-//    assert(anchor) // Non-NULL anchor is expected.
-//
-//    if (!yaml_check_utf8(anchor, strlen((char *)anchor))) return 0
-//
-//    anchor_copy = yaml_strdup(anchor)
-//    if (!anchor_copy)
-//        return 0
-//
-//    ALIAS_EVENT_INIT(*event, anchor_copy, mark, mark)
-//
-//    return 1
-//}
-
-// Create SCALAR.
-func yaml_scalar_event_initialize(event *yaml_event_t, anchor, tag, value []byte, plain_implicit, quoted_implicit bool, style yaml_scalar_style_t) bool {
-       *event = yaml_event_t{
-               typ:             yaml_SCALAR_EVENT,
-               anchor:          anchor,
-               tag:             tag,
-               value:           value,
-               implicit:        plain_implicit,
-               quoted_implicit: quoted_implicit,
-               style:           yaml_style_t(style),
-       }
-       return true
-}
-
-// Create SEQUENCE-START.
-func yaml_sequence_start_event_initialize(event *yaml_event_t, anchor, tag []byte, implicit bool, style yaml_sequence_style_t) bool {
-       *event = yaml_event_t{
-               typ:      yaml_SEQUENCE_START_EVENT,
-               anchor:   anchor,
-               tag:      tag,
-               implicit: implicit,
-               style:    yaml_style_t(style),
-       }
-       return true
-}
-
-// Create SEQUENCE-END.
-func yaml_sequence_end_event_initialize(event *yaml_event_t) bool {
-       *event = yaml_event_t{
-               typ: yaml_SEQUENCE_END_EVENT,
-       }
-       return true
-}
-
-// Create MAPPING-START.
-func yaml_mapping_start_event_initialize(event *yaml_event_t, anchor, tag []byte, implicit bool, style yaml_mapping_style_t) bool {
-       *event = yaml_event_t{
-               typ:      yaml_MAPPING_START_EVENT,
-               anchor:   anchor,
-               tag:      tag,
-               implicit: implicit,
-               style:    yaml_style_t(style),
-       }
-       return true
-}
-
-// Create MAPPING-END.
-func yaml_mapping_end_event_initialize(event *yaml_event_t) bool {
-       *event = yaml_event_t{
-               typ: yaml_MAPPING_END_EVENT,
-       }
-       return true
-}
-
-// Destroy an event object.
-func yaml_event_delete(event *yaml_event_t) {
-       *event = yaml_event_t{}
-}
-
-///*
-// * Create a document object.
-// */
-//
-//YAML_DECLARE(int)
-//yaml_document_initialize(document *yaml_document_t,
-//        version_directive *yaml_version_directive_t,
-//        tag_directives_start *yaml_tag_directive_t,
-//        tag_directives_end *yaml_tag_directive_t,
-//        start_implicit int, end_implicit int)
-//{
-//    struct {
-//        error yaml_error_type_t
-//    } context
-//    struct {
-//        start *yaml_node_t
-//        end *yaml_node_t
-//        top *yaml_node_t
-//    } nodes = { NULL, NULL, NULL }
-//    version_directive_copy *yaml_version_directive_t = NULL
-//    struct {
-//        start *yaml_tag_directive_t
-//        end *yaml_tag_directive_t
-//        top *yaml_tag_directive_t
-//    } tag_directives_copy = { NULL, NULL, NULL }
-//    value yaml_tag_directive_t = { NULL, NULL }
-//    mark yaml_mark_t = { 0, 0, 0 }
-//
-//    assert(document) // Non-NULL document object is expected.
-//    assert((tag_directives_start && tag_directives_end) ||
-//            (tag_directives_start == tag_directives_end))
-//                            // Valid tag directives are expected.
-//
-//    if (!STACK_INIT(&context, nodes, INITIAL_STACK_SIZE)) goto error
-//
-//    if (version_directive) {
-//        version_directive_copy = yaml_malloc(sizeof(yaml_version_directive_t))
-//        if (!version_directive_copy) goto error
-//        version_directive_copy.major = version_directive.major
-//        version_directive_copy.minor = version_directive.minor
-//    }
-//
-//    if (tag_directives_start != tag_directives_end) {
-//        tag_directive *yaml_tag_directive_t
-//        if (!STACK_INIT(&context, tag_directives_copy, INITIAL_STACK_SIZE))
-//            goto error
-//        for (tag_directive = tag_directives_start
-//                tag_directive != tag_directives_end; tag_directive ++) {
-//            assert(tag_directive.handle)
-//            assert(tag_directive.prefix)
-//            if (!yaml_check_utf8(tag_directive.handle,
-//                        strlen((char *)tag_directive.handle)))
-//                goto error
-//            if (!yaml_check_utf8(tag_directive.prefix,
-//                        strlen((char *)tag_directive.prefix)))
-//                goto error
-//            value.handle = yaml_strdup(tag_directive.handle)
-//            value.prefix = yaml_strdup(tag_directive.prefix)
-//            if (!value.handle || !value.prefix) goto error
-//            if (!PUSH(&context, tag_directives_copy, value))
-//                goto error
-//            value.handle = NULL
-//            value.prefix = NULL
-//        }
-//    }
-//
-//    DOCUMENT_INIT(*document, nodes.start, nodes.end, version_directive_copy,
-//            tag_directives_copy.start, tag_directives_copy.top,
-//            start_implicit, end_implicit, mark, mark)
-//
-//    return 1
-//
-//error:
-//    STACK_DEL(&context, nodes)
-//    yaml_free(version_directive_copy)
-//    while (!STACK_EMPTY(&context, tag_directives_copy)) {
-//        value yaml_tag_directive_t = POP(&context, tag_directives_copy)
-//        yaml_free(value.handle)
-//        yaml_free(value.prefix)
-//    }
-//    STACK_DEL(&context, tag_directives_copy)
-//    yaml_free(value.handle)
-//    yaml_free(value.prefix)
-//
-//    return 0
-//}
-//
-///*
-// * Destroy a document object.
-// */
-//
-//YAML_DECLARE(void)
-//yaml_document_delete(document *yaml_document_t)
-//{
-//    struct {
-//        error yaml_error_type_t
-//    } context
-//    tag_directive *yaml_tag_directive_t
-//
-//    context.error = YAML_NO_ERROR // Eliminate a compliler warning.
-//
-//    assert(document) // Non-NULL document object is expected.
-//
-//    while (!STACK_EMPTY(&context, document.nodes)) {
-//        node yaml_node_t = POP(&context, document.nodes)
-//        yaml_free(node.tag)
-//        switch (node.type) {
-//            case YAML_SCALAR_NODE:
-//                yaml_free(node.data.scalar.value)
-//                break
-//            case YAML_SEQUENCE_NODE:
-//                STACK_DEL(&context, node.data.sequence.items)
-//                break
-//            case YAML_MAPPING_NODE:
-//                STACK_DEL(&context, node.data.mapping.pairs)
-//                break
-//            default:
-//                assert(0) // Should not happen.
-//        }
-//    }
-//    STACK_DEL(&context, document.nodes)
-//
-//    yaml_free(document.version_directive)
-//    for (tag_directive = document.tag_directives.start
-//            tag_directive != document.tag_directives.end
-//            tag_directive++) {
-//        yaml_free(tag_directive.handle)
-//        yaml_free(tag_directive.prefix)
-//    }
-//    yaml_free(document.tag_directives.start)
-//
-//    memset(document, 0, sizeof(yaml_document_t))
-//}
-//
-///**
-// * Get a document node.
-// */
-//
-//YAML_DECLARE(yaml_node_t *)
-//yaml_document_get_node(document *yaml_document_t, index int)
-//{
-//    assert(document) // Non-NULL document object is expected.
-//
-//    if (index > 0 && document.nodes.start + index <= document.nodes.top) {
-//        return document.nodes.start + index - 1
-//    }
-//    return NULL
-//}
-//
-///**
-// * Get the root object.
-// */
-//
-//YAML_DECLARE(yaml_node_t *)
-//yaml_document_get_root_node(document *yaml_document_t)
-//{
-//    assert(document) // Non-NULL document object is expected.
-//
-//    if (document.nodes.top != document.nodes.start) {
-//        return document.nodes.start
-//    }
-//    return NULL
-//}
-//
-///*
-// * Add a scalar node to a document.
-// */
-//
-//YAML_DECLARE(int)
-//yaml_document_add_scalar(document *yaml_document_t,
-//        tag *yaml_char_t, value *yaml_char_t, length int,
-//        style yaml_scalar_style_t)
-//{
-//    struct {
-//        error yaml_error_type_t
-//    } context
-//    mark yaml_mark_t = { 0, 0, 0 }
-//    tag_copy *yaml_char_t = NULL
-//    value_copy *yaml_char_t = NULL
-//    node yaml_node_t
-//
-//    assert(document) // Non-NULL document object is expected.
-//    assert(value) // Non-NULL value is expected.
-//
-//    if (!tag) {
-//        tag = (yaml_char_t *)YAML_DEFAULT_SCALAR_TAG
-//    }
-//
-//    if (!yaml_check_utf8(tag, strlen((char *)tag))) goto error
-//    tag_copy = yaml_strdup(tag)
-//    if (!tag_copy) goto error
-//
-//    if (length < 0) {
-//        length = strlen((char *)value)
-//    }
-//
-//    if (!yaml_check_utf8(value, length)) goto error
-//    value_copy = yaml_malloc(length+1)
-//    if (!value_copy) goto error
-//    memcpy(value_copy, value, length)
-//    value_copy[length] = '\0'
-//
-//    SCALAR_NODE_INIT(node, tag_copy, value_copy, length, style, mark, mark)
-//    if (!PUSH(&context, document.nodes, node)) goto error
-//
-//    return document.nodes.top - document.nodes.start
-//
-//error:
-//    yaml_free(tag_copy)
-//    yaml_free(value_copy)
-//
-//    return 0
-//}
-//
-///*
-// * Add a sequence node to a document.
-// */
-//
-//YAML_DECLARE(int)
-//yaml_document_add_sequence(document *yaml_document_t,
-//        tag *yaml_char_t, style yaml_sequence_style_t)
-//{
-//    struct {
-//        error yaml_error_type_t
-//    } context
-//    mark yaml_mark_t = { 0, 0, 0 }
-//    tag_copy *yaml_char_t = NULL
-//    struct {
-//        start *yaml_node_item_t
-//        end *yaml_node_item_t
-//        top *yaml_node_item_t
-//    } items = { NULL, NULL, NULL }
-//    node yaml_node_t
-//
-//    assert(document) // Non-NULL document object is expected.
-//
-//    if (!tag) {
-//        tag = (yaml_char_t *)YAML_DEFAULT_SEQUENCE_TAG
-//    }
-//
-//    if (!yaml_check_utf8(tag, strlen((char *)tag))) goto error
-//    tag_copy = yaml_strdup(tag)
-//    if (!tag_copy) goto error
-//
-//    if (!STACK_INIT(&context, items, INITIAL_STACK_SIZE)) goto error
-//
-//    SEQUENCE_NODE_INIT(node, tag_copy, items.start, items.end,
-//            style, mark, mark)
-//    if (!PUSH(&context, document.nodes, node)) goto error
-//
-//    return document.nodes.top - document.nodes.start
-//
-//error:
-//    STACK_DEL(&context, items)
-//    yaml_free(tag_copy)
-//
-//    return 0
-//}
-//
-///*
-// * Add a mapping node to a document.
-// */
-//
-//YAML_DECLARE(int)
-//yaml_document_add_mapping(document *yaml_document_t,
-//        tag *yaml_char_t, style yaml_mapping_style_t)
-//{
-//    struct {
-//        error yaml_error_type_t
-//    } context
-//    mark yaml_mark_t = { 0, 0, 0 }
-//    tag_copy *yaml_char_t = NULL
-//    struct {
-//        start *yaml_node_pair_t
-//        end *yaml_node_pair_t
-//        top *yaml_node_pair_t
-//    } pairs = { NULL, NULL, NULL }
-//    node yaml_node_t
-//
-//    assert(document) // Non-NULL document object is expected.
-//
-//    if (!tag) {
-//        tag = (yaml_char_t *)YAML_DEFAULT_MAPPING_TAG
-//    }
-//
-//    if (!yaml_check_utf8(tag, strlen((char *)tag))) goto error
-//    tag_copy = yaml_strdup(tag)
-//    if (!tag_copy) goto error
-//
-//    if (!STACK_INIT(&context, pairs, INITIAL_STACK_SIZE)) goto error
-//
-//    MAPPING_NODE_INIT(node, tag_copy, pairs.start, pairs.end,
-//            style, mark, mark)
-//    if (!PUSH(&context, document.nodes, node)) goto error
-//
-//    return document.nodes.top - document.nodes.start
-//
-//error:
-//    STACK_DEL(&context, pairs)
-//    yaml_free(tag_copy)
-//
-//    return 0
-//}
-//
-///*
-// * Append an item to a sequence node.
-// */
-//
-//YAML_DECLARE(int)
-//yaml_document_append_sequence_item(document *yaml_document_t,
-//        sequence int, item int)
-//{
-//    struct {
-//        error yaml_error_type_t
-//    } context
-//
-//    assert(document) // Non-NULL document is required.
-//    assert(sequence > 0
-//            && document.nodes.start + sequence <= document.nodes.top)
-//                            // Valid sequence id is required.
-//    assert(document.nodes.start[sequence-1].type == YAML_SEQUENCE_NODE)
-//                            // A sequence node is required.
-//    assert(item > 0 && document.nodes.start + item <= document.nodes.top)
-//                            // Valid item id is required.
-//
-//    if (!PUSH(&context,
-//                document.nodes.start[sequence-1].data.sequence.items, item))
-//        return 0
-//
-//    return 1
-//}
-//
-///*
-// * Append a pair of a key and a value to a mapping node.
-// */
-//
-//YAML_DECLARE(int)
-//yaml_document_append_mapping_pair(document *yaml_document_t,
-//        mapping int, key int, value int)
-//{
-//    struct {
-//        error yaml_error_type_t
-//    } context
-//
-//    pair yaml_node_pair_t
-//
-//    assert(document) // Non-NULL document is required.
-//    assert(mapping > 0
-//            && document.nodes.start + mapping <= document.nodes.top)
-//                            // Valid mapping id is required.
-//    assert(document.nodes.start[mapping-1].type == YAML_MAPPING_NODE)
-//                            // A mapping node is required.
-//    assert(key > 0 && document.nodes.start + key <= document.nodes.top)
-//                            // Valid key id is required.
-//    assert(value > 0 && document.nodes.start + value <= document.nodes.top)
-//                            // Valid value id is required.
-//
-//    pair.key = key
-//    pair.value = value
-//
-//    if (!PUSH(&context,
-//                document.nodes.start[mapping-1].data.mapping.pairs, pair))
-//        return 0
-//
-//    return 1
-//}
-//
-//
diff --git a/vendor/gopkg.in/yaml.v2/decode.go b/vendor/gopkg.in/yaml.v2/decode.go
deleted file mode 100644 (file)
index 052ecfc..0000000
+++ /dev/null
@@ -1,682 +0,0 @@
-package yaml
-
-import (
-       "encoding"
-       "encoding/base64"
-       "fmt"
-       "math"
-       "reflect"
-       "strconv"
-       "time"
-)
-
-const (
-       documentNode = 1 << iota
-       mappingNode
-       sequenceNode
-       scalarNode
-       aliasNode
-)
-
-type node struct {
-       kind         int
-       line, column int
-       tag          string
-       value        string
-       implicit     bool
-       children     []*node
-       anchors      map[string]*node
-}
-
-// ----------------------------------------------------------------------------
-// Parser, produces a node tree out of a libyaml event stream.
-
-type parser struct {
-       parser yaml_parser_t
-       event  yaml_event_t
-       doc    *node
-}
-
-func newParser(b []byte) *parser {
-       p := parser{}
-       if !yaml_parser_initialize(&p.parser) {
-               panic("failed to initialize YAML emitter")
-       }
-
-       if len(b) == 0 {
-               b = []byte{'\n'}
-       }
-
-       yaml_parser_set_input_string(&p.parser, b)
-
-       p.skip()
-       if p.event.typ != yaml_STREAM_START_EVENT {
-               panic("expected stream start event, got " + strconv.Itoa(int(p.event.typ)))
-       }
-       p.skip()
-       return &p
-}
-
-func (p *parser) destroy() {
-       if p.event.typ != yaml_NO_EVENT {
-               yaml_event_delete(&p.event)
-       }
-       yaml_parser_delete(&p.parser)
-}
-
-func (p *parser) skip() {
-       if p.event.typ != yaml_NO_EVENT {
-               if p.event.typ == yaml_STREAM_END_EVENT {
-                       failf("attempted to go past the end of stream; corrupted value?")
-               }
-               yaml_event_delete(&p.event)
-       }
-       if !yaml_parser_parse(&p.parser, &p.event) {
-               p.fail()
-       }
-}
-
-func (p *parser) fail() {
-       var where string
-       var line int
-       if p.parser.problem_mark.line != 0 {
-               line = p.parser.problem_mark.line
-       } else if p.parser.context_mark.line != 0 {
-               line = p.parser.context_mark.line
-       }
-       if line != 0 {
-               where = "line " + strconv.Itoa(line) + ": "
-       }
-       var msg string
-       if len(p.parser.problem) > 0 {
-               msg = p.parser.problem
-       } else {
-               msg = "unknown problem parsing YAML content"
-       }
-       failf("%s%s", where, msg)
-}
-
-func (p *parser) anchor(n *node, anchor []byte) {
-       if anchor != nil {
-               p.doc.anchors[string(anchor)] = n
-       }
-}
-
-func (p *parser) parse() *node {
-       switch p.event.typ {
-       case yaml_SCALAR_EVENT:
-               return p.scalar()
-       case yaml_ALIAS_EVENT:
-               return p.alias()
-       case yaml_MAPPING_START_EVENT:
-               return p.mapping()
-       case yaml_SEQUENCE_START_EVENT:
-               return p.sequence()
-       case yaml_DOCUMENT_START_EVENT:
-               return p.document()
-       case yaml_STREAM_END_EVENT:
-               // Happens when attempting to decode an empty buffer.
-               return nil
-       default:
-               panic("attempted to parse unknown event: " + strconv.Itoa(int(p.event.typ)))
-       }
-}
-
-func (p *parser) node(kind int) *node {
-       return &node{
-               kind:   kind,
-               line:   p.event.start_mark.line,
-               column: p.event.start_mark.column,
-       }
-}
-
-func (p *parser) document() *node {
-       n := p.node(documentNode)
-       n.anchors = make(map[string]*node)
-       p.doc = n
-       p.skip()
-       n.children = append(n.children, p.parse())
-       if p.event.typ != yaml_DOCUMENT_END_EVENT {
-               panic("expected end of document event but got " + strconv.Itoa(int(p.event.typ)))
-       }
-       p.skip()
-       return n
-}
-
-func (p *parser) alias() *node {
-       n := p.node(aliasNode)
-       n.value = string(p.event.anchor)
-       p.skip()
-       return n
-}
-
-func (p *parser) scalar() *node {
-       n := p.node(scalarNode)
-       n.value = string(p.event.value)
-       n.tag = string(p.event.tag)
-       n.implicit = p.event.implicit
-       p.anchor(n, p.event.anchor)
-       p.skip()
-       return n
-}
-
-func (p *parser) sequence() *node {
-       n := p.node(sequenceNode)
-       p.anchor(n, p.event.anchor)
-       p.skip()
-       for p.event.typ != yaml_SEQUENCE_END_EVENT {
-               n.children = append(n.children, p.parse())
-       }
-       p.skip()
-       return n
-}
-
-func (p *parser) mapping() *node {
-       n := p.node(mappingNode)
-       p.anchor(n, p.event.anchor)
-       p.skip()
-       for p.event.typ != yaml_MAPPING_END_EVENT {
-               n.children = append(n.children, p.parse(), p.parse())
-       }
-       p.skip()
-       return n
-}
-
-// ----------------------------------------------------------------------------
-// Decoder, unmarshals a node into a provided value.
-
-type decoder struct {
-       doc     *node
-       aliases map[string]bool
-       mapType reflect.Type
-       terrors []string
-}
-
-var (
-       mapItemType    = reflect.TypeOf(MapItem{})
-       durationType   = reflect.TypeOf(time.Duration(0))
-       defaultMapType = reflect.TypeOf(map[interface{}]interface{}{})
-       ifaceType      = defaultMapType.Elem()
-)
-
-func newDecoder() *decoder {
-       d := &decoder{mapType: defaultMapType}
-       d.aliases = make(map[string]bool)
-       return d
-}
-
-func (d *decoder) terror(n *node, tag string, out reflect.Value) {
-       if n.tag != "" {
-               tag = n.tag
-       }
-       value := n.value
-       if tag != yaml_SEQ_TAG && tag != yaml_MAP_TAG {
-               if len(value) > 10 {
-                       value = " `" + value[:7] + "...`"
-               } else {
-                       value = " `" + value + "`"
-               }
-       }
-       d.terrors = append(d.terrors, fmt.Sprintf("line %d: cannot unmarshal %s%s into %s", n.line+1, shortTag(tag), value, out.Type()))
-}
-
-func (d *decoder) callUnmarshaler(n *node, u Unmarshaler) (good bool) {
-       terrlen := len(d.terrors)
-       err := u.UnmarshalYAML(func(v interface{}) (err error) {
-               defer handleErr(&err)
-               d.unmarshal(n, reflect.ValueOf(v))
-               if len(d.terrors) > terrlen {
-                       issues := d.terrors[terrlen:]
-                       d.terrors = d.terrors[:terrlen]
-                       return &TypeError{issues}
-               }
-               return nil
-       })
-       if e, ok := err.(*TypeError); ok {
-               d.terrors = append(d.terrors, e.Errors...)
-               return false
-       }
-       if err != nil {
-               fail(err)
-       }
-       return true
-}
-
-// d.prepare initializes and dereferences pointers and calls UnmarshalYAML
-// if a value is found to implement it.
-// It returns the initialized and dereferenced out value, whether
-// unmarshalling was already done by UnmarshalYAML, and if so whether
-// its types unmarshalled appropriately.
-//
-// If n holds a null value, prepare returns before doing anything.
-func (d *decoder) prepare(n *node, out reflect.Value) (newout reflect.Value, unmarshaled, good bool) {
-       if n.tag == yaml_NULL_TAG || n.kind == scalarNode && n.tag == "" && (n.value == "null" || n.value == "" && n.implicit) {
-               return out, false, false
-       }
-       again := true
-       for again {
-               again = false
-               if out.Kind() == reflect.Ptr {
-                       if out.IsNil() {
-                               out.Set(reflect.New(out.Type().Elem()))
-                       }
-                       out = out.Elem()
-                       again = true
-               }
-               if out.CanAddr() {
-                       if u, ok := out.Addr().Interface().(Unmarshaler); ok {
-                               good = d.callUnmarshaler(n, u)
-                               return out, true, good
-                       }
-               }
-       }
-       return out, false, false
-}
-
-func (d *decoder) unmarshal(n *node, out reflect.Value) (good bool) {
-       switch n.kind {
-       case documentNode:
-               return d.document(n, out)
-       case aliasNode:
-               return d.alias(n, out)
-       }
-       out, unmarshaled, good := d.prepare(n, out)
-       if unmarshaled {
-               return good
-       }
-       switch n.kind {
-       case scalarNode:
-               good = d.scalar(n, out)
-       case mappingNode:
-               good = d.mapping(n, out)
-       case sequenceNode:
-               good = d.sequence(n, out)
-       default:
-               panic("internal error: unknown node kind: " + strconv.Itoa(n.kind))
-       }
-       return good
-}
-
-func (d *decoder) document(n *node, out reflect.Value) (good bool) {
-       if len(n.children) == 1 {
-               d.doc = n
-               d.unmarshal(n.children[0], out)
-               return true
-       }
-       return false
-}
-
-func (d *decoder) alias(n *node, out reflect.Value) (good bool) {
-       an, ok := d.doc.anchors[n.value]
-       if !ok {
-               failf("unknown anchor '%s' referenced", n.value)
-       }
-       if d.aliases[n.value] {
-               failf("anchor '%s' value contains itself", n.value)
-       }
-       d.aliases[n.value] = true
-       good = d.unmarshal(an, out)
-       delete(d.aliases, n.value)
-       return good
-}
-
-var zeroValue reflect.Value
-
-func resetMap(out reflect.Value) {
-       for _, k := range out.MapKeys() {
-               out.SetMapIndex(k, zeroValue)
-       }
-}
-
-func (d *decoder) scalar(n *node, out reflect.Value) (good bool) {
-       var tag string
-       var resolved interface{}
-       if n.tag == "" && !n.implicit {
-               tag = yaml_STR_TAG
-               resolved = n.value
-       } else {
-               tag, resolved = resolve(n.tag, n.value)
-               if tag == yaml_BINARY_TAG {
-                       data, err := base64.StdEncoding.DecodeString(resolved.(string))
-                       if err != nil {
-                               failf("!!binary value contains invalid base64 data")
-                       }
-                       resolved = string(data)
-               }
-       }
-       if resolved == nil {
-               if out.Kind() == reflect.Map && !out.CanAddr() {
-                       resetMap(out)
-               } else {
-                       out.Set(reflect.Zero(out.Type()))
-               }
-               return true
-       }
-       if s, ok := resolved.(string); ok && out.CanAddr() {
-               if u, ok := out.Addr().Interface().(encoding.TextUnmarshaler); ok {
-                       err := u.UnmarshalText([]byte(s))
-                       if err != nil {
-                               fail(err)
-                       }
-                       return true
-               }
-       }
-       switch out.Kind() {
-       case reflect.String:
-               if tag == yaml_BINARY_TAG {
-                       out.SetString(resolved.(string))
-                       good = true
-               } else if resolved != nil {
-                       out.SetString(n.value)
-                       good = true
-               }
-       case reflect.Interface:
-               if resolved == nil {
-                       out.Set(reflect.Zero(out.Type()))
-               } else {
-                       out.Set(reflect.ValueOf(resolved))
-               }
-               good = true
-       case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
-               switch resolved := resolved.(type) {
-               case int:
-                       if !out.OverflowInt(int64(resolved)) {
-                               out.SetInt(int64(resolved))
-                               good = true
-                       }
-               case int64:
-                       if !out.OverflowInt(resolved) {
-                               out.SetInt(resolved)
-                               good = true
-                       }
-               case uint64:
-                       if resolved <= math.MaxInt64 && !out.OverflowInt(int64(resolved)) {
-                               out.SetInt(int64(resolved))
-                               good = true
-                       }
-               case float64:
-                       if resolved <= math.MaxInt64 && !out.OverflowInt(int64(resolved)) {
-                               out.SetInt(int64(resolved))
-                               good = true
-                       }
-               case string:
-                       if out.Type() == durationType {
-                               d, err := time.ParseDuration(resolved)
-                               if err == nil {
-                                       out.SetInt(int64(d))
-                                       good = true
-                               }
-                       }
-               }
-       case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr:
-               switch resolved := resolved.(type) {
-               case int:
-                       if resolved >= 0 && !out.OverflowUint(uint64(resolved)) {
-                               out.SetUint(uint64(resolved))
-                               good = true
-                       }
-               case int64:
-                       if resolved >= 0 && !out.OverflowUint(uint64(resolved)) {
-                               out.SetUint(uint64(resolved))
-                               good = true
-                       }
-               case uint64:
-                       if !out.OverflowUint(uint64(resolved)) {
-                               out.SetUint(uint64(resolved))
-                               good = true
-                       }
-               case float64:
-                       if resolved <= math.MaxUint64 && !out.OverflowUint(uint64(resolved)) {
-                               out.SetUint(uint64(resolved))
-                               good = true
-                       }
-               }
-       case reflect.Bool:
-               switch resolved := resolved.(type) {
-               case bool:
-                       out.SetBool(resolved)
-                       good = true
-               }
-       case reflect.Float32, reflect.Float64:
-               switch resolved := resolved.(type) {
-               case int:
-                       out.SetFloat(float64(resolved))
-                       good = true
-               case int64:
-                       out.SetFloat(float64(resolved))
-                       good = true
-               case uint64:
-                       out.SetFloat(float64(resolved))
-                       good = true
-               case float64:
-                       out.SetFloat(resolved)
-                       good = true
-               }
-       case reflect.Ptr:
-               if out.Type().Elem() == reflect.TypeOf(resolved) {
-                       // TODO DOes this make sense? When is out a Ptr except when decoding a nil value?
-                       elem := reflect.New(out.Type().Elem())
-                       elem.Elem().Set(reflect.ValueOf(resolved))
-                       out.Set(elem)
-                       good = true
-               }
-       }
-       if !good {
-               d.terror(n, tag, out)
-       }
-       return good
-}
-
-func settableValueOf(i interface{}) reflect.Value {
-       v := reflect.ValueOf(i)
-       sv := reflect.New(v.Type()).Elem()
-       sv.Set(v)
-       return sv
-}
-
-func (d *decoder) sequence(n *node, out reflect.Value) (good bool) {
-       l := len(n.children)
-
-       var iface reflect.Value
-       switch out.Kind() {
-       case reflect.Slice:
-               out.Set(reflect.MakeSlice(out.Type(), l, l))
-       case reflect.Interface:
-               // No type hints. Will have to use a generic sequence.
-               iface = out
-               out = settableValueOf(make([]interface{}, l))
-       default:
-               d.terror(n, yaml_SEQ_TAG, out)
-               return false
-       }
-       et := out.Type().Elem()
-
-       j := 0
-       for i := 0; i < l; i++ {
-               e := reflect.New(et).Elem()
-               if ok := d.unmarshal(n.children[i], e); ok {
-                       out.Index(j).Set(e)
-                       j++
-               }
-       }
-       out.Set(out.Slice(0, j))
-       if iface.IsValid() {
-               iface.Set(out)
-       }
-       return true
-}
-
-func (d *decoder) mapping(n *node, out reflect.Value) (good bool) {
-       switch out.Kind() {
-       case reflect.Struct:
-               return d.mappingStruct(n, out)
-       case reflect.Slice:
-               return d.mappingSlice(n, out)
-       case reflect.Map:
-               // okay
-       case reflect.Interface:
-               if d.mapType.Kind() == reflect.Map {
-                       iface := out
-                       out = reflect.MakeMap(d.mapType)
-                       iface.Set(out)
-               } else {
-                       slicev := reflect.New(d.mapType).Elem()
-                       if !d.mappingSlice(n, slicev) {
-                               return false
-                       }
-                       out.Set(slicev)
-                       return true
-               }
-       default:
-               d.terror(n, yaml_MAP_TAG, out)
-               return false
-       }
-       outt := out.Type()
-       kt := outt.Key()
-       et := outt.Elem()
-
-       mapType := d.mapType
-       if outt.Key() == ifaceType && outt.Elem() == ifaceType {
-               d.mapType = outt
-       }
-
-       if out.IsNil() {
-               out.Set(reflect.MakeMap(outt))
-       }
-       l := len(n.children)
-       for i := 0; i < l; i += 2 {
-               if isMerge(n.children[i]) {
-                       d.merge(n.children[i+1], out)
-                       continue
-               }
-               k := reflect.New(kt).Elem()
-               if d.unmarshal(n.children[i], k) {
-                       kkind := k.Kind()
-                       if kkind == reflect.Interface {
-                               kkind = k.Elem().Kind()
-                       }
-                       if kkind == reflect.Map || kkind == reflect.Slice {
-                               failf("invalid map key: %#v", k.Interface())
-                       }
-                       e := reflect.New(et).Elem()
-                       if d.unmarshal(n.children[i+1], e) {
-                               out.SetMapIndex(k, e)
-                       }
-               }
-       }
-       d.mapType = mapType
-       return true
-}
-
-func (d *decoder) mappingSlice(n *node, out reflect.Value) (good bool) {
-       outt := out.Type()
-       if outt.Elem() != mapItemType {
-               d.terror(n, yaml_MAP_TAG, out)
-               return false
-       }
-
-       mapType := d.mapType
-       d.mapType = outt
-
-       var slice []MapItem
-       var l = len(n.children)
-       for i := 0; i < l; i += 2 {
-               if isMerge(n.children[i]) {
-                       d.merge(n.children[i+1], out)
-                       continue
-               }
-               item := MapItem{}
-               k := reflect.ValueOf(&item.Key).Elem()
-               if d.unmarshal(n.children[i], k) {
-                       v := reflect.ValueOf(&item.Value).Elem()
-                       if d.unmarshal(n.children[i+1], v) {
-                               slice = append(slice, item)
-                       }
-               }
-       }
-       out.Set(reflect.ValueOf(slice))
-       d.mapType = mapType
-       return true
-}
-
-func (d *decoder) mappingStruct(n *node, out reflect.Value) (good bool) {
-       sinfo, err := getStructInfo(out.Type())
-       if err != nil {
-               panic(err)
-       }
-       name := settableValueOf("")
-       l := len(n.children)
-
-       var inlineMap reflect.Value
-       var elemType reflect.Type
-       if sinfo.InlineMap != -1 {
-               inlineMap = out.Field(sinfo.InlineMap)
-               inlineMap.Set(reflect.New(inlineMap.Type()).Elem())
-               elemType = inlineMap.Type().Elem()
-       }
-
-       for i := 0; i < l; i += 2 {
-               ni := n.children[i]
-               if isMerge(ni) {
-                       d.merge(n.children[i+1], out)
-                       continue
-               }
-               if !d.unmarshal(ni, name) {
-                       continue
-               }
-               if info, ok := sinfo.FieldsMap[name.String()]; ok {
-                       var field reflect.Value
-                       if info.Inline == nil {
-                               field = out.Field(info.Num)
-                       } else {
-                               field = out.FieldByIndex(info.Inline)
-                       }
-                       d.unmarshal(n.children[i+1], field)
-               } else if sinfo.InlineMap != -1 {
-                       if inlineMap.IsNil() {
-                               inlineMap.Set(reflect.MakeMap(inlineMap.Type()))
-                       }
-                       value := reflect.New(elemType).Elem()
-                       d.unmarshal(n.children[i+1], value)
-                       inlineMap.SetMapIndex(name, value)
-               }
-       }
-       return true
-}
-
-func failWantMap() {
-       failf("map merge requires map or sequence of maps as the value")
-}
-
-func (d *decoder) merge(n *node, out reflect.Value) {
-       switch n.kind {
-       case mappingNode:
-               d.unmarshal(n, out)
-       case aliasNode:
-               an, ok := d.doc.anchors[n.value]
-               if ok && an.kind != mappingNode {
-                       failWantMap()
-               }
-               d.unmarshal(n, out)
-       case sequenceNode:
-               // Step backwards as earlier nodes take precedence.
-               for i := len(n.children) - 1; i >= 0; i-- {
-                       ni := n.children[i]
-                       if ni.kind == aliasNode {
-                               an, ok := d.doc.anchors[ni.value]
-                               if ok && an.kind != mappingNode {
-                                       failWantMap()
-                               }
-                       } else if ni.kind != mappingNode {
-                               failWantMap()
-                       }
-                       d.unmarshal(ni, out)
-               }
-       default:
-               failWantMap()
-       }
-}
-
-func isMerge(n *node) bool {
-       return n.kind == scalarNode && n.value == "<<" && (n.implicit == true || n.tag == yaml_MERGE_TAG)
-}
diff --git a/vendor/gopkg.in/yaml.v2/emitterc.go b/vendor/gopkg.in/yaml.v2/emitterc.go
deleted file mode 100644 (file)
index 6ecdcb3..0000000
+++ /dev/null
@@ -1,1684 +0,0 @@
-package yaml
-
-import (
-       "bytes"
-)
-
-// Flush the buffer if needed.
-func flush(emitter *yaml_emitter_t) bool {
-       if emitter.buffer_pos+5 >= len(emitter.buffer) {
-               return yaml_emitter_flush(emitter)
-       }
-       return true
-}
-
-// Put a character to the output buffer.
-func put(emitter *yaml_emitter_t, value byte) bool {
-       if emitter.buffer_pos+5 >= len(emitter.buffer) && !yaml_emitter_flush(emitter) {
-               return false
-       }
-       emitter.buffer[emitter.buffer_pos] = value
-       emitter.buffer_pos++
-       emitter.column++
-       return true
-}
-
-// Put a line break to the output buffer.
-func put_break(emitter *yaml_emitter_t) bool {
-       if emitter.buffer_pos+5 >= len(emitter.buffer) && !yaml_emitter_flush(emitter) {
-               return false
-       }
-       switch emitter.line_break {
-       case yaml_CR_BREAK:
-               emitter.buffer[emitter.buffer_pos] = '\r'
-               emitter.buffer_pos += 1
-       case yaml_LN_BREAK:
-               emitter.buffer[emitter.buffer_pos] = '\n'
-               emitter.buffer_pos += 1
-       case yaml_CRLN_BREAK:
-               emitter.buffer[emitter.buffer_pos+0] = '\r'
-               emitter.buffer[emitter.buffer_pos+1] = '\n'
-               emitter.buffer_pos += 2
-       default:
-               panic("unknown line break setting")
-       }
-       emitter.column = 0
-       emitter.line++
-       return true
-}
-
-// Copy a character from a string into buffer.
-func write(emitter *yaml_emitter_t, s []byte, i *int) bool {
-       if emitter.buffer_pos+5 >= len(emitter.buffer) && !yaml_emitter_flush(emitter) {
-               return false
-       }
-       p := emitter.buffer_pos
-       w := width(s[*i])
-       switch w {
-       case 4:
-               emitter.buffer[p+3] = s[*i+3]
-               fallthrough
-       case 3:
-               emitter.buffer[p+2] = s[*i+2]
-               fallthrough
-       case 2:
-               emitter.buffer[p+1] = s[*i+1]
-               fallthrough
-       case 1:
-               emitter.buffer[p+0] = s[*i+0]
-       default:
-               panic("unknown character width")
-       }
-       emitter.column++
-       emitter.buffer_pos += w
-       *i += w
-       return true
-}
-
-// Write a whole string into buffer.
-func write_all(emitter *yaml_emitter_t, s []byte) bool {
-       for i := 0; i < len(s); {
-               if !write(emitter, s, &i) {
-                       return false
-               }
-       }
-       return true
-}
-
-// Copy a line break character from a string into buffer.
-func write_break(emitter *yaml_emitter_t, s []byte, i *int) bool {
-       if s[*i] == '\n' {
-               if !put_break(emitter) {
-                       return false
-               }
-               *i++
-       } else {
-               if !write(emitter, s, i) {
-                       return false
-               }
-               emitter.column = 0
-               emitter.line++
-       }
-       return true
-}
-
-// Set an emitter error and return false.
-func yaml_emitter_set_emitter_error(emitter *yaml_emitter_t, problem string) bool {
-       emitter.error = yaml_EMITTER_ERROR
-       emitter.problem = problem
-       return false
-}
-
-// Emit an event.
-func yaml_emitter_emit(emitter *yaml_emitter_t, event *yaml_event_t) bool {
-       emitter.events = append(emitter.events, *event)
-       for !yaml_emitter_need_more_events(emitter) {
-               event := &emitter.events[emitter.events_head]
-               if !yaml_emitter_analyze_event(emitter, event) {
-                       return false
-               }
-               if !yaml_emitter_state_machine(emitter, event) {
-                       return false
-               }
-               yaml_event_delete(event)
-               emitter.events_head++
-       }
-       return true
-}
-
-// Check if we need to accumulate more events before emitting.
-//
-// We accumulate extra
-//  - 1 event for DOCUMENT-START
-//  - 2 events for SEQUENCE-START
-//  - 3 events for MAPPING-START
-//
-func yaml_emitter_need_more_events(emitter *yaml_emitter_t) bool {
-       if emitter.events_head == len(emitter.events) {
-               return true
-       }
-       var accumulate int
-       switch emitter.events[emitter.events_head].typ {
-       case yaml_DOCUMENT_START_EVENT:
-               accumulate = 1
-               break
-       case yaml_SEQUENCE_START_EVENT:
-               accumulate = 2
-               break
-       case yaml_MAPPING_START_EVENT:
-               accumulate = 3
-               break
-       default:
-               return false
-       }
-       if len(emitter.events)-emitter.events_head > accumulate {
-               return false
-       }
-       var level int
-       for i := emitter.events_head; i < len(emitter.events); i++ {
-               switch emitter.events[i].typ {
-               case yaml_STREAM_START_EVENT, yaml_DOCUMENT_START_EVENT, yaml_SEQUENCE_START_EVENT, yaml_MAPPING_START_EVENT:
-                       level++
-               case yaml_STREAM_END_EVENT, yaml_DOCUMENT_END_EVENT, yaml_SEQUENCE_END_EVENT, yaml_MAPPING_END_EVENT:
-                       level--
-               }
-               if level == 0 {
-                       return false
-               }
-       }
-       return true
-}
-
-// Append a directive to the directives stack.
-func yaml_emitter_append_tag_directive(emitter *yaml_emitter_t, value *yaml_tag_directive_t, allow_duplicates bool) bool {
-       for i := 0; i < len(emitter.tag_directives); i++ {
-               if bytes.Equal(value.handle, emitter.tag_directives[i].handle) {
-                       if allow_duplicates {
-                               return true
-                       }
-                       return yaml_emitter_set_emitter_error(emitter, "duplicate %TAG directive")
-               }
-       }
-
-       // [Go] Do we actually need to copy this given garbage collection
-       // and the lack of deallocating destructors?
-       tag_copy := yaml_tag_directive_t{
-               handle: make([]byte, len(value.handle)),
-               prefix: make([]byte, len(value.prefix)),
-       }
-       copy(tag_copy.handle, value.handle)
-       copy(tag_copy.prefix, value.prefix)
-       emitter.tag_directives = append(emitter.tag_directives, tag_copy)
-       return true
-}
-
-// Increase the indentation level.
-func yaml_emitter_increase_indent(emitter *yaml_emitter_t, flow, indentless bool) bool {
-       emitter.indents = append(emitter.indents, emitter.indent)
-       if emitter.indent < 0 {
-               if flow {
-                       emitter.indent = emitter.best_indent
-               } else {
-                       emitter.indent = 0
-               }
-       } else if !indentless {
-               emitter.indent += emitter.best_indent
-       }
-       return true
-}
-
-// State dispatcher.
-func yaml_emitter_state_machine(emitter *yaml_emitter_t, event *yaml_event_t) bool {
-       switch emitter.state {
-       default:
-       case yaml_EMIT_STREAM_START_STATE:
-               return yaml_emitter_emit_stream_start(emitter, event)
-
-       case yaml_EMIT_FIRST_DOCUMENT_START_STATE:
-               return yaml_emitter_emit_document_start(emitter, event, true)
-
-       case yaml_EMIT_DOCUMENT_START_STATE:
-               return yaml_emitter_emit_document_start(emitter, event, false)
-
-       case yaml_EMIT_DOCUMENT_CONTENT_STATE:
-               return yaml_emitter_emit_document_content(emitter, event)
-
-       case yaml_EMIT_DOCUMENT_END_STATE:
-               return yaml_emitter_emit_document_end(emitter, event)
-
-       case yaml_EMIT_FLOW_SEQUENCE_FIRST_ITEM_STATE:
-               return yaml_emitter_emit_flow_sequence_item(emitter, event, true)
-
-       case yaml_EMIT_FLOW_SEQUENCE_ITEM_STATE:
-               return yaml_emitter_emit_flow_sequence_item(emitter, event, false)
-
-       case yaml_EMIT_FLOW_MAPPING_FIRST_KEY_STATE:
-               return yaml_emitter_emit_flow_mapping_key(emitter, event, true)
-
-       case yaml_EMIT_FLOW_MAPPING_KEY_STATE:
-               return yaml_emitter_emit_flow_mapping_key(emitter, event, false)
-
-       case yaml_EMIT_FLOW_MAPPING_SIMPLE_VALUE_STATE:
-               return yaml_emitter_emit_flow_mapping_value(emitter, event, true)
-
-       case yaml_EMIT_FLOW_MAPPING_VALUE_STATE:
-               return yaml_emitter_emit_flow_mapping_value(emitter, event, false)
-
-       case yaml_EMIT_BLOCK_SEQUENCE_FIRST_ITEM_STATE:
-               return yaml_emitter_emit_block_sequence_item(emitter, event, true)
-
-       case yaml_EMIT_BLOCK_SEQUENCE_ITEM_STATE:
-               return yaml_emitter_emit_block_sequence_item(emitter, event, false)
-
-       case yaml_EMIT_BLOCK_MAPPING_FIRST_KEY_STATE:
-               return yaml_emitter_emit_block_mapping_key(emitter, event, true)
-
-       case yaml_EMIT_BLOCK_MAPPING_KEY_STATE:
-               return yaml_emitter_emit_block_mapping_key(emitter, event, false)
-
-       case yaml_EMIT_BLOCK_MAPPING_SIMPLE_VALUE_STATE:
-               return yaml_emitter_emit_block_mapping_value(emitter, event, true)
-
-       case yaml_EMIT_BLOCK_MAPPING_VALUE_STATE:
-               return yaml_emitter_emit_block_mapping_value(emitter, event, false)
-
-       case yaml_EMIT_END_STATE:
-               return yaml_emitter_set_emitter_error(emitter, "expected nothing after STREAM-END")
-       }
-       panic("invalid emitter state")
-}
-
-// Expect STREAM-START.
-func yaml_emitter_emit_stream_start(emitter *yaml_emitter_t, event *yaml_event_t) bool {
-       if event.typ != yaml_STREAM_START_EVENT {
-               return yaml_emitter_set_emitter_error(emitter, "expected STREAM-START")
-       }
-       if emitter.encoding == yaml_ANY_ENCODING {
-               emitter.encoding = event.encoding
-               if emitter.encoding == yaml_ANY_ENCODING {
-                       emitter.encoding = yaml_UTF8_ENCODING
-               }
-       }
-       if emitter.best_indent < 2 || emitter.best_indent > 9 {
-               emitter.best_indent = 2
-       }
-       if emitter.best_width >= 0 && emitter.best_width <= emitter.best_indent*2 {
-               emitter.best_width = 80
-       }
-       if emitter.best_width < 0 {
-               emitter.best_width = 1<<31 - 1
-       }
-       if emitter.line_break == yaml_ANY_BREAK {
-               emitter.line_break = yaml_LN_BREAK
-       }
-
-       emitter.indent = -1
-       emitter.line = 0
-       emitter.column = 0
-       emitter.whitespace = true
-       emitter.indention = true
-
-       if emitter.encoding != yaml_UTF8_ENCODING {
-               if !yaml_emitter_write_bom(emitter) {
-                       return false
-               }
-       }
-       emitter.state = yaml_EMIT_FIRST_DOCUMENT_START_STATE
-       return true
-}
-
-// Expect DOCUMENT-START or STREAM-END.
-func yaml_emitter_emit_document_start(emitter *yaml_emitter_t, event *yaml_event_t, first bool) bool {
-
-       if event.typ == yaml_DOCUMENT_START_EVENT {
-
-               if event.version_directive != nil {
-                       if !yaml_emitter_analyze_version_directive(emitter, event.version_directive) {
-                               return false
-                       }
-               }
-
-               for i := 0; i < len(event.tag_directives); i++ {
-                       tag_directive := &event.tag_directives[i]
-                       if !yaml_emitter_analyze_tag_directive(emitter, tag_directive) {
-                               return false
-                       }
-                       if !yaml_emitter_append_tag_directive(emitter, tag_directive, false) {
-                               return false
-                       }
-               }
-
-               for i := 0; i < len(default_tag_directives); i++ {
-                       tag_directive := &default_tag_directives[i]
-                       if !yaml_emitter_append_tag_directive(emitter, tag_directive, true) {
-                               return false
-                       }
-               }
-
-               implicit := event.implicit
-               if !first || emitter.canonical {
-                       implicit = false
-               }
-
-               if emitter.open_ended && (event.version_directive != nil || len(event.tag_directives) > 0) {
-                       if !yaml_emitter_write_indicator(emitter, []byte("..."), true, false, false) {
-                               return false
-                       }
-                       if !yaml_emitter_write_indent(emitter) {
-                               return false
-                       }
-               }
-
-               if event.version_directive != nil {
-                       implicit = false
-                       if !yaml_emitter_write_indicator(emitter, []byte("%YAML"), true, false, false) {
-                               return false
-                       }
-                       if !yaml_emitter_write_indicator(emitter, []byte("1.1"), true, false, false) {
-                               return false
-                       }
-                       if !yaml_emitter_write_indent(emitter) {
-                               return false
-                       }
-               }
-
-               if len(event.tag_directives) > 0 {
-                       implicit = false
-                       for i := 0; i < len(event.tag_directives); i++ {
-                               tag_directive := &event.tag_directives[i]
-                               if !yaml_emitter_write_indicator(emitter, []byte("%TAG"), true, false, false) {
-                                       return false
-                               }
-                               if !yaml_emitter_write_tag_handle(emitter, tag_directive.handle) {
-                                       return false
-                               }
-                               if !yaml_emitter_write_tag_content(emitter, tag_directive.prefix, true) {
-                                       return false
-                               }
-                               if !yaml_emitter_write_indent(emitter) {
-                                       return false
-                               }
-                       }
-               }
-
-               if yaml_emitter_check_empty_document(emitter) {
-                       implicit = false
-               }
-               if !implicit {
-                       if !yaml_emitter_write_indent(emitter) {
-                               return false
-                       }
-                       if !yaml_emitter_write_indicator(emitter, []byte("---"), true, false, false) {
-                               return false
-                       }
-                       if emitter.canonical {
-                               if !yaml_emitter_write_indent(emitter) {
-                                       return false
-                               }
-                       }
-               }
-
-               emitter.state = yaml_EMIT_DOCUMENT_CONTENT_STATE
-               return true
-       }
-
-       if event.typ == yaml_STREAM_END_EVENT {
-               if emitter.open_ended {
-                       if !yaml_emitter_write_indicator(emitter, []byte("..."), true, false, false) {
-                               return false
-                       }
-                       if !yaml_emitter_write_indent(emitter) {
-                               return false
-                       }
-               }
-               if !yaml_emitter_flush(emitter) {
-                       return false
-               }
-               emitter.state = yaml_EMIT_END_STATE
-               return true
-       }
-
-       return yaml_emitter_set_emitter_error(emitter, "expected DOCUMENT-START or STREAM-END")
-}
-
-// Expect the root node.
-func yaml_emitter_emit_document_content(emitter *yaml_emitter_t, event *yaml_event_t) bool {
-       emitter.states = append(emitter.states, yaml_EMIT_DOCUMENT_END_STATE)
-       return yaml_emitter_emit_node(emitter, event, true, false, false, false)
-}
-
-// Expect DOCUMENT-END.
-func yaml_emitter_emit_document_end(emitter *yaml_emitter_t, event *yaml_event_t) bool {
-       if event.typ != yaml_DOCUMENT_END_EVENT {
-               return yaml_emitter_set_emitter_error(emitter, "expected DOCUMENT-END")
-       }
-       if !yaml_emitter_write_indent(emitter) {
-               return false
-       }
-       if !event.implicit {
-               // [Go] Allocate the slice elsewhere.
-               if !yaml_emitter_write_indicator(emitter, []byte("..."), true, false, false) {
-                       return false
-               }
-               if !yaml_emitter_write_indent(emitter) {
-                       return false
-               }
-       }
-       if !yaml_emitter_flush(emitter) {
-               return false
-       }
-       emitter.state = yaml_EMIT_DOCUMENT_START_STATE
-       emitter.tag_directives = emitter.tag_directives[:0]
-       return true
-}
-
-// Expect a flow item node.
-func yaml_emitter_emit_flow_sequence_item(emitter *yaml_emitter_t, event *yaml_event_t, first bool) bool {
-       if first {
-               if !yaml_emitter_write_indicator(emitter, []byte{'['}, true, true, false) {
-                       return false
-               }
-               if !yaml_emitter_increase_indent(emitter, true, false) {
-                       return false
-               }
-               emitter.flow_level++
-       }
-
-       if event.typ == yaml_SEQUENCE_END_EVENT {
-               emitter.flow_level--
-               emitter.indent = emitter.indents[len(emitter.indents)-1]
-               emitter.indents = emitter.indents[:len(emitter.indents)-1]
-               if emitter.canonical && !first {
-                       if !yaml_emitter_write_indicator(emitter, []byte{','}, false, false, false) {
-                               return false
-                       }
-                       if !yaml_emitter_write_indent(emitter) {
-                               return false
-                       }
-               }
-               if !yaml_emitter_write_indicator(emitter, []byte{']'}, false, false, false) {
-                       return false
-               }
-               emitter.state = emitter.states[len(emitter.states)-1]
-               emitter.states = emitter.states[:len(emitter.states)-1]
-
-               return true
-       }
-
-       if !first {
-               if !yaml_emitter_write_indicator(emitter, []byte{','}, false, false, false) {
-                       return false
-               }
-       }
-
-       if emitter.canonical || emitter.column > emitter.best_width {
-               if !yaml_emitter_write_indent(emitter) {
-                       return false
-               }
-       }
-       emitter.states = append(emitter.states, yaml_EMIT_FLOW_SEQUENCE_ITEM_STATE)
-       return yaml_emitter_emit_node(emitter, event, false, true, false, false)
-}
-
-// Expect a flow key node.
-func yaml_emitter_emit_flow_mapping_key(emitter *yaml_emitter_t, event *yaml_event_t, first bool) bool {
-       if first {
-               if !yaml_emitter_write_indicator(emitter, []byte{'{'}, true, true, false) {
-                       return false
-               }
-               if !yaml_emitter_increase_indent(emitter, true, false) {
-                       return false
-               }
-               emitter.flow_level++
-       }
-
-       if event.typ == yaml_MAPPING_END_EVENT {
-               emitter.flow_level--
-               emitter.indent = emitter.indents[len(emitter.indents)-1]
-               emitter.indents = emitter.indents[:len(emitter.indents)-1]
-               if emitter.canonical && !first {
-                       if !yaml_emitter_write_indicator(emitter, []byte{','}, false, false, false) {
-                               return false
-                       }
-                       if !yaml_emitter_write_indent(emitter) {
-                               return false
-                       }
-               }
-               if !yaml_emitter_write_indicator(emitter, []byte{'}'}, false, false, false) {
-                       return false
-               }
-               emitter.state = emitter.states[len(emitter.states)-1]
-               emitter.states = emitter.states[:len(emitter.states)-1]
-               return true
-       }
-
-       if !first {
-               if !yaml_emitter_write_indicator(emitter, []byte{','}, false, false, false) {
-                       return false
-               }
-       }
-       if emitter.canonical || emitter.column > emitter.best_width {
-               if !yaml_emitter_write_indent(emitter) {
-                       return false
-               }
-       }
-
-       if !emitter.canonical && yaml_emitter_check_simple_key(emitter) {
-               emitter.states = append(emitter.states, yaml_EMIT_FLOW_MAPPING_SIMPLE_VALUE_STATE)
-               return yaml_emitter_emit_node(emitter, event, false, false, true, true)
-       }
-       if !yaml_emitter_write_indicator(emitter, []byte{'?'}, true, false, false) {
-               return false
-       }
-       emitter.states = append(emitter.states, yaml_EMIT_FLOW_MAPPING_VALUE_STATE)
-       return yaml_emitter_emit_node(emitter, event, false, false, true, false)
-}
-
-// Expect a flow value node.
-func yaml_emitter_emit_flow_mapping_value(emitter *yaml_emitter_t, event *yaml_event_t, simple bool) bool {
-       if simple {
-               if !yaml_emitter_write_indicator(emitter, []byte{':'}, false, false, false) {
-                       return false
-               }
-       } else {
-               if emitter.canonical || emitter.column > emitter.best_width {
-                       if !yaml_emitter_write_indent(emitter) {
-                               return false
-                       }
-               }
-               if !yaml_emitter_write_indicator(emitter, []byte{':'}, true, false, false) {
-                       return false
-               }
-       }
-       emitter.states = append(emitter.states, yaml_EMIT_FLOW_MAPPING_KEY_STATE)
-       return yaml_emitter_emit_node(emitter, event, false, false, true, false)
-}
-
-// Expect a block item node.
-func yaml_emitter_emit_block_sequence_item(emitter *yaml_emitter_t, event *yaml_event_t, first bool) bool {
-       if first {
-               if !yaml_emitter_increase_indent(emitter, false, emitter.mapping_context && !emitter.indention) {
-                       return false
-               }
-       }
-       if event.typ == yaml_SEQUENCE_END_EVENT {
-               emitter.indent = emitter.indents[len(emitter.indents)-1]
-               emitter.indents = emitter.indents[:len(emitter.indents)-1]
-               emitter.state = emitter.states[len(emitter.states)-1]
-               emitter.states = emitter.states[:len(emitter.states)-1]
-               return true
-       }
-       if !yaml_emitter_write_indent(emitter) {
-               return false
-       }
-       if !yaml_emitter_write_indicator(emitter, []byte{'-'}, true, false, true) {
-               return false
-       }
-       emitter.states = append(emitter.states, yaml_EMIT_BLOCK_SEQUENCE_ITEM_STATE)
-       return yaml_emitter_emit_node(emitter, event, false, true, false, false)
-}
-
-// Expect a block key node.
-func yaml_emitter_emit_block_mapping_key(emitter *yaml_emitter_t, event *yaml_event_t, first bool) bool {
-       if first {
-               if !yaml_emitter_increase_indent(emitter, false, false) {
-                       return false
-               }
-       }
-       if event.typ == yaml_MAPPING_END_EVENT {
-               emitter.indent = emitter.indents[len(emitter.indents)-1]
-               emitter.indents = emitter.indents[:len(emitter.indents)-1]
-               emitter.state = emitter.states[len(emitter.states)-1]
-               emitter.states = emitter.states[:len(emitter.states)-1]
-               return true
-       }
-       if !yaml_emitter_write_indent(emitter) {
-               return false
-       }
-       if yaml_emitter_check_simple_key(emitter) {
-               emitter.states = append(emitter.states, yaml_EMIT_BLOCK_MAPPING_SIMPLE_VALUE_STATE)
-               return yaml_emitter_emit_node(emitter, event, false, false, true, true)
-       }
-       if !yaml_emitter_write_indicator(emitter, []byte{'?'}, true, false, true) {
-               return false
-       }
-       emitter.states = append(emitter.states, yaml_EMIT_BLOCK_MAPPING_VALUE_STATE)
-       return yaml_emitter_emit_node(emitter, event, false, false, true, false)
-}
-
-// Expect a block value node.
-func yaml_emitter_emit_block_mapping_value(emitter *yaml_emitter_t, event *yaml_event_t, simple bool) bool {
-       if simple {
-               if !yaml_emitter_write_indicator(emitter, []byte{':'}, false, false, false) {
-                       return false
-               }
-       } else {
-               if !yaml_emitter_write_indent(emitter) {
-                       return false
-               }
-               if !yaml_emitter_write_indicator(emitter, []byte{':'}, true, false, true) {
-                       return false
-               }
-       }
-       emitter.states = append(emitter.states, yaml_EMIT_BLOCK_MAPPING_KEY_STATE)
-       return yaml_emitter_emit_node(emitter, event, false, false, true, false)
-}
-
-// Expect a node.
-func yaml_emitter_emit_node(emitter *yaml_emitter_t, event *yaml_event_t,
-       root bool, sequence bool, mapping bool, simple_key bool) bool {
-
-       emitter.root_context = root
-       emitter.sequence_context = sequence
-       emitter.mapping_context = mapping
-       emitter.simple_key_context = simple_key
-
-       switch event.typ {
-       case yaml_ALIAS_EVENT:
-               return yaml_emitter_emit_alias(emitter, event)
-       case yaml_SCALAR_EVENT:
-               return yaml_emitter_emit_scalar(emitter, event)
-       case yaml_SEQUENCE_START_EVENT:
-               return yaml_emitter_emit_sequence_start(emitter, event)
-       case yaml_MAPPING_START_EVENT:
-               return yaml_emitter_emit_mapping_start(emitter, event)
-       default:
-               return yaml_emitter_set_emitter_error(emitter,
-                       "expected SCALAR, SEQUENCE-START, MAPPING-START, or ALIAS")
-       }
-}
-
-// Expect ALIAS.
-func yaml_emitter_emit_alias(emitter *yaml_emitter_t, event *yaml_event_t) bool {
-       if !yaml_emitter_process_anchor(emitter) {
-               return false
-       }
-       emitter.state = emitter.states[len(emitter.states)-1]
-       emitter.states = emitter.states[:len(emitter.states)-1]
-       return true
-}
-
-// Expect SCALAR.
-func yaml_emitter_emit_scalar(emitter *yaml_emitter_t, event *yaml_event_t) bool {
-       if !yaml_emitter_select_scalar_style(emitter, event) {
-               return false
-       }
-       if !yaml_emitter_process_anchor(emitter) {
-               return false
-       }
-       if !yaml_emitter_process_tag(emitter) {
-               return false
-       }
-       if !yaml_emitter_increase_indent(emitter, true, false) {
-               return false
-       }
-       if !yaml_emitter_process_scalar(emitter) {
-               return false
-       }
-       emitter.indent = emitter.indents[len(emitter.indents)-1]
-       emitter.indents = emitter.indents[:len(emitter.indents)-1]
-       emitter.state = emitter.states[len(emitter.states)-1]
-       emitter.states = emitter.states[:len(emitter.states)-1]
-       return true
-}
-
-// Expect SEQUENCE-START.
-func yaml_emitter_emit_sequence_start(emitter *yaml_emitter_t, event *yaml_event_t) bool {
-       if !yaml_emitter_process_anchor(emitter) {
-               return false
-       }
-       if !yaml_emitter_process_tag(emitter) {
-               return false
-       }
-       if emitter.flow_level > 0 || emitter.canonical || event.sequence_style() == yaml_FLOW_SEQUENCE_STYLE ||
-               yaml_emitter_check_empty_sequence(emitter) {
-               emitter.state = yaml_EMIT_FLOW_SEQUENCE_FIRST_ITEM_STATE
-       } else {
-               emitter.state = yaml_EMIT_BLOCK_SEQUENCE_FIRST_ITEM_STATE
-       }
-       return true
-}
-
-// Expect MAPPING-START.
-func yaml_emitter_emit_mapping_start(emitter *yaml_emitter_t, event *yaml_event_t) bool {
-       if !yaml_emitter_process_anchor(emitter) {
-               return false
-       }
-       if !yaml_emitter_process_tag(emitter) {
-               return false
-       }
-       if emitter.flow_level > 0 || emitter.canonical || event.mapping_style() == yaml_FLOW_MAPPING_STYLE ||
-               yaml_emitter_check_empty_mapping(emitter) {
-               emitter.state = yaml_EMIT_FLOW_MAPPING_FIRST_KEY_STATE
-       } else {
-               emitter.state = yaml_EMIT_BLOCK_MAPPING_FIRST_KEY_STATE
-       }
-       return true
-}
-
-// Check if the document content is an empty scalar.
-func yaml_emitter_check_empty_document(emitter *yaml_emitter_t) bool {
-       return false // [Go] Huh?
-}
-
-// Check if the next events represent an empty sequence.
-func yaml_emitter_check_empty_sequence(emitter *yaml_emitter_t) bool {
-       if len(emitter.events)-emitter.events_head < 2 {
-               return false
-       }
-       return emitter.events[emitter.events_head].typ == yaml_SEQUENCE_START_EVENT &&
-               emitter.events[emitter.events_head+1].typ == yaml_SEQUENCE_END_EVENT
-}
-
-// Check if the next events represent an empty mapping.
-func yaml_emitter_check_empty_mapping(emitter *yaml_emitter_t) bool {
-       if len(emitter.events)-emitter.events_head < 2 {
-               return false
-       }
-       return emitter.events[emitter.events_head].typ == yaml_MAPPING_START_EVENT &&
-               emitter.events[emitter.events_head+1].typ == yaml_MAPPING_END_EVENT
-}
-
-// Check if the next node can be expressed as a simple key.
-func yaml_emitter_check_simple_key(emitter *yaml_emitter_t) bool {
-       length := 0
-       switch emitter.events[emitter.events_head].typ {
-       case yaml_ALIAS_EVENT:
-               length += len(emitter.anchor_data.anchor)
-       case yaml_SCALAR_EVENT:
-               if emitter.scalar_data.multiline {
-                       return false
-               }
-               length += len(emitter.anchor_data.anchor) +
-                       len(emitter.tag_data.handle) +
-                       len(emitter.tag_data.suffix) +
-                       len(emitter.scalar_data.value)
-       case yaml_SEQUENCE_START_EVENT:
-               if !yaml_emitter_check_empty_sequence(emitter) {
-                       return false
-               }
-               length += len(emitter.anchor_data.anchor) +
-                       len(emitter.tag_data.handle) +
-                       len(emitter.tag_data.suffix)
-       case yaml_MAPPING_START_EVENT:
-               if !yaml_emitter_check_empty_mapping(emitter) {
-                       return false
-               }
-               length += len(emitter.anchor_data.anchor) +
-                       len(emitter.tag_data.handle) +
-                       len(emitter.tag_data.suffix)
-       default:
-               return false
-       }
-       return length <= 128
-}
-
-// Determine an acceptable scalar style.
-func yaml_emitter_select_scalar_style(emitter *yaml_emitter_t, event *yaml_event_t) bool {
-
-       no_tag := len(emitter.tag_data.handle) == 0 && len(emitter.tag_data.suffix) == 0
-       if no_tag && !event.implicit && !event.quoted_implicit {
-               return yaml_emitter_set_emitter_error(emitter, "neither tag nor implicit flags are specified")
-       }
-
-       style := event.scalar_style()
-       if style == yaml_ANY_SCALAR_STYLE {
-               style = yaml_PLAIN_SCALAR_STYLE
-       }
-       if emitter.canonical {
-               style = yaml_DOUBLE_QUOTED_SCALAR_STYLE
-       }
-       if emitter.simple_key_context && emitter.scalar_data.multiline {
-               style = yaml_DOUBLE_QUOTED_SCALAR_STYLE
-       }
-
-       if style == yaml_PLAIN_SCALAR_STYLE {
-               if emitter.flow_level > 0 && !emitter.scalar_data.flow_plain_allowed ||
-                       emitter.flow_level == 0 && !emitter.scalar_data.block_plain_allowed {
-                       style = yaml_SINGLE_QUOTED_SCALAR_STYLE
-               }
-               if len(emitter.scalar_data.value) == 0 && (emitter.flow_level > 0 || emitter.simple_key_context) {
-                       style = yaml_SINGLE_QUOTED_SCALAR_STYLE
-               }
-               if no_tag && !event.implicit {
-                       style = yaml_SINGLE_QUOTED_SCALAR_STYLE
-               }
-       }
-       if style == yaml_SINGLE_QUOTED_SCALAR_STYLE {
-               if !emitter.scalar_data.single_quoted_allowed {
-                       style = yaml_DOUBLE_QUOTED_SCALAR_STYLE
-               }
-       }
-       if style == yaml_LITERAL_SCALAR_STYLE || style == yaml_FOLDED_SCALAR_STYLE {
-               if !emitter.scalar_data.block_allowed || emitter.flow_level > 0 || emitter.simple_key_context {
-                       style = yaml_DOUBLE_QUOTED_SCALAR_STYLE
-               }
-       }
-
-       if no_tag && !event.quoted_implicit && style != yaml_PLAIN_SCALAR_STYLE {
-               emitter.tag_data.handle = []byte{'!'}
-       }
-       emitter.scalar_data.style = style
-       return true
-}
-
-// Write an achor.
-func yaml_emitter_process_anchor(emitter *yaml_emitter_t) bool {
-       if emitter.anchor_data.anchor == nil {
-               return true
-       }
-       c := []byte{'&'}
-       if emitter.anchor_data.alias {
-               c[0] = '*'
-       }
-       if !yaml_emitter_write_indicator(emitter, c, true, false, false) {
-               return false
-       }
-       return yaml_emitter_write_anchor(emitter, emitter.anchor_data.anchor)
-}
-
-// Write a tag.
-func yaml_emitter_process_tag(emitter *yaml_emitter_t) bool {
-       if len(emitter.tag_data.handle) == 0 && len(emitter.tag_data.suffix) == 0 {
-               return true
-       }
-       if len(emitter.tag_data.handle) > 0 {
-               if !yaml_emitter_write_tag_handle(emitter, emitter.tag_data.handle) {
-                       return false
-               }
-               if len(emitter.tag_data.suffix) > 0 {
-                       if !yaml_emitter_write_tag_content(emitter, emitter.tag_data.suffix, false) {
-                               return false
-                       }
-               }
-       } else {
-               // [Go] Allocate these slices elsewhere.
-               if !yaml_emitter_write_indicator(emitter, []byte("!<"), true, false, false) {
-                       return false
-               }
-               if !yaml_emitter_write_tag_content(emitter, emitter.tag_data.suffix, false) {
-                       return false
-               }
-               if !yaml_emitter_write_indicator(emitter, []byte{'>'}, false, false, false) {
-                       return false
-               }
-       }
-       return true
-}
-
-// Write a scalar.
-func yaml_emitter_process_scalar(emitter *yaml_emitter_t) bool {
-       switch emitter.scalar_data.style {
-       case yaml_PLAIN_SCALAR_STYLE:
-               return yaml_emitter_write_plain_scalar(emitter, emitter.scalar_data.value, !emitter.simple_key_context)
-
-       case yaml_SINGLE_QUOTED_SCALAR_STYLE:
-               return yaml_emitter_write_single_quoted_scalar(emitter, emitter.scalar_data.value, !emitter.simple_key_context)
-
-       case yaml_DOUBLE_QUOTED_SCALAR_STYLE:
-               return yaml_emitter_write_double_quoted_scalar(emitter, emitter.scalar_data.value, !emitter.simple_key_context)
-
-       case yaml_LITERAL_SCALAR_STYLE:
-               return yaml_emitter_write_literal_scalar(emitter, emitter.scalar_data.value)
-
-       case yaml_FOLDED_SCALAR_STYLE:
-               return yaml_emitter_write_folded_scalar(emitter, emitter.scalar_data.value)
-       }
-       panic("unknown scalar style")
-}
-
-// Check if a %YAML directive is valid.
-func yaml_emitter_analyze_version_directive(emitter *yaml_emitter_t, version_directive *yaml_version_directive_t) bool {
-       if version_directive.major != 1 || version_directive.minor != 1 {
-               return yaml_emitter_set_emitter_error(emitter, "incompatible %YAML directive")
-       }
-       return true
-}
-
-// Check if a %TAG directive is valid.
-func yaml_emitter_analyze_tag_directive(emitter *yaml_emitter_t, tag_directive *yaml_tag_directive_t) bool {
-       handle := tag_directive.handle
-       prefix := tag_directive.prefix
-       if len(handle) == 0 {
-               return yaml_emitter_set_emitter_error(emitter, "tag handle must not be empty")
-       }
-       if handle[0] != '!' {
-               return yaml_emitter_set_emitter_error(emitter, "tag handle must start with '!'")
-       }
-       if handle[len(handle)-1] != '!' {
-               return yaml_emitter_set_emitter_error(emitter, "tag handle must end with '!'")
-       }
-       for i := 1; i < len(handle)-1; i += width(handle[i]) {
-               if !is_alpha(handle, i) {
-                       return yaml_emitter_set_emitter_error(emitter, "tag handle must contain alphanumerical characters only")
-               }
-       }
-       if len(prefix) == 0 {
-               return yaml_emitter_set_emitter_error(emitter, "tag prefix must not be empty")
-       }
-       return true
-}
-
-// Check if an anchor is valid.
-func yaml_emitter_analyze_anchor(emitter *yaml_emitter_t, anchor []byte, alias bool) bool {
-       if len(anchor) == 0 {
-               problem := "anchor value must not be empty"
-               if alias {
-                       problem = "alias value must not be empty"
-               }
-               return yaml_emitter_set_emitter_error(emitter, problem)
-       }
-       for i := 0; i < len(anchor); i += width(anchor[i]) {
-               if !is_alpha(anchor, i) {
-                       problem := "anchor value must contain alphanumerical characters only"
-                       if alias {
-                               problem = "alias value must contain alphanumerical characters only"
-                       }
-                       return yaml_emitter_set_emitter_error(emitter, problem)
-               }
-       }
-       emitter.anchor_data.anchor = anchor
-       emitter.anchor_data.alias = alias
-       return true
-}
-
-// Check if a tag is valid.
-func yaml_emitter_analyze_tag(emitter *yaml_emitter_t, tag []byte) bool {
-       if len(tag) == 0 {
-               return yaml_emitter_set_emitter_error(emitter, "tag value must not be empty")
-       }
-       for i := 0; i < len(emitter.tag_directives); i++ {
-               tag_directive := &emitter.tag_directives[i]
-               if bytes.HasPrefix(tag, tag_directive.prefix) {
-                       emitter.tag_data.handle = tag_directive.handle
-                       emitter.tag_data.suffix = tag[len(tag_directive.prefix):]
-                       return true
-               }
-       }
-       emitter.tag_data.suffix = tag
-       return true
-}
-
-// Check if a scalar is valid.
-func yaml_emitter_analyze_scalar(emitter *yaml_emitter_t, value []byte) bool {
-       var (
-               block_indicators   = false
-               flow_indicators    = false
-               line_breaks        = false
-               special_characters = false
-
-               leading_space  = false
-               leading_break  = false
-               trailing_space = false
-               trailing_break = false
-               break_space    = false
-               space_break    = false
-
-               preceeded_by_whitespace = false
-               followed_by_whitespace  = false
-               previous_space          = false
-               previous_break          = false
-       )
-
-       emitter.scalar_data.value = value
-
-       if len(value) == 0 {
-               emitter.scalar_data.multiline = false
-               emitter.scalar_data.flow_plain_allowed = false
-               emitter.scalar_data.block_plain_allowed = true
-               emitter.scalar_data.single_quoted_allowed = true
-               emitter.scalar_data.block_allowed = false
-               return true
-       }
-
-       if len(value) >= 3 && ((value[0] == '-' && value[1] == '-' && value[2] == '-') || (value[0] == '.' && value[1] == '.' && value[2] == '.')) {
-               block_indicators = true
-               flow_indicators = true
-       }
-
-       preceeded_by_whitespace = true
-       for i, w := 0, 0; i < len(value); i += w {
-               w = width(value[i])
-               followed_by_whitespace = i+w >= len(value) || is_blank(value, i+w)
-
-               if i == 0 {
-                       switch value[i] {
-                       case '#', ',', '[', ']', '{', '}', '&', '*', '!', '|', '>', '\'', '"', '%', '@', '`':
-                               flow_indicators = true
-                               block_indicators = true
-                       case '?', ':':
-                               flow_indicators = true
-                               if followed_by_whitespace {
-                                       block_indicators = true
-                               }
-                       case '-':
-                               if followed_by_whitespace {
-                                       flow_indicators = true
-                                       block_indicators = true
-                               }
-                       }
-               } else {
-                       switch value[i] {
-                       case ',', '?', '[', ']', '{', '}':
-                               flow_indicators = true
-                       case ':':
-                               flow_indicators = true
-                               if followed_by_whitespace {
-                                       block_indicators = true
-                               }
-                       case '#':
-                               if preceeded_by_whitespace {
-                                       flow_indicators = true
-                                       block_indicators = true
-                               }
-                       }
-               }
-
-               if !is_printable(value, i) || !is_ascii(value, i) && !emitter.unicode {
-                       special_characters = true
-               }
-               if is_space(value, i) {
-                       if i == 0 {
-                               leading_space = true
-                       }
-                       if i+width(value[i]) == len(value) {
-                               trailing_space = true
-                       }
-                       if previous_break {
-                               break_space = true
-                       }
-                       previous_space = true
-                       previous_break = false
-               } else if is_break(value, i) {
-                       line_breaks = true
-                       if i == 0 {
-                               leading_break = true
-                       }
-                       if i+width(value[i]) == len(value) {
-                               trailing_break = true
-                       }
-                       if previous_space {
-                               space_break = true
-                       }
-                       previous_space = false
-                       previous_break = true
-               } else {
-                       previous_space = false
-                       previous_break = false
-               }
-
-               // [Go]: Why 'z'? Couldn't be the end of the string as that's the loop condition.
-               preceeded_by_whitespace = is_blankz(value, i)
-       }
-
-       emitter.scalar_data.multiline = line_breaks
-       emitter.scalar_data.flow_plain_allowed = true
-       emitter.scalar_data.block_plain_allowed = true
-       emitter.scalar_data.single_quoted_allowed = true
-       emitter.scalar_data.block_allowed = true
-
-       if leading_space || leading_break || trailing_space || trailing_break {
-               emitter.scalar_data.flow_plain_allowed = false
-               emitter.scalar_data.block_plain_allowed = false
-       }
-       if trailing_space {
-               emitter.scalar_data.block_allowed = false
-       }
-       if break_space {
-               emitter.scalar_data.flow_plain_allowed = false
-               emitter.scalar_data.block_plain_allowed = false
-               emitter.scalar_data.single_quoted_allowed = false
-       }
-       if space_break || special_characters {
-               emitter.scalar_data.flow_plain_allowed = false
-               emitter.scalar_data.block_plain_allowed = false
-               emitter.scalar_data.single_quoted_allowed = false
-               emitter.scalar_data.block_allowed = false
-       }
-       if line_breaks {
-               emitter.scalar_data.flow_plain_allowed = false
-               emitter.scalar_data.block_plain_allowed = false
-       }
-       if flow_indicators {
-               emitter.scalar_data.flow_plain_allowed = false
-       }
-       if block_indicators {
-               emitter.scalar_data.block_plain_allowed = false
-       }
-       return true
-}
-
-// Check if the event data is valid.
-func yaml_emitter_analyze_event(emitter *yaml_emitter_t, event *yaml_event_t) bool {
-
-       emitter.anchor_data.anchor = nil
-       emitter.tag_data.handle = nil
-       emitter.tag_data.suffix = nil
-       emitter.scalar_data.value = nil
-
-       switch event.typ {
-       case yaml_ALIAS_EVENT:
-               if !yaml_emitter_analyze_anchor(emitter, event.anchor, true) {
-                       return false
-               }
-
-       case yaml_SCALAR_EVENT:
-               if len(event.anchor) > 0 {
-                       if !yaml_emitter_analyze_anchor(emitter, event.anchor, false) {
-                               return false
-                       }
-               }
-               if len(event.tag) > 0 && (emitter.canonical || (!event.implicit && !event.quoted_implicit)) {
-                       if !yaml_emitter_analyze_tag(emitter, event.tag) {
-                               return false
-                       }
-               }
-               if !yaml_emitter_analyze_scalar(emitter, event.value) {
-                       return false
-               }
-
-       case yaml_SEQUENCE_START_EVENT:
-               if len(event.anchor) > 0 {
-                       if !yaml_emitter_analyze_anchor(emitter, event.anchor, false) {
-                               return false
-                       }
-               }
-               if len(event.tag) > 0 && (emitter.canonical || !event.implicit) {
-                       if !yaml_emitter_analyze_tag(emitter, event.tag) {
-                               return false
-                       }
-               }
-
-       case yaml_MAPPING_START_EVENT:
-               if len(event.anchor) > 0 {
-                       if !yaml_emitter_analyze_anchor(emitter, event.anchor, false) {
-                               return false
-                       }
-               }
-               if len(event.tag) > 0 && (emitter.canonical || !event.implicit) {
-                       if !yaml_emitter_analyze_tag(emitter, event.tag) {
-                               return false
-                       }
-               }
-       }
-       return true
-}
-
-// Write the BOM character.
-func yaml_emitter_write_bom(emitter *yaml_emitter_t) bool {
-       if !flush(emitter) {
-               return false
-       }
-       pos := emitter.buffer_pos
-       emitter.buffer[pos+0] = '\xEF'
-       emitter.buffer[pos+1] = '\xBB'
-       emitter.buffer[pos+2] = '\xBF'
-       emitter.buffer_pos += 3
-       return true
-}
-
-func yaml_emitter_write_indent(emitter *yaml_emitter_t) bool {
-       indent := emitter.indent
-       if indent < 0 {
-               indent = 0
-       }
-       if !emitter.indention || emitter.column > indent || (emitter.column == indent && !emitter.whitespace) {
-               if !put_break(emitter) {
-                       return false
-               }
-       }
-       for emitter.column < indent {
-               if !put(emitter, ' ') {
-                       return false
-               }
-       }
-       emitter.whitespace = true
-       emitter.indention = true
-       return true
-}
-
-func yaml_emitter_write_indicator(emitter *yaml_emitter_t, indicator []byte, need_whitespace, is_whitespace, is_indention bool) bool {
-       if need_whitespace && !emitter.whitespace {
-               if !put(emitter, ' ') {
-                       return false
-               }
-       }
-       if !write_all(emitter, indicator) {
-               return false
-       }
-       emitter.whitespace = is_whitespace
-       emitter.indention = (emitter.indention && is_indention)
-       emitter.open_ended = false
-       return true
-}
-
-func yaml_emitter_write_anchor(emitter *yaml_emitter_t, value []byte) bool {
-       if !write_all(emitter, value) {
-               return false
-       }
-       emitter.whitespace = false
-       emitter.indention = false
-       return true
-}
-
-func yaml_emitter_write_tag_handle(emitter *yaml_emitter_t, value []byte) bool {
-       if !emitter.whitespace {
-               if !put(emitter, ' ') {
-                       return false
-               }
-       }
-       if !write_all(emitter, value) {
-               return false
-       }
-       emitter.whitespace = false
-       emitter.indention = false
-       return true
-}
-
-func yaml_emitter_write_tag_content(emitter *yaml_emitter_t, value []byte, need_whitespace bool) bool {
-       if need_whitespace && !emitter.whitespace {
-               if !put(emitter, ' ') {
-                       return false
-               }
-       }
-       for i := 0; i < len(value); {
-               var must_write bool
-               switch value[i] {
-               case ';', '/', '?', ':', '@', '&', '=', '+', '$', ',', '_', '.', '~', '*', '\'', '(', ')', '[', ']':
-                       must_write = true
-               default:
-                       must_write = is_alpha(value, i)
-               }
-               if must_write {
-                       if !write(emitter, value, &i) {
-                               return false
-                       }
-               } else {
-                       w := width(value[i])
-                       for k := 0; k < w; k++ {
-                               octet := value[i]
-                               i++
-                               if !put(emitter, '%') {
-                                       return false
-                               }
-
-                               c := octet >> 4
-                               if c < 10 {
-                                       c += '0'
-                               } else {
-                                       c += 'A' - 10
-                               }
-                               if !put(emitter, c) {
-                                       return false
-                               }
-
-                               c = octet & 0x0f
-                               if c < 10 {
-                                       c += '0'
-                               } else {
-                                       c += 'A' - 10
-                               }
-                               if !put(emitter, c) {
-                                       return false
-                               }
-                       }
-               }
-       }
-       emitter.whitespace = false
-       emitter.indention = false
-       return true
-}
-
-func yaml_emitter_write_plain_scalar(emitter *yaml_emitter_t, value []byte, allow_breaks bool) bool {
-       if !emitter.whitespace {
-               if !put(emitter, ' ') {
-                       return false
-               }
-       }
-
-       spaces := false
-       breaks := false
-       for i := 0; i < len(value); {
-               if is_space(value, i) {
-                       if allow_breaks && !spaces && emitter.column > emitter.best_width && !is_space(value, i+1) {
-                               if !yaml_emitter_write_indent(emitter) {
-                                       return false
-                               }
-                               i += width(value[i])
-                       } else {
-                               if !write(emitter, value, &i) {
-                                       return false
-                               }
-                       }
-                       spaces = true
-               } else if is_break(value, i) {
-                       if !breaks && value[i] == '\n' {
-                               if !put_break(emitter) {
-                                       return false
-                               }
-                       }
-                       if !write_break(emitter, value, &i) {
-                               return false
-                       }
-                       emitter.indention = true
-                       breaks = true
-               } else {
-                       if breaks {
-                               if !yaml_emitter_write_indent(emitter) {
-                                       return false
-                               }
-                       }
-                       if !write(emitter, value, &i) {
-                               return false
-                       }
-                       emitter.indention = false
-                       spaces = false
-                       breaks = false
-               }
-       }
-
-       emitter.whitespace = false
-       emitter.indention = false
-       if emitter.root_context {
-               emitter.open_ended = true
-       }
-
-       return true
-}
-
-func yaml_emitter_write_single_quoted_scalar(emitter *yaml_emitter_t, value []byte, allow_breaks bool) bool {
-
-       if !yaml_emitter_write_indicator(emitter, []byte{'\''}, true, false, false) {
-               return false
-       }
-
-       spaces := false
-       breaks := false
-       for i := 0; i < len(value); {
-               if is_space(value, i) {
-                       if allow_breaks && !spaces && emitter.column > emitter.best_width && i > 0 && i < len(value)-1 && !is_space(value, i+1) {
-                               if !yaml_emitter_write_indent(emitter) {
-                                       return false
-                               }
-                               i += width(value[i])
-                       } else {
-                               if !write(emitter, value, &i) {
-                                       return false
-                               }
-                       }
-                       spaces = true
-               } else if is_break(value, i) {
-                       if !breaks && value[i] == '\n' {
-                               if !put_break(emitter) {
-                                       return false
-                               }
-                       }
-                       if !write_break(emitter, value, &i) {
-                               return false
-                       }
-                       emitter.indention = true
-                       breaks = true
-               } else {
-                       if breaks {
-                               if !yaml_emitter_write_indent(emitter) {
-                                       return false
-                               }
-                       }
-                       if value[i] == '\'' {
-                               if !put(emitter, '\'') {
-                                       return false
-                               }
-                       }
-                       if !write(emitter, value, &i) {
-                               return false
-                       }
-                       emitter.indention = false
-                       spaces = false
-                       breaks = false
-               }
-       }
-       if !yaml_emitter_write_indicator(emitter, []byte{'\''}, false, false, false) {
-               return false
-       }
-       emitter.whitespace = false
-       emitter.indention = false
-       return true
-}
-
-func yaml_emitter_write_double_quoted_scalar(emitter *yaml_emitter_t, value []byte, allow_breaks bool) bool {
-       spaces := false
-       if !yaml_emitter_write_indicator(emitter, []byte{'"'}, true, false, false) {
-               return false
-       }
-
-       for i := 0; i < len(value); {
-               if !is_printable(value, i) || (!emitter.unicode && !is_ascii(value, i)) ||
-                       is_bom(value, i) || is_break(value, i) ||
-                       value[i] == '"' || value[i] == '\\' {
-
-                       octet := value[i]
-
-                       var w int
-                       var v rune
-                       switch {
-                       case octet&0x80 == 0x00:
-                               w, v = 1, rune(octet&0x7F)
-                       case octet&0xE0 == 0xC0:
-                               w, v = 2, rune(octet&0x1F)
-                       case octet&0xF0 == 0xE0:
-                               w, v = 3, rune(octet&0x0F)
-                       case octet&0xF8 == 0xF0:
-                               w, v = 4, rune(octet&0x07)
-                       }
-                       for k := 1; k < w; k++ {
-                               octet = value[i+k]
-                               v = (v << 6) + (rune(octet) & 0x3F)
-                       }
-                       i += w
-
-                       if !put(emitter, '\\') {
-                               return false
-                       }
-
-                       var ok bool
-                       switch v {
-                       case 0x00:
-                               ok = put(emitter, '0')
-                       case 0x07:
-                               ok = put(emitter, 'a')
-                       case 0x08:
-                               ok = put(emitter, 'b')
-                       case 0x09:
-                               ok = put(emitter, 't')
-                       case 0x0A:
-                               ok = put(emitter, 'n')
-                       case 0x0b:
-                               ok = put(emitter, 'v')
-                       case 0x0c:
-                               ok = put(emitter, 'f')
-                       case 0x0d:
-                               ok = put(emitter, 'r')
-                       case 0x1b:
-                               ok = put(emitter, 'e')
-                       case 0x22:
-                               ok = put(emitter, '"')
-                       case 0x5c:
-                               ok = put(emitter, '\\')
-                       case 0x85:
-                               ok = put(emitter, 'N')
-                       case 0xA0:
-                               ok = put(emitter, '_')
-                       case 0x2028:
-                               ok = put(emitter, 'L')
-                       case 0x2029:
-                               ok = put(emitter, 'P')
-                       default:
-                               if v <= 0xFF {
-                                       ok = put(emitter, 'x')
-                                       w = 2
-                               } else if v <= 0xFFFF {
-                                       ok = put(emitter, 'u')
-                                       w = 4
-                               } else {
-                                       ok = put(emitter, 'U')
-                                       w = 8
-                               }
-                               for k := (w - 1) * 4; ok && k >= 0; k -= 4 {
-                                       digit := byte((v >> uint(k)) & 0x0F)
-                                       if digit < 10 {
-                                               ok = put(emitter, digit+'0')
-                                       } else {
-                                               ok = put(emitter, digit+'A'-10)
-                                       }
-                               }
-                       }
-                       if !ok {
-                               return false
-                       }
-                       spaces = false
-               } else if is_space(value, i) {
-                       if allow_breaks && !spaces && emitter.column > emitter.best_width && i > 0 && i < len(value)-1 {
-                               if !yaml_emitter_write_indent(emitter) {
-                                       return false
-                               }
-                               if is_space(value, i+1) {
-                                       if !put(emitter, '\\') {
-                                               return false
-                                       }
-                               }
-                               i += width(value[i])
-                       } else if !write(emitter, value, &i) {
-                               return false
-                       }
-                       spaces = true
-               } else {
-                       if !write(emitter, value, &i) {
-                               return false
-                       }
-                       spaces = false
-               }
-       }
-       if !yaml_emitter_write_indicator(emitter, []byte{'"'}, false, false, false) {
-               return false
-       }
-       emitter.whitespace = false
-       emitter.indention = false
-       return true
-}
-
-func yaml_emitter_write_block_scalar_hints(emitter *yaml_emitter_t, value []byte) bool {
-       if is_space(value, 0) || is_break(value, 0) {
-               indent_hint := []byte{'0' + byte(emitter.best_indent)}
-               if !yaml_emitter_write_indicator(emitter, indent_hint, false, false, false) {
-                       return false
-               }
-       }
-
-       emitter.open_ended = false
-
-       var chomp_hint [1]byte
-       if len(value) == 0 {
-               chomp_hint[0] = '-'
-       } else {
-               i := len(value) - 1
-               for value[i]&0xC0 == 0x80 {
-                       i--
-               }
-               if !is_break(value, i) {
-                       chomp_hint[0] = '-'
-               } else if i == 0 {
-                       chomp_hint[0] = '+'
-                       emitter.open_ended = true
-               } else {
-                       i--
-                       for value[i]&0xC0 == 0x80 {
-                               i--
-                       }
-                       if is_break(value, i) {
-                               chomp_hint[0] = '+'
-                               emitter.open_ended = true
-                       }
-               }
-       }
-       if chomp_hint[0] != 0 {
-               if !yaml_emitter_write_indicator(emitter, chomp_hint[:], false, false, false) {
-                       return false
-               }
-       }
-       return true
-}
-
-func yaml_emitter_write_literal_scalar(emitter *yaml_emitter_t, value []byte) bool {
-       if !yaml_emitter_write_indicator(emitter, []byte{'|'}, true, false, false) {
-               return false
-       }
-       if !yaml_emitter_write_block_scalar_hints(emitter, value) {
-               return false
-       }
-       if !put_break(emitter) {
-               return false
-       }
-       emitter.indention = true
-       emitter.whitespace = true
-       breaks := true
-       for i := 0; i < len(value); {
-               if is_break(value, i) {
-                       if !write_break(emitter, value, &i) {
-                               return false
-                       }
-                       emitter.indention = true
-                       breaks = true
-               } else {
-                       if breaks {
-                               if !yaml_emitter_write_indent(emitter) {
-                                       return false
-                               }
-                       }
-                       if !write(emitter, value, &i) {
-                               return false
-                       }
-                       emitter.indention = false
-                       breaks = false
-               }
-       }
-
-       return true
-}
-
-func yaml_emitter_write_folded_scalar(emitter *yaml_emitter_t, value []byte) bool {
-       if !yaml_emitter_write_indicator(emitter, []byte{'>'}, true, false, false) {
-               return false
-       }
-       if !yaml_emitter_write_block_scalar_hints(emitter, value) {
-               return false
-       }
-
-       if !put_break(emitter) {
-               return false
-       }
-       emitter.indention = true
-       emitter.whitespace = true
-
-       breaks := true
-       leading_spaces := true
-       for i := 0; i < len(value); {
-               if is_break(value, i) {
-                       if !breaks && !leading_spaces && value[i] == '\n' {
-                               k := 0
-                               for is_break(value, k) {
-                                       k += width(value[k])
-                               }
-                               if !is_blankz(value, k) {
-                                       if !put_break(emitter) {
-                                               return false
-                                       }
-                               }
-                       }
-                       if !write_break(emitter, value, &i) {
-                               return false
-                       }
-                       emitter.indention = true
-                       breaks = true
-               } else {
-                       if breaks {
-                               if !yaml_emitter_write_indent(emitter) {
-                                       return false
-                               }
-                               leading_spaces = is_blank(value, i)
-                       }
-                       if !breaks && is_space(value, i) && !is_space(value, i+1) && emitter.column > emitter.best_width {
-                               if !yaml_emitter_write_indent(emitter) {
-                                       return false
-                               }
-                               i += width(value[i])
-                       } else {
-                               if !write(emitter, value, &i) {
-                                       return false
-                               }
-                       }
-                       emitter.indention = false
-                       breaks = false
-               }
-       }
-       return true
-}
diff --git a/vendor/gopkg.in/yaml.v2/encode.go b/vendor/gopkg.in/yaml.v2/encode.go
deleted file mode 100644 (file)
index 84f8499..0000000
+++ /dev/null
@@ -1,306 +0,0 @@
-package yaml
-
-import (
-       "encoding"
-       "fmt"
-       "reflect"
-       "regexp"
-       "sort"
-       "strconv"
-       "strings"
-       "time"
-)
-
-type encoder struct {
-       emitter yaml_emitter_t
-       event   yaml_event_t
-       out     []byte
-       flow    bool
-}
-
-func newEncoder() (e *encoder) {
-       e = &encoder{}
-       e.must(yaml_emitter_initialize(&e.emitter))
-       yaml_emitter_set_output_string(&e.emitter, &e.out)
-       yaml_emitter_set_unicode(&e.emitter, true)
-       e.must(yaml_stream_start_event_initialize(&e.event, yaml_UTF8_ENCODING))
-       e.emit()
-       e.must(yaml_document_start_event_initialize(&e.event, nil, nil, true))
-       e.emit()
-       return e
-}
-
-func (e *encoder) finish() {
-       e.must(yaml_document_end_event_initialize(&e.event, true))
-       e.emit()
-       e.emitter.open_ended = false
-       e.must(yaml_stream_end_event_initialize(&e.event))
-       e.emit()
-}
-
-func (e *encoder) destroy() {
-       yaml_emitter_delete(&e.emitter)
-}
-
-func (e *encoder) emit() {
-       // This will internally delete the e.event value.
-       if !yaml_emitter_emit(&e.emitter, &e.event) && e.event.typ != yaml_DOCUMENT_END_EVENT && e.event.typ != yaml_STREAM_END_EVENT {
-               e.must(false)
-       }
-}
-
-func (e *encoder) must(ok bool) {
-       if !ok {
-               msg := e.emitter.problem
-               if msg == "" {
-                       msg = "unknown problem generating YAML content"
-               }
-               failf("%s", msg)
-       }
-}
-
-func (e *encoder) marshal(tag string, in reflect.Value) {
-       if !in.IsValid() {
-               e.nilv()
-               return
-       }
-       iface := in.Interface()
-       if m, ok := iface.(Marshaler); ok {
-               v, err := m.MarshalYAML()
-               if err != nil {
-                       fail(err)
-               }
-               if v == nil {
-                       e.nilv()
-                       return
-               }
-               in = reflect.ValueOf(v)
-       } else if m, ok := iface.(encoding.TextMarshaler); ok {
-               text, err := m.MarshalText()
-               if err != nil {
-                       fail(err)
-               }
-               in = reflect.ValueOf(string(text))
-       }
-       switch in.Kind() {
-       case reflect.Interface:
-               if in.IsNil() {
-                       e.nilv()
-               } else {
-                       e.marshal(tag, in.Elem())
-               }
-       case reflect.Map:
-               e.mapv(tag, in)
-       case reflect.Ptr:
-               if in.IsNil() {
-                       e.nilv()
-               } else {
-                       e.marshal(tag, in.Elem())
-               }
-       case reflect.Struct:
-               e.structv(tag, in)
-       case reflect.Slice:
-               if in.Type().Elem() == mapItemType {
-                       e.itemsv(tag, in)
-               } else {
-                       e.slicev(tag, in)
-               }
-       case reflect.String:
-               e.stringv(tag, in)
-       case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
-               if in.Type() == durationType {
-                       e.stringv(tag, reflect.ValueOf(iface.(time.Duration).String()))
-               } else {
-                       e.intv(tag, in)
-               }
-       case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr:
-               e.uintv(tag, in)
-       case reflect.Float32, reflect.Float64:
-               e.floatv(tag, in)
-       case reflect.Bool:
-               e.boolv(tag, in)
-       default:
-               panic("cannot marshal type: " + in.Type().String())
-       }
-}
-
-func (e *encoder) mapv(tag string, in reflect.Value) {
-       e.mappingv(tag, func() {
-               keys := keyList(in.MapKeys())
-               sort.Sort(keys)
-               for _, k := range keys {
-                       e.marshal("", k)
-                       e.marshal("", in.MapIndex(k))
-               }
-       })
-}
-
-func (e *encoder) itemsv(tag string, in reflect.Value) {
-       e.mappingv(tag, func() {
-               slice := in.Convert(reflect.TypeOf([]MapItem{})).Interface().([]MapItem)
-               for _, item := range slice {
-                       e.marshal("", reflect.ValueOf(item.Key))
-                       e.marshal("", reflect.ValueOf(item.Value))
-               }
-       })
-}
-
-func (e *encoder) structv(tag string, in reflect.Value) {
-       sinfo, err := getStructInfo(in.Type())
-       if err != nil {
-               panic(err)
-       }
-       e.mappingv(tag, func() {
-               for _, info := range sinfo.FieldsList {
-                       var value reflect.Value
-                       if info.Inline == nil {
-                               value = in.Field(info.Num)
-                       } else {
-                               value = in.FieldByIndex(info.Inline)
-                       }
-                       if info.OmitEmpty && isZero(value) {
-                               continue
-                       }
-                       e.marshal("", reflect.ValueOf(info.Key))
-                       e.flow = info.Flow
-                       e.marshal("", value)
-               }
-               if sinfo.InlineMap >= 0 {
-                       m := in.Field(sinfo.InlineMap)
-                       if m.Len() > 0 {
-                               e.flow = false
-                               keys := keyList(m.MapKeys())
-                               sort.Sort(keys)
-                               for _, k := range keys {
-                                       if _, found := sinfo.FieldsMap[k.String()]; found {
-                                               panic(fmt.Sprintf("Can't have key %q in inlined map; conflicts with struct field", k.String()))
-                                       }
-                                       e.marshal("", k)
-                                       e.flow = false
-                                       e.marshal("", m.MapIndex(k))
-                               }
-                       }
-               }
-       })
-}
-
-func (e *encoder) mappingv(tag string, f func()) {
-       implicit := tag == ""
-       style := yaml_BLOCK_MAPPING_STYLE
-       if e.flow {
-               e.flow = false
-               style = yaml_FLOW_MAPPING_STYLE
-       }
-       e.must(yaml_mapping_start_event_initialize(&e.event, nil, []byte(tag), implicit, style))
-       e.emit()
-       f()
-       e.must(yaml_mapping_end_event_initialize(&e.event))
-       e.emit()
-}
-
-func (e *encoder) slicev(tag string, in reflect.Value) {
-       implicit := tag == ""
-       style := yaml_BLOCK_SEQUENCE_STYLE
-       if e.flow {
-               e.flow = false
-               style = yaml_FLOW_SEQUENCE_STYLE
-       }
-       e.must(yaml_sequence_start_event_initialize(&e.event, nil, []byte(tag), implicit, style))
-       e.emit()
-       n := in.Len()
-       for i := 0; i < n; i++ {
-               e.marshal("", in.Index(i))
-       }
-       e.must(yaml_sequence_end_event_initialize(&e.event))
-       e.emit()
-}
-
-// isBase60 returns whether s is in base 60 notation as defined in YAML 1.1.
-//
-// The base 60 float notation in YAML 1.1 is a terrible idea and is unsupported
-// in YAML 1.2 and by this package, but these should be marshalled quoted for
-// the time being for compatibility with other parsers.
-func isBase60Float(s string) (result bool) {
-       // Fast path.
-       if s == "" {
-               return false
-       }
-       c := s[0]
-       if !(c == '+' || c == '-' || c >= '0' && c <= '9') || strings.IndexByte(s, ':') < 0 {
-               return false
-       }
-       // Do the full match.
-       return base60float.MatchString(s)
-}
-
-// From http://yaml.org/type/float.html, except the regular expression there
-// is bogus. In practice parsers do not enforce the "\.[0-9_]*" suffix.
-var base60float = regexp.MustCompile(`^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+(?:\.[0-9_]*)?$`)
-
-func (e *encoder) stringv(tag string, in reflect.Value) {
-       var style yaml_scalar_style_t
-       s := in.String()
-       rtag, rs := resolve("", s)
-       if rtag == yaml_BINARY_TAG {
-               if tag == "" || tag == yaml_STR_TAG {
-                       tag = rtag
-                       s = rs.(string)
-               } else if tag == yaml_BINARY_TAG {
-                       failf("explicitly tagged !!binary data must be base64-encoded")
-               } else {
-                       failf("cannot marshal invalid UTF-8 data as %s", shortTag(tag))
-               }
-       }
-       if tag == "" && (rtag != yaml_STR_TAG || isBase60Float(s)) {
-               style = yaml_DOUBLE_QUOTED_SCALAR_STYLE
-       } else if strings.Contains(s, "\n") {
-               style = yaml_LITERAL_SCALAR_STYLE
-       } else {
-               style = yaml_PLAIN_SCALAR_STYLE
-       }
-       e.emitScalar(s, "", tag, style)
-}
-
-func (e *encoder) boolv(tag string, in reflect.Value) {
-       var s string
-       if in.Bool() {
-               s = "true"
-       } else {
-               s = "false"
-       }
-       e.emitScalar(s, "", tag, yaml_PLAIN_SCALAR_STYLE)
-}
-
-func (e *encoder) intv(tag string, in reflect.Value) {
-       s := strconv.FormatInt(in.Int(), 10)
-       e.emitScalar(s, "", tag, yaml_PLAIN_SCALAR_STYLE)
-}
-
-func (e *encoder) uintv(tag string, in reflect.Value) {
-       s := strconv.FormatUint(in.Uint(), 10)
-       e.emitScalar(s, "", tag, yaml_PLAIN_SCALAR_STYLE)
-}
-
-func (e *encoder) floatv(tag string, in reflect.Value) {
-       // FIXME: Handle 64 bits here.
-       s := strconv.FormatFloat(float64(in.Float()), 'g', -1, 32)
-       switch s {
-       case "+Inf":
-               s = ".inf"
-       case "-Inf":
-               s = "-.inf"
-       case "NaN":
-               s = ".nan"
-       }
-       e.emitScalar(s, "", tag, yaml_PLAIN_SCALAR_STYLE)
-}
-
-func (e *encoder) nilv() {
-       e.emitScalar("null", "", "", yaml_PLAIN_SCALAR_STYLE)
-}
-
-func (e *encoder) emitScalar(value, anchor, tag string, style yaml_scalar_style_t) {
-       implicit := tag == ""
-       e.must(yaml_scalar_event_initialize(&e.event, []byte(anchor), []byte(tag), []byte(value), implicit, implicit, style))
-       e.emit()
-}
diff --git a/vendor/gopkg.in/yaml.v2/parserc.go b/vendor/gopkg.in/yaml.v2/parserc.go
deleted file mode 100644 (file)
index 81d05df..0000000
+++ /dev/null
@@ -1,1095 +0,0 @@
-package yaml
-
-import (
-       "bytes"
-)
-
-// The parser implements the following grammar:
-//
-// stream               ::= STREAM-START implicit_document? explicit_document* STREAM-END
-// implicit_document    ::= block_node DOCUMENT-END*
-// explicit_document    ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END*
-// block_node_or_indentless_sequence    ::=
-//                          ALIAS
-//                          | properties (block_content | indentless_block_sequence)?
-//                          | block_content
-//                          | indentless_block_sequence
-// block_node           ::= ALIAS
-//                          | properties block_content?
-//                          | block_content
-// flow_node            ::= ALIAS
-//                          | properties flow_content?
-//                          | flow_content
-// properties           ::= TAG ANCHOR? | ANCHOR TAG?
-// block_content        ::= block_collection | flow_collection | SCALAR
-// flow_content         ::= flow_collection | SCALAR
-// block_collection     ::= block_sequence | block_mapping
-// flow_collection      ::= flow_sequence | flow_mapping
-// block_sequence       ::= BLOCK-SEQUENCE-START (BLOCK-ENTRY block_node?)* BLOCK-END
-// indentless_sequence  ::= (BLOCK-ENTRY block_node?)+
-// block_mapping        ::= BLOCK-MAPPING_START
-//                          ((KEY block_node_or_indentless_sequence?)?
-//                          (VALUE block_node_or_indentless_sequence?)?)*
-//                          BLOCK-END
-// flow_sequence        ::= FLOW-SEQUENCE-START
-//                          (flow_sequence_entry FLOW-ENTRY)*
-//                          flow_sequence_entry?
-//                          FLOW-SEQUENCE-END
-// flow_sequence_entry  ::= flow_node | KEY flow_node? (VALUE flow_node?)?
-// flow_mapping         ::= FLOW-MAPPING-START
-//                          (flow_mapping_entry FLOW-ENTRY)*
-//                          flow_mapping_entry?
-//                          FLOW-MAPPING-END
-// flow_mapping_entry   ::= flow_node | KEY flow_node? (VALUE flow_node?)?
-
-// Peek the next token in the token queue.
-func peek_token(parser *yaml_parser_t) *yaml_token_t {
-       if parser.token_available || yaml_parser_fetch_more_tokens(parser) {
-               return &parser.tokens[parser.tokens_head]
-       }
-       return nil
-}
-
-// Remove the next token from the queue (must be called after peek_token).
-func skip_token(parser *yaml_parser_t) {
-       parser.token_available = false
-       parser.tokens_parsed++
-       parser.stream_end_produced = parser.tokens[parser.tokens_head].typ == yaml_STREAM_END_TOKEN
-       parser.tokens_head++
-}
-
-// Get the next event.
-func yaml_parser_parse(parser *yaml_parser_t, event *yaml_event_t) bool {
-       // Erase the event object.
-       *event = yaml_event_t{}
-
-       // No events after the end of the stream or error.
-       if parser.stream_end_produced || parser.error != yaml_NO_ERROR || parser.state == yaml_PARSE_END_STATE {
-               return true
-       }
-
-       // Generate the next event.
-       return yaml_parser_state_machine(parser, event)
-}
-
-// Set parser error.
-func yaml_parser_set_parser_error(parser *yaml_parser_t, problem string, problem_mark yaml_mark_t) bool {
-       parser.error = yaml_PARSER_ERROR
-       parser.problem = problem
-       parser.problem_mark = problem_mark
-       return false
-}
-
-func yaml_parser_set_parser_error_context(parser *yaml_parser_t, context string, context_mark yaml_mark_t, problem string, problem_mark yaml_mark_t) bool {
-       parser.error = yaml_PARSER_ERROR
-       parser.context = context
-       parser.context_mark = context_mark
-       parser.problem = problem
-       parser.problem_mark = problem_mark
-       return false
-}
-
-// State dispatcher.
-func yaml_parser_state_machine(parser *yaml_parser_t, event *yaml_event_t) bool {
-       //trace("yaml_parser_state_machine", "state:", parser.state.String())
-
-       switch parser.state {
-       case yaml_PARSE_STREAM_START_STATE:
-               return yaml_parser_parse_stream_start(parser, event)
-
-       case yaml_PARSE_IMPLICIT_DOCUMENT_START_STATE:
-               return yaml_parser_parse_document_start(parser, event, true)
-
-       case yaml_PARSE_DOCUMENT_START_STATE:
-               return yaml_parser_parse_document_start(parser, event, false)
-
-       case yaml_PARSE_DOCUMENT_CONTENT_STATE:
-               return yaml_parser_parse_document_content(parser, event)
-
-       case yaml_PARSE_DOCUMENT_END_STATE:
-               return yaml_parser_parse_document_end(parser, event)
-
-       case yaml_PARSE_BLOCK_NODE_STATE:
-               return yaml_parser_parse_node(parser, event, true, false)
-
-       case yaml_PARSE_BLOCK_NODE_OR_INDENTLESS_SEQUENCE_STATE:
-               return yaml_parser_parse_node(parser, event, true, true)
-
-       case yaml_PARSE_FLOW_NODE_STATE:
-               return yaml_parser_parse_node(parser, event, false, false)
-
-       case yaml_PARSE_BLOCK_SEQUENCE_FIRST_ENTRY_STATE:
-               return yaml_parser_parse_block_sequence_entry(parser, event, true)
-
-       case yaml_PARSE_BLOCK_SEQUENCE_ENTRY_STATE:
-               return yaml_parser_parse_block_sequence_entry(parser, event, false)
-
-       case yaml_PARSE_INDENTLESS_SEQUENCE_ENTRY_STATE:
-               return yaml_parser_parse_indentless_sequence_entry(parser, event)
-
-       case yaml_PARSE_BLOCK_MAPPING_FIRST_KEY_STATE:
-               return yaml_parser_parse_block_mapping_key(parser, event, true)
-
-       case yaml_PARSE_BLOCK_MAPPING_KEY_STATE:
-               return yaml_parser_parse_block_mapping_key(parser, event, false)
-
-       case yaml_PARSE_BLOCK_MAPPING_VALUE_STATE:
-               return yaml_parser_parse_block_mapping_value(parser, event)
-
-       case yaml_PARSE_FLOW_SEQUENCE_FIRST_ENTRY_STATE:
-               return yaml_parser_parse_flow_sequence_entry(parser, event, true)
-
-       case yaml_PARSE_FLOW_SEQUENCE_ENTRY_STATE:
-               return yaml_parser_parse_flow_sequence_entry(parser, event, false)
-
-       case yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_KEY_STATE:
-               return yaml_parser_parse_flow_sequence_entry_mapping_key(parser, event)
-
-       case yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_VALUE_STATE:
-               return yaml_parser_parse_flow_sequence_entry_mapping_value(parser, event)
-
-       case yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_END_STATE:
-               return yaml_parser_parse_flow_sequence_entry_mapping_end(parser, event)
-
-       case yaml_PARSE_FLOW_MAPPING_FIRST_KEY_STATE:
-               return yaml_parser_parse_flow_mapping_key(parser, event, true)
-
-       case yaml_PARSE_FLOW_MAPPING_KEY_STATE:
-               return yaml_parser_parse_flow_mapping_key(parser, event, false)
-
-       case yaml_PARSE_FLOW_MAPPING_VALUE_STATE:
-               return yaml_parser_parse_flow_mapping_value(parser, event, false)
-
-       case yaml_PARSE_FLOW_MAPPING_EMPTY_VALUE_STATE:
-               return yaml_parser_parse_flow_mapping_value(parser, event, true)
-
-       default:
-               panic("invalid parser state")
-       }
-}
-
-// Parse the production:
-// stream   ::= STREAM-START implicit_document? explicit_document* STREAM-END
-//              ************
-func yaml_parser_parse_stream_start(parser *yaml_parser_t, event *yaml_event_t) bool {
-       token := peek_token(parser)
-       if token == nil {
-               return false
-       }
-       if token.typ != yaml_STREAM_START_TOKEN {
-               return yaml_parser_set_parser_error(parser, "did not find expected <stream-start>", token.start_mark)
-       }
-       parser.state = yaml_PARSE_IMPLICIT_DOCUMENT_START_STATE
-       *event = yaml_event_t{
-               typ:        yaml_STREAM_START_EVENT,
-               start_mark: token.start_mark,
-               end_mark:   token.end_mark,
-               encoding:   token.encoding,
-       }
-       skip_token(parser)
-       return true
-}
-
-// Parse the productions:
-// implicit_document    ::= block_node DOCUMENT-END*
-//                          *
-// explicit_document    ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END*
-//                          *************************
-func yaml_parser_parse_document_start(parser *yaml_parser_t, event *yaml_event_t, implicit bool) bool {
-
-       token := peek_token(parser)
-       if token == nil {
-               return false
-       }
-
-       // Parse extra document end indicators.
-       if !implicit {
-               for token.typ == yaml_DOCUMENT_END_TOKEN {
-                       skip_token(parser)
-                       token = peek_token(parser)
-                       if token == nil {
-                               return false
-                       }
-               }
-       }
-
-       if implicit && token.typ != yaml_VERSION_DIRECTIVE_TOKEN &&
-               token.typ != yaml_TAG_DIRECTIVE_TOKEN &&
-               token.typ != yaml_DOCUMENT_START_TOKEN &&
-               token.typ != yaml_STREAM_END_TOKEN {
-               // Parse an implicit document.
-               if !yaml_parser_process_directives(parser, nil, nil) {
-                       return false
-               }
-               parser.states = append(parser.states, yaml_PARSE_DOCUMENT_END_STATE)
-               parser.state = yaml_PARSE_BLOCK_NODE_STATE
-
-               *event = yaml_event_t{
-                       typ:        yaml_DOCUMENT_START_EVENT,
-                       start_mark: token.start_mark,
-                       end_mark:   token.end_mark,
-               }
-
-       } else if token.typ != yaml_STREAM_END_TOKEN {
-               // Parse an explicit document.
-               var version_directive *yaml_version_directive_t
-               var tag_directives []yaml_tag_directive_t
-               start_mark := token.start_mark
-               if !yaml_parser_process_directives(parser, &version_directive, &tag_directives) {
-                       return false
-               }
-               token = peek_token(parser)
-               if token == nil {
-                       return false
-               }
-               if token.typ != yaml_DOCUMENT_START_TOKEN {
-                       yaml_parser_set_parser_error(parser,
-                               "did not find expected <document start>", token.start_mark)
-                       return false
-               }
-               parser.states = append(parser.states, yaml_PARSE_DOCUMENT_END_STATE)
-               parser.state = yaml_PARSE_DOCUMENT_CONTENT_STATE
-               end_mark := token.end_mark
-
-               *event = yaml_event_t{
-                       typ:               yaml_DOCUMENT_START_EVENT,
-                       start_mark:        start_mark,
-                       end_mark:          end_mark,
-                       version_directive: version_directive,
-                       tag_directives:    tag_directives,
-                       implicit:          false,
-               }
-               skip_token(parser)
-
-       } else {
-               // Parse the stream end.
-               parser.state = yaml_PARSE_END_STATE
-               *event = yaml_event_t{
-                       typ:        yaml_STREAM_END_EVENT,
-                       start_mark: token.start_mark,
-                       end_mark:   token.end_mark,
-               }
-               skip_token(parser)
-       }
-
-       return true
-}
-
-// Parse the productions:
-// explicit_document    ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END*
-//                                                    ***********
-//
-func yaml_parser_parse_document_content(parser *yaml_parser_t, event *yaml_event_t) bool {
-       token := peek_token(parser)
-       if token == nil {
-               return false
-       }
-       if token.typ == yaml_VERSION_DIRECTIVE_TOKEN ||
-               token.typ == yaml_TAG_DIRECTIVE_TOKEN ||
-               token.typ == yaml_DOCUMENT_START_TOKEN ||
-               token.typ == yaml_DOCUMENT_END_TOKEN ||
-               token.typ == yaml_STREAM_END_TOKEN {
-               parser.state = parser.states[len(parser.states)-1]
-               parser.states = parser.states[:len(parser.states)-1]
-               return yaml_parser_process_empty_scalar(parser, event,
-                       token.start_mark)
-       }
-       return yaml_parser_parse_node(parser, event, true, false)
-}
-
-// Parse the productions:
-// implicit_document    ::= block_node DOCUMENT-END*
-//                                     *************
-// explicit_document    ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END*
-//
-func yaml_parser_parse_document_end(parser *yaml_parser_t, event *yaml_event_t) bool {
-       token := peek_token(parser)
-       if token == nil {
-               return false
-       }
-
-       start_mark := token.start_mark
-       end_mark := token.start_mark
-
-       implicit := true
-       if token.typ == yaml_DOCUMENT_END_TOKEN {
-               end_mark = token.end_mark
-               skip_token(parser)
-               implicit = false
-       }
-
-       parser.tag_directives = parser.tag_directives[:0]
-
-       parser.state = yaml_PARSE_DOCUMENT_START_STATE
-       *event = yaml_event_t{
-               typ:        yaml_DOCUMENT_END_EVENT,
-               start_mark: start_mark,
-               end_mark:   end_mark,
-               implicit:   implicit,
-       }
-       return true
-}
-
-// Parse the productions:
-// block_node_or_indentless_sequence    ::=
-//                          ALIAS
-//                          *****
-//                          | properties (block_content | indentless_block_sequence)?
-//                            **********  *
-//                          | block_content | indentless_block_sequence
-//                            *
-// block_node           ::= ALIAS
-//                          *****
-//                          | properties block_content?
-//                            ********** *
-//                          | block_content
-//                            *
-// flow_node            ::= ALIAS
-//                          *****
-//                          | properties flow_content?
-//                            ********** *
-//                          | flow_content
-//                            *
-// properties           ::= TAG ANCHOR? | ANCHOR TAG?
-//                          *************************
-// block_content        ::= block_collection | flow_collection | SCALAR
-//                                                               ******
-// flow_content         ::= flow_collection | SCALAR
-//                                            ******
-func yaml_parser_parse_node(parser *yaml_parser_t, event *yaml_event_t, block, indentless_sequence bool) bool {
-       //defer trace("yaml_parser_parse_node", "block:", block, "indentless_sequence:", indentless_sequence)()
-
-       token := peek_token(parser)
-       if token == nil {
-               return false
-       }
-
-       if token.typ == yaml_ALIAS_TOKEN {
-               parser.state = parser.states[len(parser.states)-1]
-               parser.states = parser.states[:len(parser.states)-1]
-               *event = yaml_event_t{
-                       typ:        yaml_ALIAS_EVENT,
-                       start_mark: token.start_mark,
-                       end_mark:   token.end_mark,
-                       anchor:     token.value,
-               }
-               skip_token(parser)
-               return true
-       }
-
-       start_mark := token.start_mark
-       end_mark := token.start_mark
-
-       var tag_token bool
-       var tag_handle, tag_suffix, anchor []byte
-       var tag_mark yaml_mark_t
-       if token.typ == yaml_ANCHOR_TOKEN {
-               anchor = token.value
-               start_mark = token.start_mark
-               end_mark = token.end_mark
-               skip_token(parser)
-               token = peek_token(parser)
-               if token == nil {
-                       return false
-               }
-               if token.typ == yaml_TAG_TOKEN {
-                       tag_token = true
-                       tag_handle = token.value
-                       tag_suffix = token.suffix
-                       tag_mark = token.start_mark
-                       end_mark = token.end_mark
-                       skip_token(parser)
-                       token = peek_token(parser)
-                       if token == nil {
-                               return false
-                       }
-               }
-       } else if token.typ == yaml_TAG_TOKEN {
-               tag_token = true
-               tag_handle = token.value
-               tag_suffix = token.suffix
-               start_mark = token.start_mark
-               tag_mark = token.start_mark
-               end_mark = token.end_mark
-               skip_token(parser)
-               token = peek_token(parser)
-               if token == nil {
-                       return false
-               }
-               if token.typ == yaml_ANCHOR_TOKEN {
-                       anchor = token.value
-                       end_mark = token.end_mark
-                       skip_token(parser)
-                       token = peek_token(parser)
-                       if token == nil {
-                               return false
-                       }
-               }
-       }
-
-       var tag []byte
-       if tag_token {
-               if len(tag_handle) == 0 {
-                       tag = tag_suffix
-                       tag_suffix = nil
-               } else {
-                       for i := range parser.tag_directives {
-                               if bytes.Equal(parser.tag_directives[i].handle, tag_handle) {
-                                       tag = append([]byte(nil), parser.tag_directives[i].prefix...)
-                                       tag = append(tag, tag_suffix...)
-                                       break
-                               }
-                       }
-                       if len(tag) == 0 {
-                               yaml_parser_set_parser_error_context(parser,
-                                       "while parsing a node", start_mark,
-                                       "found undefined tag handle", tag_mark)
-                               return false
-                       }
-               }
-       }
-
-       implicit := len(tag) == 0
-       if indentless_sequence && token.typ == yaml_BLOCK_ENTRY_TOKEN {
-               end_mark = token.end_mark
-               parser.state = yaml_PARSE_INDENTLESS_SEQUENCE_ENTRY_STATE
-               *event = yaml_event_t{
-                       typ:        yaml_SEQUENCE_START_EVENT,
-                       start_mark: start_mark,
-                       end_mark:   end_mark,
-                       anchor:     anchor,
-                       tag:        tag,
-                       implicit:   implicit,
-                       style:      yaml_style_t(yaml_BLOCK_SEQUENCE_STYLE),
-               }
-               return true
-       }
-       if token.typ == yaml_SCALAR_TOKEN {
-               var plain_implicit, quoted_implicit bool
-               end_mark = token.end_mark
-               if (len(tag) == 0 && token.style == yaml_PLAIN_SCALAR_STYLE) || (len(tag) == 1 && tag[0] == '!') {
-                       plain_implicit = true
-               } else if len(tag) == 0 {
-                       quoted_implicit = true
-               }
-               parser.state = parser.states[len(parser.states)-1]
-               parser.states = parser.states[:len(parser.states)-1]
-
-               *event = yaml_event_t{
-                       typ:             yaml_SCALAR_EVENT,
-                       start_mark:      start_mark,
-                       end_mark:        end_mark,
-                       anchor:          anchor,
-                       tag:             tag,
-                       value:           token.value,
-                       implicit:        plain_implicit,
-                       quoted_implicit: quoted_implicit,
-                       style:           yaml_style_t(token.style),
-               }
-               skip_token(parser)
-               return true
-       }
-       if token.typ == yaml_FLOW_SEQUENCE_START_TOKEN {
-               // [Go] Some of the events below can be merged as they differ only on style.
-               end_mark = token.end_mark
-               parser.state = yaml_PARSE_FLOW_SEQUENCE_FIRST_ENTRY_STATE
-               *event = yaml_event_t{
-                       typ:        yaml_SEQUENCE_START_EVENT,
-                       start_mark: start_mark,
-                       end_mark:   end_mark,
-                       anchor:     anchor,
-                       tag:        tag,
-                       implicit:   implicit,
-                       style:      yaml_style_t(yaml_FLOW_SEQUENCE_STYLE),
-               }
-               return true
-       }
-       if token.typ == yaml_FLOW_MAPPING_START_TOKEN {
-               end_mark = token.end_mark
-               parser.state = yaml_PARSE_FLOW_MAPPING_FIRST_KEY_STATE
-               *event = yaml_event_t{
-                       typ:        yaml_MAPPING_START_EVENT,
-                       start_mark: start_mark,
-                       end_mark:   end_mark,
-                       anchor:     anchor,
-                       tag:        tag,
-                       implicit:   implicit,
-                       style:      yaml_style_t(yaml_FLOW_MAPPING_STYLE),
-               }
-               return true
-       }
-       if block && token.typ == yaml_BLOCK_SEQUENCE_START_TOKEN {
-               end_mark = token.end_mark
-               parser.state = yaml_PARSE_BLOCK_SEQUENCE_FIRST_ENTRY_STATE
-               *event = yaml_event_t{
-                       typ:        yaml_SEQUENCE_START_EVENT,
-                       start_mark: start_mark,
-                       end_mark:   end_mark,
-                       anchor:     anchor,
-                       tag:        tag,
-                       implicit:   implicit,
-                       style:      yaml_style_t(yaml_BLOCK_SEQUENCE_STYLE),
-               }
-               return true
-       }
-       if block && token.typ == yaml_BLOCK_MAPPING_START_TOKEN {
-               end_mark = token.end_mark
-               parser.state = yaml_PARSE_BLOCK_MAPPING_FIRST_KEY_STATE
-               *event = yaml_event_t{
-                       typ:        yaml_MAPPING_START_EVENT,
-                       start_mark: start_mark,
-                       end_mark:   end_mark,
-                       anchor:     anchor,
-                       tag:        tag,
-                       implicit:   implicit,
-                       style:      yaml_style_t(yaml_BLOCK_MAPPING_STYLE),
-               }
-               return true
-       }
-       if len(anchor) > 0 || len(tag) > 0 {
-               parser.state = parser.states[len(parser.states)-1]
-               parser.states = parser.states[:len(parser.states)-1]
-
-               *event = yaml_event_t{
-                       typ:             yaml_SCALAR_EVENT,
-                       start_mark:      start_mark,
-                       end_mark:        end_mark,
-                       anchor:          anchor,
-                       tag:             tag,
-                       implicit:        implicit,
-                       quoted_implicit: false,
-                       style:           yaml_style_t(yaml_PLAIN_SCALAR_STYLE),
-               }
-               return true
-       }
-
-       context := "while parsing a flow node"
-       if block {
-               context = "while parsing a block node"
-       }
-       yaml_parser_set_parser_error_context(parser, context, start_mark,
-               "did not find expected node content", token.start_mark)
-       return false
-}
-
-// Parse the productions:
-// block_sequence ::= BLOCK-SEQUENCE-START (BLOCK-ENTRY block_node?)* BLOCK-END
-//                    ********************  *********** *             *********
-//
-func yaml_parser_parse_block_sequence_entry(parser *yaml_parser_t, event *yaml_event_t, first bool) bool {
-       if first {
-               token := peek_token(parser)
-               parser.marks = append(parser.marks, token.start_mark)
-               skip_token(parser)
-       }
-
-       token := peek_token(parser)
-       if token == nil {
-               return false
-       }
-
-       if token.typ == yaml_BLOCK_ENTRY_TOKEN {
-               mark := token.end_mark
-               skip_token(parser)
-               token = peek_token(parser)
-               if token == nil {
-                       return false
-               }
-               if token.typ != yaml_BLOCK_ENTRY_TOKEN && token.typ != yaml_BLOCK_END_TOKEN {
-                       parser.states = append(parser.states, yaml_PARSE_BLOCK_SEQUENCE_ENTRY_STATE)
-                       return yaml_parser_parse_node(parser, event, true, false)
-               } else {
-                       parser.state = yaml_PARSE_BLOCK_SEQUENCE_ENTRY_STATE
-                       return yaml_parser_process_empty_scalar(parser, event, mark)
-               }
-       }
-       if token.typ == yaml_BLOCK_END_TOKEN {
-               parser.state = parser.states[len(parser.states)-1]
-               parser.states = parser.states[:len(parser.states)-1]
-               parser.marks = parser.marks[:len(parser.marks)-1]
-
-               *event = yaml_event_t{
-                       typ:        yaml_SEQUENCE_END_EVENT,
-                       start_mark: token.start_mark,
-                       end_mark:   token.end_mark,
-               }
-
-               skip_token(parser)
-               return true
-       }
-
-       context_mark := parser.marks[len(parser.marks)-1]
-       parser.marks = parser.marks[:len(parser.marks)-1]
-       return yaml_parser_set_parser_error_context(parser,
-               "while parsing a block collection", context_mark,
-               "did not find expected '-' indicator", token.start_mark)
-}
-
-// Parse the productions:
-// indentless_sequence  ::= (BLOCK-ENTRY block_node?)+
-//                           *********** *
-func yaml_parser_parse_indentless_sequence_entry(parser *yaml_parser_t, event *yaml_event_t) bool {
-       token := peek_token(parser)
-       if token == nil {
-               return false
-       }
-
-       if token.typ == yaml_BLOCK_ENTRY_TOKEN {
-               mark := token.end_mark
-               skip_token(parser)
-               token = peek_token(parser)
-               if token == nil {
-                       return false
-               }
-               if token.typ != yaml_BLOCK_ENTRY_TOKEN &&
-                       token.typ != yaml_KEY_TOKEN &&
-                       token.typ != yaml_VALUE_TOKEN &&
-                       token.typ != yaml_BLOCK_END_TOKEN {
-                       parser.states = append(parser.states, yaml_PARSE_INDENTLESS_SEQUENCE_ENTRY_STATE)
-                       return yaml_parser_parse_node(parser, event, true, false)
-               }
-               parser.state = yaml_PARSE_INDENTLESS_SEQUENCE_ENTRY_STATE
-               return yaml_parser_process_empty_scalar(parser, event, mark)
-       }
-       parser.state = parser.states[len(parser.states)-1]
-       parser.states = parser.states[:len(parser.states)-1]
-
-       *event = yaml_event_t{
-               typ:        yaml_SEQUENCE_END_EVENT,
-               start_mark: token.start_mark,
-               end_mark:   token.start_mark, // [Go] Shouldn't this be token.end_mark?
-       }
-       return true
-}
-
-// Parse the productions:
-// block_mapping        ::= BLOCK-MAPPING_START
-//                          *******************
-//                          ((KEY block_node_or_indentless_sequence?)?
-//                            *** *
-//                          (VALUE block_node_or_indentless_sequence?)?)*
-//
-//                          BLOCK-END
-//                          *********
-//
-func yaml_parser_parse_block_mapping_key(parser *yaml_parser_t, event *yaml_event_t, first bool) bool {
-       if first {
-               token := peek_token(parser)
-               parser.marks = append(parser.marks, token.start_mark)
-               skip_token(parser)
-       }
-
-       token := peek_token(parser)
-       if token == nil {
-               return false
-       }
-
-       if token.typ == yaml_KEY_TOKEN {
-               mark := token.end_mark
-               skip_token(parser)
-               token = peek_token(parser)
-               if token == nil {
-                       return false
-               }
-               if token.typ != yaml_KEY_TOKEN &&
-                       token.typ != yaml_VALUE_TOKEN &&
-                       token.typ != yaml_BLOCK_END_TOKEN {
-                       parser.states = append(parser.states, yaml_PARSE_BLOCK_MAPPING_VALUE_STATE)
-                       return yaml_parser_parse_node(parser, event, true, true)
-               } else {
-                       parser.state = yaml_PARSE_BLOCK_MAPPING_VALUE_STATE
-                       return yaml_parser_process_empty_scalar(parser, event, mark)
-               }
-       } else if token.typ == yaml_BLOCK_END_TOKEN {
-               parser.state = parser.states[len(parser.states)-1]
-               parser.states = parser.states[:len(parser.states)-1]
-               parser.marks = parser.marks[:len(parser.marks)-1]
-               *event = yaml_event_t{
-                       typ:        yaml_MAPPING_END_EVENT,
-                       start_mark: token.start_mark,
-                       end_mark:   token.end_mark,
-               }
-               skip_token(parser)
-               return true
-       }
-
-       context_mark := parser.marks[len(parser.marks)-1]
-       parser.marks = parser.marks[:len(parser.marks)-1]
-       return yaml_parser_set_parser_error_context(parser,
-               "while parsing a block mapping", context_mark,
-               "did not find expected key", token.start_mark)
-}
-
-// Parse the productions:
-// block_mapping        ::= BLOCK-MAPPING_START
-//
-//                          ((KEY block_node_or_indentless_sequence?)?
-//
-//                          (VALUE block_node_or_indentless_sequence?)?)*
-//                           ***** *
-//                          BLOCK-END
-//
-//
-func yaml_parser_parse_block_mapping_value(parser *yaml_parser_t, event *yaml_event_t) bool {
-       token := peek_token(parser)
-       if token == nil {
-               return false
-       }
-       if token.typ == yaml_VALUE_TOKEN {
-               mark := token.end_mark
-               skip_token(parser)
-               token = peek_token(parser)
-               if token == nil {
-                       return false
-               }
-               if token.typ != yaml_KEY_TOKEN &&
-                       token.typ != yaml_VALUE_TOKEN &&
-                       token.typ != yaml_BLOCK_END_TOKEN {
-                       parser.states = append(parser.states, yaml_PARSE_BLOCK_MAPPING_KEY_STATE)
-                       return yaml_parser_parse_node(parser, event, true, true)
-               }
-               parser.state = yaml_PARSE_BLOCK_MAPPING_KEY_STATE
-               return yaml_parser_process_empty_scalar(parser, event, mark)
-       }
-       parser.state = yaml_PARSE_BLOCK_MAPPING_KEY_STATE
-       return yaml_parser_process_empty_scalar(parser, event, token.start_mark)
-}
-
-// Parse the productions:
-// flow_sequence        ::= FLOW-SEQUENCE-START
-//                          *******************
-//                          (flow_sequence_entry FLOW-ENTRY)*
-//                           *                   **********
-//                          flow_sequence_entry?
-//                          *
-//                          FLOW-SEQUENCE-END
-//                          *****************
-// flow_sequence_entry  ::= flow_node | KEY flow_node? (VALUE flow_node?)?
-//                          *
-//
-func yaml_parser_parse_flow_sequence_entry(parser *yaml_parser_t, event *yaml_event_t, first bool) bool {
-       if first {
-               token := peek_token(parser)
-               parser.marks = append(parser.marks, token.start_mark)
-               skip_token(parser)
-       }
-       token := peek_token(parser)
-       if token == nil {
-               return false
-       }
-       if token.typ != yaml_FLOW_SEQUENCE_END_TOKEN {
-               if !first {
-                       if token.typ == yaml_FLOW_ENTRY_TOKEN {
-                               skip_token(parser)
-                               token = peek_token(parser)
-                               if token == nil {
-                                       return false
-                               }
-                       } else {
-                               context_mark := parser.marks[len(parser.marks)-1]
-                               parser.marks = parser.marks[:len(parser.marks)-1]
-                               return yaml_parser_set_parser_error_context(parser,
-                                       "while parsing a flow sequence", context_mark,
-                                       "did not find expected ',' or ']'", token.start_mark)
-                       }
-               }
-
-               if token.typ == yaml_KEY_TOKEN {
-                       parser.state = yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_KEY_STATE
-                       *event = yaml_event_t{
-                               typ:        yaml_MAPPING_START_EVENT,
-                               start_mark: token.start_mark,
-                               end_mark:   token.end_mark,
-                               implicit:   true,
-                               style:      yaml_style_t(yaml_FLOW_MAPPING_STYLE),
-                       }
-                       skip_token(parser)
-                       return true
-               } else if token.typ != yaml_FLOW_SEQUENCE_END_TOKEN {
-                       parser.states = append(parser.states, yaml_PARSE_FLOW_SEQUENCE_ENTRY_STATE)
-                       return yaml_parser_parse_node(parser, event, false, false)
-               }
-       }
-
-       parser.state = parser.states[len(parser.states)-1]
-       parser.states = parser.states[:len(parser.states)-1]
-       parser.marks = parser.marks[:len(parser.marks)-1]
-
-       *event = yaml_event_t{
-               typ:        yaml_SEQUENCE_END_EVENT,
-               start_mark: token.start_mark,
-               end_mark:   token.end_mark,
-       }
-
-       skip_token(parser)
-       return true
-}
-
-//
-// Parse the productions:
-// flow_sequence_entry  ::= flow_node | KEY flow_node? (VALUE flow_node?)?
-//                                      *** *
-//
-func yaml_parser_parse_flow_sequence_entry_mapping_key(parser *yaml_parser_t, event *yaml_event_t) bool {
-       token := peek_token(parser)
-       if token == nil {
-               return false
-       }
-       if token.typ != yaml_VALUE_TOKEN &&
-               token.typ != yaml_FLOW_ENTRY_TOKEN &&
-               token.typ != yaml_FLOW_SEQUENCE_END_TOKEN {
-               parser.states = append(parser.states, yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_VALUE_STATE)
-               return yaml_parser_parse_node(parser, event, false, false)
-       }
-       mark := token.end_mark
-       skip_token(parser)
-       parser.state = yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_VALUE_STATE
-       return yaml_parser_process_empty_scalar(parser, event, mark)
-}
-
-// Parse the productions:
-// flow_sequence_entry  ::= flow_node | KEY flow_node? (VALUE flow_node?)?
-//                                                      ***** *
-//
-func yaml_parser_parse_flow_sequence_entry_mapping_value(parser *yaml_parser_t, event *yaml_event_t) bool {
-       token := peek_token(parser)
-       if token == nil {
-               return false
-       }
-       if token.typ == yaml_VALUE_TOKEN {
-               skip_token(parser)
-               token := peek_token(parser)
-               if token == nil {
-                       return false
-               }
-               if token.typ != yaml_FLOW_ENTRY_TOKEN && token.typ != yaml_FLOW_SEQUENCE_END_TOKEN {
-                       parser.states = append(parser.states, yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_END_STATE)
-                       return yaml_parser_parse_node(parser, event, false, false)
-               }
-       }
-       parser.state = yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_END_STATE
-       return yaml_parser_process_empty_scalar(parser, event, token.start_mark)
-}
-
-// Parse the productions:
-// flow_sequence_entry  ::= flow_node | KEY flow_node? (VALUE flow_node?)?
-//                                                                      *
-//
-func yaml_parser_parse_flow_sequence_entry_mapping_end(parser *yaml_parser_t, event *yaml_event_t) bool {
-       token := peek_token(parser)
-       if token == nil {
-               return false
-       }
-       parser.state = yaml_PARSE_FLOW_SEQUENCE_ENTRY_STATE
-       *event = yaml_event_t{
-               typ:        yaml_MAPPING_END_EVENT,
-               start_mark: token.start_mark,
-               end_mark:   token.start_mark, // [Go] Shouldn't this be end_mark?
-       }
-       return true
-}
-
-// Parse the productions:
-// flow_mapping         ::= FLOW-MAPPING-START
-//                          ******************
-//                          (flow_mapping_entry FLOW-ENTRY)*
-//                           *                  **********
-//                          flow_mapping_entry?
-//                          ******************
-//                          FLOW-MAPPING-END
-//                          ****************
-// flow_mapping_entry   ::= flow_node | KEY flow_node? (VALUE flow_node?)?
-//                          *           *** *
-//
-func yaml_parser_parse_flow_mapping_key(parser *yaml_parser_t, event *yaml_event_t, first bool) bool {
-       if first {
-               token := peek_token(parser)
-               parser.marks = append(parser.marks, token.start_mark)
-               skip_token(parser)
-       }
-
-       token := peek_token(parser)
-       if token == nil {
-               return false
-       }
-
-       if token.typ != yaml_FLOW_MAPPING_END_TOKEN {
-               if !first {
-                       if token.typ == yaml_FLOW_ENTRY_TOKEN {
-                               skip_token(parser)
-                               token = peek_token(parser)
-                               if token == nil {
-                                       return false
-                               }
-                       } else {
-                               context_mark := parser.marks[len(parser.marks)-1]
-                               parser.marks = parser.marks[:len(parser.marks)-1]
-                               return yaml_parser_set_parser_error_context(parser,
-                                       "while parsing a flow mapping", context_mark,
-                                       "did not find expected ',' or '}'", token.start_mark)
-                       }
-               }
-
-               if token.typ == yaml_KEY_TOKEN {
-                       skip_token(parser)
-                       token = peek_token(parser)
-                       if token == nil {
-                               return false
-                       }
-                       if token.typ != yaml_VALUE_TOKEN &&
-                               token.typ != yaml_FLOW_ENTRY_TOKEN &&
-                               token.typ != yaml_FLOW_MAPPING_END_TOKEN {
-                               parser.states = append(parser.states, yaml_PARSE_FLOW_MAPPING_VALUE_STATE)
-                               return yaml_parser_parse_node(parser, event, false, false)
-                       } else {
-                               parser.state = yaml_PARSE_FLOW_MAPPING_VALUE_STATE
-                               return yaml_parser_process_empty_scalar(parser, event, token.start_mark)
-                       }
-               } else if token.typ != yaml_FLOW_MAPPING_END_TOKEN {
-                       parser.states = append(parser.states, yaml_PARSE_FLOW_MAPPING_EMPTY_VALUE_STATE)
-                       return yaml_parser_parse_node(parser, event, false, false)
-               }
-       }
-
-       parser.state = parser.states[len(parser.states)-1]
-       parser.states = parser.states[:len(parser.states)-1]
-       parser.marks = parser.marks[:len(parser.marks)-1]
-       *event = yaml_event_t{
-               typ:        yaml_MAPPING_END_EVENT,
-               start_mark: token.start_mark,
-               end_mark:   token.end_mark,
-       }
-       skip_token(parser)
-       return true
-}
-
-// Parse the productions:
-// flow_mapping_entry   ::= flow_node | KEY flow_node? (VALUE flow_node?)?
-//                                   *                  ***** *
-//
-func yaml_parser_parse_flow_mapping_value(parser *yaml_parser_t, event *yaml_event_t, empty bool) bool {
-       token := peek_token(parser)
-       if token == nil {
-               return false
-       }
-       if empty {
-               parser.state = yaml_PARSE_FLOW_MAPPING_KEY_STATE
-               return yaml_parser_process_empty_scalar(parser, event, token.start_mark)
-       }
-       if token.typ == yaml_VALUE_TOKEN {
-               skip_token(parser)
-               token = peek_token(parser)
-               if token == nil {
-                       return false
-               }
-               if token.typ != yaml_FLOW_ENTRY_TOKEN && token.typ != yaml_FLOW_MAPPING_END_TOKEN {
-                       parser.states = append(parser.states, yaml_PARSE_FLOW_MAPPING_KEY_STATE)
-                       return yaml_parser_parse_node(parser, event, false, false)
-               }
-       }
-       parser.state = yaml_PARSE_FLOW_MAPPING_KEY_STATE
-       return yaml_parser_process_empty_scalar(parser, event, token.start_mark)
-}
-
-// Generate an empty scalar event.
-func yaml_parser_process_empty_scalar(parser *yaml_parser_t, event *yaml_event_t, mark yaml_mark_t) bool {
-       *event = yaml_event_t{
-               typ:        yaml_SCALAR_EVENT,
-               start_mark: mark,
-               end_mark:   mark,
-               value:      nil, // Empty
-               implicit:   true,
-               style:      yaml_style_t(yaml_PLAIN_SCALAR_STYLE),
-       }
-       return true
-}
-
-var default_tag_directives = []yaml_tag_directive_t{
-       {[]byte("!"), []byte("!")},
-       {[]byte("!!"), []byte("tag:yaml.org,2002:")},
-}
-
-// Parse directives.
-func yaml_parser_process_directives(parser *yaml_parser_t,
-       version_directive_ref **yaml_version_directive_t,
-       tag_directives_ref *[]yaml_tag_directive_t) bool {
-
-       var version_directive *yaml_version_directive_t
-       var tag_directives []yaml_tag_directive_t
-
-       token := peek_token(parser)
-       if token == nil {
-               return false
-       }
-
-       for token.typ == yaml_VERSION_DIRECTIVE_TOKEN || token.typ == yaml_TAG_DIRECTIVE_TOKEN {
-               if token.typ == yaml_VERSION_DIRECTIVE_TOKEN {
-                       if version_directive != nil {
-                               yaml_parser_set_parser_error(parser,
-                                       "found duplicate %YAML directive", token.start_mark)
-                               return false
-                       }
-                       if token.major != 1 || token.minor != 1 {
-                               yaml_parser_set_parser_error(parser,
-                                       "found incompatible YAML document", token.start_mark)
-                               return false
-                       }
-                       version_directive = &yaml_version_directive_t{
-                               major: token.major,
-                               minor: token.minor,
-                       }
-               } else if token.typ == yaml_TAG_DIRECTIVE_TOKEN {
-                       value := yaml_tag_directive_t{
-                               handle: token.value,
-                               prefix: token.prefix,
-                       }
-                       if !yaml_parser_append_tag_directive(parser, value, false, token.start_mark) {
-                               return false
-                       }
-                       tag_directives = append(tag_directives, value)
-               }
-
-               skip_token(parser)
-               token = peek_token(parser)
-               if token == nil {
-                       return false
-               }
-       }
-
-       for i := range default_tag_directives {
-               if !yaml_parser_append_tag_directive(parser, default_tag_directives[i], true, token.start_mark) {
-                       return false
-               }
-       }
-
-       if version_directive_ref != nil {
-               *version_directive_ref = version_directive
-       }
-       if tag_directives_ref != nil {
-               *tag_directives_ref = tag_directives
-       }
-       return true
-}
-
-// Append a tag directive to the directives stack.
-func yaml_parser_append_tag_directive(parser *yaml_parser_t, value yaml_tag_directive_t, allow_duplicates bool, mark yaml_mark_t) bool {
-       for i := range parser.tag_directives {
-               if bytes.Equal(value.handle, parser.tag_directives[i].handle) {
-                       if allow_duplicates {
-                               return true
-                       }
-                       return yaml_parser_set_parser_error(parser, "found duplicate %TAG directive", mark)
-               }
-       }
-
-       // [Go] I suspect the copy is unnecessary. This was likely done
-       // because there was no way to track ownership of the data.
-       value_copy := yaml_tag_directive_t{
-               handle: make([]byte, len(value.handle)),
-               prefix: make([]byte, len(value.prefix)),
-       }
-       copy(value_copy.handle, value.handle)
-       copy(value_copy.prefix, value.prefix)
-       parser.tag_directives = append(parser.tag_directives, value_copy)
-       return true
-}
diff --git a/vendor/gopkg.in/yaml.v2/readerc.go b/vendor/gopkg.in/yaml.v2/readerc.go
deleted file mode 100644 (file)
index f450791..0000000
+++ /dev/null
@@ -1,394 +0,0 @@
-package yaml
-
-import (
-       "io"
-)
-
-// Set the reader error and return 0.
-func yaml_parser_set_reader_error(parser *yaml_parser_t, problem string, offset int, value int) bool {
-       parser.error = yaml_READER_ERROR
-       parser.problem = problem
-       parser.problem_offset = offset
-       parser.problem_value = value
-       return false
-}
-
-// Byte order marks.
-const (
-       bom_UTF8    = "\xef\xbb\xbf"
-       bom_UTF16LE = "\xff\xfe"
-       bom_UTF16BE = "\xfe\xff"
-)
-
-// Determine the input stream encoding by checking the BOM symbol. If no BOM is
-// found, the UTF-8 encoding is assumed. Return 1 on success, 0 on failure.
-func yaml_parser_determine_encoding(parser *yaml_parser_t) bool {
-       // Ensure that we had enough bytes in the raw buffer.
-       for !parser.eof && len(parser.raw_buffer)-parser.raw_buffer_pos < 3 {
-               if !yaml_parser_update_raw_buffer(parser) {
-                       return false
-               }
-       }
-
-       // Determine the encoding.
-       buf := parser.raw_buffer
-       pos := parser.raw_buffer_pos
-       avail := len(buf) - pos
-       if avail >= 2 && buf[pos] == bom_UTF16LE[0] && buf[pos+1] == bom_UTF16LE[1] {
-               parser.encoding = yaml_UTF16LE_ENCODING
-               parser.raw_buffer_pos += 2
-               parser.offset += 2
-       } else if avail >= 2 && buf[pos] == bom_UTF16BE[0] && buf[pos+1] == bom_UTF16BE[1] {
-               parser.encoding = yaml_UTF16BE_ENCODING
-               parser.raw_buffer_pos += 2
-               parser.offset += 2
-       } else if avail >= 3 && buf[pos] == bom_UTF8[0] && buf[pos+1] == bom_UTF8[1] && buf[pos+2] == bom_UTF8[2] {
-               parser.encoding = yaml_UTF8_ENCODING
-               parser.raw_buffer_pos += 3
-               parser.offset += 3
-       } else {
-               parser.encoding = yaml_UTF8_ENCODING
-       }
-       return true
-}
-
-// Update the raw buffer.
-func yaml_parser_update_raw_buffer(parser *yaml_parser_t) bool {
-       size_read := 0
-
-       // Return if the raw buffer is full.
-       if parser.raw_buffer_pos == 0 && len(parser.raw_buffer) == cap(parser.raw_buffer) {
-               return true
-       }
-
-       // Return on EOF.
-       if parser.eof {
-               return true
-       }
-
-       // Move the remaining bytes in the raw buffer to the beginning.
-       if parser.raw_buffer_pos > 0 && parser.raw_buffer_pos < len(parser.raw_buffer) {
-               copy(parser.raw_buffer, parser.raw_buffer[parser.raw_buffer_pos:])
-       }
-       parser.raw_buffer = parser.raw_buffer[:len(parser.raw_buffer)-parser.raw_buffer_pos]
-       parser.raw_buffer_pos = 0
-
-       // Call the read handler to fill the buffer.
-       size_read, err := parser.read_handler(parser, parser.raw_buffer[len(parser.raw_buffer):cap(parser.raw_buffer)])
-       parser.raw_buffer = parser.raw_buffer[:len(parser.raw_buffer)+size_read]
-       if err == io.EOF {
-               parser.eof = true
-       } else if err != nil {
-               return yaml_parser_set_reader_error(parser, "input error: "+err.Error(), parser.offset, -1)
-       }
-       return true
-}
-
-// Ensure that the buffer contains at least `length` characters.
-// Return true on success, false on failure.
-//
-// The length is supposed to be significantly less that the buffer size.
-func yaml_parser_update_buffer(parser *yaml_parser_t, length int) bool {
-       if parser.read_handler == nil {
-               panic("read handler must be set")
-       }
-
-       // If the EOF flag is set and the raw buffer is empty, do nothing.
-       if parser.eof && parser.raw_buffer_pos == len(parser.raw_buffer) {
-               return true
-       }
-
-       // Return if the buffer contains enough characters.
-       if parser.unread >= length {
-               return true
-       }
-
-       // Determine the input encoding if it is not known yet.
-       if parser.encoding == yaml_ANY_ENCODING {
-               if !yaml_parser_determine_encoding(parser) {
-                       return false
-               }
-       }
-
-       // Move the unread characters to the beginning of the buffer.
-       buffer_len := len(parser.buffer)
-       if parser.buffer_pos > 0 && parser.buffer_pos < buffer_len {
-               copy(parser.buffer, parser.buffer[parser.buffer_pos:])
-               buffer_len -= parser.buffer_pos
-               parser.buffer_pos = 0
-       } else if parser.buffer_pos == buffer_len {
-               buffer_len = 0
-               parser.buffer_pos = 0
-       }
-
-       // Open the whole buffer for writing, and cut it before returning.
-       parser.buffer = parser.buffer[:cap(parser.buffer)]
-
-       // Fill the buffer until it has enough characters.
-       first := true
-       for parser.unread < length {
-
-               // Fill the raw buffer if necessary.
-               if !first || parser.raw_buffer_pos == len(parser.raw_buffer) {
-                       if !yaml_parser_update_raw_buffer(parser) {
-                               parser.buffer = parser.buffer[:buffer_len]
-                               return false
-                       }
-               }
-               first = false
-
-               // Decode the raw buffer.
-       inner:
-               for parser.raw_buffer_pos != len(parser.raw_buffer) {
-                       var value rune
-                       var width int
-
-                       raw_unread := len(parser.raw_buffer) - parser.raw_buffer_pos
-
-                       // Decode the next character.
-                       switch parser.encoding {
-                       case yaml_UTF8_ENCODING:
-                               // Decode a UTF-8 character.  Check RFC 3629
-                               // (http://www.ietf.org/rfc/rfc3629.txt) for more details.
-                               //
-                               // The following table (taken from the RFC) is used for
-                               // decoding.
-                               //
-                               //    Char. number range |        UTF-8 octet sequence
-                               //      (hexadecimal)    |              (binary)
-                               //   --------------------+------------------------------------
-                               //   0000 0000-0000 007F | 0xxxxxxx
-                               //   0000 0080-0000 07FF | 110xxxxx 10xxxxxx
-                               //   0000 0800-0000 FFFF | 1110xxxx 10xxxxxx 10xxxxxx
-                               //   0001 0000-0010 FFFF | 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx
-                               //
-                               // Additionally, the characters in the range 0xD800-0xDFFF
-                               // are prohibited as they are reserved for use with UTF-16
-                               // surrogate pairs.
-
-                               // Determine the length of the UTF-8 sequence.
-                               octet := parser.raw_buffer[parser.raw_buffer_pos]
-                               switch {
-                               case octet&0x80 == 0x00:
-                                       width = 1
-                               case octet&0xE0 == 0xC0:
-                                       width = 2
-                               case octet&0xF0 == 0xE0:
-                                       width = 3
-                               case octet&0xF8 == 0xF0:
-                                       width = 4
-                               default:
-                                       // The leading octet is invalid.
-                                       return yaml_parser_set_reader_error(parser,
-                                               "invalid leading UTF-8 octet",
-                                               parser.offset, int(octet))
-                               }
-
-                               // Check if the raw buffer contains an incomplete character.
-                               if width > raw_unread {
-                                       if parser.eof {
-                                               return yaml_parser_set_reader_error(parser,
-                                                       "incomplete UTF-8 octet sequence",
-                                                       parser.offset, -1)
-                                       }
-                                       break inner
-                               }
-
-                               // Decode the leading octet.
-                               switch {
-                               case octet&0x80 == 0x00:
-                                       value = rune(octet & 0x7F)
-                               case octet&0xE0 == 0xC0:
-                                       value = rune(octet & 0x1F)
-                               case octet&0xF0 == 0xE0:
-                                       value = rune(octet & 0x0F)
-                               case octet&0xF8 == 0xF0:
-                                       value = rune(octet & 0x07)
-                               default:
-                                       value = 0
-                               }
-
-                               // Check and decode the trailing octets.
-                               for k := 1; k < width; k++ {
-                                       octet = parser.raw_buffer[parser.raw_buffer_pos+k]
-
-                                       // Check if the octet is valid.
-                                       if (octet & 0xC0) != 0x80 {
-                                               return yaml_parser_set_reader_error(parser,
-                                                       "invalid trailing UTF-8 octet",
-                                                       parser.offset+k, int(octet))
-                                       }
-
-                                       // Decode the octet.
-                                       value = (value << 6) + rune(octet&0x3F)
-                               }
-
-                               // Check the length of the sequence against the value.
-                               switch {
-                               case width == 1:
-                               case width == 2 && value >= 0x80:
-                               case width == 3 && value >= 0x800:
-                               case width == 4 && value >= 0x10000:
-                               default:
-                                       return yaml_parser_set_reader_error(parser,
-                                               "invalid length of a UTF-8 sequence",
-                                               parser.offset, -1)
-                               }
-
-                               // Check the range of the value.
-                               if value >= 0xD800 && value <= 0xDFFF || value > 0x10FFFF {
-                                       return yaml_parser_set_reader_error(parser,
-                                               "invalid Unicode character",
-                                               parser.offset, int(value))
-                               }
-
-                       case yaml_UTF16LE_ENCODING, yaml_UTF16BE_ENCODING:
-                               var low, high int
-                               if parser.encoding == yaml_UTF16LE_ENCODING {
-                                       low, high = 0, 1
-                               } else {
-                                       low, high = 1, 0
-                               }
-
-                               // The UTF-16 encoding is not as simple as one might
-                               // naively think.  Check RFC 2781
-                               // (http://www.ietf.org/rfc/rfc2781.txt).
-                               //
-                               // Normally, two subsequent bytes describe a Unicode
-                               // character.  However a special technique (called a
-                               // surrogate pair) is used for specifying character
-                               // values larger than 0xFFFF.
-                               //
-                               // A surrogate pair consists of two pseudo-characters:
-                               //      high surrogate area (0xD800-0xDBFF)
-                               //      low surrogate area (0xDC00-0xDFFF)
-                               //
-                               // The following formulas are used for decoding
-                               // and encoding characters using surrogate pairs:
-                               //
-                               //  U  = U' + 0x10000   (0x01 00 00 <= U <= 0x10 FF FF)
-                               //  U' = yyyyyyyyyyxxxxxxxxxx   (0 <= U' <= 0x0F FF FF)
-                               //  W1 = 110110yyyyyyyyyy
-                               //  W2 = 110111xxxxxxxxxx
-                               //
-                               // where U is the character value, W1 is the high surrogate
-                               // area, W2 is the low surrogate area.
-
-                               // Check for incomplete UTF-16 character.
-                               if raw_unread < 2 {
-                                       if parser.eof {
-                                               return yaml_parser_set_reader_error(parser,
-                                                       "incomplete UTF-16 character",
-                                                       parser.offset, -1)
-                                       }
-                                       break inner
-                               }
-
-                               // Get the character.
-                               value = rune(parser.raw_buffer[parser.raw_buffer_pos+low]) +
-                                       (rune(parser.raw_buffer[parser.raw_buffer_pos+high]) << 8)
-
-                               // Check for unexpected low surrogate area.
-                               if value&0xFC00 == 0xDC00 {
-                                       return yaml_parser_set_reader_error(parser,
-                                               "unexpected low surrogate area",
-                                               parser.offset, int(value))
-                               }
-
-                               // Check for a high surrogate area.
-                               if value&0xFC00 == 0xD800 {
-                                       width = 4
-
-                                       // Check for incomplete surrogate pair.
-                                       if raw_unread < 4 {
-                                               if parser.eof {
-                                                       return yaml_parser_set_reader_error(parser,
-                                                               "incomplete UTF-16 surrogate pair",
-                                                               parser.offset, -1)
-                                               }
-                                               break inner
-                                       }
-
-                                       // Get the next character.
-                                       value2 := rune(parser.raw_buffer[parser.raw_buffer_pos+low+2]) +
-                                               (rune(parser.raw_buffer[parser.raw_buffer_pos+high+2]) << 8)
-
-                                       // Check for a low surrogate area.
-                                       if value2&0xFC00 != 0xDC00 {
-                                               return yaml_parser_set_reader_error(parser,
-                                                       "expected low surrogate area",
-                                                       parser.offset+2, int(value2))
-                                       }
-
-                                       // Generate the value of the surrogate pair.
-                                       value = 0x10000 + ((value & 0x3FF) << 10) + (value2 & 0x3FF)
-                               } else {
-                                       width = 2
-                               }
-
-                       default:
-                               panic("impossible")
-                       }
-
-                       // Check if the character is in the allowed range:
-                       //      #x9 | #xA | #xD | [#x20-#x7E]               (8 bit)
-                       //      | #x85 | [#xA0-#xD7FF] | [#xE000-#xFFFD]    (16 bit)
-                       //      | [#x10000-#x10FFFF]                        (32 bit)
-                       switch {
-                       case value == 0x09:
-                       case value == 0x0A:
-                       case value == 0x0D:
-                       case value >= 0x20 && value <= 0x7E:
-                       case value == 0x85:
-                       case value >= 0xA0 && value <= 0xD7FF:
-                       case value >= 0xE000 && value <= 0xFFFD:
-                       case value >= 0x10000 && value <= 0x10FFFF:
-                       default:
-                               return yaml_parser_set_reader_error(parser,
-                                       "control characters are not allowed",
-                                       parser.offset, int(value))
-                       }
-
-                       // Move the raw pointers.
-                       parser.raw_buffer_pos += width
-                       parser.offset += width
-
-                       // Finally put the character into the buffer.
-                       if value <= 0x7F {
-                               // 0000 0000-0000 007F . 0xxxxxxx
-                               parser.buffer[buffer_len+0] = byte(value)
-                               buffer_len += 1
-                       } else if value <= 0x7FF {
-                               // 0000 0080-0000 07FF . 110xxxxx 10xxxxxx
-                               parser.buffer[buffer_len+0] = byte(0xC0 + (value >> 6))
-                               parser.buffer[buffer_len+1] = byte(0x80 + (value & 0x3F))
-                               buffer_len += 2
-                       } else if value <= 0xFFFF {
-                               // 0000 0800-0000 FFFF . 1110xxxx 10xxxxxx 10xxxxxx
-                               parser.buffer[buffer_len+0] = byte(0xE0 + (value >> 12))
-                               parser.buffer[buffer_len+1] = byte(0x80 + ((value >> 6) & 0x3F))
-                               parser.buffer[buffer_len+2] = byte(0x80 + (value & 0x3F))
-                               buffer_len += 3
-                       } else {
-                               // 0001 0000-0010 FFFF . 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx
-                               parser.buffer[buffer_len+0] = byte(0xF0 + (value >> 18))
-                               parser.buffer[buffer_len+1] = byte(0x80 + ((value >> 12) & 0x3F))
-                               parser.buffer[buffer_len+2] = byte(0x80 + ((value >> 6) & 0x3F))
-                               parser.buffer[buffer_len+3] = byte(0x80 + (value & 0x3F))
-                               buffer_len += 4
-                       }
-
-                       parser.unread++
-               }
-
-               // On EOF, put NUL into the buffer and return.
-               if parser.eof {
-                       parser.buffer[buffer_len] = 0
-                       buffer_len++
-                       parser.unread++
-                       break
-               }
-       }
-       parser.buffer = parser.buffer[:buffer_len]
-       return true
-}
diff --git a/vendor/gopkg.in/yaml.v2/resolve.go b/vendor/gopkg.in/yaml.v2/resolve.go
deleted file mode 100644 (file)
index 232313c..0000000
+++ /dev/null
@@ -1,208 +0,0 @@
-package yaml
-
-import (
-       "encoding/base64"
-       "math"
-       "regexp"
-       "strconv"
-       "strings"
-       "unicode/utf8"
-)
-
-type resolveMapItem struct {
-       value interface{}
-       tag   string
-}
-
-var resolveTable = make([]byte, 256)
-var resolveMap = make(map[string]resolveMapItem)
-
-func init() {
-       t := resolveTable
-       t[int('+')] = 'S' // Sign
-       t[int('-')] = 'S'
-       for _, c := range "0123456789" {
-               t[int(c)] = 'D' // Digit
-       }
-       for _, c := range "yYnNtTfFoO~" {
-               t[int(c)] = 'M' // In map
-       }
-       t[int('.')] = '.' // Float (potentially in map)
-
-       var resolveMapList = []struct {
-               v   interface{}
-               tag string
-               l   []string
-       }{
-               {true, yaml_BOOL_TAG, []string{"y", "Y", "yes", "Yes", "YES"}},
-               {true, yaml_BOOL_TAG, []string{"true", "True", "TRUE"}},
-               {true, yaml_BOOL_TAG, []string{"on", "On", "ON"}},
-               {false, yaml_BOOL_TAG, []string{"n", "N", "no", "No", "NO"}},
-               {false, yaml_BOOL_TAG, []string{"false", "False", "FALSE"}},
-               {false, yaml_BOOL_TAG, []string{"off", "Off", "OFF"}},
-               {nil, yaml_NULL_TAG, []string{"", "~", "null", "Null", "NULL"}},
-               {math.NaN(), yaml_FLOAT_TAG, []string{".nan", ".NaN", ".NAN"}},
-               {math.Inf(+1), yaml_FLOAT_TAG, []string{".inf", ".Inf", ".INF"}},
-               {math.Inf(+1), yaml_FLOAT_TAG, []string{"+.inf", "+.Inf", "+.INF"}},
-               {math.Inf(-1), yaml_FLOAT_TAG, []string{"-.inf", "-.Inf", "-.INF"}},
-               {"<<", yaml_MERGE_TAG, []string{"<<"}},
-       }
-
-       m := resolveMap
-       for _, item := range resolveMapList {
-               for _, s := range item.l {
-                       m[s] = resolveMapItem{item.v, item.tag}
-               }
-       }
-}
-
-const longTagPrefix = "tag:yaml.org,2002:"
-
-func shortTag(tag string) string {
-       // TODO This can easily be made faster and produce less garbage.
-       if strings.HasPrefix(tag, longTagPrefix) {
-               return "!!" + tag[len(longTagPrefix):]
-       }
-       return tag
-}
-
-func longTag(tag string) string {
-       if strings.HasPrefix(tag, "!!") {
-               return longTagPrefix + tag[2:]
-       }
-       return tag
-}
-
-func resolvableTag(tag string) bool {
-       switch tag {
-       case "", yaml_STR_TAG, yaml_BOOL_TAG, yaml_INT_TAG, yaml_FLOAT_TAG, yaml_NULL_TAG:
-               return true
-       }
-       return false
-}
-
-var yamlStyleFloat = regexp.MustCompile(`^[-+]?[0-9]*\.?[0-9]+([eE][-+][0-9]+)?$`)
-
-func resolve(tag string, in string) (rtag string, out interface{}) {
-       if !resolvableTag(tag) {
-               return tag, in
-       }
-
-       defer func() {
-               switch tag {
-               case "", rtag, yaml_STR_TAG, yaml_BINARY_TAG:
-                       return
-               }
-               failf("cannot decode %s `%s` as a %s", shortTag(rtag), in, shortTag(tag))
-       }()
-
-       // Any data is accepted as a !!str or !!binary.
-       // Otherwise, the prefix is enough of a hint about what it might be.
-       hint := byte('N')
-       if in != "" {
-               hint = resolveTable[in[0]]
-       }
-       if hint != 0 && tag != yaml_STR_TAG && tag != yaml_BINARY_TAG {
-               // Handle things we can lookup in a map.
-               if item, ok := resolveMap[in]; ok {
-                       return item.tag, item.value
-               }
-
-               // Base 60 floats are a bad idea, were dropped in YAML 1.2, and
-               // are purposefully unsupported here. They're still quoted on
-               // the way out for compatibility with other parser, though.
-
-               switch hint {
-               case 'M':
-                       // We've already checked the map above.
-
-               case '.':
-                       // Not in the map, so maybe a normal float.
-                       floatv, err := strconv.ParseFloat(in, 64)
-                       if err == nil {
-                               return yaml_FLOAT_TAG, floatv
-                       }
-
-               case 'D', 'S':
-                       // Int, float, or timestamp.
-                       plain := strings.Replace(in, "_", "", -1)
-                       intv, err := strconv.ParseInt(plain, 0, 64)
-                       if err == nil {
-                               if intv == int64(int(intv)) {
-                                       return yaml_INT_TAG, int(intv)
-                               } else {
-                                       return yaml_INT_TAG, intv
-                               }
-                       }
-                       uintv, err := strconv.ParseUint(plain, 0, 64)
-                       if err == nil {
-                               return yaml_INT_TAG, uintv
-                       }
-                       if yamlStyleFloat.MatchString(plain) {
-                               floatv, err := strconv.ParseFloat(plain, 64)
-                               if err == nil {
-                                       return yaml_FLOAT_TAG, floatv
-                               }
-                       }
-                       if strings.HasPrefix(plain, "0b") {
-                               intv, err := strconv.ParseInt(plain[2:], 2, 64)
-                               if err == nil {
-                                       if intv == int64(int(intv)) {
-                                               return yaml_INT_TAG, int(intv)
-                                       } else {
-                                               return yaml_INT_TAG, intv
-                                       }
-                               }
-                               uintv, err := strconv.ParseUint(plain[2:], 2, 64)
-                               if err == nil {
-                                       return yaml_INT_TAG, uintv
-                               }
-                       } else if strings.HasPrefix(plain, "-0b") {
-                               intv, err := strconv.ParseInt(plain[3:], 2, 64)
-                               if err == nil {
-                                       if intv == int64(int(intv)) {
-                                               return yaml_INT_TAG, -int(intv)
-                                       } else {
-                                               return yaml_INT_TAG, -intv
-                                       }
-                               }
-                       }
-                       // XXX Handle timestamps here.
-
-               default:
-                       panic("resolveTable item not yet handled: " + string(rune(hint)) + " (with " + in + ")")
-               }
-       }
-       if tag == yaml_BINARY_TAG {
-               return yaml_BINARY_TAG, in
-       }
-       if utf8.ValidString(in) {
-               return yaml_STR_TAG, in
-       }
-       return yaml_BINARY_TAG, encodeBase64(in)
-}
-
-// encodeBase64 encodes s as base64 that is broken up into multiple lines
-// as appropriate for the resulting length.
-func encodeBase64(s string) string {
-       const lineLen = 70
-       encLen := base64.StdEncoding.EncodedLen(len(s))
-       lines := encLen/lineLen + 1
-       buf := make([]byte, encLen*2+lines)
-       in := buf[0:encLen]
-       out := buf[encLen:]
-       base64.StdEncoding.Encode(in, []byte(s))
-       k := 0
-       for i := 0; i < len(in); i += lineLen {
-               j := i + lineLen
-               if j > len(in) {
-                       j = len(in)
-               }
-               k += copy(out[k:], in[i:j])
-               if lines > 1 {
-                       out[k] = '\n'
-                       k++
-               }
-       }
-       return string(out[:k])
-}
diff --git a/vendor/gopkg.in/yaml.v2/scannerc.go b/vendor/gopkg.in/yaml.v2/scannerc.go
deleted file mode 100644 (file)
index 2c9d511..0000000
+++ /dev/null
@@ -1,2710 +0,0 @@
-package yaml
-
-import (
-       "bytes"
-       "fmt"
-)
-
-// Introduction
-// ************
-//
-// The following notes assume that you are familiar with the YAML specification
-// (http://yaml.org/spec/1.2/spec.html).  We mostly follow it, although in
-// some cases we are less restrictive that it requires.
-//
-// The process of transforming a YAML stream into a sequence of events is
-// divided on two steps: Scanning and Parsing.
-//
-// The Scanner transforms the input stream into a sequence of tokens, while the
-// parser transform the sequence of tokens produced by the Scanner into a
-// sequence of parsing events.
-//
-// The Scanner is rather clever and complicated. The Parser, on the contrary,
-// is a straightforward implementation of a recursive-descendant parser (or,
-// LL(1) parser, as it is usually called).
-//
-// Actually there are two issues of Scanning that might be called "clever", the
-// rest is quite straightforward.  The issues are "block collection start" and
-// "simple keys".  Both issues are explained below in details.
-//
-// Here the Scanning step is explained and implemented.  We start with the list
-// of all the tokens produced by the Scanner together with short descriptions.
-//
-// Now, tokens:
-//
-//      STREAM-START(encoding)          # The stream start.
-//      STREAM-END                      # The stream end.
-//      VERSION-DIRECTIVE(major,minor)  # The '%YAML' directive.
-//      TAG-DIRECTIVE(handle,prefix)    # The '%TAG' directive.
-//      DOCUMENT-START                  # '---'
-//      DOCUMENT-END                    # '...'
-//      BLOCK-SEQUENCE-START            # Indentation increase denoting a block
-//      BLOCK-MAPPING-START             # sequence or a block mapping.
-//      BLOCK-END                       # Indentation decrease.
-//      FLOW-SEQUENCE-START             # '['
-//      FLOW-SEQUENCE-END               # ']'
-//      BLOCK-SEQUENCE-START            # '{'
-//      BLOCK-SEQUENCE-END              # '}'
-//      BLOCK-ENTRY                     # '-'
-//      FLOW-ENTRY                      # ','
-//      KEY                             # '?' or nothing (simple keys).
-//      VALUE                           # ':'
-//      ALIAS(anchor)                   # '*anchor'
-//      ANCHOR(anchor)                  # '&anchor'
-//      TAG(handle,suffix)              # '!handle!suffix'
-//      SCALAR(value,style)             # A scalar.
-//
-// The following two tokens are "virtual" tokens denoting the beginning and the
-// end of the stream:
-//
-//      STREAM-START(encoding)
-//      STREAM-END
-//
-// We pass the information about the input stream encoding with the
-// STREAM-START token.
-//
-// The next two tokens are responsible for tags:
-//
-//      VERSION-DIRECTIVE(major,minor)
-//      TAG-DIRECTIVE(handle,prefix)
-//
-// Example:
-//
-//      %YAML   1.1
-//      %TAG    !   !foo
-//      %TAG    !yaml!  tag:yaml.org,2002:
-//      ---
-//
-// The correspoding sequence of tokens:
-//
-//      STREAM-START(utf-8)
-//      VERSION-DIRECTIVE(1,1)
-//      TAG-DIRECTIVE("!","!foo")
-//      TAG-DIRECTIVE("!yaml","tag:yaml.org,2002:")
-//      DOCUMENT-START
-//      STREAM-END
-//
-// Note that the VERSION-DIRECTIVE and TAG-DIRECTIVE tokens occupy a whole
-// line.
-//
-// The document start and end indicators are represented by:
-//
-//      DOCUMENT-START
-//      DOCUMENT-END
-//
-// Note that if a YAML stream contains an implicit document (without '---'
-// and '...' indicators), no DOCUMENT-START and DOCUMENT-END tokens will be
-// produced.
-//
-// In the following examples, we present whole documents together with the
-// produced tokens.
-//
-//      1. An implicit document:
-//
-//          'a scalar'
-//
-//      Tokens:
-//
-//          STREAM-START(utf-8)
-//          SCALAR("a scalar",single-quoted)
-//          STREAM-END
-//
-//      2. An explicit document:
-//
-//          ---
-//          'a scalar'
-//          ...
-//
-//      Tokens:
-//
-//          STREAM-START(utf-8)
-//          DOCUMENT-START
-//          SCALAR("a scalar",single-quoted)
-//          DOCUMENT-END
-//          STREAM-END
-//
-//      3. Several documents in a stream:
-//
-//          'a scalar'
-//          ---
-//          'another scalar'
-//          ---
-//          'yet another scalar'
-//
-//      Tokens:
-//
-//          STREAM-START(utf-8)
-//          SCALAR("a scalar",single-quoted)
-//          DOCUMENT-START
-//          SCALAR("another scalar",single-quoted)
-//          DOCUMENT-START
-//          SCALAR("yet another scalar",single-quoted)
-//          STREAM-END
-//
-// We have already introduced the SCALAR token above.  The following tokens are
-// used to describe aliases, anchors, tag, and scalars:
-//
-//      ALIAS(anchor)
-//      ANCHOR(anchor)
-//      TAG(handle,suffix)
-//      SCALAR(value,style)
-//
-// The following series of examples illustrate the usage of these tokens:
-//
-//      1. A recursive sequence:
-//
-//          &A [ *A ]
-//
-//      Tokens:
-//
-//          STREAM-START(utf-8)
-//          ANCHOR("A")
-//          FLOW-SEQUENCE-START
-//          ALIAS("A")
-//          FLOW-SEQUENCE-END
-//          STREAM-END
-//
-//      2. A tagged scalar:
-//
-//          !!float "3.14"  # A good approximation.
-//
-//      Tokens:
-//
-//          STREAM-START(utf-8)
-//          TAG("!!","float")
-//          SCALAR("3.14",double-quoted)
-//          STREAM-END
-//
-//      3. Various scalar styles:
-//
-//          --- # Implicit empty plain scalars do not produce tokens.
-//          --- a plain scalar
-//          --- 'a single-quoted scalar'
-//          --- "a double-quoted scalar"
-//          --- |-
-//            a literal scalar
-//          --- >-
-//            a folded
-//            scalar
-//
-//      Tokens:
-//
-//          STREAM-START(utf-8)
-//          DOCUMENT-START
-//          DOCUMENT-START
-//          SCALAR("a plain scalar",plain)
-//          DOCUMENT-START
-//          SCALAR("a single-quoted scalar",single-quoted)
-//          DOCUMENT-START
-//          SCALAR("a double-quoted scalar",double-quoted)
-//          DOCUMENT-START
-//          SCALAR("a literal scalar",literal)
-//          DOCUMENT-START
-//          SCALAR("a folded scalar",folded)
-//          STREAM-END
-//
-// Now it's time to review collection-related tokens. We will start with
-// flow collections:
-//
-//      FLOW-SEQUENCE-START
-//      FLOW-SEQUENCE-END
-//      FLOW-MAPPING-START
-//      FLOW-MAPPING-END
-//      FLOW-ENTRY
-//      KEY
-//      VALUE
-//
-// The tokens FLOW-SEQUENCE-START, FLOW-SEQUENCE-END, FLOW-MAPPING-START, and
-// FLOW-MAPPING-END represent the indicators '[', ']', '{', and '}'
-// correspondingly.  FLOW-ENTRY represent the ',' indicator.  Finally the
-// indicators '?' and ':', which are used for denoting mapping keys and values,
-// are represented by the KEY and VALUE tokens.
-//
-// The following examples show flow collections:
-//
-//      1. A flow sequence:
-//
-//          [item 1, item 2, item 3]
-//
-//      Tokens:
-//
-//          STREAM-START(utf-8)
-//          FLOW-SEQUENCE-START
-//          SCALAR("item 1",plain)
-//          FLOW-ENTRY
-//          SCALAR("item 2",plain)
-//          FLOW-ENTRY
-//          SCALAR("item 3",plain)
-//          FLOW-SEQUENCE-END
-//          STREAM-END
-//
-//      2. A flow mapping:
-//
-//          {
-//              a simple key: a value,  # Note that the KEY token is produced.
-//              ? a complex key: another value,
-//          }
-//
-//      Tokens:
-//
-//          STREAM-START(utf-8)
-//          FLOW-MAPPING-START
-//          KEY
-//          SCALAR("a simple key",plain)
-//          VALUE
-//          SCALAR("a value",plain)
-//          FLOW-ENTRY
-//          KEY
-//          SCALAR("a complex key",plain)
-//          VALUE
-//          SCALAR("another value",plain)
-//          FLOW-ENTRY
-//          FLOW-MAPPING-END
-//          STREAM-END
-//
-// A simple key is a key which is not denoted by the '?' indicator.  Note that
-// the Scanner still produce the KEY token whenever it encounters a simple key.
-//
-// For scanning block collections, the following tokens are used (note that we
-// repeat KEY and VALUE here):
-//
-//      BLOCK-SEQUENCE-START
-//      BLOCK-MAPPING-START
-//      BLOCK-END
-//      BLOCK-ENTRY
-//      KEY
-//      VALUE
-//
-// The tokens BLOCK-SEQUENCE-START and BLOCK-MAPPING-START denote indentation
-// increase that precedes a block collection (cf. the INDENT token in Python).
-// The token BLOCK-END denote indentation decrease that ends a block collection
-// (cf. the DEDENT token in Python).  However YAML has some syntax pecularities
-// that makes detections of these tokens more complex.
-//
-// The tokens BLOCK-ENTRY, KEY, and VALUE are used to represent the indicators
-// '-', '?', and ':' correspondingly.
-//
-// The following examples show how the tokens BLOCK-SEQUENCE-START,
-// BLOCK-MAPPING-START, and BLOCK-END are emitted by the Scanner:
-//
-//      1. Block sequences:
-//
-//          - item 1
-//          - item 2
-//          -
-//            - item 3.1
-//            - item 3.2
-//          -
-//            key 1: value 1
-//            key 2: value 2
-//
-//      Tokens:
-//
-//          STREAM-START(utf-8)
-//          BLOCK-SEQUENCE-START
-//          BLOCK-ENTRY
-//          SCALAR("item 1",plain)
-//          BLOCK-ENTRY
-//          SCALAR("item 2",plain)
-//          BLOCK-ENTRY
-//          BLOCK-SEQUENCE-START
-//          BLOCK-ENTRY
-//          SCALAR("item 3.1",plain)
-//          BLOCK-ENTRY
-//          SCALAR("item 3.2",plain)
-//          BLOCK-END
-//          BLOCK-ENTRY
-//          BLOCK-MAPPING-START
-//          KEY
-//          SCALAR("key 1",plain)
-//          VALUE
-//          SCALAR("value 1",plain)
-//          KEY
-//          SCALAR("key 2",plain)
-//          VALUE
-//          SCALAR("value 2",plain)
-//          BLOCK-END
-//          BLOCK-END
-//          STREAM-END
-//
-//      2. Block mappings:
-//
-//          a simple key: a value   # The KEY token is produced here.
-//          ? a complex key
-//          : another value
-//          a mapping:
-//            key 1: value 1
-//            key 2: value 2
-//          a sequence:
-//            - item 1
-//            - item 2
-//
-//      Tokens:
-//
-//          STREAM-START(utf-8)
-//          BLOCK-MAPPING-START
-//          KEY
-//          SCALAR("a simple key",plain)
-//          VALUE
-//          SCALAR("a value",plain)
-//          KEY
-//          SCALAR("a complex key",plain)
-//          VALUE
-//          SCALAR("another value",plain)
-//          KEY
-//          SCALAR("a mapping",plain)
-//          BLOCK-MAPPING-START
-//          KEY
-//          SCALAR("key 1",plain)
-//          VALUE
-//          SCALAR("value 1",plain)
-//          KEY
-//          SCALAR("key 2",plain)
-//          VALUE
-//          SCALAR("value 2",plain)
-//          BLOCK-END
-//          KEY
-//          SCALAR("a sequence",plain)
-//          VALUE
-//          BLOCK-SEQUENCE-START
-//          BLOCK-ENTRY
-//          SCALAR("item 1",plain)
-//          BLOCK-ENTRY
-//          SCALAR("item 2",plain)
-//          BLOCK-END
-//          BLOCK-END
-//          STREAM-END
-//
-// YAML does not always require to start a new block collection from a new
-// line.  If the current line contains only '-', '?', and ':' indicators, a new
-// block collection may start at the current line.  The following examples
-// illustrate this case:
-//
-//      1. Collections in a sequence:
-//
-//          - - item 1
-//            - item 2
-//          - key 1: value 1
-//            key 2: value 2
-//          - ? complex key
-//            : complex value
-//
-//      Tokens:
-//
-//          STREAM-START(utf-8)
-//          BLOCK-SEQUENCE-START
-//          BLOCK-ENTRY
-//          BLOCK-SEQUENCE-START
-//          BLOCK-ENTRY
-//          SCALAR("item 1",plain)
-//          BLOCK-ENTRY
-//          SCALAR("item 2",plain)
-//          BLOCK-END
-//          BLOCK-ENTRY
-//          BLOCK-MAPPING-START
-//          KEY
-//          SCALAR("key 1",plain)
-//          VALUE
-//          SCALAR("value 1",plain)
-//          KEY
-//          SCALAR("key 2",plain)
-//          VALUE
-//          SCALAR("value 2",plain)
-//          BLOCK-END
-//          BLOCK-ENTRY
-//          BLOCK-MAPPING-START
-//          KEY
-//          SCALAR("complex key")
-//          VALUE
-//          SCALAR("complex value")
-//          BLOCK-END
-//          BLOCK-END
-//          STREAM-END
-//
-//      2. Collections in a mapping:
-//
-//          ? a sequence
-//          : - item 1
-//            - item 2
-//          ? a mapping
-//          : key 1: value 1
-//            key 2: value 2
-//
-//      Tokens:
-//
-//          STREAM-START(utf-8)
-//          BLOCK-MAPPING-START
-//          KEY
-//          SCALAR("a sequence",plain)
-//          VALUE
-//          BLOCK-SEQUENCE-START
-//          BLOCK-ENTRY
-//          SCALAR("item 1",plain)
-//          BLOCK-ENTRY
-//          SCALAR("item 2",plain)
-//          BLOCK-END
-//          KEY
-//          SCALAR("a mapping",plain)
-//          VALUE
-//          BLOCK-MAPPING-START
-//          KEY
-//          SCALAR("key 1",plain)
-//          VALUE
-//          SCALAR("value 1",plain)
-//          KEY
-//          SCALAR("key 2",plain)
-//          VALUE
-//          SCALAR("value 2",plain)
-//          BLOCK-END
-//          BLOCK-END
-//          STREAM-END
-//
-// YAML also permits non-indented sequences if they are included into a block
-// mapping.  In this case, the token BLOCK-SEQUENCE-START is not produced:
-//
-//      key:
-//      - item 1    # BLOCK-SEQUENCE-START is NOT produced here.
-//      - item 2
-//
-// Tokens:
-//
-//      STREAM-START(utf-8)
-//      BLOCK-MAPPING-START
-//      KEY
-//      SCALAR("key",plain)
-//      VALUE
-//      BLOCK-ENTRY
-//      SCALAR("item 1",plain)
-//      BLOCK-ENTRY
-//      SCALAR("item 2",plain)
-//      BLOCK-END
-//
-
-// Ensure that the buffer contains the required number of characters.
-// Return true on success, false on failure (reader error or memory error).
-func cache(parser *yaml_parser_t, length int) bool {
-       // [Go] This was inlined: !cache(A, B) -> unread < B && !update(A, B)
-       return parser.unread >= length || yaml_parser_update_buffer(parser, length)
-}
-
-// Advance the buffer pointer.
-func skip(parser *yaml_parser_t) {
-       parser.mark.index++
-       parser.mark.column++
-       parser.unread--
-       parser.buffer_pos += width(parser.buffer[parser.buffer_pos])
-}
-
-func skip_line(parser *yaml_parser_t) {
-       if is_crlf(parser.buffer, parser.buffer_pos) {
-               parser.mark.index += 2
-               parser.mark.column = 0
-               parser.mark.line++
-               parser.unread -= 2
-               parser.buffer_pos += 2
-       } else if is_break(parser.buffer, parser.buffer_pos) {
-               parser.mark.index++
-               parser.mark.column = 0
-               parser.mark.line++
-               parser.unread--
-               parser.buffer_pos += width(parser.buffer[parser.buffer_pos])
-       }
-}
-
-// Copy a character to a string buffer and advance pointers.
-func read(parser *yaml_parser_t, s []byte) []byte {
-       w := width(parser.buffer[parser.buffer_pos])
-       if w == 0 {
-               panic("invalid character sequence")
-       }
-       if len(s) == 0 {
-               s = make([]byte, 0, 32)
-       }
-       if w == 1 && len(s)+w <= cap(s) {
-               s = s[:len(s)+1]
-               s[len(s)-1] = parser.buffer[parser.buffer_pos]
-               parser.buffer_pos++
-       } else {
-               s = append(s, parser.buffer[parser.buffer_pos:parser.buffer_pos+w]...)
-               parser.buffer_pos += w
-       }
-       parser.mark.index++
-       parser.mark.column++
-       parser.unread--
-       return s
-}
-
-// Copy a line break character to a string buffer and advance pointers.
-func read_line(parser *yaml_parser_t, s []byte) []byte {
-       buf := parser.buffer
-       pos := parser.buffer_pos
-       switch {
-       case buf[pos] == '\r' && buf[pos+1] == '\n':
-               // CR LF . LF
-               s = append(s, '\n')
-               parser.buffer_pos += 2
-               parser.mark.index++
-               parser.unread--
-       case buf[pos] == '\r' || buf[pos] == '\n':
-               // CR|LF . LF
-               s = append(s, '\n')
-               parser.buffer_pos += 1
-       case buf[pos] == '\xC2' && buf[pos+1] == '\x85':
-               // NEL . LF
-               s = append(s, '\n')
-               parser.buffer_pos += 2
-       case buf[pos] == '\xE2' && buf[pos+1] == '\x80' && (buf[pos+2] == '\xA8' || buf[pos+2] == '\xA9'):
-               // LS|PS . LS|PS
-               s = append(s, buf[parser.buffer_pos:pos+3]...)
-               parser.buffer_pos += 3
-       default:
-               return s
-       }
-       parser.mark.index++
-       parser.mark.column = 0
-       parser.mark.line++
-       parser.unread--
-       return s
-}
-
-// Get the next token.
-func yaml_parser_scan(parser *yaml_parser_t, token *yaml_token_t) bool {
-       // Erase the token object.
-       *token = yaml_token_t{} // [Go] Is this necessary?
-
-       // No tokens after STREAM-END or error.
-       if parser.stream_end_produced || parser.error != yaml_NO_ERROR {
-               return true
-       }
-
-       // Ensure that the tokens queue contains enough tokens.
-       if !parser.token_available {
-               if !yaml_parser_fetch_more_tokens(parser) {
-                       return false
-               }
-       }
-
-       // Fetch the next token from the queue.
-       *token = parser.tokens[parser.tokens_head]
-       parser.tokens_head++
-       parser.tokens_parsed++
-       parser.token_available = false
-
-       if token.typ == yaml_STREAM_END_TOKEN {
-               parser.stream_end_produced = true
-       }
-       return true
-}
-
-// Set the scanner error and return false.
-func yaml_parser_set_scanner_error(parser *yaml_parser_t, context string, context_mark yaml_mark_t, problem string) bool {
-       parser.error = yaml_SCANNER_ERROR
-       parser.context = context
-       parser.context_mark = context_mark
-       parser.problem = problem
-       parser.problem_mark = parser.mark
-       return false
-}
-
-func yaml_parser_set_scanner_tag_error(parser *yaml_parser_t, directive bool, context_mark yaml_mark_t, problem string) bool {
-       context := "while parsing a tag"
-       if directive {
-               context = "while parsing a %TAG directive"
-       }
-       return yaml_parser_set_scanner_error(parser, context, context_mark, "did not find URI escaped octet")
-}
-
-func trace(args ...interface{}) func() {
-       pargs := append([]interface{}{"+++"}, args...)
-       fmt.Println(pargs...)
-       pargs = append([]interface{}{"---"}, args...)
-       return func() { fmt.Println(pargs...) }
-}
-
-// Ensure that the tokens queue contains at least one token which can be
-// returned to the Parser.
-func yaml_parser_fetch_more_tokens(parser *yaml_parser_t) bool {
-       // While we need more tokens to fetch, do it.
-       for {
-               // Check if we really need to fetch more tokens.
-               need_more_tokens := false
-
-               if parser.tokens_head == len(parser.tokens) {
-                       // Queue is empty.
-                       need_more_tokens = true
-               } else {
-                       // Check if any potential simple key may occupy the head position.
-                       if !yaml_parser_stale_simple_keys(parser) {
-                               return false
-                       }
-
-                       for i := range parser.simple_keys {
-                               simple_key := &parser.simple_keys[i]
-                               if simple_key.possible && simple_key.token_number == parser.tokens_parsed {
-                                       need_more_tokens = true
-                                       break
-                               }
-                       }
-               }
-
-               // We are finished.
-               if !need_more_tokens {
-                       break
-               }
-               // Fetch the next token.
-               if !yaml_parser_fetch_next_token(parser) {
-                       return false
-               }
-       }
-
-       parser.token_available = true
-       return true
-}
-
-// The dispatcher for token fetchers.
-func yaml_parser_fetch_next_token(parser *yaml_parser_t) bool {
-       // Ensure that the buffer is initialized.
-       if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-               return false
-       }
-
-       // Check if we just started scanning.  Fetch STREAM-START then.
-       if !parser.stream_start_produced {
-               return yaml_parser_fetch_stream_start(parser)
-       }
-
-       // Eat whitespaces and comments until we reach the next token.
-       if !yaml_parser_scan_to_next_token(parser) {
-               return false
-       }
-
-       // Remove obsolete potential simple keys.
-       if !yaml_parser_stale_simple_keys(parser) {
-               return false
-       }
-
-       // Check the indentation level against the current column.
-       if !yaml_parser_unroll_indent(parser, parser.mark.column) {
-               return false
-       }
-
-       // Ensure that the buffer contains at least 4 characters.  4 is the length
-       // of the longest indicators ('--- ' and '... ').
-       if parser.unread < 4 && !yaml_parser_update_buffer(parser, 4) {
-               return false
-       }
-
-       // Is it the end of the stream?
-       if is_z(parser.buffer, parser.buffer_pos) {
-               return yaml_parser_fetch_stream_end(parser)
-       }
-
-       // Is it a directive?
-       if parser.mark.column == 0 && parser.buffer[parser.buffer_pos] == '%' {
-               return yaml_parser_fetch_directive(parser)
-       }
-
-       buf := parser.buffer
-       pos := parser.buffer_pos
-
-       // Is it the document start indicator?
-       if parser.mark.column == 0 && buf[pos] == '-' && buf[pos+1] == '-' && buf[pos+2] == '-' && is_blankz(buf, pos+3) {
-               return yaml_parser_fetch_document_indicator(parser, yaml_DOCUMENT_START_TOKEN)
-       }
-
-       // Is it the document end indicator?
-       if parser.mark.column == 0 && buf[pos] == '.' && buf[pos+1] == '.' && buf[pos+2] == '.' && is_blankz(buf, pos+3) {
-               return yaml_parser_fetch_document_indicator(parser, yaml_DOCUMENT_END_TOKEN)
-       }
-
-       // Is it the flow sequence start indicator?
-       if buf[pos] == '[' {
-               return yaml_parser_fetch_flow_collection_start(parser, yaml_FLOW_SEQUENCE_START_TOKEN)
-       }
-
-       // Is it the flow mapping start indicator?
-       if parser.buffer[parser.buffer_pos] == '{' {
-               return yaml_parser_fetch_flow_collection_start(parser, yaml_FLOW_MAPPING_START_TOKEN)
-       }
-
-       // Is it the flow sequence end indicator?
-       if parser.buffer[parser.buffer_pos] == ']' {
-               return yaml_parser_fetch_flow_collection_end(parser,
-                       yaml_FLOW_SEQUENCE_END_TOKEN)
-       }
-
-       // Is it the flow mapping end indicator?
-       if parser.buffer[parser.buffer_pos] == '}' {
-               return yaml_parser_fetch_flow_collection_end(parser,
-                       yaml_FLOW_MAPPING_END_TOKEN)
-       }
-
-       // Is it the flow entry indicator?
-       if parser.buffer[parser.buffer_pos] == ',' {
-               return yaml_parser_fetch_flow_entry(parser)
-       }
-
-       // Is it the block entry indicator?
-       if parser.buffer[parser.buffer_pos] == '-' && is_blankz(parser.buffer, parser.buffer_pos+1) {
-               return yaml_parser_fetch_block_entry(parser)
-       }
-
-       // Is it the key indicator?
-       if parser.buffer[parser.buffer_pos] == '?' && (parser.flow_level > 0 || is_blankz(parser.buffer, parser.buffer_pos+1)) {
-               return yaml_parser_fetch_key(parser)
-       }
-
-       // Is it the value indicator?
-       if parser.buffer[parser.buffer_pos] == ':' && (parser.flow_level > 0 || is_blankz(parser.buffer, parser.buffer_pos+1)) {
-               return yaml_parser_fetch_value(parser)
-       }
-
-       // Is it an alias?
-       if parser.buffer[parser.buffer_pos] == '*' {
-               return yaml_parser_fetch_anchor(parser, yaml_ALIAS_TOKEN)
-       }
-
-       // Is it an anchor?
-       if parser.buffer[parser.buffer_pos] == '&' {
-               return yaml_parser_fetch_anchor(parser, yaml_ANCHOR_TOKEN)
-       }
-
-       // Is it a tag?
-       if parser.buffer[parser.buffer_pos] == '!' {
-               return yaml_parser_fetch_tag(parser)
-       }
-
-       // Is it a literal scalar?
-       if parser.buffer[parser.buffer_pos] == '|' && parser.flow_level == 0 {
-               return yaml_parser_fetch_block_scalar(parser, true)
-       }
-
-       // Is it a folded scalar?
-       if parser.buffer[parser.buffer_pos] == '>' && parser.flow_level == 0 {
-               return yaml_parser_fetch_block_scalar(parser, false)
-       }
-
-       // Is it a single-quoted scalar?
-       if parser.buffer[parser.buffer_pos] == '\'' {
-               return yaml_parser_fetch_flow_scalar(parser, true)
-       }
-
-       // Is it a double-quoted scalar?
-       if parser.buffer[parser.buffer_pos] == '"' {
-               return yaml_parser_fetch_flow_scalar(parser, false)
-       }
-
-       // Is it a plain scalar?
-       //
-       // A plain scalar may start with any non-blank characters except
-       //
-       //      '-', '?', ':', ',', '[', ']', '{', '}',
-       //      '#', '&', '*', '!', '|', '>', '\'', '\"',
-       //      '%', '@', '`'.
-       //
-       // In the block context (and, for the '-' indicator, in the flow context
-       // too), it may also start with the characters
-       //
-       //      '-', '?', ':'
-       //
-       // if it is followed by a non-space character.
-       //
-       // The last rule is more restrictive than the specification requires.
-       // [Go] Make this logic more reasonable.
-       //switch parser.buffer[parser.buffer_pos] {
-       //case '-', '?', ':', ',', '?', '-', ',', ':', ']', '[', '}', '{', '&', '#', '!', '*', '>', '|', '"', '\'', '@', '%', '-', '`':
-       //}
-       if !(is_blankz(parser.buffer, parser.buffer_pos) || parser.buffer[parser.buffer_pos] == '-' ||
-               parser.buffer[parser.buffer_pos] == '?' || parser.buffer[parser.buffer_pos] == ':' ||
-               parser.buffer[parser.buffer_pos] == ',' || parser.buffer[parser.buffer_pos] == '[' ||
-               parser.buffer[parser.buffer_pos] == ']' || parser.buffer[parser.buffer_pos] == '{' ||
-               parser.buffer[parser.buffer_pos] == '}' || parser.buffer[parser.buffer_pos] == '#' ||
-               parser.buffer[parser.buffer_pos] == '&' || parser.buffer[parser.buffer_pos] == '*' ||
-               parser.buffer[parser.buffer_pos] == '!' || parser.buffer[parser.buffer_pos] == '|' ||
-               parser.buffer[parser.buffer_pos] == '>' || parser.buffer[parser.buffer_pos] == '\'' ||
-               parser.buffer[parser.buffer_pos] == '"' || parser.buffer[parser.buffer_pos] == '%' ||
-               parser.buffer[parser.buffer_pos] == '@' || parser.buffer[parser.buffer_pos] == '`') ||
-               (parser.buffer[parser.buffer_pos] == '-' && !is_blank(parser.buffer, parser.buffer_pos+1)) ||
-               (parser.flow_level == 0 &&
-                       (parser.buffer[parser.buffer_pos] == '?' || parser.buffer[parser.buffer_pos] == ':') &&
-                       !is_blankz(parser.buffer, parser.buffer_pos+1)) {
-               return yaml_parser_fetch_plain_scalar(parser)
-       }
-
-       // If we don't determine the token type so far, it is an error.
-       return yaml_parser_set_scanner_error(parser,
-               "while scanning for the next token", parser.mark,
-               "found character that cannot start any token")
-}
-
-// Check the list of potential simple keys and remove the positions that
-// cannot contain simple keys anymore.
-func yaml_parser_stale_simple_keys(parser *yaml_parser_t) bool {
-       // Check for a potential simple key for each flow level.
-       for i := range parser.simple_keys {
-               simple_key := &parser.simple_keys[i]
-
-               // The specification requires that a simple key
-               //
-               //  - is limited to a single line,
-               //  - is shorter than 1024 characters.
-               if simple_key.possible && (simple_key.mark.line < parser.mark.line || simple_key.mark.index+1024 < parser.mark.index) {
-
-                       // Check if the potential simple key to be removed is required.
-                       if simple_key.required {
-                               return yaml_parser_set_scanner_error(parser,
-                                       "while scanning a simple key", simple_key.mark,
-                                       "could not find expected ':'")
-                       }
-                       simple_key.possible = false
-               }
-       }
-       return true
-}
-
-// Check if a simple key may start at the current position and add it if
-// needed.
-func yaml_parser_save_simple_key(parser *yaml_parser_t) bool {
-       // A simple key is required at the current position if the scanner is in
-       // the block context and the current column coincides with the indentation
-       // level.
-
-       required := parser.flow_level == 0 && parser.indent == parser.mark.column
-
-       // A simple key is required only when it is the first token in the current
-       // line.  Therefore it is always allowed.  But we add a check anyway.
-       if required && !parser.simple_key_allowed {
-               panic("should not happen")
-       }
-
-       //
-       // If the current position may start a simple key, save it.
-       //
-       if parser.simple_key_allowed {
-               simple_key := yaml_simple_key_t{
-                       possible:     true,
-                       required:     required,
-                       token_number: parser.tokens_parsed + (len(parser.tokens) - parser.tokens_head),
-               }
-               simple_key.mark = parser.mark
-
-               if !yaml_parser_remove_simple_key(parser) {
-                       return false
-               }
-               parser.simple_keys[len(parser.simple_keys)-1] = simple_key
-       }
-       return true
-}
-
-// Remove a potential simple key at the current flow level.
-func yaml_parser_remove_simple_key(parser *yaml_parser_t) bool {
-       i := len(parser.simple_keys) - 1
-       if parser.simple_keys[i].possible {
-               // If the key is required, it is an error.
-               if parser.simple_keys[i].required {
-                       return yaml_parser_set_scanner_error(parser,
-                               "while scanning a simple key", parser.simple_keys[i].mark,
-                               "could not find expected ':'")
-               }
-       }
-       // Remove the key from the stack.
-       parser.simple_keys[i].possible = false
-       return true
-}
-
-// Increase the flow level and resize the simple key list if needed.
-func yaml_parser_increase_flow_level(parser *yaml_parser_t) bool {
-       // Reset the simple key on the next level.
-       parser.simple_keys = append(parser.simple_keys, yaml_simple_key_t{})
-
-       // Increase the flow level.
-       parser.flow_level++
-       return true
-}
-
-// Decrease the flow level.
-func yaml_parser_decrease_flow_level(parser *yaml_parser_t) bool {
-       if parser.flow_level > 0 {
-               parser.flow_level--
-               parser.simple_keys = parser.simple_keys[:len(parser.simple_keys)-1]
-       }
-       return true
-}
-
-// Push the current indentation level to the stack and set the new level
-// the current column is greater than the indentation level.  In this case,
-// append or insert the specified token into the token queue.
-func yaml_parser_roll_indent(parser *yaml_parser_t, column, number int, typ yaml_token_type_t, mark yaml_mark_t) bool {
-       // In the flow context, do nothing.
-       if parser.flow_level > 0 {
-               return true
-       }
-
-       if parser.indent < column {
-               // Push the current indentation level to the stack and set the new
-               // indentation level.
-               parser.indents = append(parser.indents, parser.indent)
-               parser.indent = column
-
-               // Create a token and insert it into the queue.
-               token := yaml_token_t{
-                       typ:        typ,
-                       start_mark: mark,
-                       end_mark:   mark,
-               }
-               if number > -1 {
-                       number -= parser.tokens_parsed
-               }
-               yaml_insert_token(parser, number, &token)
-       }
-       return true
-}
-
-// Pop indentation levels from the indents stack until the current level
-// becomes less or equal to the column.  For each indentation level, append
-// the BLOCK-END token.
-func yaml_parser_unroll_indent(parser *yaml_parser_t, column int) bool {
-       // In the flow context, do nothing.
-       if parser.flow_level > 0 {
-               return true
-       }
-
-       // Loop through the indentation levels in the stack.
-       for parser.indent > column {
-               // Create a token and append it to the queue.
-               token := yaml_token_t{
-                       typ:        yaml_BLOCK_END_TOKEN,
-                       start_mark: parser.mark,
-                       end_mark:   parser.mark,
-               }
-               yaml_insert_token(parser, -1, &token)
-
-               // Pop the indentation level.
-               parser.indent = parser.indents[len(parser.indents)-1]
-               parser.indents = parser.indents[:len(parser.indents)-1]
-       }
-       return true
-}
-
-// Initialize the scanner and produce the STREAM-START token.
-func yaml_parser_fetch_stream_start(parser *yaml_parser_t) bool {
-
-       // Set the initial indentation.
-       parser.indent = -1
-
-       // Initialize the simple key stack.
-       parser.simple_keys = append(parser.simple_keys, yaml_simple_key_t{})
-
-       // A simple key is allowed at the beginning of the stream.
-       parser.simple_key_allowed = true
-
-       // We have started.
-       parser.stream_start_produced = true
-
-       // Create the STREAM-START token and append it to the queue.
-       token := yaml_token_t{
-               typ:        yaml_STREAM_START_TOKEN,
-               start_mark: parser.mark,
-               end_mark:   parser.mark,
-               encoding:   parser.encoding,
-       }
-       yaml_insert_token(parser, -1, &token)
-       return true
-}
-
-// Produce the STREAM-END token and shut down the scanner.
-func yaml_parser_fetch_stream_end(parser *yaml_parser_t) bool {
-
-       // Force new line.
-       if parser.mark.column != 0 {
-               parser.mark.column = 0
-               parser.mark.line++
-       }
-
-       // Reset the indentation level.
-       if !yaml_parser_unroll_indent(parser, -1) {
-               return false
-       }
-
-       // Reset simple keys.
-       if !yaml_parser_remove_simple_key(parser) {
-               return false
-       }
-
-       parser.simple_key_allowed = false
-
-       // Create the STREAM-END token and append it to the queue.
-       token := yaml_token_t{
-               typ:        yaml_STREAM_END_TOKEN,
-               start_mark: parser.mark,
-               end_mark:   parser.mark,
-       }
-       yaml_insert_token(parser, -1, &token)
-       return true
-}
-
-// Produce a VERSION-DIRECTIVE or TAG-DIRECTIVE token.
-func yaml_parser_fetch_directive(parser *yaml_parser_t) bool {
-       // Reset the indentation level.
-       if !yaml_parser_unroll_indent(parser, -1) {
-               return false
-       }
-
-       // Reset simple keys.
-       if !yaml_parser_remove_simple_key(parser) {
-               return false
-       }
-
-       parser.simple_key_allowed = false
-
-       // Create the YAML-DIRECTIVE or TAG-DIRECTIVE token.
-       token := yaml_token_t{}
-       if !yaml_parser_scan_directive(parser, &token) {
-               return false
-       }
-       // Append the token to the queue.
-       yaml_insert_token(parser, -1, &token)
-       return true
-}
-
-// Produce the DOCUMENT-START or DOCUMENT-END token.
-func yaml_parser_fetch_document_indicator(parser *yaml_parser_t, typ yaml_token_type_t) bool {
-       // Reset the indentation level.
-       if !yaml_parser_unroll_indent(parser, -1) {
-               return false
-       }
-
-       // Reset simple keys.
-       if !yaml_parser_remove_simple_key(parser) {
-               return false
-       }
-
-       parser.simple_key_allowed = false
-
-       // Consume the token.
-       start_mark := parser.mark
-
-       skip(parser)
-       skip(parser)
-       skip(parser)
-
-       end_mark := parser.mark
-
-       // Create the DOCUMENT-START or DOCUMENT-END token.
-       token := yaml_token_t{
-               typ:        typ,
-               start_mark: start_mark,
-               end_mark:   end_mark,
-       }
-       // Append the token to the queue.
-       yaml_insert_token(parser, -1, &token)
-       return true
-}
-
-// Produce the FLOW-SEQUENCE-START or FLOW-MAPPING-START token.
-func yaml_parser_fetch_flow_collection_start(parser *yaml_parser_t, typ yaml_token_type_t) bool {
-       // The indicators '[' and '{' may start a simple key.
-       if !yaml_parser_save_simple_key(parser) {
-               return false
-       }
-
-       // Increase the flow level.
-       if !yaml_parser_increase_flow_level(parser) {
-               return false
-       }
-
-       // A simple key may follow the indicators '[' and '{'.
-       parser.simple_key_allowed = true
-
-       // Consume the token.
-       start_mark := parser.mark
-       skip(parser)
-       end_mark := parser.mark
-
-       // Create the FLOW-SEQUENCE-START of FLOW-MAPPING-START token.
-       token := yaml_token_t{
-               typ:        typ,
-               start_mark: start_mark,
-               end_mark:   end_mark,
-       }
-       // Append the token to the queue.
-       yaml_insert_token(parser, -1, &token)
-       return true
-}
-
-// Produce the FLOW-SEQUENCE-END or FLOW-MAPPING-END token.
-func yaml_parser_fetch_flow_collection_end(parser *yaml_parser_t, typ yaml_token_type_t) bool {
-       // Reset any potential simple key on the current flow level.
-       if !yaml_parser_remove_simple_key(parser) {
-               return false
-       }
-
-       // Decrease the flow level.
-       if !yaml_parser_decrease_flow_level(parser) {
-               return false
-       }
-
-       // No simple keys after the indicators ']' and '}'.
-       parser.simple_key_allowed = false
-
-       // Consume the token.
-
-       start_mark := parser.mark
-       skip(parser)
-       end_mark := parser.mark
-
-       // Create the FLOW-SEQUENCE-END of FLOW-MAPPING-END token.
-       token := yaml_token_t{
-               typ:        typ,
-               start_mark: start_mark,
-               end_mark:   end_mark,
-       }
-       // Append the token to the queue.
-       yaml_insert_token(parser, -1, &token)
-       return true
-}
-
-// Produce the FLOW-ENTRY token.
-func yaml_parser_fetch_flow_entry(parser *yaml_parser_t) bool {
-       // Reset any potential simple keys on the current flow level.
-       if !yaml_parser_remove_simple_key(parser) {
-               return false
-       }
-
-       // Simple keys are allowed after ','.
-       parser.simple_key_allowed = true
-
-       // Consume the token.
-       start_mark := parser.mark
-       skip(parser)
-       end_mark := parser.mark
-
-       // Create the FLOW-ENTRY token and append it to the queue.
-       token := yaml_token_t{
-               typ:        yaml_FLOW_ENTRY_TOKEN,
-               start_mark: start_mark,
-               end_mark:   end_mark,
-       }
-       yaml_insert_token(parser, -1, &token)
-       return true
-}
-
-// Produce the BLOCK-ENTRY token.
-func yaml_parser_fetch_block_entry(parser *yaml_parser_t) bool {
-       // Check if the scanner is in the block context.
-       if parser.flow_level == 0 {
-               // Check if we are allowed to start a new entry.
-               if !parser.simple_key_allowed {
-                       return yaml_parser_set_scanner_error(parser, "", parser.mark,
-                               "block sequence entries are not allowed in this context")
-               }
-               // Add the BLOCK-SEQUENCE-START token if needed.
-               if !yaml_parser_roll_indent(parser, parser.mark.column, -1, yaml_BLOCK_SEQUENCE_START_TOKEN, parser.mark) {
-                       return false
-               }
-       } else {
-               // It is an error for the '-' indicator to occur in the flow context,
-               // but we let the Parser detect and report about it because the Parser
-               // is able to point to the context.
-       }
-
-       // Reset any potential simple keys on the current flow level.
-       if !yaml_parser_remove_simple_key(parser) {
-               return false
-       }
-
-       // Simple keys are allowed after '-'.
-       parser.simple_key_allowed = true
-
-       // Consume the token.
-       start_mark := parser.mark
-       skip(parser)
-       end_mark := parser.mark
-
-       // Create the BLOCK-ENTRY token and append it to the queue.
-       token := yaml_token_t{
-               typ:        yaml_BLOCK_ENTRY_TOKEN,
-               start_mark: start_mark,
-               end_mark:   end_mark,
-       }
-       yaml_insert_token(parser, -1, &token)
-       return true
-}
-
-// Produce the KEY token.
-func yaml_parser_fetch_key(parser *yaml_parser_t) bool {
-
-       // In the block context, additional checks are required.
-       if parser.flow_level == 0 {
-               // Check if we are allowed to start a new key (not nessesary simple).
-               if !parser.simple_key_allowed {
-                       return yaml_parser_set_scanner_error(parser, "", parser.mark,
-                               "mapping keys are not allowed in this context")
-               }
-               // Add the BLOCK-MAPPING-START token if needed.
-               if !yaml_parser_roll_indent(parser, parser.mark.column, -1, yaml_BLOCK_MAPPING_START_TOKEN, parser.mark) {
-                       return false
-               }
-       }
-
-       // Reset any potential simple keys on the current flow level.
-       if !yaml_parser_remove_simple_key(parser) {
-               return false
-       }
-
-       // Simple keys are allowed after '?' in the block context.
-       parser.simple_key_allowed = parser.flow_level == 0
-
-       // Consume the token.
-       start_mark := parser.mark
-       skip(parser)
-       end_mark := parser.mark
-
-       // Create the KEY token and append it to the queue.
-       token := yaml_token_t{
-               typ:        yaml_KEY_TOKEN,
-               start_mark: start_mark,
-               end_mark:   end_mark,
-       }
-       yaml_insert_token(parser, -1, &token)
-       return true
-}
-
-// Produce the VALUE token.
-func yaml_parser_fetch_value(parser *yaml_parser_t) bool {
-
-       simple_key := &parser.simple_keys[len(parser.simple_keys)-1]
-
-       // Have we found a simple key?
-       if simple_key.possible {
-               // Create the KEY token and insert it into the queue.
-               token := yaml_token_t{
-                       typ:        yaml_KEY_TOKEN,
-                       start_mark: simple_key.mark,
-                       end_mark:   simple_key.mark,
-               }
-               yaml_insert_token(parser, simple_key.token_number-parser.tokens_parsed, &token)
-
-               // In the block context, we may need to add the BLOCK-MAPPING-START token.
-               if !yaml_parser_roll_indent(parser, simple_key.mark.column,
-                       simple_key.token_number,
-                       yaml_BLOCK_MAPPING_START_TOKEN, simple_key.mark) {
-                       return false
-               }
-
-               // Remove the simple key.
-               simple_key.possible = false
-
-               // A simple key cannot follow another simple key.
-               parser.simple_key_allowed = false
-
-       } else {
-               // The ':' indicator follows a complex key.
-
-               // In the block context, extra checks are required.
-               if parser.flow_level == 0 {
-
-                       // Check if we are allowed to start a complex value.
-                       if !parser.simple_key_allowed {
-                               return yaml_parser_set_scanner_error(parser, "", parser.mark,
-                                       "mapping values are not allowed in this context")
-                       }
-
-                       // Add the BLOCK-MAPPING-START token if needed.
-                       if !yaml_parser_roll_indent(parser, parser.mark.column, -1, yaml_BLOCK_MAPPING_START_TOKEN, parser.mark) {
-                               return false
-                       }
-               }
-
-               // Simple keys after ':' are allowed in the block context.
-               parser.simple_key_allowed = parser.flow_level == 0
-       }
-
-       // Consume the token.
-       start_mark := parser.mark
-       skip(parser)
-       end_mark := parser.mark
-
-       // Create the VALUE token and append it to the queue.
-       token := yaml_token_t{
-               typ:        yaml_VALUE_TOKEN,
-               start_mark: start_mark,
-               end_mark:   end_mark,
-       }
-       yaml_insert_token(parser, -1, &token)
-       return true
-}
-
-// Produce the ALIAS or ANCHOR token.
-func yaml_parser_fetch_anchor(parser *yaml_parser_t, typ yaml_token_type_t) bool {
-       // An anchor or an alias could be a simple key.
-       if !yaml_parser_save_simple_key(parser) {
-               return false
-       }
-
-       // A simple key cannot follow an anchor or an alias.
-       parser.simple_key_allowed = false
-
-       // Create the ALIAS or ANCHOR token and append it to the queue.
-       var token yaml_token_t
-       if !yaml_parser_scan_anchor(parser, &token, typ) {
-               return false
-       }
-       yaml_insert_token(parser, -1, &token)
-       return true
-}
-
-// Produce the TAG token.
-func yaml_parser_fetch_tag(parser *yaml_parser_t) bool {
-       // A tag could be a simple key.
-       if !yaml_parser_save_simple_key(parser) {
-               return false
-       }
-
-       // A simple key cannot follow a tag.
-       parser.simple_key_allowed = false
-
-       // Create the TAG token and append it to the queue.
-       var token yaml_token_t
-       if !yaml_parser_scan_tag(parser, &token) {
-               return false
-       }
-       yaml_insert_token(parser, -1, &token)
-       return true
-}
-
-// Produce the SCALAR(...,literal) or SCALAR(...,folded) tokens.
-func yaml_parser_fetch_block_scalar(parser *yaml_parser_t, literal bool) bool {
-       // Remove any potential simple keys.
-       if !yaml_parser_remove_simple_key(parser) {
-               return false
-       }
-
-       // A simple key may follow a block scalar.
-       parser.simple_key_allowed = true
-
-       // Create the SCALAR token and append it to the queue.
-       var token yaml_token_t
-       if !yaml_parser_scan_block_scalar(parser, &token, literal) {
-               return false
-       }
-       yaml_insert_token(parser, -1, &token)
-       return true
-}
-
-// Produce the SCALAR(...,single-quoted) or SCALAR(...,double-quoted) tokens.
-func yaml_parser_fetch_flow_scalar(parser *yaml_parser_t, single bool) bool {
-       // A plain scalar could be a simple key.
-       if !yaml_parser_save_simple_key(parser) {
-               return false
-       }
-
-       // A simple key cannot follow a flow scalar.
-       parser.simple_key_allowed = false
-
-       // Create the SCALAR token and append it to the queue.
-       var token yaml_token_t
-       if !yaml_parser_scan_flow_scalar(parser, &token, single) {
-               return false
-       }
-       yaml_insert_token(parser, -1, &token)
-       return true
-}
-
-// Produce the SCALAR(...,plain) token.
-func yaml_parser_fetch_plain_scalar(parser *yaml_parser_t) bool {
-       // A plain scalar could be a simple key.
-       if !yaml_parser_save_simple_key(parser) {
-               return false
-       }
-
-       // A simple key cannot follow a flow scalar.
-       parser.simple_key_allowed = false
-
-       // Create the SCALAR token and append it to the queue.
-       var token yaml_token_t
-       if !yaml_parser_scan_plain_scalar(parser, &token) {
-               return false
-       }
-       yaml_insert_token(parser, -1, &token)
-       return true
-}
-
-// Eat whitespaces and comments until the next token is found.
-func yaml_parser_scan_to_next_token(parser *yaml_parser_t) bool {
-
-       // Until the next token is not found.
-       for {
-               // Allow the BOM mark to start a line.
-               if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                       return false
-               }
-               if parser.mark.column == 0 && is_bom(parser.buffer, parser.buffer_pos) {
-                       skip(parser)
-               }
-
-               // Eat whitespaces.
-               // Tabs are allowed:
-               //  - in the flow context
-               //  - in the block context, but not at the beginning of the line or
-               //  after '-', '?', or ':' (complex value).
-               if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                       return false
-               }
-
-               for parser.buffer[parser.buffer_pos] == ' ' || ((parser.flow_level > 0 || !parser.simple_key_allowed) && parser.buffer[parser.buffer_pos] == '\t') {
-                       skip(parser)
-                       if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                               return false
-                       }
-               }
-
-               // Eat a comment until a line break.
-               if parser.buffer[parser.buffer_pos] == '#' {
-                       for !is_breakz(parser.buffer, parser.buffer_pos) {
-                               skip(parser)
-                               if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                                       return false
-                               }
-                       }
-               }
-
-               // If it is a line break, eat it.
-               if is_break(parser.buffer, parser.buffer_pos) {
-                       if parser.unread < 2 && !yaml_parser_update_buffer(parser, 2) {
-                               return false
-                       }
-                       skip_line(parser)
-
-                       // In the block context, a new line may start a simple key.
-                       if parser.flow_level == 0 {
-                               parser.simple_key_allowed = true
-                       }
-               } else {
-                       break // We have found a token.
-               }
-       }
-
-       return true
-}
-
-// Scan a YAML-DIRECTIVE or TAG-DIRECTIVE token.
-//
-// Scope:
-//      %YAML    1.1    # a comment \n
-//      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-//      %TAG    !yaml!  tag:yaml.org,2002:  \n
-//      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-//
-func yaml_parser_scan_directive(parser *yaml_parser_t, token *yaml_token_t) bool {
-       // Eat '%'.
-       start_mark := parser.mark
-       skip(parser)
-
-       // Scan the directive name.
-       var name []byte
-       if !yaml_parser_scan_directive_name(parser, start_mark, &name) {
-               return false
-       }
-
-       // Is it a YAML directive?
-       if bytes.Equal(name, []byte("YAML")) {
-               // Scan the VERSION directive value.
-               var major, minor int8
-               if !yaml_parser_scan_version_directive_value(parser, start_mark, &major, &minor) {
-                       return false
-               }
-               end_mark := parser.mark
-
-               // Create a VERSION-DIRECTIVE token.
-               *token = yaml_token_t{
-                       typ:        yaml_VERSION_DIRECTIVE_TOKEN,
-                       start_mark: start_mark,
-                       end_mark:   end_mark,
-                       major:      major,
-                       minor:      minor,
-               }
-
-               // Is it a TAG directive?
-       } else if bytes.Equal(name, []byte("TAG")) {
-               // Scan the TAG directive value.
-               var handle, prefix []byte
-               if !yaml_parser_scan_tag_directive_value(parser, start_mark, &handle, &prefix) {
-                       return false
-               }
-               end_mark := parser.mark
-
-               // Create a TAG-DIRECTIVE token.
-               *token = yaml_token_t{
-                       typ:        yaml_TAG_DIRECTIVE_TOKEN,
-                       start_mark: start_mark,
-                       end_mark:   end_mark,
-                       value:      handle,
-                       prefix:     prefix,
-               }
-
-               // Unknown directive.
-       } else {
-               yaml_parser_set_scanner_error(parser, "while scanning a directive",
-                       start_mark, "found unknown directive name")
-               return false
-       }
-
-       // Eat the rest of the line including any comments.
-       if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-               return false
-       }
-
-       for is_blank(parser.buffer, parser.buffer_pos) {
-               skip(parser)
-               if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                       return false
-               }
-       }
-
-       if parser.buffer[parser.buffer_pos] == '#' {
-               for !is_breakz(parser.buffer, parser.buffer_pos) {
-                       skip(parser)
-                       if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                               return false
-                       }
-               }
-       }
-
-       // Check if we are at the end of the line.
-       if !is_breakz(parser.buffer, parser.buffer_pos) {
-               yaml_parser_set_scanner_error(parser, "while scanning a directive",
-                       start_mark, "did not find expected comment or line break")
-               return false
-       }
-
-       // Eat a line break.
-       if is_break(parser.buffer, parser.buffer_pos) {
-               if parser.unread < 2 && !yaml_parser_update_buffer(parser, 2) {
-                       return false
-               }
-               skip_line(parser)
-       }
-
-       return true
-}
-
-// Scan the directive name.
-//
-// Scope:
-//      %YAML   1.1     # a comment \n
-//       ^^^^
-//      %TAG    !yaml!  tag:yaml.org,2002:  \n
-//       ^^^
-//
-func yaml_parser_scan_directive_name(parser *yaml_parser_t, start_mark yaml_mark_t, name *[]byte) bool {
-       // Consume the directive name.
-       if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-               return false
-       }
-
-       var s []byte
-       for is_alpha(parser.buffer, parser.buffer_pos) {
-               s = read(parser, s)
-               if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                       return false
-               }
-       }
-
-       // Check if the name is empty.
-       if len(s) == 0 {
-               yaml_parser_set_scanner_error(parser, "while scanning a directive",
-                       start_mark, "could not find expected directive name")
-               return false
-       }
-
-       // Check for an blank character after the name.
-       if !is_blankz(parser.buffer, parser.buffer_pos) {
-               yaml_parser_set_scanner_error(parser, "while scanning a directive",
-                       start_mark, "found unexpected non-alphabetical character")
-               return false
-       }
-       *name = s
-       return true
-}
-
-// Scan the value of VERSION-DIRECTIVE.
-//
-// Scope:
-//      %YAML   1.1     # a comment \n
-//           ^^^^^^
-func yaml_parser_scan_version_directive_value(parser *yaml_parser_t, start_mark yaml_mark_t, major, minor *int8) bool {
-       // Eat whitespaces.
-       if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-               return false
-       }
-       for is_blank(parser.buffer, parser.buffer_pos) {
-               skip(parser)
-               if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                       return false
-               }
-       }
-
-       // Consume the major version number.
-       if !yaml_parser_scan_version_directive_number(parser, start_mark, major) {
-               return false
-       }
-
-       // Eat '.'.
-       if parser.buffer[parser.buffer_pos] != '.' {
-               return yaml_parser_set_scanner_error(parser, "while scanning a %YAML directive",
-                       start_mark, "did not find expected digit or '.' character")
-       }
-
-       skip(parser)
-
-       // Consume the minor version number.
-       if !yaml_parser_scan_version_directive_number(parser, start_mark, minor) {
-               return false
-       }
-       return true
-}
-
-const max_number_length = 2
-
-// Scan the version number of VERSION-DIRECTIVE.
-//
-// Scope:
-//      %YAML   1.1     # a comment \n
-//              ^
-//      %YAML   1.1     # a comment \n
-//                ^
-func yaml_parser_scan_version_directive_number(parser *yaml_parser_t, start_mark yaml_mark_t, number *int8) bool {
-
-       // Repeat while the next character is digit.
-       if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-               return false
-       }
-       var value, length int8
-       for is_digit(parser.buffer, parser.buffer_pos) {
-               // Check if the number is too long.
-               length++
-               if length > max_number_length {
-                       return yaml_parser_set_scanner_error(parser, "while scanning a %YAML directive",
-                               start_mark, "found extremely long version number")
-               }
-               value = value*10 + int8(as_digit(parser.buffer, parser.buffer_pos))
-               skip(parser)
-               if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                       return false
-               }
-       }
-
-       // Check if the number was present.
-       if length == 0 {
-               return yaml_parser_set_scanner_error(parser, "while scanning a %YAML directive",
-                       start_mark, "did not find expected version number")
-       }
-       *number = value
-       return true
-}
-
-// Scan the value of a TAG-DIRECTIVE token.
-//
-// Scope:
-//      %TAG    !yaml!  tag:yaml.org,2002:  \n
-//          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-//
-func yaml_parser_scan_tag_directive_value(parser *yaml_parser_t, start_mark yaml_mark_t, handle, prefix *[]byte) bool {
-       var handle_value, prefix_value []byte
-
-       // Eat whitespaces.
-       if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-               return false
-       }
-
-       for is_blank(parser.buffer, parser.buffer_pos) {
-               skip(parser)
-               if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                       return false
-               }
-       }
-
-       // Scan a handle.
-       if !yaml_parser_scan_tag_handle(parser, true, start_mark, &handle_value) {
-               return false
-       }
-
-       // Expect a whitespace.
-       if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-               return false
-       }
-       if !is_blank(parser.buffer, parser.buffer_pos) {
-               yaml_parser_set_scanner_error(parser, "while scanning a %TAG directive",
-                       start_mark, "did not find expected whitespace")
-               return false
-       }
-
-       // Eat whitespaces.
-       for is_blank(parser.buffer, parser.buffer_pos) {
-               skip(parser)
-               if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                       return false
-               }
-       }
-
-       // Scan a prefix.
-       if !yaml_parser_scan_tag_uri(parser, true, nil, start_mark, &prefix_value) {
-               return false
-       }
-
-       // Expect a whitespace or line break.
-       if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-               return false
-       }
-       if !is_blankz(parser.buffer, parser.buffer_pos) {
-               yaml_parser_set_scanner_error(parser, "while scanning a %TAG directive",
-                       start_mark, "did not find expected whitespace or line break")
-               return false
-       }
-
-       *handle = handle_value
-       *prefix = prefix_value
-       return true
-}
-
-func yaml_parser_scan_anchor(parser *yaml_parser_t, token *yaml_token_t, typ yaml_token_type_t) bool {
-       var s []byte
-
-       // Eat the indicator character.
-       start_mark := parser.mark
-       skip(parser)
-
-       // Consume the value.
-       if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-               return false
-       }
-
-       for is_alpha(parser.buffer, parser.buffer_pos) {
-               s = read(parser, s)
-               if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                       return false
-               }
-       }
-
-       end_mark := parser.mark
-
-       /*
-        * Check if length of the anchor is greater than 0 and it is followed by
-        * a whitespace character or one of the indicators:
-        *
-        *      '?', ':', ',', ']', '}', '%', '@', '`'.
-        */
-
-       if len(s) == 0 ||
-               !(is_blankz(parser.buffer, parser.buffer_pos) || parser.buffer[parser.buffer_pos] == '?' ||
-                       parser.buffer[parser.buffer_pos] == ':' || parser.buffer[parser.buffer_pos] == ',' ||
-                       parser.buffer[parser.buffer_pos] == ']' || parser.buffer[parser.buffer_pos] == '}' ||
-                       parser.buffer[parser.buffer_pos] == '%' || parser.buffer[parser.buffer_pos] == '@' ||
-                       parser.buffer[parser.buffer_pos] == '`') {
-               context := "while scanning an alias"
-               if typ == yaml_ANCHOR_TOKEN {
-                       context = "while scanning an anchor"
-               }
-               yaml_parser_set_scanner_error(parser, context, start_mark,
-                       "did not find expected alphabetic or numeric character")
-               return false
-       }
-
-       // Create a token.
-       *token = yaml_token_t{
-               typ:        typ,
-               start_mark: start_mark,
-               end_mark:   end_mark,
-               value:      s,
-       }
-
-       return true
-}
-
-/*
- * Scan a TAG token.
- */
-
-func yaml_parser_scan_tag(parser *yaml_parser_t, token *yaml_token_t) bool {
-       var handle, suffix []byte
-
-       start_mark := parser.mark
-
-       // Check if the tag is in the canonical form.
-       if parser.unread < 2 && !yaml_parser_update_buffer(parser, 2) {
-               return false
-       }
-
-       if parser.buffer[parser.buffer_pos+1] == '<' {
-               // Keep the handle as ''
-
-               // Eat '!<'
-               skip(parser)
-               skip(parser)
-
-               // Consume the tag value.
-               if !yaml_parser_scan_tag_uri(parser, false, nil, start_mark, &suffix) {
-                       return false
-               }
-
-               // Check for '>' and eat it.
-               if parser.buffer[parser.buffer_pos] != '>' {
-                       yaml_parser_set_scanner_error(parser, "while scanning a tag",
-                               start_mark, "did not find the expected '>'")
-                       return false
-               }
-
-               skip(parser)
-       } else {
-               // The tag has either the '!suffix' or the '!handle!suffix' form.
-
-               // First, try to scan a handle.
-               if !yaml_parser_scan_tag_handle(parser, false, start_mark, &handle) {
-                       return false
-               }
-
-               // Check if it is, indeed, handle.
-               if handle[0] == '!' && len(handle) > 1 && handle[len(handle)-1] == '!' {
-                       // Scan the suffix now.
-                       if !yaml_parser_scan_tag_uri(parser, false, nil, start_mark, &suffix) {
-                               return false
-                       }
-               } else {
-                       // It wasn't a handle after all.  Scan the rest of the tag.
-                       if !yaml_parser_scan_tag_uri(parser, false, handle, start_mark, &suffix) {
-                               return false
-                       }
-
-                       // Set the handle to '!'.
-                       handle = []byte{'!'}
-
-                       // A special case: the '!' tag.  Set the handle to '' and the
-                       // suffix to '!'.
-                       if len(suffix) == 0 {
-                               handle, suffix = suffix, handle
-                       }
-               }
-       }
-
-       // Check the character which ends the tag.
-       if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-               return false
-       }
-       if !is_blankz(parser.buffer, parser.buffer_pos) {
-               yaml_parser_set_scanner_error(parser, "while scanning a tag",
-                       start_mark, "did not find expected whitespace or line break")
-               return false
-       }
-
-       end_mark := parser.mark
-
-       // Create a token.
-       *token = yaml_token_t{
-               typ:        yaml_TAG_TOKEN,
-               start_mark: start_mark,
-               end_mark:   end_mark,
-               value:      handle,
-               suffix:     suffix,
-       }
-       return true
-}
-
-// Scan a tag handle.
-func yaml_parser_scan_tag_handle(parser *yaml_parser_t, directive bool, start_mark yaml_mark_t, handle *[]byte) bool {
-       // Check the initial '!' character.
-       if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-               return false
-       }
-       if parser.buffer[parser.buffer_pos] != '!' {
-               yaml_parser_set_scanner_tag_error(parser, directive,
-                       start_mark, "did not find expected '!'")
-               return false
-       }
-
-       var s []byte
-
-       // Copy the '!' character.
-       s = read(parser, s)
-
-       // Copy all subsequent alphabetical and numerical characters.
-       if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-               return false
-       }
-       for is_alpha(parser.buffer, parser.buffer_pos) {
-               s = read(parser, s)
-               if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                       return false
-               }
-       }
-
-       // Check if the trailing character is '!' and copy it.
-       if parser.buffer[parser.buffer_pos] == '!' {
-               s = read(parser, s)
-       } else {
-               // It's either the '!' tag or not really a tag handle.  If it's a %TAG
-               // directive, it's an error.  If it's a tag token, it must be a part of URI.
-               if directive && !(s[0] == '!' && s[1] == 0) {
-                       yaml_parser_set_scanner_tag_error(parser, directive,
-                               start_mark, "did not find expected '!'")
-                       return false
-               }
-       }
-
-       *handle = s
-       return true
-}
-
-// Scan a tag.
-func yaml_parser_scan_tag_uri(parser *yaml_parser_t, directive bool, head []byte, start_mark yaml_mark_t, uri *[]byte) bool {
-       //size_t length = head ? strlen((char *)head) : 0
-       var s []byte
-
-       // Copy the head if needed.
-       //
-       // Note that we don't copy the leading '!' character.
-       if len(head) > 1 {
-               s = append(s, head[1:]...)
-       }
-
-       // Scan the tag.
-       if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-               return false
-       }
-
-       // The set of characters that may appear in URI is as follows:
-       //
-       //      '0'-'9', 'A'-'Z', 'a'-'z', '_', '-', ';', '/', '?', ':', '@', '&',
-       //      '=', '+', '$', ',', '.', '!', '~', '*', '\'', '(', ')', '[', ']',
-       //      '%'.
-       // [Go] Convert this into more reasonable logic.
-       for is_alpha(parser.buffer, parser.buffer_pos) || parser.buffer[parser.buffer_pos] == ';' ||
-               parser.buffer[parser.buffer_pos] == '/' || parser.buffer[parser.buffer_pos] == '?' ||
-               parser.buffer[parser.buffer_pos] == ':' || parser.buffer[parser.buffer_pos] == '@' ||
-               parser.buffer[parser.buffer_pos] == '&' || parser.buffer[parser.buffer_pos] == '=' ||
-               parser.buffer[parser.buffer_pos] == '+' || parser.buffer[parser.buffer_pos] == '$' ||
-               parser.buffer[parser.buffer_pos] == ',' || parser.buffer[parser.buffer_pos] == '.' ||
-               parser.buffer[parser.buffer_pos] == '!' || parser.buffer[parser.buffer_pos] == '~' ||
-               parser.buffer[parser.buffer_pos] == '*' || parser.buffer[parser.buffer_pos] == '\'' ||
-               parser.buffer[parser.buffer_pos] == '(' || parser.buffer[parser.buffer_pos] == ')' ||
-               parser.buffer[parser.buffer_pos] == '[' || parser.buffer[parser.buffer_pos] == ']' ||
-               parser.buffer[parser.buffer_pos] == '%' {
-               // Check if it is a URI-escape sequence.
-               if parser.buffer[parser.buffer_pos] == '%' {
-                       if !yaml_parser_scan_uri_escapes(parser, directive, start_mark, &s) {
-                               return false
-                       }
-               } else {
-                       s = read(parser, s)
-               }
-               if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                       return false
-               }
-       }
-
-       // Check if the tag is non-empty.
-       if len(s) == 0 {
-               yaml_parser_set_scanner_tag_error(parser, directive,
-                       start_mark, "did not find expected tag URI")
-               return false
-       }
-       *uri = s
-       return true
-}
-
-// Decode an URI-escape sequence corresponding to a single UTF-8 character.
-func yaml_parser_scan_uri_escapes(parser *yaml_parser_t, directive bool, start_mark yaml_mark_t, s *[]byte) bool {
-
-       // Decode the required number of characters.
-       w := 1024
-       for w > 0 {
-               // Check for a URI-escaped octet.
-               if parser.unread < 3 && !yaml_parser_update_buffer(parser, 3) {
-                       return false
-               }
-
-               if !(parser.buffer[parser.buffer_pos] == '%' &&
-                       is_hex(parser.buffer, parser.buffer_pos+1) &&
-                       is_hex(parser.buffer, parser.buffer_pos+2)) {
-                       return yaml_parser_set_scanner_tag_error(parser, directive,
-                               start_mark, "did not find URI escaped octet")
-               }
-
-               // Get the octet.
-               octet := byte((as_hex(parser.buffer, parser.buffer_pos+1) << 4) + as_hex(parser.buffer, parser.buffer_pos+2))
-
-               // If it is the leading octet, determine the length of the UTF-8 sequence.
-               if w == 1024 {
-                       w = width(octet)
-                       if w == 0 {
-                               return yaml_parser_set_scanner_tag_error(parser, directive,
-                                       start_mark, "found an incorrect leading UTF-8 octet")
-                       }
-               } else {
-                       // Check if the trailing octet is correct.
-                       if octet&0xC0 != 0x80 {
-                               return yaml_parser_set_scanner_tag_error(parser, directive,
-                                       start_mark, "found an incorrect trailing UTF-8 octet")
-                       }
-               }
-
-               // Copy the octet and move the pointers.
-               *s = append(*s, octet)
-               skip(parser)
-               skip(parser)
-               skip(parser)
-               w--
-       }
-       return true
-}
-
-// Scan a block scalar.
-func yaml_parser_scan_block_scalar(parser *yaml_parser_t, token *yaml_token_t, literal bool) bool {
-       // Eat the indicator '|' or '>'.
-       start_mark := parser.mark
-       skip(parser)
-
-       // Scan the additional block scalar indicators.
-       if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-               return false
-       }
-
-       // Check for a chomping indicator.
-       var chomping, increment int
-       if parser.buffer[parser.buffer_pos] == '+' || parser.buffer[parser.buffer_pos] == '-' {
-               // Set the chomping method and eat the indicator.
-               if parser.buffer[parser.buffer_pos] == '+' {
-                       chomping = +1
-               } else {
-                       chomping = -1
-               }
-               skip(parser)
-
-               // Check for an indentation indicator.
-               if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                       return false
-               }
-               if is_digit(parser.buffer, parser.buffer_pos) {
-                       // Check that the indentation is greater than 0.
-                       if parser.buffer[parser.buffer_pos] == '0' {
-                               yaml_parser_set_scanner_error(parser, "while scanning a block scalar",
-                                       start_mark, "found an indentation indicator equal to 0")
-                               return false
-                       }
-
-                       // Get the indentation level and eat the indicator.
-                       increment = as_digit(parser.buffer, parser.buffer_pos)
-                       skip(parser)
-               }
-
-       } else if is_digit(parser.buffer, parser.buffer_pos) {
-               // Do the same as above, but in the opposite order.
-
-               if parser.buffer[parser.buffer_pos] == '0' {
-                       yaml_parser_set_scanner_error(parser, "while scanning a block scalar",
-                               start_mark, "found an indentation indicator equal to 0")
-                       return false
-               }
-               increment = as_digit(parser.buffer, parser.buffer_pos)
-               skip(parser)
-
-               if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                       return false
-               }
-               if parser.buffer[parser.buffer_pos] == '+' || parser.buffer[parser.buffer_pos] == '-' {
-                       if parser.buffer[parser.buffer_pos] == '+' {
-                               chomping = +1
-                       } else {
-                               chomping = -1
-                       }
-                       skip(parser)
-               }
-       }
-
-       // Eat whitespaces and comments to the end of the line.
-       if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-               return false
-       }
-       for is_blank(parser.buffer, parser.buffer_pos) {
-               skip(parser)
-               if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                       return false
-               }
-       }
-       if parser.buffer[parser.buffer_pos] == '#' {
-               for !is_breakz(parser.buffer, parser.buffer_pos) {
-                       skip(parser)
-                       if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                               return false
-                       }
-               }
-       }
-
-       // Check if we are at the end of the line.
-       if !is_breakz(parser.buffer, parser.buffer_pos) {
-               yaml_parser_set_scanner_error(parser, "while scanning a block scalar",
-                       start_mark, "did not find expected comment or line break")
-               return false
-       }
-
-       // Eat a line break.
-       if is_break(parser.buffer, parser.buffer_pos) {
-               if parser.unread < 2 && !yaml_parser_update_buffer(parser, 2) {
-                       return false
-               }
-               skip_line(parser)
-       }
-
-       end_mark := parser.mark
-
-       // Set the indentation level if it was specified.
-       var indent int
-       if increment > 0 {
-               if parser.indent >= 0 {
-                       indent = parser.indent + increment
-               } else {
-                       indent = increment
-               }
-       }
-
-       // Scan the leading line breaks and determine the indentation level if needed.
-       var s, leading_break, trailing_breaks []byte
-       if !yaml_parser_scan_block_scalar_breaks(parser, &indent, &trailing_breaks, start_mark, &end_mark) {
-               return false
-       }
-
-       // Scan the block scalar content.
-       if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-               return false
-       }
-       var leading_blank, trailing_blank bool
-       for parser.mark.column == indent && !is_z(parser.buffer, parser.buffer_pos) {
-               // We are at the beginning of a non-empty line.
-
-               // Is it a trailing whitespace?
-               trailing_blank = is_blank(parser.buffer, parser.buffer_pos)
-
-               // Check if we need to fold the leading line break.
-               if !literal && !leading_blank && !trailing_blank && len(leading_break) > 0 && leading_break[0] == '\n' {
-                       // Do we need to join the lines by space?
-                       if len(trailing_breaks) == 0 {
-                               s = append(s, ' ')
-                       }
-               } else {
-                       s = append(s, leading_break...)
-               }
-               leading_break = leading_break[:0]
-
-               // Append the remaining line breaks.
-               s = append(s, trailing_breaks...)
-               trailing_breaks = trailing_breaks[:0]
-
-               // Is it a leading whitespace?
-               leading_blank = is_blank(parser.buffer, parser.buffer_pos)
-
-               // Consume the current line.
-               for !is_breakz(parser.buffer, parser.buffer_pos) {
-                       s = read(parser, s)
-                       if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                               return false
-                       }
-               }
-
-               // Consume the line break.
-               if parser.unread < 2 && !yaml_parser_update_buffer(parser, 2) {
-                       return false
-               }
-
-               leading_break = read_line(parser, leading_break)
-
-               // Eat the following indentation spaces and line breaks.
-               if !yaml_parser_scan_block_scalar_breaks(parser, &indent, &trailing_breaks, start_mark, &end_mark) {
-                       return false
-               }
-       }
-
-       // Chomp the tail.
-       if chomping != -1 {
-               s = append(s, leading_break...)
-       }
-       if chomping == 1 {
-               s = append(s, trailing_breaks...)
-       }
-
-       // Create a token.
-       *token = yaml_token_t{
-               typ:        yaml_SCALAR_TOKEN,
-               start_mark: start_mark,
-               end_mark:   end_mark,
-               value:      s,
-               style:      yaml_LITERAL_SCALAR_STYLE,
-       }
-       if !literal {
-               token.style = yaml_FOLDED_SCALAR_STYLE
-       }
-       return true
-}
-
-// Scan indentation spaces and line breaks for a block scalar.  Determine the
-// indentation level if needed.
-func yaml_parser_scan_block_scalar_breaks(parser *yaml_parser_t, indent *int, breaks *[]byte, start_mark yaml_mark_t, end_mark *yaml_mark_t) bool {
-       *end_mark = parser.mark
-
-       // Eat the indentation spaces and line breaks.
-       max_indent := 0
-       for {
-               // Eat the indentation spaces.
-               if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                       return false
-               }
-               for (*indent == 0 || parser.mark.column < *indent) && is_space(parser.buffer, parser.buffer_pos) {
-                       skip(parser)
-                       if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                               return false
-                       }
-               }
-               if parser.mark.column > max_indent {
-                       max_indent = parser.mark.column
-               }
-
-               // Check for a tab character messing the indentation.
-               if (*indent == 0 || parser.mark.column < *indent) && is_tab(parser.buffer, parser.buffer_pos) {
-                       return yaml_parser_set_scanner_error(parser, "while scanning a block scalar",
-                               start_mark, "found a tab character where an indentation space is expected")
-               }
-
-               // Have we found a non-empty line?
-               if !is_break(parser.buffer, parser.buffer_pos) {
-                       break
-               }
-
-               // Consume the line break.
-               if parser.unread < 2 && !yaml_parser_update_buffer(parser, 2) {
-                       return false
-               }
-               // [Go] Should really be returning breaks instead.
-               *breaks = read_line(parser, *breaks)
-               *end_mark = parser.mark
-       }
-
-       // Determine the indentation level if needed.
-       if *indent == 0 {
-               *indent = max_indent
-               if *indent < parser.indent+1 {
-                       *indent = parser.indent + 1
-               }
-               if *indent < 1 {
-                       *indent = 1
-               }
-       }
-       return true
-}
-
-// Scan a quoted scalar.
-func yaml_parser_scan_flow_scalar(parser *yaml_parser_t, token *yaml_token_t, single bool) bool {
-       // Eat the left quote.
-       start_mark := parser.mark
-       skip(parser)
-
-       // Consume the content of the quoted scalar.
-       var s, leading_break, trailing_breaks, whitespaces []byte
-       for {
-               // Check that there are no document indicators at the beginning of the line.
-               if parser.unread < 4 && !yaml_parser_update_buffer(parser, 4) {
-                       return false
-               }
-
-               if parser.mark.column == 0 &&
-                       ((parser.buffer[parser.buffer_pos+0] == '-' &&
-                               parser.buffer[parser.buffer_pos+1] == '-' &&
-                               parser.buffer[parser.buffer_pos+2] == '-') ||
-                               (parser.buffer[parser.buffer_pos+0] == '.' &&
-                                       parser.buffer[parser.buffer_pos+1] == '.' &&
-                                       parser.buffer[parser.buffer_pos+2] == '.')) &&
-                       is_blankz(parser.buffer, parser.buffer_pos+3) {
-                       yaml_parser_set_scanner_error(parser, "while scanning a quoted scalar",
-                               start_mark, "found unexpected document indicator")
-                       return false
-               }
-
-               // Check for EOF.
-               if is_z(parser.buffer, parser.buffer_pos) {
-                       yaml_parser_set_scanner_error(parser, "while scanning a quoted scalar",
-                               start_mark, "found unexpected end of stream")
-                       return false
-               }
-
-               // Consume non-blank characters.
-               leading_blanks := false
-               for !is_blankz(parser.buffer, parser.buffer_pos) {
-                       if single && parser.buffer[parser.buffer_pos] == '\'' && parser.buffer[parser.buffer_pos+1] == '\'' {
-                               // Is is an escaped single quote.
-                               s = append(s, '\'')
-                               skip(parser)
-                               skip(parser)
-
-                       } else if single && parser.buffer[parser.buffer_pos] == '\'' {
-                               // It is a right single quote.
-                               break
-                       } else if !single && parser.buffer[parser.buffer_pos] == '"' {
-                               // It is a right double quote.
-                               break
-
-                       } else if !single && parser.buffer[parser.buffer_pos] == '\\' && is_break(parser.buffer, parser.buffer_pos+1) {
-                               // It is an escaped line break.
-                               if parser.unread < 3 && !yaml_parser_update_buffer(parser, 3) {
-                                       return false
-                               }
-                               skip(parser)
-                               skip_line(parser)
-                               leading_blanks = true
-                               break
-
-                       } else if !single && parser.buffer[parser.buffer_pos] == '\\' {
-                               // It is an escape sequence.
-                               code_length := 0
-
-                               // Check the escape character.
-                               switch parser.buffer[parser.buffer_pos+1] {
-                               case '0':
-                                       s = append(s, 0)
-                               case 'a':
-                                       s = append(s, '\x07')
-                               case 'b':
-                                       s = append(s, '\x08')
-                               case 't', '\t':
-                                       s = append(s, '\x09')
-                               case 'n':
-                                       s = append(s, '\x0A')
-                               case 'v':
-                                       s = append(s, '\x0B')
-                               case 'f':
-                                       s = append(s, '\x0C')
-                               case 'r':
-                                       s = append(s, '\x0D')
-                               case 'e':
-                                       s = append(s, '\x1B')
-                               case ' ':
-                                       s = append(s, '\x20')
-                               case '"':
-                                       s = append(s, '"')
-                               case '\'':
-                                       s = append(s, '\'')
-                               case '\\':
-                                       s = append(s, '\\')
-                               case 'N': // NEL (#x85)
-                                       s = append(s, '\xC2')
-                                       s = append(s, '\x85')
-                               case '_': // #xA0
-                                       s = append(s, '\xC2')
-                                       s = append(s, '\xA0')
-                               case 'L': // LS (#x2028)
-                                       s = append(s, '\xE2')
-                                       s = append(s, '\x80')
-                                       s = append(s, '\xA8')
-                               case 'P': // PS (#x2029)
-                                       s = append(s, '\xE2')
-                                       s = append(s, '\x80')
-                                       s = append(s, '\xA9')
-                               case 'x':
-                                       code_length = 2
-                               case 'u':
-                                       code_length = 4
-                               case 'U':
-                                       code_length = 8
-                               default:
-                                       yaml_parser_set_scanner_error(parser, "while parsing a quoted scalar",
-                                               start_mark, "found unknown escape character")
-                                       return false
-                               }
-
-                               skip(parser)
-                               skip(parser)
-
-                               // Consume an arbitrary escape code.
-                               if code_length > 0 {
-                                       var value int
-
-                                       // Scan the character value.
-                                       if parser.unread < code_length && !yaml_parser_update_buffer(parser, code_length) {
-                                               return false
-                                       }
-                                       for k := 0; k < code_length; k++ {
-                                               if !is_hex(parser.buffer, parser.buffer_pos+k) {
-                                                       yaml_parser_set_scanner_error(parser, "while parsing a quoted scalar",
-                                                               start_mark, "did not find expected hexdecimal number")
-                                                       return false
-                                               }
-                                               value = (value << 4) + as_hex(parser.buffer, parser.buffer_pos+k)
-                                       }
-
-                                       // Check the value and write the character.
-                                       if (value >= 0xD800 && value <= 0xDFFF) || value > 0x10FFFF {
-                                               yaml_parser_set_scanner_error(parser, "while parsing a quoted scalar",
-                                                       start_mark, "found invalid Unicode character escape code")
-                                               return false
-                                       }
-                                       if value <= 0x7F {
-                                               s = append(s, byte(value))
-                                       } else if value <= 0x7FF {
-                                               s = append(s, byte(0xC0+(value>>6)))
-                                               s = append(s, byte(0x80+(value&0x3F)))
-                                       } else if value <= 0xFFFF {
-                                               s = append(s, byte(0xE0+(value>>12)))
-                                               s = append(s, byte(0x80+((value>>6)&0x3F)))
-                                               s = append(s, byte(0x80+(value&0x3F)))
-                                       } else {
-                                               s = append(s, byte(0xF0+(value>>18)))
-                                               s = append(s, byte(0x80+((value>>12)&0x3F)))
-                                               s = append(s, byte(0x80+((value>>6)&0x3F)))
-                                               s = append(s, byte(0x80+(value&0x3F)))
-                                       }
-
-                                       // Advance the pointer.
-                                       for k := 0; k < code_length; k++ {
-                                               skip(parser)
-                                       }
-                               }
-                       } else {
-                               // It is a non-escaped non-blank character.
-                               s = read(parser, s)
-                       }
-                       if parser.unread < 2 && !yaml_parser_update_buffer(parser, 2) {
-                               return false
-                       }
-               }
-
-               // Check if we are at the end of the scalar.
-               if single {
-                       if parser.buffer[parser.buffer_pos] == '\'' {
-                               break
-                       }
-               } else {
-                       if parser.buffer[parser.buffer_pos] == '"' {
-                               break
-                       }
-               }
-
-               // Consume blank characters.
-               if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                       return false
-               }
-
-               for is_blank(parser.buffer, parser.buffer_pos) || is_break(parser.buffer, parser.buffer_pos) {
-                       if is_blank(parser.buffer, parser.buffer_pos) {
-                               // Consume a space or a tab character.
-                               if !leading_blanks {
-                                       whitespaces = read(parser, whitespaces)
-                               } else {
-                                       skip(parser)
-                               }
-                       } else {
-                               if parser.unread < 2 && !yaml_parser_update_buffer(parser, 2) {
-                                       return false
-                               }
-
-                               // Check if it is a first line break.
-                               if !leading_blanks {
-                                       whitespaces = whitespaces[:0]
-                                       leading_break = read_line(parser, leading_break)
-                                       leading_blanks = true
-                               } else {
-                                       trailing_breaks = read_line(parser, trailing_breaks)
-                               }
-                       }
-                       if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                               return false
-                       }
-               }
-
-               // Join the whitespaces or fold line breaks.
-               if leading_blanks {
-                       // Do we need to fold line breaks?
-                       if len(leading_break) > 0 && leading_break[0] == '\n' {
-                               if len(trailing_breaks) == 0 {
-                                       s = append(s, ' ')
-                               } else {
-                                       s = append(s, trailing_breaks...)
-                               }
-                       } else {
-                               s = append(s, leading_break...)
-                               s = append(s, trailing_breaks...)
-                       }
-                       trailing_breaks = trailing_breaks[:0]
-                       leading_break = leading_break[:0]
-               } else {
-                       s = append(s, whitespaces...)
-                       whitespaces = whitespaces[:0]
-               }
-       }
-
-       // Eat the right quote.
-       skip(parser)
-       end_mark := parser.mark
-
-       // Create a token.
-       *token = yaml_token_t{
-               typ:        yaml_SCALAR_TOKEN,
-               start_mark: start_mark,
-               end_mark:   end_mark,
-               value:      s,
-               style:      yaml_SINGLE_QUOTED_SCALAR_STYLE,
-       }
-       if !single {
-               token.style = yaml_DOUBLE_QUOTED_SCALAR_STYLE
-       }
-       return true
-}
-
-// Scan a plain scalar.
-func yaml_parser_scan_plain_scalar(parser *yaml_parser_t, token *yaml_token_t) bool {
-
-       var s, leading_break, trailing_breaks, whitespaces []byte
-       var leading_blanks bool
-       var indent = parser.indent + 1
-
-       start_mark := parser.mark
-       end_mark := parser.mark
-
-       // Consume the content of the plain scalar.
-       for {
-               // Check for a document indicator.
-               if parser.unread < 4 && !yaml_parser_update_buffer(parser, 4) {
-                       return false
-               }
-               if parser.mark.column == 0 &&
-                       ((parser.buffer[parser.buffer_pos+0] == '-' &&
-                               parser.buffer[parser.buffer_pos+1] == '-' &&
-                               parser.buffer[parser.buffer_pos+2] == '-') ||
-                               (parser.buffer[parser.buffer_pos+0] == '.' &&
-                                       parser.buffer[parser.buffer_pos+1] == '.' &&
-                                       parser.buffer[parser.buffer_pos+2] == '.')) &&
-                       is_blankz(parser.buffer, parser.buffer_pos+3) {
-                       break
-               }
-
-               // Check for a comment.
-               if parser.buffer[parser.buffer_pos] == '#' {
-                       break
-               }
-
-               // Consume non-blank characters.
-               for !is_blankz(parser.buffer, parser.buffer_pos) {
-
-                       // Check for 'x:x' in the flow context. TODO: Fix the test "spec-08-13".
-                       if parser.flow_level > 0 &&
-                               parser.buffer[parser.buffer_pos] == ':' &&
-                               !is_blankz(parser.buffer, parser.buffer_pos+1) {
-                               yaml_parser_set_scanner_error(parser, "while scanning a plain scalar",
-                                       start_mark, "found unexpected ':'")
-                               return false
-                       }
-
-                       // Check for indicators that may end a plain scalar.
-                       if (parser.buffer[parser.buffer_pos] == ':' && is_blankz(parser.buffer, parser.buffer_pos+1)) ||
-                               (parser.flow_level > 0 &&
-                                       (parser.buffer[parser.buffer_pos] == ',' || parser.buffer[parser.buffer_pos] == ':' ||
-                                               parser.buffer[parser.buffer_pos] == '?' || parser.buffer[parser.buffer_pos] == '[' ||
-                                               parser.buffer[parser.buffer_pos] == ']' || parser.buffer[parser.buffer_pos] == '{' ||
-                                               parser.buffer[parser.buffer_pos] == '}')) {
-                               break
-                       }
-
-                       // Check if we need to join whitespaces and breaks.
-                       if leading_blanks || len(whitespaces) > 0 {
-                               if leading_blanks {
-                                       // Do we need to fold line breaks?
-                                       if leading_break[0] == '\n' {
-                                               if len(trailing_breaks) == 0 {
-                                                       s = append(s, ' ')
-                                               } else {
-                                                       s = append(s, trailing_breaks...)
-                                               }
-                                       } else {
-                                               s = append(s, leading_break...)
-                                               s = append(s, trailing_breaks...)
-                                       }
-                                       trailing_breaks = trailing_breaks[:0]
-                                       leading_break = leading_break[:0]
-                                       leading_blanks = false
-                               } else {
-                                       s = append(s, whitespaces...)
-                                       whitespaces = whitespaces[:0]
-                               }
-                       }
-
-                       // Copy the character.
-                       s = read(parser, s)
-
-                       end_mark = parser.mark
-                       if parser.unread < 2 && !yaml_parser_update_buffer(parser, 2) {
-                               return false
-                       }
-               }
-
-               // Is it the end?
-               if !(is_blank(parser.buffer, parser.buffer_pos) || is_break(parser.buffer, parser.buffer_pos)) {
-                       break
-               }
-
-               // Consume blank characters.
-               if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                       return false
-               }
-
-               for is_blank(parser.buffer, parser.buffer_pos) || is_break(parser.buffer, parser.buffer_pos) {
-                       if is_blank(parser.buffer, parser.buffer_pos) {
-
-                               // Check for tab character that abuse indentation.
-                               if leading_blanks && parser.mark.column < indent && is_tab(parser.buffer, parser.buffer_pos) {
-                                       yaml_parser_set_scanner_error(parser, "while scanning a plain scalar",
-                                               start_mark, "found a tab character that violate indentation")
-                                       return false
-                               }
-
-                               // Consume a space or a tab character.
-                               if !leading_blanks {
-                                       whitespaces = read(parser, whitespaces)
-                               } else {
-                                       skip(parser)
-                               }
-                       } else {
-                               if parser.unread < 2 && !yaml_parser_update_buffer(parser, 2) {
-                                       return false
-                               }
-
-                               // Check if it is a first line break.
-                               if !leading_blanks {
-                                       whitespaces = whitespaces[:0]
-                                       leading_break = read_line(parser, leading_break)
-                                       leading_blanks = true
-                               } else {
-                                       trailing_breaks = read_line(parser, trailing_breaks)
-                               }
-                       }
-                       if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) {
-                               return false
-                       }
-               }
-
-               // Check indentation level.
-               if parser.flow_level == 0 && parser.mark.column < indent {
-                       break
-               }
-       }
-
-       // Create a token.
-       *token = yaml_token_t{
-               typ:        yaml_SCALAR_TOKEN,
-               start_mark: start_mark,
-               end_mark:   end_mark,
-               value:      s,
-               style:      yaml_PLAIN_SCALAR_STYLE,
-       }
-
-       // Note that we change the 'simple_key_allowed' flag.
-       if leading_blanks {
-               parser.simple_key_allowed = true
-       }
-       return true
-}
diff --git a/vendor/gopkg.in/yaml.v2/sorter.go b/vendor/gopkg.in/yaml.v2/sorter.go
deleted file mode 100644 (file)
index 5958822..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-package yaml
-
-import (
-       "reflect"
-       "unicode"
-)
-
-type keyList []reflect.Value
-
-func (l keyList) Len() int      { return len(l) }
-func (l keyList) Swap(i, j int) { l[i], l[j] = l[j], l[i] }
-func (l keyList) Less(i, j int) bool {
-       a := l[i]
-       b := l[j]
-       ak := a.Kind()
-       bk := b.Kind()
-       for (ak == reflect.Interface || ak == reflect.Ptr) && !a.IsNil() {
-               a = a.Elem()
-               ak = a.Kind()
-       }
-       for (bk == reflect.Interface || bk == reflect.Ptr) && !b.IsNil() {
-               b = b.Elem()
-               bk = b.Kind()
-       }
-       af, aok := keyFloat(a)
-       bf, bok := keyFloat(b)
-       if aok && bok {
-               if af != bf {
-                       return af < bf
-               }
-               if ak != bk {
-                       return ak < bk
-               }
-               return numLess(a, b)
-       }
-       if ak != reflect.String || bk != reflect.String {
-               return ak < bk
-       }
-       ar, br := []rune(a.String()), []rune(b.String())
-       for i := 0; i < len(ar) && i < len(br); i++ {
-               if ar[i] == br[i] {
-                       continue
-               }
-               al := unicode.IsLetter(ar[i])
-               bl := unicode.IsLetter(br[i])
-               if al && bl {
-                       return ar[i] < br[i]
-               }
-               if al || bl {
-                       return bl
-               }
-               var ai, bi int
-               var an, bn int64
-               for ai = i; ai < len(ar) && unicode.IsDigit(ar[ai]); ai++ {
-                       an = an*10 + int64(ar[ai]-'0')
-               }
-               for bi = i; bi < len(br) && unicode.IsDigit(br[bi]); bi++ {
-                       bn = bn*10 + int64(br[bi]-'0')
-               }
-               if an != bn {
-                       return an < bn
-               }
-               if ai != bi {
-                       return ai < bi
-               }
-               return ar[i] < br[i]
-       }
-       return len(ar) < len(br)
-}
-
-// keyFloat returns a float value for v if it is a number/bool
-// and whether it is a number/bool or not.
-func keyFloat(v reflect.Value) (f float64, ok bool) {
-       switch v.Kind() {
-       case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
-               return float64(v.Int()), true
-       case reflect.Float32, reflect.Float64:
-               return v.Float(), true
-       case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr:
-               return float64(v.Uint()), true
-       case reflect.Bool:
-               if v.Bool() {
-                       return 1, true
-               }
-               return 0, true
-       }
-       return 0, false
-}
-
-// numLess returns whether a < b.
-// a and b must necessarily have the same kind.
-func numLess(a, b reflect.Value) bool {
-       switch a.Kind() {
-       case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
-               return a.Int() < b.Int()
-       case reflect.Float32, reflect.Float64:
-               return a.Float() < b.Float()
-       case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr:
-               return a.Uint() < b.Uint()
-       case reflect.Bool:
-               return !a.Bool() && b.Bool()
-       }
-       panic("not a number")
-}
diff --git a/vendor/gopkg.in/yaml.v2/writerc.go b/vendor/gopkg.in/yaml.v2/writerc.go
deleted file mode 100644 (file)
index 190362f..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-package yaml
-
-// Set the writer error and return false.
-func yaml_emitter_set_writer_error(emitter *yaml_emitter_t, problem string) bool {
-       emitter.error = yaml_WRITER_ERROR
-       emitter.problem = problem
-       return false
-}
-
-// Flush the output buffer.
-func yaml_emitter_flush(emitter *yaml_emitter_t) bool {
-       if emitter.write_handler == nil {
-               panic("write handler not set")
-       }
-
-       // Check if the buffer is empty.
-       if emitter.buffer_pos == 0 {
-               return true
-       }
-
-       // If the output encoding is UTF-8, we don't need to recode the buffer.
-       if emitter.encoding == yaml_UTF8_ENCODING {
-               if err := emitter.write_handler(emitter, emitter.buffer[:emitter.buffer_pos]); err != nil {
-                       return yaml_emitter_set_writer_error(emitter, "write error: "+err.Error())
-               }
-               emitter.buffer_pos = 0
-               return true
-       }
-
-       // Recode the buffer into the raw buffer.
-       var low, high int
-       if emitter.encoding == yaml_UTF16LE_ENCODING {
-               low, high = 0, 1
-       } else {
-               high, low = 1, 0
-       }
-
-       pos := 0
-       for pos < emitter.buffer_pos {
-               // See the "reader.c" code for more details on UTF-8 encoding.  Note
-               // that we assume that the buffer contains a valid UTF-8 sequence.
-
-               // Read the next UTF-8 character.
-               octet := emitter.buffer[pos]
-
-               var w int
-               var value rune
-               switch {
-               case octet&0x80 == 0x00:
-                       w, value = 1, rune(octet&0x7F)
-               case octet&0xE0 == 0xC0:
-                       w, value = 2, rune(octet&0x1F)
-               case octet&0xF0 == 0xE0:
-                       w, value = 3, rune(octet&0x0F)
-               case octet&0xF8 == 0xF0:
-                       w, value = 4, rune(octet&0x07)
-               }
-               for k := 1; k < w; k++ {
-                       octet = emitter.buffer[pos+k]
-                       value = (value << 6) + (rune(octet) & 0x3F)
-               }
-               pos += w
-
-               // Write the character.
-               if value < 0x10000 {
-                       var b [2]byte
-                       b[high] = byte(value >> 8)
-                       b[low] = byte(value & 0xFF)
-                       emitter.raw_buffer = append(emitter.raw_buffer, b[0], b[1])
-               } else {
-                       // Write the character using a surrogate pair (check "reader.c").
-                       var b [4]byte
-                       value -= 0x10000
-                       b[high] = byte(0xD8 + (value >> 18))
-                       b[low] = byte((value >> 10) & 0xFF)
-                       b[high+2] = byte(0xDC + ((value >> 8) & 0xFF))
-                       b[low+2] = byte(value & 0xFF)
-                       emitter.raw_buffer = append(emitter.raw_buffer, b[0], b[1], b[2], b[3])
-               }
-       }
-
-       // Write the raw buffer.
-       if err := emitter.write_handler(emitter, emitter.raw_buffer); err != nil {
-               return yaml_emitter_set_writer_error(emitter, "write error: "+err.Error())
-       }
-       emitter.buffer_pos = 0
-       emitter.raw_buffer = emitter.raw_buffer[:0]
-       return true
-}
diff --git a/vendor/gopkg.in/yaml.v2/yaml.go b/vendor/gopkg.in/yaml.v2/yaml.go
deleted file mode 100644 (file)
index 36d6b88..0000000
+++ /dev/null
@@ -1,346 +0,0 @@
-// Package yaml implements YAML support for the Go language.
-//
-// Source code and other details for the project are available at GitHub:
-//
-//   https://github.com/go-yaml/yaml
-//
-package yaml
-
-import (
-       "errors"
-       "fmt"
-       "reflect"
-       "strings"
-       "sync"
-)
-
-// MapSlice encodes and decodes as a YAML map.
-// The order of keys is preserved when encoding and decoding.
-type MapSlice []MapItem
-
-// MapItem is an item in a MapSlice.
-type MapItem struct {
-       Key, Value interface{}
-}
-
-// The Unmarshaler interface may be implemented by types to customize their
-// behavior when being unmarshaled from a YAML document. The UnmarshalYAML
-// method receives a function that may be called to unmarshal the original
-// YAML value into a field or variable. It is safe to call the unmarshal
-// function parameter more than once if necessary.
-type Unmarshaler interface {
-       UnmarshalYAML(unmarshal func(interface{}) error) error
-}
-
-// The Marshaler interface may be implemented by types to customize their
-// behavior when being marshaled into a YAML document. The returned value
-// is marshaled in place of the original value implementing Marshaler.
-//
-// If an error is returned by MarshalYAML, the marshaling procedure stops
-// and returns with the provided error.
-type Marshaler interface {
-       MarshalYAML() (interface{}, error)
-}
-
-// Unmarshal decodes the first document found within the in byte slice
-// and assigns decoded values into the out value.
-//
-// Maps and pointers (to a struct, string, int, etc) are accepted as out
-// values. If an internal pointer within a struct is not initialized,
-// the yaml package will initialize it if necessary for unmarshalling
-// the provided data. The out parameter must not be nil.
-//
-// The type of the decoded values should be compatible with the respective
-// values in out. If one or more values cannot be decoded due to a type
-// mismatches, decoding continues partially until the end of the YAML
-// content, and a *yaml.TypeError is returned with details for all
-// missed values.
-//
-// Struct fields are only unmarshalled if they are exported (have an
-// upper case first letter), and are unmarshalled using the field name
-// lowercased as the default key. Custom keys may be defined via the
-// "yaml" name in the field tag: the content preceding the first comma
-// is used as the key, and the following comma-separated options are
-// used to tweak the marshalling process (see Marshal).
-// Conflicting names result in a runtime error.
-//
-// For example:
-//
-//     type T struct {
-//         F int `yaml:"a,omitempty"`
-//         B int
-//     }
-//     var t T
-//     yaml.Unmarshal([]byte("a: 1\nb: 2"), &t)
-//
-// See the documentation of Marshal for the format of tags and a list of
-// supported tag options.
-//
-func Unmarshal(in []byte, out interface{}) (err error) {
-       defer handleErr(&err)
-       d := newDecoder()
-       p := newParser(in)
-       defer p.destroy()
-       node := p.parse()
-       if node != nil {
-               v := reflect.ValueOf(out)
-               if v.Kind() == reflect.Ptr && !v.IsNil() {
-                       v = v.Elem()
-               }
-               d.unmarshal(node, v)
-       }
-       if len(d.terrors) > 0 {
-               return &TypeError{d.terrors}
-       }
-       return nil
-}
-
-// Marshal serializes the value provided into a YAML document. The structure
-// of the generated document will reflect the structure of the value itself.
-// Maps and pointers (to struct, string, int, etc) are accepted as the in value.
-//
-// Struct fields are only unmarshalled if they are exported (have an upper case
-// first letter), and are unmarshalled using the field name lowercased as the
-// default key. Custom keys may be defined via the "yaml" name in the field
-// tag: the content preceding the first comma is used as the key, and the
-// following comma-separated options are used to tweak the marshalling process.
-// Conflicting names result in a runtime error.
-//
-// The field tag format accepted is:
-//
-//     `(...) yaml:"[<key>][,<flag1>[,<flag2>]]" (...)`
-//
-// The following flags are currently supported:
-//
-//     omitempty    Only include the field if it's not set to the zero
-//                  value for the type or to empty slices or maps.
-//                  Does not apply to zero valued structs.
-//
-//     flow         Marshal using a flow style (useful for structs,
-//                  sequences and maps).
-//
-//     inline       Inline the field, which must be a struct or a map,
-//                  causing all of its fields or keys to be processed as if
-//                  they were part of the outer struct. For maps, keys must
-//                  not conflict with the yaml keys of other struct fields.
-//
-// In addition, if the key is "-", the field is ignored.
-//
-// For example:
-//
-//     type T struct {
-//         F int "a,omitempty"
-//         B int
-//     }
-//     yaml.Marshal(&T{B: 2}) // Returns "b: 2\n"
-//     yaml.Marshal(&T{F: 1}} // Returns "a: 1\nb: 0\n"
-//
-func Marshal(in interface{}) (out []byte, err error) {
-       defer handleErr(&err)
-       e := newEncoder()
-       defer e.destroy()
-       e.marshal("", reflect.ValueOf(in))
-       e.finish()
-       out = e.out
-       return
-}
-
-func handleErr(err *error) {
-       if v := recover(); v != nil {
-               if e, ok := v.(yamlError); ok {
-                       *err = e.err
-               } else {
-                       panic(v)
-               }
-       }
-}
-
-type yamlError struct {
-       err error
-}
-
-func fail(err error) {
-       panic(yamlError{err})
-}
-
-func failf(format string, args ...interface{}) {
-       panic(yamlError{fmt.Errorf("yaml: "+format, args...)})
-}
-
-// A TypeError is returned by Unmarshal when one or more fields in
-// the YAML document cannot be properly decoded into the requested
-// types. When this error is returned, the value is still
-// unmarshaled partially.
-type TypeError struct {
-       Errors []string
-}
-
-func (e *TypeError) Error() string {
-       return fmt.Sprintf("yaml: unmarshal errors:\n  %s", strings.Join(e.Errors, "\n  "))
-}
-
-// --------------------------------------------------------------------------
-// Maintain a mapping of keys to structure field indexes
-
-// The code in this section was copied from mgo/bson.
-
-// structInfo holds details for the serialization of fields of
-// a given struct.
-type structInfo struct {
-       FieldsMap  map[string]fieldInfo
-       FieldsList []fieldInfo
-
-       // InlineMap is the number of the field in the struct that
-       // contains an ,inline map, or -1 if there's none.
-       InlineMap int
-}
-
-type fieldInfo struct {
-       Key       string
-       Num       int
-       OmitEmpty bool
-       Flow      bool
-
-       // Inline holds the field index if the field is part of an inlined struct.
-       Inline []int
-}
-
-var structMap = make(map[reflect.Type]*structInfo)
-var fieldMapMutex sync.RWMutex
-
-func getStructInfo(st reflect.Type) (*structInfo, error) {
-       fieldMapMutex.RLock()
-       sinfo, found := structMap[st]
-       fieldMapMutex.RUnlock()
-       if found {
-               return sinfo, nil
-       }
-
-       n := st.NumField()
-       fieldsMap := make(map[string]fieldInfo)
-       fieldsList := make([]fieldInfo, 0, n)
-       inlineMap := -1
-       for i := 0; i != n; i++ {
-               field := st.Field(i)
-               if field.PkgPath != "" && !field.Anonymous {
-                       continue // Private field
-               }
-
-               info := fieldInfo{Num: i}
-
-               tag := field.Tag.Get("yaml")
-               if tag == "" && strings.Index(string(field.Tag), ":") < 0 {
-                       tag = string(field.Tag)
-               }
-               if tag == "-" {
-                       continue
-               }
-
-               inline := false
-               fields := strings.Split(tag, ",")
-               if len(fields) > 1 {
-                       for _, flag := range fields[1:] {
-                               switch flag {
-                               case "omitempty":
-                                       info.OmitEmpty = true
-                               case "flow":
-                                       info.Flow = true
-                               case "inline":
-                                       inline = true
-                               default:
-                                       return nil, errors.New(fmt.Sprintf("Unsupported flag %q in tag %q of type %s", flag, tag, st))
-                               }
-                       }
-                       tag = fields[0]
-               }
-
-               if inline {
-                       switch field.Type.Kind() {
-                       case reflect.Map:
-                               if inlineMap >= 0 {
-                                       return nil, errors.New("Multiple ,inline maps in struct " + st.String())
-                               }
-                               if field.Type.Key() != reflect.TypeOf("") {
-                                       return nil, errors.New("Option ,inline needs a map with string keys in struct " + st.String())
-                               }
-                               inlineMap = info.Num
-                       case reflect.Struct:
-                               sinfo, err := getStructInfo(field.Type)
-                               if err != nil {
-                                       return nil, err
-                               }
-                               for _, finfo := range sinfo.FieldsList {
-                                       if _, found := fieldsMap[finfo.Key]; found {
-                                               msg := "Duplicated key '" + finfo.Key + "' in struct " + st.String()
-                                               return nil, errors.New(msg)
-                                       }
-                                       if finfo.Inline == nil {
-                                               finfo.Inline = []int{i, finfo.Num}
-                                       } else {
-                                               finfo.Inline = append([]int{i}, finfo.Inline...)
-                                       }
-                                       fieldsMap[finfo.Key] = finfo
-                                       fieldsList = append(fieldsList, finfo)
-                               }
-                       default:
-                               //return nil, errors.New("Option ,inline needs a struct value or map field")
-                               return nil, errors.New("Option ,inline needs a struct value field")
-                       }
-                       continue
-               }
-
-               if tag != "" {
-                       info.Key = tag
-               } else {
-                       info.Key = strings.ToLower(field.Name)
-               }
-
-               if _, found = fieldsMap[info.Key]; found {
-                       msg := "Duplicated key '" + info.Key + "' in struct " + st.String()
-                       return nil, errors.New(msg)
-               }
-
-               fieldsList = append(fieldsList, info)
-               fieldsMap[info.Key] = info
-       }
-
-       sinfo = &structInfo{fieldsMap, fieldsList, inlineMap}
-
-       fieldMapMutex.Lock()
-       structMap[st] = sinfo
-       fieldMapMutex.Unlock()
-       return sinfo, nil
-}
-
-func isZero(v reflect.Value) bool {
-       switch v.Kind() {
-       case reflect.String:
-               return len(v.String()) == 0
-       case reflect.Interface, reflect.Ptr:
-               return v.IsNil()
-       case reflect.Slice:
-               return v.Len() == 0
-       case reflect.Map:
-               return v.Len() == 0
-       case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
-               return v.Int() == 0
-       case reflect.Float32, reflect.Float64:
-               return v.Float() == 0
-       case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr:
-               return v.Uint() == 0
-       case reflect.Bool:
-               return !v.Bool()
-       case reflect.Struct:
-               vt := v.Type()
-               for i := v.NumField() - 1; i >= 0; i-- {
-                       if vt.Field(i).PkgPath != "" {
-                               continue // Private field
-                       }
-                       if !isZero(v.Field(i)) {
-                               return false
-                       }
-               }
-               return true
-       }
-       return false
-}
diff --git a/vendor/gopkg.in/yaml.v2/yamlh.go b/vendor/gopkg.in/yaml.v2/yamlh.go
deleted file mode 100644 (file)
index d60a6b6..0000000
+++ /dev/null
@@ -1,716 +0,0 @@
-package yaml
-
-import (
-       "io"
-)
-
-// The version directive data.
-type yaml_version_directive_t struct {
-       major int8 // The major version number.
-       minor int8 // The minor version number.
-}
-
-// The tag directive data.
-type yaml_tag_directive_t struct {
-       handle []byte // The tag handle.
-       prefix []byte // The tag prefix.
-}
-
-type yaml_encoding_t int
-
-// The stream encoding.
-const (
-       // Let the parser choose the encoding.
-       yaml_ANY_ENCODING yaml_encoding_t = iota
-
-       yaml_UTF8_ENCODING    // The default UTF-8 encoding.
-       yaml_UTF16LE_ENCODING // The UTF-16-LE encoding with BOM.
-       yaml_UTF16BE_ENCODING // The UTF-16-BE encoding with BOM.
-)
-
-type yaml_break_t int
-
-// Line break types.
-const (
-       // Let the parser choose the break type.
-       yaml_ANY_BREAK yaml_break_t = iota
-
-       yaml_CR_BREAK   // Use CR for line breaks (Mac style).
-       yaml_LN_BREAK   // Use LN for line breaks (Unix style).
-       yaml_CRLN_BREAK // Use CR LN for line breaks (DOS style).
-)
-
-type yaml_error_type_t int
-
-// Many bad things could happen with the parser and emitter.
-const (
-       // No error is produced.
-       yaml_NO_ERROR yaml_error_type_t = iota
-
-       yaml_MEMORY_ERROR   // Cannot allocate or reallocate a block of memory.
-       yaml_READER_ERROR   // Cannot read or decode the input stream.
-       yaml_SCANNER_ERROR  // Cannot scan the input stream.
-       yaml_PARSER_ERROR   // Cannot parse the input stream.
-       yaml_COMPOSER_ERROR // Cannot compose a YAML document.
-       yaml_WRITER_ERROR   // Cannot write to the output stream.
-       yaml_EMITTER_ERROR  // Cannot emit a YAML stream.
-)
-
-// The pointer position.
-type yaml_mark_t struct {
-       index  int // The position index.
-       line   int // The position line.
-       column int // The position column.
-}
-
-// Node Styles
-
-type yaml_style_t int8
-
-type yaml_scalar_style_t yaml_style_t
-
-// Scalar styles.
-const (
-       // Let the emitter choose the style.
-       yaml_ANY_SCALAR_STYLE yaml_scalar_style_t = iota
-
-       yaml_PLAIN_SCALAR_STYLE         // The plain scalar style.
-       yaml_SINGLE_QUOTED_SCALAR_STYLE // The single-quoted scalar style.
-       yaml_DOUBLE_QUOTED_SCALAR_STYLE // The double-quoted scalar style.
-       yaml_LITERAL_SCALAR_STYLE       // The literal scalar style.
-       yaml_FOLDED_SCALAR_STYLE        // The folded scalar style.
-)
-
-type yaml_sequence_style_t yaml_style_t
-
-// Sequence styles.
-const (
-       // Let the emitter choose the style.
-       yaml_ANY_SEQUENCE_STYLE yaml_sequence_style_t = iota
-
-       yaml_BLOCK_SEQUENCE_STYLE // The block sequence style.
-       yaml_FLOW_SEQUENCE_STYLE  // The flow sequence style.
-)
-
-type yaml_mapping_style_t yaml_style_t
-
-// Mapping styles.
-const (
-       // Let the emitter choose the style.
-       yaml_ANY_MAPPING_STYLE yaml_mapping_style_t = iota
-
-       yaml_BLOCK_MAPPING_STYLE // The block mapping style.
-       yaml_FLOW_MAPPING_STYLE  // The flow mapping style.
-)
-
-// Tokens
-
-type yaml_token_type_t int
-
-// Token types.
-const (
-       // An empty token.
-       yaml_NO_TOKEN yaml_token_type_t = iota
-
-       yaml_STREAM_START_TOKEN // A STREAM-START token.
-       yaml_STREAM_END_TOKEN   // A STREAM-END token.
-
-       yaml_VERSION_DIRECTIVE_TOKEN // A VERSION-DIRECTIVE token.
-       yaml_TAG_DIRECTIVE_TOKEN     // A TAG-DIRECTIVE token.
-       yaml_DOCUMENT_START_TOKEN    // A DOCUMENT-START token.
-       yaml_DOCUMENT_END_TOKEN      // A DOCUMENT-END token.
-
-       yaml_BLOCK_SEQUENCE_START_TOKEN // A BLOCK-SEQUENCE-START token.
-       yaml_BLOCK_MAPPING_START_TOKEN  // A BLOCK-SEQUENCE-END token.
-       yaml_BLOCK_END_TOKEN            // A BLOCK-END token.
-
-       yaml_FLOW_SEQUENCE_START_TOKEN // A FLOW-SEQUENCE-START token.
-       yaml_FLOW_SEQUENCE_END_TOKEN   // A FLOW-SEQUENCE-END token.
-       yaml_FLOW_MAPPING_START_TOKEN  // A FLOW-MAPPING-START token.
-       yaml_FLOW_MAPPING_END_TOKEN    // A FLOW-MAPPING-END token.
-
-       yaml_BLOCK_ENTRY_TOKEN // A BLOCK-ENTRY token.
-       yaml_FLOW_ENTRY_TOKEN  // A FLOW-ENTRY token.
-       yaml_KEY_TOKEN         // A KEY token.
-       yaml_VALUE_TOKEN       // A VALUE token.
-
-       yaml_ALIAS_TOKEN  // An ALIAS token.
-       yaml_ANCHOR_TOKEN // An ANCHOR token.
-       yaml_TAG_TOKEN    // A TAG token.
-       yaml_SCALAR_TOKEN // A SCALAR token.
-)
-
-func (tt yaml_token_type_t) String() string {
-       switch tt {
-       case yaml_NO_TOKEN:
-               return "yaml_NO_TOKEN"
-       case yaml_STREAM_START_TOKEN:
-               return "yaml_STREAM_START_TOKEN"
-       case yaml_STREAM_END_TOKEN:
-               return "yaml_STREAM_END_TOKEN"
-       case yaml_VERSION_DIRECTIVE_TOKEN:
-               return "yaml_VERSION_DIRECTIVE_TOKEN"
-       case yaml_TAG_DIRECTIVE_TOKEN:
-               return "yaml_TAG_DIRECTIVE_TOKEN"
-       case yaml_DOCUMENT_START_TOKEN:
-               return "yaml_DOCUMENT_START_TOKEN"
-       case yaml_DOCUMENT_END_TOKEN:
-               return "yaml_DOCUMENT_END_TOKEN"
-       case yaml_BLOCK_SEQUENCE_START_TOKEN:
-               return "yaml_BLOCK_SEQUENCE_START_TOKEN"
-       case yaml_BLOCK_MAPPING_START_TOKEN:
-               return "yaml_BLOCK_MAPPING_START_TOKEN"
-       case yaml_BLOCK_END_TOKEN:
-               return "yaml_BLOCK_END_TOKEN"
-       case yaml_FLOW_SEQUENCE_START_TOKEN:
-               return "yaml_FLOW_SEQUENCE_START_TOKEN"
-       case yaml_FLOW_SEQUENCE_END_TOKEN:
-               return "yaml_FLOW_SEQUENCE_END_TOKEN"
-       case yaml_FLOW_MAPPING_START_TOKEN:
-               return "yaml_FLOW_MAPPING_START_TOKEN"
-       case yaml_FLOW_MAPPING_END_TOKEN:
-               return "yaml_FLOW_MAPPING_END_TOKEN"
-       case yaml_BLOCK_ENTRY_TOKEN:
-               return "yaml_BLOCK_ENTRY_TOKEN"
-       case yaml_FLOW_ENTRY_TOKEN:
-               return "yaml_FLOW_ENTRY_TOKEN"
-       case yaml_KEY_TOKEN:
-               return "yaml_KEY_TOKEN"
-       case yaml_VALUE_TOKEN:
-               return "yaml_VALUE_TOKEN"
-       case yaml_ALIAS_TOKEN:
-               return "yaml_ALIAS_TOKEN"
-       case yaml_ANCHOR_TOKEN:
-               return "yaml_ANCHOR_TOKEN"
-       case yaml_TAG_TOKEN:
-               return "yaml_TAG_TOKEN"
-       case yaml_SCALAR_TOKEN:
-               return "yaml_SCALAR_TOKEN"
-       }
-       return "<unknown token>"
-}
-
-// The token structure.
-type yaml_token_t struct {
-       // The token type.
-       typ yaml_token_type_t
-
-       // The start/end of the token.
-       start_mark, end_mark yaml_mark_t
-
-       // The stream encoding (for yaml_STREAM_START_TOKEN).
-       encoding yaml_encoding_t
-
-       // The alias/anchor/scalar value or tag/tag directive handle
-       // (for yaml_ALIAS_TOKEN, yaml_ANCHOR_TOKEN, yaml_SCALAR_TOKEN, yaml_TAG_TOKEN, yaml_TAG_DIRECTIVE_TOKEN).
-       value []byte
-
-       // The tag suffix (for yaml_TAG_TOKEN).
-       suffix []byte
-
-       // The tag directive prefix (for yaml_TAG_DIRECTIVE_TOKEN).
-       prefix []byte
-
-       // The scalar style (for yaml_SCALAR_TOKEN).
-       style yaml_scalar_style_t
-
-       // The version directive major/minor (for yaml_VERSION_DIRECTIVE_TOKEN).
-       major, minor int8
-}
-
-// Events
-
-type yaml_event_type_t int8
-
-// Event types.
-const (
-       // An empty event.
-       yaml_NO_EVENT yaml_event_type_t = iota
-
-       yaml_STREAM_START_EVENT   // A STREAM-START event.
-       yaml_STREAM_END_EVENT     // A STREAM-END event.
-       yaml_DOCUMENT_START_EVENT // A DOCUMENT-START event.
-       yaml_DOCUMENT_END_EVENT   // A DOCUMENT-END event.
-       yaml_ALIAS_EVENT          // An ALIAS event.
-       yaml_SCALAR_EVENT         // A SCALAR event.
-       yaml_SEQUENCE_START_EVENT // A SEQUENCE-START event.
-       yaml_SEQUENCE_END_EVENT   // A SEQUENCE-END event.
-       yaml_MAPPING_START_EVENT  // A MAPPING-START event.
-       yaml_MAPPING_END_EVENT    // A MAPPING-END event.
-)
-
-// The event structure.
-type yaml_event_t struct {
-
-       // The event type.
-       typ yaml_event_type_t
-
-       // The start and end of the event.
-       start_mark, end_mark yaml_mark_t
-
-       // The document encoding (for yaml_STREAM_START_EVENT).
-       encoding yaml_encoding_t
-
-       // The version directive (for yaml_DOCUMENT_START_EVENT).
-       version_directive *yaml_version_directive_t
-
-       // The list of tag directives (for yaml_DOCUMENT_START_EVENT).
-       tag_directives []yaml_tag_directive_t
-
-       // The anchor (for yaml_SCALAR_EVENT, yaml_SEQUENCE_START_EVENT, yaml_MAPPING_START_EVENT, yaml_ALIAS_EVENT).
-       anchor []byte
-
-       // The tag (for yaml_SCALAR_EVENT, yaml_SEQUENCE_START_EVENT, yaml_MAPPING_START_EVENT).
-       tag []byte
-
-       // The scalar value (for yaml_SCALAR_EVENT).
-       value []byte
-
-       // Is the document start/end indicator implicit, or the tag optional?
-       // (for yaml_DOCUMENT_START_EVENT, yaml_DOCUMENT_END_EVENT, yaml_SEQUENCE_START_EVENT, yaml_MAPPING_START_EVENT, yaml_SCALAR_EVENT).
-       implicit bool
-
-       // Is the tag optional for any non-plain style? (for yaml_SCALAR_EVENT).
-       quoted_implicit bool
-
-       // The style (for yaml_SCALAR_EVENT, yaml_SEQUENCE_START_EVENT, yaml_MAPPING_START_EVENT).
-       style yaml_style_t
-}
-
-func (e *yaml_event_t) scalar_style() yaml_scalar_style_t     { return yaml_scalar_style_t(e.style) }
-func (e *yaml_event_t) sequence_style() yaml_sequence_style_t { return yaml_sequence_style_t(e.style) }
-func (e *yaml_event_t) mapping_style() yaml_mapping_style_t   { return yaml_mapping_style_t(e.style) }
-
-// Nodes
-
-const (
-       yaml_NULL_TAG      = "tag:yaml.org,2002:null"      // The tag !!null with the only possible value: null.
-       yaml_BOOL_TAG      = "tag:yaml.org,2002:bool"      // The tag !!bool with the values: true and false.
-       yaml_STR_TAG       = "tag:yaml.org,2002:str"       // The tag !!str for string values.
-       yaml_INT_TAG       = "tag:yaml.org,2002:int"       // The tag !!int for integer values.
-       yaml_FLOAT_TAG     = "tag:yaml.org,2002:float"     // The tag !!float for float values.
-       yaml_TIMESTAMP_TAG = "tag:yaml.org,2002:timestamp" // The tag !!timestamp for date and time values.
-
-       yaml_SEQ_TAG = "tag:yaml.org,2002:seq" // The tag !!seq is used to denote sequences.
-       yaml_MAP_TAG = "tag:yaml.org,2002:map" // The tag !!map is used to denote mapping.
-
-       // Not in original libyaml.
-       yaml_BINARY_TAG = "tag:yaml.org,2002:binary"
-       yaml_MERGE_TAG  = "tag:yaml.org,2002:merge"
-
-       yaml_DEFAULT_SCALAR_TAG   = yaml_STR_TAG // The default scalar tag is !!str.
-       yaml_DEFAULT_SEQUENCE_TAG = yaml_SEQ_TAG // The default sequence tag is !!seq.
-       yaml_DEFAULT_MAPPING_TAG  = yaml_MAP_TAG // The default mapping tag is !!map.
-)
-
-type yaml_node_type_t int
-
-// Node types.
-const (
-       // An empty node.
-       yaml_NO_NODE yaml_node_type_t = iota
-
-       yaml_SCALAR_NODE   // A scalar node.
-       yaml_SEQUENCE_NODE // A sequence node.
-       yaml_MAPPING_NODE  // A mapping node.
-)
-
-// An element of a sequence node.
-type yaml_node_item_t int
-
-// An element of a mapping node.
-type yaml_node_pair_t struct {
-       key   int // The key of the element.
-       value int // The value of the element.
-}
-
-// The node structure.
-type yaml_node_t struct {
-       typ yaml_node_type_t // The node type.
-       tag []byte           // The node tag.
-
-       // The node data.
-
-       // The scalar parameters (for yaml_SCALAR_NODE).
-       scalar struct {
-               value  []byte              // The scalar value.
-               length int                 // The length of the scalar value.
-               style  yaml_scalar_style_t // The scalar style.
-       }
-
-       // The sequence parameters (for YAML_SEQUENCE_NODE).
-       sequence struct {
-               items_data []yaml_node_item_t    // The stack of sequence items.
-               style      yaml_sequence_style_t // The sequence style.
-       }
-
-       // The mapping parameters (for yaml_MAPPING_NODE).
-       mapping struct {
-               pairs_data  []yaml_node_pair_t   // The stack of mapping pairs (key, value).
-               pairs_start *yaml_node_pair_t    // The beginning of the stack.
-               pairs_end   *yaml_node_pair_t    // The end of the stack.
-               pairs_top   *yaml_node_pair_t    // The top of the stack.
-               style       yaml_mapping_style_t // The mapping style.
-       }
-
-       start_mark yaml_mark_t // The beginning of the node.
-       end_mark   yaml_mark_t // The end of the node.
-
-}
-
-// The document structure.
-type yaml_document_t struct {
-
-       // The document nodes.
-       nodes []yaml_node_t
-
-       // The version directive.
-       version_directive *yaml_version_directive_t
-
-       // The list of tag directives.
-       tag_directives_data  []yaml_tag_directive_t
-       tag_directives_start int // The beginning of the tag directives list.
-       tag_directives_end   int // The end of the tag directives list.
-
-       start_implicit int // Is the document start indicator implicit?
-       end_implicit   int // Is the document end indicator implicit?
-
-       // The start/end of the document.
-       start_mark, end_mark yaml_mark_t
-}
-
-// The prototype of a read handler.
-//
-// The read handler is called when the parser needs to read more bytes from the
-// source. The handler should write not more than size bytes to the buffer.
-// The number of written bytes should be set to the size_read variable.
-//
-// [in,out]   data        A pointer to an application data specified by
-//                        yaml_parser_set_input().
-// [out]      buffer      The buffer to write the data from the source.
-// [in]       size        The size of the buffer.
-// [out]      size_read   The actual number of bytes read from the source.
-//
-// On success, the handler should return 1.  If the handler failed,
-// the returned value should be 0. On EOF, the handler should set the
-// size_read to 0 and return 1.
-type yaml_read_handler_t func(parser *yaml_parser_t, buffer []byte) (n int, err error)
-
-// This structure holds information about a potential simple key.
-type yaml_simple_key_t struct {
-       possible     bool        // Is a simple key possible?
-       required     bool        // Is a simple key required?
-       token_number int         // The number of the token.
-       mark         yaml_mark_t // The position mark.
-}
-
-// The states of the parser.
-type yaml_parser_state_t int
-
-const (
-       yaml_PARSE_STREAM_START_STATE yaml_parser_state_t = iota
-
-       yaml_PARSE_IMPLICIT_DOCUMENT_START_STATE           // Expect the beginning of an implicit document.
-       yaml_PARSE_DOCUMENT_START_STATE                    // Expect DOCUMENT-START.
-       yaml_PARSE_DOCUMENT_CONTENT_STATE                  // Expect the content of a document.
-       yaml_PARSE_DOCUMENT_END_STATE                      // Expect DOCUMENT-END.
-       yaml_PARSE_BLOCK_NODE_STATE                        // Expect a block node.
-       yaml_PARSE_BLOCK_NODE_OR_INDENTLESS_SEQUENCE_STATE // Expect a block node or indentless sequence.
-       yaml_PARSE_FLOW_NODE_STATE                         // Expect a flow node.
-       yaml_PARSE_BLOCK_SEQUENCE_FIRST_ENTRY_STATE        // Expect the first entry of a block sequence.
-       yaml_PARSE_BLOCK_SEQUENCE_ENTRY_STATE              // Expect an entry of a block sequence.
-       yaml_PARSE_INDENTLESS_SEQUENCE_ENTRY_STATE         // Expect an entry of an indentless sequence.
-       yaml_PARSE_BLOCK_MAPPING_FIRST_KEY_STATE           // Expect the first key of a block mapping.
-       yaml_PARSE_BLOCK_MAPPING_KEY_STATE                 // Expect a block mapping key.
-       yaml_PARSE_BLOCK_MAPPING_VALUE_STATE               // Expect a block mapping value.
-       yaml_PARSE_FLOW_SEQUENCE_FIRST_ENTRY_STATE         // Expect the first entry of a flow sequence.
-       yaml_PARSE_FLOW_SEQUENCE_ENTRY_STATE               // Expect an entry of a flow sequence.
-       yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_KEY_STATE   // Expect a key of an ordered mapping.
-       yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_VALUE_STATE // Expect a value of an ordered mapping.
-       yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_END_STATE   // Expect the and of an ordered mapping entry.
-       yaml_PARSE_FLOW_MAPPING_FIRST_KEY_STATE            // Expect the first key of a flow mapping.
-       yaml_PARSE_FLOW_MAPPING_KEY_STATE                  // Expect a key of a flow mapping.
-       yaml_PARSE_FLOW_MAPPING_VALUE_STATE                // Expect a value of a flow mapping.
-       yaml_PARSE_FLOW_MAPPING_EMPTY_VALUE_STATE          // Expect an empty value of a flow mapping.
-       yaml_PARSE_END_STATE                               // Expect nothing.
-)
-
-func (ps yaml_parser_state_t) String() string {
-       switch ps {
-       case yaml_PARSE_STREAM_START_STATE:
-               return "yaml_PARSE_STREAM_START_STATE"
-       case yaml_PARSE_IMPLICIT_DOCUMENT_START_STATE:
-               return "yaml_PARSE_IMPLICIT_DOCUMENT_START_STATE"
-       case yaml_PARSE_DOCUMENT_START_STATE:
-               return "yaml_PARSE_DOCUMENT_START_STATE"
-       case yaml_PARSE_DOCUMENT_CONTENT_STATE:
-               return "yaml_PARSE_DOCUMENT_CONTENT_STATE"
-       case yaml_PARSE_DOCUMENT_END_STATE:
-               return "yaml_PARSE_DOCUMENT_END_STATE"
-       case yaml_PARSE_BLOCK_NODE_STATE:
-               return "yaml_PARSE_BLOCK_NODE_STATE"
-       case yaml_PARSE_BLOCK_NODE_OR_INDENTLESS_SEQUENCE_STATE:
-               return "yaml_PARSE_BLOCK_NODE_OR_INDENTLESS_SEQUENCE_STATE"
-       case yaml_PARSE_FLOW_NODE_STATE:
-               return "yaml_PARSE_FLOW_NODE_STATE"
-       case yaml_PARSE_BLOCK_SEQUENCE_FIRST_ENTRY_STATE:
-               return "yaml_PARSE_BLOCK_SEQUENCE_FIRST_ENTRY_STATE"
-       case yaml_PARSE_BLOCK_SEQUENCE_ENTRY_STATE:
-               return "yaml_PARSE_BLOCK_SEQUENCE_ENTRY_STATE"
-       case yaml_PARSE_INDENTLESS_SEQUENCE_ENTRY_STATE:
-               return "yaml_PARSE_INDENTLESS_SEQUENCE_ENTRY_STATE"
-       case yaml_PARSE_BLOCK_MAPPING_FIRST_KEY_STATE:
-               return "yaml_PARSE_BLOCK_MAPPING_FIRST_KEY_STATE"
-       case yaml_PARSE_BLOCK_MAPPING_KEY_STATE:
-               return "yaml_PARSE_BLOCK_MAPPING_KEY_STATE"
-       case yaml_PARSE_BLOCK_MAPPING_VALUE_STATE:
-               return "yaml_PARSE_BLOCK_MAPPING_VALUE_STATE"
-       case yaml_PARSE_FLOW_SEQUENCE_FIRST_ENTRY_STATE:
-               return "yaml_PARSE_FLOW_SEQUENCE_FIRST_ENTRY_STATE"
-       case yaml_PARSE_FLOW_SEQUENCE_ENTRY_STATE:
-               return "yaml_PARSE_FLOW_SEQUENCE_ENTRY_STATE"
-       case yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_KEY_STATE:
-               return "yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_KEY_STATE"
-       case yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_VALUE_STATE:
-               return "yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_VALUE_STATE"
-       case yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_END_STATE:
-               return "yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_END_STATE"
-       case yaml_PARSE_FLOW_MAPPING_FIRST_KEY_STATE:
-               return "yaml_PARSE_FLOW_MAPPING_FIRST_KEY_STATE"
-       case yaml_PARSE_FLOW_MAPPING_KEY_STATE:
-               return "yaml_PARSE_FLOW_MAPPING_KEY_STATE"
-       case yaml_PARSE_FLOW_MAPPING_VALUE_STATE:
-               return "yaml_PARSE_FLOW_MAPPING_VALUE_STATE"
-       case yaml_PARSE_FLOW_MAPPING_EMPTY_VALUE_STATE:
-               return "yaml_PARSE_FLOW_MAPPING_EMPTY_VALUE_STATE"
-       case yaml_PARSE_END_STATE:
-               return "yaml_PARSE_END_STATE"
-       }
-       return "<unknown parser state>"
-}
-
-// This structure holds aliases data.
-type yaml_alias_data_t struct {
-       anchor []byte      // The anchor.
-       index  int         // The node id.
-       mark   yaml_mark_t // The anchor mark.
-}
-
-// The parser structure.
-//
-// All members are internal. Manage the structure using the
-// yaml_parser_ family of functions.
-type yaml_parser_t struct {
-
-       // Error handling
-
-       error yaml_error_type_t // Error type.
-
-       problem string // Error description.
-
-       // The byte about which the problem occured.
-       problem_offset int
-       problem_value  int
-       problem_mark   yaml_mark_t
-
-       // The error context.
-       context      string
-       context_mark yaml_mark_t
-
-       // Reader stuff
-
-       read_handler yaml_read_handler_t // Read handler.
-
-       input_file io.Reader // File input data.
-       input      []byte    // String input data.
-       input_pos  int
-
-       eof bool // EOF flag
-
-       buffer     []byte // The working buffer.
-       buffer_pos int    // The current position of the buffer.
-
-       unread int // The number of unread characters in the buffer.
-
-       raw_buffer     []byte // The raw buffer.
-       raw_buffer_pos int    // The current position of the buffer.
-
-       encoding yaml_encoding_t // The input encoding.
-
-       offset int         // The offset of the current position (in bytes).
-       mark   yaml_mark_t // The mark of the current position.
-
-       // Scanner stuff
-
-       stream_start_produced bool // Have we started to scan the input stream?
-       stream_end_produced   bool // Have we reached the end of the input stream?
-
-       flow_level int // The number of unclosed '[' and '{' indicators.
-
-       tokens          []yaml_token_t // The tokens queue.
-       tokens_head     int            // The head of the tokens queue.
-       tokens_parsed   int            // The number of tokens fetched from the queue.
-       token_available bool           // Does the tokens queue contain a token ready for dequeueing.
-
-       indent  int   // The current indentation level.
-       indents []int // The indentation levels stack.
-
-       simple_key_allowed bool                // May a simple key occur at the current position?
-       simple_keys        []yaml_simple_key_t // The stack of simple keys.
-
-       // Parser stuff
-
-       state          yaml_parser_state_t    // The current parser state.
-       states         []yaml_parser_state_t  // The parser states stack.
-       marks          []yaml_mark_t          // The stack of marks.
-       tag_directives []yaml_tag_directive_t // The list of TAG directives.
-
-       // Dumper stuff
-
-       aliases []yaml_alias_data_t // The alias data.
-
-       document *yaml_document_t // The currently parsed document.
-}
-
-// Emitter Definitions
-
-// The prototype of a write handler.
-//
-// The write handler is called when the emitter needs to flush the accumulated
-// characters to the output.  The handler should write @a size bytes of the
-// @a buffer to the output.
-//
-// @param[in,out]   data        A pointer to an application data specified by
-//                              yaml_emitter_set_output().
-// @param[in]       buffer      The buffer with bytes to be written.
-// @param[in]       size        The size of the buffer.
-//
-// @returns On success, the handler should return @c 1.  If the handler failed,
-// the returned value should be @c 0.
-//
-type yaml_write_handler_t func(emitter *yaml_emitter_t, buffer []byte) error
-
-type yaml_emitter_state_t int
-
-// The emitter states.
-const (
-       // Expect STREAM-START.
-       yaml_EMIT_STREAM_START_STATE yaml_emitter_state_t = iota
-
-       yaml_EMIT_FIRST_DOCUMENT_START_STATE       // Expect the first DOCUMENT-START or STREAM-END.
-       yaml_EMIT_DOCUMENT_START_STATE             // Expect DOCUMENT-START or STREAM-END.
-       yaml_EMIT_DOCUMENT_CONTENT_STATE           // Expect the content of a document.
-       yaml_EMIT_DOCUMENT_END_STATE               // Expect DOCUMENT-END.
-       yaml_EMIT_FLOW_SEQUENCE_FIRST_ITEM_STATE   // Expect the first item of a flow sequence.
-       yaml_EMIT_FLOW_SEQUENCE_ITEM_STATE         // Expect an item of a flow sequence.
-       yaml_EMIT_FLOW_MAPPING_FIRST_KEY_STATE     // Expect the first key of a flow mapping.
-       yaml_EMIT_FLOW_MAPPING_KEY_STATE           // Expect a key of a flow mapping.
-       yaml_EMIT_FLOW_MAPPING_SIMPLE_VALUE_STATE  // Expect a value for a simple key of a flow mapping.
-       yaml_EMIT_FLOW_MAPPING_VALUE_STATE         // Expect a value of a flow mapping.
-       yaml_EMIT_BLOCK_SEQUENCE_FIRST_ITEM_STATE  // Expect the first item of a block sequence.
-       yaml_EMIT_BLOCK_SEQUENCE_ITEM_STATE        // Expect an item of a block sequence.
-       yaml_EMIT_BLOCK_MAPPING_FIRST_KEY_STATE    // Expect the first key of a block mapping.
-       yaml_EMIT_BLOCK_MAPPING_KEY_STATE          // Expect the key of a block mapping.
-       yaml_EMIT_BLOCK_MAPPING_SIMPLE_VALUE_STATE // Expect a value for a simple key of a block mapping.
-       yaml_EMIT_BLOCK_MAPPING_VALUE_STATE        // Expect a value of a block mapping.
-       yaml_EMIT_END_STATE                        // Expect nothing.
-)
-
-// The emitter structure.
-//
-// All members are internal.  Manage the structure using the @c yaml_emitter_
-// family of functions.
-type yaml_emitter_t struct {
-
-       // Error handling
-
-       error   yaml_error_type_t // Error type.
-       problem string            // Error description.
-
-       // Writer stuff
-
-       write_handler yaml_write_handler_t // Write handler.
-
-       output_buffer *[]byte   // String output data.
-       output_file   io.Writer // File output data.
-
-       buffer     []byte // The working buffer.
-       buffer_pos int    // The current position of the buffer.
-
-       raw_buffer     []byte // The raw buffer.
-       raw_buffer_pos int    // The current position of the buffer.
-
-       encoding yaml_encoding_t // The stream encoding.
-
-       // Emitter stuff
-
-       canonical   bool         // If the output is in the canonical style?
-       best_indent int          // The number of indentation spaces.
-       best_width  int          // The preferred width of the output lines.
-       unicode     bool         // Allow unescaped non-ASCII characters?
-       line_break  yaml_break_t // The preferred line break.
-
-       state  yaml_emitter_state_t   // The current emitter state.
-       states []yaml_emitter_state_t // The stack of states.
-
-       events      []yaml_event_t // The event queue.
-       events_head int            // The head of the event queue.
-
-       indents []int // The stack of indentation levels.
-
-       tag_directives []yaml_tag_directive_t // The list of tag directives.
-
-       indent int // The current indentation level.
-
-       flow_level int // The current flow level.
-
-       root_context       bool // Is it the document root context?
-       sequence_context   bool // Is it a sequence context?
-       mapping_context    bool // Is it a mapping context?
-       simple_key_context bool // Is it a simple mapping key context?
-
-       line       int  // The current line.
-       column     int  // The current column.
-       whitespace bool // If the last character was a whitespace?
-       indention  bool // If the last character was an indentation character (' ', '-', '?', ':')?
-       open_ended bool // If an explicit document end is required?
-
-       // Anchor analysis.
-       anchor_data struct {
-               anchor []byte // The anchor value.
-               alias  bool   // Is it an alias?
-       }
-
-       // Tag analysis.
-       tag_data struct {
-               handle []byte // The tag handle.
-               suffix []byte // The tag suffix.
-       }
-
-       // Scalar analysis.
-       scalar_data struct {
-               value                 []byte              // The scalar value.
-               multiline             bool                // Does the scalar contain line breaks?
-               flow_plain_allowed    bool                // Can the scalar be expessed in the flow plain style?
-               block_plain_allowed   bool                // Can the scalar be expressed in the block plain style?
-               single_quoted_allowed bool                // Can the scalar be expressed in the single quoted style?
-               block_allowed         bool                // Can the scalar be expressed in the literal or folded styles?
-               style                 yaml_scalar_style_t // The output style.
-       }
-
-       // Dumper stuff
-
-       opened bool // If the stream was already opened?
-       closed bool // If the stream was already closed?
-
-       // The information associated with the document nodes.
-       anchors *struct {
-               references int  // The number of references.
-               anchor     int  // The anchor id.
-               serialized bool // If the node has been emitted?
-       }
-
-       last_anchor_id int // The last assigned anchor id.
-
-       document *yaml_document_t // The currently emitted document.
-}
diff --git a/vendor/gopkg.in/yaml.v2/yamlprivateh.go b/vendor/gopkg.in/yaml.v2/yamlprivateh.go
deleted file mode 100644 (file)
index 8110ce3..0000000
+++ /dev/null
@@ -1,173 +0,0 @@
-package yaml
-
-const (
-       // The size of the input raw buffer.
-       input_raw_buffer_size = 512
-
-       // The size of the input buffer.
-       // It should be possible to decode the whole raw buffer.
-       input_buffer_size = input_raw_buffer_size * 3
-
-       // The size of the output buffer.
-       output_buffer_size = 128
-
-       // The size of the output raw buffer.
-       // It should be possible to encode the whole output buffer.
-       output_raw_buffer_size = (output_buffer_size*2 + 2)
-
-       // The size of other stacks and queues.
-       initial_stack_size  = 16
-       initial_queue_size  = 16
-       initial_string_size = 16
-)
-
-// Check if the character at the specified position is an alphabetical
-// character, a digit, '_', or '-'.
-func is_alpha(b []byte, i int) bool {
-       return b[i] >= '0' && b[i] <= '9' || b[i] >= 'A' && b[i] <= 'Z' || b[i] >= 'a' && b[i] <= 'z' || b[i] == '_' || b[i] == '-'
-}
-
-// Check if the character at the specified position is a digit.
-func is_digit(b []byte, i int) bool {
-       return b[i] >= '0' && b[i] <= '9'
-}
-
-// Get the value of a digit.
-func as_digit(b []byte, i int) int {
-       return int(b[i]) - '0'
-}
-
-// Check if the character at the specified position is a hex-digit.
-func is_hex(b []byte, i int) bool {
-       return b[i] >= '0' && b[i] <= '9' || b[i] >= 'A' && b[i] <= 'F' || b[i] >= 'a' && b[i] <= 'f'
-}
-
-// Get the value of a hex-digit.
-func as_hex(b []byte, i int) int {
-       bi := b[i]
-       if bi >= 'A' && bi <= 'F' {
-               return int(bi) - 'A' + 10
-       }
-       if bi >= 'a' && bi <= 'f' {
-               return int(bi) - 'a' + 10
-       }
-       return int(bi) - '0'
-}
-
-// Check if the character is ASCII.
-func is_ascii(b []byte, i int) bool {
-       return b[i] <= 0x7F
-}
-
-// Check if the character at the start of the buffer can be printed unescaped.
-func is_printable(b []byte, i int) bool {
-       return ((b[i] == 0x0A) || // . == #x0A
-               (b[i] >= 0x20 && b[i] <= 0x7E) || // #x20 <= . <= #x7E
-               (b[i] == 0xC2 && b[i+1] >= 0xA0) || // #0xA0 <= . <= #xD7FF
-               (b[i] > 0xC2 && b[i] < 0xED) ||
-               (b[i] == 0xED && b[i+1] < 0xA0) ||
-               (b[i] == 0xEE) ||
-               (b[i] == 0xEF && // #xE000 <= . <= #xFFFD
-                       !(b[i+1] == 0xBB && b[i+2] == 0xBF) && // && . != #xFEFF
-                       !(b[i+1] == 0xBF && (b[i+2] == 0xBE || b[i+2] == 0xBF))))
-}
-
-// Check if the character at the specified position is NUL.
-func is_z(b []byte, i int) bool {
-       return b[i] == 0x00
-}
-
-// Check if the beginning of the buffer is a BOM.
-func is_bom(b []byte, i int) bool {
-       return b[0] == 0xEF && b[1] == 0xBB && b[2] == 0xBF
-}
-
-// Check if the character at the specified position is space.
-func is_space(b []byte, i int) bool {
-       return b[i] == ' '
-}
-
-// Check if the character at the specified position is tab.
-func is_tab(b []byte, i int) bool {
-       return b[i] == '\t'
-}
-
-// Check if the character at the specified position is blank (space or tab).
-func is_blank(b []byte, i int) bool {
-       //return is_space(b, i) || is_tab(b, i)
-       return b[i] == ' ' || b[i] == '\t'
-}
-
-// Check if the character at the specified position is a line break.
-func is_break(b []byte, i int) bool {
-       return (b[i] == '\r' || // CR (#xD)
-               b[i] == '\n' || // LF (#xA)
-               b[i] == 0xC2 && b[i+1] == 0x85 || // NEL (#x85)
-               b[i] == 0xE2 && b[i+1] == 0x80 && b[i+2] == 0xA8 || // LS (#x2028)
-               b[i] == 0xE2 && b[i+1] == 0x80 && b[i+2] == 0xA9) // PS (#x2029)
-}
-
-func is_crlf(b []byte, i int) bool {
-       return b[i] == '\r' && b[i+1] == '\n'
-}
-
-// Check if the character is a line break or NUL.
-func is_breakz(b []byte, i int) bool {
-       //return is_break(b, i) || is_z(b, i)
-       return (        // is_break:
-       b[i] == '\r' || // CR (#xD)
-               b[i] == '\n' || // LF (#xA)
-               b[i] == 0xC2 && b[i+1] == 0x85 || // NEL (#x85)
-               b[i] == 0xE2 && b[i+1] == 0x80 && b[i+2] == 0xA8 || // LS (#x2028)
-               b[i] == 0xE2 && b[i+1] == 0x80 && b[i+2] == 0xA9 || // PS (#x2029)
-               // is_z:
-               b[i] == 0)
-}
-
-// Check if the character is a line break, space, or NUL.
-func is_spacez(b []byte, i int) bool {
-       //return is_space(b, i) || is_breakz(b, i)
-       return ( // is_space:
-       b[i] == ' ' ||
-               // is_breakz:
-               b[i] == '\r' || // CR (#xD)
-               b[i] == '\n' || // LF (#xA)
-               b[i] == 0xC2 && b[i+1] == 0x85 || // NEL (#x85)
-               b[i] == 0xE2 && b[i+1] == 0x80 && b[i+2] == 0xA8 || // LS (#x2028)
-               b[i] == 0xE2 && b[i+1] == 0x80 && b[i+2] == 0xA9 || // PS (#x2029)
-               b[i] == 0)
-}
-
-// Check if the character is a line break, space, tab, or NUL.
-func is_blankz(b []byte, i int) bool {
-       //return is_blank(b, i) || is_breakz(b, i)
-       return ( // is_blank:
-       b[i] == ' ' || b[i] == '\t' ||
-               // is_breakz:
-               b[i] == '\r' || // CR (#xD)
-               b[i] == '\n' || // LF (#xA)
-               b[i] == 0xC2 && b[i+1] == 0x85 || // NEL (#x85)
-               b[i] == 0xE2 && b[i+1] == 0x80 && b[i+2] == 0xA8 || // LS (#x2028)
-               b[i] == 0xE2 && b[i+1] == 0x80 && b[i+2] == 0xA9 || // PS (#x2029)
-               b[i] == 0)
-}
-
-// Determine the width of the character.
-func width(b byte) int {
-       // Don't replace these by a switch without first
-       // confirming that it is being inlined.
-       if b&0x80 == 0x00 {
-               return 1
-       }
-       if b&0xE0 == 0xC0 {
-               return 2
-       }
-       if b&0xF0 == 0xE0 {
-               return 3
-       }
-       if b&0xF8 == 0xF0 {
-               return 4
-       }
-       return 0
-
-}
diff --git a/version/version.go b/version/version.go
new file mode 100644 (file)
index 0000000..5b24a6d
--- /dev/null
@@ -0,0 +1,61 @@
+//  Copyright (c) 2019 Cisco and/or its affiliates.
+//
+//  Licensed under the Apache License, Version 2.0 (the "License");
+//  you may not use this file except in compliance with the License.
+//  You may obtain a copy of the License at:
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+
+package version
+
+import (
+       "fmt"
+       "runtime"
+       "strconv"
+       "time"
+)
+
+var (
+       name        = "govpp"
+       version     = "v0.0.0+unknown"
+       commitHash  = "unknown"
+       buildBranch = "HEAD"
+       buildStamp  = ""
+       buildUser   = ""
+       buildHost   = ""
+
+       buildDate time.Time
+)
+
+func init() {
+       buildstampInt64, _ := strconv.ParseInt(buildStamp, 10, 64)
+       if buildstampInt64 == 0 {
+               buildstampInt64 = time.Now().Unix()
+       }
+       buildDate = time.Unix(buildstampInt64, 0)
+}
+
+func Info() string {
+       return fmt.Sprintf(`%s %s`, name, version)
+}
+
+func Verbose() string {
+       return fmt.Sprintf(`%s
+  Version:      %s
+  Branch:      %s
+  Revision:    %s
+  Built by:    %s@%s 
+  Build date:  %s
+  Go runtime:  %s (%s/%s)`,
+               name,
+               version, buildBranch, commitHash,
+               buildUser, buildHost, buildDate.Format(time.UnixDate),
+               runtime.Version(), runtime.GOOS, runtime.GOARCH,
+       )
+}